]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
Style "pwd" output
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-10-01 Tom Tromey <tom@tromey.com>
2
3 * gdb.base/style.exp: Test "pwd".
4
5 2019-10-01 Tom Tromey <tom@tromey.com>
6
7 * gdb.base/style.exp: Update tests.
8
9 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
10
11 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
12 'six' to unsigned.
13 (s1): Initialize fields 'four' and 'six' instead of 'three' and
14 'five'. Use an all-ones bit pattern for each.
15 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
16 to its changed values.
17
18 2019-09-30 Tom Tromey <tromey@adacore.com>
19
20 * gdb.rust/traits.rs: Disable all warnings.
21
22 2019-09-29 Tom de Vries <tdevries@suse.de>
23
24 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
25
26 2019-09-29 Tom de Vries <tdevries@suse.de>
27
28 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
29
30 2019-09-27 Tom de Vries <tdevries@suse.de>
31
32 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
33
34 2019-09-27 Tom de Vries <tdevries@suse.de>
35
36 PR record/23188
37 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
38
39 2019-09-26 Tom Tromey <tromey@adacore.com>
40
41 * gdb.ada/py_taft.exp: New file.
42 * gdb.ada/py_taft/main.adb: New file.
43 * gdb.ada/py_taft/pkg.adb: New file.
44 * gdb.ada/py_taft/pkg.ads: New file.
45
46 2019-09-24 Tom de Vries <tdevries@suse.de>
47
48 PR gdb/24598
49 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
50
51 2019-09-22 Tom de Vries <tdevries@suse.de>
52
53 * gdb.base/restore.exp: Allow register variables to be optimized out at
54 -O0.
55
56 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
57
58 * gdb.arch/spu-info.exp: Remove file.
59 * gdb.arch/spu-info.c: Remove file.
60 * gdb.arch/spu-ls.exp: Remove file.
61 * gdb.arch/spu-ls.c: Remove file.
62
63 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
64 * gdb.asm/spu.inc: Remove file.
65
66 * gdb.base/dump.exp: Remove support for spu*-*-*.
67 * gdb.base/stack-checking.exp: Likewise.
68 * gdb.base/overlays.exp: Likewise.
69 * gdb.base/ovlymgr.c: Likewise.
70 * gdb.base/spu.ld: Remove file.
71
72 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
73 * gdb.cp/cpexprs.exp: Likewise.
74 * gdb.cp/exception.exp: Likewise.
75 * gdb.cp/gdb2495.exp: Likewise.
76 * gdb.cp/mb-templates.exp: Likewise.
77 * gdb.cp/pr9167.exp: Likewise.
78 * gdb.cp/userdef.exp: Likewise.
79
80 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
81
82 * gdb.cell: Remove directory.
83 * lib/cell.exp: Remove file.
84
85 2019-09-19 Tom de Vries <tdevries@suse.de>
86
87 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
88
89 2019-09-19 Tom de Vries <tdevries@suse.de>
90
91 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
92
93 2019-09-19 Tom de Vries <tdevries@suse.de>
94
95 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
96 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
97 (gdb_target_cmd): ... here.
98 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
99 value 2.
100
101 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
102
103 * gdb.base/source-dir.exp: Avoid having directory names in test
104 names.
105
106 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * gdb.base/source-dir.exp: Add extra test for mapped compilation
109 directory.
110
111 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
112
113 * gdb.base/list-missing-source.exp: New file.
114
115 2019-09-14 Tom de Vries <tdevries@suse.de>
116
117 PR teststuite/24599
118 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
119 * lib/ada.exp (gnatmake_version_at_least): New proc.
120
121 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
122
123 * gdb.base/maint.exp: Use exec_has_index_section.
124
125 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
126
127 * gdb.base/maint.exp: Add test for 'maint info sections'.
128
129 2019-09-12 Tom de Vries <tdevries@suse.de>
130
131 * gdb.base/store.exp: Allow register variables to be optimized out at
132 -O0.
133
134 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
135
136 * gdb.ada/rdv_wait.exp: Update to new task names.
137 * gdb.base/task_switch_in_core.exp: Likewise.
138 * gdb.base/info_sources_base.c: Likewise.
139
140 2019-09-10 Tom Tromey <tromey@adacore.com>
141
142 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
143
144 2019-09-10 Tom Tromey <tromey@adacore.com>
145
146 * gdb.ada/dgopt.exp: New file.
147 * gdb.ada/dgopt/x.adb: New file.
148
149 2019-09-08 Tom Tromey <tom@tromey.com>
150
151 * gdb.tui/resize.exp: Remove setup_xfail.
152 * gdb.tui/regs.exp: Remove setup_xfail.
153 * gdb.tui/basic.exp: Remove setup_xfail.
154
155 2019-09-06 David Blaikie <dblaikie@gmail.com>
156
157 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
158 * gdb.cp/cplabel.exp: Ditto.
159 * gdb.linespec/ls-errs.exp: Ditto.
160
161 2019-09-05 Tom de Vries <tdevries@suse.de>
162
163 * lib/gdb.exp (cmp_file_string): New proc.
164 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
165 runto_main. Verify save breakpoints output.
166
167 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
168
169 * gdb.base/info-var.exp: Test info variables without running
170 to main, to avoid expect's buffer overflow.
171
172 2019-09-03 Tom Tromey <tromey@adacore.com>
173
174 * gdb.ada/bias.exp: New file.
175 * gdb.ada/bias/bias.adb: New file.
176 * gdb.ada/print_chars.exp: Add regression test.
177 * gdb.ada/print_chars/foo.adb (My_Character): New type.
178 (MC): New variable.
179
180 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
181
182 * gdb.base/argv0-symlink.exp: Run only on native target
183 and local host.
184
185 2019-08-29 Tom de Vries <tdevries@suse.de>
186
187 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
188 diverse debug info.
189 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
190
191 2019-08-28 Tom de Vries <tdevries@suse.de>
192
193 * gdb.base/info-var.exp: Allow info variables to print info for files
194 other than info-var-f1.c and info-var-f2.c.
195
196 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
197
198 * gdb.fortran/info-types.exp: Add module.
199 * gdb.fortran/info-types.f90: Update expected results.
200
201 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * gdb.fortran/info-types.exp: New file.
204 * gdb.fortran/info-types.f90: New file.
205 * lib/fortran.exp (fortran_character1): New proc.
206
207 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
208
209 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
210 functions'. Reindent as needed.
211 * gdb.base/info-var-f1.c: New file.
212 * gdb.base/info-var-f2.c: New file.
213 * gdb.base/info-var.exp: New file.
214 * gdb.base/info-var.h: New file.
215
216 2019-08-26 Tom de Vries <tdevries@suse.de>
217
218 PR c++/24852
219 * gdb.cp/no-libstdcxx-probe.exp: New test.
220
221 2019-08-26 Tom de Vries <tdevries@suse.de>
222
223 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
224 * tests need to be skipped.
225 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
226 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
227 mi_skip_libstdcxx_probe_tests.
228
229 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
230
231 * gdb.python/py-xmethods.exp: Use raw strings when passing
232 arguments to SimpleXMethodMatcher.
233
234 2019-08-22 Tom de Vries <tdevries@suse.de>
235
236 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
237 more informative.
238
239 2019-08-21 Pedro Alves <palves@redhat.com>
240
241 * gdb.base/with.exp: Test "with" with no arguments.
242
243 2019-08-21 Tom de Vries <tdevries@suse.de>
244
245 * gdb.base/gdb-caching-proc.exp: Sort files.
246
247 2019-08-20 Tom de Vries <tdevries@suse.de>
248
249 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
250 compilation.
251
252 2019-08-16 Tom de Vries <tdevries@suse.de>
253
254 * gdb.base/compare-sections.exp ("after run to main"): Allow
255 mismatched read-only sections for PIE executables.
256
257 2019-08-16 Tom Tromey <tom@tromey.com>
258
259 * lib/tuiterm.exp (_csi_Z): New proc.
260 * gdb.tui/basic.exp: Update window positions.
261 * gdb.tui/empty.exp: Update window positions.
262
263 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
264
265 * gdb.base/examine-backward.exp: Correct regexp for
266 "examine 3 bytes backward from ${address_zero}".
267
268 2019-08-15 Tom Tromey <tom@tromey.com>
269
270 * gdb.tui/empty.exp: Enable resizing tests.
271
272 2019-08-15 Tom Tromey <tromey@adacore.com>
273
274 * gdb.ada/char_enum.exp: Add regression tests.
275 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
276 and '0'.
277 (Char, Gchar): Update.
278 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
279
280 2019-08-15 Christian Biesinger <cbiesinger@google.com>
281
282 * gdb.python/python.exp: Expect a leading underscore on
283 GdbOutput{,Error}File.
284
285 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
286
287 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
288 Windows host.
289
290 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
291
292 * gdb.base/batch-preserve-term-settings.exp
293 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
294
295 2019-08-15 Christian Biesinger <cbiesinger@google.com>
296
297 * lib/gdb.exp: When running on a mingw target, replace
298 /x/ with x:/.
299
300 2019-08-14 Alan Hayward <alan.hayward@arm.com>
301
302 * gdb.arch/aarch64-prologue.c: New test.
303 * gdb.arch/aarch64-prologue.exp: New file.
304
305 2019-08-13 Tom de Vries <tdevries@suse.de>
306
307 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
308 Thread.
309
310 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
311
312 * gdb.python/py-completion.exp: Download the .py file to the host
313 and use its host pathname. Conditionalize tests that use
314 tab completion and manipulate files on the build machine.
315 * gdb.python/py-events.exp: Download the .py file to the host
316 and use its host pathname.
317 * gdb.python/py-evsignal.exp: Likewise.
318 * gdb.python/py-evthreads.exp: Likewise.
319 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
320 pathname syntax.
321 * gdb.python/py-framefilter.exp: Download the .py file to the right
322 place on the host. Match Windows pathname syntax.
323 * gdb.python/py-mi-var-info-path-expression.exp: Download the
324 .py file to the host and use its host pathname.
325 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
326 * gdb.python/py-objfile.exp: Expect a host pathname, not a
327 build pathname. Skip symlink test on Windows host. Add missing
328 newline at end of file.
329 * gdb.python/py-pp-maint.exp: Download the .py file to the host
330 and use its host pathname.
331 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
332 * gdb.python/py-section-script.exp: Use host location of binfile
333 on safe-path. Use correct path separator on Windows host.
334 Reorder alternatives in gdb_test_multiple to prevent matching
335 the wrong alternative on success.
336 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
337
338 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
339
340 * gdb.gdb/selftest.exp (test_with_self): Update test to now
341 expect the GDB inferior to no longer immediately stop after
342 being resumed with "signal SIGINT".
343
344 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
345
346 * gdb.linespec/break-ask.exp: Generalize regexps to match
347 Windows pathnames too.
348
349 2019-08-08 Tom de Vries <tdevries@suse.de>
350
351 PR testsuite/24862
352 * lib/tuiterm.exp (_accept): Fix CSI regexp.
353
354 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
355
356 * gdb.base/style.exp: Update tests for help doc new invariants.
357 * gdb.base/help.exp: Likewise.
358
359 2019-08-06 Tom Tromey <tom@tromey.com>
360
361 * gdb.base/style.exp: Add disassemble test.
362 * gdb.base/style.c (some_called_function): New function.
363 (main): Use it.
364
365 2019-08-05 Christian Biesinger <cbiesinger@google.com>
366
367 * gdb.python/py-block.exp: Test dictionary access on blocks.
368
369 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
370
371 PR gdb/24863
372 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
373 -list-thread-groups --available test when running under
374 check-read1.
375
376 2019-08-05 Tom de Vries <tdevries@suse.de>
377
378 PR testsuite/24863
379 * lib/gdb.exp (with_read1_timeout_factor): New proc.
380 * gdb.base/help.exp: Use with_read1_timeout_factor.
381 * gdb.base/info-macros.exp: Same.
382 * gdb.cp/nested-types.exp: Same.
383
384 2019-08-05 Tom de Vries <tdevries@suse.de>
385
386 * lib/gdb.exp (version_at_least): Factor out of ...
387 (tcl_version_at_least): ... here.
388 (gdb_compile): Fail if pie results in non-PIE executable.
389 (readelf_version, readelf_prints_pie): New proc.
390 (exec_is_pie): Return -1 if unknown.
391
392 2019-08-05 Tom de Vries <tdevries@suse.de>
393
394 * lib/gdb.exp (tcl_version_at_least): Fix typo.
395
396 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
397
398 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
399
400 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
401
402 * lib/completion-support.exp (test_gdb_complete_none): Skip
403 tab completion tests if no readline support.
404 (test_gdb_complete_unique_re): Likewise.
405 (test_gdb_complete_multiple): Likewise.
406
407 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
408
409 * gdb.base/info_sources.exp: New file.
410 * gdb.base/info_sources.c: New file.
411 * gdb.base/info_sources_base.c: New file.
412
413 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
414
415 * gdb.base/batch-exit-status.exp: Call test_exit_status with
416 prefix argument.
417 (test_exit_status): Add prefix argument.
418
419 2019-08-01 Tom de Vries <tdevries@suse.de>
420
421 PR testsuite/24863
422 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
423 calling exp_continue for new thread and thread exited messages.
424
425 2019-08-01 Tom de Vries <tdevries@suse.de>
426
427 PR testsuite/24863
428 * gdb.base/structs.exp: Fix check-read1 timeout using
429 gdb_test_sequence.
430 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
431
432 2019-08-01 Tom de Vries <tdevries@suse.de>
433
434 PR testsuite/24863
435 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
436 line.
437
438 2019-08-01 Tom de Vries <tdevries@suse.de>
439
440 PR testsuite/24863
441 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
442
443 2019-07-30 Tom Tromey <tromey@adacore.com>
444
445 * gdb.ada/display_nested.exp: New file.
446 * gdb.ada/display_nested/foo.adb: New file.
447 * gdb.ada/display_nested/pack.adb: New file.
448 * gdb.ada/display_nested/pack.ads: New file.
449
450 2019-07-30 Christian Biesinger <cbiesinger@google.com>
451
452 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
453 namespace.
454 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
455
456 2019-07-30 Tom de Vries <tdevries@suse.de>
457
458 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
459 instead.
460
461 2019-07-30 Tom de Vries <tdevries@suse.de>
462
463 PR testsuite/24834
464 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
465 (exec_is_pie): New proc.
466
467 2019-07-29 Christian Biesinger <cbiesinger@google.com>
468
469 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
470
471 2019-07-29 Christian Biesinger <cbiesinger@google.com>
472
473 * gdb.python/py-objfile.c: Add global and static vars.
474 * gdb.python/py-objfile.exp: Test new functions Objfile.
475 lookup_global_symbol and lookup_static_symbol.
476
477 2019-07-29 Tom Tromey <tom@tromey.com>
478
479 * lib/tuiterm.exp (Term::_csi_@): New proc.
480 (Term::_csi_X): Don't move cursor.
481
482 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
483
484 * gdb.base/options.exp: Update backtrace - completion to
485 new option -frame-info.
486 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
487 Test new 'set print frame-info'. Test backtrace -frame-info
488 overriding 'set print frame-info'.
489 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
490 Test new 'set print frame-info'.
491 Verify consistency of backtrace with and without filters, with and
492 without -no-filters.
493 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
494 default.
495
496 2019-07-29 Tom de Vries <tdevries@suse.de>
497
498 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
499 no arguments".
500
501 2019-07-29 Tom de Vries <tdevries@suse.de>
502
503 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
504 is a substring of the first for "complete non-unique file name".
505
506 2019-07-29 Tom de Vries <tdevries@suse.de>
507
508 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
509 with ".*".
510
511 2019-07-29 Tom de Vries <tdevries@suse.de>
512
513 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
514 Pass prompt_regexp parameter to gdb_test_multiple calls.
515
516 2019-07-29 Tom de Vries <tdevries@suse.de>
517
518 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
519 print registers" regexps.
520
521 2019-07-29 Tom de Vries <tdevries@suse.de>
522
523 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
524
525 2019-07-29 Tom de Vries <tdevries@suse.de>
526
527 PR gdb/24855
528 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
529 (skip_python_tests_prompt): Add prompt_regexp argument to
530 gdb_test_multiple calls.
531
532 2019-07-27 Tom Tromey <tom@tromey.com>
533
534 * gdb.tui/main.exp: New file.
535
536 2019-07-27 Tom Tromey <tom@tromey.com>
537
538 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
539 optional.
540 * gdb.tui/empty.exp: New file.
541
542 2019-07-27 Tom Tromey <tom@tromey.com>
543
544 * lib/tuiterm.exp (spawn): New proc.
545 (Term::resize): New proc.
546 * gdb.tui/resize.exp: New file.
547
548 2019-07-27 Tom Tromey <tom@tromey.com>
549
550 * gdb.tui/list.exp: New file.
551
552 2019-07-27 Tom Tromey <tom@tromey.com>
553
554 * gdb.tui/regs.exp: New file.
555
556 2019-07-27 Tom Tromey <tom@tromey.com>
557
558 * gdb.tui/basic.exp: Add "layout split" test.
559
560 2019-07-27 Tom Tromey <tom@tromey.com>
561
562 * gdb.tui/basic.exp: Add "layout asm" test.
563
564 2019-07-27 Tom Tromey <tom@tromey.com>
565
566 * lib/tuiterm.exp: New file.
567 * gdb.tui/basic.exp: New file.
568
569 2019-07-27 Kevin Buettner <kevinb@redhat.com>
570
571 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
572 Enable tests associated with this flag. Adjust regex
573 referencing "foo_low" to now refer to "foo_cold" instead.
574
575 2019-07-27 Kevin Buettner <kevinb@redhat.com>
576
577 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
578 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
579 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
580 foo_cold. Revise comments to match.
581 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
582 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
583 were wrapped into this proc; Call do_test in loop from outermost
584 level.
585 (foo_low): Rename all occurrences to "foo_cold".
586 (backtrace from baz): New test.
587 (x2/i foo_cold): New test.
588 (info line *foo_cold): New test.
589
590 2019-07-26 Tom de Vries <tdevries@suse.de>
591
592 * gdb.arch/i386-pkru.exp: Fix unterminated string.
593
594 2019-07-25 Tom de Vries <tdevries@suse.de>
595
596 PR testsuite/24830
597 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
598 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
599 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
600 (skip_libstdcxx_probe_tests): ... here.
601 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
602
603 2019-07-24 Tom de Vries <tdevries@suse.de>
604
605 PR testsuite/24807
606 * gdb.objc/basicclass.m: Include stdio.h.
607 * gdb.objc/nondebug.m: Same.
608 * gdb.objc/objcdecode.m: Same.
609
610 2019-07-24 Tom de Vries <tdevries@suse.de>
611
612 PR testsuite/24612
613 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
614 additional_flags.
615
616 2019-07-24 Tom de Vries <tdevries@suse.de>
617
618 PR testsuite/24831
619 * gdb.multi/tids.exp: Update error messages for info threads.
620
621 2019-07-24 Tom de Vries <tdevries@suse.de>
622
623 * gdb.base/info-types.exp: Allow info types to print info for more than
624 one file.
625
626 2019-07-23 Tom de Vries <tdevries@suse.de>
627
628 PR testsuite/24842
629 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
630 gdb_spawn_with_cmdline_opts.
631
632 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
633
634 * gdb.arch/arm-cmse-sgstubs.c: New test.
635 * gdb.arch/arm-cmse-sgstubs.exp: New file.
636
637 2019-07-23 Tom de Vries <tdevries@suse.de>
638
639 PR testsuite/24711
640 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
641 issuing next command.
642
643 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
644
645 * gdb.ada/info_auto_lang.exp: Update expected results.
646 * gdb.base/info-types.c: Add additional types to check.
647 * gdb.base/info-types.exp: Update expected results.
648
649 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
650
651 * gdb.base/info-types.c: New file.
652 * gdb.base/info-types.exp: New file.
653
654 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
655
656 * gdb.arch/riscv-bp-infcall.c: New file.
657 * gdb.arch/riscv-bp-infcall.exp: New file.
658
659 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
660
661 PR breakpoints/24541
662 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
663
664 2019-07-14 Tom de Vries <tdevries@suse.de>
665
666 PR testsuite/24760
667 * gdb.objc/basicclass.exp: Fix unterminated string.
668
669 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
670 Andrew Burgess <andrew.burgess@embecosm.com>
671
672 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
673 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
674 negative bounds.
675 * gdb.fortran/vla-value.exp: Print elements of an array with
676 negative bounds.
677 * gdb.fortran/vla.f90: Setup an array with negative bounds for
678 testing.
679
680 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 * gdb.base/options.exp (expect_string): Dequote strings in
683 results.
684 (test-string): Test strings with different quoting and reindent.
685
686 2019-07-10 Tom Tromey <tromey@adacore.com>
687
688 * gdb.ada/mi_ex_cond.exp: Update expected results.
689 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
690 * gdb.ada/mi_catch_ex.exp: Update expected results.
691 * gdb.ada/mi_catch_assert.exp: Update expected results.
692 * gdb.ada/catch_ex.exp (catch_exception_info)
693 (catch_exception_entry, catch_assert_entry)
694 (catch_unhandled_entry): Update.
695 * gdb.ada/catch_assert_if.exp: Update expected results.
696
697 2019-07-10 Richard Bunt <richard.bunt@arm.com>
698 Stephen Roberts <stephen.roberts@arm.com>
699
700 * gdb.base/define.exp: Restore original prompt.
701
702 2019-07-09 Pedro Alves <palves@redhat.com>
703
704 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
705 breakpoints" output.
706 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
707 * gdb.python/py-breakpoint.exp: No longer expect that "catch
708 throw" creates breakpoint.
709 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
710 'type="catchpoint"'.
711
712 2019-07-09 Pedro Alves <palves@redhat.com>
713
714 PR c++/15468
715 * gdb.cp/except-multi-location-lib.cc: New.
716 * gdb.cp/except-multi-location-main.cc: New.
717 * gdb.cp/except-multi-location.exp: New.
718
719 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
720
721 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
722 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
723 argument and update callers.
724
725 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 * gdb.arch/amd64-break-on-asm-line.S: New file.
728 * gdb.arch/amd64-break-on-asm-line.exp: New file.
729
730 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
731
732 * gdb.base/printcmds.exp: Test printing C string and
733 C wide string convenience vars without transiting via the inferior.
734 Also make test names unique.
735
736 2019-07-08 Alan Hayward <alan.hayward@arm.com>
737
738 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
739
740 2019-07-04 Pedro Alves <palves@redhat.com>
741
742 * lib/gdb.exp (foreach_with_prefix): Don't return early if
743 body returned ok(0), break(3) or continue(4).
744 * gdb.testsuite/foreach_with_prefix.exp: New file.
745
746 2019-07-04 Alan Hayward <alan.hayward@arm.com>
747
748 * gdb.server/unittest.exp: Allow 0 unit tests to run.
749
750 2019-07-03 Pedro Alves <palves@redhat.com>
751
752 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
753 "return -code".
754
755 2019-07-03 Pedro Alves <palves@redhat.com>
756
757 PR cli/24732
758 * gdb.base/shell.exp: Load completion-support.exp.
759 Adjust expected error output. Add completion tests.
760
761 2019-07-03 Pedro Alves <palves@redhat.com>
762
763 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
764 string_to_regexp.
765
766 2019-07-03 Pedro Alves <palves@redhat.com>
767
768 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
769 (expect_integer): Adjust to expect "-string".
770 (expect_string): New.
771 (all_options): Expect "-string".
772 (test-flag, test-boolean): Adjust to expect "-string".
773 (test-string): New proc.
774 (top level): Call it.
775
776 2019-07-03 Pedro Alves <palves@redhat.com>
777
778 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
779 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
780 the expected output in the success.
781
782 2019-07-03 Pedro Alves <palves@redhat.com>
783
784 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
785 Split one gdb_test_multiple call in two to avoid a race.
786
787 2019-07-03 Pedro Alves <palves@redhat.com>
788
789 * gdb.base/with.c: New file.
790 * gdb.base/with.exp: New file.
791
792 2019-07-03 Pedro Alves <palves@redhat.com>
793
794 * gdb.base/settings.exp: Replace all references to "maint
795 test-settings set" with references to "maint set test-settings",
796 and all references to "maint test-settings show" with references
797 to "maint show test-settings".
798
799 2019-07-03 Pedro Alves <palves@redhat.com>
800
801 * gdb.base/settings.exp (test-string): Adjust expected out when
802 testing "maint test-settings show filename"
803
804 2019-07-02 Pedro Alves <palves@redhat.com>
805
806 * gdb.base/options.exp (test-info-threads): New procedure.
807 (top level): Call it.
808
809 2019-06-28 Tom Tromey <tromey@adacore.com>
810
811 * gdb.dwarf2/ada-linkage-name.c: New file.
812 * gdb.dwarf2/ada-linkage-name.exp: New file.
813
814 2019-06-27 Tom Tromey <tromey@adacore.com>
815
816 * gdb.cp/constexpr-field.exp: Use setup_xfail.
817
818 2019-06-26 Tom de Vries <tdevries@suse.de>
819
820 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
821
822 2019-06-26 Tom de Vries <tdevries@suse.de>
823
824 * gdb.base/index-cache.exp: Add back missing debug option.
825
826 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
827
828 * gdb.base/alias.exp: Test non matching/non existing prefixes.
829
830 2019-06-25 Tom de Vries <tdevries@suse.de>
831
832 PR testsuite/24727
833 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
834
835 2019-06-24 Tom de Vries <tdevries@suse.de>
836
837 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
838
839 2019-06-24 Tom de Vries <tdevries@suse.de>
840
841 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
842 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
843 * gdb.trace/unavailable-dwarf-piece.exp: Same.
844
845 2019-06-24 Tom de Vries <tdevries@suse.de>
846
847 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
848
849 2019-06-21 Tom de Vries <tdevries@suse.de>
850
851 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
852
853 2019-06-21 Tom de Vries <tdevries@suse.de>
854
855 PR testsuite/24518
856 PR ada/24713
857 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
858 index.
859
860 2019-06-19 Tom Tromey <tromey@adacore.com>
861
862 * gdb.ada/length_cond.exp: Add intro comment.
863
864 2019-06-19 Tom Tromey <tromey@adacore.com>
865
866 * gdb.ada/length_cond.exp: New file.
867 * gdb.ada/length_cond/length_cond.adb: New file.
868 * gdb.ada/length_cond/pck.adb: New file.
869 * gdb.ada/length_cond/pck.ads: New file.
870
871 2019-06-18 Tom de Vries <tdevries@suse.de>
872
873 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
874
875 2019-06-18 Tom Tromey <tromey@adacore.com>
876
877 * gdb.base/list0.h: Add comment explaining control character.
878
879 2019-06-18 Tom de Vries <tdevries@suse.de>
880
881 * boards/fission.exp: Break up long debug_flags line.
882
883 2019-06-16 Tom de Vries <tdevries@suse.de>
884
885 PR gdb/24445
886 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
887 generated index.
888
889 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
890
891 PR gdb/24686
892 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
893 improve detection of bug gdb/24541.
894
895 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
896
897 PR gdb/24669
898 * gdb.base/index-cache.exp (uses_readnow,
899 expecting_index_cache_use): Define global variable.
900 (test_cache_enabled_miss, test_cache_enabled_hit): Use
901 expecting_index_cache_use.
902
903 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
904 Andrew Burgess <andrew.burgess@embecosm.com>
905
906 * gdb.fortran/pointers.f90: New file.
907 * gdb.fortran/print_type.exp: New file.
908 * gdb.fortran/vla-ptype.exp: Adapt expected results.
909 * gdb.fortran/vla-type.exp: Likewise.
910 * gdb.fortran/vla-value.exp: Likewise.
911 * gdb.mi/mi-vla-fortran.exp: Likewise.
912
913 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
914
915 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
916 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
917 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
918 as a stop reason.
919
920 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
921
922 * gdb.base/annota1.exp: Update expected results.
923 * gdb.cp/annota2.exp: Likewise.
924 * gdb.cp/annota3.exp: Likewise.
925
926 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
927
928 * gdb.base/style-logging.exp: Remove path from test name.
929
930 2019-06-14 Tom Tromey <tromey@adacore.com>
931
932 PR gdb/24502:
933 * gdb.base/style-logging.exp: New file.
934
935 2019-06-14 Tom Tromey <tromey@adacore.com>
936
937 * gdb.base/symfile-warn.exp: New file.
938 * gdb.base/symfile-warn.c: New file.
939
940 2019-06-14 Tom Tromey <tromey@adacore.com>
941
942 * gdb.base/annotate-symlink.exp: New file.
943
944 2019-06-14 Tom Tromey <tromey@adacore.com>
945
946 * gdb.ada/set_wstr.exp: Add reassignment test.
947
948 2019-06-14 Tom Tromey <tromey@adacore.com>
949
950 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
951 'unchecked_access and 'unrestricted_access as well.
952
953 2019-06-14 Tom Tromey <tromey@adacore.com>
954
955 PR ada/24539:
956 * gdb.ada/vla.exp: Update tests.
957 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
958 pragma.
959
960 2019-06-13 Pedro Alves <palves@redhat.com>
961
962 * gdb.base/settings.exp (test-integer): Test junk after
963 "unlimited".
964
965 2019-06-13 Pedro Alves <palves@redhat.com>
966
967 * gdb.base/options.exp (test-thread-apply): New.
968 (top level): Call it.
969
970 2019-06-13 Pedro Alves <palves@redhat.com>
971
972 * gdb.base/options.exp (test-frame-apply): New.
973 (top level): Test print commands with different "frame apply"
974 prefixes.
975
976 2019-06-13 Pedro Alves <palves@redhat.com>
977
978 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
979 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
980 'max_completions' parameter and handle it.
981 (test_gdb_completion_offers_commands): New.
982
983 2019-06-13 Pedro Alves <palves@redhat.com>
984
985 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
986
987 2019-06-13 Pedro Alves <palves@redhat.com>
988
989 * gdb.base/options.exp (test-backtrace): New.
990 (top level): Call it.
991
992 2019-06-13 Pedro Alves <palves@redhat.com>
993
994 * gdb.guile/scm-frame-args.exp: Use "set print
995 raw-frame-arguments" instead of "set print raw frame-arguments".
996 * gdb.python/py-frame-args.exp: Likewise.
997
998 2019-06-13 Pedro Alves <palves@redhat.com>
999
1000 * gdb.compile/compile.exp: Adjust expected output to option
1001 processing changes.
1002
1003 2019-06-13 Pedro Alves <palves@redhat.com>
1004
1005 * gdb.base/options.exp: Build executable.
1006 (test-print): New procedure.
1007 (top level): Call it, once for "print" and another for "compile
1008 print".
1009
1010 2019-06-13 Pedro Alves <palves@redhat.com>
1011
1012 * gdb.base/options.c: New file.
1013 * gdb.base/options.exp: New file.
1014
1015 2019-06-13 Pedro Alves <palves@redhat.com>
1016
1017 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1018 that "o" is ambiguous.
1019
1020 2019-06-13 Pedro Alves <palves@redhat.com>
1021
1022 * gdb.base/settings.c: New file.
1023 * gdb.base/settings.exp: New file.
1024
1025 2019-06-13 Pedro Alves <palves@redhat.com>
1026
1027 * gdb.base/completion.exp: Fix comment typo.
1028
1029 2019-06-13 Pedro Alves <palves@redhat.com>
1030
1031 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1032 foo --1" test.
1033
1034 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1035
1036 * gdb.fortran/block-data.f: New.
1037 * gdb.fortran/block-data.exp: New.
1038
1039 2019-06-11 Tom de Vries <tdevries@suse.de>
1040
1041 PR testsuite/24521
1042 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1043 message.
1044
1045 2019-06-11 Tom de Vries <tdevries@suse.de>
1046
1047 PR testsuite/24521
1048 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1049
1050 2019-06-11 Tom de Vries <tdevries@suse.de>
1051
1052 * boards/readnow.exp: New file.
1053
1054 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1055
1056 * gdb.fortran/vla-sizeof.exp: Update expected results.
1057
1058 2019-06-06 Amos Bird <amosbird@gmail.com>
1059
1060 * gdb.base/annota1.exp (thread_switch): Add test for
1061 thread-exited annotation.
1062
1063 2019-06-06 Tom Tromey <tromey@adacore.com>
1064
1065 * gdb.base/maint.exp: Expect command started/finished output.
1066
1067 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1068
1069 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1070 comment.
1071 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1072
1073 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1074
1075 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1076 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1077 * gdb.arch/riscv-unwind-long-insn.c: New file.
1078 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1079
1080 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1081
1082 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1083
1084 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1085
1086 * lib/gdb.exp (help_list_trailer): New regexp variable
1087 factorizing the help trailer message.
1088 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1089 arg to allow to better factorize various tests.
1090 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1091 (test_prefix_command_help): Use help_list_trailer.
1092 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1093 * gdb.guile/scm-cmd.exp: Likewise.
1094 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1095 * gdb.base/help.exp: Use test_user_defined_class_help.
1096 * gdb.base/style.exp: Add tests for styling of help and apropos.
1097 * lib/gdb-utils.exp (style): Add title and highlight styles.
1098
1099 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1100
1101 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1102 $_shell_exitsignal.
1103 * gdb.base/default.exp: Update for new convenience variables.
1104
1105 2019-05-29 Tom Tromey <tromey@adacore.com>
1106
1107 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1108 to "break complete ada" test case's regexp.
1109
1110 2019-05-29 Tom Tromey <tromey@adacore.com>
1111
1112 PR c++/20020:
1113 * gdb.cp/constexpr-field.exp: New file.
1114 * gdb.cp/constexpr-field.cc: New file.
1115
1116 2019-05-29 Tom Tromey <tromey@adacore.com>
1117
1118 * gdb.base/finish.exp (finish_no_print): New proc.
1119 (finish_tests): Call it.
1120
1121 2019-05-24 Tom de Vries <tdevries@suse.de>
1122
1123 * gdb.dwarf2/gdb-add-index.exp: New file.
1124
1125 2019-05-22 Tom Tromey <tromey@adacore.com>
1126
1127 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1128 * gdb.base/style.exp: Use "style".
1129 * lib/gdb-utils.exp (style): New proc.
1130
1131 2019-05-22 Tom de Vries <tdevries@suse.de>
1132
1133 * gdb.base/align.exp: Require c++11.
1134
1135 2019-05-22 Tom de Vries <tdevries@suse.de>
1136
1137 PR testsuite/24586
1138 * gdb.python/py-mi-var-info-path-expression.exp: Call
1139 mi_skip_python_tests to check if python is supported.
1140
1141 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1142
1143 * gdb.arch/aarch64-pauth.c: New test.
1144 * gdb.arch/aarch64-pauth.exp: New file.
1145
1146 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1147
1148 * README (Re-running Tests Outside The Testsuite): New section.
1149
1150 2019-05-21 Tom de Vries <tdevries@suse.de>
1151
1152 * gdb.arch/amd64-eval.exp: Require c++11.
1153 * gdb.base/max-depth.exp: Same.
1154 * gdb.compile/compile-cplus-array-decay.exp: Same.
1155 * gdb.cp/meth-typedefs.exp: Same.
1156 * gdb.cp/subtypes.exp: Same.
1157 * gdb.cp/temargs.exp: Same.
1158
1159 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1160
1161 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1162
1163 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1164
1165 PR gdb/18644
1166 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1167 * gdb.fortran/printing-types.exp: Add new test.
1168 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1169 testing.
1170 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1171 setup_kfail call.
1172
1173 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1174
1175 * README (Running the Testsuite): Change example.
1176 (Testsuite Parameters): Remove TRANSCRIPT.
1177 * lib/gdb.exp: Remove TRANSCRIPT check.
1178
1179 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1180
1181 * README (Testsuite Parameters): Add replay logging to
1182 GDBSERVER_DEBUG.
1183 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1184 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1185 as a comma separated list.
1186 (gdb_debug_init): Override procedure.
1187
1188 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1189
1190 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1191 (gdb_write_cmd_file): New procedure.
1192 * lib/gdbserver-support.exp (gdbserver_start): Call
1193 gdbserver_write_cmd_file.
1194 (gdbserver_write_cmd_file): New procedure.
1195
1196 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1197
1198 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1199 (delete_breakpoints): Likewise.
1200 (gdb_run_cmd): Likewise.
1201 (gdb_start_cmd): Likewise.
1202 (gdb_starti_cmd): Likewise.
1203 (gdb_internal_error_resync): Likewise.
1204 (gdb_test_multiple): Likewise.
1205 (gdb_reinitialize_dir): Likewise.
1206 (default_gdb_exit): Likewise.
1207 (gdb_file_cmd): Mark kill as optional.
1208 (default_gdb_start): Call gdb_stdin_log_init.
1209 (send_gdb): Call gdb_stdin_log_write.
1210 (rerun_to_main): Mark Y as an answer.
1211 (gdb_stdin_log_init): New function.
1212 (gdb_stdin_log_write): Likewise.
1213
1214 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1215
1216 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1217 * gdb.base/debug-expr.exp: Likewise.
1218 * gdb.base/foll-fork.exp: Likewise.
1219 * gdb.base/foll-vfork.exp: Likewise.
1220 * gdb.base/fork-print-inferior-events.exp: Likewise.
1221 * gdb.base/gdb-sigterm.exp: Likewise.
1222 * gdb.base/gdbinit-history.exp: Likewise.
1223 * gdb.base/osabi.exp: Likewise.
1224 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1225 * gdb.base/ui-redirect.exp: Likewise.
1226 * gdb.gdb/unittest.exp: Likewise.
1227 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1228 * gdb.mi/mi-watch.exp: Likewise.
1229 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1230 * gdb.mi/user-selected-context-sync.exp: Likewise.
1231 * gdb.python/python.exp: Disable debug test when debugging.
1232 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1233 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1234 Likewise.
1235 * gdb.threads/stepi-random-signal.exp: Likewise.
1236
1237 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1238
1239 * Makefile.in: Pass through GDB_DEBUG.
1240 * README (Testsuite Parameters): Add GDB_DEBUG.
1241 (gdb,debug): Add board setting.
1242 * lib/gdb.exp (default_gdb_start): Start debugging.
1243 (gdb_debug_enabled): New procedure.
1244 (gdb_debug_init): Likewise.
1245
1246 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1247
1248 * Makefile.in: Pass through GDB_DEBUG.
1249 * README (Testsuite Parameters): Add GDB_DEBUG.
1250 (gdb,debug): Add board setting.
1251 * lib/gdb.exp (default_gdb_start): Start debugging.
1252 (gdb_debug_enabled): New procedure.
1253 (gdb_debug_init): Likewise.
1254
1255 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1256
1257 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1258
1259 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1260
1261 * gdb.base/ui-redirect.exp: Test redirection.
1262
1263 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1264
1265 * gdb.mi/mi-complete.exp: New file.
1266 * gdb.mi/mi-complete.cc: Likewise.
1267
1268 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1269
1270 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1271 indexed and sliced arrays, and pointers to arrays.
1272
1273 2019-05-14 Tom Tromey <tromey@adacore.com>
1274
1275 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1276 styling test.
1277
1278 2019-05-14 Tom de Vries <tdevries@suse.de>
1279
1280 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1281 selection entry encoding.
1282
1283 2019-05-10 Tom Tromey <tromey@adacore.com>
1284
1285 * gdb.ada/info_exc.exp: Add "complete" test.
1286
1287 2019-05-09 Tom de Vries <tdevries@suse.de>
1288
1289 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1290 CU-relative.
1291
1292 2019-05-09 Tom de Vries <tdevries@suse.de>
1293
1294 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1295 CU-relative.
1296
1297 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1298
1299 * gdb.ada/frame_arg_lang.exp: New testcase.
1300 * gdb.ada/frame_arg_lang/bla.adb: New file.
1301 * gdb.ada/frame_arg_lang/pck.ads: New file.
1302 * gdb.ada/frame_arg_lang/pck.adb: New file.
1303 * gdb.ada/frame_arg_lang/foo.c: New file.
1304
1305 2019-05-08 Tom Tromey <tromey@adacore.com>
1306
1307 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1308
1309 2019-05-08 Tom Tromey <tromey@adacore.com>
1310
1311 * gdb.base/ptype-offsets.exp: Update tests.
1312
1313 2019-05-08 Tom Tromey <tromey@adacore.com>
1314
1315 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1316 cases.
1317 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1318 "short".
1319
1320 2019-05-08 Tom Tromey <tromey@adacore.com>
1321
1322 * gdb.ada/vla.exp: New file.
1323 * gdb.ada/vla/vla.adb: New file.
1324
1325 2019-05-07 Tom de Vries <tdevries@suse.de>
1326
1327 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1328
1329 2019-05-07 Tom de Vries <tdevries@suse.de>
1330
1331 PR testsuite/24522
1332 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1333 section.
1334
1335 2019-05-07 Tom de Vries <tdevries@suse.de>
1336
1337 PR testsuite/24522
1338 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1339 .debug_aranges section.
1340
1341 2019-05-07 Tom de Vries <tdevries@suse.de>
1342
1343 PR testsuite/24159
1344 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1345
1346 2019-05-06 Tom de Vries <tdevries@suse.de>
1347
1348 * lib/gdb.exp (exec_has_index_section): New proc.
1349 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1350 section.
1351
1352 2019-05-04 Tom de Vries <tdevries@suse.de>
1353
1354 * boards/cc-with-debug-names.exp: New file.
1355
1356 2019-05-03 Tom Tromey <tromey@adacore.com>
1357
1358 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1359 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1360 * gdb.ada/char_enum.exp: Add test.
1361
1362 2019-05-03 Tom de Vries <tdevries@suse.de>
1363
1364 * boards/cc-with-gdb-index.exp: New file.
1365
1366 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1367
1368 * gdb.rust/simple.exp: Add new test case.
1369 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1370 (main): Initialise an instance of the new struct.
1371
1372 2019-05-01 Tom Tromey <tromey@adacore.com>
1373
1374 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1375 record.
1376 (NPR): New variable.
1377 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1378 test.
1379
1380 2019-05-01 Tom Tromey <tromey@adacore.com>
1381
1382 * gdb.ada/packed_array_assign.exp: Add packed assignment
1383 regression test.
1384
1385 2019-05-01 Tom de Vries <tdevries@suse.de>
1386
1387 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1388
1389 2019-05-01 Tom de Vries <tdevries@suse.de>
1390
1391 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1392
1393 2019-04-30 Ali Tamur <tamur@google.com>
1394
1395 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1396
1397 2019-04-30 Tom Tromey <tromey@adacore.com>
1398
1399 * lib/ada.exp (find_ada_tool): New proc.
1400 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1401 * gdb.ada/catch_ex_std.exp: New file.
1402 * gdb.ada/catch_ex_std/foo.adb: New file.
1403 * gdb.ada/catch_ex_std/some_package.adb: New file.
1404 * gdb.ada/catch_ex_std/some_package.ads: New file.
1405
1406 2019-04-30 Tom Tromey <tromey@adacore.com>
1407
1408 PR c++/24470:
1409 * gdb.cp/temargs.cc: Add test code from PR.
1410
1411 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1412
1413 * gdb.fortran/vla-datatypes.exp: Update expected results.
1414 * gdb.fortran/vla-ptype.exp: Likewise.
1415 * gdb.fortran/vla-type.exp: Likewise.
1416 * gdb.fortran/vla-value.exp: Likewise.
1417
1418 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1419
1420 * gdb.fortran/ptr-indentation.exp: Update expected results.
1421 * gdb.fortran/ptype-on-functions.exp: Likewise.
1422 * gdb.fortran/vla-ptr-info.exp: Likewise.
1423 * gdb.fortran/vla-value.exp: Likewise.
1424
1425 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1426
1427 * gdb.fortran/ptype-on-functions.exp: New file.
1428 * gdb.fortran/ptype-on-functions.f90: New file.
1429
1430 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1431
1432 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1433 case void string.
1434
1435 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1436
1437 * gdb.fortran/complex.exp: Expand.
1438 * gdb.fortran/complex.f: Renamed to...
1439 * gdb.fortran/complex.f90: ...this, and extended to add more
1440 complex values.
1441
1442 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1443
1444 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1445 MODULO, CMPLX.
1446
1447 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1448 Richard Bunt <richard.bunt@arm.com>
1449
1450 * gdb.base/max-depth.c: New file.
1451 * gdb.base/max-depth.exp: New file.
1452 * gdb.python/py-nested-maps.c: New file.
1453 * gdb.python/py-nested-maps.exp: New file.
1454 * gdb.python/py-nested-maps.py: New file.
1455 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1456 (test_all_common): Call test_max_depth.
1457 * gdb.fortran/max-depth.exp: New file.
1458 * gdb.fortran/max-depth.f90: New file.
1459 * gdb.go/max-depth.exp: New file.
1460 * gdb.go/max-depth.go: New file.
1461 * gdb.modula2/max-depth.exp: New file.
1462 * gdb.modula2/max-depth.c: New file.
1463 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1464
1465 2019-04-29 Tom de Vries <tdevries@suse.de>
1466
1467 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1468
1469 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1470
1471 * gdb.base/callexit.exp: Test may-call-functions off.
1472
1473 2019-04-25 Keith Seitz <keiths@redhat.com>
1474
1475 PR c++/24367
1476 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1477 (another_incomplete_struct, test_incomplete): New definitions.
1478 (main): Use new definitions.
1479 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1480 functions.
1481
1482 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1483
1484 PR corefiles/11608
1485 PR corefiles/18187
1486 * gdb.base/coredump-filter-build-id.exp: New file.
1487
1488 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1489
1490 * Makefile.in: Pass through GDBSERVER_DEBUG.
1491 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1492 (gdbserver,debug): Add board setting.
1493 * gdb.trace/tspeed.exp: Skip when debugging.
1494 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1495 * lib/gdbserver-support.exp: Likewise
1496
1497 2019-04-24 Tom Tromey <tromey@adacore.com>
1498
1499 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1500 Rust.
1501
1502 2019-04-24 Tom Tromey <tromey@adacore.com>
1503
1504 * gdb.arch/amd64-eval.exp: Test bitfield return.
1505 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1506 (class Foo) <return_bitfields>: New method.
1507 (main): Call it.
1508
1509 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1510
1511 * gdb.cp/many-args.cc: New file.
1512 * gdb.cp/many-args.exp: New file.
1513
1514 2019-04-23 Tom de Vries <tdevries@suse.de>
1515
1516 PR gdb/24433
1517 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1518
1519 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1520
1521 * gdb.trace/backtrace.exp: Use nopie flag.
1522 * gdb.trace/circ.exp: Likewise.
1523 * gdb.trace/collection.exp: Likewise.
1524 * gdb.trace/ftrace.exp: Likewise.
1525 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1526 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1527 * gdb.trace/qtro.exp: Likewise.
1528 * gdb.trace/read-memory.exp: Likewise.
1529 * gdb.trace/report.exp: Likewise.
1530 * gdb.trace/tfile.exp: Likewise.
1531 * gdb.trace/tfind.exp: Likewise.
1532 * gdb.trace/unavailable.exp: Likewise.
1533
1534 2019-04-22 Pedro Alves <palves@redhat.com>
1535
1536 * gdb.base/solib-probes-nosharedlibrary.c,
1537 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1538
1539 2019-04-19 Tom Tromey <tromey@adacore.com>
1540
1541 * gdb.ada/ptype_union.c: New file.
1542 * gdb.ada/ptype_union.exp: New file.
1543
1544 2019-04-19 Tom Tromey <tromey@adacore.com>
1545
1546 PR symtab/24423:
1547 * gdb.base/list0.h (foo): Add a control-l character.
1548
1549 2019-04-18 Tom de Vries <tdevries@suse.de>
1550
1551 PR gdb/24433
1552 * boards/local-board.exp: Set sysroot to "".
1553
1554 2019-04-18 Tom de Vries <tdevries@suse.de>
1555 Pedro Alves <palves@redhat.com>
1556
1557 PR gdb/24454
1558 * gdb.threads/vfork-follow-child-exec.c: New file.
1559 * gdb.threads/vfork-follow-child-exec.exp: New file.
1560 * gdb.threads/vfork-follow-child-exit.c: New file.
1561 * gdb.threads/vfork-follow-child-exit.exp: New file.
1562
1563 2019-04-15 Leszek Swirski <leszeks@google.com>
1564
1565 * gdb.arch/amd64-eval.cc: New file.
1566 * gdb.arch/amd64-eval.exp: New file.
1567
1568 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1569
1570 * gdb.server/sysroot.c: New test.
1571 * gdb.server/sysroot.exp: New file.
1572 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1573 matching param.
1574
1575 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1576
1577 * gdb.base/align.exp: Extend test to cover structures containing
1578 only static fields.
1579
1580 2019-04-11 Tom de Vries <tdevries@suse.de>
1581
1582 * boards/cc-with-dwz-m.exp: New file.
1583 * boards/cc-with-dwz.exp: New file.
1584 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1585
1586 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1587
1588 * gdb.base/start-cpp.exp: New file.
1589 * gdb.base/start-cpp.cc: New file.
1590
1591 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1592
1593 * gdb.python/py-thrhandle.exp: Adjust tests to call
1594 thread_from_handle instead of thread_from_thread_handle.
1595
1596 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1597
1598 * gdb.python/py-thrhandle.exp: Add tests for
1599 gdb.InferiorThread.handle.
1600
1601 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1602
1603 * gdb.python/py-function.exp: Check calling helper function from
1604 all languages.
1605 * lib/gdb.exp (gdb_supported_languages): New proc.
1606
1607 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1608
1609 * gdb.base/complex-parts.c: New file.
1610 * gdb.base/complex-parts.exp: New file.
1611
1612 2019-04-01 Tom Tromey <tromey@adacore.com>
1613
1614 PR symtab/23331:
1615 * gdb.dwarf2/dw2-ranges-main.c: New file.
1616 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1617 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1618
1619 2019-03-30 Simon Marchi <simark@simark.ca>
1620
1621 * gdb.base/default.exp: Add values for $_gdb_major and
1622 $_gdb_minor.
1623
1624 2019-03-29 Tom Tromey <tromey@adacore.com>
1625
1626 * gdb.base/help.exp: Tighten apropos regexp.
1627
1628 2019-03-29 Keith Seitz <keiths@redhat.com>
1629
1630 * gdb.fortran/array-bounds.exp: New file.
1631 * gdb.fortran/array-bounds.f90: New file.
1632
1633 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1634
1635 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1636
1637 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1638
1639 * gdb.multi/hello.c (main): Increase alarm timer.
1640
1641 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1642
1643 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1644 factor when no hardware watchpoint support.
1645
1646 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1647 Pedro Alves <palves@redhat.com>
1648
1649 * boards/local-board.exp: set sysroot to /.
1650
1651 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1652
1653 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1654 in child.
1655
1656 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1657
1658 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1659 field.
1660 (make_container): Initialise new field.
1661 * gdb.python/py-prettyprint.exp: Add new tests.
1662 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1663 <display_hint>: New method.
1664
1665 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1666
1667 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1668 gdb_continue_to_breakpoint more throughout this test.
1669 (run_lang_tests) Supply unique test names, and use
1670 gdb_test_no_output.
1671
1672 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1673
1674 * gdb.base/finish-pretty.exp: Update expected results.
1675 * gdb.base/pretty-print.c: New file.
1676 * gdb.base/pretty-print.exp: New file.
1677
1678 2019-03-25 Pedro Alves <palves@redhat.com>
1679
1680 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1681 move comments outside list. Append '-i "" eof' section.
1682
1683 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1684
1685 * README: Add pie options.
1686 * gdb.base/break-interp.exp: Ensure pie is disabled.
1687 * gdb.base/dump.exp: Likewise.
1688 * lib/gdb.exp (gdb_compile): Add pie option.
1689
1690 2019-03-19 Tom Tromey <tromey@adacore.com>
1691
1692 * gdb.mi/mi2-cli-display.c: New file.
1693 * gdb.mi/mi2-cli-display.exp: New file.
1694
1695 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1696 Tom Tromey <tromey@adacore.com>
1697
1698 * gdb.ada/ptype_array/pck.adb: New file.
1699 * gdb.ada/ptype_array/pck.ads: New file.
1700 * gdb.ada/ptype_array/foo.adb: New file.
1701 * gdb.ada/ptype_array.exp: New file.
1702
1703 2019-03-14 Tom Tromey <tromey@adacore.com>
1704
1705 * gdb.base/style.exp: Add "set style sources" test.
1706
1707 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1708
1709 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1710 * mi-breakpoint-multiple-locations.exp: ... this.
1711 (make_breakpoints_pattern): New proc.
1712 (do_test): Add mi_version parameter, test -break-insert,
1713 -break-info and =breakpoint-created.
1714
1715 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1716
1717 * config/default.exp: Remove 'load_lib gdb.exp'.
1718 * config/monitor.exp: Likewise.
1719 * config/sid.exp: Likewise.
1720 * config/sim.exp: Likewise.
1721 * config/slite.exp: Likewise.
1722 * config/unix.exp: Likewise.
1723 * gdb.base/default.exp: Remove unhelpful comment.
1724
1725 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1726
1727 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1728
1729 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1730
1731 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1732
1733 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1734
1735 * gdb.fortran/type-kinds.exp: Update expected results.
1736
1737 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1738
1739 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1740
1741 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1742
1743 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1744 function.
1745 (test_basic_parsing_of_type_kinds): Expand types tested.
1746 (test_parsing_invalid_type_kinds): New function.
1747
1748 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1749
1750 * gdb.fortran/intrinsics.exp: New file.
1751 * gdb.fortran/intrinsics.f90: New file.
1752 * gdb.fortran/type-kinds.exp: New file.
1753
1754 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1755
1756 * gdb.fortran/dot-ops.exp: New file.
1757
1758 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1759
1760 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1761 Check upper and lower case logical literals.
1762
1763 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1764
1765 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1766 Remove duplicate tests.
1767
1768 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1769
1770 * lib/gdb.exp (builtin_cd): rename of cd.
1771 (cd): Override builtin.
1772
1773 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1774
1775 * gdb.fortran/function-calls.exp: New file.
1776 * gdb.fortran/function-calls.f90: New test.
1777
1778 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1779
1780 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1781 on user program standard output.
1782 * gdb.fortran/short-circuit-argument-list.f90: Record function
1783 calls.
1784
1785 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1786
1787 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1788 failure.
1789
1790 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1791
1792 PR gdb/8527
1793 * gdb.base/interrupt-daemon-attach.c,
1794 gdb.base/interrupt-daemon-attach.exp: New test.
1795
1796 2019-02-27 Pedro Alves <palves@redhat.com>
1797
1798 * gdb.base/page.exp: Add tests for "set width/height -1".
1799
1800 2019-02-27 Pedro Alves <palves@redhat.com>
1801
1802 * gdb.base/page.exp: Add tests for "set/show width/height" with
1803 "infinite" values.
1804
1805 2019-02-27 Tom Tromey <tromey@adacore.com>
1806
1807 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1808 2.4.
1809 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1810 workaround.
1811
1812 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1813
1814 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1815 tests for structs with static members.
1816
1817 2019-02-26 Tom Tromey <tromey@adacore.com>
1818
1819 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1820 ValueError, not TypeError.
1821
1822 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1823
1824 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1825 call from main program.
1826
1827 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1828
1829 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1830 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1831 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1832 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1833 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1834
1835 2019-02-22 Keith Seitz <keiths@redhat.com>
1836
1837 PR symtab/23853
1838 * gdb.base/symlink-sourcefile.c: New file.
1839 * gdb.base/symlink-sourcefile.exp: New file.
1840
1841 2019-02-20 Tom Tromey <tom@tromey.com>
1842
1843 * gdb.base/info_qt.exp: Update.
1844
1845 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1846
1847 * gdb.base/source.exp: Move "error in sourced script" code to
1848 the end.
1849 * gdb.base/source-error.gdb: Move contents to
1850 source-error-1.gdb. Add new code to source source-error-1.gdb.
1851 * gdb.base/source-error-1.gdb: New file, from previous
1852 source-error.gdb.
1853
1854 2019-02-17 Tom Tromey <tom@tromey.com>
1855
1856 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1857 for macro styling.
1858 * gdb.base/style.c (SOME_MACRO): New macro.
1859
1860 2019-02-17 Tom Tromey <tom@tromey.com>
1861
1862 * gdb.base/style.exp: Add line-wrapping tests.
1863 * gdb.base/page.exp: Add test for quitting during pagination.
1864
1865 2019-02-17 Joel Brobecker <brobecker@adacore.com>
1866
1867 * gdb.ada/big_packed_array: New testcase.
1868 * gdb.ada/homonym.exp: Fix incorrect expected output for
1869 "break <homonym__get_value>" test.
1870
1871 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
1872
1873 PR breakpoints/21870
1874 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1875 and prepare_for_testing. Add comment.
1876 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1877 redundant cleanup call. Clean up comment.
1878
1879 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1880
1881 PR breakpoints/21870
1882 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1883 * gdb.arch/aarch64-dbreg-contents.c: New file.
1884
1885 2019-02-10 Joel Brobecker <brobecker@adacore.com>
1886
1887 * gdb.ada/mi_ref_changeable: New testcase.
1888
1889 2019-02-07 Alan Hayward <alan.hayward@arm.com>
1890
1891 * gdb.base/attach.exp: Add double attach test.
1892
1893 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1894
1895 * lib/gdb.exp (default_gdb_start): Don't match pagination
1896 prompt.
1897 (gdb_init): Set stty_init.
1898
1899 2019-01-27 Tom Tromey <tom@tromey.com>
1900
1901 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1902 skip_python_tests.
1903
1904 2019-01-24 Alan Hayward <alan.hayward@arm.com>
1905
1906 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1907 New structure.
1908 (struct struct_static_02_02): Likewise.
1909 (struct struct_static_02_03): Likewise.
1910 (struct struct_static_02_04): Likewise.
1911 (struct struct_static_04_01): Likewise.
1912 (struct struct_static_04_02): Likewise.
1913 (struct struct_static_04_03): Likewise.
1914 (struct struct_static_04_04): Likewise.
1915 (struct struct_static_06_01): Likewise.
1916 (struct struct_static_06_02): Likewise.
1917 (struct struct_static_06_03): Likewise.
1918 (struct struct_static_06_04): Likewise.
1919 (cmp_struct_static_02_01): Likewise.
1920 (cmp_struct_static_02_02): Likewise.
1921 (cmp_struct_static_02_03): Likewise.
1922 (cmp_struct_static_02_04): Likewise.
1923 (cmp_struct_static_04_01): Likewise.
1924 (cmp_struct_static_04_02): Likewise.
1925 (cmp_struct_static_04_03): Likewise.
1926 (cmp_struct_static_04_04): Likewise.
1927 (cmp_struct_static_06_01): Likewise.
1928 (cmp_struct_static_06_02): Likewise.
1929 (cmp_struct_static_06_03): Likewise.
1930 (cmp_struct_static_06_04): Likewise.
1931 (call_all): Test new structs.
1932 * gdb.base/infcall-nested-structs.exp: Likewise.
1933
1934 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1935 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1936
1937 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1938 * gdb.base/stack-protector.c: New test.
1939 * gdb.base/stack-protector.exp: New file.
1940 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1941 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1942 option.
1943 (gdb_compile): Remove stack protector for GCC and prevent
1944 recursion.
1945
1946 2019-01-16 Keith Seitz <keiths@redhat.com>
1947
1948 PR gdb/23773
1949 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1950
1951 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1952
1953 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1954 aliases.
1955 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1956 tests.
1957 * gdb.arch/powerpc-vector-regs.c: New file.
1958 * gdb.arch/powerpc-vector-regs.exp: New file.
1959
1960 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1961
1962 * gdb.arch/altivec-regs.exp: Fix the list passed to
1963 gdb_expect_list when testing "info vector".
1964
1965 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1966
1967 * gdb.base/style.exp: Don't include path in testname.
1968
1969 2019-01-10 Keith Seitz <keiths@redhat.com>
1970
1971 PR gdb/23712
1972 PR symtab/23010
1973 * gdb.dwarf2/multidictionary.exp: New file.
1974
1975 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1976
1977 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1978 (test_gnuv3_style_demangling): ... this.
1979 (test_lucid_style_demangling): Remove.
1980 (test_arm_style_demangling): Remove.
1981 (test_hp_style_demangling): Remove.
1982 (do_tests): Remove calls to the above.
1983
1984 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1985
1986 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1987 case.
1988
1989 2019-01-06 Tom Tromey <tom@tromey.com>
1990
1991 PR gdb/28155:
1992 * gdb.dwarf2/typedef-void-finish.exp: New file.
1993
1994 2018-12-28 Tom Tromey <tom@tromey.com>
1995 Simon Marchi <simark@simark.ca>
1996
1997 * gdb.base/jit-exec.exp: New file.
1998 * gdb.base/jit-exec.c: New file.
1999 * gdb.base/jit-execd.c: New file.
2000
2001 2018-12-28 Tom Tromey <tom@tromey.com>
2002
2003 * gdb.base/style.exp: Update test to check for address styling.
2004
2005 2018-12-28 Tom Tromey <tom@tromey.com>
2006
2007 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2008 message.
2009
2010 2018-12-28 Tom Tromey <tom@tromey.com>
2011
2012 * gdb.base/style.exp: Add test for version number styling.
2013
2014 2018-12-28 Tom Tromey <tom@tromey.com>
2015
2016 * gdb.base/style.exp: Add test for print_address_symbolic.
2017
2018 2018-12-28 Tom Tromey <tom@tromey.com>
2019
2020 * gdb.base/style.exp: Add test for breakpoint setting.
2021
2022 2018-12-28 Tom Tromey <tom@tromey.com>
2023
2024 * gdb.base/style.exp: Add test for variable names.
2025
2026 2018-12-28 Tom Tromey <tom@tromey.com>
2027
2028 * gdb.base/style.exp: New file.
2029 * gdb.base/style.c: New file.
2030
2031 2018-12-28 Tom Tromey <tom@tromey.com>
2032
2033 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2034 "dumb".
2035 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2036 the TERM environment variable.
2037
2038 2018-12-27 Tom Tromey <tom@tromey.com>
2039
2040 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2041 pagination test.
2042
2043 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2044
2045 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2046 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2047
2048 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2049
2050 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2051 Filename a.adb changed to bp_fun_addr.adb.
2052 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2053
2054 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2055
2056 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2057 non-PIE executables.
2058 * README: Mention the gdb,nopie_flag board setting.
2059 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2060 non-PIE executable.
2061 * gdb.arch/amd64-entry-value.exp: Likewise.
2062 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2063 * gdb.arch/i386-float.exp: Likewise.
2064 * gdb.arch/i386-signal.exp: Likewise.
2065 * gdb.mi/mi-reg-undefined.exp: Likewise.
2066
2067 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2068
2069 PR gdb/23974
2070 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2071
2072 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2073
2074 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2075 Update order of results accordingly.
2076
2077 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2078
2079 * gdb.base/annota1.exp: Update a test regexp.
2080
2081 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2082
2083 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2084
2085 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2086
2087 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2088 (reuse_time): Initialize to REUSE_TIME_CAP.
2089 (check_rc): New function.
2090 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2091 Check pthread_create rc.
2092 (spawner_thread_func): Check pthread_create and pthread_join rc.
2093
2094 2018-12-08 Pedro Alves <palves@redhat.com>
2095
2096 * gdb.base/list.exp (test_forward_search): Rename to ...
2097 (test_forward_reverse_search): ... this. Also test reverse-search
2098 and the forward-search alias.
2099
2100 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2101
2102 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2103 local timeout variable before return, and remove all local timeout
2104 variable entirely.
2105 (gdb_load): Likewise.
2106
2107 2018-12-01 Tom de Vries <tdevries@suse.de>
2108
2109 * gdb.base/gdb-caching-proc.exp: New file.
2110
2111 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2112
2113 * Makefile.in (TIMESTAMP): New variable.
2114 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2115 command.
2116 (check-single-racy): Likewise.
2117 (check/%.exp): Likewise.
2118 (check-racy/%.exp): Likewise.
2119 (workers/%.worker): Likewise.
2120 (build-perf): Likewise.
2121 (check-perf): Likewise.
2122 * README: Describe new "TS" and "TS_FORMAT" variables.
2123 * print-ts.py: New file.
2124
2125 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2126
2127 PR python/23714
2128 * gdb.python/python.exp: Test command repetition after
2129 gdb.execute.
2130
2131 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2132
2133 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2134 is correctly aligned.
2135
2136 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2137
2138 * gdb.ada/info_auto_lang.exp: New testcase.
2139 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2140 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2141 * gdb.ada/info_auto_lang/some_c.c: New file.
2142
2143 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2144
2145 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2146 FUNC_lang language syntax.
2147
2148 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2149
2150 * gdb.base/info_minsym.c: New file.
2151 * gdb.base/info_minsym.exp: New file.
2152
2153 2018-11-19 Tom Tromey <tom@tromey.com>
2154
2155 PR rust/23625:
2156 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2157 * gdb.rust/expr.exp: Update expected output. Change one test.
2158
2159 2018-11-19 Tom Tromey <tom@tromey.com>
2160
2161 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2162
2163 2018-11-19 Pedro Alves <palves@redhat.com>
2164
2165 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2166 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2167 see the expected warning.
2168
2169 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2170
2171 PR gdb/22736:
2172 * gdb.cp/infcall-nodebug-lib.c: New test.
2173 * gdb.cp/infcall-nodebug-main.c: New test.
2174 * gdb.cp/infcall-nodebug.exp: New file.
2175
2176 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2177
2178 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2179 completer tests.
2180
2181 2018-11-09 Tom de Vries <tdevries@suse.de>
2182
2183 * gdb.base/msym-lang.c: New test.
2184 * gdb.base/msym-lang.exp: New file.
2185 * gdb.base/msym-lang-main.c: New test.
2186
2187 2018-11-08 Tom Tromey <tom@tromey.com>
2188
2189 PR gdb/23555:
2190 PR gdb/23838:
2191 * gdb.base/warning.exp: New file.
2192
2193 2018-11-08 Jan Beulich <jbeulich@suse.com>
2194
2195 * testsuite/gdb.arch/i386-avx512.c,
2196 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2197
2198 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2199
2200 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2201 point hardware.
2202
2203 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2204
2205 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2206 * gdb.dwarf2/missing-type-name.exp: New file.
2207
2208 2018-11-06 Tom de Vries <tdevries@suse.de>
2209
2210 * gdb.base/many-headers.c: New test.
2211 * gdb.base/many-headers.exp: New file.
2212
2213 2018-11-06 Jim Wilson <jimw@sifive.com>
2214
2215 * gdb.base/code_elim.exp: For riscv, set additional_flags
2216 to include -msmall-data-limit=0.
2217
2218 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2219
2220 * gdb.ada/watch_minus_l: New testcase.
2221
2222 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2223
2224 * gdb.arch/aix-sighandle.c: New file.
2225 * gdb.arch/aix-sighandle.exp: New file.
2226
2227 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2228
2229 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2230 registers being unions.
2231
2232 2018-10-31 Tom de Vries <tdevries@suse.de>
2233
2234 * lib/valgrind.exp: New file.
2235 (vgdb_start, vgdb_stop): New procs, factored out of ...
2236 * gdb.base/valgrind-bt.exp: ... here, ...
2237 * gdb.base/valgrind-disp-step.exp: ... here and ...
2238 * gdb.base/valgrind-infcall.exp: ... here.
2239
2240 2018-10-31 Tom de Vries <tdevries@suse.de>
2241
2242 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2243
2244 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2245
2246 * gdb.dwarf2/void-type.c: New file.
2247 * gdb.dwarf2/void-type.exp: New file.
2248
2249 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2250
2251 * gdb.base/info_qt.c: New file.
2252 * gdb.base/info_qt.exp: New file.
2253
2254 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2255
2256 * gdb.arch/powerpc-htm-regs.c: New file.
2257 * gdb.arch/powerpc-htm-regs.exp: New file.
2258
2259 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2260
2261 * gdb.arch/powerpc-tar.c: New file.
2262 * gdb.arch/powerpc-tar.exp: New file.
2263
2264 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2265
2266 * gdb.arch/powerpc-ppr-dscr.c: New file.
2267 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2268
2269 2018-10-25 Tom de Vries <tdevries@suse.de>
2270
2271 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2272
2273 2018-10-24 Tom de Vries <tdevries@suse.de>
2274
2275 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2276 longer exists error.
2277
2278 2018-10-24 Tom de Vries <tdevries@suse.de>
2279
2280 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2281
2282 2018-10-24 Tom de Vries <tdevries@suse.de>
2283
2284 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2285 --db-attach in valgrind.
2286
2287 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2288
2289 * gdb.arch/riscv-reg-aliases.c: New file.
2290 * gdb.arch/riscv-reg-aliases.exp: New file.
2291
2292 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2293
2294 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2295
2296 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2297
2298 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2299
2300 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2301
2302 * gdb.cp/ovldbreak.exp: Fix regexps.
2303
2304 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2305
2306 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2307
2308 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2309
2310 PR cli/23785
2311 * gdb.base/restore.exp: New test to check if "restore" with an
2312 invalid file doesn't segfault.
2313
2314 2018-10-18 Tom de Vries <tdevries@suse.de>
2315
2316 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2317 * gdb.ada/excep_handle.exp: Same.
2318 * gdb.ada/mi_string_access.exp: Same.
2319 * gdb.ada/mi_var_union.exp: Same.
2320 * gdb.arch/arc-analyze-prologue.exp: Same.
2321 * gdb.arch/arc-decode-insn.exp: Same.
2322 * gdb.base/readnever.exp: Same.
2323 * gdb.fortran/printing-types.exp: Same.
2324 * gdb.guile/scm-lazy-string.exp: Same.
2325
2326 2018-10-16 Tom de Vries <tdevries@suse.de>
2327
2328 PR gdb/23730
2329 * gdb.base/catch-follow-exec.c: Add copyright notice.
2330 * gdb.base/catch-follow-exec.exp: Rewrite to use
2331 gdb_spawn_with_cmdline_opts. Require gdb-native.
2332
2333 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2334
2335 * gdb.trace/actions-changed.exp: Check for arch support.
2336 * gdb.trace/actions.exp: Likewise.
2337 * gdb.trace/ax.exp: Likewise.
2338 * gdb.trace/backtrace.exp: Likewise.
2339 * gdb.trace/change-loc.exp: Likewise.
2340 * gdb.trace/deltrace.exp: Likewise.
2341 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2342 * gdb.trace/ftrace.exp: Likewise.
2343 * gdb.trace/infotrace.exp: Check for arch support.
2344 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2345 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2346 * gdb.trace/mi-tsv-changed.exp: Likewise.
2347 * gdb.trace/packetlen.exp: Likewise.
2348 * gdb.trace/passc-dyn.exp: Likewise.
2349 * gdb.trace/passcount.exp: Likewise.
2350 * gdb.trace/pending.exp: Likewise.
2351 * gdb.trace/range-stepping.exp: Check for shlib support.
2352 * gdb.trace/report.exp: Check for arch support.
2353 * gdb.trace/save-trace.exp: Likewise.
2354 * gdb.trace/signal.exp: Check for signal support.
2355 * gdb.trace/tfind.exp: Check for arch support.
2356 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2357 * gdb.trace/trace-common.h: Add comment.
2358 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2359 * gdb.trace/trace-enable-disable.exp: Likewise.
2360 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2361 * gdb.trace/tracecmd.exp: Check for arch support.
2362 * gdb.trace/tspeed.exp: Check for shlib and target support.
2363 * gdb.trace/tstatus.exp: Check for arch support.
2364 * gdb.trace/tsv.exp: Likewise.
2365 * gdb.trace/while-dyn.exp: Likewise.
2366 * gdb.trace/while-stepping.exp: Likewise.
2367 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2368
2369 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2370
2371 * gdb.trace/tspeed.exp: Remove nowarnings.
2372 (prepare_for_trace_test): Declare "global ipalib".
2373 * gdb.trace/tspeed.c: Include unistd.h.
2374 (main): Remove superfluous printf argument.
2375
2376 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2377
2378 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2379 directory prefix on the filename.
2380
2381 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2382
2383 * gdb.gdb/unittest.exp: Update expected message informing that
2384 selftests have been disabled.
2385 * gdb.server/unittest.exp: Likewise.
2386
2387 2018-10-09 Tom de Vries <tdevries@suse.de>
2388
2389 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2390 with runto_main.
2391
2392 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2393
2394 PR c++/16841
2395 * gdb.cp/virtbase2.cc: New file.
2396 * gdb.cp/virtbase2.exp: New file.
2397
2398 2018-10-06 Tom Tromey <tom@tromey.com>
2399
2400 PR python/19399:
2401 * gdb.python/py-inferior.exp: Add architecture test.
2402
2403 2018-10-06 Tom Tromey <tom@tromey.com>
2404
2405 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2406 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2407
2408 2018-10-06 Tom Tromey <tom@tromey.com>
2409
2410 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2411 of a "throw" catchpoint.
2412
2413 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2414
2415 * gdb.base/info-proc.exp: Update string expected from "help info
2416 proc".
2417
2418 2018-10-04 Tom Tromey <tom@tromey.com>
2419
2420 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2421 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2422 (test_initial_complaints, test_empty_complaints): Update.
2423 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2424
2425 2018-10-04 Tom Tromey <tom@tromey.com>
2426
2427 PR cli/19551:
2428 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2429 * lib/gdb.exp (gdb_file_cmd): Update.
2430 * gdb.stabs/weird.exp (print_weird_var): Update.
2431 * gdb.server/solib-list.exp: Update.
2432 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2433 * gdb.mi/mi-cli.exp: Update.
2434 * gdb.linespec/linespec.exp: Update.
2435 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2436 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2437 * gdb.cp/cp-relocate.exp: Update.
2438 * gdb.base/sym-file.exp: Update.
2439 * gdb.base/relocate.exp: Update.
2440 * gdb.base/readnever.exp: Update.
2441 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2442 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2443 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2444 * gdb.base/code_elim.exp: Update.
2445 * gdb.base/break-unload-file.exp (test_break): Update.
2446 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2447 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2448 Update.
2449 * gdb.base/attach.exp (do_attach_tests): Update.
2450 * gdb.base/sepdebug.exp: Update.
2451 * gdb.python/py-section-script.exp: Update.
2452
2453 2018-10-04 Tom Tromey <tom@tromey.com>
2454
2455 PR cli/22234:
2456 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2457 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2458 output.
2459
2460 2018-10-04 Tom Tromey <tom@tromey.com>
2461
2462 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2463 set width and height to 0.
2464 (test_command_line_attach_run): Use -quiet.
2465
2466 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2467
2468 * lib/gdb.exp (skip_ifunc_tests): New.
2469 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2470 other compile failures.
2471 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2472
2473 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2474
2475 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2476 is_amd64_regs_target.
2477
2478 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2479
2480 * gdb.arch/aarch64-sighandler-regs.c: New test.
2481 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2482 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2483
2484 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2485
2486 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2487 assembly.
2488
2489 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2490
2491 * gdb.base/frame-selection.exp: New file.
2492 * gdb.base/frame-selection.c: New file.
2493
2494 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2495
2496 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2497 pthread barrier.
2498 (main): Likewise.
2499
2500 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2501
2502 * gdb.base/large-frame-1.c: New file.
2503 * gdb.base/large-frame-2.c: New file.
2504 * gdb.base/large-frame.exp: New file.
2505 * gdb.base/large-frame.h: New file.
2506
2507 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2508
2509 PR gdb/20948
2510 * gdb.base/write_mem.exp: New test.
2511 * gdb.base/write_mem.c: Likewise.
2512
2513 2018-09-23 Tom Tromey <tom@tromey.com>
2514
2515 PR python/18852:
2516 * gdb.python/py-parameter.exp: Add test for parameter that throws
2517 on "set".
2518
2519 2018-09-23 Tom Tromey <tom@tromey.com>
2520
2521 PR python/17284:
2522 * gdb.python/py-template.exp (test_template_arg): Add test for
2523 negative template argument number.
2524
2525 2018-09-23 Tom Tromey <tom@tromey.com>
2526
2527 PR python/14062:
2528 * gdb.python/python.exp: Add test for post_event error.
2529
2530 2018-09-23 Tom Tromey <tom@tromey.com>
2531
2532 PR python/18170:
2533 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2534 convert pointers to int and long.
2535
2536 2018-09-23 Tom Tromey <tom@tromey.com>
2537
2538 PR python/20126:
2539 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2540 signed-ness conversion tests.
2541
2542 2018-09-23 Tom Tromey <tom@tromey.com>
2543
2544 PR python/18352;
2545 * gdb.python/py-value.exp (test_float_conversion): New proc.
2546 Use it.
2547
2548 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2549
2550 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2551
2552 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2553
2554 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2555 no readline.
2556 * gdb.base/utf8-identifiers.exp: Likewise.
2557 * gdb.cp/cpcompletion.exp: Likewise.
2558 * gdb.linespec/cpcompletion.exp: Likewise.
2559 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2560 * gdb.linespec/cpls-ops.exp: Likewise.
2561
2562 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2563 Chris January <chris.january@arm.com>
2564
2565 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2566 * gdb.fortran/short-circuit-argument-list.exp: New file.
2567 * gdb.fortran/short-circuit-argument-list.f90: New test.
2568
2569 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2570
2571 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2572 "arch=" keyword when executing "-stack-list-frames".
2573
2574 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2575
2576 * gdb.arch/amd64-invalid-stack-middle.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.ada/complete.exp: Expect for "@" when doing "complete
2582 break ada".
2583
2584 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2585
2586 PR python/23669
2587 * gdb.python/python.exp: Test gdb.execute("show commands").
2588
2589 2018-09-16 Tom Tromey <tom@tromey.com>
2590
2591 * gdb.base/new-ui.exp (do_execution_tests): Update.
2592 * gdb.base/dbx.exp (test_breakpoints): Update.
2593
2594 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2595
2596 * lib/gdb.exp (gdb_simple_compile): Add proc.
2597 (is_elf_target): Use gdb_simple_compile.
2598 (skip_altivec_tests): Likewise.
2599 (skip_vsx_tests): Likewise.
2600 (skip_tsx_tests): Likewise.
2601 (skip_btrace_tests): Likewise.
2602 (skip_btrace_pt_tests): Likewise.
2603 (gdb_can_simple_compile): Likewise.
2604 (gdb_has_argv0): Likewise.
2605 (gdb_target_symbol_prefix): Likewise.
2606 (target_supports_scheduler_locking): Likewise.
2607
2608 2018-09-13 Tom Tromey <tom@tromey.com>
2609
2610 * Makefile.in (TAGS): Recognize proc_with_prefix and
2611 gdb_caching_proc.
2612
2613 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2614
2615 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2616 method.
2617
2618 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2619
2620 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2621 and a few other Inferior properties when the Inferior is no
2622 longer valid.
2623
2624 2018-09-13 Tom Tromey <tom@tromey.com>
2625
2626 PR rust/23650:
2627 * gdb.rust/simple.exp: Add test for enum field access error.
2628
2629 2018-09-13 Tom Tromey <tom@tromey.com>
2630
2631 PR rust/23626:
2632 * gdb.rust/simple.rs (EmptyEnum): New type.
2633 (main): Use it.
2634 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2635
2636 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2637
2638 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2639 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2640 * gdb.python/py-symtab.exp: Update test printing an objfile.
2641
2642 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2643
2644 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2645 object.
2646
2647 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2648
2649 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2650 (support_complex_tests): Use gdb_can_simple_compile.
2651 (is_ilp32_target): Likewise.
2652 (is_lp64_target): Likewise.
2653 (is_64_target): Likewise.
2654 (is_amd64_regs_target): Likewise.
2655 (is_aarch32_target): Likewise.
2656 (gdb_int128_helper): Likewise.
2657
2658 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2659
2660 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2661
2662 2018-09-10 Jerome Guitton <guitton@adacore.com>
2663
2664 * gdb.ada/same_component_name: Add test for case of tagged record
2665 with variable-length fields.
2666
2667 2018-09-10 Xavier Roirand <roirand@adacore.com>
2668
2669 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2670 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2671 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2672 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2673
2674 2018-09-10 Xavier Roirand <roirand@adacore.com>
2675
2676 * gdb.ada/mi_string_access.exp: New testcase.
2677 * gdb.ada/mi_string_access/bar.adb: New file.
2678 * gdb.ada/mi_string_access/pck.adb: New file.
2679 * gdb.ada/mi_string_access/pck.asd: New file.
2680
2681 2018-09-10 Xavier Roirand <roirand@adacore.com>
2682
2683 * gdb.ada/mi_var_union.exp: New testcase.
2684 * gdb.ada/mi_var_union/bar.adb: New file.
2685 * gdb.ada/mi_var_union/pck.adb: New file.
2686 * gdb.ada/mi_var_union/pck.asd: New file.
2687
2688 2018-09-08 Tom Tromey <tom@tromey.com>
2689
2690 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2691
2692 2018-09-08 Tom Tromey <tom@tromey.com>
2693
2694 PR python/16047:
2695 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2696 (register_pretty_printers): Register new printer.
2697 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2698 test.
2699 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2700 (an_int_type3): New global.
2701
2702 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2703
2704 * gdb.ada/expr_with_funcall: New testcase.
2705
2706 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2707
2708 * gdb.ada/packed_array_assign: New testcase.
2709
2710 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2711
2712 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2713 names, and add test prefixes to make test names unique.
2714
2715 2018-09-05 Tom de Vries <tdevries@suse.de>
2716
2717 * gdb.dwarf2/varval.exp: Add test.
2718
2719 2018-09-04 Gary Benson <gbenson@redhat.com>
2720
2721 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2722 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2723
2724 2018-08-31 Tom Tromey <tom@tromey.com>
2725
2726 * gdb.rust/simple.rs: Rename second variable "v".
2727
2728 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2729
2730 * gdb.base/funcargs.c (use_a): New function.
2731 (recurse): Call use_a.
2732
2733 2018-08-29 Keith Seitz <keiths@redhat.com>
2734
2735 * gdb.compile/compile-cplus-anonymous.cc: New file.
2736 * gdb.compile/compile-cplus-anonymous.exp: New file.
2737 * gdb.compile/compile-cplus-array-decay.cc: New file.
2738 * gdb.compile/compile-cplus-array-decay.exp: New file.
2739 * gdb.compile/compile-cplus-inherit.cc: New file.
2740 * gdb.compile/compile-cplus-inherit.exp: New file.
2741 * gdb.compile/compile-cplus-member.cc: New file.
2742 * gdb.compile/compile-cplus-member.exp: New file.
2743 * gdb.compile/compile-cplus-method.cc: New file.
2744 * gdb.compile/compile-cplus-method.exp: New file.
2745 * gdb.compile/compile-cplus-mod.c: "New" file.
2746 * gdb.compile/compile-cplus-namespace.cc: New file.
2747 * gdb.compile/compile-cplus-namespace.exp: New file.
2748 * gdb.compile/compile-cplus-nested.cc: New file.
2749 * gdb.compile/compile-cplus-nested.exp: New file.
2750 * gdb.compile/compile-cplus-print.c: "New" file.
2751 * gdb.compile/compile-cplus-print.exp: "New" file.
2752 * gdb.compile/compile-cplus-virtual.cc: New file.
2753 * gdb.compile/compile-cplus-virtual.exp: New file.
2754 * gdb.compile/compile-cplus.c: "New" file.
2755 * gdb.compile/compile-cplus.exp: "New" file.
2756 * lib/compile-support.exp: New file.
2757
2758 2018-08-16 Gary Benson <gbenson@redhat.com>
2759
2760 PR gdb/13000:
2761 * gdb.base/batch-exit-status.exp: New file.
2762 * gdb.base/batch-exit-status.good-commands: Likewise.
2763 * gdb.base/batch-exit-status.bad-commands: Likewise.
2764
2765 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2766
2767 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2768 (struct struct02): Likewise.
2769 (struct struct03): Likewise.
2770 (struct struct04): Likewise.
2771 (struct struct_01_01): New struct.
2772 (struct struct_01_02): Likewise.
2773 (struct struct_01_03): Likewise.
2774 (struct struct_01_04): Likewise.
2775 (struct struct_02_01): Likewise.
2776 (struct struct_02_02): Likewise.
2777 (struct struct_02_03): Likewise.
2778 (struct struct_02_04): Likewise.
2779 (struct struct_04_01): Likewise.
2780 (struct struct_04_02): Likewise.
2781 (struct struct_04_03): Likewise.
2782 (struct struct_04_04): Likewise.
2783 (struct struct_05_01): Likewise.
2784 (struct struct_05_02): Likewise.
2785 (struct struct_05_03): Likewise.
2786 (struct struct_05_04): Likewise.
2787 (cmp_struct01): Remove function.
2788 (cmp_struct02): Likewise.
2789 (cmp_struct03): Likewise.
2790 (cmp_struct04): Likewise.
2791 (cmp_struct_01_01): Add Function.
2792 (cmp_struct_01_02): Likewise.
2793 (cmp_struct_01_03): Likewise.
2794 (cmp_struct_01_04): Likewise.
2795 (cmp_struct_02_01): Likewise.
2796 (cmp_struct_02_02): Likewise.
2797 (cmp_struct_02_03): Likewise.
2798 (cmp_struct_02_04): Likewise.
2799 (cmp_struct_04_01): Likewise.
2800 (cmp_struct_04_02): Likewise.
2801 (cmp_struct_04_03): Likewise.
2802 (cmp_struct_04_04): Likewise.
2803 (cmp_struct_05_01): Likewise.
2804 (cmp_struct_05_02): Likewise.
2805 (cmp_struct_05_03): Likewise.
2806 (cmp_struct_05_04): Likewise.
2807 (call_all): Add new structs.
2808 * gdb.base/infcall-nested-structs.exp: Likewise.
2809
2810 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2811
2812 * gdb.python/py-framefilter-mi.exp: Update regexp to
2813 check for "arch" field in frame output.
2814
2815 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2816
2817 * gdb.dwarf2/dw2-ranges-func.c: New file.
2818 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2819
2820 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2821
2822 * gdb.base/term.exp: Compare terminal settings with values from
2823 the inferior.
2824 * gdb.base/term.c: Get and set terminal settings.
2825
2826 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2827
2828 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2829 accommodate new "arch" field in frame output.
2830 * gdb.mi/mi-return.exp: Likewise.
2831 * gdb.mi/mi-stack.exp: Likewise.
2832 * gdb.mi/mi-syn-frame.exp: Likewise.
2833 * gdb.mi/user-selected-context-sync.exp: Likewise.
2834
2835 2018-08-19 Michael Spang <spang@google.com>
2836
2837 PR gdb/11786
2838 * gdb.base/gcore-tls-pie.c: New file.
2839 * gdb.base/gcore-tls-pie.exp: New file.
2840
2841 2018-08-18 Kevin Buettner <kevinb@redhat.com>
2842
2843 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2844 * gdb.dwarf2/varval.c: New file.
2845 * gdb.dwarf2/varval.exp: New file.
2846
2847 2018-08-17 Alan Hayward <alan.hayward@arm.com>
2848
2849 PR gdb/18931
2850 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2851
2852 2018-08-16 Keith Seitz <keiths@redhat.com>
2853
2854 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2855 tests expected to pass.
2856
2857 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2858
2859 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2860 -data-disassemble -a.
2861 (test_disassembly_bogus_args): Likewise.
2862
2863 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2864
2865 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2866
2867 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2868
2869 * gdb.base/vla-optimized-out.exp: Add new test.
2870
2871 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2872
2873 * gdb.base/vla-optimized-out-o3.exp: Delete.
2874 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2875 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2876 deleted tests.
2877
2878 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2879
2880 PR gdb/18050:
2881 * gdb.server/extended-remote-restart.c: New file.
2882 * gdb.server/extended-remote-restart.exp: New file.
2883
2884 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2885
2886 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2887 "set variable index = 42".
2888
2889 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2890
2891 * boards/index-cache-gdb.exp: New file.
2892 * gdb.dwarf2/index-cache.exp: New file.
2893 * gdb.dwarf2/index-cache.c: New file.
2894 * gdb.base/maint.exp: Check if we are using the index cache.
2895
2896 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2897
2898 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2899 MAKEFLAGS.
2900
2901 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2902
2903 * dg-extract-results.sh: Move to toplevel contrib.
2904 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2905 * Makefile.in (check-parallel-racy): Likewise.
2906
2907 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2908
2909 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2910 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2911 tests if the target supports scheduler locking.
2912
2913 2018-08-04 Tom de Vries <tdevries@suse.de>
2914
2915 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2916
2917 2018-08-02 Tom Tromey <tom@tromey.com>
2918
2919 PR symtab/16842.
2920 * gdb.cp/temargs.exp: Test "info address" of a template
2921 parameter.
2922
2923 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2924
2925 * gdb.python/py-mi-var-info-path-expression.c: New file.
2926 * gdb.python/py-mi-var-info-path-expression.py: New file.
2927 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2928
2929 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2930
2931 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2932 error after "cannot resolve name" string.
2933
2934 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2935
2936 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2937 started.
2938 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2939
2940 2018-07-28 Tom de Vries <tdevries@suse.de>
2941
2942 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2943
2944 2018-07-26 Tom de Vries <tdevries@suse.de>
2945
2946 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2947
2948 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2949
2950 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2951 is visible.
2952
2953 2018-07-26 Tom de Vries <tdevries@suse.de>
2954
2955 PR breakpoints/23366
2956 * gdb.base/catch-follow-exec.c: New test.
2957 * gdb.base/catch-follow-exec.exp: New file.
2958
2959 2018-07-25 Tom de Vries <tdevries@suse.de>
2960
2961 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2962 vla-optimized-out.c.
2963
2964 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2965
2966 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2967 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2968
2969 2018-07-20 Tom de Vries <tdevries@suse.de>
2970
2971 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2972 NOCLONE macro.
2973 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2974
2975 2018-07-19 Tom de Vries <tdevries@suse.de>
2976
2977 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2978 regular expression.
2979
2980 2018-07-18 Tom de Vries <tdevries@suse.de>
2981
2982 * gdb.base/vla-optimized-out.c: New test.
2983 * gdb.base/vla-optimized-out.exp: New file.
2984
2985 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2986
2987 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2988 message "No address associated with hostname" when gdbserver
2989 cannot resolve the hostname.
2990
2991 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2992
2993 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2994 Add some test prefixes to make tests unique.
2995
2996 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2997
2998 * gdb.base/frameapply.c: New file.
2999 * gdb.base/frameapply.exp: New file.
3000
3001 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3002
3003 * gdb.base/skip.exp: Update expected error message.
3004
3005 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3006 Jan Kratochvil <jan.kratochvil@redhat.com>
3007 Paul Fertser <fercerpav@gmail.com>
3008 Tsutomu Seki <sekiriki@gmail.com>
3009
3010 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3011 parameter.
3012 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3013 by default.
3014 * boards/native-gdbserver.exp: Likewise.
3015 * gdb.server/run-without-local-binary.exp: Improve regexp used
3016 for detecting when a remote debugging connection succeeds.
3017 * gdb.server/server-connect.exp: New file.
3018 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3019 Do not prefix the port number with ":".
3020 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3021 support for detecting and using it. Add '$debughost_gdbserver'
3022 to the list of arguments used to start gdbserver. Handle case
3023 when gdbserver cannot resolve a network name.
3024
3025 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3026
3027 PR c++/23373
3028 * gdb.base/ptype-offsets.cc (struct static_member): New
3029 struct.
3030 (main) <stmember>: New variable.
3031 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3032 with a static member in it.
3033
3034 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3035
3036 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3037 watchpoints enabled and disabled.
3038
3039 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3040
3041 * gdb.base/examine-backward.exp: Still run tests around address
3042 0x0, even if address 0x0 is not readable. Update the pattern for
3043 matching address 0x0 in expected output.
3044
3045 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3046
3047 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3048 malloc/free.
3049
3050 2018-07-04 Tom de Vries <tdevries@suse.de>
3051
3052 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3053
3054 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3055
3056 PR tdep/8282
3057 * gdb.arch/mips-disassembler-options.exp: New test.
3058 * gdb.arch/mips-disassembler-options.s: New test source.
3059
3060 2018-06-29 Pedro Alves <palves@redhat.com>
3061
3062 * gdb.threads/names.exp: Adjust expected "info threads" output.
3063
3064 2018-06-29 Pedro Alves <palves@redhat.com>
3065
3066 * gdb.opt/inline-break.exp (line number, address): Add "info
3067 break" tests.
3068
3069 2018-06-29 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3072 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3073 number and address and running to them.
3074
3075 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3076
3077 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3078
3079 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3080
3081 * lib/compiler.c: Remove executable permission flag.
3082
3083 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3084
3085 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3086 code.
3087 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3088
3089 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3090
3091 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3092
3093 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3094
3095 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3096 address argument is omitted.
3097
3098 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3099
3100 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3101
3102 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3103
3104 PR gdb/21695
3105 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3106 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3107
3108 2018-06-26 Tom Tromey <tom@tromey.com>
3109
3110 PR rust/22574:
3111 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3112 * gdb.rust/simple.rs (struct SimpleLayout): New.
3113
3114 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3115
3116 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3117 "info registers" output.
3118
3119 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3120
3121 * gdb.base/watchpoint-hw-attach.c: New test.
3122 * gdb.base/watchpoint-hw-attach.exp: New file.
3123
3124 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3125
3126 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3127 through /bin/sh.
3128 * boards/dwarf4-gdb-index.exp: Likewise.
3129 * boards/fission-dwp.exp: Likewise.
3130
3131 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3132
3133 * gdb.base/float128.exp: Add comment and improved fail message
3134 to the failure case of "print large128" test.
3135
3136 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3137
3138 * configure.ac: Remove AC_PREREQ.
3139 * configure: Re-generate.
3140
3141 2018-06-19 Pedro Alves <palves@redhat.com>
3142
3143 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3144 (func_extern_caller): New.
3145 (main): Call func_extern_caller.
3146 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3147 logic change.
3148
3149 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3150
3151 PR gdb/16841
3152 * gdb.cp/typedef-base.cc: New file.
3153 * gdb.cp/typedef-base.exp: New file.
3154
3155 2018-06-18 Tom de Vries <tdevries@suse.de>
3156
3157 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3158
3159 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3160 Richard Bunt <Richard.Bunt@arm.com>
3161
3162 * gdb.threads/attach-slow-waitpid.c: New file.
3163 * gdb.threads/attach-slow-waitpid.exp: New file.
3164 * gdb.threads/slow-waitpid.c: New file.
3165
3166 2018-06-14 Pedro Alves <palves@redhat.com>
3167
3168 * gdb.base/fork-running-state.c: Include <errno.h>.
3169 (exit_if_relative_exits): New.
3170 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3171 exits.
3172 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3173 child exits.
3174
3175 2018-06-14 Tom de Vries <tdevries@suse.de>
3176
3177 PR cli/22573
3178 * gdb.base/finish-pretty.c: New test.
3179 * gdb.base/finish-pretty.exp: New file.
3180
3181 2018-06-14 Pedro Alves <palves@redhat.com>
3182
3183 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3184 gdb's expected startup output.
3185
3186 2018-06-14 Pedro Alves <palves@redhat.com>
3187
3188 * lib/selftest-support.exp (selftest_setup): Remove inlined
3189 function handling.
3190
3191 2018-06-14 Tom de Vries <tdevries@suse.de>
3192
3193 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3194 matching of breakpoint printing.
3195
3196 2018-06-13 Tom de Vries <tdevries@suse.de>
3197
3198 PR testsuite/23269
3199 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3200 (fork_child): ... here, and ...
3201 (fork_parent): ... here.
3202
3203 2018-06-12 Tom de Vries <tdevries@suse.de>
3204
3205 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3206
3207 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3208 Stephen Roberts <stephen.roberts@arm.com>
3209
3210 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3211 rewrite test to describe action performed, rather than possible
3212 failure.
3213
3214 2018-06-08 Gary Benson <gbenson@redhat.com>
3215
3216 * gdb.threads/check-libthread-db.exp: New file.
3217 * gdb.threads/check-libthread-db.c: Likewise.
3218
3219 2018-06-05 Tom Tromey <tom@tromey.com>
3220
3221 * gdb.base/default.exp: Update expected "show version" output.
3222
3223 2018-06-05 Tom Tromey <tom@tromey.com>
3224
3225 PR cli/12326:
3226 * gdb.cp/static-print-quit.exp: Update.
3227 * lib/gdb.exp (pagination_prompt): Update.
3228 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3229 * gdb.python/python.exp: Update.
3230
3231 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3232
3233 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3234
3235 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3236
3237 * gdb.ada/bp_fun_addr: New testcase.
3238
3239 2018-06-01 Tom Tromey <tom@tromey.com>
3240
3241 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3242 results.
3243 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3244 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3245 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3246 * gdb.base/maint.exp (maint_pass_if): Update.
3247
3248 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3249
3250 * gdb.base/endian.exp: New test.
3251 * gdb.base/endian.c: New test source.
3252
3253 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3254
3255 PR gdb/23203
3256 * gdb.base/bt-selected-frame.c: New file.
3257 * gdb.base/bt-selected-frame.exp: New file.
3258 * lib/gdb.exp (get_current_frame_number): New function.
3259
3260 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3261 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.threads/tls-core.c: Include <stdlib.h>
3264 (thread_proc): Call `abort'.
3265 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3266 (tls_core_test): New procedure, bits factored out from ...
3267 (top level): ... here. Test both native cores and gcore cores.
3268
3269 2018-05-23 Tom Tromey <tom@tromey.com>
3270
3271 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3272
3273 2018-05-23 Tom Tromey <tom@tromey.com>
3274
3275 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3276 symfile_complaints.
3277 (test_short_complaints): Likewise.
3278 (test_empty_complaints): Likewise.
3279 (test_initial_complaints): Update.
3280
3281 2018-05-23 Tom Tromey <tom@tromey.com>
3282
3283 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3284
3285 2018-05-23 Tom Tromey <tom@tromey.com>
3286
3287 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3288 (test_short_complaints): Update.
3289
3290 2018-05-22 Pedro Alves <palves@redhat.com>
3291
3292 * gdb.base/remote.exp: Only gdb_start after compiling the
3293 testcase. Issue "disconnect" before testing "set remote" command
3294 defaults. Issue clean_restart before running to main.
3295
3296 2018-05-22 Pedro Alves <palves@redhat.com>
3297
3298 * gdb.base/remote.exp: Adjust expected output of "show remote
3299 memory-write-packet-size". Add tests for "set remote
3300 memory-write-packet-size 0" and "set remote
3301 memory-write-packet-size fixed/limit".
3302
3303 2018-05-22 Pedro Alves <palves@redhat.com>
3304
3305 PR gdb/22973
3306 * gdb.base/utf8-identifiers.c: New file.
3307 * gdb.base/utf8-identifiers.exp: New file.
3308
3309 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3310
3311 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3312
3313 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3314
3315 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3316
3317 2018-05-18 Tom Tromey <tom@tromey.com>
3318
3319 * gdb.base/ptype-offsets.exp: Update.
3320
3321 2018-05-17 Keith Seitz <keiths@redhat.com>
3322
3323 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3324 in expected breakpoint stop locations.
3325 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3326 move to proper scope to test variable values.
3327 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3328 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3329 New functions.
3330 (main): Call not_inline_func3.
3331 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3332 inline_func1, inline_func2, and inline_func3. Test that when each
3333 breakpoint is hit, GDB properly reports both the stop location
3334 and the backtrace. Repeat tests for temporary breakpoints.
3335
3336 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3337
3338 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3339 rather then trying to access it in determining whether the PID
3340 of `gdbserver' could have been retrieved.
3341
3342 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.arch/amd64-init-x87-values.S: New file.
3345 * gdb.arch/amd64-init-x87-values.exp: New file.
3346
3347 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3348
3349 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3350
3351 2018-05-04 Tom Tromey <tom@tromey.com>
3352
3353 PR python/22730:
3354 * gdb.python/python.exp: Test multi-line execute.
3355
3356 2018-05-04 Tom Tromey <tom@tromey.com>
3357
3358 PR python/22731:
3359 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3360
3361 2018-05-04 Tom Tromey <tom@tromey.com>
3362
3363 PR gdb/11750:
3364 * gdb.base/define.exp: Test defining a user command inside a user
3365 command.
3366 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3367
3368 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3369 Pedro Alves <palves@redhat.com>
3370
3371 PR breakpoints/19806 and support for PR external/20207.
3372 * gdb.base/watchpoint-unaligned.c: New file.
3373 * gdb.base/watchpoint-unaligned.exp: New file.
3374
3375 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3376
3377 * gdb.base/maint.exp: Make test names unique, use
3378 test_prefix_command_help to test 'help maint info', and remove
3379 repeated test of 'help maint'.
3380
3381 2018-05-04 Tom Tromey <tom@tromey.com>
3382
3383 PR gdb/22619:
3384 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3385 behavior.
3386
3387 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3388
3389 * gdb.base/maint.exp: Process output from 'maint print registers'
3390 line at a time.
3391
3392 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3393
3394 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3395 timeout.
3396
3397 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3398
3399 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3400 filter pattern.
3401
3402 2018-05-02 Pedro Alves <palves@redhat.com>
3403
3404 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3405 to_log_command renames.
3406 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3407
3408 2018-05-02 Tom Tromey <tom@tromey.com>
3409
3410 * gdb.python/py-parameter.exp: Set test message.
3411
3412 2018-05-02 Tom Tromey <tom@tromey.com>
3413
3414 PR python/20084:
3415 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3416 PARAM_ZUINTEGER_UNLIMITED tests.
3417
3418 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3419
3420 PR rust/23124
3421 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3422 when casting.
3423
3424 2018-04-30 Tom Tromey <tom@tromey.com>
3425
3426 * gdb.python/py-type.exp: Check align attribute.
3427 * gdb.python/py-type.c: New "aligncheck" global.
3428
3429 2018-04-30 Tom Tromey <tom@tromey.com>
3430
3431 PR exp/17095:
3432 * gdb.dwarf2/dw2-align.exp: New file.
3433 * gdb.cp/align.exp: New file.
3434 * gdb.base/align.exp: New file.
3435 * lib/gdb.exp (gdb_int128_helper): New proc.
3436 (has_int128_c, has_int128_cxx): New caching procs.
3437
3438 2018-04-27 Tom Tromey <tom@tromey.com>
3439
3440 PR rust/22545:
3441 * gdb.rust/simple.exp: Add inclusive range tests.
3442
3443 2018-04-26 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3446 ifunc breakpoint locations correctly of ifunc breakpoints set
3447 while the program resolves the ifunc.
3448
3449 2018-04-26 Pedro Alves <palves@redhat.com>
3450
3451 * gdb.base/gnu-ifunc-final.c: New file.
3452 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3453 * gdb.base/gnu-ifunc.exp (executable): Delete.
3454 (staticexecutable): Adjust.
3455 (lib_opts, exec_opts): Delete.
3456 (make_binsuffix, build, set-break): New procedures.
3457 (misc_tests): New, with tests factored out from the top level.
3458 (top level): Test different combinations of ifunc resolver name,
3459 resolver with and with debug info, and ifunc target with and
3460 without debug info. Wrap static tests with with_target_prefix.
3461
3462 2018-04-26 Pedro Alves <palves@redhat.com>
3463
3464 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3465 return type" warnings.
3466
3467 2018-04-25 Pedro Alves <palves@redhat.com>
3468
3469 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3470 killed".
3471 * gdb.base/kill-after-signal.exp: Likewise.
3472 * gdb.threads/kill.exp: Likewise.
3473
3474 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3475 Sergio Durigan Junior <sergiodj@redhat.com>
3476 Pedro Alves <palves@redhat.com>
3477
3478 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3479 regexps to expect for '[Inferior ... detached]' as well.
3480 * gdb.base/attach.exp: Likewise.
3481 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3482 "gdb_continue_to_end".
3483 (test_catch_syscall_with_wrong_args): Likewise.
3484 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3485 ']'. Don't set 'verbose' on.
3486 * gdb.base/foll-vfork.exp: Likewise.
3487 * gdb.base/fork-print-inferior-events.c: New file.
3488 * gdb.base/fork-print-inferior-events.exp: New file.
3489 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3490 '[Inferior ... has been killed]' message.
3491 * gdb.base/kill-after-signal.exp: Likewise.
3492 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3493 detach message.
3494 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3495 message.
3496 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3497 regexps to expect for '[Inferior ... detached]' as well.
3498 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3499
3500 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3501
3502 PR gdb/23104
3503 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3504
3505 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3506
3507 * gdb.threads/multiple-successive-infcall.c: New test.
3508 * gdb.threads/multiple-successive-infcall.exp: New file.
3509
3510 2018-04-17 Tom Tromey <tom@tromey.com>
3511
3512 * gdb.rust/simple.rs (Union): New type.
3513 (main): New local "u".
3514 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3515
3516 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3517
3518 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3519 number information in output of "whereis" command.
3520 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3521
3522 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3523
3524 * gdb.ada/info_types.exp: Adjust expected output to the line
3525 numbers now printed by "info var/func/type".
3526 * gdb.base/completion.exp: Likewise.
3527 * gdb.base/included.exp: Likewise.
3528 * gdb.cp/cp-relocate.exp: Likewise.
3529 * gdb.cp/cplusfuncs.exp: Likewise.
3530 * gdb.cp/namespace.exp: Likewise.
3531 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3532
3533 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3534
3535 * gdb.btrace/cpu.exp: New.
3536
3537 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3538
3539 * gdb.base/step-indirect-call-thunk.exp: New.
3540 * gdb.base/step-indirect-call-thunk.c: New.
3541 * gdb.reverse/step-indirect-call-thunk.exp: New.
3542 * gdb.reverse/step-indirect-call-thunk.c: New.
3543
3544 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3545
3546 * gdb.base/pie-fork.c: New file.
3547 * gdb.base/pie-fork.exp: New file.
3548
3549 2018-04-11 Tom Tromey <tom@tromey.com>
3550
3551 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3552
3553 2018-04-10 Pedro Alves <palves@redhat.com>
3554
3555 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3556 exits. Instead loop running forever.
3557 (fork_parent): Run forever too.
3558
3559 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3560
3561 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3562 mi_continue_to_line.
3563 * gdb.mi/mi-stack.c (callee4): Add comment.
3564
3565 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3566
3567 * gdb.mi/mi-stack.exp: Fix indentation.
3568
3569 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3570
3571 PR gdb/22979
3572 * gdb.arch/amd64-osabi.exp: New file.
3573
3574 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3575
3576 PR gdb/22980
3577 * gdb.base/osabi.exp: New file.
3578
3579 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3580
3581 * gdb.cp/static-typedef-print.exp: New file.
3582 * gdb.cp/static-typedef-print.cc: New file.
3583
3584 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3585
3586 * gdb.ada/varsize_limit: New testcase.
3587
3588 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3589
3590 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3591
3592 * gdb.ada/notcplusplus: New testcase.
3593
3594 * gdb.base/c-linkage-name.c: New file.
3595 * gdb.base/c-linkage-name.exp: New testcase.
3596
3597 2018-03-26 Tom Tromey <tom@tromey.com>
3598
3599 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3600 * gdb.python/py-framefilter.py (name_error): New global.
3601 (ErrorInName.function): Use name_error.
3602
3603 2018-03-26 Tom Tromey <tom@tromey.com>
3604
3605 PR backtrace/15582:
3606 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3607
3608 2018-03-23 Keith Seitz <keiths@redhat.com>
3609
3610 PR c++/22968
3611 * gdb.cp/subtypes.exp: New file.
3612 * gdb.cp/subtypes.h: New file.
3613 * gdb.cp/subtypes.cc: New file.
3614 * gdb.cp/subtypes-2.cc: New file.
3615
3616 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3617
3618 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3619 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3620 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3621 -nostartfiles when compiling the test. Confirm that all registers
3622 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3623
3624 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3625
3626 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3627 option, syntax was wrong anyway.
3628 * gdb.arch/arm-disp-step.exp: Likewise.
3629 * gdb.arch/sparc64-regs.exp: Likewise.
3630 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3631 option, syntax was wrong anyway, switch to use
3632 prepare_for_testing.
3633 * gdb.arch/i386-disp-step.exp: Likewise.
3634
3635 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3636
3637 * gdb.ada/exec_changed.exp: Replace "target_info exists
3638 use_gdb_stub" by "use_gdb_stub".
3639 * gdb.ada/start.exp: Likewise.
3640 * gdb.base/async-shell.exp: Likewise.
3641 * gdb.base/attach-pie-misread.exp: Likewise.
3642 * gdb.base/attach-wait-input.exp: Likewise.
3643 * gdb.base/break-entry.exp: Likewise.
3644 * gdb.base/break-interp.exp: Likewise.
3645 * gdb.base/dprintf-detach.exp: Likewise.
3646 * gdb.base/nostdlib.exp: Likewise.
3647 * gdb.base/solib-nodir.exp: Likewise.
3648 * gdb.base/statistics.exp: Likewise.
3649 * gdb.base/testenv.exp: Likewise.
3650 * gdb.mi/mi-exec-run.exp: Likewise.
3651 * gdb.mi/mi-start.exp: Likewise.
3652 * gdb.multi/dummy-frame-restore.exp: Likewise.
3653 * gdb.multi/multi-arch-exec.exp: Likewise.
3654 * gdb.multi/multi-arch.exp: Likewise.
3655 * gdb.multi/tids.exp: Likewise.
3656 * gdb.multi/watchpoint-multi.exp: Likewise.
3657 * gdb.python/py-events.exp: Likewise.
3658 * gdb.threads/attach-into-signal.exp: Likewise.
3659 * gdb.threads/attach-stopped.exp: Likewise.
3660 * gdb.threads/threadapply.exp: Likewise.
3661 * lib/selftest-support.exp: Likewise.
3662
3663 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3664
3665 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3666
3667 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3668
3669 * gdb.perf/template-breakpoints.cc: New file.
3670 * gdb.perf/template-breakpoints.exp: New file.
3671 * gdb.perf/template-breakpoints.py: New file.
3672
3673 2018-03-19 Tom Tromey <tom@tromey.com>
3674
3675 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3676 y0.
3677 * gdb.rust/simple.exp: Test bare identifier form of struct
3678 initializer.
3679
3680 2018-03-19 Tom Tromey <tom@tromey.com>
3681
3682 * gdb.gdb/observer.exp: Remove.
3683
3684 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3685
3686 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3687 "qualified" option when setting breakpoints.
3688 * gdb.trace/backtrace.exp: Likewise.
3689 * gdb.trace/circ.exp: Likewise.
3690 * gdb.trace/collection.exp: Likewise.
3691 * gdb.trace/disconnected-tracing.exp: Likewise.
3692 * gdb.trace/ftrace-lock.exp: Likewise.
3693 * gdb.trace/ftrace.exp: Likewise.
3694 * gdb.trace/infotrace.exp: Likewise.
3695 * gdb.trace/packetlen.exp: Likewise.
3696 * gdb.trace/passc-dyn.exp: Likewise.
3697 * gdb.trace/qtro.exp: Likewise.
3698 * gdb.trace/read-memory.exp: Likewise.
3699 * gdb.trace/report.exp: Likewise.
3700 * gdb.trace/signal.exp: Likewise.
3701 * gdb.trace/status-stop.exp: Likewise.
3702 * gdb.trace/strace.exp: Likewise.
3703 * gdb.trace/tfind.exp: Likewise.
3704 * gdb.trace/trace-break.exp: Likewise.
3705 * gdb.trace/trace-condition.exp: Likewise.
3706 * gdb.trace/trace-mt.exp: Likewise.
3707 * gdb.trace/tstatus.exp: Likewise.
3708 * gdb.trace/tsv.exp: Likewise.
3709 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3710 * gdb.trace/unavailable.exp: Likewise.
3711 * gdb.trace/while-dyn.exp: Likewise.
3712
3713 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3714
3715 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3716 that libinproctrace is copied to the target.
3717
3718 2018-03-14 Tom Tromey <tom@tromey.com>
3719
3720 PR cli/14977:
3721 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3722 a null pointer.
3723 * gdb.base/wchar.exp: Likewise.
3724
3725 2018-03-14 Tom Tromey <tom@tromey.com>
3726
3727 PR cli/19918:
3728 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3729 flag.
3730
3731 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3732
3733 PR gdb/22841
3734 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3735 "target" to remote_exec.
3736
3737 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3738
3739 PR gdb/22841
3740 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3741 ${board}_upload): Remove.
3742
3743 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3744
3745 * gdb.cp/watch-cp.cc: New test.
3746 * gdb.cp/watch-cp.exp: New file.
3747
3748 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3749
3750 * gdb.base/infcall-nested-structs.exp: New file.
3751 * gdb.base/infcall-nested-structs.c: New file.
3752 * gdb.base/float.exp: Add riscv support.
3753
3754 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3755
3756 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3757 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3758
3759 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3760
3761 * gdb.server/abspath.exp: New file.
3762 * lib/gdb.exp (with_cwd): New procedure.
3763
3764 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3765
3766 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3767 use it.
3768 (gdb_is_target_remote_prompt): New proc.
3769 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3770 (gdb_is_target_native): Pass prompt parameter to
3771 gdb_is_target_1.
3772
3773 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3774
3775 * gdb.base/load-command.c: New file.
3776 * gdb.base/load-command.exp: New file.
3777 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3778 (gdb_is_target_1): ...this, and generalize for other targets
3779 than just remote.
3780 (gdb_is_target_remote): Use gdb_is_target_1.
3781 (gdb_is_target_native): use gdb_is_target_1.
3782
3783 2018-02-26 Tom Tromey <tom@tromey.com>
3784
3785 PR python/16497:
3786 * gdb.python/py-framefilter.exp: Update test.
3787
3788 2018-02-26 Tom Tromey <tom@tromey.com>
3789
3790 * gdb.dwarf2/variant.c: New file.
3791 * gdb.dwarf2/variant.exp: New file.
3792
3793 2018-02-26 Tom Tromey <tom@tromey.com>
3794
3795 * gdb.rust/simple.exp: Accept more possible results in enum test.
3796
3797 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3798
3799 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3800 parentheses.
3801
3802 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3803
3804 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3805 name of a variable: $actual_linejj -> $actual_line.
3806
3807 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3808
3809 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3810
3811 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3812
3813 * gdb.btrace/buffer-size.exp: Do not force BTS.
3814
3815 2018-02-14 Pedro Alves <palves@redhat.com>
3816
3817 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3818 getting a "Quit".
3819
3820 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3821
3822 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3823 Fix test name.
3824
3825 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3826
3827 * gdb.cp/m-static.exp: Check type of optimized out static
3828 member.
3829
3830 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3831
3832 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3833 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3834
3835 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3836 Leszek Swirski <leszeks@google.com>
3837
3838 * gdb.python/py-prettyprint.c
3839 (struct to_string_returns_value_inner,
3840 struct to_string_returns_value_wrapper): New.
3841 (main): Add tsrvw variable.
3842 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3843 ToStringReturnsValueWrapper): New classes.
3844 (register_pretty_printers): Register new pretty-printers.
3845 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3846 recursive pretty printer.
3847 * gdb.python/py-mi.exp: Likewise.
3848
3849 2018-02-01 Leszek Swirski <leszeks@google.com>
3850
3851 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3852 functions with the same name as an include file are parsed
3853 correctly.
3854
3855 2018-02-01 Yao Qi <yao.qi@linaro.org>
3856
3857 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3858 "\[^\r\n\]*".
3859
3860 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3861
3862 * gdb.arch/powerpc-prologue-frame.s: New file.
3863 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3864 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3865
3866 2018-01-31 Joel Brobecker <brobecker@adacore.com>
3867
3868 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3869
3870 2018-01-30 Pedro Alves <palves@redhat.com>
3871
3872 PR gdb/13211
3873 * gdb.base/interrupt-daemon.c: New.
3874 * gdb.base/interrupt-daemon.exp: New.
3875 * gdb.multi/multi-term-settings.c: New.
3876 * gdb.multi/multi-term-settings.exp: New.
3877
3878 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3879
3880 * gdb.base/break.exp: Save the location where the breakpoint
3881 on break.c:47 was actually inserted when debugging the version
3882 compiled at -O2 and use it in the expected output of the "info
3883 break" test performed soon after.
3884
3885 2018-01-22 Pedro Alves <palves@redhat.com>
3886 Sergio Durigan Junior <sergiodj@redhat.com>
3887
3888 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3889 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3890
3891 2018-01-22 Joel Brobecker <brobecker@adacore.com>
3892
3893 * gdb.base/break-include.c, gdb.base/break-include.inc,
3894 gdb.base/break-include.exp: New files.
3895 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3896 line number now being the actual line number where the breakpoint
3897 was inserted.
3898 * gdb.mi/mi-break.exp: Likewise.
3899 * gdb.mi/mi-reverse.exp: Likewise.
3900 * gdb.mi/mi-simplerun.exp: Ditto.
3901
3902 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3903
3904 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3905 varobj.
3906 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3907
3908 2018-01-21 Don Breazeal <donb@codesourcery.com>
3909 Andrew Burgess <andrew.burgess@embecosm.com>
3910
3911 * gdb.mi/basics.c: Add new global.
3912 * gdb.mi/mi-frame-regs.exp: New file.
3913 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3914 case.
3915
3916 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3917
3918 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3919 non-parameter, and on an unknown symbol.
3920
3921 2018-01-19 Tom Tromey <tom@tromey.com>
3922
3923 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3924 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3925
3926 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3927
3928 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3929 setrlimit and chdir to int.
3930
3931 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3932
3933 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3934 function.
3935 (my_tend): Likewise.
3936 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3937 rationale of avoiding FP- and vector instructions.
3938
3939 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3940
3941 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3942 "info reg" with "\[ \t\]*".
3943 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3944 "\[ \t\]+".
3945 * gdb.arch/s390-multiarch.exp: Ditto.
3946 * gdb.base/pc-fp.exp: Ditto.
3947 * gdb.reverse/i386-precsave.exp: Ditto.
3948 * gdb.reverse/i386-reverse.exp: Ditto.
3949 * gdb.reverse/i387-env-reverse.exp: Ditto.
3950 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3951
3952 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3953
3954 * lib/gdb.exp (gdb_compile): Re-enable use of
3955 universal_compile_options for languages other than Rust.
3956
3957 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3958
3959 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3960
3961 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3962
3963 PR gdb/16577
3964 * gdb.base/solib-vanish.exp: New.
3965 * gdb.base/solib-vanish-main.c: New.
3966 * gdb.base/solib-vanish-lib1.c: New.
3967 * gdb.base/solib-vanish-lib2.c: New.
3968
3969 2018-01-17 Yao Qi <yao.qi@linaro.org>
3970
3971 * gdb.compile/compile.exp: Match the address printed for
3972 frame in the output of command "bt".
3973
3974 2018-01-15 Tom Tromey <tom@tromey.com>
3975
3976 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3977 compute sp_reg.
3978
3979 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3980
3981 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3982 to prepare.
3983 (prepare): Return 0 on error, 1 on success.
3984
3985 2018-01-12 Pedro Alves <palves@redhat.com>
3986
3987 * gdb.base/continue-after-aborted-step-over.c: New.
3988 * gdb.base/continue-after-aborted-step-over.exp: New.
3989
3990 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3991
3992 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3993 options when not creating an executable.
3994
3995 2018-01-11 Pedro Alves <palves@redhat.com>
3996
3997 PR remote/22597
3998 * gdb.server/stop-reply-no-thread.c: New file.
3999 * gdb.server/stop-reply-no-thread.exp: New file.
4000
4001 2018-01-10 Pedro Alves <palves@redhat.com>
4002
4003 PR gdb/22670
4004 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4005 functions too. Test setting breakpoints and printing C functions
4006 with no debug info too.
4007 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4008
4009 2018-01-10 Pedro Alves <palves@redhat.com>
4010
4011 PR gdb/22670
4012 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4013 a fail.
4014
4015 2018-01-10 Pedro Alves <palves@redhat.com>
4016
4017 PR gdb/22670
4018 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4019
4020 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4021
4022 * gdb.server/unittest.exp: Match the output in non-development
4023 mode.
4024
4025 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4026
4027 * gdb.gdb/unittest.exp: Match output in non-development mode.
4028
4029 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4030
4031 * gdb.ada/access_tagged_param.exp: Relax expected output
4032 for value of "ObjL" in "continue" to pck.inspect breakpoint
4033 test.
4034
4035 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4036
4037 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4038 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4039
4040 2018-01-05 Pedro Alves <palves@redhat.com>
4041
4042 PR gdb/18653
4043 * gdb.base/libsegfault.exp: New.
4044
4045 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4046
4047 PR gdb/22670
4048 * gdb.ada/access_tagged_param.exp: New file.
4049 * gdb.ada/access_tagged_param/foo.adb: New file.
4050
4051 2018-01-05 Pedro Alves <palves@redhat.com>
4052
4053 PR gdb/22670
4054 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4055 exercise lower case too, and to exercise both full matching and
4056 wild matching.
4057
4058 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4059
4060 * gdb.ada/rename_subscript_param: New testcase.
4061
4062 2018-01-05 Jerome Guitton <guitton@adacore.com>
4063
4064 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4065
4066 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4067
4068 * gdb.ada/convvar_comp: New testcase.
4069
4070 2018-01-05 Xavier Roirand <roirand@adacore.com>
4071
4072 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4073 (My_Table): New global variable.
4074 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4075
4076 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4077
4078 PR gdb/22670
4079 * gdb.ada/maint_with_ada: New testcase.
4080
4081 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4082
4083 PR gdb/22670
4084 * gdb.ada/bp_c_mixed_case: New testcase.
4085
4086 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4087
4088 PR gdb/22670
4089 * gdb.ada/complete.exp: Add "complete break ada" test.
4090
4091 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4092
4093 PR gdb/22670
4094 * gdb.ada/info_addr_mixed_case: New testcase.
4095
4096 2018-01-03 Xavier Roirand <roirand@adacore.com>
4097
4098 * gdb.ada/excep_handle.exp: New testcase.
4099 * gdb.ada/excep_handle/foo.adb: New file.
4100 * gdb.ada/excep_handle/pck.ads: New file.
4101
4102 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4103
4104 * gdb.base/step-line.c: Add extra empty line in copyright header.
4105 * gdb.base/step-line.inp: Likewise.
4106
4107 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4108
4109 * gdb.ada/dyn_stride.exp: Add slice test.
4110
4111 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4112
4113 * gdb.ada/dyn_stride: New testcase.
4114
4115 2017-12-27 Stafford Horne <shorne@gmail.com>
4116
4117 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4118 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4119
4120 2017-12-27 Stafford Horne <shorne@gmail.com>
4121
4122 * gdb.base/reggroups.c: New file.
4123 * gdb.base/reggroups.exp: New file.
4124
4125 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4126
4127 * gdb.dwarf2/ada-valprint-error.c: New file.
4128 * gdb.dwarf2/ada-valprint-error.exp: New file.
4129
4130 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4131
4132 * gdb.ada/assign_arr: New testcase.
4133
4134 2017-12-18 Xavier Roirand <roirand@adacore.com>
4135
4136 * gdb.ada/funcall_ptr: New testcase.
4137
4138 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4139
4140 PR cli/16224
4141 * gdb.base/ptype-offsets.cc: New file.
4142 * gdb.base/ptype-offsets.exp: New file.
4143
4144 2017-12-15 Yao Qi <yao.qi@linaro.org>
4145
4146 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4147 if XML is disabled.
4148
4149 2017-12-15 Xavier Roirand <roirand@adacore.com>
4150
4151 * gdb.ada/same_component_name: New testcase.
4152
4153 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4154
4155 * gdb.ada/str_binop_equal: New testcase.
4156
4157 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4158
4159 * gdb.ada/task_switch_in_core: New testcase.
4160
4161 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4162
4163 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4164 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4165 call test_bkpt_qualified.
4166 (test_bkpt_qualified): New proc.
4167
4168 2017-12-13 Pedro Alves <palves@redhat.com>
4169
4170 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4171 Tighten regexp by matching with an anchor.
4172
4173 2017-12-13 Pedro Alves <palves@redhat.com>
4174
4175 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4176 ("expression with namespace"): New set of tests.
4177 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4178 (Nested::Test_NS::qux): New.
4179 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4180 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4181
4182 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4183
4184 * gdb.base/server-del-break.c: New file.
4185 * gdb.base/server-del-break.exp: New file.
4186
4187 2017-12-12 Stafford Horne <shorne@gmail.com>
4188
4189 * gdb.xml/tdesc-regs.exp: Add or1k support.
4190
4191 2017-12-12 Stafford Horne <shorne@gmail.com>
4192
4193 * gdb.base/bp-permanent.c: Define nop of or1k.
4194
4195 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4196
4197 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4198 output with components being reordered.
4199
4200 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4201
4202 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4203 output with components being reordered.
4204
4205 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4206 Pedro Alves <palves@redhat.com>
4207
4208 * gdb.base/maint.exp (check for .gdb_index): Check also for
4209 .debug_names.
4210 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4211 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4212 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4213 (.gdb_index used after symbol reloading): Support also .debug_names.
4214 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4215
4216 2017-12-08 Yao Qi <yao.qi@linaro.org>
4217
4218 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4219 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
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 test for breakpoint.
4225
4226 2017-12-08 Yao Qi <yao.qi@linaro.org>
4227
4228 * gdb.arch/aarch64-tagged-pointer.c: New file.
4229 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4230
4231 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4232
4233 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4234 "int".
4235
4236 2017-12-07 Keith Seitz <keiths@redhat.com>
4237
4238 PR breakpoints/22569
4239 * gdb.linespec/ls-errs.exp: Change expected result of "break
4240 -source this file has spaces.c -line 3".
4241 Check that an explicit source file followed by whitespace is
4242 identified as an invalid explicit location.
4243
4244 2017-12-07 Keith Seitz <keiths@redhat.com>
4245
4246 * gdb.cp/nested-types.cc: New file.
4247 * gdb.cp/nested-types.exp: New file.
4248 * lib/cp-support.exp: Load data-structures.exp library.
4249 (debug_cp_test_ptype_class): New global.
4250 (cp_ptype_class_verbose, next_line): New procedures.
4251 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4252 Add and document new return value.
4253 Switch the list of lines to a queue.
4254 Add support for new `type' key for nested type definitions.
4255 Add debugging/troubleshooting messages.
4256 * lib/data-structures.exp: New file.
4257
4258 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4259
4260 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4261 with proc_with_prefix, don't use with_test_prefix.
4262
4263 2017-12-07 Tom Tromey <tom@tromey.com>
4264
4265 * gdb.base/break.exp: Add test for empty "commands".
4266
4267 2017-12-07 Yao Qi <yao.qi@linaro.org>
4268
4269 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4270 malloc and catch syscall.
4271
4272 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4273
4274 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4275 tests for explicit locations.
4276
4277 2017-12-06 Pedro Alves <palves@redhat.com>
4278
4279 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4280 force-disabling XML descriptions.
4281
4282 2017-12-04 Pedro Alves <palves@redhat.com>
4283
4284 PR gdb/22499
4285 * gdb.arch/amd64-disp-step-avx.S: New file.
4286 * gdb.arch/amd64-disp-step-avx.exp: New file.
4287
4288 2017-12-03 Pedro Alves <palves@redhat.com>
4289
4290 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4291 and <string.h>.
4292 (parent_function): Print distinct messages when waitpid fails, or
4293 the child exits with a signal, or the child exits for an unhandled
4294 reason.
4295 * gdb.threads/process-dies-while-detaching.exp
4296 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4297 it. Wait for both inferior output and GDB's prompt. Use an
4298 indirect spawn id list.
4299 (do_detach): New parameter 'child_exit'. Use it to compute
4300 expected inferior output.
4301 (test_detach, test_detach_watch, test_detach_killed_outside):
4302 Adjust to pass down the expected child exit kind.
4303
4304 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4305 Sergio Durigan Junior <sergiodj@redhat.com>
4306 Pedro Alves <palves@redhat.com>
4307
4308 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4309
4310 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4311
4312 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4313 to 'symbol-file' and 'add-symbol-file' can be
4314 position-independent.
4315
4316 2017-12-01 Yao Qi <yao.qi@linaro.org>
4317
4318 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4319 the URL in copyright header.
4320 * gdb.arch/aarch64-fp.exp: Likewise.
4321 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4322 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4323 * gdb.base/expand-psymtabs.exp: Likewise.
4324 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4325 * gdb.fortran/common-block.exp: Likewise.
4326 * gdb.fortran/common-block.f90: Likewise.
4327 * gdb.fortran/logical.exp: Likewise.
4328 * gdb.fortran/vla-datatypes.f90: Likewise.
4329 * gdb.fortran/vla-sub.f90: Likewise.
4330
4331 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4332
4333 * gdb.ada/repeat_dyn: New testcase.
4334
4335 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4336
4337 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4338 Update for changed thread numbering.
4339 * gdb.cell/bt.exp: Update for changed GDB output.
4340
4341 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4342
4343 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4344 setting isremote by hand.
4345 * boards/dwarf4-gdb-index.exp: Likewise.
4346 * boards/fission.exp: Likewise.
4347 * boards/stabs.exp: Likewise.
4348
4349 2017-11-30 Pedro Alves <palves@redhat.com>
4350
4351 * gdb.linespec/cpls-ops.exp
4352 (check_explicit_skips_function_argument): Extract the underlying
4353 type of size_t instead of hardcoding it.
4354
4355 2017-11-29 Pedro Alves <palves@redhat.com>
4356
4357 PR c++/19436
4358 * gdb.linespec/cpls-abi-tag.cc: New file.
4359 * gdb.linespec/cpls-abi-tag.exp: New file.
4360
4361 2017-11-29 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.base/langs.exp: Use -qualified.
4364 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4365 it.
4366 * gdb.cp/namespace.exp: Use -qualified.
4367 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4368 (overload-3, template-overload, template-ret-type, const-overload)
4369 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4370 procedures.
4371 (test_driver): Call them.
4372 * gdb.cp/save-bp-qualified.cc: New.
4373 * gdb.cp/save-bp-qualified.exp: New.
4374 * gdb.linespec/explicit.exp: Test -qualified.
4375 * lib/completion-support.exp (completion::explicit_opts_list): Add
4376 "-qualified".
4377 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4378
4379 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4380
4381 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4382
4383 2017-11-29 Tom Tromey <tom@tromey.com>
4384
4385 * gdb.base/relocate.exp: Update invalid argument test.
4386 Add new tests for invalid arguments.
4387
4388 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4389
4390 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4391 Return 0 as a long.
4392 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4393
4394 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4395
4396 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4397 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4398 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4399 func ().
4400 * gdb.cp/shadow.cc (B.func): Return 0.
4401
4402 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4403
4404 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4405 expected output in gdb_expect call to allow the exception
4406 message to be present as well. Fix syntax confusion to avoid
4407 TCL thinking that exception_name is an array.
4408
4409 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4410
4411 * gdb.arch/spu-info.c: Include <unistd.h>.
4412 (do_signal_test): Fix broken calls to write.
4413 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4414 Fix checks for empty mailboxes. Update signal tests for corrected
4415 do_signal_test routine. Allow nonzero event status.
4416 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4417 * gdb.cell/arch.exp: Use standard_output_file.
4418 * gdb.cell/break.exp: Likewise.
4419 * gdb.cell/bt.exp: Likewise.
4420 * gdb.cell/core.exp: Likewise.
4421 * gdb.cell/dwarfaddr.exp: Likewise.
4422 * gdb.cell/ea-cache.exp: Likewise.
4423 * gdb.cell/ea-standalone.exp: Likewise.
4424 * gdb.cell/f-regs.exp: Likewise.
4425 * gdb.cell/fork.exp: Likewise.
4426 * gdb.cell/gcore.exp: Likewise.
4427 * gdb.cell/mem-access.exp: Likewise.
4428 * gdb.cell/ptype.exp: Likewise.
4429 * gdb.cell/registers.exp: Likewise.
4430 * gdb.cell/sizeof.exp: Likewise.
4431 * gdb.cell/solib-symbol.exp: Likewise.
4432 * gdb.cell/solib.exp: Likewise.
4433
4434 2017-11-25 Pedro Alves <palves@redhat.com>
4435
4436 * gdb.base/complete-empty.exp: New file.
4437 * gdb.base/completion.exp: Adjust.
4438
4439 2017-11-25 Pedro Alves <palves@redhat.com>
4440
4441 * gdb.linespec/cpls-ops.cc: New file.
4442 * gdb.linespec/cpls-ops.exp: New file.
4443 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4444 factored out from ...
4445 (test_complete_prefix_range): ... this.
4446
4447 2017-11-24 Pedro Alves <palves@redhat.com>
4448
4449 * gdb.linespec/cpcompletion.exp: New file.
4450 * gdb.linespec/cpls-hyphen.cc: New file.
4451 * gdb.linespec/cpls.cc: New file.
4452 * gdb.linespec/cpls2.cc: New file.
4453 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4454 test to use test_gdb_complete_unique. Add label completion,
4455 keyword completion and explicit location completion tests.
4456 * lib/completion-support.exp: New file.
4457
4458 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4459
4460 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4461 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4462 when hitting an exception catchpoint.
4463
4464 2017-11-22 Yao Qi <yao.qi@linaro.org>
4465
4466 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4467
4468 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4469
4470 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4471 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4472 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4473
4474 2017-11-22 Yao Qi <yao.qi@linaro.org>
4475
4476 * gdb.base/info-os.exp: Pass pthreads.
4477 * gdb.multi/multi-attach.exp: Likewise.
4478
4479 2017-11-22 Yao Qi <yao.qi@linaro.org>
4480
4481 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4482 compiler.
4483
4484 2017-11-22 Yao Qi <yao.qi@linaro.org>
4485
4486 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4487 * gdb.base/break-interp.exp: Likewise.
4488 * gdb.base/jit-attach-pie.exp: Likewise.
4489
4490 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4491
4492 * gdb.base/float128.c (large128): New variable.
4493 * gdb.base/float128.exp: Add test to print largest __float128 value.
4494
4495 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4496
4497 * gdb.arch/vsx-regs.exp: Update register content checks.
4498
4499 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4500
4501 * gdb.arch/ppc-longdouble.exp: New file.
4502 * gdb.arch/ppc-longdouble.c: Likewise.
4503
4504 2017-11-21 Pedro Alves <palves@redhat.com>
4505
4506 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4507
4508 2017-11-20 Pedro Alves <palves@redhat.com>
4509
4510 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4511 (long_double_typedef): New typedefs.
4512 Use DEF on double and long double.
4513 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4514 cases.
4515 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4516 and 'long_double_ptr_same_size' locals. Use them to decide
4517 whether cast from array/function to float is valid/invalid.
4518
4519 2017-11-17 Tom Tromey <tom@tromey.com>
4520
4521 * gdb.rust/traits.rs: New file.
4522 * gdb.rust/traits.exp: New file.
4523
4524 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4525
4526 * gdb.ada/minsyms: New testcase.
4527
4528 2017-11-16 Pedro Alves <palves@redhat.com>
4529
4530 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4531 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4532
4533 2017-11-16 Pedro Alves <palves@redhat.com>
4534
4535 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4536 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4537
4538 2017-11-16 Pedro Alves <palves@redhat.com>
4539
4540 * gdb.server/reconnect-ctrl-c.c: New file.
4541 * gdb.server/reconnect-ctrl-c.exp: New file.
4542
4543 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4544
4545 * gdb.python/py-rbreak.exp: New file.
4546 * gdb.python/py-rbreak.c: New file.
4547 * gdb.python/py-rbreak-func2.c: New file.
4548
4549 2017-11-16 Pedro Alves <palves@redhat.com>
4550
4551 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4552 pattern.
4553 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4554 GDB.
4555
4556 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4557
4558 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4559 regex.
4560
4561 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4562
4563 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4564 test names.
4565
4566 2017-11-09 Pedro Alves <palves@redhat.com>
4567
4568 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4569 factored out from ...
4570 (top level): ... here, and adjusted to avoid expecting beyond the
4571 prompt in a single gdb_test_multiple.
4572
4573 2017-11-09 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4576 output.
4577 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4578 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4579 * gdb.server/ext-run.exp ("kill" test): Likewise.
4580 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4581
4582 2017-11-09 Pedro Alves <palves@redhat.com>
4583
4584 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4585 match till end of line.
4586
4587 2017-11-09 Pedro Alves <palves@redhat.com>
4588
4589 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4590
4591 2017-11-09 Pedro Alves <palves@redhat.com>
4592
4593 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4594 New procedures, factored out from ...
4595 (top level): ... here, and adjusted to avoid expecting beyond the
4596 prompt in one go.
4597
4598 2017-11-09 Pedro Alves <palves@redhat.com>
4599
4600 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4601 output. Fix '?' match.
4602
4603 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4604
4605 * gdb.ada/scoped_watch: New testcase.
4606 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4607 which is actually correct.
4608 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4609 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4610
4611 2017-11-08 Pedro Alves <palves@redhat.com>
4612
4613 * gdb.gdb/complaints.exp (test_initial_complaints)
4614 (test_serial_complaints, test_short_complaints): Call
4615 complaint_internal instead of complaint.
4616
4617 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4618
4619 * gdb.threads/tls-core.c: New file.
4620 * gdb.threads/tls-core.exp: Likewise.
4621
4622 2017-11-08 Pedro Alves <palves@redhat.com>
4623
4624 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4625 (p Exported_Capitalized): New test.
4626 (p exported_capitalized): New test.
4627
4628 2017-11-07 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4631
4632 2017-11-07 Pedro Alves <palves@redhat.com>
4633
4634 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4635 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4636 (disable_invalid, disable_inverted, disable_negative): New
4637 procedures.
4638 ("bad numbers"): New set of tests.
4639
4640 2017-11-07 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.cp/ena-dis-br-range.exp: Add tests.
4643
4644 2017-11-07 Pedro Alves <palves@redhat.com>
4645
4646 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4647
4648 2017-11-07 Xavier Roirand <roirand@adacore.com>
4649 Pedro Alves <palves@redhat.com>
4650
4651 * gdb.base/ena-dis-br.exp: Add reference to
4652 gdb.cp/ena-dis-br-range.exp.
4653 * gdb.cp/ena-dis-br-range.exp: New file.
4654 * gdb.cp/ena-dis-br-range.cc: New file.
4655
4656 2017-11-06 Pedro Alves <palves@redhat.com>
4657
4658 * gdb.base/attach-non-pgrp-leader.c: New.
4659 * gdb.base/attach-non-pgrp-leader.exp: New.
4660
4661 2017-11-06 Pedro Alves <palves@redhat.com>
4662
4663 * configure.ac: No longer check for termio.h and sgtty.h.
4664 * configure: Regenerate.
4665 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4666 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4667 Remove termio and sgtty code.
4668
4669 2017-11-03 Yao Qi <yao.qi@linaro.org>
4670
4671 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4672 in GDB is disabled.
4673
4674 2017-11-03 Yao Qi <yao.qi@linaro.org>
4675
4676 * gdb.python/py-thrhandle.exp: Skip it if python is not
4677 enabled.
4678
4679 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4680
4681 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4682 as a breakpoint command.
4683
4684 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4685
4686 PR python/21213
4687 * gdb.python/py-infthread.exp: Test calling
4688 InferiorThread.inferior () multiple times in a row.
4689
4690 2017-10-27 Keith Seitz <keiths@redhat.com>
4691
4692 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4693 Test "info break" for every inlined function breakpoint.
4694
4695 2017-10-27 Yao Qi <yao.qi@linaro.org>
4696
4697 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4698
4699 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4700
4701 * gdb.cp/classes.exp (test_static_members): Test printing
4702 Outer::instance.
4703 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4704 (Inner::instance, Outer::instance): New.
4705
4706 2017-10-24 Pedro Alves <palves@redhat.com>
4707
4708 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4709 extra console" test in two stages.
4710
4711 2017-10-24 Pedro Alves <palves@redhat.com>
4712
4713 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4714
4715 2017-10-24 Pedro Alves <palves@redhat.com>
4716
4717 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4718 loop.
4719
4720 2017-10-24 Pedro Alves <palves@redhat.com>
4721
4722 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4723 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4724
4725 2017-10-24 Pedro Alves <palves@redhat.com>
4726
4727 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4728 parameter and handle it. Don't output read value in test name.
4729
4730 2017-10-24 Pedro Alves <palves@redhat.com>
4731
4732 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4733 custom test name.
4734
4735 2017-10-24 Pedro Alves <palves@redhat.com>
4736
4737 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4738 include the unstable output directory name in the test's name.
4739 (initial_setup_simple) <'set args'>: Use custom test name.
4740
4741 2017-10-24 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4744 with explicit test name.
4745
4746 2017-10-20 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4749 'wait -i'. Use gdb_assert and remote_close.
4750
4751 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4752
4753 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4754 number from variable rather than hard-coded.
4755
4756 2017-10-19 Pedro Alves <palves@redhat.com>
4757
4758 * gdb.base/long-inferior-output.c: New file.
4759 * gdb.base/long-inferior-output.exp: New file.
4760
4761 2017-11-18 Keith Seitz <keiths@redhat.com>
4762
4763 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4764 method.
4765 (main): Call it.
4766 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4767 Add additional user-defined conversion operator tests.
4768
4769 2017-10-17 Pedro Alves <palves@redhat.com>
4770
4771 * boards/native-stdio-gdbserver.exp: Load "local-board".
4772
4773 2017-10-17 Pedro Alves <palves@redhat.com>
4774
4775 * gdb.base/quit-live.c: New file.
4776 * gdb.base/quit-live.exp: New file.
4777
4778 2017-10-16 Keith Seitz <keiths@redhat.com>
4779
4780 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4781 (class_with_protected_typedef, class_with_private_typedef)
4782 (struct_with_public_typedef, struct_with_protected_typedef)
4783 (struct_with_private_typedef): New classes/structs.
4784 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4785 typedefs and access specifiers.
4786
4787 2017-10-16 Pedro Alves <palves@redhat.com>
4788 Simon Marchi <simon.marchi@polymtl.ca>
4789
4790 * README (Local vs Remote vs Native): New section.
4791 * boards/local-board.exp: New file, with bits factored out from
4792 ...
4793 * boards/native-extended-gdbserver.exp: ... here. Load
4794 "local-board".
4795 * boards/native-gdbserver.exp: Load "local-board".
4796 (${board}_spawn, ${board}_exec): Delete.
4797 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4798 ...
4799 * boards/stdio-gdbserver-base.exp: ... this new file.
4800 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4801 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4802 procedure.
4803 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4804 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4805 stdio_gdbserver_command.
4806 (${board}_get_remote_address, ${board}_get_comm_port)
4807 (${board}_download, ${board}_upload): Delete.
4808 (get_target_remote_pipe_cmd): New.
4809
4810 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4811
4812 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4813 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4814 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4815 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4816 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4817 remove with_test_prefix.
4818
4819 2017-10-13 Pedro Alves <palves@redhat.com>
4820
4821 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4822 * gdb.base/annota1.exp: Use it instead of is_remote.
4823 * gdb.base/annota3.exp: Use it instead of is_remote.
4824 * gdb.cp/annota2.exp: Use it instead of is_remote.
4825 * gdb.cp/annota3.exp: Use it instead of is_remote.
4826 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4827
4828 2017-10-13 Pedro Alves <palves@redhat.com>
4829
4830 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4831 (test_num_test_vars, run_and_count_vars, find_env)
4832 (test_set_unset_env, test_inherit_env_var): New procedures.
4833 (top level): Use them.
4834
4835 2017-10-13 Pedro Alves <palves@redhat.com>
4836
4837 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4838 also skip on stub-like targets.
4839
4840 2017-10-13 Pedro Alves <palves@redhat.com>
4841
4842 PR gdb/22293
4843 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4844 (top level): Move some tests to ...
4845 (test_not_found): ... this new procedure.
4846 (top level): Call it.
4847
4848 2017-10-13 Pedro Alves <palves@redhat.com>
4849
4850 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4851 expect different "info terminal" output if testing with a
4852 non-native target.
4853
4854 2017-10-13 Pedro Alves <palves@redhat.com>
4855 Simon Marchi <simon.marchi@polymtl.ca>
4856
4857 PR python/12966
4858 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4859
4860 2017-10-13 Pedro Alves <palves@redhat.com>
4861
4862 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4863 already.
4864
4865 2017-10-13 Pedro Alves <palves@redhat.com>
4866
4867 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4868 is_remote.
4869
4870 2017-10-13 Pedro Alves <palves@redhat.com>
4871
4872 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4873 is_remote.
4874
4875 2017-10-13 Pedro Alves <palves@redhat.com>
4876
4877 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4878 is set.
4879 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4880 instead of is_remote.
4881
4882 2017-10-13 Pedro Alves <palves@redhat.com>
4883
4884 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4885 (top level): Add comment.
4886
4887 2017-10-13 Pedro Alves <palves@redhat.com>
4888
4889 * gdb.base/remote.exp (top level): Fix comment typo and add
4890 missing return.
4891
4892 2017-10-13 Pedro Alves <palves@redhat.com>
4893 Simon Marchi <simon.marchi@polymtl.ca>
4894
4895 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4896 calls and add comments. Skip test if use_gdb_stub is set.
4897 (top level): Use "set cwd" command instead of "cd" command.
4898
4899 2017-10-13 Pedro Alves <palves@redhat.com>
4900
4901 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4902 is_remote target check.
4903
4904 2017-10-13 Pedro Alves <palves@redhat.com>
4905
4906 * gdb.base/scope.exp: Use build_executable + clean_restart +
4907 gdb_file_cmd instead of prepare_for_testing and no longer skip
4908 "before run" tests on is_remote target boards. Update comments.
4909 * boards/native-extended-gdbserver.exp
4910 (extended_gdbserver_load_last_file): New, factored out from ...
4911 (gdb_load): ... this. Move further below and add comment.
4912 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4913
4914 2017-10-12 Pedro Alves <palves@redhat.com>
4915
4916 * gdb.base/attach.exp: Remove references to gdb64.
4917 * gdb.base/dbx.exp: Remove references to gdb64.
4918
4919 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4920 Pedro Alves <palves@redhat.com>
4921
4922 * gdb.base/label.exp: Remove is_remote target check.
4923
4924 2017-10-12 Pedro Alves <palves@redhat.com>
4925
4926 * gdb.base/auvx.exp (coredir): Update comment.
4927 (top level) <core_works>: Use "set cwd" command instead of "cd"
4928 command.
4929
4930 2017-10-12 Pedro Alves <palves@redhat.com>
4931 Simon Marchi <simon.marchi@polymtl.ca>
4932
4933 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4934 target boards.
4935
4936 2017-10-12 Pedro Alves <palves@redhat.com>
4937 Simon Marchi <simon.marchi@polymtl.ca>
4938
4939 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4940 Instead skip if there's any gdb_protocol set.
4941
4942 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4943 Pedro Alves <palves@redhat.com>
4944
4945 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4946
4947 2017-10-12 Pedro Alves <palves@redhat.com>
4948 Simon Marchi <simon.marchi@polymtl.ca>
4949
4950 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4951 instead of on dejagnu remote boards.
4952
4953 2017-10-12 Pedro Alves <palves@redhat.com>
4954 Simon Marchi <simon.marchi@polymtl.ca>
4955
4956 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4957 checks. Use build_executable + clean_restart instead of
4958 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4959 of enabling non-stop after starting gdb.
4960
4961 2017-10-12 Pedro Alves <palves@redhat.com>
4962
4963 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4964 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4965 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4966 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4967
4968 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4969
4970 * gdb.arch/arc-tdesc-cpu.exp: New file.
4971 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4972
4973 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4974
4975 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4976
4977 2017-10-10 Pedro Alves <palves@redhat.com>
4978
4979 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4980 expect CLI output.
4981
4982 2017-10-10 Pedro Alves <palves@redhat.com>
4983
4984 * lib/selftest-support.exp (selftest_setup): Update for
4985 captured_command_loop's prototype change.
4986
4987 2017-10-09 Pedro Alves <palves@redhat.com>
4988
4989 Test both arch1=>arch2 and arch2=>arch1.
4990
4991 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4992 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4993 factored out to...
4994 (append_arch1_options, append_arch2_options, append_arch_options)
4995 (build_executables): New procedures.
4996 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4997 local.
4998 (top level): Add new 'first_arch' testing axis.
4999
5000 2017-10-09 Pedro Alves <palves@redhat.com>
5001
5002 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5003 (barrier): New.
5004 (thread_start, all_started): New functions.
5005 (main): Spawn new thread and wait until it is scheduled.
5006 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5007 option.
5008 (do_test): Add 'selected_thread' parameter. Run to all_started
5009 instead of main. Explicitly set the breakpoint at main. Switch
5010 to the SELECTED_THREAD thread.
5011 (top level): Test handling the exec event with either the main
5012 thread or the second thread selected.
5013
5014 2017-10-09 Pedro Alves <palves@redhat.com>
5015
5016 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5017 logic. Move STOP marker after the value checks.
5018 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5019 regexp.
5020
5021 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5022
5023 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5024
5025 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5026
5027 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5028 integer-to-dfp conversion.
5029 * gdb.base/dfp-test.exp: Likewise.
5030
5031 2017-10-04 Pedro Alves <palves@redhat.com>
5032
5033 * gdb.multi/hangout.c: Include <unistd.h>.
5034 (hangout_loop): New function.
5035 (main): Call alarm. Call hangout_loop in a loop.
5036 * gdb.multi/hello.c: Include <unistd.h>.
5037 (hello_loop): New function.
5038 (main): Call alarm. Call hangout_loop in a loop.
5039 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5040 inferior with the other selected.
5041
5042 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5043
5044 * gdb.mi/list-thread-groups-available.exp: New file.
5045 * gdb.mi/list-thread-groups-available.c: New file.
5046
5047 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5048
5049 * gdb.base/set-cwd.exp: Make it available on
5050 native-extended-gdbserver.
5051
5052 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5053
5054 * gdb.base/set-cwd.c: New file.
5055 * gdb.base/set-cwd.exp: Likewise.
5056
5057 2017-10-02 Tom Tromey <tom@tromey.com>
5058
5059 PR rust/22236:
5060 * gdb.rust/simple.rs (main): New variable "fslice".
5061 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5062
5063 2017-10-02 Tom Tromey <tom@tromey.com>
5064
5065 * gdb.rust/simple.exp: Test ptype of a slice.
5066
5067 2017-10-02 Tom Tromey <tom@tromey.com>
5068
5069 * gdb.rust/simple.exp: Test index of slice.
5070
5071 2017-09-27 Tom Tromey <tom@tromey.com>
5072
5073 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5074
5075 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5076 Pedro Alves <palves@redhat.com>
5077
5078 * gdb.base/compare-sections.exp (get value of read-only section): Read
5079 as unsigned value.
5080 (corrupt read-only section): Likewise and don't set written if patching
5081 failed.
5082
5083 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5084
5085 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5086 files.
5087
5088 2017-09-20 Pedro Alves <palves@redhat.com>
5089
5090 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5091 symbol names in gdb's output.
5092 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5093
5094 2017-09-20 Pedro Alves <palves@redhat.com>
5095
5096 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5097 Rename to ...
5098 (test_list_ambiguous_symbol): ... this and add a symbol name
5099 parameter. Adjust.
5100 (test_list_ambiguous_function): Reimplement on top of
5101 test_list_ambiguous_symbol and also test listing ambiguous
5102 variables.
5103 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5104 (ambiguous_fun): ... this.
5105 (ambiguous_var): New.
5106 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5107 (ambiguous_fun): ... this.
5108 (ambiguous_var): New.
5109
5110 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5111
5112 * gdb.base/starti.c: New file.
5113 * gdb.base/starti.exp: New file.
5114 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5115
5116 2017-09-14 Pedro Alves <palves@redhat.com>
5117
5118 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5119 (top level): Use it instead of runto.
5120
5121 2017-09-11 Tom Tromey <tom@tromey.com>
5122
5123 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5124
5125 2017-09-11 Tom Tromey <tom@tromey.com>
5126
5127 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5128 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5129
5130 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5131
5132 * gdb.fortran/printing-types.exp: New file.
5133 * gdb.fortran/printing-types.exp: New file.
5134
5135 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5136
5137 * gdb.fortran/vla-ptype.exp: Fix typos.
5138 * gdb.fortran/vla-value.exp: Same.
5139
5140 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5141
5142 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5143 * gdb.mi/mi-var-child-f.exp: Likewise.
5144 * gdb.mi/mi-vla-fortran.exp: Likewise.
5145
5146 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5147 Christoph Weinmann <christoph.t.weinmann@intel.com>
5148 Bernhard Heckel <bernhard.heckel@intel.com>
5149
5150 * gdb.fortran/ptr-indentation.f90: New file.
5151 * gdb.fortran/ptr-indentation.exp: New file.
5152
5153 2017-09-05 Tom Tromey <tom@tromey.com>
5154
5155 PR gdb/22010:
5156 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5157
5158 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5159
5160 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5161
5162 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5163
5164 * gdb.threads/tls-nodebug-pie.c: New file.
5165 * gdb.threads/tls-nodebug-pie.exp: New file.
5166
5167 2017-09-05 Tom Tromey <tom@tromey.com>
5168
5169 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5170 for rust.
5171
5172 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5173
5174 * gdb.multi/multi-arch-exec.exp: Test with different
5175 "follow-exec-mode" settings.
5176 (do_test): New procedure.
5177
5178 2017-09-04 Pedro Alves <palves@redhat.com>
5179
5180 * gdb.base/func-static.c (S::method const, S::method volatile)
5181 (S::method volatile const): New methods.
5182 (c_s, v_s, cv_s): New instances.
5183 (main): Call method() on them.
5184 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5185 (cannot_resolve): New procedure.
5186 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5187 print-quote-unquoted columns.
5188 (do_test): Test printing each scope too.
5189
5190 2017-09-04 Pedro Alves <palves@redhat.com>
5191
5192 * gdb.base/local-static.exp: Also test with
5193 class::method::variable wholly quoted.
5194 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5195
5196 2017-09-04 Pedro Alves <palves@redhat.com>
5197
5198 * gdb.base/local-static.c: New.
5199 * gdb.base/local-static.cc: New.
5200 * gdb.base/local-static.exp: New.
5201
5202 2017-09-04 Pedro Alves <palves@redhat.com>
5203
5204 * gdb.asm/asm-source.exp: Add casts to int.
5205 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5206 (dataglobal64_1, dataglobal64_2): New globals.
5207 * gdb.base/nodebug.exp: Test different expressions involving the
5208 new globals, with print, whatis and ptype. Add casts to int.
5209 * gdb.base/solib-display.exp: Add casts to int.
5210 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5211 * gdb.cp/m-static.exp: Add cast to int.
5212 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5213 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5214 tls variable with no debug info without a cast. Test with a cast
5215 to int too.
5216 * gdb.trace/entry-values.exp: Add casts.
5217
5218 2017-09-04 Pedro Alves <palves@redhat.com>
5219
5220 * gdb.base/nodebug.exp: Test that ptype's error about functions
5221 with unknown return type includes the function name too.
5222
5223 2017-09-04 Pedro Alves <palves@redhat.com>
5224
5225 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5226 return type of munmap in infcall.
5227 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5228 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5229 type of ftell in infcall.
5230 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5231 type of getpid in infcall.
5232 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5233 infcall.
5234 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5235 Bail on failure to extract the pid.
5236 * gdb.base/nodebug.c: #include <stdint.h>.
5237 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5238 New functions.
5239 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5240 Change expected output of print/whatis/ptype with functions with
5241 no debug info. Test all supported languages. Call
5242 test_call_promotion.
5243 * gdb.compile/compile.exp: Adjust expected output to expect
5244 warning.
5245 * gdb.threads/siginfo-threads.exp: Likewise.
5246
5247 2017-09-04 Pedro Alves <palves@redhat.com>
5248
5249 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5250 "prototypes". Test calling float functions via prototyped and
5251 unprototyped function pointers.
5252 (perform_all_tests): New parameter "prototypes". Pass it down.
5253 (top level): Pass down "prototypes" parameter to
5254 perform_all_tests.
5255
5256 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5257
5258 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5259 Test with nested loops.
5260
5261 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5262
5263 * gdb.base/commands.exp: Call the new procedures.
5264 (loop_break_test, loop_continue_test): New procedures.
5265
5266 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5267
5268 * gdb.base/commands.exp: Call new procedure.
5269 (define_if_without_arg_test): New procedure.
5270
5271 2017-09-04 Pedro Alves <palves@redhat.com>
5272
5273 * gdb.base/list-ambiguous.exp: New file.
5274 * gdb.base/list-ambiguous0.c: New file.
5275 * gdb.base/list-ambiguous1.c: New file.
5276 * gdb.base/list.exp (test_list_range): Adjust expected output.
5277
5278 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5279
5280 * gdb.base/share-env-with-gdbserver.c: New file.
5281 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5282
5283 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5284
5285 * gdb.base/commands.exp (gdbvar_simple_if_test,
5286 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5287 progvar_simple_if_test, progvar_simple_while_test,
5288 progvar_complex_if_while_test, user_defined_command_test,
5289 user_defined_command_args_eval,
5290 user_defined_command_args_stack_test,
5291 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5292 temporary_breakpoint_commands,
5293 gdb_test_no_prompt, redefine_hook_test,
5294 redefine_backtrace_test): Remove "global gdb_prompt".
5295
5296 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5297
5298 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5299 New proc, call it from toplevel.
5300
5301 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5302
5303 PR remote/21852
5304 * gdb.server/normal.c: New file, copied from gdb.base.
5305 * gdb.server/run-without-local-binary.exp: New file.
5306
5307 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5308
5309 * gdb.arch/sparc64-adi.exp: New file.
5310 * gdb.arch/sparc64-adi.c: New file.
5311
5312 2017-08-22 Pedro Alves <palves@redhat.com>
5313
5314 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5315 (top level): Add "list all overloads" tests.
5316
5317 2017-08-22 Tom Tromey <tom@tromey.com>
5318
5319 * gdb.gdb/xfullpath.exp: Remove.
5320
5321 2017-08-21 Pedro Alves <palves@redhat.com>
5322
5323 PR gdb/19487
5324 * gdb.base/symbol-alias.c: New.
5325 * gdb.base/symbol-alias2.c: New.
5326 * gdb.base/symbol-alias.exp: New.
5327
5328 2017-08-21 Pedro Alves <palves@redhat.com>
5329
5330 * gdb.base/dfp-test.c
5331 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5332 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5333 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5334 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5335 * gdb.base/whatis-ptype-typedefs.c: New.
5336 * gdb.base/whatis-ptype-typedefs.exp: New.
5337 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5338 (an_int, an_int_type, an_int_type2): New globals.
5339 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5340 involving typedefs and cast expressions.
5341 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5342 (lookup_typedefs_function): New.
5343 (typedefs_pretty_printers_dict): New.
5344 (top level): Register lookup_typedefs_function in
5345 gdb.pretty_printers.
5346
5347 2017-08-18 Yao Qi <yao.qi@linaro.org>
5348
5349 * gdb.server/unittest.exp: New.
5350
5351 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5352
5353 PR gdb/21954
5354 * gdb.base/environ.exp: Add test to check if 'unset environment'
5355 works.
5356
5357 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5358
5359 * lib/gdb.exp (universal_compile_options): New caching proc.
5360 (gdb_compile): Suppress GCC's coloring of messages.
5361
5362 2017-08-14 Tom Tromey <tom@tromey.com>
5363
5364 PR gdb/21675:
5365 * gdb.base/printcmds.exp (test_radices): New function.
5366 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5367 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5368 * lib/gdb.exp (get_integer_valueof): Use p/d.
5369
5370 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5371
5372 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5373 characters.
5374
5375 2017-08-05 Tom Tromey <tom@tromey.com>
5376
5377 * gdb.rust/simple.exp: Allow String to appear in a different
5378 namespace.
5379
5380 2017-07-26 Yao Qi <yao.qi@linaro.org>
5381
5382 * gdb.gdb/unittest.exp: Invoke command
5383 "maintenance check xml-descriptions".
5384
5385 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5386
5387 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5388 calling context.
5389 (hex128): Drop erroneous calculation of parameters.
5390
5391 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5392
5393 * gdb.python/py-unwind.exp: Disable stack protection when
5394 building test file.
5395
5396 2017-07-20 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.base/default.exp (set language): Adjust expected output.
5399
5400 2017-07-20 Pedro Alves <palves@redhat.com>
5401
5402 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5403 (test_minsym): ... this, and make static.
5404 (get_pck__foo__bar__minsym): Rename to ...
5405 (get_test_minsym): ... this.
5406 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5407 symbol names and comments.
5408 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5409 (get_test_minsym): ... this.
5410 (pck__foo__bar__minsym__2): Rename to ...
5411 (test_minsym): ... this.
5412 (main): Adjust.
5413
5414 2017-07-17 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.base/completion.exp: Adjust expected output.
5417 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5418 the completer works.
5419
5420 2017-07-17 Pedro Alves <palves@redhat.com>
5421
5422 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5423
5424 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5425
5426 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5427
5428 2017-07-14 Tom Tromey <tom@tromey.com>
5429
5430 PR rust/21764:
5431 * gdb.rust/simple.exp: Add tests.
5432
5433 2017-07-14 Tom Tromey <tom@tromey.com>
5434
5435 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5436
5437 2017-07-14 Pedro Alves <palves@redhat.com>
5438
5439 * gdb.linespec/base/one/thefile.cc (z1): New function.
5440 * gdb.linespec/base/two/thefile.cc (z2): New function.
5441 * gdb.linespec/linespec.exp: Add tests.
5442
5443 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5444
5445 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5446 to mi_create_breakpoint.
5447
5448 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5449
5450 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5451 mi_create_breakpoint.
5452
5453 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5454
5455 * gdb.dlang/demangle.exp: Update for demangling changes.
5456
5457 2017-07-09 Tom Tromey <tom@tromey.com>
5458
5459 * gdb.dwarf2/shortpiece.exp: New file.
5460
5461 2017-07-06 David Blaikie <dblaikie@gmail.com>
5462
5463 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5464 built from fissiont-multi-cu{1,2}.c.
5465 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5466 except putting 'main' and 'func' in separate CUs in the same DWO file.
5467 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5468 test.
5469 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5470 test.
5471
5472 2017-07-06 Pedro Alves <palves@redhat.com>
5473
5474 * gdb.python/py-unwind.exp: Test flushregs.
5475
5476 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5477
5478 PR cli/21688
5479 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5480 tests for alias commands and trailing whitespace.
5481
5482 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5483
5484 PR cli/21688
5485 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5486 procedure. Call it.
5487
5488 2017-06-29 Pedro Alves <palves@redhat.com>
5489
5490 * gdb.base/printcmds.exp: Add tests.
5491
5492 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5493
5494 PR gdb/21337
5495 * gdb.base/reread-readsym.exp: New file.
5496 * gdb.base/reread-readsym.c: New file.
5497
5498 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5499
5500 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5501 subpattern.
5502
5503 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5504
5505 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5506 extended mnemonic.
5507 * gdb.arch/powerpc-power9.s: Likewise.
5508
5509 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5510
5511 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5512 on 32-bit x86 targets. Exploit is_*_target macros where
5513 appropriate.
5514
5515 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5516
5517 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5518 register pieces.
5519
5520 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5521
5522 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5523 located in one or more DWARF pieces.
5524
5525 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5526
5527 * lib/gdb.exp (get_endianness): New proc.
5528 * gdb.arch/aarch64-fp.exp: Use it.
5529 * gdb.arch/altivec-regs.exp: Likewise.
5530 * gdb.arch/e500-regs.exp: Likewise.
5531 * gdb.arch/vsx-regs.exp: Likewise.
5532 * gdb.base/dump.exp: Likewise.
5533 * gdb.base/funcargs.exp: Likewise.
5534 * gdb.base/gnu_vector.exp: Likewise.
5535 * gdb.dwarf2/formdata16.exp: Likewise.
5536 * gdb.dwarf2/implptrpiece.exp: Likewise.
5537 * gdb.dwarf2/nonvar-access.exp: Likewise.
5538 * gdb.python/py-inferior.exp: Likewise.
5539 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5540
5541 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5542
5543 PR gdb/21226
5544 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5545 stack value pieces are taken from the LSB end.
5546
5547 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5548
5549 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5550 variable at nonzero offset.
5551
5552 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5553
5554 * gdb.dwarf2/var-access.c: New file.
5555 * gdb.dwarf2/var-access.exp: New test.
5556 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5557
5558 2017-06-12 Tom Tromey <tom@tromey.com>
5559
5560 * gdb.dwarf2/formdata16.exp: Add tests.
5561
5562 2017-06-12 Tom Tromey <tom@tromey.com>
5563
5564 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5565
5566 2017-06-12 Tom Tromey <tom@tromey.com>
5567
5568 PR exp/16225:
5569 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5570 * gdb.arch/vsx-regs.exp: Update tests.
5571 * gdb.arch/s390-vregs.exp (hex128): New proc.
5572 Update test.
5573 * gdb.arch/altivec-regs.exp: Update tests.
5574
5575 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5576
5577 * gdb.base/startup-with-shell.c: New file.
5578 * gdb.base/startup-with-shell.exp: Likewise.
5579
5580 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5581
5582 * gdb.server/non-existing-program.exp: Update regex in order to
5583 reflect the fact that gdbserver is now using fork_inferior (with a
5584 shell) to startup the inferior.
5585
5586 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5587
5588 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5589 support function calls from GDB.
5590
5591 2017-05-21 Tom Tromey <tom@tromey.com>
5592
5593 PR rust/21466:
5594 * gdb.rust/unsized.exp: New file.
5595 * gdb.rust/unsized.rs: New file.
5596
5597 2017-05-19 Tom Tromey <tom@tromey.com>
5598
5599 PR rust/21484:
5600 * gdb.rust/watch.exp: New file.
5601 * gdb.rust/watch.rs: New file.
5602
5603 2017-05-18 Tom Tromey <tom@tromey.com>
5604
5605 * gdb.rust/simple.exp: Allow Box to be qualified.
5606
5607 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5608
5609 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5610
5611 2017-05-18 Pedro Alves <palves@redhat.com>
5612
5613 * gdb.base/fileio.c (test_write, test_read, test_close)
5614 (test_fstat): Don't print 'ret' in the fail path.
5615
5616 2017-05-18 Pedro Alves <palves@redhat.com>
5617
5618 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5619 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5620 (test_system, test_rename, test_unlink, test_time): Change
5621 prototypes.
5622 * gdb.base/fileio.exp (stop_msg): Adjust.
5623
5624 2017-05-18 Pedro Alves <palves@redhat.com>
5625
5626 * gdb.base/fileio.c (null_str): New global.
5627 (test_stat): Use it.
5628 * gdb.base/fileio.exp: Remove nowarnings.
5629
5630 2017-05-17 Yao Qi <yao.qi@linaro.org>
5631
5632 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5633
5634 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5635
5636 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5637 argument command.
5638 (top-level): Invoke test_set_inferior_tty.
5639
5640 2017-05-04 Pedro Alves <palves@redhat.com>
5641
5642 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5643 Add parens to print call for Python 3.
5644
5645 2017-05-03 Keith Seitz <keiths@redhat.com>
5646
5647 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5648 (main): Call it.
5649
5650 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5651
5652 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5653 to prev and next.
5654
5655 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5656
5657 * gdb.python/py-record-btrace.exp: Remove test for
5658 gdb.BtraceInstruction.error.
5659
5660 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5661
5662 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5663
5664 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5665
5666 * gdb.python/py-record-btrace-threads.c: New file.
5667 * gdb.python/py-record-btrace-threads.exp: New file.
5668
5669 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5670
5671 PR testsuite/8595
5672 * gdb.base/environ.exp: Make test available in all architectures.
5673 Move bits related to "info program" testing to
5674 gdb.base/info-program.exp. Rewrite tests to use the two new
5675 procedures mentione below.
5676 (test_set_show_env_var) New procedure.
5677 (test_set_show_env_var_equal): Likewise.
5678 * gdb.base/info-program.exp: New file.
5679
5680 2017-04-27 Keith Seitz <keiths@redhat.com>
5681
5682 * gdb.cp/oranking.cc (test15): New function.
5683 (main): Call test15 and declare additional variables for testing.
5684 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5685 "p foo101('abc')" tests.
5686 Add tests for cv qualifier overloads.
5687 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5688 "lvalue reference overload" test.
5689 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5690 "print value of f1 on Child&& in f2" test.
5691
5692 2017-04-19 Pedro Alves <palves@redhat.com>
5693
5694 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5695 procedure.
5696 (top level): Call it.
5697 * lib/gdb.exp (gdb_define_cmd): New procedure.
5698
5699 2017-04-12 Pedro Alves <palves@redhat.com>
5700
5701 PR gdb/21323
5702 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5703 (wchar): New global.
5704 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5705 (do_test_wide_char, wide_char_types_no_program, top level): Add
5706 wchar_t testing.
5707
5708 2017-04-12 Pedro Alves <palves@redhat.com>
5709
5710 PR c++/21323
5711 * gdb.cp/wide_char_types.c: New file.
5712 * gdb.cp/wide_char_types.exp: New file.
5713
5714 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5715
5716 PR gdb/21352
5717 * gdb.trace/tsv.exp: Add test for "tsave -r".
5718
5719 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5720
5721 * gdb.dlang/watch-loc.c: New file.
5722 * gdb.dlang/watch-loc.exp: New file.
5723
5724 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5725
5726 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5727
5728 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5729
5730 * gdb.arch/arc-analyze-prologue.S: New file.
5731 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5732
5733 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5734
5735 * gdb.arch/arc-decode-insn.S: New file.
5736 * gdb.arch/arc-decode-insn.exp: Likewise.
5737
5738 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5739
5740 PR tdep/20928
5741 * gdb.arch/sparc64-regs.exp: New file.
5742 * gdb.arch/sparc64-regs.S: Likewise.
5743
5744 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5745
5746 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5747 and memory view on Python 3.
5748
5749 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5750 Keith Seitz <keiths@redhat.com>
5751
5752 PR gdb/14441
5753 * gdb.cp/demangle.exp: Add rvalue reference tests.
5754 * gdb.cp/rvalue-ref-casts.cc: New file.
5755 * gdb.cp/rvalue-ref-casts.exp: New file.
5756 * gdb.cp/rvalue-ref-overload.cc: New file.
5757 * gdb.cp/rvalue-ref-overload.exp: New file.
5758 * gdb.cp/rvalue-ref-params.cc: New file.
5759 * gdb.cp/rvalue-ref-params.exp: New file.
5760 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5761 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5762 * gdb.cp/rvalue-ref-types.cc: New file.
5763 * gdb.cp/rvalue-ref-types.exp: New file.
5764 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5765 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5766
5767 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5768
5769 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5770 New procedure.
5771
5772 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5773
5774 * lib/mi-support.exp (mi_gdb_test): Add additional message
5775 for unexpected output.
5776
5777 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5778
5779 * gdb.base/examine-backward.c (Barrier): New character array
5780 constant, to ensure that TestStrings is preceded by a string
5781 terminator.
5782
5783 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5784
5785 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5786 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5787 and implicit pointer into such a location.
5788
5789 2017-03-16 Doug Evans <dje@google.com>
5790
5791 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5792
5793 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5794
5795 * gdb.cp/m-static.exp: Fix expectation for prototype of
5796 test5.single_constructor and single_constructor::single_constructor.
5797
5798 2017-03-16 Doug Evans <dje@google.com>
5799
5800 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5801 * gdb.guile/scm-lazy-string.c: New file.
5802 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5803 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5804 for pointer, array, typedef lazy strings.
5805
5806 2017-03-16 Doug Evans <dje@google.com>
5807
5808 PR python/17728, python/18439, python/18779
5809 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5810 * gdb.python/py-lazy-string.c (pointer): New typedef.
5811 (main): New locals ptr, array, typedef_ptr.
5812 * gdb.python/py-value.exp: Move lazy string tests to ...
5813 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5814 array, typedef lazy strings.
5815
5816 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5817
5818 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5819 Add optional 'test' parameter.
5820
5821 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5822
5823 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5824 Skip for versions of DejaGnu < 1.5.
5825
5826 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5827
5828 * lib/gdb.exp (dejagnu_version): New proc.
5829 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5830 Use dejagnu_version.
5831
5832 2017-03-10 Keith Seitz <keiths@redhat.com>
5833
5834 PR c++/8128
5835 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5836 type from destructor regexps.
5837 Add a branch which actually passes the test.
5838 Adjust "ptype t5i" test names.
5839
5840 2017-03-08 Pedro Alves <palves@redhat.com>
5841
5842 * gdb.base/step-over-exit.exp: Add explicit test message.
5843
5844 2017-03-08 Pedro Alves <palves@redhat.com>
5845
5846 PR gdb/18360
5847 * gdb.threads/interrupt-while-step-over.c: New file.
5848 * gdb.threads/interrupt-while-step-over.exp: New file.
5849
5850 2017-03-08 Pedro Alves <palves@redhat.com>
5851
5852 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5853 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5854
5855 2017-03-08 Pedro Alves <palves@redhat.com>
5856
5857 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5858 PKRU as not supported as a PASS.
5859
5860 2017-03-08 Pedro Alves <palves@redhat.com>
5861
5862 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5863 prefix instead of $binfile1/$binfile2.
5864 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5865 in test message.
5866 * gdb.python/py-completion.exp: Use "load python file" as test
5867 messages instead of unstable path names.
5868
5869 2017-03-08 Pedro Alves <palves@redhat.com>
5870 Jan Kratochvil <jan.kratochvil@redhat.com>
5871
5872 PR cli/21218
5873 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5874 New proc.
5875 (top level): Call it.
5876
5877 2017-03-08 Pedro Alves <palves@redhat.com>
5878
5879 PR tui/21216
5880 * gdb.tui/tui-nl-filtered-output.exp: New file.
5881
5882 2017-03-08 Pedro Alves <palves@redhat.com>
5883
5884 * gdb.base/completion.exp: Move TUI completion tests to ...
5885 * gdb.tui/completion.exp: ... this new file.
5886
5887 2017-03-08 Pedro Alves <palves@redhat.com>
5888
5889 * gdb.base/tui-disasm-long-lines.c,
5890 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5891 gdb.base/tui-layout.exp: Move to ...
5892 * gdb.tui/: ... this new directory.
5893
5894 2017-03-07 Pedro Alves <palves@redhat.com>
5895
5896 * gdb.base/tui-layout.c: New file.
5897 * gdb.base/tui-layout.exp: New file.
5898
5899 2017-03-07 Pedro Alves <palves@redhat.com>
5900
5901 * gdb.base/tui-layout.c: Rename to ...
5902 * gdb.base/tui-disasm-long-lines.c: ... this.
5903 * gdb.base/tui-layout.exp: Rename to ...
5904 * gdb.base/tui-disasm-long-lines.exp: ... this.
5905
5906 2017-03-07 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5909
5910 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5911
5912 * i386-mpx-call.c: New file.
5913 * i386-mpx-call.exp: New file.
5914
5915 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5916
5917 * gdb.arch/powerpc-power.exp: Delete test.
5918 * gdb.arch/powerpc-power.s: Likewise.
5919 * gdb.disasm/disassembler-options.exp: New test.
5920 * gdb.arch/powerpc-altivec.exp: Likewise.
5921 * gdb.arch/powerpc-altivec.s: Likewise.
5922 * gdb.arch/powerpc-altivec2.exp: Likewise.
5923 * gdb.arch/powerpc-altivec2.s: Likewise.
5924 * gdb.arch/powerpc-altivec3.exp: Likewise.
5925 * gdb.arch/powerpc-altivec3.s: Likewise.
5926 * gdb.arch/powerpc-power7.exp: Likewise.
5927 * gdb.arch/powerpc-power7.s: Likewise.
5928 * gdb.arch/powerpc-power8.exp: Likewise.
5929 * gdb.arch/powerpc-power8.s: Likewise.
5930 * gdb.arch/powerpc-power9.exp: Likewise.
5931 * gdb.arch/powerpc-power9.s: Likewise.
5932 * gdb.arch/powerpc-vsx.exp: Likewise.
5933 * gdb.arch/powerpc-vsx.s: Likewise.
5934 * gdb.arch/powerpc-vsx2.exp: Likewise.
5935 * gdb.arch/powerpc-vsx2.s: Likewise.
5936 * gdb.arch/powerpc-vsx3.exp: Likewise.
5937 * gdb.arch/powerpc-vsx3.s: Likewise.
5938 * gdb.arch/arm-disassembler-options.exp: Likewise.
5939 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5940 * gdb.arch/s390-disassembler-options.exp: Likewise.
5941
5942 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5943
5944 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5945 (check_supported_features): ... this. Changed return type to void.
5946 (supports_rdseed): New static global.
5947 (rdseed): Check supports_rdseed.
5948 (initialize): Call check_supported_features.
5949
5950 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5951
5952 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5953 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5954 and lqarx/stqcx.
5955 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5956 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5957
5958 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5959
5960 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5961 uppercase.
5962
5963 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5964
5965 * gdb.dwarf2/formdata16.c: New file.
5966 * gdb.dwarf2/formdata16.exp: New file.
5967 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5968
5969 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5970
5971 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5972 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5973 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5974 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5975 DW_AT_GNU_*.
5976
5977 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5978
5979 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5980
5981 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5982
5983 PR gdb/21164
5984 * gdb.base/maint.exp: Add testcases for when the commands do
5985 not have arguments.
5986
5987 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5988
5989 * gdb.cp/chained-calls.exp: Use p instead of P.
5990
5991 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5992
5993 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5994 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5995
5996 2017-02-14 Tom Tromey <tom@tromey.com>
5997
5998 PR python/13598:
5999 * gdb.python/py-events.exp: Add before_prompt event tests.
6000
6001 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6002
6003 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6004
6005 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6006
6007 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6008 (main): Call my_unique_function_name.
6009 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6010 completion of patterns with a single match.
6011 Add missing -re switches to gdb_test_multiple calls.
6012
6013 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6014
6015 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6016 return if core file is not recognized.
6017
6018 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6019
6020 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6021 and extra UIs.
6022
6023 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6024
6025 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6026 proc_with_prefix.
6027
6028 2017-02-10 Tom Tromey <tom@tromey.com>
6029
6030 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6031
6032 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6033
6034 PR gdb/21122
6035 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6036
6037 2017-02-08 Jerome Guitton <guitton@adacore.com>
6038
6039 * gdb.base/define.exp: Add test for command abbreviations
6040 in define.
6041
6042 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6043
6044 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6045 * gdb.reverse/insn-reverse-x86.c: New file.
6046
6047 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6048
6049 PR tdep/20936
6050 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6051
6052 2017-02-03 Tom Tromey <tom@tromey.com>
6053
6054 PR rust/21097:
6055 * gdb.rust/simple.exp: Add new tests.
6056
6057 2017-02-02 Pedro Alves <palves@redhat.com>
6058
6059 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6060 tests.
6061
6062 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6063
6064 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6065 taking a 2-byte value out of a 4-byte DWARF implicit value on
6066 big-endian targets.
6067 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6068 logic. Add test cases for DW_OP_implicit.
6069
6070 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6071
6072 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6073
6074 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6075
6076 * gdb.btrace/enable.exp: Call gdb_exit before
6077 skip_gdbserver_tests.
6078
6079 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6080
6081 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6082 GDBFLAGS.
6083
6084 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6085
6086 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6087 the test is skipped.
6088 * gdb.btrace/data.exp: Likewise.
6089 * gdb.btrace/delta.exp: Likewise.
6090 * gdb.btrace/dlopen.exp: Likewise.
6091 * gdb.btrace/enable-running.exp: Likewise.
6092 * gdb.btrace/enable.exp: Likewise.
6093 * gdb.btrace/exception.exp: Likewise.
6094 * gdb.btrace/function_call_history.exp: Likewise.
6095 * gdb.btrace/gcore.exp: Likewise.
6096 * gdb.btrace/instruction_history.exp: Likewise.
6097 * gdb.btrace/multi-thread-step.exp: Likewise.
6098 * gdb.btrace/nohist.exp: Likewise.
6099 * gdb.btrace/non-stop.exp: Likewise.
6100 * gdb.btrace/reconnect.exp: Likewise.
6101 * gdb.btrace/record_goto-step.exp: Likewise.
6102 * gdb.btrace/record_goto.exp: Likewise.
6103 * gdb.btrace/rn-dl-bind.exp: Likewise.
6104 * gdb.btrace/segv.exp: Likewise.
6105 * gdb.btrace/step.exp: Likewise.
6106 * gdb.btrace/stepi.exp: Likewise.
6107 * gdb.btrace/tailcall-only.exp: Likewise.
6108 * gdb.btrace/tailcall.exp: Likewise.
6109 * gdb.btrace/tsx.exp: Likewise.
6110 * gdb.btrace/unknown_functions.exp: Likewise.
6111 * gdb.btrace/vdso.exp: Likewise.
6112
6113 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6114
6115 * gdb.btrace/enable-running.c: New.
6116 * gdb.btrace/enable-running.exp: New.
6117
6118 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6119
6120 * gdb.arch/amd64-gs_base.c: New file.
6121 * gdb.arch/amd64-gs_base.exp: New file.
6122
6123 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6124
6125 * lib/memory.exp: Remove spurious empty newlines.
6126
6127 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6128
6129 * gdb.python/py-bad-printers.exp: Load python file using "source".
6130 * gdb.python/py-events.exp: Likewise.
6131 * gdb.python/py-evsignal.exp: Likewise.
6132 * gdb.python/py-evthreads.exp: Likewise.
6133 * gdb.python/py-frame-args.exp: Likewise.
6134 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6135 * gdb.python/py-framefilter-mi.exp: Likewise.
6136 * gdb.python/py-framefilter.exp: Likewise.
6137 * gdb.python/py-mi.exp: Likewise.
6138 * gdb.python/py-pp-maint.exp: Likewise.
6139 * gdb.python/py-pp-registration.exp: Likewise.
6140 * gdb.python/py-prettyprint.exp: Likewise.
6141 (run_lang_tests): Likewise.
6142 * gdb.python/py-typeprint.exp: Likewise.
6143
6144 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6145
6146 * lib/memory.exp: New file.
6147 * lib/gdb.exp: Load memory.exp.
6148 * gdb.base/memattr.exp (delete_memory): Move proc to
6149 lib/memory.exp and rename to delete_memory_regions.
6150 Replace delete_memory with delete_memory_regions.
6151 Cleanup memory regions before tests.
6152 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6153 before tests.
6154
6155 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6156
6157 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6158 files.
6159 (initialize): New function conditionally defined.
6160 (testcases): Move within conditional block.
6161 (main): Call initialize.
6162 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6163 of gdb.reverse/insn-reverse.c.
6164 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6165 gdb.reverse/insn-reverse.c.
6166
6167 2017-01-26 Yao Qi <yao.qi@linaro.org>
6168
6169 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6170 disassemble on address 0.
6171
6172 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6173 Yao Qi <yao.qi@linaro.org>
6174
6175 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6176 * gdb.dwarf2/implptr-64bit.S: Remove.
6177 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6178 variables in caller's context. Add DW_OP_implicit_value.
6179
6180 2017-01-25 Yao Qi <yao.qi@linaro.org>
6181
6182 * lib/dwarf.exp (Dwarf::_location): Handle
6183 DW_OP_GNU_implicit_pointer with proper size.
6184
6185 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6186
6187 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6188 and add untested calls.
6189
6190 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6191
6192 * gdb.python/python.exp: Check line number against what GDB thinks
6193 the line number is for func1.
6194
6195 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6196
6197 * gdb.dlang/debug-expr.exp: New file.
6198
6199 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6200
6201 Fix test names for the following files:
6202
6203 * gdb.ada/exec_changed.exp
6204 * gdb.ada/info_types.exp
6205 * gdb.arch/aarch64-atomic-inst.exp
6206 * gdb.arch/aarch64-fp.exp
6207 * gdb.arch/altivec-abi.exp
6208 * gdb.arch/altivec-regs.exp
6209 * gdb.arch/amd64-byte.exp
6210 * gdb.arch/amd64-disp-step.exp
6211 * gdb.arch/amd64-dword.exp
6212 * gdb.arch/amd64-entry-value-inline.exp
6213 * gdb.arch/amd64-entry-value-param.exp
6214 * gdb.arch/amd64-entry-value-paramref.exp
6215 * gdb.arch/amd64-entry-value.exp
6216 * gdb.arch/amd64-i386-address.exp
6217 * gdb.arch/amd64-invalid-stack-middle.exp
6218 * gdb.arch/amd64-invalid-stack-top.exp
6219 * gdb.arch/amd64-optimout-repeat.exp
6220 * gdb.arch/amd64-prologue-skip.exp
6221 * gdb.arch/amd64-prologue-xmm.exp
6222 * gdb.arch/amd64-stap-special-operands.exp
6223 * gdb.arch/amd64-stap-wrong-subexp.exp
6224 * gdb.arch/amd64-tailcall-cxx.exp
6225 * gdb.arch/amd64-tailcall-noret.exp
6226 * gdb.arch/amd64-tailcall-ret.exp
6227 * gdb.arch/amd64-tailcall-self.exp
6228 * gdb.arch/amd64-word.exp
6229 * gdb.arch/arm-bl-branch-dest.exp
6230 * gdb.arch/arm-disp-step.exp
6231 * gdb.arch/arm-neon.exp
6232 * gdb.arch/arm-single-step-kernel-helper.exp
6233 * gdb.arch/avr-flash-qualifier.exp
6234 * gdb.arch/disp-step-insn-reloc.exp
6235 * gdb.arch/e500-abi.exp
6236 * gdb.arch/e500-regs.exp
6237 * gdb.arch/ftrace-insn-reloc.exp
6238 * gdb.arch/i386-avx512.exp
6239 * gdb.arch/i386-bp_permanent.exp
6240 * gdb.arch/i386-byte.exp
6241 * gdb.arch/i386-cfi-notcurrent.exp
6242 * gdb.arch/i386-disp-step.exp
6243 * gdb.arch/i386-dr3-watch.exp
6244 * gdb.arch/i386-float.exp
6245 * gdb.arch/i386-gnu-cfi.exp
6246 * gdb.arch/i386-mpx-map.exp
6247 * gdb.arch/i386-mpx-sigsegv.exp
6248 * gdb.arch/i386-mpx-simple_segv.exp
6249 * gdb.arch/i386-mpx.exp
6250 * gdb.arch/i386-permbkpt.exp
6251 * gdb.arch/i386-prologue.exp
6252 * gdb.arch/i386-signal.exp
6253 * gdb.arch/i386-size-overlap.exp
6254 * gdb.arch/i386-unwind.exp
6255 * gdb.arch/i386-word.exp
6256 * gdb.arch/mips-fcr.exp
6257 * gdb.arch/powerpc-d128-regs.exp
6258 * gdb.arch/powerpc-stackless.exp
6259 * gdb.arch/ppc64-atomic-inst.exp
6260 * gdb.arch/s390-stackless.exp
6261 * gdb.arch/s390-tdbregs.exp
6262 * gdb.arch/s390-vregs.exp
6263 * gdb.arch/sparc-sysstep.exp
6264 * gdb.arch/thumb-bx-pc.exp
6265 * gdb.arch/thumb-singlestep.exp
6266 * gdb.arch/thumb2-it.exp
6267 * gdb.arch/vsx-regs.exp
6268 * gdb.asm/asm-source.exp
6269 * gdb.base/a2-run.exp
6270 * gdb.base/advance.exp
6271 * gdb.base/all-bin.exp
6272 * gdb.base/anon.exp
6273 * gdb.base/args.exp
6274 * gdb.base/arithmet.exp
6275 * gdb.base/async-shell.exp
6276 * gdb.base/async.exp
6277 * gdb.base/attach-pie-noexec.exp
6278 * gdb.base/attach-twice.exp
6279 * gdb.base/auto-load.exp
6280 * gdb.base/bang.exp
6281 * gdb.base/bitfields.exp
6282 * gdb.base/break-always.exp
6283 * gdb.base/break-caller-line.exp
6284 * gdb.base/break-entry.exp
6285 * gdb.base/break-inline.exp
6286 * gdb.base/break-on-linker-gcd-function.exp
6287 * gdb.base/break-probes.exp
6288 * gdb.base/break.exp
6289 * gdb.base/breakpoint-shadow.exp
6290 * gdb.base/call-ar-st.exp
6291 * gdb.base/call-sc.exp
6292 * gdb.base/call-signal-resume.exp
6293 * gdb.base/call-strs.exp
6294 * gdb.base/callfuncs.exp
6295 * gdb.base/catch-fork-static.exp
6296 * gdb.base/catch-gdb-caused-signals.exp
6297 * gdb.base/catch-load.exp
6298 * gdb.base/catch-signal-fork.exp
6299 * gdb.base/catch-signal.exp
6300 * gdb.base/catch-syscall.exp
6301 * gdb.base/charset.exp
6302 * gdb.base/checkpoint.exp
6303 * gdb.base/chng-syms.exp
6304 * gdb.base/code-expr.exp
6305 * gdb.base/code_elim.exp
6306 * gdb.base/commands.exp
6307 * gdb.base/completion.exp
6308 * gdb.base/complex.exp
6309 * gdb.base/cond-expr.exp
6310 * gdb.base/condbreak.exp
6311 * gdb.base/consecutive.exp
6312 * gdb.base/continue-all-already-running.exp
6313 * gdb.base/coredump-filter.exp
6314 * gdb.base/corefile.exp
6315 * gdb.base/dbx.exp
6316 * gdb.base/debug-expr.exp
6317 * gdb.base/define.exp
6318 * gdb.base/del.exp
6319 * gdb.base/disabled-location.exp
6320 * gdb.base/disasm-end-cu.exp
6321 * gdb.base/disasm-optim.exp
6322 * gdb.base/display.exp
6323 * gdb.base/duplicate-bp.exp
6324 * gdb.base/ena-dis-br.exp
6325 * gdb.base/ending-run.exp
6326 * gdb.base/enumval.exp
6327 * gdb.base/environ.exp
6328 * gdb.base/eu-strip-infcall.exp
6329 * gdb.base/eval-avoid-side-effects.exp
6330 * gdb.base/eval-skip.exp
6331 * gdb.base/exitsignal.exp
6332 * gdb.base/expand-psymtabs.exp
6333 * gdb.base/filesym.exp
6334 * gdb.base/find-unmapped.exp
6335 * gdb.base/finish.exp
6336 * gdb.base/float.exp
6337 * gdb.base/foll-exec-mode.exp
6338 * gdb.base/foll-exec.exp
6339 * gdb.base/foll-fork.exp
6340 * gdb.base/fortran-sym-case.exp
6341 * gdb.base/freebpcmd.exp
6342 * gdb.base/func-ptr.exp
6343 * gdb.base/func-ptrs.exp
6344 * gdb.base/funcargs.exp
6345 * gdb.base/gcore-buffer-overflow.exp
6346 * gdb.base/gcore-relro-pie.exp
6347 * gdb.base/gcore-relro.exp
6348 * gdb.base/gcore.exp
6349 * gdb.base/gdb1090.exp
6350 * gdb.base/gdb11530.exp
6351 * gdb.base/gdb11531.exp
6352 * gdb.base/gdb1821.exp
6353 * gdb.base/gdbindex-stabs.exp
6354 * gdb.base/gdbvars.exp
6355 * gdb.base/hbreak.exp
6356 * gdb.base/hbreak2.exp
6357 * gdb.base/included.exp
6358 * gdb.base/infcall-input.exp
6359 * gdb.base/inferior-died.exp
6360 * gdb.base/infnan.exp
6361 * gdb.base/info-macros.exp
6362 * gdb.base/info-os.exp
6363 * gdb.base/info-proc.exp
6364 * gdb.base/info-shared.exp
6365 * gdb.base/info-target.exp
6366 * gdb.base/infoline.exp
6367 * gdb.base/interp.exp
6368 * gdb.base/interrupt.exp
6369 * gdb.base/jit-reader.exp
6370 * gdb.base/jit-simple.exp
6371 * gdb.base/kill-after-signal.exp
6372 * gdb.base/kill-detach-inferiors-cmd.exp
6373 * gdb.base/label.exp
6374 * gdb.base/langs.exp
6375 * gdb.base/ldbl_e308.exp
6376 * gdb.base/line-symtabs.exp
6377 * gdb.base/linespecs.exp
6378 * gdb.base/list.exp
6379 * gdb.base/long_long.exp
6380 * gdb.base/longest-types.exp
6381 * gdb.base/maint.exp
6382 * gdb.base/max-value-size.exp
6383 * gdb.base/memattr.exp
6384 * gdb.base/mips_pro.exp
6385 * gdb.base/morestack.exp
6386 * gdb.base/moribund-step.exp
6387 * gdb.base/multi-forks.exp
6388 * gdb.base/nested-addr.exp
6389 * gdb.base/nextoverexit.exp
6390 * gdb.base/noreturn-finish.exp
6391 * gdb.base/noreturn-return.exp
6392 * gdb.base/nostdlib.exp
6393 * gdb.base/offsets.exp
6394 * gdb.base/opaque.exp
6395 * gdb.base/pc-fp.exp
6396 * gdb.base/permissions.exp
6397 * gdb.base/print-symbol-loading.exp
6398 * gdb.base/prologue-include.exp
6399 * gdb.base/psymtab.exp
6400 * gdb.base/ptype.exp
6401 * gdb.base/random-signal.exp
6402 * gdb.base/randomize.exp
6403 * gdb.base/range-stepping.exp
6404 * gdb.base/readline-ask.exp
6405 * gdb.base/recpar.exp
6406 * gdb.base/recurse.exp
6407 * gdb.base/relational.exp
6408 * gdb.base/restore.exp
6409 * gdb.base/return-nodebug.exp
6410 * gdb.base/return.exp
6411 * gdb.base/run-after-attach.exp
6412 * gdb.base/save-bp.exp
6413 * gdb.base/scope.exp
6414 * gdb.base/sect-cmd.exp
6415 * gdb.base/set-lang-auto.exp
6416 * gdb.base/set-noassign.exp
6417 * gdb.base/setvar.exp
6418 * gdb.base/sigall.exp
6419 * gdb.base/sigbpt.exp
6420 * gdb.base/siginfo-addr.exp
6421 * gdb.base/siginfo-infcall.exp
6422 * gdb.base/siginfo-obj.exp
6423 * gdb.base/siginfo.exp
6424 * gdb.base/signals-state-child.exp
6425 * gdb.base/signest.exp
6426 * gdb.base/sigstep.exp
6427 * gdb.base/sizeof.exp
6428 * gdb.base/skip.exp
6429 * gdb.base/solib-corrupted.exp
6430 * gdb.base/solib-nodir.exp
6431 * gdb.base/solib-search.exp
6432 * gdb.base/stack-checking.exp
6433 * gdb.base/stale-infcall.exp
6434 * gdb.base/stap-probe.exp
6435 * gdb.base/start.exp
6436 * gdb.base/step-break.exp
6437 * gdb.base/step-bt.exp
6438 * gdb.base/step-line.exp
6439 * gdb.base/step-over-exit.exp
6440 * gdb.base/step-over-syscall.exp
6441 * gdb.base/step-resume-infcall.exp
6442 * gdb.base/step-test.exp
6443 * gdb.base/store.exp
6444 * gdb.base/structs3.exp
6445 * gdb.base/sym-file.exp
6446 * gdb.base/symbol-without-target_section.exp
6447 * gdb.base/term.exp
6448 * gdb.base/testenv.exp
6449 * gdb.base/ui-redirect.exp
6450 * gdb.base/until.exp
6451 * gdb.base/unwindonsignal.exp
6452 * gdb.base/value-double-free.exp
6453 * gdb.base/vla-datatypes.exp
6454 * gdb.base/vla-ptr.exp
6455 * gdb.base/vla-sideeffect.exp
6456 * gdb.base/volatile.exp
6457 * gdb.base/watch-cond-infcall.exp
6458 * gdb.base/watch-cond.exp
6459 * gdb.base/watch-non-mem.exp
6460 * gdb.base/watch-read.exp
6461 * gdb.base/watch-vfork.exp
6462 * gdb.base/watchpoint-cond-gone.exp
6463 * gdb.base/watchpoint-delete.exp
6464 * gdb.base/watchpoint-hw-hit-once.exp
6465 * gdb.base/watchpoint-hw.exp
6466 * gdb.base/watchpoint-stops-at-right-insn.exp
6467 * gdb.base/watchpoints.exp
6468 * gdb.base/wchar.exp
6469 * gdb.base/whatis-exp.exp
6470 * gdb.btrace/buffer-size.exp
6471 * gdb.btrace/data.exp
6472 * gdb.btrace/delta.exp
6473 * gdb.btrace/dlopen.exp
6474 * gdb.btrace/enable.exp
6475 * gdb.btrace/exception.exp
6476 * gdb.btrace/function_call_history.exp
6477 * gdb.btrace/gcore.exp
6478 * gdb.btrace/instruction_history.exp
6479 * gdb.btrace/nohist.exp
6480 * gdb.btrace/reconnect.exp
6481 * gdb.btrace/record_goto-step.exp
6482 * gdb.btrace/record_goto.exp
6483 * gdb.btrace/rn-dl-bind.exp
6484 * gdb.btrace/segv.exp
6485 * gdb.btrace/step.exp
6486 * gdb.btrace/stepi.exp
6487 * gdb.btrace/tailcall-only.exp
6488 * gdb.btrace/tailcall.exp
6489 * gdb.btrace/tsx.exp
6490 * gdb.btrace/unknown_functions.exp
6491 * gdb.btrace/vdso.exp
6492 * gdb.compile/compile-ifunc.exp
6493 * gdb.compile/compile-ops.exp
6494 * gdb.compile/compile-print.exp
6495 * gdb.compile/compile-setjmp.exp
6496 * gdb.cp/abstract-origin.exp
6497 * gdb.cp/ambiguous.exp
6498 * gdb.cp/annota2.exp
6499 * gdb.cp/annota3.exp
6500 * gdb.cp/anon-ns.exp
6501 * gdb.cp/anon-struct.exp
6502 * gdb.cp/anon-union.exp
6503 * gdb.cp/arg-reference.exp
6504 * gdb.cp/baseenum.exp
6505 * gdb.cp/bool.exp
6506 * gdb.cp/breakpoint.exp
6507 * gdb.cp/bs15503.exp
6508 * gdb.cp/call-c.exp
6509 * gdb.cp/casts.exp
6510 * gdb.cp/chained-calls.exp
6511 * gdb.cp/class2.exp
6512 * gdb.cp/classes.exp
6513 * gdb.cp/cmpd-minsyms.exp
6514 * gdb.cp/converts.exp
6515 * gdb.cp/cp-relocate.exp
6516 * gdb.cp/cpcompletion.exp
6517 * gdb.cp/cpexprs.exp
6518 * gdb.cp/cplabel.exp
6519 * gdb.cp/cplusfuncs.exp
6520 * gdb.cp/cpsizeof.exp
6521 * gdb.cp/ctti.exp
6522 * gdb.cp/derivation.exp
6523 * gdb.cp/destrprint.exp
6524 * gdb.cp/dispcxx.exp
6525 * gdb.cp/enum-class.exp
6526 * gdb.cp/exception.exp
6527 * gdb.cp/exceptprint.exp
6528 * gdb.cp/expand-psymtabs-cxx.exp
6529 * gdb.cp/expand-sals.exp
6530 * gdb.cp/extern-c.exp
6531 * gdb.cp/filename.exp
6532 * gdb.cp/formatted-ref.exp
6533 * gdb.cp/fpointer.exp
6534 * gdb.cp/gdb1355.exp
6535 * gdb.cp/gdb2495.exp
6536 * gdb.cp/hang.exp
6537 * gdb.cp/impl-this.exp
6538 * gdb.cp/infcall-dlopen.exp
6539 * gdb.cp/inherit.exp
6540 * gdb.cp/iostream.exp
6541 * gdb.cp/koenig.exp
6542 * gdb.cp/local.exp
6543 * gdb.cp/m-data.exp
6544 * gdb.cp/m-static.exp
6545 * gdb.cp/mb-ctor.exp
6546 * gdb.cp/mb-inline.exp
6547 * gdb.cp/mb-templates.exp
6548 * gdb.cp/member-name.exp
6549 * gdb.cp/member-ptr.exp
6550 * gdb.cp/meth-typedefs.exp
6551 * gdb.cp/method.exp
6552 * gdb.cp/method2.exp
6553 * gdb.cp/minsym-fallback.exp
6554 * gdb.cp/misc.exp
6555 * gdb.cp/namelessclass.exp
6556 * gdb.cp/namespace-enum.exp
6557 * gdb.cp/namespace-nested-import.exp
6558 * gdb.cp/namespace.exp
6559 * gdb.cp/nextoverthrow.exp
6560 * gdb.cp/no-dmgl-verbose.exp
6561 * gdb.cp/non-trivial-retval.exp
6562 * gdb.cp/noparam.exp
6563 * gdb.cp/nsdecl.exp
6564 * gdb.cp/nsimport.exp
6565 * gdb.cp/nsnested.exp
6566 * gdb.cp/nsnoimports.exp
6567 * gdb.cp/nsrecurs.exp
6568 * gdb.cp/nsstress.exp
6569 * gdb.cp/nsusing.exp
6570 * gdb.cp/operator.exp
6571 * gdb.cp/oranking.exp
6572 * gdb.cp/overload-const.exp
6573 * gdb.cp/overload.exp
6574 * gdb.cp/ovldbreak.exp
6575 * gdb.cp/ovsrch.exp
6576 * gdb.cp/paren-type.exp
6577 * gdb.cp/parse-lang.exp
6578 * gdb.cp/pass-by-ref.exp
6579 * gdb.cp/pr-1023.exp
6580 * gdb.cp/pr-1210.exp
6581 * gdb.cp/pr-574.exp
6582 * gdb.cp/pr10687.exp
6583 * gdb.cp/pr12028.exp
6584 * gdb.cp/pr17132.exp
6585 * gdb.cp/pr17494.exp
6586 * gdb.cp/pr9067.exp
6587 * gdb.cp/pr9167.exp
6588 * gdb.cp/pr9631.exp
6589 * gdb.cp/printmethod.exp
6590 * gdb.cp/psmang.exp
6591 * gdb.cp/psymtab-parameter.exp
6592 * gdb.cp/ptype-cv-cp.exp
6593 * gdb.cp/ptype-flags.exp
6594 * gdb.cp/re-set-overloaded.exp
6595 * gdb.cp/ref-types.exp
6596 * gdb.cp/rtti.exp
6597 * gdb.cp/scope-err.exp
6598 * gdb.cp/shadow.exp
6599 * gdb.cp/smartp.exp
6600 * gdb.cp/static-method.exp
6601 * gdb.cp/static-print-quit.exp
6602 * gdb.cp/temargs.exp
6603 * gdb.cp/templates.exp
6604 * gdb.cp/try_catch.exp
6605 * gdb.cp/typedef-operator.exp
6606 * gdb.cp/typeid.exp
6607 * gdb.cp/userdef.exp
6608 * gdb.cp/using-crash.exp
6609 * gdb.cp/var-tag.exp
6610 * gdb.cp/virtbase.exp
6611 * gdb.cp/virtfunc.exp
6612 * gdb.cp/virtfunc2.exp
6613 * gdb.cp/vla-cxx.exp
6614 * gdb.disasm/t01_mov.exp
6615 * gdb.disasm/t02_mova.exp
6616 * gdb.disasm/t03_add.exp
6617 * gdb.disasm/t04_sub.exp
6618 * gdb.disasm/t05_cmp.exp
6619 * gdb.disasm/t06_ari2.exp
6620 * gdb.disasm/t07_ari3.exp
6621 * gdb.disasm/t08_or.exp
6622 * gdb.disasm/t09_xor.exp
6623 * gdb.disasm/t10_and.exp
6624 * gdb.disasm/t11_logs.exp
6625 * gdb.disasm/t12_bit.exp
6626 * gdb.disasm/t13_otr.exp
6627 * gdb.dlang/circular.exp
6628 * gdb.dwarf2/arr-stride.exp
6629 * gdb.dwarf2/arr-subrange.exp
6630 * gdb.dwarf2/atomic-type.exp
6631 * gdb.dwarf2/bad-regnum.exp
6632 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6633 * gdb.dwarf2/callframecfa.exp
6634 * gdb.dwarf2/clztest.exp
6635 * gdb.dwarf2/corrupt.exp
6636 * gdb.dwarf2/data-loc.exp
6637 * gdb.dwarf2/dup-psym.exp
6638 * gdb.dwarf2/dw2-anon-mptr.exp
6639 * gdb.dwarf2/dw2-anonymous-func.exp
6640 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6641 * gdb.dwarf2/dw2-bad-unresolved.exp
6642 * gdb.dwarf2/dw2-basic.exp
6643 * gdb.dwarf2/dw2-canonicalize-type.exp
6644 * gdb.dwarf2/dw2-case-insensitive.exp
6645 * gdb.dwarf2/dw2-common-block.exp
6646 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6647 * gdb.dwarf2/dw2-compressed.exp
6648 * gdb.dwarf2/dw2-const.exp
6649 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6650 * gdb.dwarf2/dw2-cu-size.exp
6651 * gdb.dwarf2/dw2-dup-frame.exp
6652 * gdb.dwarf2/dw2-entry-value.exp
6653 * gdb.dwarf2/dw2-icycle.exp
6654 * gdb.dwarf2/dw2-ifort-parameter.exp
6655 * gdb.dwarf2/dw2-inline-break.exp
6656 * gdb.dwarf2/dw2-inline-param.exp
6657 * gdb.dwarf2/dw2-intercu.exp
6658 * gdb.dwarf2/dw2-intermix.exp
6659 * gdb.dwarf2/dw2-lexical-block-bare.exp
6660 * gdb.dwarf2/dw2-linkage-name-trust.exp
6661 * gdb.dwarf2/dw2-minsym-in-cu.exp
6662 * gdb.dwarf2/dw2-noloc.exp
6663 * gdb.dwarf2/dw2-op-call.exp
6664 * gdb.dwarf2/dw2-op-out-param.exp
6665 * gdb.dwarf2/dw2-opt-structptr.exp
6666 * gdb.dwarf2/dw2-param-error.exp
6667 * gdb.dwarf2/dw2-producer.exp
6668 * gdb.dwarf2/dw2-ranges-base.exp
6669 * gdb.dwarf2/dw2-ref-missing-frame.exp
6670 * gdb.dwarf2/dw2-reg-undefined.exp
6671 * gdb.dwarf2/dw2-regno-invalid.exp
6672 * gdb.dwarf2/dw2-restore.exp
6673 * gdb.dwarf2/dw2-restrict.exp
6674 * gdb.dwarf2/dw2-single-line-discriminators.exp
6675 * gdb.dwarf2/dw2-strp.exp
6676 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6677 * gdb.dwarf2/dw2-unresolved.exp
6678 * gdb.dwarf2/dw2-var-zero-addr.exp
6679 * gdb.dwarf2/dw4-sig-types.exp
6680 * gdb.dwarf2/dwz.exp
6681 * gdb.dwarf2/dynarr-ptr.exp
6682 * gdb.dwarf2/enum-type.exp
6683 * gdb.dwarf2/gdb-index.exp
6684 * gdb.dwarf2/implptr-64bit.exp
6685 * gdb.dwarf2/implptr-optimized-out.exp
6686 * gdb.dwarf2/implptr.exp
6687 * gdb.dwarf2/implref-array.exp
6688 * gdb.dwarf2/implref-const.exp
6689 * gdb.dwarf2/implref-global.exp
6690 * gdb.dwarf2/implref-struct.exp
6691 * gdb.dwarf2/mac-fileno.exp
6692 * gdb.dwarf2/main-subprogram.exp
6693 * gdb.dwarf2/member-ptr-forwardref.exp
6694 * gdb.dwarf2/method-ptr.exp
6695 * gdb.dwarf2/missing-sig-type.exp
6696 * gdb.dwarf2/nonvar-access.exp
6697 * gdb.dwarf2/opaque-type-lookup.exp
6698 * gdb.dwarf2/pieces-optimized-out.exp
6699 * gdb.dwarf2/pieces.exp
6700 * gdb.dwarf2/pr10770.exp
6701 * gdb.dwarf2/pr13961.exp
6702 * gdb.dwarf2/staticvirtual.exp
6703 * gdb.dwarf2/subrange.exp
6704 * gdb.dwarf2/symtab-producer.exp
6705 * gdb.dwarf2/trace-crash.exp
6706 * gdb.dwarf2/typeddwarf.exp
6707 * gdb.dwarf2/valop.exp
6708 * gdb.dwarf2/watch-notconst.exp
6709 * gdb.fortran/array-element.exp
6710 * gdb.fortran/charset.exp
6711 * gdb.fortran/common-block.exp
6712 * gdb.fortran/complex.exp
6713 * gdb.fortran/derived-type-function.exp
6714 * gdb.fortran/derived-type.exp
6715 * gdb.fortran/logical.exp
6716 * gdb.fortran/module.exp
6717 * gdb.fortran/multi-dim.exp
6718 * gdb.fortran/nested-funcs.exp
6719 * gdb.fortran/print-formatted.exp
6720 * gdb.fortran/subarray.exp
6721 * gdb.fortran/vla-alloc-assoc.exp
6722 * gdb.fortran/vla-datatypes.exp
6723 * gdb.fortran/vla-history.exp
6724 * gdb.fortran/vla-ptr-info.exp
6725 * gdb.fortran/vla-ptype-sub.exp
6726 * gdb.fortran/vla-ptype.exp
6727 * gdb.fortran/vla-sizeof.exp
6728 * gdb.fortran/vla-type.exp
6729 * gdb.fortran/vla-value-sub-arbitrary.exp
6730 * gdb.fortran/vla-value-sub-finish.exp
6731 * gdb.fortran/vla-value-sub.exp
6732 * gdb.fortran/vla-value.exp
6733 * gdb.fortran/whatis_type.exp
6734 * gdb.go/chan.exp
6735 * gdb.go/handcall.exp
6736 * gdb.go/hello.exp
6737 * gdb.go/integers.exp
6738 * gdb.go/methods.exp
6739 * gdb.go/package.exp
6740 * gdb.go/strings.exp
6741 * gdb.go/types.exp
6742 * gdb.go/unsafe.exp
6743 * gdb.guile/scm-arch.exp
6744 * gdb.guile/scm-block.exp
6745 * gdb.guile/scm-breakpoint.exp
6746 * gdb.guile/scm-cmd.exp
6747 * gdb.guile/scm-disasm.exp
6748 * gdb.guile/scm-equal.exp
6749 * gdb.guile/scm-frame-args.exp
6750 * gdb.guile/scm-frame-inline.exp
6751 * gdb.guile/scm-frame.exp
6752 * gdb.guile/scm-iterator.exp
6753 * gdb.guile/scm-math.exp
6754 * gdb.guile/scm-objfile.exp
6755 * gdb.guile/scm-ports.exp
6756 * gdb.guile/scm-symbol.exp
6757 * gdb.guile/scm-symtab.exp
6758 * gdb.guile/scm-value-cc.exp
6759 * gdb.guile/types-module.exp
6760 * gdb.linespec/break-ask.exp
6761 * gdb.linespec/cpexplicit.exp
6762 * gdb.linespec/explicit.exp
6763 * gdb.linespec/keywords.exp
6764 * gdb.linespec/linespec.exp
6765 * gdb.linespec/ls-dollar.exp
6766 * gdb.linespec/ls-errs.exp
6767 * gdb.linespec/skip-two.exp
6768 * gdb.linespec/thread.exp
6769 * gdb.mi/mi-async.exp
6770 * gdb.mi/mi-basics.exp
6771 * gdb.mi/mi-break.exp
6772 * gdb.mi/mi-catch-load.exp
6773 * gdb.mi/mi-cli.exp
6774 * gdb.mi/mi-cmd-param-changed.exp
6775 * gdb.mi/mi-console.exp
6776 * gdb.mi/mi-detach.exp
6777 * gdb.mi/mi-disassemble.exp
6778 * gdb.mi/mi-eval.exp
6779 * gdb.mi/mi-file-transfer.exp
6780 * gdb.mi/mi-file.exp
6781 * gdb.mi/mi-fill-memory.exp
6782 * gdb.mi/mi-inheritance-syntax-error.exp
6783 * gdb.mi/mi-linespec-err-cp.exp
6784 * gdb.mi/mi-logging.exp
6785 * gdb.mi/mi-memory-changed.exp
6786 * gdb.mi/mi-read-memory.exp
6787 * gdb.mi/mi-record-changed.exp
6788 * gdb.mi/mi-reg-undefined.exp
6789 * gdb.mi/mi-regs.exp
6790 * gdb.mi/mi-return.exp
6791 * gdb.mi/mi-reverse.exp
6792 * gdb.mi/mi-simplerun.exp
6793 * gdb.mi/mi-solib.exp
6794 * gdb.mi/mi-stack.exp
6795 * gdb.mi/mi-stepi.exp
6796 * gdb.mi/mi-syn-frame.exp
6797 * gdb.mi/mi-until.exp
6798 * gdb.mi/mi-var-block.exp
6799 * gdb.mi/mi-var-child.exp
6800 * gdb.mi/mi-var-cmd.exp
6801 * gdb.mi/mi-var-cp.exp
6802 * gdb.mi/mi-var-display.exp
6803 * gdb.mi/mi-var-invalidate.exp
6804 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6805 * gdb.mi/mi-vla-fortran.exp
6806 * gdb.mi/mi-watch.exp
6807 * gdb.mi/mi2-var-child.exp
6808 * gdb.mi/user-selected-context-sync.exp
6809 * gdb.modula2/unbounded-array.exp
6810 * gdb.multi/dummy-frame-restore.exp
6811 * gdb.multi/multi-arch-exec.exp
6812 * gdb.multi/multi-arch.exp
6813 * gdb.multi/tids.exp
6814 * gdb.multi/watchpoint-multi.exp
6815 * gdb.opencl/callfuncs.exp
6816 * gdb.opencl/convs_casts.exp
6817 * gdb.opencl/datatypes.exp
6818 * gdb.opencl/operators.exp
6819 * gdb.opencl/vec_comps.exp
6820 * gdb.opt/clobbered-registers-O2.exp
6821 * gdb.opt/inline-break.exp
6822 * gdb.opt/inline-bt.exp
6823 * gdb.opt/inline-cmds.exp
6824 * gdb.opt/inline-locals.exp
6825 * gdb.pascal/case-insensitive-symbols.exp
6826 * gdb.pascal/floats.exp
6827 * gdb.pascal/gdb11492.exp
6828 * gdb.python/lib-types.exp
6829 * gdb.python/py-arch.exp
6830 * gdb.python/py-as-string.exp
6831 * gdb.python/py-bad-printers.exp
6832 * gdb.python/py-block.exp
6833 * gdb.python/py-breakpoint-create-fail.exp
6834 * gdb.python/py-breakpoint.exp
6835 * gdb.python/py-caller-is.exp
6836 * gdb.python/py-cmd.exp
6837 * gdb.python/py-explore-cc.exp
6838 * gdb.python/py-explore.exp
6839 * gdb.python/py-finish-breakpoint.exp
6840 * gdb.python/py-finish-breakpoint2.exp
6841 * gdb.python/py-frame-args.exp
6842 * gdb.python/py-frame-inline.exp
6843 * gdb.python/py-frame.exp
6844 * gdb.python/py-framefilter-mi.exp
6845 * gdb.python/py-infthread.exp
6846 * gdb.python/py-lazy-string.exp
6847 * gdb.python/py-linetable.exp
6848 * gdb.python/py-mi-events.exp
6849 * gdb.python/py-mi-objfile.exp
6850 * gdb.python/py-mi.exp
6851 * gdb.python/py-objfile.exp
6852 * gdb.python/py-pp-integral.exp
6853 * gdb.python/py-pp-maint.exp
6854 * gdb.python/py-pp-re-notag.exp
6855 * gdb.python/py-pp-registration.exp
6856 * gdb.python/py-recurse-unwind.exp
6857 * gdb.python/py-strfns.exp
6858 * gdb.python/py-symbol.exp
6859 * gdb.python/py-symtab.exp
6860 * gdb.python/py-sync-interp.exp
6861 * gdb.python/py-typeprint.exp
6862 * gdb.python/py-unwind-maint.exp
6863 * gdb.python/py-unwind.exp
6864 * gdb.python/py-value-cc.exp
6865 * gdb.python/py-xmethods.exp
6866 * gdb.reverse/amd64-tailcall-reverse.exp
6867 * gdb.reverse/break-precsave.exp
6868 * gdb.reverse/break-reverse.exp
6869 * gdb.reverse/consecutive-precsave.exp
6870 * gdb.reverse/consecutive-reverse.exp
6871 * gdb.reverse/finish-precsave.exp
6872 * gdb.reverse/finish-reverse-bkpt.exp
6873 * gdb.reverse/finish-reverse.exp
6874 * gdb.reverse/fstatat-reverse.exp
6875 * gdb.reverse/getresuid-reverse.exp
6876 * gdb.reverse/i386-precsave.exp
6877 * gdb.reverse/i386-reverse.exp
6878 * gdb.reverse/i386-sse-reverse.exp
6879 * gdb.reverse/i387-env-reverse.exp
6880 * gdb.reverse/i387-stack-reverse.exp
6881 * gdb.reverse/insn-reverse.exp
6882 * gdb.reverse/machinestate-precsave.exp
6883 * gdb.reverse/machinestate.exp
6884 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6885 * gdb.reverse/pipe-reverse.exp
6886 * gdb.reverse/readv-reverse.exp
6887 * gdb.reverse/recvmsg-reverse.exp
6888 * gdb.reverse/rerun-prec.exp
6889 * gdb.reverse/s390-mvcle.exp
6890 * gdb.reverse/step-precsave.exp
6891 * gdb.reverse/step-reverse.exp
6892 * gdb.reverse/time-reverse.exp
6893 * gdb.reverse/until-precsave.exp
6894 * gdb.reverse/until-reverse.exp
6895 * gdb.reverse/waitpid-reverse.exp
6896 * gdb.reverse/watch-precsave.exp
6897 * gdb.reverse/watch-reverse.exp
6898 * gdb.rust/generics.exp
6899 * gdb.rust/methods.exp
6900 * gdb.rust/modules.exp
6901 * gdb.rust/simple.exp
6902 * gdb.server/connect-with-no-symbol-file.exp
6903 * gdb.server/ext-attach.exp
6904 * gdb.server/ext-restart.exp
6905 * gdb.server/ext-wrapper.exp
6906 * gdb.server/file-transfer.exp
6907 * gdb.server/server-exec-info.exp
6908 * gdb.server/server-kill.exp
6909 * gdb.server/server-mon.exp
6910 * gdb.server/wrapper.exp
6911 * gdb.stabs/exclfwd.exp
6912 * gdb.stabs/gdb11479.exp
6913 * gdb.threads/clone-new-thread-event.exp
6914 * gdb.threads/corethreads.exp
6915 * gdb.threads/current-lwp-dead.exp
6916 * gdb.threads/dlopen-libpthread.exp
6917 * gdb.threads/gcore-thread.exp
6918 * gdb.threads/sigstep-threads.exp
6919 * gdb.threads/watchpoint-fork.exp
6920 * gdb.trace/actions-changed.exp
6921 * gdb.trace/backtrace.exp
6922 * gdb.trace/change-loc.exp
6923 * gdb.trace/circ.exp
6924 * gdb.trace/collection.exp
6925 * gdb.trace/disconnected-tracing.exp
6926 * gdb.trace/ftrace.exp
6927 * gdb.trace/mi-trace-frame-collected.exp
6928 * gdb.trace/mi-trace-unavailable.exp
6929 * gdb.trace/mi-traceframe-changed.exp
6930 * gdb.trace/mi-tsv-changed.exp
6931 * gdb.trace/no-attach-trace.exp
6932 * gdb.trace/passc-dyn.exp
6933 * gdb.trace/qtro.exp
6934 * gdb.trace/range-stepping.exp
6935 * gdb.trace/read-memory.exp
6936 * gdb.trace/save-trace.exp
6937 * gdb.trace/signal.exp
6938 * gdb.trace/status-stop.exp
6939 * gdb.trace/tfile.exp
6940 * gdb.trace/trace-break.exp
6941 * gdb.trace/trace-buffer-size.exp
6942 * gdb.trace/trace-condition.exp
6943 * gdb.trace/tracefile-pseudo-reg.exp
6944 * gdb.trace/tstatus.exp
6945 * gdb.trace/unavailable.exp
6946 * gdb.trace/while-dyn.exp
6947 * gdb.trace/while-stepping.exp
6948
6949 2016-12-22 Doug Evans <xdje42@gmail.com>
6950
6951 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6952 and msymbols.
6953
6954 2016-12-19 Yao Qi <yao.qi@linaro.org>
6955
6956 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6957 (test_with_self): Don't call do_steps_and_nexts, and remove
6958 code about stepping into xmalloc.
6959
6960 2016-12-09 Yao Qi <yao.qi@linaro.org>
6961
6962 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6963
6964 2016-12-09 Yao Qi <yao.qi@linaro.org>
6965
6966 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6967
6968 2016-12-09 Pedro Alves <palves@redhat.com>
6969
6970 * gdb.base/all-architectures-0.exp: New file.
6971 * gdb.base/all-architectures-1.exp: New file.
6972 * gdb.base/all-architectures-2.exp: New file.
6973 * gdb.base/all-architectures-3.exp: New file.
6974 * gdb.base/all-architectures-4.exp: New file.
6975 * gdb.base/all-architectures-5.exp: New file.
6976 * gdb.base/all-architectures-6.exp: New file.
6977 * gdb.base/all-architectures-7.exp: New file.
6978 * gdb.base/all-architectures.exp.in: New file.
6979
6980 2016-12-09 Yao Qi <yao.qi@linaro.org>
6981
6982 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6983
6984 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6985
6986 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6987 possible.
6988 Remove useless pattern-matching code.
6989
6990 2016-12-02 Pedro Alves <palves@redhat.com>
6991
6992 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6993 procedure.
6994 (top level): Call it.
6995
6996 2016-12-02 Pedro Alves <palves@redhat.com>
6997
6998 * gdb.base/commands.exp (user_defined_command_args_stack_test):
6999 New procedure.
7000 (top level): Call it.
7001
7002 2016-12-02 Pedro Alves <palves@redhat.com>
7003
7004 PR cli/20559
7005 * gdb.base/commands.exp (user_defined_command_args_eval): New
7006 procedure.
7007 (top level): Call it.
7008
7009 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7010
7011 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7012 timeout handling.
7013
7014 2016-12-02 Tom Tromey <tom@tromey.com>
7015
7016 * gdb.dwarf2/main-subprogram.c: New file.
7017 * gdb.dwarf2/main-subprogram.exp: New file.
7018
7019 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7020
7021 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7022 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7023 gdb_test_no_output for a couple of cases.
7024 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7025
7026 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7027
7028 Fix test names and standardize compilation error messages throughout
7029 the following files:
7030
7031 * gdb.ada/start.exp
7032 * gdb.arch/alpha-step.exp
7033 * gdb.arch/e500-prologue.exp
7034 * gdb.arch/ftrace-insn-reloc.exp
7035 * gdb.arch/gdb1291.exp
7036 * gdb.arch/gdb1431.exp
7037 * gdb.arch/gdb1558.exp
7038 * gdb.arch/i386-dr3-watch.exp
7039 * gdb.arch/i386-sse-stack-align.exp
7040 * gdb.arch/ia64-breakpoint-shadow.exp
7041 * gdb.arch/pa-nullify.exp
7042 * gdb.arch/powerpc-aix-prologue.exp
7043 * gdb.arch/thumb-bx-pc.exp
7044 * gdb.base/annota1.exp
7045 * gdb.base/annota3.exp
7046 * gdb.base/arrayidx.exp
7047 * gdb.base/assign.exp
7048 * gdb.base/attach.exp
7049 * gdb.base/auxv.exp
7050 * gdb.base/bang.exp
7051 * gdb.base/bfp-test.exp
7052 * gdb.base/bigcore.exp
7053 * gdb.base/bitfields2.exp
7054 * gdb.base/break-fun-addr.exp
7055 * gdb.base/break-probes.exp
7056 * gdb.base/call-rt-st.exp
7057 * gdb.base/callexit.exp
7058 * gdb.base/catch-fork-kill.exp
7059 * gdb.base/charset.exp
7060 * gdb.base/checkpoint.exp
7061 * gdb.base/comprdebug.exp
7062 * gdb.base/constvars.exp
7063 * gdb.base/coredump-filter.exp
7064 * gdb.base/cursal.exp
7065 * gdb.base/cvexpr.exp
7066 * gdb.base/detach.exp
7067 * gdb.base/display.exp
7068 * gdb.base/dmsym.exp
7069 * gdb.base/dprintf-pending.exp
7070 * gdb.base/dso2dso.exp
7071 * gdb.base/dtrace-probe.exp
7072 * gdb.base/dump.exp
7073 * gdb.base/enum_cond.exp
7074 * gdb.base/exe-lock.exp
7075 * gdb.base/exec-invalid-sysroot.exp
7076 * gdb.base/execl-update-breakpoints.exp
7077 * gdb.base/exprs.exp
7078 * gdb.base/fileio.exp
7079 * gdb.base/find.exp
7080 * gdb.base/finish.exp
7081 * gdb.base/fixsection.exp
7082 * gdb.base/foll-vfork.exp
7083 * gdb.base/frame-args.exp
7084 * gdb.base/gcore.exp
7085 * gdb.base/gdb1250.exp
7086 * gdb.base/global-var-nested-by-dso.exp
7087 * gdb.base/gnu-ifunc.exp
7088 * gdb.base/hashline1.exp
7089 * gdb.base/hashline2.exp
7090 * gdb.base/hashline3.exp
7091 * gdb.base/hbreak-in-shr-unsupported.exp
7092 * gdb.base/huge.exp
7093 * gdb.base/infcall-input.exp
7094 * gdb.base/info-fun.exp
7095 * gdb.base/info-shared.exp
7096 * gdb.base/jit-simple.exp
7097 * gdb.base/jit-so.exp
7098 * gdb.base/jit.exp
7099 * gdb.base/jump.exp
7100 * gdb.base/label.exp
7101 * gdb.base/lineinc.exp
7102 * gdb.base/logical.exp
7103 * gdb.base/longjmp.exp
7104 * gdb.base/macscp.exp
7105 * gdb.base/miscexprs.exp
7106 * gdb.base/new-ui-echo.exp
7107 * gdb.base/new-ui-pending-input.exp
7108 * gdb.base/new-ui.exp
7109 * gdb.base/nodebug.exp
7110 * gdb.base/nofield.exp
7111 * gdb.base/offsets.exp
7112 * gdb.base/overlays.exp
7113 * gdb.base/pending.exp
7114 * gdb.base/pointers.exp
7115 * gdb.base/pr11022.exp
7116 * gdb.base/printcmds.exp
7117 * gdb.base/prologue.exp
7118 * gdb.base/ptr-typedef.exp
7119 * gdb.base/realname-expand.exp
7120 * gdb.base/relativedebug.exp
7121 * gdb.base/relocate.exp
7122 * gdb.base/remote.exp
7123 * gdb.base/reread.exp
7124 * gdb.base/return2.exp
7125 * gdb.base/savedregs.exp
7126 * gdb.base/sep.exp
7127 * gdb.base/sepdebug.exp
7128 * gdb.base/sepsymtab.exp
7129 * gdb.base/set-inferior-tty.exp
7130 * gdb.base/setshow.exp
7131 * gdb.base/shlib-call.exp
7132 * gdb.base/sigaltstack.exp
7133 * gdb.base/siginfo-addr.exp
7134 * gdb.base/signals.exp
7135 * gdb.base/signull.exp
7136 * gdb.base/sigrepeat.exp
7137 * gdb.base/so-impl-ld.exp
7138 * gdb.base/solib-display.exp
7139 * gdb.base/solib-overlap.exp
7140 * gdb.base/solib-search.exp
7141 * gdb.base/solib-symbol.exp
7142 * gdb.base/structs.exp
7143 * gdb.base/structs2.exp
7144 * gdb.base/symtab-search-order.exp
7145 * gdb.base/twice.exp
7146 * gdb.base/unload.exp
7147 * gdb.base/varargs.exp
7148 * gdb.base/watchpoint-solib.exp
7149 * gdb.base/watchpoint.exp
7150 * gdb.base/whatis.exp
7151 * gdb.base/wrong_frame_bt_full.exp
7152 * gdb.btrace/dlopen.exp
7153 * gdb.cell/ea-standalone.exp
7154 * gdb.cell/ea-test.exp
7155 * gdb.cp/dispcxx.exp
7156 * gdb.cp/gdb2384.exp
7157 * gdb.cp/method2.exp
7158 * gdb.cp/nextoverthrow.exp
7159 * gdb.cp/pr10728.exp
7160 * gdb.disasm/am33.exp
7161 * gdb.disasm/h8300s.exp
7162 * gdb.disasm/mn10300.exp
7163 * gdb.disasm/sh3.exp
7164 * gdb.dwarf2/dw2-dir-file-name.exp
7165 * gdb.fortran/complex.exp
7166 * gdb.fortran/library-module.exp
7167 * gdb.guile/scm-pretty-print.exp
7168 * gdb.guile/scm-symbol.exp
7169 * gdb.guile/scm-type.exp
7170 * gdb.guile/scm-value.exp
7171 * gdb.linespec/linespec.exp
7172 * gdb.mi/gdb701.exp
7173 * gdb.mi/gdb792.exp
7174 * gdb.mi/mi-breakpoint-changed.exp
7175 * gdb.mi/mi-dprintf-pending.exp
7176 * gdb.mi/mi-dprintf.exp
7177 * gdb.mi/mi-exit-code.exp
7178 * gdb.mi/mi-pending.exp
7179 * gdb.mi/mi-solib.exp
7180 * gdb.mi/new-ui-mi-sync.exp
7181 * gdb.mi/pr11022.exp
7182 * gdb.mi/user-selected-context-sync.exp
7183 * gdb.opt/solib-intra-step.exp
7184 * gdb.python/py-events.exp
7185 * gdb.python/py-finish-breakpoint.exp
7186 * gdb.python/py-mi.exp
7187 * gdb.python/py-prettyprint.exp
7188 * gdb.python/py-shared.exp
7189 * gdb.python/py-symbol.exp
7190 * gdb.python/py-template.exp
7191 * gdb.python/py-type.exp
7192 * gdb.python/py-value.exp
7193 * gdb.reverse/solib-precsave.exp
7194 * gdb.reverse/solib-reverse.exp
7195 * gdb.server/solib-list.exp
7196 * gdb.stabs/weird.exp
7197 * gdb.threads/reconnect-signal.exp
7198 * gdb.threads/stepi-random-signal.exp
7199 * gdb.trace/actions.exp
7200 * gdb.trace/ax.exp
7201 * gdb.trace/backtrace.exp
7202 * gdb.trace/change-loc.exp
7203 * gdb.trace/deltrace.exp
7204 * gdb.trace/ftrace-lock.exp
7205 * gdb.trace/ftrace.exp
7206 * gdb.trace/infotrace.exp
7207 * gdb.trace/mi-tracepoint-changed.exp
7208 * gdb.trace/packetlen.exp
7209 * gdb.trace/passcount.exp
7210 * gdb.trace/pending.exp
7211 * gdb.trace/range-stepping.exp
7212 * gdb.trace/report.exp
7213 * gdb.trace/stap-trace.exp
7214 * gdb.trace/tfind.exp
7215 * gdb.trace/trace-break.exp
7216 * gdb.trace/trace-condition.exp
7217 * gdb.trace/trace-enable-disable.exp
7218 * gdb.trace/trace-mt.exp
7219 * gdb.trace/tracecmd.exp
7220 * gdb.trace/tspeed.exp
7221 * gdb.trace/tsv.exp
7222 * lib/perftest.exp
7223
7224 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7225
7226 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7227 with gdb_test_no_output.
7228 Use command as test name.
7229
7230 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7231
7232 Fix test names starting with uppercase throughout the files.
7233
7234 * gdb.ada/assign_1.exp
7235 * gdb.ada/boolean_expr.exp
7236 * gdb.base/arrayidx.exp
7237 * gdb.base/del.exp
7238 * gdb.base/gcore-buffer-overflow.exp
7239 * gdb.base/testenv.exp
7240 * gdb.compile/compile.exp
7241 * gdb.python/py-framefilter-invalidarg.exp
7242 * gdb.python/py-framefilter.exp
7243
7244 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7245
7246 Fix test names starting with uppercase throughout the files.
7247
7248 * gdb.ada/array_return.exp
7249 * gdb.ada/expr_delims.exp
7250 * gdb.ada/mi_dyn_arr.exp
7251 * gdb.ada/mi_interface.exp
7252 * gdb.ada/mi_var_array.exp
7253 * gdb.ada/watch_arg.exp
7254 * gdb.arch/alpha-step.exp
7255 * gdb.arch/altivec-regs.exp
7256 * gdb.arch/e500-regs.exp
7257 * gdb.arch/powerpc-d128-regs.exp
7258 * gdb.base/arrayidx.exp
7259 * gdb.base/break.exp
7260 * gdb.base/checkpoint.exp
7261 * gdb.base/debug-expr.exp
7262 * gdb.base/dmsym.exp
7263 * gdb.base/radix.exp
7264 * gdb.base/sepdebug.exp
7265 * gdb.base/testenv.exp
7266 * gdb.base/watch_thread_num.exp
7267 * gdb.base/watchpoint-cond-gone.exp
7268 * gdb.cell/break.exp
7269 * gdb.cell/ea-cache.exp
7270 * gdb.compile/compile.exp
7271 * gdb.cp/gdb2495.exp
7272 * gdb.gdb/selftest.exp
7273 * gdb.gdb/xfullpath.exp
7274 * gdb.go/hello.exp
7275 * gdb.go/integers.exp
7276 * gdb.objc/basicclass.exp
7277 * gdb.pascal/hello.exp
7278 * gdb.pascal/integers.exp
7279 * gdb.python/py-breakpoint.exp
7280 * gdb.python/py-cmd.exp
7281 * gdb.python/py-linetable.exp
7282 * gdb.python/py-xmethods.exp
7283 * gdb.python/python.exp
7284 * gdb.reverse/consecutive-precsave.exp
7285 * gdb.reverse/finish-precsave.exp
7286 * gdb.reverse/i386-precsave.exp
7287 * gdb.reverse/machinestate-precsave.exp
7288 * gdb.reverse/sigall-precsave.exp
7289 * gdb.reverse/solib-precsave.exp
7290 * gdb.reverse/step-precsave.exp
7291 * gdb.reverse/until-precsave.exp
7292 * gdb.reverse/watch-precsave.exp
7293 * gdb.threads/leader-exit.exp
7294 * gdb.threads/pthreads.exp
7295 * gdb.threads/wp-replication.exp
7296 * gdb.trace/actions.exp
7297 * gdb.trace/mi-tsv-changed.exp
7298 * gdb.trace/tsv.exp
7299
7300 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7301
7302 Fix test names starting with uppercase throughout the files.
7303
7304 * gdb.arch/i386-bp_permanent.exp
7305 * gdb.arch/i386-gnu-cfi.exp
7306 * gdb.base/disasm-end-cu.exp
7307 * gdb.base/macscp.exp
7308 * gdb.base/pending.exp
7309 * gdb.base/watch_thread_num.exp
7310 * gdb.cp/exception.exp
7311 * gdb.cp/gdb2495.exp
7312 * gdb.cp/local.exp
7313 * gdb.python/py-evsignal.exp
7314 * gdb.python/python.exp
7315 * gdb.trace/tracecmd.exp
7316
7317 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7318
7319 Fix test names starting with uppercase throughout the files.
7320
7321 * gdb.base/charset.exp
7322 * gdb.base/eval.exp
7323 * gdb.base/multi-forks.exp
7324 * gdb.guile/scm-progspace.exp
7325 * gdb.opencl/datatypes.exp
7326 * gdb.python/py-block.exp
7327 * gdb.python/py-function.exp
7328 * gdb.python/py-symbol.exp
7329 * gdb.python/py-symtab.exp
7330 * gdb.python/py-xmethods.exp
7331 * gdb.reverse/break-precsave.exp
7332 * gdb.reverse/break-reverse.exp
7333 * gdb.reverse/consecutive-precsave.exp
7334 * gdb.reverse/consecutive-reverse.exp
7335 * gdb.reverse/finish-precsave.exp
7336 * gdb.reverse/finish-reverse-bkpt.exp
7337 * gdb.reverse/finish-reverse.exp
7338 * gdb.reverse/fstatat-reverse.exp
7339 * gdb.reverse/getresuid-reverse.exp
7340 * gdb.reverse/i386-precsave.exp
7341 * gdb.reverse/i386-reverse.exp
7342 * gdb.reverse/i386-sse-reverse.exp
7343 * gdb.reverse/i387-stack-reverse.exp
7344 * gdb.reverse/insn-reverse.exp
7345 * gdb.reverse/machinestate-precsave.exp
7346 * gdb.reverse/machinestate.exp
7347 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7348 * gdb.reverse/pipe-reverse.exp
7349 * gdb.reverse/readv-reverse.exp
7350 * gdb.reverse/recvmsg-reverse.exp
7351 * gdb.reverse/rerun-prec.exp
7352 * gdb.reverse/s390-mvcle.exp
7353 * gdb.reverse/sigall-precsave.exp
7354 * gdb.reverse/sigall-reverse.exp
7355 * gdb.reverse/solib-precsave.exp
7356 * gdb.reverse/solib-reverse.exp
7357 * gdb.reverse/step-precsave.exp
7358 * gdb.reverse/step-reverse.exp
7359 * gdb.reverse/time-reverse.exp
7360 * gdb.reverse/until-precsave.exp
7361 * gdb.reverse/until-reverse.exp
7362 * gdb.reverse/waitpid-reverse.exp
7363 * gdb.reverse/watch-precsave.exp
7364 * gdb.reverse/watch-reverse.exp
7365
7366 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7367
7368 Fix test names starting with uppercase throughout the files.
7369
7370 * gdb.arch/i386-mpx-simple_segv.exp
7371 * gdb.arch/i386-mpx.exp
7372 * gdb.arch/i386-permbkpt.exp
7373 * gdb.arch/pa-nullify.exp
7374 * gdb.arch/powerpc-d128-regs.exp
7375 * gdb.arch/vsx-regs.exp
7376 * gdb.base/bfp-test.exp
7377 * gdb.base/break.exp
7378 * gdb.base/breakpoint-shadow.exp
7379 * gdb.base/callfuncs.exp
7380 * gdb.base/charset.exp
7381 * gdb.base/commands.exp
7382 * gdb.base/completion.exp
7383 * gdb.base/dfp-test.exp
7384 * gdb.base/echo.exp
7385 * gdb.base/ending-run.exp
7386 * gdb.base/eval.exp
7387 * gdb.base/expand-psymtabs.exp
7388 * gdb.base/float128.exp
7389 * gdb.base/floatn.exp
7390 * gdb.base/foll-exec-mode.exp
7391 * gdb.base/gdb1056.exp
7392 * gdb.base/gdb11531.exp
7393 * gdb.base/kill-after-signal.exp
7394 * gdb.base/multi-forks.exp
7395 * gdb.base/overlays.exp
7396 * gdb.base/pending.exp
7397 * gdb.base/sepdebug.exp
7398 * gdb.base/testenv.exp
7399 * gdb.base/valgrind-db-attach.exp
7400 * gdb.base/watch_thread_num.exp
7401 * gdb.base/watchpoint-cond-gone.exp
7402 * gdb.base/watchpoint.exp
7403 * gdb.base/watchpoints.exp
7404 * gdb.cp/arg-reference.exp
7405 * gdb.cp/baseenum.exp
7406 * gdb.cp/operator.exp
7407 * gdb.cp/shadow.exp
7408 * gdb.dwarf2/dw2-op-out-param.exp
7409 * gdb.dwarf2/dw2-reg-undefined.exp
7410 * gdb.go/chan.exp
7411 * gdb.go/hello.exp
7412 * gdb.go/integers.exp
7413 * gdb.go/methods.exp
7414 * gdb.go/package.exp
7415 * gdb.guile/scm-parameter.exp
7416 * gdb.guile/scm-progspace.exp
7417 * gdb.guile/scm-value.exp
7418 * gdb.mi/mi-pending.exp
7419 * gdb.mi/user-selected-context-sync.exp
7420 * gdb.multi/multi-attach.exp
7421 * gdb.multi/tids.exp
7422 * gdb.opt/clobbered-registers-O2.exp
7423 * gdb.pascal/floats.exp
7424 * gdb.pascal/integers.exp
7425 * gdb.python/py-block.exp
7426 * gdb.python/py-events.exp
7427 * gdb.python/py-parameter.exp
7428 * gdb.python/py-symbol.exp
7429 * gdb.python/py-symtab.exp
7430 * gdb.python/py-type.exp
7431 * gdb.python/py-value.exp
7432 * gdb.python/py-xmethods.exp
7433 * gdb.python/python.exp
7434 * gdb.reverse/break-precsave.exp
7435 * gdb.reverse/consecutive-precsave.exp
7436 * gdb.reverse/finish-precsave.exp
7437 * gdb.reverse/i386-precsave.exp
7438 * gdb.reverse/machinestate-precsave.exp
7439 * gdb.reverse/sigall-precsave.exp
7440 * gdb.reverse/solib-precsave.exp
7441 * gdb.reverse/step-precsave.exp
7442 * gdb.reverse/until-precsave.exp
7443 * gdb.reverse/watch-precsave.exp
7444 * gdb.server/ext-attach.exp
7445 * gdb.server/ext-restart.exp
7446 * gdb.server/ext-run.exp
7447 * gdb.server/ext-wrapper.exp
7448 * gdb.stabs/gdb11479.exp
7449 * gdb.stabs/weird.exp
7450 * gdb.threads/attach-many-short-lived-threads.exp
7451 * gdb.threads/kill.exp
7452 * gdb.threads/watchpoint-fork.exp
7453
7454 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7455
7456 Fix test names starting with uppercase throughout all the files below.
7457
7458 * gdb.ada/array_return.exp
7459 * gdb.ada/catch_ex.exp
7460 * gdb.ada/info_exc.exp
7461 * gdb.ada/mi_catch_ex.exp
7462 * gdb.ada/mi_dyn_arr.exp
7463 * gdb.ada/mi_ex_cond.exp
7464 * gdb.ada/mi_exc_info.exp
7465 * gdb.ada/mi_interface.exp
7466 * gdb.ada/mi_task_arg.exp
7467 * gdb.ada/mi_task_info.exp
7468 * gdb.ada/mi_var_array.exp
7469 * gdb.arch/alpha-step.exp
7470 * gdb.arch/amd64-disp-step.exp
7471 * gdb.arch/arm-disp-step.exp
7472 * gdb.arch/disp-step-insn-reloc.exp
7473 * gdb.arch/e500-prologue.exp
7474 * gdb.arch/ftrace-insn-reloc.exp
7475 * gdb.arch/gdb1558.exp
7476 * gdb.arch/i386-bp_permanent.exp
7477 * gdb.arch/i386-disp-step.exp
7478 * gdb.arch/i386-float.exp
7479 * gdb.arch/i386-gnu-cfi.exp
7480 * gdb.arch/ia64-breakpoint-shadow.exp
7481 * gdb.arch/mips16-thunks.exp
7482 * gdb.arch/pa-nullify.exp
7483 * gdb.arch/powerpc-aix-prologue.exp
7484 * gdb.arch/powerpc-power.exp
7485 * gdb.arch/ppc-dfp.exp
7486 * gdb.arch/s390-tdbregs.exp
7487 * gdb.arch/spu-info.exp
7488 * gdb.arch/spu-ls.exp
7489 * gdb.arch/thumb-bx-pc.exp
7490 * gdb.base/advance.exp
7491 * gdb.base/annota-input-while-running.exp
7492 * gdb.base/arrayidx.exp
7493 * gdb.base/asmlabel.exp
7494 * gdb.base/async.exp
7495 * gdb.base/attach-wait-input.exp
7496 * gdb.base/auto-connect-native-target.exp
7497 * gdb.base/batch-preserve-term-settings.exp
7498 * gdb.base/bfp-test.exp
7499 * gdb.base/bigcore.exp
7500 * gdb.base/bp-permanent.exp
7501 * gdb.base/break-always.exp
7502 * gdb.base/break-fun-addr.exp
7503 * gdb.base/break-idempotent.exp
7504 * gdb.base/break-main-file-remove-fail.exp
7505 * gdb.base/break-probes.exp
7506 * gdb.base/break-unload-file.exp
7507 * gdb.base/break.exp
7508 * gdb.base/call-ar-st.exp
7509 * gdb.base/call-rt-st.exp
7510 * gdb.base/call-sc.exp
7511 * gdb.base/call-signal-resume.exp
7512 * gdb.base/call-strs.exp
7513 * gdb.base/callexit.exp
7514 * gdb.base/callfuncs.exp
7515 * gdb.base/catch-gdb-caused-signals.exp
7516 * gdb.base/catch-signal-siginfo-cond.exp
7517 * gdb.base/catch-syscall.exp
7518 * gdb.base/compare-sections.exp
7519 * gdb.base/cond-eval-mode.exp
7520 * gdb.base/condbreak-call-false.exp
7521 * gdb.base/consecutive-step-over.exp
7522 * gdb.base/cursal.exp
7523 * gdb.base/disabled-location.exp
7524 * gdb.base/disasm-end-cu.exp
7525 * gdb.base/display.exp
7526 * gdb.base/double-prompt-target-event-error.exp
7527 * gdb.base/dprintf-bp-same-addr.exp
7528 * gdb.base/dprintf-detach.exp
7529 * gdb.base/dprintf-next.exp
7530 * gdb.base/dprintf-non-stop.exp
7531 * gdb.base/dprintf-pending.exp
7532 * gdb.base/dso2dso.exp
7533 * gdb.base/ending-run.exp
7534 * gdb.base/enum_cond.exp
7535 * gdb.base/examine-backward.exp
7536 * gdb.base/exe-lock.exp
7537 * gdb.base/exec-invalid-sysroot.exp
7538 * gdb.base/execl-update-breakpoints.exp
7539 * gdb.base/execution-termios.exp
7540 * gdb.base/fileio.exp
7541 * gdb.base/fixsection.exp
7542 * gdb.base/foll-exec-mode.exp
7543 * gdb.base/foll-exec.exp
7544 * gdb.base/fork-running-state.exp
7545 * gdb.base/frame-args.exp
7546 * gdb.base/fullpath-expand.exp
7547 * gdb.base/func-ptr.exp
7548 * gdb.base/gcore-relro-pie.exp
7549 * gdb.base/gdb1090.exp
7550 * gdb.base/gdb1555.exp
7551 * gdb.base/global-var-nested-by-dso.exp
7552 * gdb.base/gnu-ifunc.exp
7553 * gdb.base/hbreak-in-shr-unsupported.exp
7554 * gdb.base/hbreak-unmapped.exp
7555 * gdb.base/hook-stop.exp
7556 * gdb.base/infcall-input.exp
7557 * gdb.base/info-fun.exp
7558 * gdb.base/info-shared.exp
7559 * gdb.base/interrupt-noterm.exp
7560 * gdb.base/jit-so.exp
7561 * gdb.base/jit.exp
7562 * gdb.base/line-symtabs.exp
7563 * gdb.base/list.exp
7564 * gdb.base/longjmp.exp
7565 * gdb.base/macscp.exp
7566 * gdb.base/max-value-size.exp
7567 * gdb.base/nodebug.exp
7568 * gdb.base/nofield.exp
7569 * gdb.base/overlays.exp
7570 * gdb.base/paginate-after-ctrl-c-running.exp
7571 * gdb.base/paginate-bg-execution.exp
7572 * gdb.base/paginate-inferior-exit.exp
7573 * gdb.base/pending.exp
7574 * gdb.base/pr11022.exp
7575 * gdb.base/printcmds.exp
7576 * gdb.base/ptr-typedef.exp
7577 * gdb.base/ptype.exp
7578 * gdb.base/randomize.exp
7579 * gdb.base/range-stepping.exp
7580 * gdb.base/realname-expand.exp
7581 * gdb.base/relativedebug.exp
7582 * gdb.base/remote.exp
7583 * gdb.base/savedregs.exp
7584 * gdb.base/sepdebug.exp
7585 * gdb.base/set-noassign.exp
7586 * gdb.base/shlib-call.exp
7587 * gdb.base/shreloc.exp
7588 * gdb.base/sigaltstack.exp
7589 * gdb.base/sigbpt.exp
7590 * gdb.base/siginfo-addr.exp
7591 * gdb.base/siginfo-obj.exp
7592 * gdb.base/siginfo-thread.exp
7593 * gdb.base/signest.exp
7594 * gdb.base/signull.exp
7595 * gdb.base/sigrepeat.exp
7596 * gdb.base/skip.exp
7597 * gdb.base/so-impl-ld.exp
7598 * gdb.base/solib-corrupted.exp
7599 * gdb.base/solib-disc.exp
7600 * gdb.base/solib-display.exp
7601 * gdb.base/solib-overlap.exp
7602 * gdb.base/solib-search.exp
7603 * gdb.base/solib-symbol.exp
7604 * gdb.base/source-execution.exp
7605 * gdb.base/sss-bp-on-user-bp-2.exp
7606 * gdb.base/sss-bp-on-user-bp.exp
7607 * gdb.base/stack-checking.exp
7608 * gdb.base/stale-infcall.exp
7609 * gdb.base/step-break.exp
7610 * gdb.base/step-line.exp
7611 * gdb.base/step-over-exit.exp
7612 * gdb.base/step-test.exp
7613 * gdb.base/structs.exp
7614 * gdb.base/sym-file.exp
7615 * gdb.base/symtab-search-order.exp
7616 * gdb.base/term.exp
7617 * gdb.base/type-opaque.exp
7618 * gdb.base/unload.exp
7619 * gdb.base/until-nodebug.exp
7620 * gdb.base/until.exp
7621 * gdb.base/unwindonsignal.exp
7622 * gdb.base/watch-cond.exp
7623 * gdb.base/watch-non-mem.exp
7624 * gdb.base/watch_thread_num.exp
7625 * gdb.base/watchpoint-reuse-slot.exp
7626 * gdb.base/watchpoint-solib.exp
7627 * gdb.base/watchpoint.exp
7628 * gdb.btrace/dlopen.exp
7629 * gdb.cell/arch.exp
7630 * gdb.cell/break.exp
7631 * gdb.cell/bt.exp
7632 * gdb.cell/core.exp
7633 * gdb.cell/data.exp
7634 * gdb.cell/dwarfaddr.exp
7635 * gdb.cell/ea-cache.exp
7636 * gdb.cell/ea-standalone.exp
7637 * gdb.cell/ea-test.exp
7638 * gdb.cell/f-regs.exp
7639 * gdb.cell/fork.exp
7640 * gdb.cell/gcore.exp
7641 * gdb.cell/mem-access.exp
7642 * gdb.cell/ptype.exp
7643 * gdb.cell/registers.exp
7644 * gdb.cell/sizeof.exp
7645 * gdb.cell/solib-symbol.exp
7646 * gdb.cell/solib.exp
7647 * gdb.compile/compile-tls.exp
7648 * gdb.cp/exception.exp
7649 * gdb.cp/gdb2495.exp
7650 * gdb.cp/local.exp
7651 * gdb.cp/mb-inline.exp
7652 * gdb.cp/mb-templates.exp
7653 * gdb.cp/pr10687.exp
7654 * gdb.cp/pr9167.exp
7655 * gdb.cp/scope-err.exp
7656 * gdb.cp/templates.exp
7657 * gdb.cp/virtfunc.exp
7658 * gdb.dwarf2/dw2-dir-file-name.exp
7659 * gdb.dwarf2/dw2-single-line-discriminators.exp
7660 * gdb.fortran/complex.exp
7661 * gdb.fortran/library-module.exp
7662 * gdb.guile/guile.exp
7663 * gdb.guile/scm-cmd.exp
7664 * gdb.guile/scm-frame-inline.exp
7665 * gdb.guile/scm-objfile.exp
7666 * gdb.guile/scm-pretty-print.exp
7667 * gdb.guile/scm-symbol.exp
7668 * gdb.guile/scm-type.exp
7669 * gdb.guile/scm-value.exp
7670 * gdb.linespec/keywords.exp
7671 * gdb.linespec/ls-errs.exp
7672 * gdb.linespec/macro-relative.exp
7673 * gdb.linespec/thread.exp
7674 * gdb.mi/mi-breakpoint-changed.exp
7675 * gdb.mi/mi-dprintf-pending.exp
7676 * gdb.mi/mi-fullname-deleted.exp
7677 * gdb.mi/mi-logging.exp
7678 * gdb.mi/mi-pending.exp
7679 * gdb.mi/mi-solib.exp
7680 * gdb.mi/new-ui-mi-sync.exp
7681 * gdb.mi/user-selected-context-sync.exp
7682 * gdb.multi/dummy-frame-restore.exp
7683 * gdb.multi/multi-arch-exec.exp
7684 * gdb.multi/remove-inferiors.exp
7685 * gdb.multi/watchpoint-multi-exit.exp
7686 * gdb.opt/solib-intra-step.exp
7687 * gdb.perf/backtrace.exp
7688 * gdb.perf/single-step.exp
7689 * gdb.perf/skip-command.exp
7690 * gdb.perf/skip-prologue.exp
7691 * gdb.perf/solib.exp
7692 * gdb.python/lib-types.exp
7693 * gdb.python/py-as-string.exp
7694 * gdb.python/py-bad-printers.exp
7695 * gdb.python/py-block.exp
7696 * gdb.python/py-breakpoint.exp
7697 * gdb.python/py-cmd.exp
7698 * gdb.python/py-events.exp
7699 * gdb.python/py-evthreads.exp
7700 * gdb.python/py-finish-breakpoint.exp
7701 * gdb.python/py-finish-breakpoint2.exp
7702 * gdb.python/py-frame-inline.exp
7703 * gdb.python/py-frame.exp
7704 * gdb.python/py-inferior.exp
7705 * gdb.python/py-infthread.exp
7706 * gdb.python/py-mi.exp
7707 * gdb.python/py-objfile.exp
7708 * gdb.python/py-pp-maint.exp
7709 * gdb.python/py-pp-registration.exp
7710 * gdb.python/py-prettyprint.exp
7711 * gdb.python/py-recurse-unwind.exp
7712 * gdb.python/py-shared.exp
7713 * gdb.python/py-symbol.exp
7714 * gdb.python/py-symtab.exp
7715 * gdb.python/py-template.exp
7716 * gdb.python/py-type.exp
7717 * gdb.python/py-unwind-maint.exp
7718 * gdb.python/py-unwind.exp
7719 * gdb.python/py-value.exp
7720 * gdb.python/python.exp
7721 * gdb.reverse/finish-reverse-bkpt.exp
7722 * gdb.reverse/insn-reverse.exp
7723 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7724 * gdb.reverse/solib-precsave.exp
7725 * gdb.reverse/solib-reverse.exp
7726 * gdb.stabs/gdb11479.exp
7727 * gdb.stabs/weird.exp
7728 * gdb.threads/fork-child-threads.exp
7729 * gdb.threads/fork-plus-threads.exp
7730 * gdb.threads/fork-thread-pending.exp
7731 * gdb.threads/forking-threads-plus-breakpoint.exp
7732 * gdb.threads/hand-call-in-threads.exp
7733 * gdb.threads/interrupted-hand-call.exp
7734 * gdb.threads/linux-dp.exp
7735 * gdb.threads/local-watch-wrong-thread.exp
7736 * gdb.threads/next-while-other-thread-longjmps.exp
7737 * gdb.threads/non-ldr-exit.exp
7738 * gdb.threads/pending-step.exp
7739 * gdb.threads/print-threads.exp
7740 * gdb.threads/process-dies-while-detaching.exp
7741 * gdb.threads/process-dies-while-handling-bp.exp
7742 * gdb.threads/pthreads.exp
7743 * gdb.threads/queue-signal.exp
7744 * gdb.threads/reconnect-signal.exp
7745 * gdb.threads/signal-command-handle-nopass.exp
7746 * gdb.threads/signal-command-multiple-signals-pending.exp
7747 * gdb.threads/signal-delivered-right-thread.exp
7748 * gdb.threads/signal-sigtrap.exp
7749 * gdb.threads/sigthread.exp
7750 * gdb.threads/staticthreads.exp
7751 * gdb.threads/stepi-random-signal.exp
7752 * gdb.threads/thread-unwindonsignal.exp
7753 * gdb.threads/thread_check.exp
7754 * gdb.threads/thread_events.exp
7755 * gdb.threads/tid-reuse.exp
7756 * gdb.threads/tls-nodebug.exp
7757 * gdb.threads/tls-shared.exp
7758 * gdb.threads/tls-so_extern.exp
7759 * gdb.threads/tls.exp
7760 * gdb.threads/wp-replication.exp
7761 * gdb.trace/actions-changed.exp
7762 * gdb.trace/actions.exp
7763 * gdb.trace/backtrace.exp
7764 * gdb.trace/change-loc.exp
7765 * gdb.trace/collection.exp
7766 * gdb.trace/deltrace.exp
7767 * gdb.trace/disconnected-tracing.exp
7768 * gdb.trace/entry-values.exp
7769 * gdb.trace/ftrace-lock.exp
7770 * gdb.trace/ftrace.exp
7771 * gdb.trace/infotrace.exp
7772 * gdb.trace/mi-trace-frame-collected.exp
7773 * gdb.trace/mi-trace-unavailable.exp
7774 * gdb.trace/mi-traceframe-changed.exp
7775 * gdb.trace/mi-tracepoint-changed.exp
7776 * gdb.trace/mi-tsv-changed.exp
7777 * gdb.trace/no-attach-trace.exp
7778 * gdb.trace/packetlen.exp
7779 * gdb.trace/passc-dyn.exp
7780 * gdb.trace/passcount.exp
7781 * gdb.trace/pending.exp
7782 * gdb.trace/pr16508.exp
7783 * gdb.trace/qtro.exp
7784 * gdb.trace/range-stepping.exp
7785 * gdb.trace/read-memory.exp
7786 * gdb.trace/report.exp
7787 * gdb.trace/save-trace.exp
7788 * gdb.trace/signal.exp
7789 * gdb.trace/stap-trace.exp
7790 * gdb.trace/status-stop.exp
7791 * gdb.trace/strace.exp
7792 * gdb.trace/tfile.exp
7793 * gdb.trace/tfind.exp
7794 * gdb.trace/trace-break.exp
7795 * gdb.trace/trace-condition.exp
7796 * gdb.trace/trace-enable-disable.exp
7797 * gdb.trace/trace-mt.exp
7798 * gdb.trace/tracecmd.exp
7799 * gdb.trace/tracefile-pseudo-reg.exp
7800 * gdb.trace/tspeed.exp
7801 * gdb.trace/tstatus.exp
7802 * gdb.trace/tsv.exp
7803 * gdb.trace/unavailable.exp
7804 * gdb.trace/while-dyn.exp
7805 * gdb.trace/while-stepping.exp
7806 * lib/gdb-guile.exp
7807 * lib/gdb.exp
7808 * lib/mi-support.exp
7809 * lib/pascal.exp
7810 * lib/perftest.exp
7811 * lib/prelink-support.exp
7812 * lib/selftest-support.exp
7813
7814 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7815
7816 * Makefile.in: Include disable-implicit-rules.mk.
7817
7818 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7819
7820 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7821 non-byte-aligned bit fields.
7822
7823 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7824
7825 PR gdb/12616
7826 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7827 respects the DW_AT_data_bit_offset attribute.
7828
7829 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7830
7831 * gdb.base/default.exp: Fix output of "set language".
7832
7833 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7834
7835 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7836 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7837 make.
7838 * configure.ac: Remove checks for the make program.
7839 * configure: Re-generate.
7840
7841 2016-11-16 Kevin Buettner <kevinb@redhat.com>
7842
7843 * gdb.python/py-recurse-unwind.c (main): Add loop.
7844 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7845 to read_register() and gdb.parse_and_eval(). Make each code
7846 call a separate case that can be individually tested.
7847 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7848 proc. Call cont_and_backtrace for each of the code paths that
7849 we want to test in the unwinder.
7850
7851 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7852
7853 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7854 the definition of struct S.
7855
7856 2016-11-11 Catherine Moore <clm@codesourcery.com>
7857
7858 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7859
7860 2016-11-09 Pedro Alves <palves@redhat.com>
7861
7862 * gdb.base/commands.exp (runto_or_return): New procedure.
7863 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7864 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7865 (progvar_simple_while_test, progvar_complex_if_while_test)
7866 (if_while_breakpoint_command_test)
7867 (infrun_breakpoint_command_test, breakpoint_command_test)
7868 (user_defined_command_test, watchpoint_command_test)
7869 (test_command_prompt_position, redefine_hook_test)
7870 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7871 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7872 multi_line_input and multi_line. Remove gdb_expect and
7873 gdb_stop_suppressing_tests uses.
7874 * lib/gdb.exp (valnum_re): New global.
7875 (multi_line_input): New procedure.
7876
7877 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7878
7879 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7880 Remove.
7881 (test_setup): Define with proc_with_prefix.
7882 (test_cli_inferior): Likewise.
7883 (test_cli_thread): Likewise.
7884 (test_cli_frame): Likewise.
7885 (test_cli_select_frame): Likewise.
7886 (test_cli_up_down): Likewise.
7887 (test_mi_thread_select): Likewise.
7888 (test_mi_stack_select_frame): Likewise.
7889 (test_cli_in_mi_inferior): Likewise.
7890 (test_cli_in_mi_thread): Likewise.
7891 (test_cli_in_mi_frame): Likewise.
7892 (top level): Do not use with_test_prefix_procname.
7893
7894 2016-11-09 Pedro Alves <palves@redhat.com>
7895
7896 * gdb.base/commands.exp (gdbvar_simple_if_test)
7897 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7898 (progvar_simple_if_test, progvar_simple_while_test)
7899 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7900 (infrun_breakpoint_command_test, breakpoint_command_test)
7901 (user_defined_command_test, watchpoint_command_test)
7902 (test_command_prompt_position, deprecated_command_test)
7903 (bp_deleted_in_command, temporary_breakpoint_commands)
7904 (stray_arg0_test, source_file_with_indented_comment)
7905 (recursive_source_test, if_commands_test)
7906 (error_clears_commands_left, redefine_hook_test)
7907 (redefine_backtrace_test): Use proc_with_prefix.
7908 * lib/gdb.exp (proc_with_prefix): New proc.
7909
7910 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7911
7912 * gdb.base/tui-layout.c: New file.
7913 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7914 disassembly window contains very long lines.
7915
7916 2016-11-08 Tom Tromey <tom@tromey.com>
7917
7918 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7919 depend on Python 2.
7920
7921 2016-11-08 Tom Tromey <tom@tromey.com>
7922
7923 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7924 New method.
7925
7926 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7927
7928 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7929
7930 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7931
7932 * gdb.rust/simple.rs: Add test for univariant enums without
7933 discriminants and for encoded struct-like enums.
7934
7935 2016-10-28 Pedro Alves <palves@redhat.com>
7936
7937 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7938 gdb_test_multiple, tighten regexps and match symtabs and line
7939 tables incrementally.
7940
7941 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7942
7943 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7944 general.
7945
7946 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7947
7948 * gdb.base/exec-invalid-sysroot.exp: New file.
7949
7950 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7951
7952 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7953
7954 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7955
7956 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7957
7958 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7959
7960 * gdb.base/killed-outside.exp: Remove $options from a call to
7961 `prepare_for_testing'.
7962
7963 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7964
7965 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7966 Change test message.
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 Update comment.
7972
7973 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7974
7975 * gdb.trace/mi-trace-save.exp: New file.
7976
7977 2016-10-13 Yao Qi <yao.qi@linaro.org>
7978
7979 * gdb.base/code_elim.exp (get_var_address): Remove.
7980 * gdb.base/relocate.exp: Likewise.
7981 * gdb.base/shreloc.exp: Likewise.
7982 * lib/gdb.exp (get_var_address): New.
7983
7984 2016-10-13 Yao Qi <yao.qi@linaro.org>
7985
7986 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7987 floating point tests if $skip_float_test is false.
7988
7989 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7990
7991 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7992 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7993 argc values.
7994 Add 1 to argc so we guarantee distinct initial/modified argc values.
7995
7996 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7997
7998 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7999
8000 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8001
8002 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8003 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8004 * gdb.arch/vsx-regs.exp: Likewise.
8005
8006 2016-10-07 Yao Qi <yao.qi@linaro.org>
8007
8008 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8009
8010 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8011
8012 * gdb.python/python.exp: Test decode_line("*0").
8013
8014 2016-10-06 Doug Evans <dje@google.com>
8015
8016 * gdb.python/py-value.exp (test_value_creation): Add test for large
8017 unsigned 64-bit value.
8018
8019 2016-10-06 Tom Tromey <tom@tromey.com>
8020
8021 * gdb.compile/compile.exp: Change java tests to rust.
8022 * gdb.base/setshow.exp: Change java tests to rust.
8023 * gdb.base/default.exp: Remove java from language list.
8024 * README (Examples): Update language example.
8025 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8026 test.
8027 * lib/gdb.exp (skip_java_tests): Remove.
8028 * lib/java.exp: Remove.
8029 * gdb.java: Remove.
8030
8031 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8032
8033 * gdb.arch/mips-fcr.exp: New test.
8034 * gdb.arch/mips-fcr.c: Source for the new test.
8035
8036 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8037
8038 * gdb.base/solib-disc.exp: Use `standard_output_file'
8039 throughout.
8040
8041 2016-10-06 Pedro Alves <palves@redhat.com>
8042
8043 * gdb.base/jit-simple-dl.c: New file.
8044 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8045 * gdb.base/jit-simple.c: ... this.
8046 * gdb.base/jit-simple.exp (jit_run): Delete.
8047 (build_jit): New proc.
8048 (jit_test_reread): Recompile either the main program or the shared
8049 library, depending on what is being tested. Skip changing address
8050 if caller wants to. Compare before/after addresses. If testing
8051 standalone, explicitly load the binary. Test "maint info
8052 breakpoints".
8053 (top level): Add "standalone vs shared lib" and "change address"
8054 vs "same address" axes.
8055
8056 2016-10-06 Pedro Alves <palves@redhat.com>
8057
8058 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8059 call.
8060 (jit_run): Delete.
8061 (jit_test_reread): Use with_test_prefix. Reload the main binary
8062 explicitly. Compare the before/after addresses of the JIT
8063 descriptor.
8064
8065 2016-08-15 Doug Evans <dje@google.com>
8066
8067 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8068 for single bitfields is bool.
8069 * gdb.xml/tdesc-regs.exp: Ditto.
8070
8071 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8072
8073 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8074
8075 2016-10-05 Yao Qi <yao.qi@linaro.org>
8076
8077 * lib/gdb.exp (support_complex_tests): Return zero if
8078 gdb_skip_float_test return true.
8079
8080 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8081 Simon Marchi <simon.marchi@ericsson.com>
8082
8083 PR gdb/20487
8084 * gdb.mi/user-selected-context-sync.exp: New file.
8085 * gdb.mi/user-selected-context-sync.c: New file.
8086
8087 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8088 Simon Marchi <simon.marchi@ericsson.com>
8089
8090 PR gdb/20487
8091 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8092 =thread-select-event check.
8093
8094 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8095
8096 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8097 the compulsory L operand changes.
8098 * gdb.arch/powerpc-power.s: Likewise.
8099
8100 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8101
8102 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8103 * gdb.base/jit-attach-pie.c: New file.
8104 * gdb.base/jit-attach-pie.exp: New file.
8105
8106 2016-09-28 Pedro Alves <palves@redhat.com>
8107
8108 * gdb.base/infcall-input.c: New file.
8109 * gdb.base/infcall-input.exp: New file.
8110
8111 2016-09-22 Yao Qi <yao.qi@linaro.org>
8112
8113 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8114 (gdb_exit): Rename it to ...
8115 (gdbserver_gdb_exit): ... Close GDBserver.
8116 (gdb_exit): New proc, call gdbserver_gdb_exit.
8117 (mi_gdb_exit): Likewise.
8118
8119 2016-09-22 Yao Qi <yao.qi@linaro.org>
8120
8121 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8122 path.
8123 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8124 Remove duplication.
8125
8126 2016-09-22 Yao Qi <yao.qi@linaro.org>
8127
8128 * lib/gdbserver-support.exp: Check the existence of
8129 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8130
8131 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8132
8133 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8134
8135 2016-09-21 Tom Tromey <tom@tromey.com>
8136
8137 PR gdb/20604:
8138 * gdb.base/quit.exp: New file.
8139
8140 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8141
8142 * .gitignore: New file.
8143
8144 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8145
8146 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8147 throughout.
8148
8149 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8150
8151 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8152
8153 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8154
8155 * gdb.cp/casts.cc (decltype): Move it ...
8156 (main): ... with its call to ...
8157 * gdb.cp/casts03.cc: ... a new file.
8158 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8159
8160 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8161
8162 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8163
8164 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8165
8166 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8167 and sync up the test with tests in gas/testsuite/gas/ppc.
8168 * gdb.arch/powerpc-power.exp: Likewise.
8169
8170 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8171
8172 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8173
8174 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8175 Jan Kratochvil <jan.kratochvil@redhat.com>
8176
8177 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8178 make m1's definition to be different from m2's. Use 'dummy' as an
8179 argument for probe 'two'.
8180
8181 2016-09-10 Jon Beniston <jon@beniston.com>
8182
8183 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8184 for sim target.
8185
8186 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8187
8188 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8189 variable declaration.
8190 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8191 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8192 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8193 received HWCAP as its argument.
8194
8195 2016-09-06 Pedro Alves <palves@redhat.com>
8196
8197 * gdb.base/new-ui-pending-input.c: New file.
8198 * gdb.base/new-ui-pending-input.exp: New file.
8199 * gdb.exp (clear_gdb_spawn_id): New procedure.
8200 (with_spawn_id): Check whether gdb_spawn_id exists before
8201 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8202 on exit.
8203
8204 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8205
8206 * gdb.base/float128.c: New file.
8207 * gdb.base/float128.exp: Likewise.
8208 * gdb.base/floatn.c: Likewise.
8209 * gdb.base/floatn.exp: Likewise.
8210
8211 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8212
8213 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8214
8215 2016-09-05 Pedro Alves <palves@redhat.com>
8216
8217 PR backtrace/19927
8218 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8219 unwinders are immediately called as side effect of "source" or
8220 "disable unwinder" commands.
8221 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8222
8223 2016-09-02 Yao Qi <yao.qi@linaro.org>
8224
8225 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8226 is true and $type is "float" or "double".
8227
8228 2016-09-02 Yao Qi <yao.qi@linaro.org>
8229
8230 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8231 true.
8232 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8233 * gdb.base/call-rt-st.exp: Likewise.
8234 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8235 return value instead of gdb,skip_float_test.
8236 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8237 (do_function_calls): Use its return value instead of
8238 gdb,skip_float_test.
8239 * gdb.base/finish.exp: Likewise.
8240 * gdb.base/funcargs.exp: Likewise.
8241 * gdb.base/return.exp: Likewise.
8242 * gdb.base/return2.exp: Likewise.
8243 * gdb.base/varargs.exp: Likewise.
8244 * lib/gdb.exp (gdb_skip_float_test): Change it to
8245 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8246
8247 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8248
8249 * gdb.multi/tids.exp: Test "thread apply all".
8250
8251 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8252
8253 * gdb.base/default.exp (tty): Remove.
8254
8255 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8256
8257 * gdb.python/py-recurse-unwind.c: New file.
8258 * gdb.python/py-recurse-unwind.py: New file.
8259 * gdb.python/py-recurse-unwind.exp: New file.
8260
8261 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8262
8263 * gdb.base/set-inferior-tty.exp: New file.
8264 * gdb.base/set-inferior-tty.c: New file.
8265
8266 2016-08-23 Pedro Alves <palves@redhat.com>
8267
8268 PR gdb/20494
8269 * gdb.base/new-ui-echo.c: New file.
8270 * gdb.base/new-ui-echo.exp: New file.
8271
8272 2016-08-23 Yao Qi <yao.qi@linaro.org>
8273
8274 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8275 gdbserver_spawn.
8276 * gdb.server/connect-without-multi-process.exp (do_test):
8277 Likewise.
8278
8279 2016-08-23 Yao Qi <yao.qi@linaro.org>
8280
8281 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8282 standalone_txt. Delete gdb_txt and standalone_txt on host
8283 and target. Spawn the binary on target. Copy files from
8284 target to host.
8285
8286 2016-08-22 Pedro Alves <palves@redhat.com>
8287
8288 PR gdb/20505
8289 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8290 with_test_prefix. Factor out bits to ...
8291 (test_no_vdso): ... this new procedure.
8292
8293 2016-08-19 Carl Love <cel@us.ibm.com>
8294
8295 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8296 maintaining separate logic for constructing the output path.
8297 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8298 * gdb.arch/ppc-dfp.exp: Likewise.
8299 * gdb.arch/ppc-fp.exp: Likewise.
8300 * gdb.arch/vsx-regs.exp: Likewise.
8301 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8302 binprefix for generating the additional binary files.
8303
8304 2016-08-19 Pedro Alves <palves@redhat.com>
8305
8306 * gdb.trace/mi-trace-frame-collected.exp
8307 (test_trace_frame_collected): On x32, expect two registers.
8308
8309 2016-08-18 Carl Love <cel@us.ibm.com>
8310
8311 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8312 and sync up the test with tests in gas/testsuite/gas/ppc.
8313 * gdb.arch/powerpc-power.exp: Likewise.
8314
8315 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8316
8317 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8318 expected error message.
8319
8320 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8321
8322 * gdb.multi/remove-inferiors.exp: New file.
8323 * gdb.multi/remove-inferiors.c: New file.
8324
8325 2016-08-12 Yao Qi <yao.qi@linaro.org>
8326
8327 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8328 argument list.
8329
8330 2016-08-10 Pedro Alves <palves@redhat.com>
8331
8332 PR gdb/19187
8333 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8334 setup_kfails.
8335
8336 2016-08-09 Pedro Alves <palves@redhat.com>
8337 Simon Marchi <simon.marchi@ericsson.com>
8338
8339 PR gdb/20418
8340 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8341 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8342
8343 2016-08-09 Pedro Alves <palves@redhat.com>
8344
8345 PR mi/20431
8346 * gdb.mi/mi-cmd-error.exp: New file.
8347
8348 2016-08-09 Pedro Alves <palves@redhat.com>
8349
8350 PR gdb/18653
8351 * gdb.base/signals-state-child.c: New file.
8352 * gdb.base/signals-state-child.exp: New file.
8353 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8354
8355 2016-08-09 Pedro Alves <palves@redhat.com>
8356
8357 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8358
8359 2016-08-03 Tom Tromey <tom@tromey.com>
8360
8361 PR python/18565:
8362 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8363
8364 2016-08-01 Yao Qi <yao.qi@linaro.org>
8365
8366 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8367 variable mode to "multi-process" if $multi_process is 1, otherwise
8368 set it to "single-process".
8369
8370 2016-08-01 Yao Qi <yao.qi@linaro.org>
8371
8372 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8373 * gdb.cp/cpexprs.exp: Likewise.
8374 * gdb.cp/m-static.exp: Likewise.
8375
8376 2016-07-26 Tom Tromey <tom@tromey.com>
8377
8378 PR python/20190:
8379 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8380 test.
8381
8382 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8383
8384 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8385 selecting assembly source files.
8386 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8387 assembly source files.
8388 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8389 assembly source files.
8390 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8391 selecting assembly source files.
8392
8393 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8394
8395 * gdb.base/new-ui.exp (do_test_invalid_args): New
8396 procedure.
8397
8398 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8399
8400 * gdb.btrace/reconnect.c: New file.
8401 * gdb.btrace/reconnect.exp: New file.
8402
8403 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8404
8405 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8406 to test_catch_syscall_group.
8407 (test_catch_syscall_group): New.
8408
8409 2016-07-21 Tom Tromey <tom@tromey.com>
8410
8411 * gdb.rust/simple.rs (main): Use empty struct expression.
8412 * gdb.rust/simple.exp: Add tests for empty struct expression.
8413
8414 2016-07-21 Yao Qi <yao.qi@linaro.org>
8415
8416 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8417 if gdb_skip_xml_test is true on some targets.
8418
8419 2016-07-21 Yao Qi <yao.qi@linaro.org>
8420
8421 * gdb.server/solib-list.exp: Unset last_loaded_file.
8422
8423 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8424
8425 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8426 "step into captured_main (args)".
8427
8428 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8429
8430 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8431
8432 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8433
8434 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8435
8436 2016-07-19 Pedro Alves <palves@redhat.com>
8437
8438 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8439 * gdb.opt/inline-bt.exp: Likewise.
8440 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8441 additional_flags=-Winline.
8442 * gdb.opt/inline-locals.exp: Likewise.
8443 * gdb.opt/inline-markers.c (ATTR): Define.
8444 (inlined_fn): Use it.
8445
8446 2016-07-19 Yao Qi <yao.qi@linaro.org>
8447
8448 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8449 (test_with_self): Remove some code. Remove argument executable.
8450 (top-level): Use do_self_tests.
8451
8452 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8453 Don Breazeal <donb@codesourcery.com>
8454
8455 * gdb.base/maint.exp: Escape paths used in regular expressions.
8456 * gdb.stabs/weird.exp: Likewise.
8457
8458 2016-07-13 Tom Tromey <tom@tromey.com>
8459
8460 PR python/15620, PR python/18620:
8461 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8462 (test_bkpt_events): New procs.
8463
8464 2016-07-13 Tom Tromey <tom@tromey.com>
8465
8466 PR python/17698:
8467 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8468 test.
8469 (test_watchpoints): Likewise.
8470 (test_bkpt_pending): New proc.
8471
8472 2016-07-13 Tom Tromey <tom@tromey.com>
8473
8474 PR cli/18053:
8475 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8476 completion test.
8477
8478 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8479
8480 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8481 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8482 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8483 f_label.
8484 (g): Rename g_end_lbl to g_label.
8485 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8486 low_pc and high_pc.
8487 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8488
8489 2016-07-12 Tom Tromey <tom@tromey.com>
8490
8491 PR python/19293:
8492 * gdb.python/py-unwind-maint.exp: Update tests.
8493
8494 2016-07-12 Yao Qi <yao.qi@linaro.org>
8495
8496 * lib/selftest-support.exp (selftest_setup): Match the output
8497 when captured_main is inlined.
8498
8499 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8500
8501 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8502 New variables.
8503 (print this%a, print this%b, print this): New tests.
8504 * gdb.fortran/derived-types.f90 (this): New object and
8505 initialization.
8506
8507 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8508
8509 * gdb.ada/arraydim.exp: Remove extra directory level in build
8510 directory.
8511
8512 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8513
8514 * lib/ada.exp: Remove extra directory level in build directory.
8515 * gdb.ada/cond_lang.exp: Likewise.
8516 * gdb.ada/exec_changed.exp: Likewise.
8517 * gdb.ada/lang_switch.exp: Likewise.
8518
8519 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8520
8521 * simple.rs: Add test for raw pointer subscripting.
8522 * simple.exp: Add test expectations.
8523
8524 2016-07-05 Yao Qi <yao.qi@linaro.org>
8525
8526 * gdb.mi/mi-reverse.exp: Match =record-started output.
8527
8528 2016-07-01 Pedro Alves <palves@redhat.com>
8529
8530 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8531 procedure.
8532 (jit_reader_test): Test the jit reader's unwinder.
8533 * gdb.base/jithost.c (jit_function_00_code): New global.
8534 (main): Use memcpy to fill in the mmapped code, instead of poking
8535 bytes manually here.
8536 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8537 value.
8538 (read_debug_info): Save the function's range.
8539 (read_sp): New function.
8540 (unwind_frame): Use it. Also unwind RBP.
8541 (get_frame_id): Use read_sp.
8542 (gdb_init_reader): Use calloc instead of malloc.
8543 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8544 parameter. Use gdb_test_multiple.
8545
8546 2016-07-01 Pedro Alves <palves@redhat.com>
8547 Antoine Tremblay <antoine.tremblay@ericsson.com>
8548
8549 * gdb.threads/process-dies-while-detaching.c: New file.
8550 * gdb.threads/process-dies-while-detaching.exp: New file.
8551
8552 2016-07-01 Pedro Alves <palves@redhat.com>
8553
8554 * gdb.multi/watchpoint-multi-exit.c: New file.
8555 * gdb.multi/watchpoint-multi-exit.exp: New file.
8556
8557 2016-06-30 Pedro Alves <palves@redhat.com>
8558
8559 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8560 unset inferior_spawn_id.
8561
8562 2016-06-30 Pedro Alves <palves@redhat.com>
8563
8564 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8565 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8566
8567 2016-06-29 Yao Qi <yao.qi@linaro.org>
8568
8569 * gdb.base/return.c: Add copyright header.
8570
8571 2016-06-29 Tom Tromey <tom@tromey.com>
8572
8573 PR python/20129:
8574 * gdb.python/py-framefilter.exp: Add tests for setting priority
8575 and disabling of non-existent frame filter.
8576
8577 2016-06-29 Yao Qi <yao.qi@linaro.org>
8578
8579 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8580 0x0f07ff.
8581
8582 2016-06-28 Yao Qi <yao.qi@linaro.org>
8583
8584 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8585 triplets. Start gdb, execute catch syscall, and continue. Check
8586 gdb's output to determine catch syscall is supported.
8587
8588 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8589
8590 * gdb.rust/simple.rs: Add test for returning unit in a function.
8591 * gdb.rust/simple.exp: Add expectation for functions returning
8592 unit.
8593
8594 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8595
8596 * gdb.python/py-breakpoint-create-fail.c,
8597 gdb.python/py-breakpoint-create-fail.exp,
8598 gdb.python/py-breakpoint-create-fail.py: New testcase.
8599
8600 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8601
8602 PR gdb/20239
8603 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8604 * gdb.rust/simple.exp: Add test expectations for new NonZero
8605 tests.
8606
8607 2016-06-24 David Taylor <dtaylor@emc.com>
8608
8609 * gdb.base/offsets.exp: New file.
8610 * gdb.base/offsets.c: New file.
8611
8612 2016-06-23 Tom Tromey <tom@tromey.com>
8613
8614 PR gdb/16483:
8615 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8616 before any filters are loaded.
8617
8618 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8619
8620 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8621 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8622 structs.
8623 * gdb.fortran/derived-type-function.exp: New file.
8624 * gdb.fortran/derived-type-function.f90: New file.
8625
8626
8627 2016-06-21 Pedro Alves <palves@redhat.com>
8628
8629 * gdb.base/new-ui.exp: New file.
8630 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8631 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8632 (with_spawn_id): New procedure.
8633
8634 2016-06-21 Pedro Alves <palves@redhat.com>
8635
8636 * gdb.mi/mi-exec-run.exp: New file.
8637
8638 2016-06-21 Pedro Alves <palves@redhat.com>
8639
8640 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8641 breakpoint command's output on the main UI.
8642 (test_break): New procedure, factored out from calls in the top
8643 level.
8644 (top level): Use foreach_with_prefix to test MI as main UI and as
8645 separate UI.
8646
8647 2016-06-21 Pedro Alves <palves@redhat.com>
8648
8649 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8650 (test_awatch_creation_and_listing)
8651 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8652 Remove 'type' parameter.
8653 (test_watchpoint_all): New parameter mi_mode. Remove
8654 with_test_prefix.
8655 (top level): Use foreach_with_prefix, and add main/separate UI MI
8656 testing axis.
8657
8658 2016-06-21 Pedro Alves <palves@redhat.com>
8659
8660 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8661 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8662 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8663 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8664 (gdb_main_spawn_id, mi_spawn_id): Declare and
8665 comment.
8666 (mi_create_inferior_pty): New procedure,
8667 factored out from default_mi_gdb_start.
8668 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8669 procedures.
8670 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8671 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8672 Use mi_create_inferior_pty.
8673 (mi_gdb_start): Use eval to pass down args list.
8674
8675 2016-06-21 Pedro Alves <palves@redhat.com>
8676
8677 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8678 * gdb.opt/inline-cmds.exp: Add MI tests.
8679
8680 2016-06-21 Pedro Alves <palves@redhat.com>
8681
8682 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8683
8684 2016-06-21 Pedro Alves <palves@redhat.com>
8685
8686 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8687 (top level): Use it instead of mi_execute_to.
8688
8689 2016-06-21 Pedro Alves <palves@redhat.com>
8690
8691 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8692 (cont_handler_str): New.
8693 (signal_stop_handler): Set stop_handler_str instead of printing to
8694 stdout.
8695 (continue_handler): Set cont_handler_str instead of printing to
8696 stdout.
8697 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8698 mi_send_resuming_command. Print stop_handler_str and
8699 cont_handler_str instead of expecting the python events print
8700 directly.
8701
8702 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8703
8704 * gdb.base/jit-reader.exp: New file.
8705 * gdb.base/jithost.c: New file.
8706 * gdb.base/jithost.h: New file.
8707 * gdb.base/jitreader.c : New file.
8708 * gdb.base/jit-protocol.h: New file.
8709
8710 2016-06-17 Yao Qi <yao.qi@linaro.org>
8711
8712 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8713 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8714 and detach-on-fork. Adjust tests.
8715 (top level): Invoke break_cond_on_syscall with combinations of
8716 syscall, follow-fork-mode and detach-on-fork.
8717
8718 2016-06-17 Yao Qi <yao.qi@linaro.org>
8719
8720 * gdb.base/step-over-exit.c: New.
8721 * gdb.base/step-over-exit.exp: New.
8722
8723 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8724
8725 * gdb.base/float.exp: Add target check for nds32*-*-*.
8726 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8727
8728 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8729
8730 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8731 for unsupported target features.
8732 * gdb.base/call-rt-st.exp: Likewise.
8733 * gdb.base/call-sc.exp: Likewise.
8734 * gdb.base/call-signal-resume.exp: Likewise.
8735 * gdb.base/call-strs.exp: Likewise.
8736 * gdb.base/callexit.exp: Likewise.
8737 * gdb.base/callfuncs.exp: Likewise.
8738 * gdb.base/nodebug.exp: Likewise.
8739 * gdb.base/printcmds.exp: Likewise.
8740 * gdb.base/ptype.exp: Likewise.
8741 * gdb.base/structs.exp: Likewise.
8742 * gdb.base/unwindonsignal.exp: Likewise.
8743 * gdb.cp/gdb2495.exp: Likewise.
8744 * gdb.cp/templates.exp: Likewise.
8745 * gdb.cp/virtfunc.exp: Likewise.
8746 * gdb.threads/hand-call-in-threads.exp: Likewise.
8747 * gdb.threads/interrupted-hand-call.exp: Likewise.
8748 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8749
8750 2016-06-10 Tom Tromey <tom@tromey.com>
8751
8752 PR rust/20110:
8753 * gdb.rust/expr.exp: Add test for integer constant larger than
8754 i32.
8755
8756 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8757
8758 * gdb.fortran/nested-funcs.exp: New.
8759 * gdb.fortran/nested-funcs.f90: New.
8760
8761 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8762
8763 * gdb.base/examine-backward.c: New file.
8764 * gdb.base/examine-backward.exp: New file.
8765
8766 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8767
8768 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8769 matching.
8770
8771 2016-06-02 Tom Tromey <tom@tromey.com>
8772
8773 PR python/18984:
8774 * gdb.python/py-shared.exp: Add solib_name test.
8775
8776 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8777
8778 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8779
8780 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8781
8782 PR c++/19893
8783 * gdb.dwarf2/implref.exp: Rename to...
8784 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8785 * gdb.dwarf2/implref-array.c: New file.
8786 * gdb.dwarf2/implref-array.exp: Likewise.
8787 * gdb.dwarf2/implref-global.c: Likewise.
8788 * gdb.dwarf2/implref-global.exp: Likewise.
8789 * gdb.dwarf2/implref-struct.c: Likewise.
8790 * gdb.dwarf2/implref-struct.exp: Likewise.
8791
8792 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8793
8794 * gdb.trace/trace-condition.exp: Add 64bit tests.
8795
8796 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8797
8798 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8799 bits types.
8800 (main): Adapt to 8 to 64 bits types.
8801 * gdb.trace/trace-condition.exp: Add new tests.
8802
8803 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8804
8805 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8806
8807 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8808
8809 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8810 Move condition tests...
8811 * gdb.trace/trace-condition.exp: Here.
8812
8813 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8814
8815 * gdb.trace/trace-condition.exp: Add counter-case tests.
8816
8817 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8818
8819 PR c++/15231
8820 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8821 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8822
8823 2016-05-27 Pedro Alves <palves@redhat.com>
8824
8825 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8826 New procedure.
8827 (top level): Call it, and bail out of DejaGnu is known to be bad.
8828
8829 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8830
8831 * gdb.base/whatis.c: Extend the test case.
8832 * gdb.base/whatis.exp: Add additional tests.
8833
8834 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8835
8836 * gdb.fortran/type.f90: Add pointer variable.
8837 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8838
8839 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8840
8841 * gdb.fortran/vla-type.exp: Fix testcase name.
8842
8843 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8844
8845 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8846
8847 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8848
8849 * gdb.fortran/type.f90: Add nested structures.
8850 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8851 * gdb.fortran/derived-type.exp: Adapt expected output.
8852 * gdb.fortran/vla-type.exp: Adapt expected output.
8853
8854 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8855
8856 * gdb.fortran/whatis_type.exp: Adapt expected output.
8857
8858 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8859
8860 * gdb.fortran/print_type.exp: Fix expected output.
8861 * gdb.fortran/whatis_type.exp: Fix expected output.
8862
8863 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8864
8865 * gdb.fortran/whatis_type.exp: Use multi_line.
8866
8867 2016-05-24 Tom Tromey <tom@tromey.com>
8868
8869 PR python/17386:
8870 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8871 use value as an index.
8872
8873 2016-05-23 Tom Tromey <tom@tromey.com>
8874
8875 PR python/17981:
8876 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8877 no-breakpoint case.
8878
8879 2016-05-24 Pedro Alves <palves@redhat.com>
8880
8881 PR gdb/19828
8882 * gdb.threads/clone-attach-detach.c: New file.
8883 * gdb.threads/clone-attach-detach.exp: New file.
8884
8885 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8886
8887 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8888
8889 2016-05-23 Tom Tromey <tom@tromey.com>
8890
8891 PR python/19438, PR python/18393:
8892 * gdb.python/py-progspace.exp: Add "dir" test.
8893 * gdb.python/py-objfile.exp: Add "dir" test.
8894
8895 2016-05-23 Yao Qi <yao.qi@linaro.org>
8896
8897 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8898 * gdb.arch/thumb2-it.exp: Likewise.
8899
8900 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8901
8902 * gdb.mi/mi-threads-interrupt.c: New file.
8903 * gdb.mi/mi-threads-interrupt.exp: New file.
8904
8905 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8906
8907 PR gdb/18077
8908 * gdb.mi/mi-async-run.exp: New file.
8909 * gdb.mi/mi-async-run.c: New file.
8910
8911 2016-05-17 Tom Tromey <tom@tromey.com>
8912 Manish Goregaokar <manishsmail@gmail.com>
8913
8914 * lib/rust-support.exp: New file.
8915 * lib/gdb.exp (skip_rust_tests): New proc.
8916 (build_executable_from_specs): Handle rust.
8917 * lib/future.exp (gdb_find_rustc): New proc.
8918 (gdb_default_target_compile): Handle rust.
8919 * gdb.rust/expr.exp: New file.
8920 * gdb.rust/generics.exp: New file.
8921 * gdb.rust/generics.rs: New file.
8922 * gdb.rust/methods.exp: New file.
8923 * gdb.rust/methods.rs: New file.
8924 * gdb.rust/modules.exp: New file.
8925 * gdb.rust/modules.rs: New file.
8926 * gdb.rust/simple.exp: New file.
8927 * gdb.rust/simple.rs: New file.
8928
8929 2016-05-17 Tom Tromey <tom@tromey.com>
8930
8931 * gdb.base/default.exp (set language): Add rust.
8932
8933 2016-05-17 Tom Tromey <tom@tromey.com>
8934
8935 * gdb.gdb/unittest.exp: New file.
8936
8937 2016-05-16 Yao Qi <yao.qi@linaro.org>
8938
8939 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8940 shell_prompt. Update shell_prompt_re.
8941
8942 2016-05-12 Doug Evans <dje@google.com>
8943
8944 PR symtab/19999
8945 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8946 $options when building executable.
8947 * gdb.dwarf2/fission-loclists-pie.S: New file.
8948 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8949
8950 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8951
8952 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8953 of [is_remote target],
8954
8955 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8956
8957 * lib/gdb.exp (use_gdb_stub): New procedure.
8958
8959 2016-05-03 Yunlian Jiang <yunlian@google.com>
8960 Doug Evans <dje@google.com>
8961
8962 PR symtab/19914
8963 * gdb.dwarf2/dwp-sepdebug.c: New file.
8964 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8965
8966 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8967
8968 * gdb.base/detach.exp: Remove is_remote check.
8969
8970 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8971
8972 * gdb.base/annota-input-while-running.exp: Don't check for
8973 [is_remote target]. Enable annotations after running to main.
8974 Remove unused "set test..." line.
8975
8976 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8977
8978 * gdb.trace/trace-enable-disable.exp: New file.
8979 * gdb.trace/trace-enable-disable.c: New file.
8980
8981 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8982
8983 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8984 use it in info sharedlibrary test.
8985 * gdb.trace/ftrace-lock.exp: Likewise.
8986 * gdb.trace/ftrace.exp: Likewise.
8987 * gdb.trace/range-stepping.exp: Likewise.
8988 * gdb.trace/trace-break.exp: Likewise.
8989 * gdb.trace/trace-condition.exp: Likewise.
8990 * gdb.trace/trace-mt.exp: Likewise.
8991
8992 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8993
8994 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8995 (gdb_load_shlib): ... this.
8996 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8997 gdb_load_shlib.
8998 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8999 * gdb.base/ctxobj.exp: Likewise.
9000 * gdb.base/dprintf-pending.exp: Likewise.
9001 * gdb.base/dso2dso.exp: Likewise.
9002 * gdb.base/fixsection.exp: Likewise.
9003 * gdb.base/gcore-relro.exp: Likewise.
9004 * gdb.base/gdb1555.exp: Likewise.
9005 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9006 * gdb.base/gnu-ifunc.exp: Likewise.
9007 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9008 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9009 * gdb.base/pending.exp: Likewise.
9010 * gdb.base/print-file-var.exp: Likewise.
9011 * gdb.base/print-symbol-loading.exp: Likewise.
9012 * gdb.base/shlib-call.exp: Likewise.
9013 * gdb.base/shreloc.exp: Likewise.
9014 * gdb.base/so-impl-ld.exp: Likewise.
9015 * gdb.base/solib-disc.exp: Likewise.
9016 * gdb.base/solib-nodir.exp: Likewise.
9017 * gdb.base/solib-overlap.exp: Likewise.
9018 * gdb.base/solib-symbol.exp: Likewise.
9019 * gdb.base/solib-weak.exp (do_test): Likewise.
9020 * gdb.base/sym-file.exp: Likewise.
9021 * gdb.base/symtab-search-order.exp: Likewise.
9022 * gdb.base/type-opaque.exp: Likewise.
9023 * gdb.base/unload.exp: Likewise.
9024 * gdb.base/watchpoint-solib.exp: Likewise.
9025 * gdb.compile/compile.exp: Likewise.
9026 * gdb.cp/gdb2384.exp: Likewise.
9027 * gdb.cp/infcall-dlopen.exp: Likewise.
9028 * gdb.cp/re-set-overloaded.exp: Likewise.
9029 * gdb.fortran/library-module.exp: Likewise.
9030 * gdb.opt/solib-intra-step.exp: Likewise.
9031 * gdb.python/py-finish-breakpoint.exp: Likewise.
9032 * gdb.python/py-shared.exp: Likewise.
9033 * gdb.reverse/solib-precsave.exp: Likewise.
9034 * gdb.reverse/solib-reverse.exp: Likewise.
9035 * gdb.server/solib-list.exp: Likewise.
9036 * gdb.threads/dlopen-libpthread.exp: Likewise.
9037 * gdb.threads/tls-shared.exp: Likewise.
9038 * gdb.threads/tls-so_extern.exp: Likewise.
9039 * gdb.trace/change-loc.exp: Likewise.
9040 * gdb.trace/ftrace-lock.exp: Likewise.
9041 * gdb.trace/ftrace.exp: Likewise.
9042 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9043 * gdb.trace/pending.exp: Likewise.
9044 * gdb.trace/range-stepping.exp: Likewise.
9045 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9046 (strace_info_marker): Likewise.
9047 (strace_probe_marker): Likewise.
9048 (strace_trace_on_same_addr): Likewise.
9049 (strace_trace_on_diff_addr): Likewise.
9050 * gdb.trace/trace-break.exp: Likewise.
9051 * gdb.trace/trace-condition.exp: Likewise.
9052 * gdb.trace/trace-mt.exp: Likewise.
9053
9054 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9055
9056 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9057 result of gdb_remote_download.
9058 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9059 * gdb.base/dso2dso.exp: Likewise.
9060 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9061 * gdb.base/print-file-var.exp: Likewise.
9062 * gdb.base/shlib-call.exp: Likewise.
9063 * gdb.base/shreloc.exp: Likewise.
9064 * gdb.base/solib-overlap.exp: Likewise.
9065 * gdb.base/solib-weak.exp (do_test): Likewise.
9066 * gdb.base/unload.exp: Likewise.
9067
9068 2016-04-27 Yao Qi <yao.qi@linaro.org>
9069
9070 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9071 exists.
9072
9073 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9074
9075 * vla-type.exp: Print structure from toplevel.
9076
9077 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9078
9079 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9080 of dynamic types.
9081 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9082 of dynamic types.
9083
9084 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9085
9086 * gdb.fortran/vla-type.f90: New file.
9087 * gdb.fortran/vla-type.exp: New file.
9088
9089 2016-04-25 Yao Qi <yao.qi@linaro.org>
9090
9091 * gdb.base/branch-to-self.c: New file.
9092 * gdb.base/branch-to-self.exp: New file.
9093
9094 2016-04-22 Yao Qi <yao.qi@linaro.org>
9095
9096 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9097 more after $hex.
9098
9099 2016-04-22 Yao Qi <yao.qi@linaro.org>
9100
9101 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9102 * gdb.base/annota3.exp: Likewise.
9103
9104 2016-04-22 Yao Qi <yao.qi@linaro.org>
9105
9106 * gdb.reverse/step-precsave.exp: Do one step and test program
9107 stops in "callee" and do multiple steps until program goes out
9108 of "callee".
9109 * gdb.reverse/step-reverse.exp: Likewise.
9110
9111 2016-04-22 Yao Qi <yao.qi@linaro.org>
9112
9113 * gdb.trace/signal.exp: Also pass if
9114 $tracepoint_hits($i) > $iterations.
9115
9116 2016-04-22 Yao Qi <yao.qi@linaro.org>
9117
9118 * gdb.trace/signal.c: New file.
9119 * gdb.trace/signal.exp: New file.
9120
9121 2016-04-19 Doug Evans <xdje42@gmail.com>
9122
9123 * gdb.base/bad-file.exp: New file.
9124
9125 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9126
9127 * gdb.dwarf2/implref.exp: New file.
9128
9129 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9130
9131 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9132 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9133 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9134 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9135 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9136 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9137 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9138 * lib/fortran.exp (fortran_int4): New procedure.
9139 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9140 (fortran_logical4): Likewise.
9141
9142 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9143
9144 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9145
9146 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9147
9148 * lib/compiler.c: Add Intel specific preprocessor macros.
9149 * lib/compiler.cc: Likewise.
9150
9151 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9152
9153 * gdb.server/connect-with-no-symbol-file.c: New file.
9154 * gdb.server/connect-with-no-symbol-file.exp: New file.
9155
9156 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9157
9158 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9159
9160 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9161
9162 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9163 standard output directory.
9164
9165 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9166
9167 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9168
9169 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9170
9171 * gdb.btrace/instruction_history.c (loop): Add declaration.
9172
9173 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9174
9175 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9176
9177 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9178
9179 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9180 parentheses to print.
9181 (continue_handler): Likewise.
9182
9183 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9184
9185 * gdb.server/solib-list.exp: Remove is_remote check.
9186 Pass shlib= to gdb_compile. Don't link shared library with
9187 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9188 Run binary filename through "readlink -f" on the target.
9189
9190 2016-04-08 Pedro Alves <palves@redhat.com>
9191
9192 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9193 interpreter filename as argument to gdbserver_spawn.
9194 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9195 Return empty if $last_loaded_file does not exist.
9196
9197 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9198
9199 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9200 * gdb.base/jit-main.c: Use exit after usage.
9201
9202 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9203
9204 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9205 GDBHISTSIZE prior to the tests.
9206 * gdb.base/gdbinit-history.exp: Likewise.
9207
9208 2016-04-07 Pedro Alves <palves@redhat.com>
9209
9210 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9211 instead of build_executable. Use gdb_load_shlibs.
9212
9213 2016-04-07 Yao Qi <yao.qi@linaro.org>
9214
9215 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9216 Execute "si" command.
9217
9218 2016-04-07 Yao Qi <yao.qi@linaro.org>
9219
9220 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9221 number instead of the comments on some line.
9222
9223 2016-04-06 Don Breazeal <donb@codesourcery.com>
9224
9225 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9226 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9227
9228 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9229
9230 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9231 standard_output_file. Remove unused binfile variable.
9232
9233 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9234
9235 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9236 * gdb.python/py-mi-objfile.exp: Match "list main" output
9237 in console format.
9238
9239 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9240
9241 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9242 absolute.
9243
9244 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9245
9246 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9247 absolute.
9248 * gdb.trace/ftrace.exp: Likewise.
9249 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9250 targets as well.
9251 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9252 (gdb_load_shlibs): Copy libraries to test directory when testing
9253 natively. Only set solib-search-path if testing remotely.
9254 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9255
9256 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9257
9258 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9259 gdb_download. Use it even if the target is not remote.
9260 * gdb.base/jit.exp (compile_jit_test): Likewise.
9261 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9262 output directory if the destination board is local, otherwise use
9263 the standard remote_download from DejaGnu.
9264 (gdb_download): Remove.
9265 (gdb_load_shlibs): Use gdb_remote_download instead of
9266 gdb_download.
9267 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9268 Use gdb_remote_download instead of gdb_download. Use it even if
9269 the target is not remote.
9270 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9271 instead of gdb_download.
9272
9273 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9274
9275 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9276 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9277 run.
9278
9279 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9280
9281 PR gdb/19820
9282 * gdb.base/printcmds.exp: Add artificial arrays tests.
9283
9284 2016-03-31 Pedro Alves <palves@redhat.com>
9285
9286 PR gdb/19858
9287 * gdb.base/jit-main.c: Include unistd.h.
9288 (ATTACH): Define to 0 if not already defined.
9289 (wait_for_gdb, mypid): New globals.
9290 (WAIT_FOR_GDB): New macro.
9291 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9292 some breakpoint locations.
9293 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9294 New procedures.
9295 (one_jit_test): Add REATTACH parameter, and handle it. Use
9296 continue_to_test_location.
9297 (top level): Test attach, and adjusts calls to one_jit_test.
9298
9299 2016-03-31 Pedro Alves <palves@redhat.com>
9300
9301 PR gdb/19858
9302 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9303 BINSUFFIX parameter, and handle it.
9304 (top level): Adjust calls compile_jit_test.
9305
9306 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9307
9308 PR python/19743
9309 * gdb.python/py-mi-events-gdb.py: New file.
9310 * gdb.python/py-mi-events.c: New file.
9311 * gdb.python/py-mi-events.exp: New file.
9312
9313 2016-03-30 Yao Qi <yao.qi@linaro.org>
9314
9315 * gdb.reverse/until-precsave.exp: Match function name only.
9316 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9317 Move malloc to a condition block.
9318 * gdb.reverse/until-reverse.exp: Match function name only.
9319
9320 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9321
9322 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9323 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9324 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9325 variable for GPR 0 instead of assuming it is register 0.
9326 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9327 * lib/trace-support.exp: Add s390 registers.
9328
9329 2016-03-29 Yao Qi <yao.qi@linaro.org>
9330
9331 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9332
9333 2016-03-24 Yao Qi <yao.qi@linaro.org>
9334
9335 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9336 test message.
9337
9338 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9339
9340 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9341 maintaining separate logic for constructing the output path.
9342
9343 2016-03-16 Don Breazeal <donb@codesourcery.com>
9344
9345 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9346 Retry fork and waitpid on interrupted system call errors.
9347 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9348 Use with_timeout_factor to increase timeout by factor of 10.
9349
9350 2016-03-15 Don Breazeal <donb@codesourcery.com>
9351
9352 * gdb.cp/scope-err.cc: New test program.
9353 * gdb.cp/scope-err.exp: New test script.
9354 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9355 lines and "set breakpoint here" comment.
9356 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9357 Fixed some whitespace and format issues.
9358 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9359 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9360
9361 2016-03-15 Doug Evans <dje@google.com>
9362
9363 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9364 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9365 All callers updated. Add tests for enums, mixed flags register.
9366
9367 2016-03-15 Doug Evans <dje@google.com>
9368
9369 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9370 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9371
9372 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9373
9374 * gdb.base/default.exp: Add $_as_string to the list of expected
9375 convenience functions.
9376
9377 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9378
9379 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9380
9381 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9382
9383 * gdb.python/py-as-string.exp: New file.
9384 * gdb.python/py-as-string.c: New file.
9385
9386 2016-03-09 Pedro Alves <palves@redhat.com>
9387
9388 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9389 signal" -> "Thread NN received signal" output change.
9390 * gdb.threads/ia64-sigill.exp: Likewise.
9391 * gdb.threads/linux-dp.exp: Likewise.
9392 * gdb.threads/manythreads.exp: Likewise.
9393 * gdb.threads/pending-step.exp: Likewise.
9394 * gdb.threads/print-threads.exp: Likewise.
9395 * gdb.threads/sigstep-threads.exp: Likewise.
9396 * gdb.threads/staticthreads.exp: Likewise.
9397 * gdb.threads/tls.exp: Likewise.
9398
9399 2016-03-09 Pedro Alves <palves@redhat.com>
9400
9401 * gdb.base/command-line-input.exp: New file.
9402
9403 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9404
9405 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9406 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9407 * gdb.trace/pending.exp: Accept leading dot before function name.
9408 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9409 * lib/trace-support.exp: Set registers for ppc.
9410
9411 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9412
9413 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9414 use it for disassembly; accept .main in addition to main in backtrace.
9415
9416 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9417 Marcin Kościelnicki <koriakin@0x04.net>
9418
9419 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9420 (gdb_recursion_test_ptr): New global variable.
9421 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9422 gdb_recursion_test.
9423 (gdb_c_test): Ditto.
9424
9425 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9426
9427 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9428 ordering.
9429
9430 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9431
9432 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9433 (bar): Add bar_start_lbl label.
9434 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9435 of foo/bar for emitting DWARF and tracing.
9436
9437 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9438
9439 * analyze-racy-logs.py: Set executable bit.
9440
9441 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9442
9443 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9444 (CHECK_TARGET_TMP): Likewise.
9445 (check-single-racy): New rule.
9446 (check-parallel-racy): Likewise.
9447 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9448 (do-check-parallel-racy): New rule.
9449 (check-racy/%.exp): Likewise.
9450 * README (Racy testcases): New section.
9451 * analyze-racy-logs.py: New file.
9452
9453 2016-03-03 Doug Evans <dje@google.com>
9454
9455 * gdb.base/skip.exp: Use with_test_prefix.
9456
9457 2016-03-03 Yao Qi <yao.qi@linaro.org>
9458
9459 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9460 Invoke step_over_syscall "clone" and break_cond_on_syscall
9461 "clone".
9462 * gdb.base/step-over-clone.c: New file.
9463
9464 2016-03-03 Yao Qi <yao.qi@linaro.org>
9465
9466 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9467 code format.
9468
9469 2016-03-03 Yao Qi <yao.qi@linaro.org>
9470
9471 * gdb.base/disp-step-fork.c: Rename to ...
9472 * gdb.base/step-over-fork.c: ... it. New file.
9473 * gdb.base/disp-step-vfork.c: Rename to ...
9474 * gdb.base/step-over-vfork.c: ... it. New file.
9475 * gdb.base/disp-step-syscall.exp: Rename to ...
9476 * gdb.base/step-over-syscall.exp: ... it. New file.
9477 (disp_step_cross_syscall): Rename to ...
9478 (step_over_syscall): ... it.
9479
9480 2016-03-03 Yao Qi <yao.qi@linaro.org>
9481
9482 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9483 If target supports condition evaluation on target, invoke
9484 break_cond_on_syscall for fork and vfork.
9485
9486 2016-03-03 Yao Qi <yao.qi@linaro.org>
9487
9488 * gdb.base/disp-step-syscall.exp: Don't invoke
9489 support_displaced_stepping.
9490 (disp_step_cross_syscall): Test with displaced stepping off and
9491 on if supported.
9492
9493 2016-03-03 Yao Qi <yao.qi@linaro.org>
9494
9495 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9496 proc.
9497 (setup): New proc.
9498 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9499 and setup.
9500
9501 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9502
9503 * gdb.fortran/vla-history.exp: Remove breakpoint.
9504
9505 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9506
9507 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9508 exceeds timeout.
9509
9510 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9511
9512 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9513 breakpoint.
9514
9515 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9516
9517 * gdb.mi/vla.f90: Nullify pointer after declaration.
9518
9519 2016-03-01 Pedro Alves <palves@redhat.com>
9520
9521 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9522
9523 2016-03-01 Pedro Alves <palves@redhat.com>
9524
9525 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9526 before anything else.
9527 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9528 _GNU_SOURCE here.
9529 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9530 before anything else.
9531 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9532
9533 2016-03-01 Pedro Alves <palves@redhat.com>
9534
9535 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9536
9537 2016-03-01 Yao Qi <yao.qi@linaro.org>
9538
9539 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9540 prepare_for_testing.
9541
9542 2016-03-01 Yao Qi <yao.qi@linaro.org>
9543
9544 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9545
9546 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9547
9548 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9549 manually constructing the output path.
9550
9551 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9552
9553 * gdb.arch/s390-stackless.S: New.
9554 * gdb.arch/s390-stackless.exp: New.
9555
9556 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9557
9558 * gdb.dlang/circular.c: New file.
9559 * gdb.dlang/circular.exp: New file.
9560
9561 2016-02-26 Yao Qi <yao.qi@linaro.org>
9562
9563 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9564 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9565 (testcases): Update.
9566
9567 2016-02-26 Yao Qi <yao.qi@linaro.org>
9568
9569 * gdb.reverse/aarch64.c: Rename to ...
9570 * gdb.reverse/insn-reverse.c: ... it.
9571 * gdb.reverse/aarch64.exp: Rename to ...
9572 * gdb.reverse/insn-reverse.exp: ... it.
9573
9574 2016-02-26 Yao Qi <yao.qi@linaro.org>
9575
9576 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9577 (testcase_ftype): New.
9578 (testcases): New array.
9579 (n_testcases): New.
9580 (main): Call each element in testcases.
9581 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9582 (read_testcase): New.
9583 Do the tests in a loop.
9584
9585 2016-02-25 Yao Qi <yao.qi@linaro.org>
9586
9587 * gdb.base/branches.c: Remove.
9588
9589 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9590
9591 PR gdb/13808
9592 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9593
9594 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9595
9596 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9597
9598 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9599
9600 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9601 change x86_64 call_insn to 'callq'.
9602
9603 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9604
9605 * gdb.trace/tfile-avx.c: Move to...
9606 * gdb.trace/tracefile-pseudo-reg.c: Here.
9607 * gdb.trace/tfile-avx.exp: Move to...
9608 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9609
9610 2016-02-24 Gary Benson <gbenson@redhat.com>
9611
9612 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9613 message on attach.
9614
9615 2016-02-23 Doug Evans <dje@google.com>
9616
9617 * gdb.base/skip.c (test_skip): New function.
9618 (end_test_skip_file_and_function): New function.
9619 (test_skip_file_and_function): New function.
9620 * gdb.base/skip1.c (test_skip): New function.
9621 (skip1_test_skip_file_and_function): New function.
9622 * gdb.base/skip.exp: Add tests for new skip options.
9623 * gdb.base/skip-solib.exp: Update expected output.
9624 * gdb.perf/skip-command.cc: New file.
9625 * gdb.perf/skip-command.exp: New file.
9626 * gdb.perf/skip-command.py: New file.
9627
9628 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9629
9630 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9631 info registers pattern.
9632
9633 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9634
9635 * lib/future.exp: Add D support.
9636 (gdb_find_gdc): New proc.
9637 (gdb_default_target_compile): Add D support.
9638
9639 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9640
9641 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9642 user+system time.
9643 (trace_speed_test): Determine the iteration count for a time
9644 between 15..30 seconds.
9645
9646 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9647
9648 * gdb.arch/i386-mpx-sigsegv.c: New file.
9649 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9650 * gdb.arch/i386-mpx-simple_segv.c: New file.
9651 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9652
9653 2016-02-18 Yao Qi <yao.qi@linaro.org>
9654
9655 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9656 Don't call setup_kfail.
9657
9658 2016-02-18 Yao Qi <yao.qi@linaro.org>
9659
9660 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9661 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9662
9663 2016-02-16 Doug Evans <dje@google.com>
9664
9665 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9666 * gdb.base/skip1.c: Ditto.
9667 * gdb.base/skip.exp: Whitespace cleanup.
9668
9669 2016-02-16 Don Breazeal <donb@codesourcery.com>
9670
9671 PR remote/19496
9672 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9673 Remove kfail for PR remote/19496.
9674
9675 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9676
9677 * lib/gdb.exp (standard_temp_file): Return a path specific to
9678 the runtest invocation.
9679
9680 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9681
9682 * gdb.trace/save-trace.exp: Change relative path to be in the
9683 standard output directory.
9684
9685 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9686
9687 * gdb.arch/i386-prologue.c: Add missing prototypes.
9688
9689 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9690
9691 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9692 * gdb.arch/i386-prologue.exp: Likewise.
9693 * gdb.arch/i386-size.exp: Likewise.
9694
9695 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9696
9697 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9698 define object file path.
9699 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9700 file path.
9701 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9702 standard_output_file to define binfile.
9703
9704 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9705
9706 Fix compatibility with recent gfortran-5.3.1.
9707 * gdb.fortran/vla-history.exp (print vla1 allocated)
9708 (print vla2 allocated, print $2, print $3): Remove
9709 (print $4): Rename to ...
9710 (print $2): ... here.
9711 (print $9): Rename to ...
9712 (print $5): ... here.
9713 (print $10): Rename to ...
9714 (print $6): ... here.
9715 * gdb.fortran/vla.f90: Add pvla initialization.
9716
9717 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9718
9719 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9720 New test.
9721 * gdb.fortran/vla-value-sub.exp: Likewise.
9722
9723 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9724
9725 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9726
9727 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9728
9729 * i386-biarch-core.exp: Define corefile using
9730 standard_output_file.
9731
9732 2016-02-12 Yao Qi <yao.qi@linaro.org>
9733
9734 * gdb.arch/arm-single-step-kernel-helper.c: New.
9735 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9736
9737 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9738
9739 * gdb.btrace/tailcall-only.exp: New.
9740 * gdb.btrace/tailcall-only.c: New.
9741 * gdb.btrace/x86_64-tailcall-only.S: New.
9742 * gdb.btrace/i686-tailcall-only.S: New.
9743
9744 2016-02-11 Pedro Alves <palves@redhat.com>
9745
9746 * README (Parallel testing): Add missing double quotes.
9747
9748 2016-02-11 Pedro Alves <palves@redhat.com>
9749
9750 * README (Parallel testing): New section.
9751 (GDB_PARALLEL): Rewrite.
9752 (FORCE_PARALLEL): Document.
9753
9754 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9755
9756 * gdb.trace/tfile-avx.c: New test.
9757 * gdb.trace/tfile-avx.exp: New test.
9758
9759 2016-02-09 Keith Seitz <keiths@redhat.com>
9760
9761 PR breakpoints/19546
9762 * gdb.base/infcall-exec.c: New file.
9763 * gdb.base/infcall-exec2.c: New file.
9764 * gdb.base/infcall-exec.exp: New file.
9765
9766 2016-02-09 Keith Seitz <keiths@redhat.com>
9767
9768 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9769 (toplevel): Call test_bkpt_address.
9770
9771 2016-02-09 Keith Seitz <keiths@redhat.com>
9772
9773 PR python/19506
9774 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9775 (toplevel): Call test_bkpt_address.
9776
9777 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9778
9779 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9780 to AC_OUTPUT.
9781 * configure: Regenerate.
9782
9783 2016-02-09 Pedro Alves <palves@redhat.com>
9784
9785 PR breakpoints/19548
9786 * gdb.base/execl-update-breakpoints.c (some_function): New
9787 function.
9788 (main): Call it.
9789 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9790 Tighten expected GDB output.
9791
9792 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9793
9794 * Makefile.in (ALL_SUBDIRS): Remove.
9795 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9796 (distclean maintainer-clean realclean): Likewise.
9797 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9798 * configure: Regenerate.
9799 * gdb.ada/Makefile.in: Delete.
9800 * gdb.arch/Makefile.in: Likewise.
9801 * gdb.asm/Makefile.in: Likewise.
9802 * gdb.base/Makefile.in: Likewise.
9803 * gdb.btrace/Makefile.in: Likewise.
9804 * gdb.cell/Makefile.in: Likewise.
9805 * gdb.compile/Makefile.in: Likewise.
9806 * gdb.cp/Makefile.in: Likewise.
9807 * gdb.disasm/Makefile.in: Likewise.
9808 * gdb.dlang/Makefile.in: Likewise.
9809 * gdb.dwarf2/Makefile.in: Likewise.
9810 * gdb.fortran/Makefile.in: Likewise.
9811 * gdb.gdb/Makefile.in: Likewise.
9812 * gdb.go/Makefile.in: Likewise.
9813 * gdb.guile/Makefile.in: Likewise.
9814 * gdb.java/Makefile.in: Likewise.
9815 * gdb.linespec/Makefile.in: Likewise.
9816 * gdb.mi/Makefile.in: Likewise.
9817 * gdb.modula2/Makefile.in: Likewise.
9818 * gdb.multi/Makefile.in: Likewise.
9819 * gdb.objc/Makefile.in: Likewise.
9820 * gdb.opencl/Makefile.in: Likewise.
9821 * gdb.opt/Makefile.in: Likewise.
9822 * gdb.pascal/Makefile.in: Likewise.
9823 * gdb.perf/Makefile.in: Likewise.
9824 * gdb.python/Makefile.in: Likewise.
9825 * gdb.reverse/Makefile.in: Likewise.
9826 * gdb.server/Makefile.in: Likewise.
9827 * gdb.stabs/Makefile.in: Likewise.
9828 * gdb.threads/Makefile.in: Likewise.
9829 * gdb.trace/Makefile.in: Likewise.
9830 * gdb.xml/Makefile.in: Likewise.
9831 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9832 GDB_PARALLEL.
9833 (standard_output_file): Remove check for GDB_PARALLEL, always
9834 return path in outputs/$subdir/$testname.
9835
9836 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9837
9838 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9839 (site.exp): Assign abs_srcdir to tcl's srcdir.
9840
9841 2016-02-04 Yao Qi <yao.qi@linaro.org>
9842
9843 * gdb.base/foll-exec-mode.c: Include limits.h.
9844 (main): Add parameters argc and argv. Get directory from
9845 argv[0].
9846 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9847 compilation.
9848 * gdb.base/foll-exec.c: Include limits.h.
9849 (main): Add parameters argc and argv.
9850 Get directory from argv[0].
9851 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9852 Adjust tests on the number of lines as source code changed.
9853 * gdb.base/foll-vfork-exit.c: Include limits.h.
9854 (main): Add one line of statement before vfork.
9855 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9856 (main): Add parameters argc and argv. Get directory from
9857 argv[0].
9858 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9859 (setup_gdb): Set tbreak to skip some source lines.
9860 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9861 (main): Add parameters argc and argv. Get directory from
9862 argv[0].
9863 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9864 compilation.
9865 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9866 (main): Add parameters argc and argv. Get directory from
9867 argv[0].
9868 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9869 compilation.
9870
9871 2016-02-01 Doug Evans <dje@google.com>
9872
9873 * gdb.base/skip.exp: Clean up multiple references to same test name.
9874
9875 2016-02-01 Pedro Alves <palves@redhat.com>
9876
9877 PR remote/19496
9878 * gdb.threads/forking-threads-plus-breakpoint.exp
9879 (displaced_stepping_supported): New global.
9880 (probe_displaced_stepping_support): New procedure.
9881 (do_test): Add 'displaced' parameter, and use it.
9882 (top level): Check for displaced stepping support. Add displaced
9883 stepping on/off testing axis.
9884
9885 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9886
9887 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9888 pointer. Don't perform further tests on the unassociated pointer
9889 if the first test fails.
9890
9891 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9892
9893 * gdb.base/max-value-size.c: New file.
9894 * gdb.base/max-value-size.exp: New file.
9895 * gdb.base/huge.exp: Disable max-value-size for this test.
9896
9897 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9898
9899 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9900
9901 2016-01-28 Yao Qi <yao.qi@linaro.org>
9902
9903 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9904
9905 2016-01-25 Pedro Alves <palves@redhat.com>
9906
9907 PR threads/19461
9908 * gdb.base/fork-running-state.c: New file.
9909 * gdb.base/fork-running-state.exp: New file.
9910
9911 2016-01-25 Pedro Alves <palves@redhat.com>
9912
9913 PR gdb/19494
9914 * gdb.base/catch-fork-kill.c: New file.
9915 * gdb.base/catch-fork-kill.exp: New file.
9916
9917 2016-01-25 Pedro Alves <palves@redhat.com>
9918
9919 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9920 Delete, moved to lib/gdb.exp.
9921 * gdb.threads/forking-threads-plus-breakpoint.exp
9922 (foreach_with_prefix): Likewise.
9923 * gdb.threads/process-dies-while-handling-bp.exp
9924 (foreach_with_prefix): Likewise.
9925 * lib/gdb.exp (foreach_with_prefix): New procedure.
9926
9927 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9928
9929 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9930 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9931
9932 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9933
9934 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9935 endian targets.
9936
9937 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9938 Pedro Alves <palves@redhat.com>
9939
9940 Fix testsuite compatibility with Guile.
9941 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9942 number.
9943
9944 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9945
9946 Fix testsuite compatibility with Guile.
9947 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9948 (thread 1): New test for backtrace through signal handler.
9949
9950 2016-01-22 Yao Qi <yao.qi@linaro.org>
9951
9952 PR testsuite/19491
9953 * gdb.base/multi-forks.c: Include
9954 ../lib/unbuffer_output.c
9955 (main): Call gdb_unbuffer_output.
9956
9957 2016-01-21 Doug Evans <dje@google.com>
9958
9959 * lib/ada.exp (gdb_compile_ada): Fix typo.
9960
9961 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9962
9963 * gdb.base/break-fun-addr.exp: New file.
9964 * gdb.base/break-fun-addr1.c: New file.
9965 * gdb.base/break-fun-addr2.c: New file.
9966
9967 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9968
9969 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9970 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9971 enum flag values.
9972
9973 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9974
9975 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9976 when GDB can not set the vector return value. Add more comments
9977 for clarification.
9978
9979 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9980
9981 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9982 command.
9983
9984 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9985
9986 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9987
9988 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9989
9990 * Makefile.in (check-single): Pass --status to runtest.
9991 (check/%.exp): Likewise.
9992
9993 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9994
9995 * Makefile.in (check-parallel): Propagate return code from make
9996 do-check-parallel.
9997
9998 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
9999
10000 * gdb.trace/ftrace.exp: Fix expected message on continue.
10001 * gdb.trace/pending.exp: Fix expected message on continue.
10002 * gdb.trace/trace-break.exp: Fix expected message on continue.
10003
10004 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10005
10006 * lib/gdb.exp (gdb_test): Remove unused global references.
10007
10008 2016-01-18 Pedro Alves <palves@redhat.com>
10009
10010 * gdb.base/async-shell.exp: Adjust expected output.
10011 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10012 * gdb.base/siginfo-thread.exp: Adjust expected output.
10013 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10014 * gdb.java/jnpe.exp: Adjust expected output.
10015 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10016 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10017 * gdb.threads/leader-exit.exp: Adjust expected output.
10018 * gdb.threads/manythreads.exp: Adjust expected output.
10019 * gdb.threads/pthreads.exp: Adjust expected output.
10020 * gdb.threads/schedlock.exp: Adjust expected output.
10021 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10022 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10023 expected output.
10024 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10025 output.
10026 * gdb.threads/sigthread.exp: Adjust expected output.
10027 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10028
10029 2016-01-18 Yao Qi <yao.qi@linaro.org>
10030
10031 * gdb.guile/scm-section-script.c: Replace @progbits with
10032 %progbits.
10033 * gdb.python/py-section-script.c: Likewise.
10034
10035 2016-01-15 Pedro Alves <palves@redhat.com>
10036
10037 * gdb.multi/tids.exp: Test star wildcard ranges.
10038
10039 2016-01-15 Pedro Alves <palves@redhat.com>
10040
10041 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10042 command from "thread apply" invocation.
10043 (thr_apply_info_thr_invalid): Default the expected output to the
10044 input tid list.
10045 (top level): Add tests that use convenience variables. Add tests
10046 for "thread apply" with a valid TID list, but missing the command.
10047
10048 2016-01-13 Pedro Alves <palves@redhat.com>
10049
10050 * gdb.base/default.exp: Expect $_gthread as well.
10051 * gdb.multi/tids.exp: Test $_gthread.
10052 * gdb.threads/thread-specific.exp: Test $_gthread.
10053
10054 2016-01-13 Pedro Alves <palves@redhat.com>
10055
10056 * gdb.multi/tids.exp: Test "info threads -gid".
10057
10058 2016-01-13 Pedro Alves <palves@redhat.com>
10059
10060 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10061 Breakpoint.thread.
10062 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10063
10064 2016-01-07 Pedro Alves <palves@redhat.com>
10065
10066 * gdb.base/break.exp: Adjust to output changes.
10067 * gdb.base/hbreak2.exp: Likewise.
10068 * gdb.base/sepdebug.exp: Likewise.
10069 * gdb.base/watch_thread_num.exp: Likewise.
10070 * gdb.linespec/keywords.exp: Likewise.
10071 * gdb.multi/info-threads.exp: Likewise.
10072 * gdb.threads/thread-find.exp: Likewise.
10073 * gdb.multi/tids.c: New file.
10074 * gdb.multi/tids.exp: New file.
10075
10076 2016-01-13 Pedro Alves <palves@redhat.com>
10077
10078 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10079
10080 2016-01-13 Pedro Alves <palves@redhat.com>
10081
10082 * gdb.base/default.exp: Expect $_inferior as well.
10083 * gdb.multi/base.exp: Test $_inferior.
10084
10085 2016-01-13 Pedro Alves <palves@redhat.com>
10086
10087 PR breakpoints/19388
10088 * gdb.base/catch-signal-siginfo-cond.c: New file.
10089 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10090
10091 2016-01-12 Josh Stone <jistone@redhat.com>
10092 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10093
10094 * gdb.base/catch-syscall.c (do_execve): New variable.
10095 (main): Conditionally trigger an execve.
10096 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10097 (test_catch_syscall_execve): New, check entry/return across execve.
10098 (do_syscall_tests): Call test_catch_syscall_execve.
10099
10100 2016-01-12 Pedro Alves <palves@redhat.com>
10101
10102 * gdb.base/random-signal.exp (do_test): New procedure, with body
10103 of testcase moved in.
10104
10105 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10106 Pedro Alves <palves@redhat.com>
10107
10108 * gdb.base/funcargs.exp (finish from indirectly called function):
10109 Reintroduce the case for 'First'.
10110
10111 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10112 Pedro Alves <palves@redhat.com>
10113
10114 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10115 (tcatch_vfork_then_child_follow_exec)
10116 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10117 identification.
10118
10119 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10120
10121 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10122 and repeats to unlimited.
10123 * gdb.python/py-value.exp: Likewise.
10124 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10125 and repeats to unlimited.
10126
10127 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10128
10129 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10130 and reordering the functions.
10131 * gdb.multi/hangout.c: Likewise.
10132 * gdb.multi/hello.c: Likewise.
10133
10134 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10135
10136 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10137 absolute.
10138 (SingleStatisticTestResult.report): Use dict.keys instead of
10139 dict.iterkeys.
10140
10141 2016-01-06 Pedro Alves <palves@redhat.com>
10142
10143 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10144
10145 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10146
10147 * gdb.btrace/dlopen.exp: New.
10148 * gdb.btrace/dlopen.c: New.
10149 * gdb.btrace/dlopen-dso.c: New.
10150
10151 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10152
10153 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10154 PATTERN argument is optional.
10155
10156 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10157
10158 * lib/ada.exp (target_compile_ada_from_dir): New function.
10159 (gdb_compile_ada): Reimplement avoiding the use of project files.
10160 * gdb.ada/gnat_ada.gpr: Delete.
10161 * gdb.ada/cond_lang.exp: Adjust test to make path before
10162 filename optional.
10163 * gdb.ada/small_reg_param.exp: Likewise.
10164
10165 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10166
10167 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10168
10169 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10170
10171 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10172 case.
10173
10174 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10175
10176 * gdb.base/break.exp: Remove dead code.
10177 * gdb.base/sepdebug.exp: Likewise.
10178
10179 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10180
10181 * gdb.asm/asm-source.exp: Remove HP-UX references.
10182 * gdb.base/annota1.exp: Likewise.
10183 * gdb.base/annota3.exp: Likewise.
10184 * gdb.base/attach.exp: Likewise.
10185 * gdb.base/bigcore.exp: Likewise.
10186 * gdb.base/break.exp: Likewise.
10187 * gdb.base/call-ar-st.exp: Likewise.
10188 * gdb.base/callfuncs.exp: Likewise.
10189 * gdb.base/catch-fork-static.exp: Likewise.
10190 * gdb.base/display.exp: Likewise.
10191 * gdb.base/foll-exec-mode.exp: Likewise.
10192 * gdb.base/foll-exec.exp: Likewise.
10193 * gdb.base/foll-fork.exp: Likewise.
10194 * gdb.base/foll-vfork.exp: Likewise.
10195 * gdb.base/funcargs.exp: Likewise.
10196 * gdb.base/hbreak2.exp: Likewise.
10197 * gdb.base/inferior-died.exp: Likewise.
10198 * gdb.base/interrupt.exp: Likewise.
10199 * gdb.base/multi-forks.exp: Likewise.
10200 * gdb.base/nodebug.exp: Likewise.
10201 * gdb.base/sepdebug.exp: Likewise.
10202 * gdb.base/solib1.c: Likewise.
10203 * gdb.base/step-test.exp: Likewise.
10204 * gdb.mi/non-stop.c: Likewise.
10205 * gdb.mi/pthreads.c: Likewise.
10206 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10207 * gdb.threads/pthreads.c: Likewise.
10208 * gdb.threads/staticthreads.exp: Likewise.
10209 * lib/future.exp: Likewise.
10210 * lib/gdb.exp: Likewise.
10211 * gdb.base/so-indr-cl.c: Remove.
10212 * gdb.base/so-indr-cl.exp: Likewise.
10213 * gdb.base/solib.c: Likewise.
10214 * gdb.base/solib.exp: Likewise.
10215 * gdb.base/solib2.c: Likewise.
10216
10217 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10218
10219 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10220 * gdb.base/call-ar-st.exp: Likewise.
10221 * gdb.base/callfuncs.exp: Likewise.
10222 * gdb.base/condbreak.exp: Likewise.
10223 * gdb.base/constvars.exp: Likewise.
10224 * gdb.base/hbreak2.exp: Likewise.
10225 * gdb.base/langs.exp: Likewise.
10226 * gdb.base/list.exp: Likewise.
10227 * gdb.base/long_long.exp: Likewise.
10228 * gdb.base/ptype.exp: Likewise.
10229 * gdb.base/scope.exp: Likewise.
10230 * gdb.base/signals.exp: Likewise.
10231 * gdb.base/so-impl-ld.exp: Likewise.
10232 * gdb.base/varargs.exp: Likewise.
10233 * gdb.base/volatile.exp: Likewise.
10234 * gdb.base/whatis.exp: Likewise.
10235 * gdb.cp/cplusfuncs.exp: Likewise.
10236 * gdb.cp/inherit.exp: Likewise.
10237 * gdb.cp/local.exp: Likewise.
10238 * gdb.cp/member-ptr.exp: Likewise.
10239 * gdb.cp/method.exp: Likewise.
10240 * gdb.cp/overload.exp: Likewise.
10241 * gdb.cp/templates.exp: Likewise.
10242 * gdb.stabs/weird.exp: Likewise.
10243 * lib/compiler.c: Likewise.
10244 * lib/compiler.cc: Likewise.
10245 * lib/cp-support.exp: Likewise.
10246 * lib/gdb.exp: Likewise.
10247
10248 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10249
10250 * configure.ac: Remove HP-UX case.
10251 * configure: Regenerate.
10252
10253 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10254
10255 * lib/gdb.exp (gdb_compile): Add function doc.
10256
10257 2015-12-17 Pedro Alves <palves@redhat.com>
10258
10259 PR threads/19354
10260 * gdb.multi/info-threads.exp: New file.
10261
10262 2015-12-15 Yao Qi <yao.qi@linaro.org>
10263
10264 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10265 is aarch64*-*-*.
10266
10267 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10268
10269 * gdb.base/history-duplicates.exp: Skip if no readline support.
10270
10271 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10272
10273 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10274
10275 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10276
10277 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10278
10279 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10280
10281 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10282 ctrl-C if nointerrupts target property is set.
10283 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10284 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10285 * gdb.base/paginate-bg-execution.exp: Likewise.
10286 * gdb.base/paginate-execution-startup.exp: Likewise.
10287 * gdb.base/random-signal.exp: Likewise.
10288 * gdb.base/range-stepping.exp: Likewise.
10289 * gdb.cp/annota2.exp: Likewise.
10290 * gdb.cp/annota3.exp: Likewise.
10291 * gdb.gdb/selftest.exp: Likewise.
10292 * gdb.threads/continue-pending-status.exp: Likewise.
10293 * gdb.threads/leader-exit.exp: Likewise.
10294 * gdb.threads/manythreads.exp: Likewise.
10295 * gdb.threads/pthreads.exp: Likewise.
10296 * gdb.threads/schedlock.exp: Likewise.
10297 * gdb.threads/sigthread.exp: Likewise.
10298
10299 2015-12-11 Don Breazeal <donb@codesourcery.com>
10300
10301 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10302 remote.
10303 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10304 * gdb.base/foll-exec.exp (main): Enable for target remote.
10305 * gdb.base/foll-fork.exp (main): Likewise.
10306 * gdb.base/foll-vfork.exp (main): Likewise.
10307 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10308 (proc continue_to_exit_bp_loc): Use clean_restart.
10309 * gdb.base/pie-execl.exp (main): Disable for target remote.
10310 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10311 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10312 * gdb.threads/execl.exp (main): Likewise.
10313 * gdb.threads/fork-child-threads.exp (main): Likewise.
10314 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10315 remote.
10316 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10317 remote.
10318 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10319 pid.tid style ptids, instead of just tid.
10320 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10321 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10322 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10323 ptids, instead of just tid.
10324
10325 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10326
10327 * gdb.base/list.exp (test_list_forward): Add end of file error
10328 test.
10329 (test_repeat_list_command): Add end of file error test.
10330 (test_list_backwards): Add beginning of file error test.
10331
10332 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10333
10334 * gdb.base/list.exp (test_list_invalid_args): New function,
10335 defined, and called.
10336
10337 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10338
10339 * gdb.base/list.exp (test_list): Make test names unique.
10340
10341 2015-12-11 Yao Qi <yao.qi@linaro.org>
10342
10343 * gdb.base/coremaker2.c: Remove.
10344
10345 2015-12-10 Pedro Alves <palves@redhat.com>
10346
10347 * gdb.multi/base.exp: Remove stale "spaces" references.
10348
10349 2015-12-10 Pedro Alves <palves@redhat.com>
10350
10351 * gdb.multi/base.exp: Don't use nowarnings.
10352 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10353 * gdb.multi/hangout.c: Include stdio.h.
10354 * gdb.multi/hello.c: Include stdlib.h.
10355 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10356 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10357 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10358
10359 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10360
10361 * gdb.dwarf2/dw2-ranges-base.c: New file.
10362 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10363 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10364 support additional line table, and debug ranges generation.
10365 (Dwarf::ranges): New function, generate .debug_ranges.
10366 (Dwarf::lines): Support generating simple line table programs.
10367 (Dwarf::assemble): Initialise new namespace variables.
10368
10369 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10370
10371 * gdb.base/async.exp (proc test_background): Add case for
10372 asynchronous execution not supported.
10373
10374 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10375
10376 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10377 format and change test names to make them unique.
10378
10379 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10380 Pedro Alves <pedro@redhat.com>
10381
10382 PR gdb/18702
10383 Add checking of floatformats setup on x86_64 hosts.
10384 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10385 (smallval, bigval): New labels/constants.
10386 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10387 float" after loading bigval and smallval.
10388
10389 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10390
10391 * gdb.ada/fun_overload_menu.exp: New testcase.
10392 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10393
10394 2015-12-04 Josh Stone <jistone@redhat.com>
10395
10396 * gdb.base/catch-fork-static.exp: New.
10397
10398 2015-12-03 Yao Qi <yao.qi@linaro.org>
10399
10400 * gdb.base/sizeof.c: Don't include stdio.h and
10401 ../lib/unbuffer_output.c.
10402 (main): New variable 'size' and 'value'. Remove printf and
10403 gdb_unbuffer_output. Assign return value to size and value.
10404 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10405 at the beginning.
10406 (check_sizeof): Check the result by printing variable 'size'.
10407 (check_valueof): Check the result by printing variable 'value'.
10408
10409 2015-12-01 Yao Qi <yao.qi@linaro.org>
10410
10411 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10412 for aarch64*-*-linux* target.
10413
10414 2015-11-30 Pedro Alves <palves@redhat.com>
10415
10416 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10417
10418 2015-11-30 Pedro Alves <palves@redhat.com>
10419
10420 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10421 Handle non-stop mode vCont replies.
10422
10423 2015-11-30 Pedro Alves <palves@redhat.com>
10424
10425 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10426 prepare_for_testing. Start gdb with "set non-stop on" appended to
10427 GDBFLAGS. Lax expected stop output.
10428
10429 2015-11-27 Yao Qi <yao.qi@linaro.org>
10430
10431 * gdb.arch/arm-neon.exp: New.
10432 * gdb.arch/arm-neon.c: New.
10433
10434 2015-11-27 Yao Qi <yao.qi@linaro.org>
10435
10436 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10437
10438 2015-11-27 Yao Qi <yao.qi@linaro.org>
10439
10440 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10441 frames-invalid annotation.
10442
10443 2015-11-27 Yao Qi <yao.qi@linaro.org>
10444
10445 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10446
10447 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10448
10449 * gdb.threads/names.exp: New file.
10450 * gdb.threads/names.c: New file.
10451 * README: Mention gdb,no_thread_names.
10452
10453 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10454
10455 PR 19297
10456 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10457 support" error.
10458
10459 2015-11-24 Pedro Alves <palves@redhat.com>
10460
10461 PR 17539
10462 * gdb.base/display.exp: Expect displays to be sorted in ascending
10463 order. Use multi_line.
10464 * gdb.base/solib-display.exp: Likewise.
10465
10466 2015-11-24 Pedro Alves <palves@redhat.com>
10467
10468 PR 17539
10469 * gdb.base/display.exp: Expect displays to be sorted in ascending
10470 order. Use multi_line.
10471 * gdb.base/solib-display.exp: Likewise.
10472
10473 2015-11-24 Pedro Alves <palves@redhat.com>
10474
10475 PR 17539
10476 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10477 threads in ascending order.
10478 * gdb.base/foll-fork.exp: Likewise.
10479 * gdb.base/foll-vfork.exp: Likewise.
10480 * gdb.base/multi-forks.exp: Likewise.
10481 * gdb.mi/mi-nonstop.exp: Likewise.
10482 * gdb.mi/mi-nsintrall.exp: Likewise.
10483 * gdb.multi/base.exp: Likewise.
10484 * gdb.multi/multi-arch.exp: Likewise.
10485 * gdb.python/py-inferior.exp: Likewise.
10486 * gdb.threads/break-while-running.exp: Likewise.
10487 * gdb.threads/execl.exp: Likewise.
10488 * gdb.threads/gcore-thread.exp: Likewise.
10489 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10490 * gdb.threads/kill.exp: Likewise.
10491 * gdb.threads/linux-dp.exp: Likewise.
10492 * gdb.threads/multiple-step-overs.exp: Likewise.
10493 * gdb.threads/next-bp-other-thread.exp: Likewise.
10494 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10495 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10496 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10497 * gdb.threads/thread-find.exp: Likewise.
10498 * gdb.threads/tls.exp: Likewise.
10499 * lib/mi-support.exp (mi_reverse_list): Delete.
10500 (mi_check_thread_states): No longer reverse list.
10501
10502 2015-11-24 Pedro Alves <palves@redhat.com>
10503
10504 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10505 use lowercase.
10506
10507 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10508
10509 * gdb.trace/actions.c: Include trace-common.h.
10510 (main): Add a location for a fast tracepoint.
10511 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10512 the normal tracepoints.
10513 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10514
10515 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10516
10517 * save-trace.exp: Factor out code to these...
10518 (gdb_save_tracepoints): New.
10519 (gdb_load_tracepoints): New.
10520 (do_save_load_test): New.
10521
10522 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10523
10524 * gdb.base/asmlabel.exp: New test.
10525 * gdb.base/asmlabel.c: New test case.
10526
10527 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10528
10529 * gdb.base/wrong_frame_bt_full-main.c: New file.
10530 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10531 * gdb.base/wrong_frame_bt_full.exp: New file.
10532
10533 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10534
10535 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10536
10537 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10538
10539 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10540 pstate register when comparing registers values in
10541 sparc64-*-linux-gnu targets to avoid spurious differences.
10542
10543 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10544
10545 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10546
10547 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10548
10549 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10550 as type argument to gdb_compile.
10551 * gdb.base/nested-subp2.exp: Likewise.
10552 * gdb.base/nested-subp3.exp: Likewise.
10553
10554 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10555
10556 * lib/dwarf.exp (_note): Fix left shift of negative value.
10557 * gdb.trace/trace-condition.exp: Likewise.
10558
10559 2015-11-13 Yao Qi <yao.qi@linaro.org>
10560
10561 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10562 comments about d10v.
10563 (test_scalar_returns): Likewise.
10564 * gdb.base/d10v.ld: Remove.
10565 * gdb.base/overlays.exp: Remove the target triplet checking for
10566 d10v-*-*.
10567 * gdb.base/structs.exp (test_struct_returns): Remove the
10568 comments about d10v.
10569 (test_struct_calls): Likewise.
10570
10571 2015-11-13 Yao Qi <yao.qi@linaro.org>
10572
10573 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10574 * gdb.base/gnu_vector.c: Don't include stdio.h.
10575 (main): Don't print res and call add_some_intvecs.
10576
10577 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10578
10579 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10580 macro.
10581 (func5): Removed.
10582 (func4): Use FAST_TRACEPOINT_LABEL.
10583 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10584 macro.
10585 (func): Removed.
10586 (thread_function): Use FAST_TRACEPOINT_LABEL.
10587 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10588 (func): Remove.
10589 (marker): Use FAST_TRACEPOINT_LABEL.
10590 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10591 (pendfunc1): Remove.
10592 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10593 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10594 (foo): Remove.
10595 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10596 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10597 macro.
10598 (func): Remove.
10599 (marker): Use FAST_TRACEPOINT_LABEL.
10600 * gdb.trace/trace-common.h: New header.
10601 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10602 macro.
10603 (func): Remove.
10604 (marker): Use FAST_TRACEPOINT_LABEL.
10605 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10606 (func): Remove.
10607 (thread_function): Use FAST_TRACEPOINT_LABEL.
10608
10609 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10610
10611 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10612 in front.
10613 * gdb.trace/change-loc.exp: Use global pcreg definition.
10614 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10615 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10616 in front.
10617 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10618 * gdb.trace/pending.exp: Likewise.
10619 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10620 * gdb.trace/trace-break.exp: Likewise.
10621 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10622 in front.
10623 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10624 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10625 in front.
10626 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10627
10628 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10629
10630 * gdb.ada/fin_fun_out: New testcase.
10631
10632 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10633
10634 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10635 value associated with DW_AT_byte_size.
10636 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10637 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10638 DW_AT_upper_bound.
10639
10640 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10641
10642 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10643 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10644 version.
10645 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10646 gdb.dwarf2/dw2-canonicalize-type.exp,
10647 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10648 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10649 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10650 provided by gdb_target_symbol_prefix_flags_asm.
10651 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10652 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10653 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10654 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10655 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10656 macros where needed). Use this macro for symbols which require
10657 the prefix provided by SYMBOL_PREFIX.
10658
10659 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10660
10661 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10662 New procs.
10663 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10664 representing expressions, of more than one list element.
10665 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10666 to prepend linker symbol prefix to f.
10667 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10668 table_1 and table_2.
10669 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10670 Likewise, for f and g.
10671 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10672 for ptr.
10673 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10674 for main.
10675 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10676 table_1_ptr and table_2_ptr.
10677
10678 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10679 Joel Brobecker <brobecker@adacore.com>
10680
10681 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10682
10683 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10684
10685 * gdb.reverse/s390-mvcle.c: New test.
10686 * gdb.reverse/s390-mvcle.exp: New file.
10687 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10688
10689 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10690
10691 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10692
10693 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10694
10695 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10696 reaching marker2.
10697 * gdb.reverse/getresuid-reverse.exp: Likewise.
10698 * gdb.reverse/pipe-reverse.exp: Likewise.
10699 * gdb.reverse/readv-reverse.exp: Likewise.
10700 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10701 * gdb.reverse/time-reverse.exp: Likewise.
10702 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10703
10704 2015-10-30 Yao Qi <yao.qi@linaro.org>
10705
10706 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10707 (empty_cycle): Remove.
10708 (main): Don't call empty_cycle. Don't use watch_count_done.
10709 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10710 empty_cycle. Rewrite the code counting HW watchpoints.
10711
10712 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10713
10714 * gdb.reverse/fstatat-reverse.c: New test.
10715 * gdb.reverse/fstatat-reverse.exp: New file.
10716 * gdb.reverse/getresuid-reverse.c: New test.
10717 * gdb.reverse/getresuid-reverse.exp: New file.
10718 * gdb.reverse/pipe-reverse.c: New test.
10719 * gdb.reverse/pipe-reverse.exp: New file.
10720 * gdb.reverse/readv-reverse.c: New test.
10721 * gdb.reverse/readv-reverse.exp: New file.
10722 * gdb.reverse/recvmsg-reverse.c: New test.
10723 * gdb.reverse/recvmsg-reverse.exp: New file.
10724 * gdb.reverse/time-reverse.c: New test.
10725 * gdb.reverse/time-reverse.exp: New file.
10726 * gdb.reverse/waitpid-reverse.c: New test.
10727 * gdb.reverse/waitpid-reverse.exp: New file.
10728
10729 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10730
10731 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10732
10733 2015-10-26 Doug Evans <dje@google.com>
10734
10735 PR symtab/17391
10736 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10737 * gdb.dwarf2/bad-regnum.c: New file.
10738 * gdb.dwarf2/bad-regnum.exp: New file.
10739
10740 2015-10-26 Doug Evans <dje@google.com>
10741
10742 PR python/18938
10743 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10744 file.
10745
10746 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10747
10748 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10749 for a change by "Mention language in compile error message".
10750
10751 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10752
10753 PR python/18073
10754 * gdb.python/py-type.c (C::a_method): New.
10755 (C::a_const_method): New.
10756 (C::a_static_method): New.
10757 (a_function): New.
10758 * gdb.python/py-type.exp (test_fields): Test getting fields
10759 from function and method.
10760
10761 2015-10-21 Keven Boell <keven.boell@intel.com>
10762
10763 * gdb.fortran/vla-alloc-assoc.exp: New file.
10764 * gdb.fortran/vla-datatypes.exp: New file.
10765 * gdb.fortran/vla-datatypes.f90: New file.
10766 * gdb.fortran/vla-history.exp: New file.
10767 * gdb.fortran/vla-ptype-sub.exp: New file.
10768 * gdb.fortran/vla-ptype.exp: New file.
10769 * gdb.fortran/vla-sizeof.exp: New file.
10770 * gdb.fortran/vla-sub.f90: New file.
10771 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10772 * gdb.fortran/vla-value-sub-finish.exp: New file.
10773 * gdb.fortran/vla-value-sub.exp: New file.
10774 * gdb.fortran/vla-value.exp: New file.
10775 * gdb.fortran/vla-ptr-info.exp: New file.
10776 * gdb.mi/mi-vla-fortran.exp: New file.
10777 * gdb.mi/vla.f90: New file.
10778
10779 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10780
10781 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10782 of hardwired timeout value.
10783
10784 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10785 Pedro Alves <palves@redhat.com>
10786
10787 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10788 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10789
10790 2015-10-19 Josh Stone <jistone@redhat.com>
10791
10792 * gdb.base/catch-syscall.c: Include <sched.h>.
10793 (unknown_syscall): New variable.
10794 (main): Trigger a vfork and an unknown syscall.
10795 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10796 (unknown_syscall_number): Likewise.
10797 (check_call_to_syscall): Accept an optional syscall pattern.
10798 (check_return_from_syscall): Likewise.
10799 (check_continue): Likewise.
10800 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10801 (test_catch_syscall_skipping_return): New test toggling off 'catch
10802 syscall' to step over the syscall return, then toggling back on.
10803 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10804 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10805 (do_syscall_tests): Call test_catch_syscall_without_args and
10806 test_catch_syscall_mid_vfork.
10807 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10808 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10809
10810 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10811
10812 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10813 print g_vE): Add new pass patterns.
10814 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10815 print various symbol names for vptr fields.
10816
10817 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10818
10819 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10820 results.
10821
10822 2015-10-12 Yao Qi <yao.qi@linaro.org>
10823
10824 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10825
10826 2015-10-12 Yao Qi <yao.qi@linaro.org>
10827
10828 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10829 is aarch64*-*-linux*.
10830
10831 2015-10-12 Yao Qi <yao.qi@linaro.org>
10832
10833 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10834 (can_relocate_bcond_true): ... it.
10835 (can_relocate_bcond_false): New function.
10836 (foo): Likewise.
10837 (can_relocate_bl): Likewise.
10838 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10839 can_relocate_bl.
10840
10841 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10842
10843 * gdb.base/nested-addr.c: New file.
10844 * gdb.base/nested-addr.exp: New testcase.
10845
10846 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10847
10848 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10849 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10850 its output. Ignore the output of "record goto begin" and instead
10851 check that GDB is replaying.
10852
10853 2015-10-09 Pedro Alves <palves@redhat.com>
10854
10855 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10856 (top level): Use it in the run with no args test.
10857
10858 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10859
10860 * gdb.dlang/properties.exp: New file.
10861
10862 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10863
10864 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10865 whether or not address 0x1000 is mapped on the target.
10866
10867 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10868
10869 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10870 build.
10871
10872 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10873
10874 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10875 instruction-history test.
10876
10877 2015-09-28 Doug Evans <dje@google.com>
10878
10879 * gdb.base/gcore.c (array_func): Add reference to static_array.
10880
10881 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10882
10883 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10884 source line.
10885
10886 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10887
10888 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10889 short or char as base type.
10890
10891 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10892
10893 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10894 to allow any size enum.
10895
10896 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10897
10898 * gdb.ada/array_ptr_renaming.exp: New testcase.
10899 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10900 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10901
10902 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10903
10904 * gdb.trace/ftrace-lock.c: New file.
10905 * gdb.trace/ftrace-lock.exp: New file.
10906
10907 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10908
10909 * gdb.arch/insn-reloc.c: New file.
10910 * gdb.arch/ftrace-insn-reloc.exp: New file.
10911
10912 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10913
10914 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10915 instruction.
10916 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10917 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10918 * gdb.trace/range-stepping.c: Likewise.
10919 * gdb.trace/trace-break.c: Likewise.
10920 * gdb.trace/trace-mt.c (thread_function): Likewise.
10921 * gdb.trace/ftrace.c (marker): Likewise.
10922 * gdb.trace/trace-condition.c (marker): Likewise.
10923 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10924 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10925 is_aarch64_target.
10926
10927 2015-09-18 Doug Evans <xdje42@gmail.com>
10928
10929 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10930 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10931
10932 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10933
10934 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10935 the breakpoint.
10936
10937 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10938
10939 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10940 the pending breakpoint. Remove timeout override for "Run till
10941 MI pending breakpoint on pendfunc3 on thread 2" test.
10942
10943 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10944
10945 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10946 filename pattern.
10947
10948 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10949
10950 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10951 in breakpoint filename pattern.
10952
10953 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10954
10955 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10956
10957 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10958
10959 * gdb.linespec/explicit.exp: Check for readline support for
10960 tab-completion tests. Fix obvious typo.
10961
10962 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10963
10964 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10965 and replay.
10966
10967 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10968
10969 * gdb.btrace/non-stop.c: New.
10970 * gdb.btrace/non-stop.exp: New.
10971
10972 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10973 Yao Qi <yao.qi@linaro.org>
10974
10975 * gdb.trace/trace-condition.c: New file.
10976 * gdb.trace/trace-condition.exp: New file.
10977
10978 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10979
10980 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10981 for testing bytecode compilation.
10982
10983 2015-09-16 Pedro Alves <palves@redhat.com>
10984 Sandra Loosemore <sandra@codesourcery.com>
10985
10986 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10987 (SECONDS): Redefine.
10988 (main): Call pthread_kill and alarm early.
10989 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10990 support.
10991 (test): If the target can't hardware step and doesn't support
10992 displaced stepping, increase the timeout.
10993
10994 2015-09-16 Pedro Alves <palves@redhat.com>
10995
10996 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10997 (enable_debug): New procedures.
10998 (test): Use them. Bail out if waiting for threads fails.
10999 (top level): Bail out if a test fails.
11000
11001 2015-09-16 Yao Qi <yao.qi@linaro.org>
11002
11003 * gdb.asm/asm-source.exp: Set asm-arch for
11004 aarch64*-*-* target.
11005 * gdb.asm/aarch64.inc: New file.
11006
11007 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11008
11009 * gdb.ada/array_of_variable_length.exp: New testcase.
11010 * gdb.ada/array_of_variable_length/foo.adb: New file.
11011 * gdb.ada/array_of_variable_length/pck.adb: New file.
11012 * gdb.ada/array_of_variable_length/pck.ads: New file.
11013
11014 2015-09-15 Doug Evans <dje@google.com>
11015
11016 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11017 of function static local variable.
11018
11019 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11020
11021 * gdb.threads/tls-so_extern.exp: New test file.
11022 * gdb.threads/tls-so_extern.c: New test file.
11023 * gdb.threads/tls-so_extern_main.c: New test file.
11024
11025 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11026
11027 * gdb.opt/solib-intra-step-lib.c: New file.
11028 * gdb.opt/solib-intra-step-main.c: New file.
11029 * gdb.opt/solib-intra-step.exp: New file.
11030
11031 2015-09-15 Pedro Alves <palves@redhat.com>
11032
11033 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11034 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11035
11036 2015-09-14 Pedro Alves <palves@redhat.com>
11037
11038 * gdb.base/hook-stop-continue.c: Delete.
11039 * gdb.base/hook-stop-continue.exp: Delete.
11040 * gdb.base/hook-stop-frame.c: Delete.
11041 * gdb.base/hook-stop-frame.exp: Delete.
11042 * gdb.base/hook-stop.c: New file.
11043 * gdb.base/hook-stop.exp: New file.
11044
11045 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11046
11047 * gdb.ada/access_to_packed_array.exp: New testcase.
11048 * gdb.ada/access_to_packed_array/foo.adb: New file.
11049 * gdb.ada/access_to_packed_array/pack.adb: New file.
11050 * gdb.ada/access_to_packed_array/pack.ads: New file.
11051
11052 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11053
11054 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11055 buffer size test.
11056
11057 2015-09-11 Don Breazeal <donb@codesourcery.com>
11058
11059 * gdb.base/foll-exec.c: Add copyright header. Fix
11060 formatting issues.
11061 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11062 (do_exec_tests): Use clean_restart in place of zap_session,
11063 and for test initialization. Fix formatting issues. Use
11064 fail in place of perror.
11065 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11066 an expect statement to match an expression with output from
11067 the program under debug.
11068 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11069 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11070 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11071 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11072 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11073
11074 2015-09-09 Doug Evans <dje@google.com>
11075
11076 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11077
11078 2015-09-09 Doug Evans <dje@google.com>
11079
11080 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11081
11082 2015-09-09 Doug Evans <dje@google.com>
11083
11084 * gdb.base/savedregs.exp: Fix typo.
11085
11086 2015-09-09 Pedro Alves <palves@redhat.com>
11087
11088 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11089
11090 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11091
11092 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11093 command actually switches threads. Give up on remaining
11094 tests if target fails to stop at breakpoint.
11095
11096 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11097
11098 * gdb.ada/funcall_char.exp: New testcase.
11099 * gdb.ada/funcall_char/foo.adb: New file.
11100
11101 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11102
11103 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11104 expected outputs. Add two testcases for completing ambiguous
11105 functions.
11106 * gdb.ada/complete/aux_pck.adb: New file.
11107 * gdb.ada/complete/aux_pck.ads: New file.
11108 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11109 Ambiguous_Func functions.
11110 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11111 * gdb.ada/complete/pck.adb: Likewise.
11112
11113 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11114
11115 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11116 failures to run the test program under GDB.
11117
11118 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11119
11120 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11121 to C.
11122
11123 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11124
11125 * gdb.base/run-after-attach.exp: New test file.
11126 * gdb.base/run-after-attach.c: New test file.
11127
11128 2015-08-26 Don Breazeal <donb@codesourcery.com>
11129
11130 * gdb.base/foll-exec-2.c: New test program.
11131 * gdb.base/foll-exec-2.exp: New test.
11132
11133 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11134
11135 * gdb.base/nested-subp1.exp: New file.
11136 * gdb.base/nested-subp1.c: New file.
11137 * gdb.base/nested-subp2.exp: New file.
11138 * gdb.base/nested-subp2.c: New file.
11139 * gdb.base/nested-subp3.exp: New file.
11140 * gdb.base/nested-subp3.c: New file.
11141
11142 2015-08-24 Pedro Alves <palves@redhat.com>
11143
11144 * gdb.server/connect-without-multi-process.c: New file.
11145 * gdb.server/connect-without-multi-process.exp: New file.
11146
11147 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11148
11149 * gdb.opt/inline-markers.c: Make z int.
11150
11151 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11152
11153 * gdb.opt/inline-markers.c: Make z volatile.
11154
11155 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11156
11157 * gdb.opt/inline-bt.c: New volatile global z.
11158 * gdb.opt/inline-cmds.c: Likewise.
11159 * gdb.opt/inline-locals.c: Likewise.
11160 * gdb.opt/inline-markers.c: New extern global z.
11161 (marker): Use z.
11162 (inline_fn): Likewise.
11163
11164 2015-08-24 Pedro Alves <palves@redhat.com>
11165
11166 * config/m32r-stub.exp: Remove file.
11167 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11168 * gdb.base/call-rt-st.exp: Likewise.
11169 * gdb.base/call-strs.exp: Likewise.
11170 * gdb.base/default.exp: Remove references to h8300-*-hms and
11171 *-*-udi*.
11172 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11173
11174 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11175
11176 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11177 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11178 and "return" use KFAIL when GDB can not read/write the vector
11179 return value.
11180
11181 2015-08-21 Gary Benson <gbenson@redhat.com>
11182
11183 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11184
11185 2015-08-20 Pedro Alves <palves@redhat.com>
11186
11187 * gdb.server/solib-list.exp: No longer expect an interior stop in
11188 non-stop mode.
11189
11190 2015-08-20 Pedro Alves <palves@redhat.com>
11191
11192 * gdb.server/connect-stopped-target.c: New file.
11193 * gdb.server/connect-stopped-target.exp: New file.
11194
11195 2015-08-20 Pedro Alves <palves@redhat.com>
11196
11197 * gdb.dwarf2/comp-unit-lang.exp: New file.
11198 * gdb.dwarf2/comp-unit-lang.c: New file.
11199
11200 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11201
11202 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11203 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11204
11205 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11206
11207 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11208 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11209
11210 2015-08-18 Doug Evans <dje@google.com>
11211 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11212
11213 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11214 skip_python_tests. New arg prompt_regexp.
11215 (skip_python_tests): New function.
11216 * lib/mi-support.exp (mi_skip_python_tests): New function.
11217 * gdb.python/py-mi-objfile-gdb.py: New file.
11218 * gdb.python/py-mi-objfile.c: New file.
11219 * gdb.python/py-mi-objfile.exp: New file.
11220
11221 2015-08-17 Keith Seitz <keiths@redhat.com>
11222
11223 * gdb.linespec/explicit.exp: Move strace test from here ...
11224 * gdb.trace/strace.exp: ... to here.
11225
11226 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11227
11228 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11229 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11230
11231 2015-08-14 Doug Evans <xdje42@gmail.com>
11232
11233 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11234 inferior before selecting a new file.
11235
11236 2015-08-14 Doug Evans <xdje42@gmail.com>
11237
11238 * gdb.mi/mi-disassemble.exp: Update.
11239 * gdb.base/disasm-optim.S: New file.
11240 * gdb.base/disasm-optim.c: New file.
11241 * gdb.base/disasm-optim.h: New file.
11242 * gdb.base/disasm-optim.exp: New file.
11243
11244 2015-08-14 Keith Seitz <keiths@redhat.com>
11245
11246 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11247 "evaluated-by".
11248
11249 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11250
11251 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11252
11253 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11254
11255 * gdb.ada/fun_renaming.exp: New testcase.
11256 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11257 * gdb.ada/fun_renaming/pack.adb: New file.
11258 * gdb.ada/fun_renaming/pack.ads: New file.
11259
11260 2015-08-12 Keith Seitz <keiths@redhat.com>
11261
11262 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11263 gdb_get_line_number.
11264
11265 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11266
11267 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11268 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11269 gdb.base/dso2dso.exp: New files.
11270
11271 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11272 Pedro Alves <palves@redhat.com>
11273 Keith Seitz <keiths@redhat.com>
11274
11275 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11276 GDBFLAGS.
11277
11278 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11279
11280 * gdb.base/gdbhistsize-history.exp
11281 (test_histsize_history_setting): Use save_vars.
11282 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11283 Use save_vars.
11284 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11285 * gdb.base/readline.exp: Use save_vars.
11286
11287 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11288
11289 * lib/gdb.exp (save_vars): New proc.
11290
11291 2015-08-11 Keith Seitz <keiths@redhat.com>
11292
11293 * gdb.base/help.exp: Update help_breakpoint_text.
11294
11295 2015-08-11 Keith Seitz <keiths@redhat.com>
11296
11297 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11298 (at toplevel): Call test_explicit_breakpoints.
11299 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11300 breakpoints.
11301 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11302 breakpoint conditions, "-cond".
11303
11304 2015-08-11 Keith Seitz <keiths@redhat.com>
11305
11306 * gdb.linespec/3explicit.c: New file.
11307 * gdb.linespec/cpexplicit.cc: New file.
11308 * gdb.linespec/cpexplicit.exp: New file.
11309 * gdb.linespec/explicit.c: New file.
11310 * gdb.linespec/explicit.exp: New file.
11311 * gdb.linespec/explicit2.c: New file.
11312 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11313 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11314 before using in the matching pattern.
11315 Clarify that `prefix' is a regular expression.
11316
11317 2015-08-11 Keith Seitz <keiths@redhat.com>
11318
11319 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11320 test.
11321 Add tests for missing ",FMT" and ",".
11322
11323 2015-08-10 Doug Evans <dje@google.com>
11324 Keith Seitz <keiths@redhat.com>
11325
11326 PR gdb/17960
11327 * gdb.base/completion.exp: Add location completer tests.
11328
11329 2015-08-07 Pedro Alves <palves@redhat.com>
11330
11331 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11332 tests here.
11333 (top level): Run do_test with and without displaced stepping.
11334
11335 2015-08-07 Pedro Alves <palves@redhat.com>
11336
11337 * gdb.base/valgrind-disp-step.c: New file.
11338 * gdb.base/valgrind-disp-step.exp: New file.
11339
11340 2015-08-07 Pedro Alves <palves@redhat.com>
11341
11342 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11343 Delete function.
11344 (main): Add alarm. Run an infinite loop instead of calling
11345 wait_threads.
11346 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11347 comment.
11348 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11349 Delete function.
11350 (main): Add alarm. Run an infinite loop instead of calling
11351 wait_threads.
11352 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11353 comment.
11354
11355 2015-08-07 Pedro Alves <palves@redhat.com>
11356
11357 * gdb.base/checkpoint-ns.exp: New file.
11358 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11359 standard_testfile.
11360
11361 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11362
11363 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11364 * gdb.btrace/instruction_history.exp: Update.
11365 * gdb.btrace/tsx.exp: New.
11366 * gdb.btrace/tsx.c: New.
11367
11368 2015-08-06 Pedro Alves <palves@redhat.com>
11369
11370 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11371 increase timeout.
11372 * gdb.reverse/until-precsave.exp: Bump timeouts.
11373
11374 2015-08-06 Pedro Alves <palves@redhat.com>
11375
11376 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11377
11378 2015-08-06 Pedro Alves <palves@redhat.com>
11379
11380 PR gdb/18749
11381 * gdb.threads/process-dies-while-handling-bp.c: New file.
11382 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11383
11384 2015-08-06 Pedro Alves <palves@redhat.com>
11385
11386 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11387 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11388
11389 2015-08-05 Pedro Alves <palves@redhat.com>
11390
11391 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11392 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11393
11394 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11395
11396 * gdb.base/bp-permanent.exp: Report test as unsupported if
11397 the target cannot stop at the permanent breakpoint.
11398
11399 2015-08-03 Doug Evans <dje@google.com>
11400
11401 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11402 10000.
11403
11404 2015-08-03 Doug Evans <dje@google.com>
11405
11406 * Makefile.in (workers/%.worker, build-perf): New rule.
11407 (GDB_PERFTEST_MODE): New variable.
11408 (check-perf): Use it.
11409 (clean): Clean up gdb.perf parallel build subdirs.
11410 * lib/build-piece.exp: New file.
11411 * lib/gdb.exp (make_gdb_parallel_path): New function
11412 (standard_output_file, standard_temp_file): Call it.
11413 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11414 of $GDB_PARALLEL.
11415 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11416
11417 2015-08-03 Doug Evans <dje@google.com>
11418
11419 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11420 (LOG_FILE_NAME): New global.
11421 (TextReporter.__init__): Initialize self.txt_sum.
11422 (TextReporter.report): Add support for multiple data-points.
11423 Move report to perftest.sum, put raw data in perftest.log.
11424 (TextReporter.start): Open sum and log files.
11425 (TextReporter.end): Close sum and log files.
11426 * gdb.perf/lib/perftest/testresult.py
11427 (SingleStatisticTestResult.record): Handle multiple data-points.
11428
11429 2015-07-31 Pedro Alves <palves@redhat.com>
11430
11431 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11432 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11433 kill_wait_spawned_process instead of explicit "kill -9".
11434 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11435 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11436 kill_wait_spawned_process.
11437 * gdb.base/attach-twice.exp: Likewise.
11438 * gdb.base/attach.exp: Likewise.
11439 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11440 gdb_test_multiple.
11441 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11442 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11443 kill_wait_spawned_process.
11444 * gdb.base/valgrind-infcall.exp: Likewise.
11445 * gdb.multi/multi-attach.exp: Likewise.
11446 * gdb.python/py-prompt.exp: Likewise.
11447 * gdb.python/py-sync-interp.exp: Likewise.
11448 * gdb.server/ext-attach.exp: Likewise.
11449 * gdb.threads/attach-into-signal.exp (corefunc): Use
11450 spawn_wait_for_attach, spawn_id_get_pid and
11451 kill_wait_spawned_process.
11452 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11453 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11454 spawn_id_get_pid and kill_wait_spawned_process.
11455 * gdb.threads/attach-stopped.exp (corefunc): Use
11456 spawn_wait_for_attach, spawn_id_get_pid and
11457 kill_wait_spawned_process.
11458 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11459 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11460 kill_wait_spawned_process instead of explicit "kill -9".
11461 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11462 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11463 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11464 processes. Don't map cygwin/windows pids here. Now returns a
11465 spawn id list.
11466
11467 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11468
11469 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11470 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11471 correct patch.
11472
11473 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11474
11475 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11476
11477 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11478
11479 Reapply:
11480 2014-05-21 Mark Wielaard <mjw@redhat.com>
11481
11482 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11483
11484 2015-07-30 Pedro Alves <palves@redhat.com>
11485
11486 * linux-low.c (handle_extended_wait): Set the child's last
11487 reported status to TARGET_WAITKIND_STOPPED.
11488
11489 2015-07-30 Pedro Alves <palves@redhat.com>
11490
11491 PR threads/18600
11492 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11493 only shows inferior 1.
11494
11495 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11496 Pedro Alves <palves@redhat.com>
11497
11498 PR threads/18600
11499 * gdb.threads/fork-plus-threads.c: New file.
11500 * gdb.threads/fork-plus-threads.exp: New file.
11501
11502 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11503
11504 * gdb.base/batch-preserve-term-settings.exp
11505 (test_terminal_settings_preserved_after_cli_exit): Use
11506 send_quit_command.
11507
11508 2015-07-29 Pedro Alves <palves@redhat.com>
11509 Don Breazeal <donb@codesourcery.com>
11510
11511 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11512 output from both inferior_spawn_id and gdb_spawn_id.
11513
11514 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11515
11516 * gdb.threads/attach-into-signal.exp (corefunc): Use
11517 with_test_prefix on nested loops, uniquefying the test messages.
11518
11519 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11520
11521 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11522 commit.
11523
11524 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11525
11526 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11527 New proc.
11528 (test_terminal_settings_preserved_after_sigterm): New test.
11529
11530 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11531
11532 * gdb.base/batch-preserve-term-settings.exp
11533 (test_terminal_settings_preserved_after_cli_exit): New test.
11534
11535 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11536
11537 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11538 manipulation of saved_gdbflags.
11539 (test_terminal_settings_preserved): Remove global declaration of
11540 the unused variable pagination_prompt. Remove manipulation of
11541 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11542 GDBFLAGS.
11543
11544 2015-07-29 Pedro Alves <palves@redhat.com>
11545
11546 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11547
11548 2015-07-29 Pedro Alves <palves@redhat.com>
11549
11550 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11551 at the top.
11552
11553 2015-07-29 Pedro Alves <palves@redhat.com>
11554
11555 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11556 (main): Call gdb_unbuffer_output.
11557 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11558 (main): Call gdb_unbuffer_output.
11559 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11560 (main): Call gdb_unbuffer_output.
11561 * gdb.base/call-strs.exp: Adjust to step over the
11562 gdb_unbuffer_output call.
11563 * gdb.base/catch-gdb-caused-signals.c: Include
11564 "../lib/unbuffer_output.c".
11565 (main): Call gdb_unbuffer_output.
11566 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11567 (main): Call gdb_unbuffer_output.
11568 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11569 (main): Call gdb_unbuffer_output.
11570 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11571 (main): Call gdb_unbuffer_output.
11572 * gdb.base/shlib-call.exp: Adjust to step over the
11573 gdb_unbuffer_output call.
11574 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11575 (main): Call gdb_unbuffer_output.
11576 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11577 (main): Call gdb_unbuffer_output.
11578 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11579 (main): Rename to ...
11580 (test): ... this.
11581 (main): Reimplement.
11582 * gdb.base/varargs.exp: Run to test instead of to main.
11583 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11584 (main): Call gdb_unbuffer_output.
11585
11586 2015-07-29 Pedro Alves <palves@redhat.com>
11587
11588 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11589 factore out from mi_continue_dprintf. For call-style dprintfs,
11590 expect dprintf output out of $inferior_spawn_id.
11591 (mi_continue_dprintf): Use mi_expect_dprintf.
11592 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11593 (main): Call gdb_unbuffer_output.
11594
11595 2015-07-29 Pedro Alves <palves@redhat.com>
11596
11597 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11598 (default_mi_gdb_start): Set inferior_spawn_id instead of
11599 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11600 gdb_spawn_id.
11601 (mi_gdb_test): Always expect inferior output from both
11602 $inferior_spawn_id and $gdb_spawn_id.
11603
11604 2015-07-29 Pedro Alves <palves@redhat.com>
11605
11606 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11607 send_inferior and $inferior_spawn_id.
11608
11609 2015-07-29 Pedro Alves <palves@redhat.com>
11610
11611 * gdb.gdb/complaints.exp (test_initial_complaints)
11612 (test_serial_complaints, test_short_complaints): Use
11613 gdb_test_stdio.
11614 (test_empty_complaint): Handle $inferior_spawn_id !=
11615 $gdb_spawn_id.
11616
11617 2015-07-29 Pedro Alves <palves@redhat.com>
11618
11619 * gdb.base/varargs.exp: Use gdb_test_stdio.
11620
11621 2015-07-29 Pedro Alves <palves@redhat.com>
11622
11623 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11624
11625 2015-07-29 Pedro Alves <palves@redhat.com>
11626
11627 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11628
11629 2015-07-29 Pedro Alves <palves@redhat.com>
11630
11631 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11632 parameter into two new parameters, "inf_result" and "gdb_result".
11633 Expect inferior output and gdb output from $inferior_spawn_id and
11634 $gdb_spawn_id, respectively. Adjust all callers.
11635
11636 2015-07-29 Pedro Alves <palves@redhat.com>
11637
11638 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11639 of gdb_test_sequence.
11640
11641 2015-07-29 Pedro Alves <palves@redhat.com>
11642
11643 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11644 (saw_spurious_output): Expect inferior output from
11645 $inferior_spawn_id. Use gdb_test_stdio.
11646
11647 2015-07-29 Pedro Alves <palves@redhat.com>
11648
11649 * gdb.base/dprintf.exp: Use standard_testfile. Change
11650 prepare_for_testing call.
11651 (srcfile): Don't set.
11652 (restart): New procedure.
11653 (test_dprintf): New procecure, use to continue over dprintfs.
11654 (test_call, test_agent): New procedures, tests moved here.
11655 Restart gdb and recreate dprintfs. Adjust expected output.
11656
11657 2015-07-29 Pedro Alves <palves@redhat.com>
11658
11659 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11660
11661 2015-07-29 Pedro Alves <palves@redhat.com>
11662
11663 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11664
11665 2015-07-29 Pedro Alves <palves@redhat.com>
11666
11667 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11668 gdb_test_stdio.
11669
11670 2015-07-29 Pedro Alves <palves@redhat.com>
11671
11672 * lib/gdb.exp (gdb_test_stdio): New procedure.
11673
11674 2015-07-29 Pedro Alves <palves@redhat.com>
11675
11676 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11677
11678 2015-07-29 Pedro Alves <palves@redhat.com>
11679
11680 * gdb.base/call-signal-resume.exp: Remove check for
11681 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11682 * gdb.base/unwindonsignal.exp: Likewise.
11683 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11684 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11685
11686 2015-07-29 Pedro Alves <palves@redhat.com>
11687
11688 * gdb.base/siginfo-addr.c (pass): New function.
11689 (handler): Call it iff si_addr is correct.
11690 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11691 Set a breakpoint at "pass" and continue to it.
11692
11693 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11694
11695 * gdb.python/py-objfile.exp: Make some tests have unique names.
11696 * gdb.python/py-pp-registration.exp: Likewise.
11697
11698 2015-07-28 Pedro Alves <palves@redhat.com>
11699
11700 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11701
11702 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11703
11704 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11705
11706 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11707
11708 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11709
11710 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11711
11712 * gdb.base/gdb-sigterm-2.exp: New test.
11713
11714 2015-07-25 Doug Evans <xdje42@gmail.com>
11715
11716 Revert:
11717 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11718 (workers/%.worker, build-perf): New rule.
11719 (GDB_PERFTEST_MODE): New variable.
11720 (check-perf): Use it.
11721 (clean): Clean up gdb.perf parallel build subdirs.
11722 * lib/build-piece.exp: New file.
11723 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11724 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11725 name.
11726 (standard_temp_file): Ditto.
11727 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11728 of $GDB_PARALLEL.
11729
11730 2015-07-24 Doug Evans <dje@google.com>
11731
11732 * gdb.perf/lib/perftest/utils.py: New file.
11733 * gdb.perf/gm-hello.cc: New file.
11734 * gdb.perf/gm-pervasive-typedef.cc: New file.
11735 * gdb.perf/gm-pervasive-typedef.h: New file.
11736 * gdb.perf/gm-std.cc: New file.
11737 * gdb.perf/gm-std.h: New file.
11738 * gdb.perf/gm-use-cerr.cc: New file.
11739 * gdb.perf/gm-utils.h: New file.
11740 * gdb.perf/gmonster-null-lookup.py: New file.
11741 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11742 * gdb.perf/gmonster-print-cerr.py: New file.
11743 * gdb.perf/gmonster-ptype-string.py: New file.
11744 * gdb.perf/gmonster-runto-main.py: New file.
11745 * gdb.perf/gmonster-select-file.py: New file.
11746 * gdb.perf/gmonster1-null-lookup.exp: New file.
11747 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11748 * gdb.perf/gmonster1-print-cerr.exp: New file.
11749 * gdb.perf/gmonster1-ptype-string.exp: New file.
11750 * gdb.perf/gmonster1-runto-main.exp: New file.
11751 * gdb.perf/gmonster1-select-file.exp: New file.
11752 * gdb.perf/gmonster1.cc: New file.
11753 * gdb.perf/gmonster1.exp: New file.
11754 * gdb.perf/gmonster2-null-lookup.exp: New file.
11755 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11756 * gdb.perf/gmonster2-print-cerr.exp: New file.
11757 * gdb.perf/gmonster2-ptype-string.exp: New file.
11758 * gdb.perf/gmonster2-runto-main.exp: New file.
11759 * gdb.perf/gmonster2-select-file.exp: New file.
11760 * gdb.perf/gmonster2.cc: New file.
11761 * gdb.perf/gmonster2.exp: New file.
11762
11763 2015-07-24 Doug Evans <dje@google.com>
11764
11765 * gdb.perf/README: New file.
11766 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11767 * lib/gen-perf-test.exp: New file.
11768
11769 2015-07-24 Doug Evans <dje@google.com>
11770
11771 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11772 (PerfTest::startup): New function.
11773 (PerfTest::run): Return result of calling body.
11774 (PerfTest::assemble): Rewrite.
11775 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11776 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11777 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11778 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11779 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11780
11781 2015-07-24 Doug Evans <dje@google.com>
11782
11783 * lib/gdb.exp (clean_restart): Make executable optional.
11784
11785 2015-07-24 Doug Evans <dje@google.com>
11786
11787 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11788 compiler_info references.
11789 * gdb.cp/temargs.exp: Ditto.
11790 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11791 (get_compiler_info): Early exit if already computed. Set compiler_info
11792 to "unknown" if there was a problem.
11793 (test_compiler_info): Add function comment. Call get_compiler_info.
11794
11795 2015-07-24 Doug Evans <dje@google.com>
11796
11797 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11798 (workers/%.worker, build-perf): New rule.
11799 (GDB_PERFTEST_MODE): New variable.
11800 (check-perf): Use it.
11801 (clean): Clean up gdb.perf parallel build subdirs.
11802 * lib/build-piece.exp: New file.
11803 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11804 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11805 name.
11806 (standard_temp_file): Ditto.
11807 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11808 of $GDB_PARALLEL.
11809
11810 2015-07-24 Doug Evans <dje@google.com>
11811
11812 * lib/future.exp (gdb_default_target_compile): New option
11813 "early_flags".
11814 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11815 --as-needed.
11816
11817 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11818
11819 * gdb.base/catch-syscall.exp: Call gdb_exit before
11820 gdb_skip_xml_test.
11821
11822 2015-07-24 Pedro Alves <palves@redhat.com>
11823
11824 * gdb.python/py-events.exp: Accept output between the stop event
11825 and the prompt.
11826 * gdb.python/py-evsignal.exp: Likewise.
11827 * gdb.python/py-evthreads.exp: Likewise.
11828
11829 2015-07-24 Pedro Alves <palves@redhat.com>
11830
11831 PR gdb/18717
11832 * gdb.threads/non-ldr-exit.c: New file.
11833 * gdb.threads/non-ldr-exit.exp: New file.
11834
11835 2015-07-24 Yao Qi <yao.qi@linaro.org>
11836
11837 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11838 restarting process.
11839
11840 2015-07-24 Yao Qi <yao.qi@linaro.org>
11841
11842 * gdb.server/ext-restart.exp: New file.
11843
11844 2015-07-24 Yao Qi <yao.qi@linaro.org>
11845
11846 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11847 argument options.
11848 * gdb.server/ext-wrapper.exp: New file.
11849
11850 2015-07-23 Doug Evans <dje@google.com>
11851
11852 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11853 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11854
11855 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11856
11857 * gdb.ada/var_arr_typedef.exp: New testcase.
11858 * gdb.ada/var_arr_typedef/pack.adb: New file.
11859 * gdb.ada/var_arr_typedef/pack.ads: New file.
11860 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11861
11862 2015-07-20 Joel Brobecker <brobecker@adacore.com>
11863
11864 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11865
11866 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11867
11868 * gdb.arch/i386-biarch-core.exp: Replace istarget
11869 by "complete set gnutarget". Remove expectation for the "core-file"
11870 command.
11871
11872 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11873
11874 Revert the previous commit:
11875 Tests for validate symbol file using build-id.
11876
11877 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11878
11879 Tests for validate symbol file using build-id.
11880 * gdb.base/solib-mismatch-lib.c: New file.
11881 * gdb.base/solib-mismatch-libmod.c: New file.
11882 * gdb.base/solib-mismatch.c: New file.
11883 * gdb.base/solib-mismatch.exp: New file.
11884
11885 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11886
11887 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11888 nios2-*-linux*.
11889 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11890 * gdb.base/siginfo.exp: Likewise.
11891 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11892
11893 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11894
11895 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11896 Move it to ...
11897 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11898 ... here.
11899 * gdb.trace/range-stepping.exp: Check that the target supports
11900 range stepping.
11901
11902 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11903
11904 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11905
11906 2015-07-14 Pedro Alves <palves@redhat.com>
11907
11908 * gdb.base/killed-outside.exp: New file.
11909 * gdb.base/killed-outside.c: New file.
11910
11911 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11912
11913 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11914 (n at main): New.
11915 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11916
11917 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11918
11919 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11920 infcall tests instead of setting up for KFAIL.
11921
11922 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11923
11924 * gdb.btrace/record_goto-step.exp: New.
11925
11926 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11927
11928 PR compile/18484
11929 * gdb.compile/compile.c (struct struct_type): Add volatile to
11930 selffield's type.
11931 * gdb.compile/compile.exp
11932 (compile code struct_object.selffield = &struct_object): Skip further
11933 struct_object tests if this one xfails.
11934
11935 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11936
11937 PR exp/18617
11938 * gdb.trace/ax.exp: Add test.
11939
11940 2015-07-07 Yao Qi <yao.qi@linaro.org>
11941
11942 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11943 instead of istarget "aarch64*-*-*".
11944 * gdb.arch/aarch64-fp.exp: Likewise.
11945 * gdb.base/float.exp: Likewise.
11946 * gdb.reverse/aarch64.exp: Likewise.
11947 * lib/gdb.exp (is_aarch64_target): New proc.
11948
11949 2015-07-07 Yao Qi <yao.qi@linaro.org>
11950
11951 * lib/gdb.exp (is_aarch32_target): New proc.
11952 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11953 instead of "istarget "arm*-*-*"".
11954 * gdb.arch/arm-disp-step.exp: Likewise.
11955 * gdb.arch/thumb-bx-pc.exp: Likewise.
11956 * gdb.arch/thumb-prologue.exp: Likewise.
11957 * gdb.arch/thumb-singlestep.exp: Likewise.
11958 * gdb.base/disp-step-syscall.exp: Likewise.
11959 * gdb.base/float.exp: Likewise.
11960
11961 2015-07-07 Yao Qi <yao.qi@linaro.org>
11962
11963 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11964 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11965
11966 2015-07-07 Yao Qi <yao.qi@linaro.org>
11967
11968 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11969 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11970 if it exists.
11971 * gdb.multi/multi-arch.exp: Likewise.
11972
11973 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11974
11975 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11976 print.
11977
11978 2015-07-07 Yao Qi <yao.qi@linaro.org>
11979
11980 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11981
11982 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11983
11984 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11985 '[' and ']' characters.
11986
11987 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11988
11989 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11990
11991 2015-06-29 Pedro Alves <palves@redhat.com>
11992
11993 PR threads/18127
11994 * gdb.threads/hand-call-new-thread.c: New file.
11995 * gdb.threads/hand-call-new-thread.c: New file.
11996
11997 2015-06-26 Keith Seitz <keiths@redhat.com>
11998 Doug Evans <dje@google.com>
11999
12000 PR 16253
12001 * gdb.cp/var-tag-2.cc: New file.
12002 * gdb.cp/var-tag-3.cc: New file.
12003 * gdb.cp/var-tag-4.cc: New file.
12004 * gdb.cp/var-tag.cc: New file.
12005 * gdb.cp/var-tag.exp: New file.
12006
12007 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12008
12009 * gdb.base/history-duplicates.exp: New test.
12010
12011 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12012
12013 * gdb.base/completion.exp: Test the completion of the "focus"
12014 command.
12015
12016 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12017
12018 * gdb.arch/amd64-prologue-skip.S: New file.
12019 * gdb.arch/amd64-prologue-skip.exp: New file.
12020
12021 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12022
12023 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12024 is_address_zero_readable check.
12025
12026 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12027
12028 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12029 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12030
12031 2015-06-24 Yao Qi <yao.qi@linaro.org>
12032
12033 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12034 linux targets.
12035
12036 2015-06-24 Yao Qi <yao.qi@linaro.org>
12037
12038 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12039 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12040 * gdb.base/siginfo-thread.exp: Likewise.
12041
12042 2015-06-22 Yao Qi <yao.qi@linaro.org>
12043
12044 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12045
12046 2015-06-22 Yao Qi <yao.qi@linaro.org>
12047
12048 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12049 aarch64*-*-*.
12050 (skip_hw_watchpoint_tests): Likewise.
12051
12052 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12053
12054 * gdb.base/gdbinit-history.exp: Test the interaction between
12055 setting GDBHISTSIZE and setting the history size via .gdbinit.
12056
12057 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12058
12059 PR gdb/16999
12060 * gdb.base/gdbhistsize-history.exp: New test.
12061
12062 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12063
12064 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12065 with GDBHISTSIZE.
12066 * gdb.base/readline.exp: Likewise.
12067
12068 2015-06-17 Yao Qi <yao.qi@linaro.org>
12069
12070 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12071 line.
12072
12073 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12074
12075 * gdb.base/gdbinit-history.exp: Add test case to check that
12076 an unlimited history file does not get truncated on exit.
12077
12078 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12079
12080 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12081 (VECTOR): New macro. Use it...
12082 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12083 ...for these typedefs.
12084 (int8, char1, int1, double1): New typedefs.
12085 (struct just_int2, struct two_int2): New structures.
12086 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12087 (add_structvecs, add_singlevecs): New functions.
12088 (main): Call add_some_intvecs twice.
12089 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12090 the compile and exit upon failure. Try compiling for the "native"
12091 architecture. Test inferior function calls with vector arguments
12092 and vector return value handling with "finish" and "return".
12093
12094 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12095
12096 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12097 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12098 PE file.
12099 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12100
12101 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12102
12103 PR breakpoints/16465
12104 * gdb.mi/mi-dprintf-pending.c: New file.
12105 * gdb.mi/mi-dprintf-pending.exp: New test.
12106 * gdb.mi/mi-dprintf-pendshr.c: New file.
12107
12108 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12109 Mircea Gherzan <mircea.gherzan@intel.com>
12110
12111 * gdb.arch/i386-mpx-map.c: New file.
12112 * gdb.arch/i386-mpx-map.exp: New File.
12113
12114 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12115
12116 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12117 * gdb.arch/i386-mpx.exp: Indentation fixed.
12118
12119 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12120
12121 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12122 function and improved indentation.
12123 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12124 gdb_test_multiple. Added additional tests to skip the test.
12125
12126 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12127
12128 * gdb.arch/i386-avx512.c: Change path in include file.
12129 * gdb.arch/i386-avx512.exp: Change include dir path
12130 compilation flag.
12131 * gdb.arch/i386-mpx.c: Change path in include file.
12132 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12133 flag.
12134
12135 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12136
12137 * gdb.compile/compile-print.exp (compile print *vararray@3)
12138 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12139
12140 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12141
12142 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12143 (do not keep jit in memory): ... this.
12144 (expect 5): Change it to ...
12145 (expect no 5): ... this.
12146
12147 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12148
12149 PR gdb/15564
12150 * gdb.mi/mi-detach.exp: New file.
12151
12152 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12153
12154 PR symtab/18392
12155 * gdb.arch/amd64-tailcall-self.S: New file.
12156 * gdb.arch/amd64-tailcall-self.c: New file.
12157 * gdb.arch/amd64-tailcall-self.exp: New file.
12158
12159 2015-05-28 Don Breazeal <donb@codesourcery.com>
12160
12161 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12162 tests for remote targets by checking is_target_gdbserver.
12163
12164 2015-05-27 Doug Evans <dje@google.com>
12165
12166 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12167 * gdb.dwarf2/opaque-type-lookup.c: New file.
12168 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12169
12170 2015-05-26 Doug Evans <dje@google.com>
12171
12172 * gdb.cp/iostream.cc: New file.
12173 * gdb.cp/iostream.exp: New file.
12174
12175 2015-05-26 Doug Evans <dje@google.com>
12176
12177 * gdb.dwarf2/dw2-op-call.exp: Update.
12178 * gdb.dwarf2/dw4-sig-types.exp: Update.
12179 * gdb.dwarf2/implptr.exp: Update.
12180 * gdb.mi/mi-cmd-param-changed.exp: Update.
12181
12182 2015-05-26 Doug Evans <dje@google.com>
12183
12184 * gdb.python/py-lazy-string.c: New file.
12185 * gdb.python/py-lazy-string.exp: New file.
12186 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12187 (main): Update. Add estring3.
12188 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12189 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12190
12191 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12192 Yao Qi <yao.qi@linaro.org>
12193
12194 * gdb.reverse/aarch64.c: New.
12195 * gdb.reverse/aarch64.exp: New.
12196
12197 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12198
12199 * lib/gdb.exp (supports_process_record): Return true for
12200 aarch64*-linux*.
12201 (supports_reverse): Likewise.
12202
12203 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12204
12205 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12206 Use with_test_prefix.
12207
12208 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12209
12210 * gdb.base/completion.exp: Add test for completion of layout
12211 names.
12212
12213 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12214
12215 * lib/gdb.exp (skip_tui_tests): New proc.
12216 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12217
12218 2015-05-19 Pedro Alves <palves@redhat.com>
12219
12220 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12221 Save the whole env array instead of just HOME. Unset HISTSIZE in
12222 the environment while testing. Restore whole environment
12223 afterwards.
12224
12225 2015-05-16 Doug Evans <xdje42@gmail.com>
12226
12227 * gdb.guile/scm-ports.c: New file.
12228 * gdb.guile/scm-ports.exp: Add memory port tests.
12229
12230 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12231
12232 * gdb.compile/compile-print.c: New file.
12233 * gdb.compile/compile-print.exp: New file.
12234
12235 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12236
12237 * gdb.compile/compile-ops.exp: Cast param to void.
12238 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12239 (compile code struct_object.selffield = &struct_object): Add xfail.
12240
12241 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12242
12243 * gdb.ada/arr_enum_with_gap: New testcase.
12244
12245 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12246
12247 * gdb.ada/byte_packed_arr: New testcase.
12248
12249 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12250
12251 * gdb.ada/pckd_neg: New testcase.
12252
12253 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12254
12255 PR gdb/17820
12256 * gdb.base/gdbinit-history.exp: New test.
12257 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12258 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12259
12260 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12261
12262 * gdb.python/py-xmethods.cc: Enhance test case.
12263 * gdb.python/py-xmethods.exp: New tests.
12264 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12265 function.
12266 (B_indexoper): Likewise.
12267 (global_dm_list) : Add new xmethod worker functions.
12268
12269 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12270
12271 * gdb.base/coredump-filter.exp: Correctly unset
12272 "coredump_var_addr" array.
12273
12274 2015-05-08 Pedro Alves <palves@redhat.com>
12275
12276 * gdb.server/non-existing-program.exp: Unset spawn_id.
12277
12278 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12279
12280 PR python/18291
12281 * gdb.python/py-xmethods.exp: Add tests.
12282
12283 2015-05-08 Yao Qi <yao.qi@linaro.org>
12284
12285 PR gdb/18208
12286 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12287 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12288 function set_coredump_filter, and remove remote_exec call.
12289 Remove argument ipid. Callers update.
12290 (top level): Don't get inferior's PID.
12291
12292 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12293
12294 * gdb.base/watch_thread_num.exp: Skip test on targets without
12295 access watchpoints.
12296
12297 2015-05-06 Pedro Alves <palves@redhat.com>
12298
12299 PR server/18081
12300 * gdb.server/non-existing-program.exp: New file.
12301
12302 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12303
12304 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12305
12306 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12307
12308 * gdb.ada/out_of_line_in_inlined: New testcase.
12309
12310 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12311
12312 * gdb.ada/var_rec_arr: New testcase.
12313
12314 2015-04-30 Yao Qi <yao.qi@linaro.org>
12315
12316 * gdb.base/break-idempotent.exp: If
12317 skip_hw_watchpoint_multi_tests returns true, skip the tests
12318 on "rwatch" and "awatch".
12319
12320 2015-04-30 Yao Qi <yao.qi@linaro.org>
12321
12322 * gdb.base/relativedebug.exp: Invoke gdb command
12323 "info sharedlibrary", and if libc.so doesn't have debug info,
12324 skip the test.
12325
12326 2015-04-29 Doug Evans <dje@google.com>
12327
12328 * gdb.python/py-xmethods.exp: Add ptype tests.
12329 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12330 get_result_type method.
12331
12332 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12333
12334 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12335 the target does not support hardware watchpoints.
12336
12337 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12338
12339 * gdb.base/break-always.exp: Abort testing if writing to memory
12340 causes an error.
12341
12342 2015-04-28 Doug Evans <dje@google.com>
12343
12344 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12345 * gdb.python/py-pp-registration.exp: ... here. New file.
12346 * gdb.python/py-pp-registration.c: New file.
12347 * gdb.python/py-pp-registration.py: New file.
12348
12349 2015-04-28 Doug Evans <dje@google.com>
12350
12351 * gdb.python/py-bad-printers.c: New file.
12352 * gdb.python/py-bad-printers.py: New file.
12353 * gdb.python/py-bad-printers.exp: New file.
12354
12355 2015-04-28 Sasha Smundak <asmundak@google.com>
12356
12357 * gdb.python/py-type.exp: New test.
12358
12359 2015-04-28 Andy Wingo <wingo@igalia.com>
12360
12361 * gdb.python/py-parameter.exp:
12362 * gdb.guile/scm-parameter.exp: Escape the path that we are
12363 matching against, as it might contain characters that are special
12364 to regular expressions.
12365
12366 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12367
12368 * gdb.ada/rec_comp: New testcase.
12369
12370 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12371
12372 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12373 before using it.
12374
12375 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12376
12377 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12378 new tests for verilog output.
12379
12380 2015-04-24 Yao Qi <yao.qi@linaro.org>
12381
12382 * boards/remote-gdbserver-on-localhost.exp: New file.
12383
12384 2015-04-23 Pedro Alves <palves@redhat.com>
12385
12386 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12387 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12388 "end of file", remove $inferior_spawn_id from the indirect list.
12389
12390 2015-04-23 Pedro Alves <palves@redhat.com>
12391
12392 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12393
12394 2015-04-23 Pedro Alves <palves@redhat.com>
12395
12396 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12397 on $any_spawn_id instead of only on $gdb_spawn_id.
12398
12399 2015-04-21 Pierre Muller <muller@sourceware.org>
12400
12401 PR pascal/17815
12402 * lib/pascal.exp (gpc_compile): Add new option "class".
12403 (fpc_compile): Likewise.
12404 * gdb.pascal/case-insensitive-symbols.pas: New file.
12405 * gdb.pascal/case-insensitive-symbols.exp: New file.
12406
12407 2015-04-20 Gary Benson <gbenson@redhat.com>
12408
12409 * gdb.base/attach.exp: Fix three extended remote failures.
12410
12411 2015-04-17 Gary Benson <gbenson@redhat.com>
12412
12413 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12414 the main executable over the remote protocol.
12415
12416 2015-04-16 Pedro Alves <palves@redhat.com>
12417
12418 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12419 a new gdbserver if gdbserver_reconnect_p is set.
12420
12421 2015-04-16 Pedro Alves <palves@redhat.com>
12422
12423 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12424 is set, don't exit gdbserver.
12425
12426 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12427
12428 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12429 appropriate .insn, such that an older assembler can be used.
12430 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12431 the z/Architecture instruction set on 31-bit targets as well.
12432
12433 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12434
12435 * gdb.go/handcall.exp: Remove all logic related to the first
12436 breakpoint and rely on go_runto_main instead.
12437 * gdb.go/strings.exp: Likewise.
12438 * gdb.go/unsafe.exp: Likewise.
12439 * gdb.go/hello.exp: Likewise. Also rename the remaining
12440 breakpoint marker to "breakpoint 1".
12441 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12442 * gdb.go/strings.go: Likewise.
12443 * gdb.go/unsafe.go: Likewise.
12444 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12445 "set breakpoint 2 here" and rename the remaining breakpoint marker
12446 to "breakpoint 1".
12447
12448 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12449
12450 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12451 if itertools.imap is not present.
12452 * gdb.python/py-objfile.exp: Add parentheses.
12453 * gdb.python/py-type.exp: Same.
12454 * gdb.python/py-unwind-maint.py: Same.
12455
12456 2015-04-15 Yao Qi <yao.qi@linaro.org>
12457
12458 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12459 of ":$ptr_size" and set its form explicitly.
12460
12461 2015-04-15 Pedro Alves <palves@redhat.com>
12462 Yao Qi <yao.qi@linaro.org>
12463
12464 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12465 timeout by factor of 4.
12466 (test_regular_watch): Likewise.
12467 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12468 * gdb.reverse/sigall-reverse.exp: Likewise.
12469 * gdb.reverse/until-precsave.exp: Likewise.
12470 * lib/gdb.exp (with_timeout_factor): New proc.
12471 (gdb_expect): Move some code to ...
12472 (get_largest_timeout): ... here. New procedure.
12473
12474 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12475
12476 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12477
12478 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12479
12480 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12481 to write to the .text section.
12482
12483 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12484
12485 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12486 Handle the case of targets that do not provide PID information.
12487
12488 2015-04-13 Yao Qi <yao.qi@linaro.org>
12489
12490 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12491 and use expect instead of gdb_expect.
12492
12493 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12494
12495 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12496 "coredump_var_addr" to avoid naming conflict with other testcases.
12497
12498 2015-04-10 Pedro Alves <palves@redhat.com>
12499
12500 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12501 gdb_test_sequence and gdb_assert.
12502
12503 2015-04-10 Pedro Alves <palves@redhat.com>
12504
12505 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12506 test messages that don't include the breakpoint address.
12507
12508 2015-04-10 Yao Qi <yao.qi@linaro.org>
12509
12510 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12511 false for some offset and width combinations which aren't
12512 supported by linux kernel.
12513
12514 2015-04-10 Pedro Alves <palves@redhat.com>
12515
12516 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12517 procedure, factored out from ...
12518 (top level): ... here. Add "set displaced-stepping" testing axis.
12519 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12520 parameter "displaced". Use it.
12521 (top level): Use foreach and add "set displaced-stepping" testing
12522 axis.
12523
12524 2015-04-10 Pedro Alves <palves@redhat.com>
12525
12526 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12527 Remove comment.
12528 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12529 both the address of the instruction that triggers the watchpoint
12530 and the address of the instruction immediately after, and use
12531 those addresses for the test. Fix comment.
12532
12533 2015-04-10 Pedro Alves <palves@redhat.com>
12534
12535 * gdb.base/sigstep.exp (breakpoint_to_handler)
12536 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12537 Test "backtrace" in handler.
12538 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12539 (top level): Add new "displaced" test axis to
12540 breakpoint_to_handler, breakpoint_to_handler_entry and
12541 breakpoint_over_handler.
12542
12543 2015-04-10 Pedro Alves <palves@redhat.com>
12544
12545 PR gdb/18216
12546 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12547
12548 2015-04-10 Yao Qi <yao.qi@linaro.org>
12549
12550 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12551 (test_add_rn_pc): New function.
12552 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12553 (top level): Invoke test_add_rn_pc.
12554
12555 2015-04-10 Pedro Alves <palves@redhat.com>
12556
12557 PR gdb/13858
12558 * gdb.base/step-over-no-symbols.exp: New file.
12559
12560 2015-04-09 Andy Wingo <wingo@igalia.com>
12561
12562 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12563 after the Python tests.
12564
12565 2015-04-08 Keith Seitz <keiths@redhat.com>
12566
12567 PR python/16699
12568 * gdb.python/py-completion.exp: New tests for completion.
12569 * gdb.python/py-completion.py (CompleteLimit1): New class.
12570 (CompleteLimit2): Likewise.
12571 (CompleteLimit3): Likewise.
12572 (CompleteLimit4): Likewise.
12573 (CompleteLimit5): Likewise.
12574 (CompleteLimit6): Likewise.
12575 (CompleteLimit7): Likewise.
12576
12577 2015-04-08 Pedro Alves <palves@redhat.com>
12578
12579 PR gdb/18214
12580 PR gdb/18216
12581 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12582 function.
12583 (main): Install it as SIGUSR1 handler.
12584 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12585 parameter. Always use "setup" as prefix. Toggle "set
12586 displaced-stepping" off/on depending on global. Don't switch to
12587 thread 1 here.
12588 (top level): Add displaced stepping "off/on" test axis. Update
12589 "setup" calls. Wrap each subtest with with_test_prefix. Test
12590 continuing with a queued signal in each thread.
12591
12592 2015-04-08 Pedro Alves <palves@redhat.com>
12593
12594 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12595 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12596 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12597 Return early if running to main fails.
12598 * gdb.trace/while-stepping.exp: Likewise.
12599
12600 2015-04-07 Pedro Alves <palves@redhat.com>
12601
12602 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12603 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12604 interact with inferior program.
12605
12606 2015-04-07 Pedro Alves <palves@redhat.com>
12607
12608 * lib/gdb.exp (inferior_spawn_id): New global.
12609 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12610 spawn id after processing the user code.
12611 (default_gdb_start): Set inferior_spawn_id.
12612 (send_inferior): New procedure.
12613 * lib/gdbserver-support.exp (gdbserver_start): Set
12614 inferior_spawn_id.
12615 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12616
12617 2015-04-07 Pedro Alves <palves@redhat.com>
12618
12619 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12620 * lib/gdbserver-support.exp (gdbserver_start): Make
12621 $server_spawn_id global.
12622 (gdbserver_start): Don't wait for gdbserver's spawn id with
12623 expect_background.
12624 (close_gdbserver): New procedure.
12625 (gdb_exit): Rename the default version and reimplement.
12626
12627 2015-04-07 Pedro Alves <palves@redhat.com>
12628
12629 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12630 append the substituted item, not the original item.
12631
12632 2015-04-07 Pedro Alves <palves@redhat.com>
12633
12634 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12635 gdb_expect.
12636
12637 2015-04-07 Pedro Alves <palves@redhat.com>
12638
12639 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12640 output appearing once only.
12641
12642 2015-04-07 Pedro Alves <palves@redhat.com>
12643
12644 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12645 that doesn't expect anything. Return early if running to main
12646 fails.
12647
12648 2015-04-07 Yao Qi <yao.qi@linaro.org>
12649
12650 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12651 (child_function): Call alarm.
12652 (main): Move call to alarm into the loop.
12653 * gdb.threads/non-stop-fair-events.exp: Build program with
12654 -DTIMEOUT=$timeout.
12655
12656 2015-04-06 Doug Evans <xdje42@gmail.com>
12657
12658 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12659 Fix dest parameter to board_info.
12660 (fpc_compile): Ditto.
12661 (gdb_compile_pascal): Rename dest arg to destfile.
12662
12663 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12664
12665 * gdb.ada/funcall_ref.exp: New file.
12666 * gdb.ada/funcall_ref/foo.adb: New file.
12667
12668 2015-04-02 Yao Qi <yao.qi@linaro.org>
12669
12670 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12671 is remote.
12672
12673 2015-04-02 Gary Benson <gbenson@redhat.com>
12674
12675 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12676
12677 2015-04-01 Sasha Smundak <asmundak@google.com>
12678
12679 * gdb.python/py-unwind-maint.c: New file.
12680 * gdb.python/py-unwind-maint.exp: New test.
12681 * gdb.python/py-unwind-maint.py: New file.
12682 * gdb.python/py-unwind.c: New file.
12683 * gdb.python/py-unwind.exp: New test.
12684 * gdb.python/py-unwind.py: New test.
12685
12686 2015-04-01 Pedro Alves <palves@redhat.com>
12687
12688 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12689 to fail instead of non-existent $test.
12690
12691 2015-04-01 Pedro Alves <palves@redhat.com>
12692
12693 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12694 GDBFLAGS if not empty.
12695
12696 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12697
12698 * gdb.ada/complete.exp: Remove "multi_line".
12699 * gdb.ada/info_exc.exp: Remove "multi_line".
12700 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12701 * gdb.ada/ptype_field.exp: Remove "multi_line".
12702 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12703 * gdb.ada/tagged.exp: Remove "multi_line".
12704 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12705 [multi_line ...]
12706 * gdb.btrace/delta.exp: Likewise.
12707 * gdb.btrace/exception.exp: Likewise.
12708 * gdb.btrace/function_call_history.exp: Likewise.
12709 * gdb.btrace/instruction_history.exp: Likewise.
12710 * gdb.btrace/nohist.exp: Likewise.
12711 * gdb.btrace/record_goto.exp: Likewise.
12712 * gdb.btrace/segv.exp: Likewise.
12713 * gdb.btrace/stepi.exp: Likewise.
12714 * gdb.btrace/tailcall.exp: Likewise.
12715 * gdb.btrace/unknown_functions.exp: Likewise.
12716 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12717 * lib/gdb.exp: Add the "multi_line" helper.
12718
12719 2015-04-01 Pedro Alves <palves@redhat.com>
12720
12721 * gdb.threads/tid-reuse.c: New file.
12722 * gdb.threads/tid-reuse.exp: New file.
12723
12724 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12725
12726 PR corefiles/16092
12727 * gdb.base/coredump-filter.c: New file.
12728 * gdb.base/coredump-filter.exp: Likewise.
12729
12730 2015-03-27 Petr Machata <pmachata@redhat.com>
12731
12732 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12733 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12734 (Dwarf::assemble): Initialize them.
12735 (Dwarf::lines): New function.
12736
12737 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12738
12739 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12740 SYMBOL_PREFIX for x86_64-*-cygwin.
12741
12742 2015-03-26 Andy Wingo <wingo@igalia.com>
12743
12744 PR symtab/18148
12745 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12746 const_value but not a location.
12747 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12748 location defined in non-main CUs are visible.
12749
12750 2015-03-26 Yao Qi <yao.qi@linaro.org>
12751
12752 PR testsuite/18139
12753 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12754 Add a line number entry for the same line.
12755 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12756 Add a line number entry for the same line.
12757
12758 2015-03-26 Yao Qi <yao.qi@linaro.org>
12759
12760 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12761 .int 0.
12762 (func): Likewise. Add .Lfunc_1 label.
12763 Use .Lfunc_1 label.
12764 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12765 .int 0.
12766 (func): Likewise.
12767 Use .Lfunc_1 label.
12768
12769 2015-03-26 Yao Qi <yao.qi@linaro.org>
12770
12771 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12772 Call gdb_compile instead to compile each .s files without debug
12773 information.
12774
12775 2015-03-26 Yao Qi <yao.qi@linaro.org>
12776
12777 * gdb.base/savedregs.exp (process_saved_regs): Make
12778 "Saved registers:" optional in the pattern.
12779
12780 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12781
12782 * gdb.btrace/next.exp: Merged into step.exp.
12783 * gdb.btrace/finish.exp: Merged into step.exp.
12784 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12785 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12786 "record goto" and checking the exact replay position.
12787 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12788 check for "Recording format" in "info record" output.
12789 * gdb.btrace/record_goto.exp: Choose test file based on target.
12790 * gdb.btrace/x86-record_goto.S: Renamed into ...
12791 * gdb.btrace/x86_64-record_goto.S: ... this.
12792 * gdb.btrace/i686-record_goto.S: New.
12793 * gdb.btrace/x86-tailcall.S: Renamed into ...
12794 * gdb.btrace/x86_64-tailcall.S: ... this.
12795 * gdb.btrace/i686-tailcall.S: New.
12796 * gdb.btrace/x86-tailcall.c: Renamed into ...
12797 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12798 separate statements. Update test.
12799 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12800 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12801 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12802 * gdb.btrace/tailcall.exp: Choose test file based on target.
12803 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12804
12805 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12806
12807 * gdb.btrace/exception.exp: Increase BTS buffer size.
12808
12809 2015-03-24 Pedro Alves <palves@redhat.com>
12810
12811 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12812
12813 2015-03-24 Pedro Alves <palves@redhat.com>
12814
12815 * gdb.threads/schedlock.exp (test_step): No longer expect that
12816 "set scheduler-locking step" with "next" over a function call runs
12817 threads unlocked.
12818
12819 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12820
12821 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12822
12823 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12824
12825 PR breakpoints/16466
12826 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12827 * gdb.mi/mi-pending.c (thread_func): New function.
12828 (int main): Add threading support required.
12829 * gdb.mi/mi-pending.exp: Add tests for this issue.
12830 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12831 (pendfunc2): Remove stdio dependency.
12832 * gdb.mi/mi-pendshr2.c: New file.
12833
12834 2015-03-23 Keith Seitz <keiths@redhat.com>
12835
12836 * gdb.linespec/keywords.c: New file.
12837 * gdb.linespec/keywords.exp: New file.
12838
12839 2015-03-23 Keith Seitz <keiths@redhat.com>
12840
12841 PR gdb/18021
12842 * gdb.dwarf2/staticvirtual.exp: New test.
12843
12844 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12845
12846 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12847 * README: Remove HP-UX and gdb.hp.
12848 (configuration):
12849 * configure: Regenerate.
12850 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12851 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12852 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12853 gdb.hp/gdb.defects/Makefile.
12854 * gdb.hp/Makefile.in: File deleted.
12855 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12856 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12857 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12858 * gdb.hp/gdb.aCC/run.c: File deleted.
12859 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12860 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12861 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12862 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12863 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12864 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12865 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12866 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12867 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12868 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12869 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12870 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12871 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12872 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12873 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12874 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12875 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12876 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12877 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12878 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12879 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12880 * gdb.hp/gdb.compat/average.c: File deleted.
12881 * gdb.hp/gdb.compat/sum.c: File deleted.
12882 * gdb.hp/gdb.compat/xdb.c: File deleted.
12883 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12884 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12885 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12886 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12887 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12888 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12889 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12890 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12891 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12892 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12893 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12894 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12895 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12896 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12897 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12898 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12899 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12900 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12901 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12902 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12903 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12904 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12905 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12906 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12907 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12908 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12909 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12910 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12911 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12912 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12913 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12914 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12915 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12916 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12917 * gdb.hp/tools/odump: File deleted.
12918
12919 2015-03-19 Pedro Alves <palves@redhat.com>
12920
12921 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12922 (saw_thread_3): New globals.
12923 (top level): Increment them when an event for the corresponding
12924 thread is seen.
12925 (no thread starvation): New test.
12926
12927 2015-03-19 Pedro Alves <palves@redhat.com>
12928
12929 * gdb.threads/continue-pending-status.c: New file.
12930 * gdb.threads/continue-pending-status.exp: New file.
12931
12932 2015-03-18 Pedro Alves <palves@redhat.com>
12933
12934 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12935 Use gdb_is_target_remote instead of is_remote. Use
12936 gdb_test_multiple instead of gdb_expect. Exit early if
12937 gdb_test_multiple hits its internal matches. Tighten stepi tests
12938 expected output. Fail on exit with any signal, instead of just
12939 SIGILL.
12940
12941 2015-03-18 Yao Qi <yao.qi@linaro.org>
12942
12943 PR tdep/18107
12944 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12945 variable.
12946 * gdb.base/catch-syscall.exp: Don't skip it on
12947 aarch64*-*-linux* target. Remove elements in all_syscalls.
12948 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12949 target.
12950 (setup_all_syscalls): New proc.
12951
12952 2015-03-16 Yao Qi <yao.qi@linaro.org>
12953
12954 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12955 (top level): Skip tests if valid_addr_p returns false for
12956 $cmd1 or $cmd2.
12957
12958 2015-03-11 Andy Wingo <wingo@igalia.com>
12959
12960 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12961
12962 2015-03-11 Yao Qi <yao.qi@linaro.org>
12963
12964 * gdb.base/catch-syscall.exp: Fix typo in comments.
12965
12966 2015-03-11 Yao Qi <yao.qi@linaro.org>
12967
12968 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12969
12970 2015-03-09 Pedro Alves <palves@redhat.com>
12971
12972 * dg-extract-results.py: Delete.
12973
12974 2015-03-09 Pedro Alves <palves@redhat.com>
12975
12976 Merge dg-extract-results.sh from GCC upstream (r218843).
12977
12978 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12979 * dg-extract-results.sh: Use --text with grep to avoid issues with
12980 binary files. Fall back to cat -v, if that doesn't work.
12981
12982 2015-03-05 Pedro Alves <palves@redhat.com>
12983
12984 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12985
12986 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12987
12988 * lib/mi-support.exp (mi_expect_interrupt): Accept
12989 alternative event for when in all-stop mode.
12990
12991 2015-03-04 Pedro Alves <palves@redhat.com>
12992
12993 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12994
12995 2015-03-04 Mark Kettenis <kettenis@gnu.org>
12996
12997 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12998
12999 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13000
13001 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13002 regexps for GDB's current line display, accept a hex address
13003 preceding the line number.
13004
13005 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13006
13007 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13008 the 'arch1' variable for "s390*-linux*" targets.
13009
13010 2015-03-04 Pedro Alves <palves@redhat.com>
13011
13012 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13013 (main): Pass missing retval argument to pthread_join call.
13014
13015 2015-03-02 Pedro Alves <palves@redhat.com>
13016
13017 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13018 (top level): Call do_test with non-stop as well.
13019
13020 2015-03-02 Pedro Alves <palves@redhat.com>
13021
13022 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13023 -1.
13024
13025 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13026
13027 * gdb.arch/s390-vregs.exp: New test.
13028 * gdb.arch/s390-vregs.S: New file.
13029
13030 2015-02-27 Pedro Alves <palves@redhat.com>
13031
13032 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13033 call to catch_command_errors.
13034 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13035 catch_command_errors.
13036
13037 2015-02-27 Pedro Alves <palves@redhat.com>
13038
13039 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13040 "true" for boolean result.
13041 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13042 prototype of main.
13043
13044 2015-02-27 Pedro Alves <palves@redhat.com>
13045
13046 * lib/unbuffer_output.c: New file.
13047 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13048 (main): Call gdb_unbuffer_output.
13049
13050 2015-02-27 Yao Qi <yao.qi@linaro.org>
13051
13052 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13053 target.
13054
13055 2015-02-26 Doug Evans <dje@google.com>
13056
13057 * gdb.cp/class2.cc (Dbase, D): New classes.
13058 (main): New local delta.
13059 * gdb.cp/class2.exp: Test printing delta.
13060 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13061 (dynbar): New global.
13062 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13063
13064 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13065
13066 * gdb.compile/compile-ifunc.c: New file.
13067 * gdb.compile/compile-ifunc.exp: New file.
13068
13069 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13070
13071 * gdb.base/structs.exp: Check for correct struct on finish.
13072
13073 2015-02-26 Yao Qi <yao.qi@linaro.org>
13074
13075 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13076 is zero.
13077
13078 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13079
13080 * gdb.arch/cordic.ko.bz2: New file.
13081 * gdb.arch/cordic.ko.debug.bz2: New file.
13082 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13083
13084 2015-02-25 Yao Qi <yao.qi@linaro.org>
13085
13086 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13087 aarch64*-*-* target.
13088
13089 2015-02-23 Pedro Alves <palves@redhat.com>
13090
13091 * lib/gdb.exp (delete_breakpoints): Rewrite using
13092 gdb_test_multiple.
13093
13094 2015-02-23 Pedro Alves <palves@redhat.com>
13095
13096 * gdb.base/info-os.c: Include stdlib.h.
13097
13098 2015-02-22 Doug Evans <xdje42@gmail.com>
13099
13100 PR symtab/17855
13101 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13102 is read after symbols have been re-read.
13103 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13104 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13105
13106 2015-02-21 Doug Evans <dje@google.com>
13107
13108 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13109
13110 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13111
13112 PR corefiles/17808
13113 * gdb.arch/i386-biarch-core.core.bz2: New file.
13114 * gdb.arch/i386-biarch-core.exp: New file.
13115
13116 2015-02-21 Pedro Alves <palves@redhat.com>
13117
13118 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13119 runto_main fails.
13120
13121 2015-02-20 Pedro Alves <palves@redhat.com>
13122
13123 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13124 info probes.
13125
13126 2015-02-20 Pedro Alves <palves@redhat.com>
13127
13128 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13129
13130 2015-02-20 Pedro Alves <palves@redhat.com>
13131
13132 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13133 clean_restart before gdb_target_supports_trace.
13134
13135 2015-02-20 Pedro Alves <palves@redhat.com>
13136
13137 PR threads/18006
13138 * gdb.threads/clone-thread_db.c: New file.
13139 * gdb.threads/clone-thread_db.exp: New file.
13140
13141 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13142
13143 PR breakpoints/16812
13144 * gdb.base/catch-gdb-caused-signals.c: New file.
13145 * gdb.base/catch-gdb-caused-signals.exp: New file.
13146
13147 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13148
13149 * configure: Regenerated.
13150 * configure.ac: Use GDB_AC_TRANSFORM.
13151 * aclocal.m4: sinclude ../transform.m4.
13152
13153 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13154
13155 * lib/dtrace.exp: New file.
13156 * gdb.base/dtrace-probe.exp: Likewise.
13157 * gdb.base/dtrace-probe.d: Likewise.
13158 * gdb.base/dtrace-probe.c: Likewise.
13159 * lib/pdtrace.in: Likewise.
13160 * configure.ac: Output variables with the transformed names of
13161 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13162 * configure: Regenerated.
13163
13164 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13165
13166 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13167 expected message when trying to access $_probe_* convenience
13168 variables while not on a probe.
13169
13170 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13171
13172 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13173
13174 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13175
13176 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13177 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13178
13179 2015-02-10 Doug Evans <xdje42@gmail.com>
13180
13181 * lib/gdb.exp (gdb_load): Always return a result.
13182
13183 2015-02-10 Pedro Alves <palves@redhat.com>
13184
13185 * gdb.threads/signal-sigtrap.c: New file.
13186 * gdb.threads/signal-sigtrap.exp: New file.
13187
13188 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13189
13190 * gdb.trace/no-attach-trace.c: New file.
13191 * gdb.trace/no-attach-trace.exp: New file.
13192
13193 2015-02-09 Mark Wielaard <mjw@redhat.com>
13194
13195 * gdb.dwarf2/atomic.c: New file.
13196 * gdb.dwarf2/atomic-type.exp: Likewise.
13197
13198 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13199
13200 * gdb.btrace/buffer-size.exp: Update "info record" output.
13201 * gdb.btrace/delta.exp: Update "info record" output.
13202 * gdb.btrace/enable.exp: Update "info record" output.
13203 * gdb.btrace/finish.exp: Update "info record" output.
13204 * gdb.btrace/instruction_history.exp: Update "info record" output.
13205 * gdb.btrace/next.exp: Update "info record" output.
13206 * gdb.btrace/nexti.exp: Update "info record" output.
13207 * gdb.btrace/step.exp: Update "info record" output.
13208 * gdb.btrace/stepi.exp: Update "info record" output.
13209 * gdb.btrace/nohist.exp: Update "info record" output.
13210
13211 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13212
13213 * gdb.btrace/buffer-size: New.
13214
13215 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13216
13217 * gdb.btrace/delta.exp: Update "info record" output.
13218 * gdb.btrace/enable.exp: Update "info record" output.
13219 * gdb.btrace/finish.exp: Update "info record" output.
13220 * gdb.btrace/instruction_history.exp: Update "info record" output.
13221 * gdb.btrace/next.exp: Update "info record" output.
13222 * gdb.btrace/nexti.exp: Update "info record" output.
13223 * gdb.btrace/step.exp: Update "info record" output.
13224 * gdb.btrace/stepi.exp: Update "info record" output.
13225 * gdb.btrace/nohist.exp: Update "info record" output.
13226
13227 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13228
13229 PR gdb/15678
13230 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13231
13232 2015-02-06 Pedro Alves <palves@redhat.com>
13233
13234 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13235 macro.
13236 (seconds_left, again): New globals.
13237 (main): Wait seconds_left in a 1-second sleep loop instead of
13238 sleeping 180 seconds. If 'again' is set, reset the seconds
13239 counter.
13240 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13241 'again' in the inferior before detaching. Print the seconds left.
13242 (options): New global.
13243 (top level): Build program with -DTIMEOUT=$timeout.
13244
13245 2015-02-06 Pedro Alves <palves@redhat.com>
13246
13247 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13248 determine how many seconds to pass to 'alarm'.
13249 * gdb.base/gdb-sigterm.exp (top level): Build program with
13250 -DTIMEOUT=$timeout.
13251 (do_test): Return success/failure indication. Add more verbose
13252 logging. Don't fail if 200 single steps are seen. Instead, fail
13253 when the test times out.
13254 (passes): New global.
13255 (top level): Break the testing loop if testing fails on any
13256 iteration. Use gdb_assert.
13257
13258 2015-02-04 Don Breazeal <donb@codesourcery.com>
13259
13260 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13261 and initialize them.
13262 (ipc_cleanup): New function.
13263 (main): Don't declare shmid, semid, and msqid. Add a call to
13264 atexit so that we call ipc_cleanup on exit.
13265
13266 2015-02-04 Pedro Alves <palves@redhat.com>
13267
13268 * boards/native-extended-gdbserver.exp: Remove any target variant
13269 specifications from the board name before clearing the isremote
13270 flag from board_info.
13271
13272 2015-01-31 Doug Evans <xdje42@gmail.com>
13273
13274 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13275
13276 2015-01-31 Gary Benson <gbenson@redhat.com>
13277
13278 * gdb.base/completion.exp: Disable completion limiting for
13279 existing tests. Add new tests to check completion limiting.
13280 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13281
13282 2015-01-31 Doug Evans <xdje42@gmail.com>
13283
13284 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13285
13286 2015-01-31 Doug Evans <xdje42@gmail.com>
13287
13288 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13289 entries. Duplicate file section script entries.
13290 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13291 inlined entries. Add test for safe-path rejection.
13292 * gdb.python/py-section-script.c: Add duplicate inlined section script
13293 entries. Duplicate file section script entries.
13294 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13295 inlined entries. Add test for safe-path rejection.
13296
13297 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13298
13299 * gdb.ada/disc_arr_bound: New testcase.
13300
13301 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13302
13303 * gdb.ada/mi_var_array: New testcase.
13304
13305 2015-01-27 Doug Evans <dje@google.com>
13306
13307 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13308 Add test for objfile.filename, objfile.username after objfile
13309 has been unloaded.
13310
13311 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13312
13313 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13314 the second test to print the name attribute of value
13315 returned by the call to gdb.lookup_type, and adjust
13316 the expected output accordingly.
13317
13318 2015-01-25 Mark Wielaard <mjw@redhat.com>
13319
13320 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13321 * gdb.base/disp-step-fork.c: Include unistd.h.
13322 * gdb.base/siginfo-obj.c: Include stdio.h.
13323 * gdb.base/siginfo-thread.c: Likewise.
13324 * gdb.mi/non-stop.c: Include unistd.h.
13325 * gdb.mi/nsthrexec.c: Include stdio.h.
13326 * gdb.mi/pthreads.c: Include unistd.h.
13327 * gdb.modula2/unbounded1.c (main): Declare returns int.
13328 * gdb.reverse/consecutive-reverse.c: Likewise.
13329 * gdb.threads/create-fail.c: Include unistd.h.
13330 * gdb.threads/killed.c: Likewise.
13331 * gdb.threads/linux-dp.c: Likewise.
13332 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13333 * gdb.threads/non-ldr-exc-2.c: Likewise.
13334 * gdb.threads/non-ldr-exc-3.c: Likewise.
13335 * gdb.threads/non-ldr-exc-4.c: Likewise.
13336 * gdb.threads/pthreads.c: Include unistd.h.
13337 (main): Declare returns int.
13338 * gdb.threads/tls-main.c (foo): New declaration.
13339 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13340
13341 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13342
13343 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13344 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13345
13346 2015-01-15 Mark Wielaard <mjw@redhat.com>
13347
13348 * gdb.base/noreturn-return.c: New file.
13349 * gdb.base/noreturn-return.exp: New file.
13350 * gdb.base/noreturn-finish.c: New file.
13351 * gdb.base/noreturn-finish.exp: New file.
13352
13353 2015-01-23 Pedro Alves <palves@redhat.com>
13354
13355 * gdb.threads/continue-pending-after-query.c: New file.
13356 * gdb.threads/continue-pending-after-query.exp: New file.
13357
13358 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13359 Simon Marchi <simon.marchi@ericsson.com>
13360
13361 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13362 * gdb.base/valgrind-db-attach.exp: Same.
13363 * gdb.base/valgrind-infcall.exp: Same.
13364 * lib/mi-support.exp (default_mi_gdb_start): Same.
13365 * lib/prompt.exp (default_prompt_gdb_start): Same.
13366 * lib/gdb.exp (default_gdb_spawn): Same.
13367 (gdb_interact): New.
13368
13369
13370 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13371
13372 * gdb.compile/compile.exp (pointer to jit function): New test.
13373
13374 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13375
13376 * lib/gdb.exp (supports_process_record): Return true for
13377 powerpc*-*-linux*.
13378 (supports_reverse): Likewise.
13379
13380 2015-01-15 Don Breazeal <donb@codesourcery.com>
13381
13382 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13383 instead of checking whether the target board is remote and
13384 use spawn_wait_for_attach instead of exec/sleep.
13385 * gdb.base/attach-twice.exp: Likewise.
13386
13387 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13388
13389 * gdb.ada/var_arr_attrs: New testcase.
13390
13391 2015-01-14 Pedro Alves <palves@redhat.com>
13392 Joel Brobecker <brobecker@adacore.com>
13393
13394 PR gdb/17525
13395 * gdb.base/bp-cmds-execution-x-script.c: New file.
13396 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13397 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13398
13399 2015-01-14 Pedro Alves <palves@redhat.com>
13400
13401 PR cli/17828
13402 * gdb.base/batch-preserve-term-settings.c: New file.
13403 * gdb.base/batch-preserve-term-settings.exp: New file.
13404
13405 2015-01-13 Doug Evans <dje@google.com>
13406
13407 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13408 binary.
13409
13410 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13411
13412 * Makefile.in (clean mostlyclean): Do not delete *.py.
13413
13414 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13415
13416 * gdb.python/py-lookup-type.exp: New file.
13417
13418 2015-01-12 Pedro Alves <palves@redhat.com>
13419
13420 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13421 restore GDBFLAGS before returning.
13422
13423 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13424
13425 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13426 is_amd64_regs_target and is_x86_like_target.
13427
13428 2015-01-11 Doug Evans <xdje42@gmail.com>
13429
13430 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13431 is given without an explicit form.
13432 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13433 attributes.
13434 * gdb.dwarf/corrupt.exp: Ditto.
13435 * gdb.dwarf2/enum-type.exp: Ditto.
13436 * gdb.trace/entry-values.exp: Ditto.
13437 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13438
13439 2015-01-11 Doug Evans <xdje42@gmail.com>
13440
13441 PR gdb/15830
13442 * gdb.base/maint.exp: Remove references to "maint demangle".
13443 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13444 Add tests for explicitly specifying language to demangle.
13445 * gdb.dlang/demangle.exp: Ditto.
13446
13447 2015-01-09 Pedro Alves <palves@redhat.com>
13448
13449 * gdb.threads/non-stop-fair-events.c: New file.
13450 * gdb.threads/non-stop-fair-events.exp: New file.
13451
13452 2015-01-09 Pedro Alves <palves@redhat.com>
13453
13454 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13455 the global scope. Set a breakpoint after all threads are started
13456 rather than stepping over two source lines. Expect the prompt.
13457 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13458 global.
13459 (NUM): Now 15.
13460 (main): Use threads_started_barrier to wait for all threads to
13461 start. Main thread no longer calls thread_function. Exit after
13462 180 seconds.
13463 (loop): New function.
13464 (thread_function): Wait on threads_started_barrier barrier. Call
13465 'loop' at each iteration.
13466 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13467 threads have started, instead of hardcoding number of "next"
13468 steps. Use an access watchpoint instead of a write watchpoint.
13469
13470 2015-01-09 Pedro Alves <palves@redhat.com>
13471
13472 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13473 (thread_func): Wait on barrier.
13474 (main): Wait for all threads to start before stopping GDB.
13475 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13476 global.
13477 (thread1_func, thread2_func): Wait on barrier.
13478 (main): Wait for all threads to start before stopping GDB.
13479 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13480 New global.
13481 (thread1_func, thread2_func): Wait on barrier.
13482 (main): Wait for all threads to start before stopping GDB.
13483
13484 2015-01-09 Pedro Alves <palves@redhat.com>
13485
13486 * gdb.threads/attach-many-short-lived-threads.c: New file.
13487 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13488
13489 2014-01-09 Pedro Alves <palves@redhat.com>
13490
13491 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13492 instead of to thread 2.
13493 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13494 Add barrier around each pthread_create call instead of around all
13495 calls.
13496 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13497 Set a break on thread_function and have the child threads hit it
13498 one at at a time.
13499
13500 2015-01-09 Pedro Alves <palves@redhat.com>
13501
13502 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13503 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13504 false.
13505 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13506 checking whether the target board is remote.
13507 * gdb.multi/multi-attach.exp: Likewise.
13508 * gdb.python/py-sync-interp.exp: Likewise.
13509 * gdb.server/ext-attach.exp: Likewise.
13510 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13511 tests that need to attach, instead of checking whether the target
13512 board is remote at the top of the file.
13513
13514 2015-01-08 Yao Qi <yao@codesourcery.com>
13515
13516 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13517
13518 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13519
13520 Fix testcase compilation.
13521 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13522
13523 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13524
13525 * gdb.python/py-type.exp: Add a couple test about empty
13526 array creation, and negative-length array creation.
13527
13528 2015-01-02 Doug Evans <xdje42@gmail.com>
13529
13530 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13531
13532 2015-01-02 Doug Evans <dje@google.com>
13533
13534 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13535
13536 2014-12-29 Yao Qi <yao@codesourcery.com>
13537
13538 * gdb.trace/entry-values.exp: Update comments. Rename variable
13539 bar_call_foo to returned_from_foo.
13540
13541 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13542
13543 PR gdb/17394
13544 * gdb.linespec/break-asm-file.c: New file.
13545 * gdb.linespec/break-asm-file.exp: New file.
13546 * gdb.linespec/break-asm-file0.s: New file.
13547 * gdb.linespec/break-asm-file1.s: New file.
13548
13549 2014-12-18 Nigel Stephens <nigel@mips.com>
13550 Maciej W. Rozycki <macro@codesourcery.com>
13551
13552 * gdb.base/float.exp: Handle the new output from "info float" on
13553 MIPS targets.
13554
13555 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13556
13557 Fix MinGW compilation.
13558 * gdb.compile/compile-ops.exp: Update untested message if
13559 !skip_compile_feature_tests.
13560 * gdb.compile/compile-setjmp.exp: Likewise.
13561 * gdb.compile/compile-tls.exp: Likewise.
13562 * gdb.compile/compile.exp: Likewise.
13563 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13564 supported on this host".
13565
13566 2014-12-16 Doug Evans <xdje42@gmail.com>
13567
13568 * boards/stabs.exp: New file.
13569
13570 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13571
13572 * gdb.base/completion.exp: Adjust to format changes of "maint
13573 print user-registers".
13574
13575 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13576
13577 PR server/17457
13578 * gdb.arch/aarch64-fp.c: New file.
13579 * gdb.arch/aarch64-fp.exp: New file.
13580
13581 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13582
13583 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13584 r210637, r210913, r211666, r215400, r215817).
13585
13586 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13587 * dg-extract-results.py: New file.
13588 * dg-extract-results.sh: Use it if the environment seems
13589 suitable.
13590
13591 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13592
13593 * dg-extract-results.py (parse_run): Handle warnings that
13594 are printed before a test harness is run.
13595
13596 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13597
13598 * dg-extract-results.py (Named): Remove __cmp__ method.
13599 (output_variation): Use a key to sort variation.harnesses.
13600
13601 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13602
13603 * dg-extract-results.py: For Python 3, force sys.stdout to
13604 handle surrogate escape sequences.
13605 (safe_open): New function.
13606 (output_segment, main): Use it.
13607
13608 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13609
13610 * dg-extract-results.py (Prog.result_re): Include options
13611 in test name.
13612
13613 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13614
13615 * dg-extract-results.py (output_variation): Always sort if
13616 do_sum.
13617
13618 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13619
13620 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13621 as long as we get pagination notifications.
13622
13623 2014-12-15 Jason Merrill <jason@redhat.com>
13624
13625 * Makefile.in (check-gdb.%): Restore.
13626 * README: Mention it.
13627
13628 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13629
13630 * gdb.ada/str_uninit: New testcase.
13631
13632 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13633
13634 PR symtab/17642
13635 * gdb.base/vla-stub-define.c: New file.
13636 * gdb.base/vla-stub.c: New file.
13637 * gdb.base/vla-stub.exp: New file.
13638
13639 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13640 Jan Kratochvil <jan.kratochvil@redhat.com>
13641 Tom Tromey <tromey@redhat.com>
13642
13643 * configure.ac: Add gdb.compile/.
13644 * configure: Regenerate.
13645 * gdb.compile/Makefile.in: New file.
13646 * gdb.compile/compile-ops.exp: New file.
13647 * gdb.compile/compile-ops.c: New file.
13648 * gdb.compile/compile-tls.c: New file.
13649 * gdb.compile/compile-tls.exp: New file.
13650 * gdb.compile/compile-constvar.S: New file.
13651 * gdb.compile/compile-constvar.c: New file.
13652 * gdb.compile/compile-mod.c: New file.
13653 * gdb.compile/compile-nodebug.c: New file.
13654 * gdb.compile/compile-setjmp-mod.c: New file.
13655 * gdb.compile/compile-setjmp.c: New file.
13656 * gdb.compile/compile-setjmp.exp: New file.
13657 * gdb.compile/compile-shlib.c: New file.
13658 * gdb.compile/compile.c: New file.
13659 * gdb.compile/compile.exp: New file.
13660 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13661
13662 2014-12-12 Tom Tromey <tromey@redhat.com>
13663
13664 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13665 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13666
13667 2014-12-12 Doug Evans <dje@google.com>
13668
13669 * lib/gdb-python.exp (get_python_valueof): New function.
13670 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13671
13672 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13673
13674 * gdb.base/completion.exp: Add test for completion of "info
13675 registers ".
13676
13677 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13678
13679 * gdb.base/func-ptrs.c: New file.
13680 * gdb.base/func-ptrs.exp: New file.
13681
13682 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13683
13684 PR breakpoints/17012
13685 * gdb.base/dprintf-detach.c: New file.
13686 * gdb.base/dprintf-detach.exp: New file.
13687
13688 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13689
13690 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13691 * lib/gdb.exp (target_is_gdbserver): New procedure.
13692
13693 2014-12-08 Doug Evans <dje@google.com>
13694
13695 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13696
13697 2014-12-05 Yao Qi <yao@codesourcery.com>
13698
13699 * gdb.guile/scm-error.exp: Remove the third argument to
13700 gdb_remote_download.
13701 * gdb.guile/scm-frame-args.exp: Likewise.
13702 * gdb.guile/scm-section-script.exp: Likewise.
13703
13704 2014-12-05 Yao Qi <yao@codesourcery.com>
13705
13706 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13707
13708 2014-12-04 Doug Evans <dje@google.com>
13709
13710 * gdb.python/py-objfile.exp: Add tests for
13711 objfile.add_separate_debug_file.
13712
13713 2014-12-04 Doug Evans <dje@google.com>
13714
13715 * lib/gdb.exp (get_build_id): New function.
13716 (build_id_debug_filename_get): Rewrite to use it.
13717 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13718
13719 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13720
13721 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13722 `method(long)', not just 0x0.
13723 * gdb.cp/nsalias.exp: Align code labels to 4.
13724 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13725 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13726 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13727 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13728 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13729 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13730
13731 2014-12-02 Doug Evans <dje@google.com>
13732
13733 PR symtab/17602
13734 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13735 * gdb.cp/anon-ns2.cc: ... here. New file.
13736 * gdb.cp/anon-ns.exp: Update.
13737
13738 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13739
13740 * gdb.python/py-events.py (inferior_call_handler): New.
13741 (register_changed_handler, memory_changed_handler): New.
13742 (test_events.invoke): Register new handlers.
13743 * gdb.python/py-events.exp: Add tests for inferior call,
13744 memory_changed and register_changed events.
13745
13746 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13747
13748 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13749 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13750 if the linker doesn't understand this.
13751
13752 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13753
13754 * gdb.python/python.exp: Change expected reply to help().
13755
13756 2014-12-01 Yao Qi <yao@codesourcery.com>
13757
13758 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13759 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13760 * configure: Re-generated.
13761
13762 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13763
13764 * gdb.cp/chained-calls.cc: New file.
13765 * gdb.cp/chained-calls.exp: New file.
13766 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13767
13768 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13769
13770 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13771 * gdb.dwarf2/symtab-producer.exp: Same.
13772 * gdb.gdb/python-interrupts.exp: Same.
13773 * gdb.gdb/python-selftest.exp: Same.
13774 * gdb.python/py-linetable.exp: Same.
13775 * gdb.python/py-type.exp: Same.
13776 * gdb.python/py-value-cc.exp: Same.
13777 * gdb.python/py-value.exp: Same.
13778
13779 2014-11-28 Yao Qi <yao@codesourcery.com>
13780
13781 * gdb.base/break-probes.exp: Match library name prefixed with
13782 sysroot.
13783
13784 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13785
13786 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13787 test expected output. Add parentheses for the call to print.
13788 Remove L suffix from integers.
13789
13790 2014-11-26 Doug Evans <dje@google.com>
13791
13792 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13793
13794 2014-11-22 Yao Qi <yao@codesourcery.com>
13795
13796 * gdb.trace/entry-values.c: Remove asms.
13797 (foo): Add foo_label.
13798 (bar): Add bar_label.
13799 * gdb.trace/entry-values.exp: Remove code computing foo's
13800 length and bar's length.
13801 (Dwarf::assemble): Invoke function_range for bar and use
13802 MACRO_AT_func for foo.
13803
13804 2014-11-22 Yao Qi <yao@codesourcery.com>
13805
13806 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13807 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13808 Use .Lgcc43_procstart instead of gcc43.
13809
13810 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13811
13812 * gdb.ada/n_arr_bound: New testcase.
13813
13814 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13815
13816 PR breakpoints/10737
13817 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13818 test_catch_syscall_multi_arch.
13819 (test_catch_syscall_multi_arch): New function.
13820
13821 2014-11-20 Doug Evans <xdje42@gmail.com>
13822
13823 * gdb.base/maint.exp: Update expected output.
13824
13825 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13826
13827 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13828 4-byte instruction on S390.
13829
13830 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13831
13832 * gdb.ada/arr_arr: New testcase.
13833
13834 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13835
13836 * gdb.ada/pkd_arr_elem: New Testcase.
13837
13838 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
13839
13840 * gdb.reverse/break-precsave: Expect completion message for
13841 core file reads.
13842 * gdb.reverse/consecutive-precsave.exp: Likewise.
13843 * gdb.reverse/finish-precsave.exp: Likewise.
13844 * gdb.reverse/i386-precsave.exp: Likewise.
13845 * gdb.reverse/machinestate-precsave.exp: Likewise.
13846 * gdb.reverse/sigall-precsave.exp: Likewise.
13847 * gdb.reverse/solib-precsave.exp: Likewise.
13848 * gdb.reverse/step-precsave.exp: Likewise.
13849 * gdb.reverse/until-precsave.exp: Likewise.
13850 * gdb.reverse/watch-precsave.exp: Likewise.
13851
13852 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13853
13854 * gdb.base/bp-permanent.c: Include unistd.h.
13855 * gdb.python/py-framefilter-mi.c (main): Add return type.
13856 * gdb.python/py-framefilter.c (main): Likewise.
13857 * gdb.trace/actions-changed.c (main): Likewise.
13858
13859 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13860
13861 * gdb.mi/until.c: Add eye-catchers.
13862 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13863 line numbers.
13864
13865 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13866
13867 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13868 function header variants in break1.c.
13869 * gdb.base/ena-dis-br.exp: Likewise.
13870 * gdb.base/hbreak2.exp: Likewise.
13871 * gdb.reverse/until-precsave.exp: Drop references to removed
13872 non-prototype function header variants in ur1.c.
13873 * gdb.reverse/until-reverse.exp: Likewise.
13874
13875 2014-11-17 Petr Machata <pmachata@redhat.com>
13876
13877 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13878 ${_cu_offset_size} bytes abbrev offset.
13879
13880 2014-11-15 Doug Evans <xdje42@gmail.com>
13881
13882 PR symtab/17559
13883 * gdb.base/line-symtabs.exp: New file.
13884 * gdb.base/line-symtabs.c: New file.
13885 * gdb.base/line-symtabs.h: New file.
13886
13887 2014-11-14 Yao Qi <yao@codesourcery.com>
13888
13889 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13890 (func): Add label func_label.
13891 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13892 Replace low_pc and high_pc with MACRO_AT_range.
13893 Replace name, low_pc and high_pc with MACRO_AT_func.
13894
13895 2014-11-14 Yao Qi <yao@codesourcery.com>
13896
13897 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
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: Use Dwarf::assemble to
13903 produce debug information.
13904 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13905
13906 2014-11-14 Yao Qi <yao@codesourcery.com>
13907
13908 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13909 object and get function length.
13910 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13911 with MACRO_AT_func.
13912 (top-level): Replace gdb_compile and clean_restart with
13913 prepare_for_testing.
13914 * gdb.dwarf2/main.c (main): Add label main_label.
13915
13916 2014-11-14 Yao Qi <yao@codesourcery.com>
13917
13918 * lib/dwarf.exp (function_range): New procedure.
13919 (Dwarf::_handle_macro_at_func): New procedure.
13920 (Dwarf::_handle_macro_at_range): New procedure.
13921 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13922
13923 2014-11-14 Yao Qi <yao@codesourcery.com>
13924
13925 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13926 (_handle_attribute): New procedure.
13927
13928 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13929
13930 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13931 * gdb.base/call-sc.c (zed): Likewise.
13932 * gdb.base/checkpoint.c (main): Likewise.
13933 * gdb.base/dump.c (main): Likewise.
13934 * gdb.base/gcore.c (main): Likewise.
13935 * gdb.base/huge.c (main): Likewise.
13936 * gdb.base/multi-forks.c (main): Likewise.
13937 * gdb.base/pr10179-a.c (main): Likewise.
13938 * gdb.base/savedregs.c (main): Likewise.
13939 * gdb.base/sigaltstack.c (main): Likewise.
13940 * gdb.base/siginfo.c (main): Likewise.
13941 * gdb.base/structs.c (zed): Likewise.
13942 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13943 * gdb.mi/mi-syn-frame.c (main): Likewise.
13944 * gdb.mi/until.c (foo, main): Likewise.
13945 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13946 * gdb.base/solib-weak.c (foo): Declare.
13947 * gdb.base/attach-twice.c: Include stdio.h.
13948 * gdb.base/weaklib1.c: Likewise.
13949 * gdb.base/weaklib2.c: Likewise.
13950 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13951 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13952 unistd.h.
13953 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13954 * gdb.mi/mi-exit-code.c: Likewise.
13955 * gdb.base/break-interp-lib.c: Include string.h.
13956 * gdb.base/coremaker.c: Likewise.
13957 * gdb.base/testenv.c: Likewise.
13958 * gdb.python/py-finish-breakpoint.c: Likewise.
13959 * gdb.base/inferior-died.c: Include sys/wait.h.
13960 * gdb.base/fileio.c: Include time.h.
13961 * gdb.base/async-shell.c: Include unistd.h.
13962 * gdb.base/dprintf-non-stop.c: Likewise.
13963 * gdb.base/info-os.c: Likewise.
13964 * gdb.mi/mi-console.c: Likewise.
13965 * gdb.mi/watch-nonstop.c: Likewise.
13966 * gdb.python/py-events.c: Likewise.
13967 * gdb.base/async.c (baz): Move up before its invocation.
13968 * gdb.base/code_elim2.c (my_global_func): Likewise.
13969 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13970 * gdb.base/advance.c (func2): Likewise.
13971
13972 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13973
13974 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13975 variant.
13976 * gdb.base/annota3.c: Likewise.
13977 * gdb.base/async.c: Likewise.
13978 * gdb.base/average.c: Likewise.
13979 * gdb.base/call-ar-st.c: Likewise.
13980 * gdb.base/call-rt-st.c: Likewise.
13981 * gdb.base/call-sc.c: Likewise.
13982 * gdb.base/call-strs.c: Likewise.
13983 * gdb.base/ending-run.c: Likewise.
13984 * gdb.base/execd-prog.c: Likewise.
13985 * gdb.base/exprs.c: Likewise.
13986 * gdb.base/foll-exec.c: Likewise.
13987 * gdb.base/foll-fork.c: Likewise.
13988 * gdb.base/foll-vfork.c: Likewise.
13989 * gdb.base/funcargs.c: Likewise.
13990 * gdb.base/gcore.c: Likewise.
13991 * gdb.base/jump.c: Likewise.
13992 * gdb.base/langs0.c: Likewise.
13993 * gdb.base/langs1.c: Likewise.
13994 * gdb.base/langs2.c: Likewise.
13995 * gdb.base/mips_pro.c: Likewise.
13996 * gdb.base/nodebug.c: Likewise.
13997 * gdb.base/opaque0.c: Likewise.
13998 * gdb.base/opaque1.c: Likewise.
13999 * gdb.base/recurse.c: Likewise.
14000 * gdb.base/run.c: Likewise.
14001 * gdb.base/scope0.c: Likewise.
14002 * gdb.base/scope1.c: Likewise.
14003 * gdb.base/setshow.c: Likewise.
14004 * gdb.base/setvar.c: Likewise.
14005 * gdb.base/shmain.c: Likewise.
14006 * gdb.base/shr1.c: Likewise.
14007 * gdb.base/shr2.c: Likewise.
14008 * gdb.base/sigall.c: Likewise.
14009 * gdb.base/signals.c: Likewise.
14010 * gdb.base/so-indr-cl.c: Likewise.
14011 * gdb.base/solib2.c: Likewise.
14012 * gdb.base/structs.c: Likewise.
14013 * gdb.base/sum.c: Likewise.
14014 * gdb.base/vforked-prog.c: Likewise.
14015 * gdb.base/watchpoint.c: Likewise.
14016 * gdb.reverse/shr2.c: Likewise.
14017 * gdb.reverse/until-reverse.c: Likewise.
14018 * gdb.reverse/ur1.c: Likewise.
14019 * gdb.reverse/watch-reverse.c: Likewise.
14020
14021 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14022
14023 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14024 variant.
14025 * gdb.base/sepdebug.exp: Drop references to removed code.
14026
14027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14028
14029 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14030 variant. Preserve original line numbering.
14031 * gdb.base/list1.c: Likewise.
14032
14033 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14034
14035 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14036 variant.
14037 * gdb.base/break1.c: Likewise.
14038 * gdb.base/break.exp: Drop references to removed code.
14039
14040 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14041
14042 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14043 variant.
14044
14045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14046
14047 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14048
14049 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14050
14051 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14052 logic into perform_all_tests() and invoke it with and without
14053 function header prototypes.
14054 (do_function_calls): Remove conditional XFAIL for PR 5318.
14055 (rerun_and_prepare): Remove duplicate code.
14056 (perform_all_tests): New. Main logic moved here.
14057
14058 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14059
14060 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14061 code guarded by #ifdef NO_PROTOTYPES.
14062 (t_double_many_args): Likewise.
14063 (DEF_FUNC_MANY_ARGS_1): Likewise.
14064 (DEF_FUNC_VALUES_1): Likewise.
14065 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14066 guarded by #ifdef PROTOTYPES.
14067
14068 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14069
14070 * gdb.mi/mi-console.c: Add eye-catcher.
14071 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14072 instead of literal line number.
14073
14074 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14075
14076 * gdb.base/shr2.c: Add eye-catcher.
14077 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14078 line number.
14079
14080 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14081
14082 * gdb.base/jump.c: Add eye-catchers.
14083 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14084 numbers.
14085
14086 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14087
14088 * gdb.base/execd-prog.c: Add eye-catchers.
14089 * gdb.base/foll-exec.c: Likewise.
14090 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14091 line numbers.
14092
14093 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14094
14095 * gdb.base/ending-run.c: Add eye-catchers.
14096 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14097 literal line numbers.
14098
14099 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14100
14101 * gdb.base/call-rt-st.c: Add eye-catchers.
14102 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14103 literal line numbers.
14104
14105 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14106
14107 * gdb.base/call-ar-st.c: Add eye-catchers.
14108 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14109 literal line numbers.
14110
14111 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14112
14113 * gdb.base/average.c: Add eye-catchers.
14114 * gdb.base/sum.c: Likewise.
14115 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14116 regexps dynamically.
14117
14118 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14119
14120 * gdb.base/solib1.c: Add eye-catchers.
14121 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14122 literal line numbers.
14123
14124 2014-11-12 Pedro Alves <palves@redhat.com>
14125
14126 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14127 leader has exited.
14128
14129 2014-11-12 Pedro Alves <palves@redhat.com>
14130
14131 * gdb.arch/i386-bp_permanent.c: New file.
14132 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14133 (srcfile): Set to i386-bp_permanent.c.
14134 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14135 that stepi does not execute the 'leave' instruction, instead of
14136 testing it does execute.
14137 * gdb.base/bp-permanent.c: New file.
14138 * gdb.base/bp-permanent.exp: New file.
14139
14140 2014-11-10 Doug Evans <xdje42@gmail.com>
14141
14142 PR symtab/17564
14143 * gdb.base/symtab-search-order.exp: New file.
14144 * gdb.base/symtab-search-order.c: New file.
14145 * gdb.base/symtab-search-order-1.c: New file.
14146 * gdb.base/symtab-search-order-shlib-1.c: New file.
14147
14148 2014-11-07 Pedro Alves <palves@redhat.com>
14149
14150 PR gdb/17511
14151 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14152 i?86-*-linux*.
14153
14154 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14155
14156 PR c++/17494
14157 * gdb.cp/pr17494.cc: New file.
14158 * gdb.cp/pr17494.exp: New file.
14159
14160 2014-11-02 Yao Qi <yao@codesourcery.com>
14161
14162 * gdb.python/python.exp: Get working directory and match the
14163 output of "set extended-prompt \\w " with it.
14164
14165 2014-10-30 Doug Evans <dje@google.com>
14166
14167 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14168 in objfiles.
14169 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14170 in progspaces.
14171
14172 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14173
14174 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14175 * gdb.base/realname-expand.exp: Likewise.
14176 * gdb.linespec/macro-relative.exp: Likewise.
14177
14178 2014-10-29 Pedro Alves <palves@redhat.com>
14179
14180 PR gdb/17408
14181 * gdb.threads/schedlock.c (some_function): New function.
14182 (call_function): New global.
14183 (MAYBE_CALL_SOME_FUNCTION): New macro.
14184 (thread_function): Call it.
14185 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14186 and use it instead of a global counter. Adjust all callers.
14187 (get_current_thread): Use "find current thread" for test message
14188 here rather than having all callers pass down the same string.
14189 (goto_loop): New procedure, factored out from ...
14190 (my_continue): ... this.
14191 (step_ten_loops): Change parameter from test message to command to
14192 use. Adjust.
14193 (list_count): Delete global.
14194 (check_result): New procedure, factored out from duplicate top
14195 level code.
14196 (continue tests): Wrap in with_test_prefix.
14197 (test_step): New procedure, factored out from duplicate top level
14198 code.
14199 (top level): Test "step" in combination with all scheduler-locking
14200 modes. Test "next" in combination with all scheduler-locking
14201 modes, and in combination with stepping over a function call or
14202 not.
14203 * gdb.threads/next-bp-other-thread.c: New file.
14204 * gdb.threads/next-bp-other-thread.exp: New file.
14205
14206 2014-10-29 Pedro Alves <palves@redhat.com>
14207
14208 PR python/17372
14209 * gdb.python/python.exp: Test a multi-line command that spawns
14210 interactive Python.
14211 * gdb.base/multi-line-starts-subshell.exp: New file.
14212
14213 2014-10-29 Yao Qi <yao@codesourcery.com>
14214
14215 * gdb.base/fileio.exp: Make directories on host.
14216
14217 2014-10-29 Yao Qi <yao@codesourcery.com>
14218
14219 * gdb.base/fileio.c (test_write): Close the file.
14220
14221 2014-10-28 Pedro Alves <palves@redhat.com>
14222
14223 PR gdb/12623
14224 * gdb.base/sigstep.c (no_handler): New global.
14225 (main): If 'no_handler is true, set the signal handlers to
14226 SIG_IGN.
14227 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14228 with_sw_watch and no_handler parameters. Handle them.
14229 (top level) <stepping over handler when stopped at a breakpoint
14230 test>: Add a test axis for testing with a software watchpoint, and
14231 another for testing with the signal handler set to SIG_IGN.
14232 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14233 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14234
14235 2014-10-28 Pedro Alves <palves@redhat.com>
14236
14237 PR gdb/17511
14238 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14239 * gdb.base/sigstep.exp (other_handler_location): New global.
14240 (advance): Support stepping into the signal handler, and running
14241 commands while in the handler.
14242 (in_handler_map): New global.
14243 (top level): In the advance test, add combinations for getting
14244 into the handler with stepping commands, and for running commands
14245 in the handler. Add comment descripting the advancei tests.
14246
14247 2014-10-28 Pedro Alves <palves@redhat.com>
14248
14249 * gdb.base/sigstep.exp: Use build_executable instead of
14250 prepare_for_testing.
14251 (top level): Move code that starts GDB, runs to main and creates a
14252 display to ...
14253 (restart): ... this new procedure.
14254 (top level): Move backtrace from signal handler test to ...
14255 (validate_backtrace): ... this new procedure.
14256 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14257 with_test_prefix. Always restart GDB.
14258 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14259 with_test_prefix. Always restart GDB. No need to delete
14260 breakpoints after the test.
14261 (test_skip_handler): Remove prefix parameter.
14262 (skip_over_handler, breakpoint_to_handler)
14263 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14264 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14265 restart GDB. No need to delete breakpoints after the test.
14266 (top level): Use foreach to call the test procedures with
14267 different commands.
14268
14269 2014-10-28 Pedro Alves <palves@redhat.com>
14270
14271 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14272 instead of GNATS numbers.
14273 * gdb.base/sigbpt.exp: Likewise.
14274 * gdb.base/siginfo.exp: Likewise.
14275 * gdb.base/sigstep.exp: Likewise.
14276
14277 2014-10-27 Pedro Alves <palves@redhat.com>
14278
14279 * gdb.base/sigstep.c (dummy): New global.
14280 (main): Issue a couple writes to the new global.
14281 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14282 procedures.
14283 (skip_over_handler): Use test_skip_handler.
14284 (top level): Call skip_over_handler for stepi and nexti too.
14285 (breakpoint_over_handler): Use test_skip_handler.
14286 (top level): Call breakpoint_over_handler for stepi and nexti too.
14287
14288 2014-10-27 Yao Qi <yao@codesourcery.com>
14289
14290 * gdb.trace/tfile.c (adjust_function_address)
14291 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14292 function descriptor.
14293
14294 2014-10-24 Don Breazeal <donb@codesourcery.com>
14295
14296 * gdb.base/foll-fork.exp (test_follow_fork,
14297 catch_fork_child_follow): Check for updated fork messages emitted
14298 from infrun.c.
14299 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14300 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14301 vfork_and_exec_child_follow_through_step): Check for updated vfork
14302 messages emitted from infrun.c.
14303
14304 2014-10-24 Pedro Alves <palves@redhat.com>
14305
14306 * gdb.base/corefile.exp: Remove references to ultrix.
14307 * gdb.base/interrupt.exp: Likewise.
14308 * gdb.base/whatis.exp: Likewise.
14309 * gdb.gdb/selftest.exp: Likewise.
14310 * gdb.threads/manythreads.exp: Likewise.
14311 * gdb.threads/print-threads.exp: Likewise.
14312 * gdb.threads/pthreads.exp:: Likewise.
14313 * gdb.threads/schedlock.exp: Likewise.
14314
14315 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14316
14317 * gdb.cp/non-trivial-retval.cc: Add a test case.
14318 * gdb.cp/non-trivial-retval.exp: Add a test.
14319
14320 2014-10-20 Yao Qi <yao@codesourcery.com>
14321
14322 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14323 * gdb.python/py-objfile-script-gdb.py: New file.
14324 * gdb.python/py-objfile-script.exp: Update reference to
14325 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14326 of remote_download. Remove the dest file.
14327
14328 2014-10-20 Yao Qi <yao@codesourcery.com>
14329
14330 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14331 * gdb.base/step-line.exp: Likewise.
14332 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14333 * gdb.dwarf2/dw2-basic.exp: Likewise.
14334 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14335 * gdb.dwarf2/dw2-filename.exp: Likewise.
14336 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14337 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14338 * gdb.dwarf2/dw2-producer.exp: Likewise.
14339 * gdb.dwarf2/mac-fileno.exp: Likewise.
14340 * gdb.python/py-frame-args.exp: Likewise.
14341 * gdb.python/py-framefilter.exp: Likewise.
14342 * gdb.python/py-mi.exp: Likewise.
14343 * gdb.python/py-objfile-script.exp: Likewise
14344 * gdb.python/py-pp-integral.exp: Likewise.
14345 * gdb.python/py-pp-re-notag.exp: Likewise.
14346 * gdb.python/py-prettyprint.exp: Likewise.
14347 * gdb.python/py-section-script.exp: Likewise.
14348 * gdb.python/py-typeprint.exp: Likewise.
14349 * gdb.python/py-xmethods.exp: Likewise.
14350 * gdb.stabs/weird.exp: Likewise.
14351 * gdb.xml/tdesc-regs.exp: Likewise.
14352
14353 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14354
14355 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14356 (out_cu): Use addr_len for the size of addresses.
14357 (out_line): Likewise. Size DW_LNE_set_address instruction
14358 according to addr_len.
14359 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14360 (FUNC): Add START_INSNS to definition.
14361
14362 2014-10-18 Yao Qi <yao@codesourcery.com>
14363
14364 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14365 gdb_has_argv0 return true.
14366 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14367 check [target_info exists noargs], check [gdb_has_argv0]
14368 instead.
14369 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14370 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14371 procedures.
14372
14373 2014-10-17 Doug Evans <dje@google.com>
14374
14375 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14376 event.
14377 * gdb.python/py-events.py: Add clear_objfiles event.
14378
14379 2014-10-17 Doug Evans <dje@google.com>
14380
14381 * gdb.python/py-objfile.exp: Test progspace attribute.
14382
14383 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14384
14385 * gdb.guile/scm-breakpoint.exp: Do not assume any
14386 directory separators when matching source file paths.
14387 * gdb.python/py-breakpoint.exp: Likewise.
14388 * gdb.reverse/break-precsave.exp: Likewise.
14389 * gdb.reverse/break-reverse.exp: Likewise.
14390 * gdb.reverse/consecutive-precsave.exp: Likewise.
14391 * gdb.reverse/finish-precsave.exp: Likewise.
14392 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14393 * gdb.reverse/finish-reverse.exp: Likewise.
14394 * gdb.reverse/i386-precsave.exp: Likewise.
14395 * gdb.reverse/i387-env-reverse.exp: Likewise.
14396 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14397 * gdb.reverse/machinestate-precsave.exp: Likewise.
14398 * gdb.reverse/machinestate.exp: Likewise.
14399 * gdb.reverse/sigall-precsave.exp: Likewise.
14400 * gdb.reverse/solib-precsave.exp: Likewise.
14401 * gdb.reverse/step-precsave.exp: Likewise.
14402 * gdb.reverse/until-precsave.exp: Likewise.
14403 * gdb.reverse/watch-precsave.exp: Likewise.
14404 * gdb.reverse/watch-reverse.exp: Likewise.
14405
14406 2014-10-17 Yao Qi <yao@codesourcery.com>
14407
14408 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14409 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14410
14411 2014-10-17 Pedro Alves <palves@redhat.com>
14412
14413 PR gdb/17471
14414 * gdb.base/bg-execution-repeat.c: New file.
14415 * gdb.base/bg-execution-repeat.exp: New file.
14416
14417 2014-10-17 Pedro Alves <palves@redhat.com>
14418
14419 PR gdb/17300
14420 * gdb.base/continue-all-already-running.c: New file.
14421 * gdb.base/continue-all-already-running.exp: New file.
14422
14423 2014-10-17 Pedro Alves <palves@redhat.com>
14424
14425 PR gdb/17472
14426 * gdb.base/annota-input-while-running.c: New file.
14427 * gdb.base/annota-input-while-running.exp: New file.
14428
14429 2014-10-17 Pedro Alves <palves@redhat.com>
14430
14431 * gdb.base/callfuncs.exp: emove references to osf.
14432 * gdb.base/sigall.exp: Likewise.
14433 * gdb.gdb/selftest.exp: Likewise.
14434 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14435 * gdb.mi/non-stop.c: Likewise.
14436 * gdb.mi/pthreads.c: Likewise.
14437 * gdb.reverse/sigall-precsave.exp: Likewise.
14438 * gdb.reverse/sigall-reverse.exp: Likewise.
14439 * gdb.threads/pthreads.c: Likewise.
14440 * gdb.threads/pthreads.exp: Likewise.
14441
14442 2014-10-17 Yao Qi <yao@codesourcery.com>
14443
14444 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14445 check 'target_info exists noargs'.
14446 (test_command_prompt_position): Likewise.
14447 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14448 Remove "set args".
14449 (progvar_simple_while_test): Likewise.
14450 (progvar_complex_if_while_test): Likewise.
14451 (if_while_breakpoint_command_test): Likewise.
14452 (infrun_breakpoint_command_test): Likewise.
14453 (breakpoint_command_test): Likewise.
14454 (watchpoint_command_test): Likewise.
14455 (bp_deleted_in_command_test): Likewise.
14456 (temporary_breakpoint_commands): Likewise.
14457
14458 2014-10-16 Yao Qi <yao@codesourcery.com>
14459
14460 * gdb.base/remotetimeout.exp: Remove noargs checking.
14461
14462 2014-10-15 Pedro Alves <palves@redhat.com>
14463
14464 PR breakpoints/9649
14465 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14466 * gdb.base/breakpoint-in-ro-region.exp
14467 (probe_target_hardware_step): New procedure.
14468 (top level): Probe hardware stepping and hardware breakpoint
14469 support. Test stepping through a read-only region, with both
14470 "breakpoint auto-hw" on and off and both "always-inserted" on and
14471 off.
14472
14473 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14474
14475 * gdb.dlang/demangle.exp: Update for demangling changes.
14476
14477 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14478
14479 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14480 * gdb.cp/non-trivial-retval.exp: Add new tests.
14481
14482 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14483
14484 PR c++/13403
14485 PR c++/15154
14486 * gdb.cp/non-trivial-retval.cc: New file.
14487 * gdb.cp/non-trivial-retval.exp: New file.
14488
14489 2014-10-15 Yao Qi <yao@codesourcery.com>
14490
14491 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14492 remote host.
14493
14494 2014-10-15 Yao Qi <yao@codesourcery.com>
14495
14496 * gdb.python/py-symbol.exp: Match file base name if host is
14497 remote, otherwise match file name with dir name.
14498 * gdb.python/py-symtab.exp: Likewise.
14499 * gdb.python/python.exp: Likewise.
14500
14501 2014-10-15 Yao Qi <yao@codesourcery.com>
14502
14503 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14504 pattern.
14505 * gdb.python/py-symtab.exp: Likewise.
14506 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14507 locationn.
14508
14509 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14510
14511 * gdb.ada/addr_arith: New testcase.
14512
14513 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14514
14515 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14516 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14517 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14518 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14519
14520 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14521
14522 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14523 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14524 * gdb.arch/stap-eval-lang-ada.exp: New file.
14525
14526 2014-10-14 Yao Qi <yao@codesourcery.com>
14527
14528 * gdb.mi/mi-var-child.c (nothing1): New function.
14529 (nothing2): New function.
14530 (do_children_tests): Set function pointers by nothing1 and
14531 nothing2.
14532 * gdb.mi/mi-var-child.exp: Step over new added statements.
14533 Update test to match the new output.
14534 * gdb.mi/var-cmd.c (nothing1): New function.
14535 (nothing2): New function.
14536 (do_children_tests): Set function pointers by nothing1 and
14537 nothing2.
14538 * gdb.mi/mi-var-display.exp: Update test to match output.
14539 Step to the line specified by $line_dct_nothing.
14540 Increase the number of lines to step.
14541
14542 2014-10-14 Yao Qi <yao@codesourcery.com>
14543
14544 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14545 tests.
14546 * gdb.mi/mi2-var-child.exp: Likewise.
14547
14548 2014-10-13 Doug Evans <dje@google.com>
14549
14550 * gdb.python/py-objfile.exp: Change name of file name test.
14551
14552 2014-10-13 Doug Evans <dje@google.com>
14553
14554 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14555 from the start of the CU.
14556
14557 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14558 Yao Qi <yao@codesourcery.com>
14559
14560 Fix "save breakpoints" for "catch" command.
14561 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14562 Remove -nonewline. Match also the added "main" line.
14563
14564 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14565
14566 Fix "save breakpoints" for "disable $bpnum" command.
14567 * gdb.base/save-bp.c (main): Add label.
14568 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14569
14570 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14571
14572 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14573
14574 2014-10-11 Yao Qi <yao@codesourcery.com>
14575
14576 * gdb.server/server-kill.exp: Execute command
14577 "set remote trace-status-packet on" before "tstatus".
14578
14579 2014-10-11 Yao Qi <yao@codesourcery.com>
14580
14581 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14582 (main): Call getppid.
14583 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14584 and continue to it. Read variable "server_pid".
14585
14586 2014-10-11 Yao Qi <yao@codesourcery.com>
14587
14588 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14589
14590 2014-10-11 Yao Qi <yao@codesourcery.com>
14591
14592 * gdb.threads/thread-find.exp: Don't execute command
14593 "info threads".
14594 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14595 * gdb.threads/linux-dp.exp: Don't check the condition
14596 $threads_created equals to zero.
14597
14598 2014-10-10 Pedro Alves <palves@redhat.com>
14599
14600 * gdb.base/bigcore.exp: Remove references to IRIX.
14601 * gdb.base/funcargs.exp: Likewise.
14602 * gdb.base/interrupt.exp: Likewise.
14603 * gdb.base/mips_pro.exp: Likewise.
14604 * gdb.base/nodebug.exp: Likewise.
14605 * gdb.base/setvar.exp: Likewise.
14606 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14607
14608 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14609 Pedro Alves <palves@redhat.com>
14610
14611 PR symtab/14466
14612 * gdb.base/vdso-warning.c: New file.
14613 * gdb.base/vdso-warning.exp: New file.
14614
14615 2014-10-02 Doug Evans <dje@google.com>
14616
14617 * gdb.base/structs.c (main): Don't run forever.
14618
14619 2014-10-02 Pedro Alves <palves@redhat.com>
14620
14621 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14622 (top level) <stop threads 1, stop threads 2>: Use it.
14623
14624 2014-10-02 Pedro Alves <palves@redhat.com>
14625
14626 * gdb.threads/break-while-running.exp (test): Add new
14627 'update_thread_list' argument. Skip "info threads" if false.
14628 (top level): Add new 'update_thread_list' axis.
14629
14630 2014-10-02 Pedro Alves <palves@redhat.com>
14631
14632 PR breakpoints/17431
14633 * gdb.base/execl-update-breakpoints.c: New file.
14634 * gdb.base/execl-update-breakpoints.exp: New file.
14635
14636 2014-10-01 Pedro Alves <palves@redhat.com>
14637
14638 * gdb.base/breakpoint-in-ro-region.c: New file.
14639 * gdb.base/breakpoint-in-ro-region.exp: New file.
14640
14641 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14642
14643 * gdb.mi/mi-exit-code.exp: New file.
14644 * gdb.mi/mi-exit-code.c: New file.
14645
14646 2014-09-30 Yao Qi <yao@codesourcery.com>
14647
14648 * lib/prelink-support.exp (build_executable_own_libs): Error if
14649 the target isn't native.
14650
14651 2014-09-30 Yao Qi <yao@codesourcery.com>
14652
14653 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14654 false.
14655
14656 2014-09-22 Pedro Alves <palves@redhat.com>
14657
14658 * gdb.threads/break-while-running.exp: New file.
14659 * gdb.threads/break-while-running.c: New file.
14660
14661 2014-09-19 Yao Qi <yao@codesourcery.com>
14662
14663 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14664 Invoke test. Restart GDB with --readnow and invoke test again.
14665
14666 2014-09-19 Yao Qi <yao@codesourcery.com>
14667
14668 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14669 proc set_breakpoint_on_gcd_function. Invoke
14670 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14671 invoke set_breakpoint_on_gcd_function again.
14672
14673 2014-09-18 Doug Evans <dje@google.com>
14674
14675 * gdb.dwarf2/symtab-producer.exp: New file.
14676
14677 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14678
14679 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14680 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14681 * gdb.base/global-var-nested-by-dso.c: Likewise.
14682 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14683
14684 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14685 Pedro Alves <palves@redhat.com>
14686
14687 * gdb.base/watch-bitfields.exp: Pass string other than test file
14688 name to prepare_for_testing.
14689 (watch): New procedure.
14690 (expect_watchpoint): Use with_test_prefix.
14691 (top level): Factor out tests to ...
14692 (test_watch_location, test_regular_watch): ... these new
14693 procedures, and use with_test_prefix and gdb_continue_to_end.
14694
14695 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14696
14697 PR breakpoints/12526
14698 * gdb.base/watch-bitfields.exp: New file.
14699 * gdb.base/watch-bitfields.c: New file.
14700
14701 2014-09-16 Pedro Alves <palves@redhat.com>
14702
14703 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14704 software and hardware addresses, not software address against
14705 itself.
14706
14707 2014-09-16 Pedro Alves <palves@redhat.com>
14708
14709 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14710 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14711
14712 2014-09-16 Pedro Alves <palves@redhat.com>
14713
14714 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14715 files.
14716 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14717 "*-*-vxworks*" throughout.
14718 * gdb.base/break.exp: Likewise.
14719 * gdb.base/default.exp: Likewise.
14720 * gdb.base/scope.exp: Likewise.
14721 * gdb.base/sepdebug.exp: Likewise.
14722 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14723 throughout.
14724 * gdb.base/run.c: Likewise.
14725 * gdb.base/sepdebug.c: Likewise.
14726 * gdb.hp/gdb.aCC/run.c: Likewise.
14727 * gdb.reverse/until-reverse.c: Likewise.
14728 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14729
14730 2014-09-16 Yao Qi <yao@codesourcery.com>
14731
14732 * boards/local-remote-host-native.exp: New file.
14733
14734 2014-09-14 Doug Evans <xdje42@gmail.com>
14735
14736 * gdb.threads/queue-signal.c (thread_count): New variable.
14737 (thread_count_mutex, thread_count_condvar): New variables.
14738 (incr_thread_count, wait_all_threads_running): New functions.
14739 (main): Wait for all threads to be in their thread functions.
14740
14741 2014-09-13 Doug Evans <xdje42@gmail.com>
14742
14743 * gdb.threads/queue-signal.c: New file.
14744 * gdb.threads/queue-signal.exp: New file.
14745
14746 2014-09-13 Doug Evans <xdje42@gmail.com>
14747
14748 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14749 be consistent with what default_gdb_init uses.
14750 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14751 the plain text of the prompt. Add some logging printfs.
14752 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14753
14754 2014-09-12 Pedro Alves <palves@redhat.com>
14755
14756 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14757 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14758 * gdb.arch/i386-size-overlap.exp: Likewise.
14759 * gdb.arch/i386-size.exp: Likewise.
14760 * gdb.arch/i386-unwind.exp: Likewise.
14761 * gdb.base/a2-run.exp: Likewise.
14762 * gdb.base/break.exp: Likewise.
14763 * gdb.base/charset.exp: Likewise.
14764 * gdb.base/chng-syms.exp: Likewise.
14765 * gdb.base/commands.exp: Likewise.
14766 * gdb.base/dbx.exp: Likewise.
14767 * gdb.base/find.exp: Likewise.
14768 * gdb.base/funcargs.exp: Likewise.
14769 * gdb.base/jit-simple.exp: Likewise.
14770 * gdb.base/reread.exp: Likewise.
14771 * gdb.base/sepdebug.exp: Likewise.
14772 * gdb.base/step-bt.exp: Likewise.
14773 * gdb.cp/mb-inline.exp: Likewise.
14774 * gdb.cp/mb-templates.exp: Likewise.
14775 * gdb.objc/basicclass.exp: Likewise.
14776 * gdb.threads/killed.exp: Likewise.
14777
14778 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14779
14780 PR tdep/17379
14781 * gdb.arch/powerpc-stackless.S: New file.
14782 * gdb.arch/powerpc-stackless.exp: New file.
14783
14784 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14785
14786 * gdb.base/attach.c: Include unistd.h.
14787 (main): Call alarm. Add label postloop.
14788 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14789 gdb_breakpoint, gdb_continue_to_breakpoint.
14790 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14791
14792 2014-09-11 Pedro Alves <palves@redhat.com>
14793
14794 PR gdb/17347
14795 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14796 * gdb.base/attach.exp (test_command_line_attach_run): New
14797 procedure.
14798 (top level): Call it.
14799
14800 2014-09-11 Pedro Alves <palves@redhat.com>
14801
14802 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14803 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14804 (do_command_attach_tests): Use spawn_wait_for_attach.
14805 * gdb.base/solib-overlap.exp: Likewise.
14806 * gdb.multi/multi-attach.exp: Likewise.
14807 * gdb.python/py-prompt.exp: Likewise.
14808 * gdb.python/py-sync-interp.exp: Likewise.
14809 * gdb.server/ext-attach.exp: Likewise.
14810
14811 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14812
14813 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14814 command in testcase. Simplify testcase.
14815
14816 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14817
14818 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14819
14820 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14821
14822 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14823
14824 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14825
14826 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14827
14828 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14829
14830 * gdb.dwarf2/dynarr-ptr.c: New file.
14831 * gdb.dwarf2/dynarr-ptr.exp: New file.
14832
14833 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14834
14835 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14836 of 30 rather than hardcoding 120 for a slow test case. Take the
14837 `gdb,timeout' target setting into account for this calculation.
14838 Don't extend the timeout for the test cases that don't need it.
14839
14840 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14841
14842 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14843 a factor of 2 for a slow test case. Take the `gdb,timeout'
14844 target setting into account for this calculation.
14845 * gdb.reverse/until-precsave.exp: Increase the timeout by
14846 a factor of 15 and 3 respectively rather than adding 120
14847 for a pair of slow test cases. Take the `gdb,timeout'
14848 target setting into account for this calculation.
14849
14850 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14851
14852 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14853 timeout, don't pass one down to gdb_expect.
14854 (gdb_expect): Rework timeout selection.
14855
14856 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14857
14858 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14859 exception on timeout.
14860 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14861 (gdbserver_start_extended): Catch any `gdbserver_start' error
14862 exceptions.
14863 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14864 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14865 `gdbserver_gdb_load' error exceptions.
14866
14867 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14868
14869 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14870 120 on waiting for the TCP socket to open.
14871
14872 2014-09-09 Doug Evans <xdje42@gmail.com>
14873
14874 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14875 _caller_matches, _any_caller_is, _any_caller_matches.
14876
14877 2014-09-09 Doug Evans <xdje42@gmail.com>
14878
14879 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14880
14881 2014-09-09 Yao Qi <yao@codesourcery.com>
14882
14883 * gdb.mi/mi-var-display.exp: Set print symbol off.
14884
14885 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14886
14887 PR gdb/17035
14888 * gdb.base/commands.exp: Add tests to verify user-defined
14889 commands with empty bodies.
14890 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14891 python commands in `show user command`.
14892 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14893 scheme commands in `show user command`.
14894
14895 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14896
14897 PR python/17355
14898 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14899 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14900 * gdb.python/py-framefilter-invalidarg.exp: New file.
14901 * gdb.python/py-framefilter-invalidarg.py: New file.
14902
14903 2014-09-06 Doug Evans <xdje42@gmail.com>
14904
14905 PR 15276
14906 * gdb.python/py-caller-is.c: New file.
14907 * gdb.python/py-caller-is.exp: New file.
14908
14909 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14910
14911 PR gdb/17235
14912 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14913 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14914
14915 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14916
14917 PR fortran/17237
14918 * gdb.fortran/print-formatted.exp: New file.
14919 * gdb.fortran/print-formatted.f90: Likewise.
14920
14921 2014-09-03 Sasha Smundak <asmundak@google.com>
14922
14923 * gdb.python/py-frame.exp: Test Frame.read_register.
14924
14925 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14926
14927 PR python/16699
14928 * gdb.python/py-completion.exp: New file.
14929 * gdb.python/py-completion.py: Likewise.
14930
14931 2014-08-28 Doug Evans <dje@google.com>
14932
14933 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14934 eax,etc. are live with values set by gdb and thus the compiler can't
14935 use them.
14936 * gdb.arch/i386-pseudo.c (main): Ditto.
14937
14938 2014-08-27 Doug Evans <dje@google.com>
14939
14940 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14941
14942 2014-08-25 Doug Evans <dje@google.com>
14943
14944 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14945 (main): Ditto.
14946
14947 2014-08-25 Doug Evans <dje@google.com>
14948
14949 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14950
14951 2014-08-24 Yao Qi <yao@codesourcery.com>
14952
14953 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14954 symbol off.
14955 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14956
14957 2014-08-22 Doug Evans <dje@google.com>
14958
14959 PR 17276
14960 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14961 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14962 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14963
14964 2014-08-22 Yao Qi <yao@codesourcery.com>
14965
14966 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14967 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14968 * gdb.python/python.exp: Likewise. Use .py file on the host
14969 instead of the build.
14970
14971 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14972
14973 * gdb.threads/gcore-stale-thread.c: New file.
14974 * gdb.threads/gcore-stale-thread.exp: New file.
14975
14976 2014-08-21 Pedro Alves <palves@redhat.com>
14977
14978 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14979 * gdb.base/gcore-relro-pie.exp: Likewise.
14980 * gdb.base/gcore-relro.exp: Likewise.
14981 * gdb.base/gcore.exp: Likewise.
14982 * gdb.base/print-symbol-loading.exp: Likewise.
14983 * gdb.threads/gcore-thread.exp: Likewise.
14984 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14985
14986 2014-08-20 Pedro Alves <palves@redhat.com>
14987 Jan Kratochvil <jan.kratochvil@redhat.com>
14988
14989 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14990 configure.
14991 (EXPECT): Handle READ1 being set.
14992 (all): Depend on EXTRA_RULES.
14993 (check-read1, expect-read1, read1.so, read1): New rules.
14994 * README (Testsuite Parameters): Document the READ1 make variable.
14995 (Race detection): New section.
14996 * configure: Regenerate.
14997 * configure.ac: If build==host==target, and running under a
14998 GNU/glibc system, add read1 to the extra Makefile rules.
14999 (EXTRA_RULES): AC_SUBST it.
15000 * lib/read1.c: New file.
15001
15002 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15003
15004 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15005 the handling of variables declared as a typedef to an array
15006 which a DW_AT_data_location attribute.
15007
15008 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15009 Pedro Alves <palves@redhat.com>
15010
15011 PR symtab/14604
15012 PR symtab/14605
15013 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15014 gdb_test.
15015
15016 2014-08-19 Pedro Alves <palves@redhat.com>
15017
15018 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15019
15020 2014-08-19 Yao Qi <yao@codesourcery.com>
15021
15022 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15023 right line.
15024
15025 2014-08-18 David Blaikie <dblaikie@gmail.com>
15026
15027 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15028
15029 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15030
15031 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15032 attribute in array range.
15033
15034 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15035
15036 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15037
15038 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15039
15040 PR c++/17132
15041 * gdb.cp/pr17132.cc: New file.
15042 * gdb.cp/pr17132.exp: New file.
15043
15044 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15045
15046 * gdb.python/py-xmethods.py (A_getarrayind)
15047 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15048 Use 'print' with function call syntax.
15049 (E_method_matcher.match): Fix tab vs space indentation mixup.
15050
15051 2014-08-15 Yao Qi <yao@codesourcery.com>
15052
15053 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15054 false.
15055
15056 2014-08-15 Yao Qi <yao@codesourcery.com>
15057
15058 * gdb.cp/casts.exp: Set print symbol off.
15059 * gdb.cp/class2.exp: Likewise.
15060 * gdb.cp/overload.exp: Likewise.
15061 * gdb.cp/templates.exp: Likewise.
15062
15063 2014-08-11 Doug Evans <dje@google.com>
15064
15065 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15066 (test_load_shlib): Update.
15067
15068 2014-08-09 Yao Qi <yao@codesourcery.com>
15069
15070 * gdb.base/display.exp: Invoke is_address_zero_readable.
15071 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15072 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15073 * gdb.base/hbreak-unmapped.exp: Return if
15074 is_address_zero_readable returns true.
15075 * gdb.base/signest.exp: Likewise.
15076 * gdb.base/signull.exp: Likewise.
15077 * gdb.base/sigbpt.exp: Likewise.
15078 * gdb.guile/scm-disasm.exp: Do the test if
15079 is_address_zero_readable returns false.
15080 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15081 * gdb.python/py-arch.exp: Likewise.
15082 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15083 * lib/gdb.exp (is_address_zero_readable): New proc.
15084
15085 2014-08-09 Yao Qi <yao@codesourcery.com>
15086
15087 PR testsuite/13443
15088 * gdb.mi/mi-var-display.exp: Make test messages unique.
15089
15090 2014-08-04 Tom Tromey <tromey@redhat.com>
15091
15092 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15093 target 0".
15094
15095 2014-08-04 Tom Tromey <tromey@redhat.com>
15096
15097 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15098 "target_resume".
15099
15100 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15101
15102 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15103 inner_vla_struct_object_size.
15104 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15105 as xfail.
15106
15107 2014-07-30 Pedro Alves <palves@redhat.com>
15108
15109 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15110 comment.
15111
15112 2014-07-29 Yao Qi <yao@codesourcery.com>
15113
15114 PR gdb/17206
15115 * gdb.base/until-nodebug.exp: New.
15116
15117 2014-07-28 Doug Evans <xdje42@gmail.com>
15118
15119 PR guile/17203
15120 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15121 previously existing parameter, and previously ambiguously spelled
15122 parameter.
15123
15124 2014-07-28 Will Newton <will.newton@linaro.org>
15125
15126 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15127
15128 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15129 Doug Evans <xdje42@gmail.com>
15130
15131 PR guile/17146
15132 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15133
15134 2014-07-25 Pedro Alves <palves@redhat.com>
15135
15136 * gdb.threads/signal-command-handle-nopass.c: New file.
15137 * gdb.threads/signal-command-handle-nopass.exp: New file.
15138 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15139 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15140 * gdb.threads/signal-delivered-right-thread.c: New file.
15141 * gdb.threads/signal-delivered-right-thread.exp: New file.
15142
15143 2014-07-25 Pedro Alves <palves@redhat.com>
15144
15145 * gdb.base/double-prompt-target-event-error.exp
15146 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15147 match.
15148 (cancel_pagination_in_target_event): Rework double prompt
15149 detection.
15150 * gdb.base/paginate-after-ctrl-c-running.exp
15151 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15152 <return>' match.
15153 * gdb.base/paginate-bg-execution.exp
15154 (test_bg_execution_pagination_return)
15155 (test_bg_execution_pagination_cancel): Remove '-notransfer
15156 <return>' matches.
15157 * gdb.base/paginate-execution-startup.exp
15158 (test_fg_execution_pagination_return)
15159 (test_fg_execution_pagination_cancel): Remove '-notransfer
15160 <return>' matches.
15161 * gdb.base/paginate-inferior-exit.exp
15162 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15163 match.
15164 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15165 * lib/gdb.exp (pagination_prompt): Run text through
15166 string_to_regexp.
15167 (gdb_test_multiple): Match $pagination_prompt instead of
15168 "<return>".
15169 (string_to_regexp): Move to lib/gdb-utils.exp.
15170
15171 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15172
15173 * gdb.arch/amd64-entry-value-paramref.S: New file.
15174 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15175 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15176 * gdb.arch/amd64-optimout-repeat.S: New file.
15177 * gdb.arch/amd64-optimout-repeat.c: New file.
15178 * gdb.arch/amd64-optimout-repeat.exp: New file.
15179
15180 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15181
15182 PR gdb/17170
15183 * gdb.base/statistics.exp: New file.
15184
15185 2014-07-17 Doug Evans <dje@google.com>
15186
15187 PR gdb/17170
15188 * gdb.base/maint.exp: Update testing of per-command stats.
15189
15190 2014-07-16 Pedro Alves <palves@redhat.com>
15191
15192 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15193 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15194 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15195 (tfile_write_buf): New functions.
15196 (add_memory_block): Rewrite using the above.
15197 (adjust_function_address): New function.
15198 (FUNCTION_ADDRESS): New macro.
15199 (write_basic_trace_file): Remove short_x local, and use
15200 tfile_write_16. Change type of func_addr local to unsigned long
15201 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15202 here. Cast argument of add_memory_block to char pointer.
15203 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15204 (main): Remove parameters.
15205 * gdb.trace/tfile.exp: Remove nowarnings.
15206
15207 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15208
15209 * gdb.base/debug-expr.exp: Test string evaluation with
15210 "debug expression" on.
15211
15212 2014-07-15 Pedro Alves <palves@redhat.com>
15213
15214 * gdb.base/reread.exp: Use clean_restart.
15215
15216 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15217
15218 * gdb.arch/avr-flash-qualifer.c: New.
15219 * gdb.arch/avr-flash-qualifer.exp: New.
15220
15221 2014-07-14 Pedro Alves <palves@redhat.com>
15222
15223 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15224 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15225
15226 2014-07-14 Pedro Alves <palves@redhat.com>
15227
15228 * gdb.base/double-prompt-target-event-error.c: New file.
15229 * gdb.base/double-prompt-target-event-error.exp: New file.
15230
15231 2014-07-14 Pedro Alves <palves@redhat.com>
15232
15233 PR gdb/17072
15234 * gdb.base/paginate-inferior-exit.c: New file.
15235 * gdb.base/paginate-inferior-exit.exp: New file.
15236
15237 2014-07-14 Pedro Alves <palves@redhat.com>
15238
15239 PR gdb/17072
15240 * gdb.base/paginate-bg-execution.c: New file.
15241 * gdb.base/paginate-bg-execution.exp: New file.
15242
15243 2014-07-14 Pedro Alves <palves@redhat.com>
15244
15245 PR gdb/17072
15246 * gdb.base/paginate-execution-startup.c: New file.
15247 * gdb.base/paginate-execution-startup.exp: New file.
15248 * lib/gdb.exp (pagination_prompt): New global.
15249 (default_gdb_spawn): New procedure, factored out from
15250 default_gdb_spawn.
15251 (default_gdb_start): Adjust to call default_gdb_spawn.
15252 (gdb_spawn): New procedure.
15253
15254 2014-07-14 Pedro Alves <palves@redhat.com>
15255
15256 * lib/gdb.exp (gdb_assert): New procedure.
15257 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15258
15259 2014-07-14 Pedro Alves <palves@redhat.com>
15260
15261 * gdb.base/execution-termios.c: New file.
15262 * gdb.base/execution-termios.exp: New file.
15263
15264 2014-07-14 Tom Tromey <tromey@redhat.com>
15265
15266 * gdb.cp/vla-cxx.cc: New file.
15267 * gdb.cp/vla-cxx.exp: New file.
15268
15269 2014-07-14 Tom Tromey <tromey@redhat.com>
15270
15271 * gdb.reverse/rerun-prec.c: New file.
15272 * gdb.reverse/rerun-prec.exp: New file.
15273
15274 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15275 Maciej W. Rozycki <macro@codesourcery.com>
15276
15277 * lib/gdb-utils.exp: New file.
15278 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15279 inline `gdb_init_command' processing.
15280 (gdb_start_cmd): Likewise.
15281 * lib/mi-support.exp (mi_run_cmd): Likewise.
15282 * README: Document `gdb_init_command' and `gdb_init_commands'.
15283
15284 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15285
15286 Fix false FAIL running under a very long directory name.
15287 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15288 and "set print elements 10000". Twice.
15289
15290 2014-07-11 Yao Qi <yao@codesourcery.com>
15291
15292 * gdb.base/exprs.exp: "set print symbol off".
15293
15294 2014-07-11 Pedro Alves <palves@redhat.com>
15295
15296 * gdb.threads/kill.c: New file.
15297 * gdb.threads/kill.exp: New file.
15298
15299 2014-07-10 Yao Qi <yao@codesourcery.com>
15300
15301 * gdb.trace/tfile.c (write_basic_trace_file)
15302 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15303 address written to trace file.
15304
15305 2014-07-09 Pedro Alves <palves@redhat.com>
15306
15307 * gdb.base/attach-wait-input.exp: New file.
15308 * gdb.base/attach-wait-input.c: New file.
15309
15310 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15311
15312 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15313 setting up test structures.
15314 (main): Call new test function.
15315 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15316 test function, continue into test function and walk test
15317 structures.
15318
15319 2014-07-02 Yao Qi <yao@codesourcery.com>
15320
15321 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15322 'bar_start' at the beginning of functions 'foo' and 'bar'
15323 respectively.
15324 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15325 instead of 'foo' and 'bar'.
15326
15327 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15328
15329 * gdb.btrace/segv.exp: New.
15330 * gdb.btrace/segv.c: New.
15331
15332 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15333
15334 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15335 instruction.
15336
15337 2014-06-30 Mark Wielaard <mjw@redhat.com>
15338
15339 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15340 vulture, vilify, villar): New volatile array constants.
15341 (vindictive, vegetation): New const volatile array constants.
15342 * gdb.base/volatile.exp: Test volatile and const volatile array
15343 types.
15344
15345 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15346
15347 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15348 target lacks support for awatch, rwatch, or hbreak.
15349
15350 2014-06-27 Yao Qi <yao@codesourcery.com>
15351
15352 * gdb.multi/dummy-frame-restore.exp: New.
15353 * gdb.multi/dummy-frame-restore.c: New.
15354
15355 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15356
15357 * gdb.btrace/gcore.exp: New.
15358
15359 2014-06-23 Pedro Alves <palves@redhat.com>
15360
15361 * gdb.base/watchpoint-reuse-slot.c: New file.
15362 * gdb.base/watchpoint-reuse-slot.exp: New file.
15363
15364 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15365
15366 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15367 progspace's filename in 'info', 'enable' and 'disable' command
15368 tests.
15369
15370 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15371
15372 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15373 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15374 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15375
15376 2014-06-20 Gary Benson <gbenson@redhat.com>
15377
15378 * gdb.arch/i386-avx.exp: Fix include file location.
15379 * gdb.arch/i386-sse.exp: Likewise.
15380
15381 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15382
15383 * gdb.dlang/expression.exp: New file.
15384
15385 2014-06-19 Pedro Alves <palves@redhat.com>
15386
15387 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15388 out from ...
15389 (top level): ... here. Iterate running tests under different
15390 scheduler-locking settings.
15391
15392 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15393
15394 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15395 to DW_FORM_addr and use non-zero addresses.
15396
15397 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15398
15399 PR gdb/17017
15400 * gdb.python/py-xmethods.cc: Add global function call counters and
15401 increment them in their respective functions. Remove "cout"
15402 statements.
15403 * gdb.python/py-xmethods.exp: Make tests check the global function
15404 call counters instead of depending on inferior IO.
15405
15406 2014-06-18 Don Breazeal <donb@codesourcery.com>
15407
15408 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15409 Deleted procedure.
15410 (explicit_fork_parent_follow): Deleted procedure.
15411 (explicit_fork_child_follow): Deleted procedure.
15412 (test_follow_fork): New procedure.
15413 (do_fork_tests): Replace calls to deleted procedures with
15414 calls to test_follow_fork and reset GDB for subsequent
15415 procedure calls.
15416
15417 2014-06-17 Yao Qi <yao@codesourcery.com>
15418
15419 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15420 CP1252.
15421
15422 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15423
15424 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15425 Initialize ptr and S explicitly.
15426 (skip_type_update_when_not_use_rtti_test): Likewise.
15427
15428 2014-06-16 Keith Seitz <keiths@redhat.com>
15429
15430 PR mi/15863
15431 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15432 the inferior is started.
15433
15434 2014-06-16 Pedro Alves <palves@redhat.com>
15435
15436 * gdb.base/break-main-file-remove-fail.c: New file.
15437 * gdb.base/break-main-file-remove-fail.exp: New file.
15438 * gdb.base/break-unload-file.exp: Use build_executable instead of
15439 prepare_for_testing.
15440 (test_break): New parameter "initial_load". Handle it.
15441 (top level): Add initial_load cmdline/file axis.
15442
15443 2014-06-12 Tom Tromey <tromey@redhat.com>
15444
15445 * gdb.base/completion.exp: Don't use directory name in test.
15446
15447 2014-06-09 Gary Benson <gbenson@redhat.com>
15448
15449 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15450 separate the always-available ANSI-standard signals from the
15451 signals that require checking.
15452 (main): Likewise.
15453 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15454 Likewise.
15455 (main): Likewise.
15456
15457 2014-06-07 Keith Seitz <keiths@redhat.com>
15458
15459 Revert:
15460 PR c++/16253
15461 * gdb.cp/var-tag.cc: New file.
15462 * gdb.cp/var-tag.exp: New file.
15463 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15464 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15465 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15466 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15467
15468 2014-06-06 Doug Evans <xdje42@gmail.com>
15469
15470 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15471
15472 2014-06-06 Pedro Alves <palves@redhat.com>
15473
15474 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15475 in target debug output instead of looking at RSP packets,
15476 disabling the test on any target that uses hardware stepping.
15477 Update comments.
15478
15479 2014-06-06 Pedro Alves <palves@redhat.com>
15480
15481 * gdb.base/break-unload-file.exp: Fix typo.
15482
15483 2014-06-06 Yao Qi <yao@codesourcery.com>
15484
15485 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15486 from "jit_function" to "^jit_function".
15487
15488 2014-06-06 Yao Qi <yao@codesourcery.com>
15489
15490 * gdb.base/async.c (foo): Add one statement.
15491 * gdb.base/async.exp: Get the next instruction address and
15492 match the output of "nexti" by instruction address. Match
15493 the hex address in the output of "finish".
15494
15495 2014-06-06 Gary Benson <gbenson@redhat.com>
15496
15497 * gdb.base/call-signals.c: Remove preprocessor conditionals
15498 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15499 SIGSEGV and SIGTERM.
15500 * gdb.base/sigall.c: Likewise.
15501 * gdb.base/unwindonsignal.c: Likewise.
15502 * gdb.reverse/sigall-reverse.c: Likewise.
15503
15504 2014-06-06 Yao Qi <yao@codesourcery.com>
15505
15506 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15507 readable, skip the test.
15508
15509 2014-06-06 Yao Qi <yao@codesourcery.com>
15510
15511 * gdb.threads/staticthreads.c (thread_function): Move the line
15512 setting breakpoint on forward.
15513 * gdb.threads/staticthreads.exp: Update comments.
15514
15515 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15516
15517 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15518 "history-append! type error".
15519
15520 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15521
15522 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15523 erroneous dprintf expected input.
15524
15525 2014-06-04 Doug Evans <xdje42@gmail.com>
15526
15527 * gdb.guile/scm-generics.exp: Delete.
15528
15529 2014-06-04 Doug Evans <xdje42@gmail.com>
15530
15531 * gdb.guile/scm-breakpoint.exp: Update.
15532 Add tests for breakpoint registration.
15533
15534 2014-06-04 Tom Tromey <tromey@redhat.com>
15535
15536 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15537 VLA-in-union.
15538 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15539 inner_vla_struct, vla_union types. Initialize objects of those
15540 types and compute their sizes.
15541
15542 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15543 Hui Zhu <hui@codesourcery.com>
15544
15545 * gdb.base/fileio.exp: Add test for shell not available as well as
15546 available.
15547 * gdb.base/fileio.c (test_system): Check for shell twice.
15548
15549 2014-06-04 Yao Qi <yao@codesourcery.com>
15550
15551 * gdb.base/auto-connect-native-target.exp: Remove redundant
15552 space from the regexp pattern.
15553
15554 2014-06-04 Yao Qi <yao@codesourcery.com>
15555
15556 * gdb.base/default.exp: Replace "child" with "native" in
15557 regexp pattern.
15558
15559 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15560
15561 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15562 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15563 * gdb.python/py-xmethods.py: Python script supporting the
15564 new testcase and tests.
15565
15566 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15567 Pedro Alves <palves@redhat.com>
15568
15569 PR breakpoints/17000
15570 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15571 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15572
15573 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15574
15575 * gdb.base/subst.exp: Add tests to verify partial path matching
15576 output.
15577
15578 2014-06-03 Pedro Alves <palves@redhat.com>
15579
15580 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15581 target that doesn't use software single-stepping.
15582
15583 2014-06-03 Pedro Alves <palves@redhat.com>
15584
15585 PR breakpoints/17000
15586 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15587 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15588
15589 2014-06-02 Doug Evans <xdje42@gmail.com>
15590
15591 * gdb.guile/scm-parameter.exp: New file.
15592
15593 2014-06-02 Doug Evans <xdje42@gmail.com>
15594
15595 * gdb.guile/scm-cmd.c: New file.
15596 * gdb.guile/scm-cmd.exp: New file.
15597
15598 2014-06-02 Doug Evans <xdje42@gmail.com>
15599
15600 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15601 pretty-printer lookup.
15602 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15603 (make-pp_s-printer): Call it.
15604 (make-pretty-printer-from-dict): New function.
15605 (lookup-pretty-printer-maker-from-dict): New function.
15606 (*pretty-printer*): Simplify.
15607 (make-objfile-pp_s-printer): New function.
15608 (install-objfile-pretty-printers!): New function.
15609 (make-progspace-pp_s-printer): New function.
15610 (install-progspace-pretty-printers!): New function.
15611 * gdb.guile/scm-progspace.c: New file.
15612 * gdb.guile/scm-progspace.exp: New file.
15613
15614 2014-06-02 Pedro Alves <palves@redhat.com>
15615
15616 * gdb.base/dprintf-bp-same-addr.c: New file.
15617 * gdb.base/dprintf-bp-same-addr.exp: New file.
15618
15619 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15620
15621 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15622 * gdb.arch/powerpc-power.s: Likewise.
15623
15624 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15625
15626 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15627
15628 2014-06-01 Yao Qi <yao@codesourcery.com>
15629
15630 * gdb.base/watchpoint.exp (test_watch_location): Check null
15631 pointer can be dereferenced. If not, do the test, otherwise
15632 skip it.
15633
15634 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15635
15636 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15637 results.
15638 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15639
15640 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15641
15642 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15643 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15644 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15645 * gdb.arch/amd64-invalid-stack-top.c: New file.
15646 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15647
15648 2014-05-30 Pedro Alves <palves@redhat.com>
15649
15650 PR breakpoints/17000
15651 * gdb.base/sss-bp-on-user-bp.c: New file.
15652 * gdb.base/sss-bp-on-user-bp.exp: New file.
15653
15654 2014-05-30 David Blaikie <dblaikie@gmail.com>
15655
15656 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15657 gnu_inline semantics via attribute.
15658 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15659 source explicitly specifies the required semantics.
15660
15661 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15662
15663 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15664
15665 2014-05-29 Pedro Alves <palves@redhat.com>
15666 Tom Tromey <tromey@redhat.com>
15667
15668 * gdb.base/async-shell.exp: Don't enable target-async.
15669 * gdb.base/async.exp
15670 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15671 parameter. Adjust.
15672 (top level): Don't test with "target-async".
15673 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15674 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15675 * gdb.base/inferior-died.exp: Don't enable target-async.
15676 * gdb.base/interrupt-noterm.exp: Likewise.
15677 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15678 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15679 * gdb.mi/mi-nonstop.exp: Likewise.
15680 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15681 * gdb.mi/mi-nsintrall.exp: Likewise.
15682 * gdb.mi/mi-nsmoribund.exp: Likewise.
15683 * gdb.mi/mi-nsthrexec.exp: Likewise.
15684 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15685 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15686 * gdb.python/py-evsignal.exp: Don't enable target-async.
15687 * gdb.python/py-evthreads.exp: Likewise.
15688 * gdb.python/py-prompt.exp: Likewise.
15689 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15690 * gdb.server/solib-list.exp: Don't enable target-async.
15691 * gdb.threads/thread-specific-bp.exp: Likewise.
15692 * lib/mi-support.exp: Adjust to use mi-async.
15693
15694 2014-05-29 Pedro Alves <palves@redhat.com>
15695
15696 PR gdb/13860
15697 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15698 reason, even in sync mode.
15699
15700 2014-05-29 Pedro Alves <palves@redhat.com>
15701 Hui Zhu <hui@codesourcery.com>
15702
15703 PR PR15693
15704 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15705 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15706 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15707 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15708
15709 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15710
15711 * config/monitor.exp (gdb_target_monitor): Replace use of
15712 "set remotebaud" by "set serial baud".
15713
15714 2014-05-26 Andy Wingo <wingo@igalia.com>
15715
15716 * gdb.guile/scm-breakpoint.exp:
15717 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15718 properties instead of gdb-object-properties.
15719
15720 2014-05-26 Yao Qi <yao@codesourcery.com>
15721
15722 * gdb.server/no-thread-db.exp: Specify source file name
15723 explicitly when setting a breakpoint.
15724
15725 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15726
15727 * gdb.btrace/vdso.c: New.
15728 * gdb.btrace/vdso.exp: New.
15729
15730 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15731
15732 * gdb.base/gcore.exp (capture_command_output): Move ...
15733 * lib/gdb.exp (capture_command_output): ... here.
15734
15735 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15736
15737 * gdb.btrace/data.exp: Test memory access during btrace replay.
15738
15739 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15740
15741 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15742
15743 2014-05-21 Pedro Alves <palves@redhat.com>
15744
15745 PR gdb/13860
15746 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15747 (top level): Test that output related to execution commands is
15748 sent to the console with CLI commands, but not with MI commands.
15749 Test that breakpoint events are always mirrored to the console.
15750 Also expect the new source line to be output after a "next" in
15751 async mode too. Make it a pass/fail test.
15752 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15753 output.
15754 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15755
15756 2014-05-21 Pedro Alves <palves@redhat.com>
15757
15758 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15759 Use them to test variations of "list" after reaching a breakpoint.
15760 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15761 Test "list" with listsize 10 after reaching a breakpoint.
15762 * gdb.python/python.exp (decode_line current location line
15763 number): Adjust expected line number.
15764
15765 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15766
15767 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15768 behavior for $args, pass it directly to "run".
15769
15770 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15771
15772 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15773 30000 to 65536.
15774
15775 2014-05-21 Pedro Alves <palves@redhat.com>
15776
15777 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15778 auto-connect-native-target off".
15779 * gdb.base/auto-connect-native-target.c: New file.
15780 * gdb.base/auto-connect-native-target.exp: New file.
15781
15782 2014-05-21 Pedro Alves <palves@redhat.com>
15783
15784 * gdb.base/default.exp: Test "target native" instead of "target
15785 child".
15786
15787 2014-05-21 Mark Wielaard <mjw@redhat.com>
15788
15789 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15790
15791 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15792
15793 Fix TLS access for -static -pthread.
15794 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15795 <HAVE_TLS> (thread_function, main): Initialize it.
15796 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15797 Add clean_restart.
15798 <$have_tls != "">: Check TLSVAR.
15799
15800 2014-05-21 Pedro Alves <palves@redhat.com>
15801
15802 * gdb.base/dcache-line-read-error.c: New.
15803 * gdb.base/dcache-line-read-error.exp: New.
15804
15805 2014-05-20 Pedro Alves <palves@redhat.com>
15806
15807 * gdb.base/compare-sections.c: New file.
15808 * gdb.base/compare-sections.exp: New file.
15809
15810 2014-05-20 Pedro Alves <palves@redhat.com>
15811
15812 * gdb.base/break-idempotent.c: New file.
15813 * gdb.base/break-idempotent.exp: New file.
15814
15815 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15816
15817 * gdb.btrace/nohist.exp: New.
15818
15819 2014-05-20 Yao Qi <yao@codesourcery.com>
15820
15821 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15822 gdb.reverse directory and gdb_reverse_timeout exists in board
15823 setting.
15824 * README: Document gdb_reverse_timeout.
15825
15826 2014-05-20 Yao Qi <yao@codesourcery.com>
15827
15828 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15829 'test_file_name'. Treat args as a string instead of a list.
15830 (gdb_init): Rename argument 'args' by 'test_file_name'.
15831
15832 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15833
15834 * gdb.arch/powerpc-power.exp: New file.
15835 * gdb.arch/powerpc-power.s: New file.
15836
15837 2014-05-16 Doug Evans <dje@google.com>
15838
15839 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15840 * gdb.base/completion.exp: Check that all expected files exist
15841 before doing file completion.
15842
15843 2014-05-16 Doug Evans <dje@google.com>
15844
15845 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15846 Update.
15847 (do_syscall_tests_without_xml): Update.
15848
15849 2014-05-16 Pedro Alves <palves@redhat.com>
15850
15851 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15852 instead of "unknown output after running".
15853
15854 2014-05-16 Yao Qi <yao@codesourcery.com>
15855
15856 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15857 file1.txt from host at the end.
15858 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15859
15860 2014-05-15 Doug Evans <dje@google.com>
15861
15862 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15863 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15864 loading file. Add test for TU lookup.
15865
15866 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15867
15868 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15869 calling "-exec-arguments" or "set args" before running the
15870 inferior.
15871
15872 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15873
15874 * lib/mi-support.exp (mi_expect_stop): Expect message for
15875 inferiors that exit with non-zero exit code.
15876
15877 2014-05-14 Yao Qi <yao@codesourcery.com>
15878
15879 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15880 match absolute path on remote host.
15881 (test_file_list_exec_source_files): Remove "/" from the
15882 pattern.
15883
15884 2014-05-14 Yao Qi <yao@codesourcery.com>
15885
15886 * boards/local-remote-host-notty.exp (${board}_file): New
15887 proc.
15888
15889 2014-05-07 Kyle McMartin <kyle@redhat.com>
15890
15891 Pushed by Joel Brobecker <brobecker@adacore.com>.
15892 * gdb.arch/aarch64-atomic-inst.c: New file.
15893 * gdb.arch/aarch64-atomic-inst.exp: New file.
15894
15895 2014-05-07 Yao Qi <yao@codesourcery.com>
15896
15897 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15898 in current context" too.
15899
15900 2014-05-05 Keith Seitz <keiths@redhat.com>
15901
15902 * gdb.linespec/ls-dollar.exp: Add test for linespec
15903 file:convenience_variable.
15904
15905 2014-05-05 Yao Qi <yao@codesourcery.com>
15906
15907 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15908 traceframes into tfile and ctf trace files. Read data from
15909 trace file and test collected data.
15910 (gdb_collect_locals_test): Likewise.
15911 (gdb_unavailable_registers_test): Likewise.
15912 (gdb_unavailable_floats): Likewise.
15913 (gdb_collect_globals_test): Likewise.
15914 (top-level): Append "ctf" to trace_file_targets if GDB
15915 supports.
15916
15917 2014-05-05 Yao Qi <yao@codesourcery.com>
15918
15919 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15920 code to ...
15921 (gdb_collect_args_test_1): ... it. New proc.
15922 (gdb_collect_locals_test): Move some code to ...
15923 (gdb_collect_locals_test_1): ... it. New proc.
15924 (gdb_unavailable_registers_test): Move some code to ...
15925 (gdb_unavailable_registers_test_1): ... it. New proc.
15926 (gdb_unavailable_floats): Move some code to ...
15927 (gdb_unavailable_floats_1): ... it. New proc.
15928
15929 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15930
15931 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15932 probes to test for bitness recognition.
15933 * gdb.arch/amd64-stap-optional-prefix.exp
15934 (test_probe_value_without_reg): New procedure.
15935 Add code to test for different kinds of bitness.
15936
15937 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15938
15939 PR breakpoints/16889
15940 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15941 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15942
15943 2014-05-01 Pedro Alves <palves@redhat.com>
15944
15945 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15946 gdb_file_cmd if no file is specified.
15947 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15948 last_loaded_file to set the remote exec-file.
15949
15950 2014-05-01 Pedro Alves <palves@redhat.com>
15951
15952 * boards/local-remote-host.exp: New file.
15953
15954 2014-05-01 Pedro Alves <palves@redhat.com>
15955
15956 * boards/local-remote-host.exp: Rename to ...
15957 * boards/local-remote-host-notty.exp: ... this.
15958
15959 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15960
15961 * gdb.ada/dyn_arrayidx: New testcase.
15962
15963 2014-04-26 Yao Qi <yao@codesourcery.com>
15964
15965 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15966 and compute the length of function main. Save it in
15967 $main_length.
15968 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15969 (top-level): Use gdb_compile to compile objects into
15970 executable and restart GDB. Remove invocation to
15971 prepare_for_testing.
15972
15973 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15974 Pedro Alves <palves@redhat.com>
15975
15976 PR server/16255
15977 * gdb.multi/multi-attach.c: New file.
15978 * gdb.multi/multi-attach.exp: New file.
15979
15980 2014-04-25 Pedro Alves <palves@redhat.com>
15981
15982 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15983 user.
15984 (top level): Test that "set remote conditional-breakpoints-packet
15985 off" works as intended.
15986 * gdb.base/dprintf.exp: Test that "set remote
15987 breakpoint-commands-packet off" works as intended.
15988 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15989 New function.
15990 (top level): Call it.
15991 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15992 remote fast-tracepoints-packet off" works as intended.
15993 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15994 * lib/gdb.exp (gdb_is_target_remote): ... here.
15995
15996 2014-04-24 David Blaikie <dblaikie@gmail.com>
15997
15998 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15999 ensure clang would not discard them.
16000 * gdb.base/gdbvars.c: Ditto.
16001 * gdb.base/memattr.c: Ditto.
16002 * gdb.base/whatis.c: Ditto.
16003 * gdb.python/py-prettyprint.c: Ditto.
16004 * gdb.trace/actions.c: Ditto.
16005 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16006 ensure clang would not discard it.
16007
16008 2014-04-24 David Blaikie <dblaikie@gmail.com>
16009
16010 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16011 clang to emit the full definition of type required by the test
16012 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16013
16014 2014-04-24 David Blaikie <dblaikie@gmail.com>
16015
16016 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16017 coax Clang into emitting the definition of the type.
16018 * gdb.cp/pr10728-x.h (y): Ditto.
16019 * gdb.cp/pr10728-y.cc (y): Ditto.
16020
16021 2014-04-24 David Blaikie <dblaikie@gmail.com>
16022
16023 * gdb.base/label.exp: XFAIL label related tests under Clang.
16024 * gdb.cp/cplabel.exp: Ditto.
16025 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16026 under Clang those using labels.
16027
16028 2014-04-25 Yao Qi <yao@codesourcery.com>
16029
16030 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16031 double_label.
16032 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16033 partial_label and double_label.
16034
16035 2014-04-24 David Blaikie <dblaikie@gmail.com>
16036
16037 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16038
16039 2014-04-24 David Blaikie <dblaikie@gmail.com>
16040
16041 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16042 of the function to work across GCC and Clang.
16043 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16044 pointer types (const void ** const V void **).
16045
16046 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16047 Walfred Tedeschi <walfred.tedeschi@intel.com>
16048
16049 * Makefile.in (EXECUTABLES): Added i386-avx512.
16050 * gdb.arch/i386-avx512.c: New file.
16051 * gdb.arch/i386-avx512.exp: Likewise.
16052
16053 2014-04-23 Keith Seitz <keiths@redhat.com>
16054
16055 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16056 (mi_make_breakpoint_table): New procedure.
16057 (mi_create_breakpoint): Use mi_make_breakpoint
16058 and return the result.
16059 (mi_make_breakpoint): New procedure.
16060 (mi_build_kv_pairs): New procedure.
16061
16062 * gdb.mi/mi-break.exp: Remove unused globals,
16063 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16064 All callers updated.
16065 * gdb.mi/mi-dprintf.exp: Use variable to track command
16066 number.
16067 Update all callers of mi_create_breakpoint and use
16068 mi_make_breakpoint_table.
16069 Remove any unused global variables.
16070 * gdb.mi/mi-nonstop.exp: Likewise.
16071 * gdb.mi/mi-nsintrall.exp: Likewise.
16072 * gdb.mi/mi-nsmoribund.exp: Likewise.
16073 * gdb.mi/mi-nsthrexec.exp: Likewise.
16074 * gdb.mi/mi-reverse.exp: Likewise.
16075 * gdb.mi/mi-simplerun.exp: Likewise.
16076 * gdb.mi/mi-stepn.exp: Likewise.
16077 * gdb.mi/mi-syn-frame.exp: Likewise.
16078 * gdb.mi/mi-until.exp: Likewise.
16079 * gdb.mi/mi-var-cp.exp: Likewise.
16080 * gdb.mi/mi-var-display.exp: Likewise.
16081 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16082 * gdb.mi/mi2-var-child.exp: Likewise.
16083 * gdb.mi/mi-vla-c99.exp: Likewise.
16084 * lib/mi-support.exp: Likewise.
16085
16086 From Ian Lance Taylor <iant@cygnus.com>:
16087 * lib/gdb.exp (parse_args): New procedure.
16088
16089 2014-04-23 Pedro Alves <palves@redhat.com>
16090
16091 * gdb.base/break-unload-file.c: New file.
16092 * gdb.base/break-unload-file.exp: New file.
16093 * gdb.base/sym-file-lib.c (baz): New function.
16094 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16095 field.
16096 (load): Store the segment's mapped size.
16097 (unload): New function.
16098 (unload_shlib): New function.
16099 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16100 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16101 set a breakpoint at baz, and call it.
16102 * gdb.base/sym-file.exp: New tests for stale breakpoint
16103 instructions.
16104
16105 2014-04-23 Pedro Alves <palves@redhat.com>
16106
16107 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16108 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16109 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16110 * gdb.base/hbreak-unmapped.c: New file.
16111 * gdb.base/hbreak-unmapped.exp: New file.
16112 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16113 * lib/gdb.exp (gdb_is_target_remote): ... here.
16114
16115 2014-04-22 Pedro Alves <palves@redhat.com>
16116
16117 * gdb.base/consecutive-step-over.c: New file.
16118 * gdb.base/consecutive-step-over.exp: New file.
16119
16120 2014-04-22 Pedro Alves <palves@redhat.com>
16121
16122 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16123 instead of send_gdb/gdb_expect.
16124
16125 2014-04-22 Yao Qi <yao@codesourcery.com>
16126
16127 * lib/trace-support.exp (generate_tracefile): New procedure.
16128 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16129 return 0.
16130 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16131 if generate_tracefile returns 1.
16132
16133 2014-04-18 Tom Tromey <palves@redhat.com>
16134 Pedro alves <tromey@redhat.com>
16135
16136 PR backtrace/15558
16137 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16138 with a backtrace limit.
16139 * gdb.python/py-frame-inline.exp: Test running to an inline
16140 function with a backtrace limit, and printing the newest frame.
16141 * gdb.python/py-frame-inline.c (main): Call f.
16142
16143 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16144
16145 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16146
16147 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16148
16149 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16150 Drop prefix from unsupported source file path.
16151
16152 2014-04-17 Yao Qi <yao@codesourcery.com>
16153
16154 * lib/gdb.exp (with_target_charset): New proc.
16155 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16156 with_target_charset.
16157 (test_print_strings): Likewise.
16158 (test_repeat_bytes): Likewise.
16159 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16160 for some tests.
16161
16162 2014-04-16 Keith Seitz <keiths@redhat.com>
16163
16164 PR gdb/15827
16165 * gdb.dwarf2/corrupt.c: New file.
16166 * gdb.dwarf2/corrupt.exp: New file.
16167
16168 2014-04-16 Keith Seitz <keiths@redhat.com>
16169
16170 PR c++/16597
16171 * gdb.cp/namelessclass.cc: New file.
16172 * gdb.cp/namelessclass.exp: New file.
16173 * gdb.cp/namelessclass.S: New file.
16174
16175 2014-04-16 Doug Evans <dje@google.com>
16176
16177 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16178 Add comment.
16179 (gdbserver_default_get_comm_port): New function.
16180 (gdbserver_start): Check if board file provided
16181 "gdbserver,get_comm_port" and use it if so.
16182 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16183 (gdb,socketport): Set to "stdio".
16184 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16185 (stdio_gdbserver_template): Delete.
16186 (${board}_get_remote_address): Update.
16187 (${board}_build_remote_cmd): Delete.
16188 (${board}_get_comm_port): New function.
16189 (${board}_spawn): Update.
16190 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16191 Delete.
16192 (${board}_get_remote_address): Update.
16193 (${board}_get_comm_port): New function.
16194
16195 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16196
16197 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16198 appearing in any order.
16199
16200 2014-04-15 Doug Evans <dje@google.com>
16201
16202 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16203 uninitialized value of "description".
16204
16205 2014-04-15 Keith Seitz <keiths@redhat.com>
16206
16207 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16208 Remove unused globals.
16209 (test_running_the_program): Likewise.
16210 (test_controlled_execution): Likewise.
16211 (test_controlling_breakpoints): Likewise.
16212 (test_program_termination): Likewise.
16213
16214 2014-04-15 Keith Seitz <keiths@redhat.com>
16215
16216 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16217 unused globals.
16218 (test_rbreak_creation_and_listing): Likewise.
16219 (test_ignore_count): Likewise.
16220 (test_error): Likewise.
16221
16222 2014-04-15 Pedro Alves <palves@redhat.com>
16223
16224 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16225 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16226 sym-file-loader.c.
16227 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16228 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16229 to sym-file-loader.c.
16230 (struct library): Forward declare.
16231 (load_shlib, lookup_function): Change prototypes.
16232 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16233 (translate_offset): Remove declarations.
16234 (get_text_addr): New declaration.
16235 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16236 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16237 sym-file-loader.h.
16238 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16239 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16240 here from sym-file-loader.h.
16241 (struct library): New structure.
16242 (load_shlib, lookup_function): Change prototypes and adjust to
16243 work with a struct library.
16244 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16245 (translate_offset): Make static.
16246 (get_text_addr): New function.
16247 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16248
16249 2014-04-15 Pedro Alves <palves@redhat.com>
16250
16251 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16252
16253 2014-04-15 Pedro Alves <palves@redhat.com>
16254
16255 * gdb.base/sym-file-loader.c: Include <limits.h>.
16256 (SELF_LINK): New define.
16257 (get_origin): New function.
16258 (load_shlib): Use it.
16259 * gdb.base/sym-file.exp: Don't early return if the target is
16260 remote. Use runto_main, and issue fail is that fails. Use
16261 gdb_load_shlibs.
16262 (shlib_name): Delete.
16263 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16264
16265 2014-04-15 Pedro Alves <palves@redhat.com>
16266
16267 * gdb.base/sym-file.exp: Remove regex characters from test
16268 message. Don't refer to breakpoint numbers in test messages.
16269
16270 2014-04-14 Keith Seitz <keiths@redhat.com>
16271
16272 PR c++/16253
16273 * gdb.cp/var-tag.cc: New file.
16274 * gdb.cp/var-tag.exp: New file.
16275 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16276 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16277 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16278 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16279
16280 2014-04-14 Tom Tromey <tromey@redhat.com>
16281
16282 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16283 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16284 type.
16285 * gdb.cp/enum-class.exp: New file.
16286 * gdb.cp/enum-class.cc: New file.
16287
16288 2014-04-14 Tom Tromey <tromey@redhat.com>
16289
16290 * gdb.dwarf2/enum-type.exp: New file.
16291
16292 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16293
16294 * gdb.mi/mi-vla-c99.exp: New file.
16295 * gdb.mi/vla.c: New file.
16296
16297 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16298
16299 * gdb.base/vla-datatypes.c: New file.
16300 * gdb.base/vla-datatypes.exp: New file.
16301
16302 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16303
16304 * gdb.base/vla-ptr.c: New file.
16305 * gdb.base/vla-ptr.exp: New file.
16306
16307 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16308
16309 * gdb.dwarf2/count.exp: New file.
16310
16311 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16312
16313 * gdb.base/vla-sideeffect.c: New file.
16314 * gdb.base/vla-sideeffect.exp: New file.
16315
16316 2014-04-14 David Blaikie <dblaikie@gmail.com>
16317
16318 * gdb.mi/non-stop.c: Add return value for non-void function return
16319 statement.
16320 * gdb.threads/staticthreads.c: Ditto.
16321
16322 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16323 Doug Evans <xdje42@gmail.com>
16324
16325 * gdb.guile/scm-value.c: Improve test case.
16326 * gdb.guile/scm-value.exp: Add new test.
16327
16328 2014-04-11 David Blaikie <dblaikie@gmail.com>
16329
16330 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16331 override Clang's default.
16332
16333 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16334
16335 Revert the following changes (regressions):
16336
16337 * gdb.base/vla-sideeffect.c: New file.
16338 * gdb.base/vla-sideeffect.exp: New file.
16339
16340 * gdb.dwarf2/count.exp: New file.
16341
16342 * gdb.base/vla-multi.c: New file.
16343 * gdb.base/vla-multi.exp: New file.
16344
16345 * gdb.base/vla-ptr.c: New file.
16346 * gdb.base/vla-ptr.exp: New file.
16347
16348 * gdb.base/vla-datatypes.c: New file.
16349 * gdb.base/vla-datatypes.exp: New file.
16350
16351 * gdb.mi/mi-vla-c99.exp: New file.
16352 * gdb.mi/vla.c: New file.
16353
16354 2014-04-11 Keith Seitz <keiths@redhat.com>
16355
16356 PR c++/16675
16357 * gdb.cp/cpsizeof.exp: New file.
16358 * gdb.cp/cpsizeof.cc: New file.
16359
16360 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16361
16362 * gdb.mi/mi-vla-c99.exp: New file.
16363 * gdb.mi/vla.c: New file.
16364
16365 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16366
16367 * gdb.base/vla-datatypes.c: New file.
16368 * gdb.base/vla-datatypes.exp: New file.
16369
16370 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16371
16372 * gdb.base/vla-ptr.c: New file.
16373 * gdb.base/vla-ptr.exp: New file.
16374
16375 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16376
16377 * gdb.base/vla-multi.c: New file.
16378 * gdb.base/vla-multi.exp: New file.
16379
16380 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16381
16382 * gdb.dwarf2/count.exp: New file.
16383
16384 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16385
16386 * gdb.base/vla-sideeffect.c: New file.
16387 * gdb.base/vla-sideeffect.exp: New file.
16388
16389 2014-04-11 Yao Qi <yao@codesourcery.com>
16390
16391 * gdb.base/completion.exp: Check file exists before running tests
16392 on file completion.
16393
16394 2014-04-10 Pedro Alves <palves@redhat.com>
16395
16396 * gdb.base/cond-eval-mode.c: New file.
16397 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16398 prepare_for_testing to build the new file. Check result of
16399 runto_main.
16400 (test_break, test_watch): New procedures.
16401 (top level): Use them.
16402
16403 2014-04-08 Pierre Muller <muller@sourceware.org>
16404
16405 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16406 Ctrl-V use for mingw hosts.
16407
16408 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16409
16410 * gdb.python/py-value.c: Improve test case.
16411 * gdb.python/py-value.exp: Add new test.
16412
16413 2014-04-07 David Blaikie <dblaikie@gmail.com>
16414
16415 * lib/compiler.c: Identify the clang compiler.
16416 * lib/compiler.cc: Ditto.
16417
16418 2014-04-03 Yao Qi <yao@codesourcery.com>
16419
16420 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16421
16422 2014-04-01 Anton Blanchard <anton@samba.org>
16423
16424 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16425 messages unique.
16426
16427 2014-04-01 Anton Blanchard <anton@samba.org>
16428
16429 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16430 prepare_for_testing.
16431
16432 2014-04-01 Anton Blanchard <anton@samba.org>
16433
16434 * gdb.arch/ppc64-atomic-inst.c: Remove.
16435 * gdb.arch/ppc64-atomic-inst.S: New file.
16436 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16437
16438 2014-03-31 Doug Evans <dje@google.com>
16439
16440 * gdb.base/print-symbol-loading-lib.c: New file.
16441 * gdb.base/print-symbol-loading-main.c: New file.
16442 * gdb.base/print-symbol-loading.exp: New file.
16443
16444 2014-03-31 Yao Qi <yao@codesourcery.com>
16445
16446 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16447
16448 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16449
16450 * gdb.ada/mi_dyn_arr: New testcase.
16451
16452 2014-03-27 Doug Evans <dje@google.com>
16453
16454 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16455
16456 2014-03-27 Yao Qi <yao@codesourcery.com>
16457
16458 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16459 if target is nios2-*-*.
16460
16461 2014-03-26 Yao Qi <yao@codesourcery.com>
16462
16463 * lib/gdb.exp (readline_is_used): New proc.
16464 * gdb.base/completion.exp: Move tests on command complete up.
16465 Skip the rest of tests if readline is not used.
16466 * gdb.ada/complete.exp: Skp the test if readline is not
16467 used.
16468 * gdb.base/filesym.exp: Likewise.
16469 * gdb.base/macscp.exp: Likewise.
16470 * gdb.base/readline-ask.exp: Likewise.
16471 * gdb.base/readline.exp: Likewise.
16472 * gdb.python/py-cmd.exp: Likewise.
16473 * gdb.trace/tfile.exp: Likewise.
16474
16475 2014-03-26 Yao Qi <yao@codesourcery.com>
16476
16477 * gdb.base/macscp.exp: Fix code format issues.
16478
16479 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16480
16481 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16482 * gdb.asm/powerpc64le.inc: New file.
16483
16484 2014-03-25 Pedro Alves <palves@redhat.com>
16485 Doug Evans <dje@google.com>
16486
16487 * gdb.base/source-execution.c: New file.
16488 * gdb.base/source-execution.exp: New file.
16489 * gdb.base/source-execution.gdb: New file.
16490
16491 2014-03-24 Doug Evans <dje@google.com>
16492
16493 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16494 using fission.
16495
16496 2014-03-24 Hui Zhu <hui@codesourcery.com>
16497 Pedro Alves <palves@redhat.com>
16498
16499 PR breakpoints/16101
16500 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16501 test pass/fail messages. Detect missing support for dprintf when
16502 breakpoints are actually inserted.
16503 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16504 breakpoints are actually inserted.
16505 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16506 fails.
16507
16508 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16509
16510 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16511
16512 2014-03-22 Doug Evans <xdje42@gmail.com>
16513
16514 * gdb.python/python.exp (python not supported): Verify multi-line
16515 python command issues an error.
16516 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16517 guile command issues an error.
16518
16519 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16520
16521 * gdb.threads/thread-specific.exp: Handle the lack of usable
16522 $this_breakpoint and $this_thread.
16523
16524 2014-03-21 Hui Zhu <hui@codesourcery.com>
16525
16526 * gdb.base/attach.exp (do_command_attach_tests): New.
16527
16528 2014-03-20 Tom Tromey <tromey@redhat.com>
16529 Pedro Alves <palves@redhat.com>
16530
16531 PR cli/15718
16532 * gdb.base/condbreak-call-false.c: New file.
16533 * gdb.base/condbreak-call-false.exp: New file.
16534
16535 2014-03-20 Pedro Alves <palves@redhat.com>
16536
16537 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16538 Delete.
16539 (block_signals, unblock_signals): Delete.
16540 (child_function_2, main): Remove references to deleted variable
16541 and functions.
16542
16543 2014-03-20 Pedro Alves <palves@redhat.com>
16544
16545 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16546 Use pthread_kill to signal thread 2.
16547 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16548 Adjust to make the test send itself a signal rather than using the
16549 host's "kill" command.
16550
16551 2014-03-20 Pedro Alves <palves@redhat.com>
16552
16553 * gdb.threads/multiple-step-overs.c: New file.
16554 * gdb.threads/multiple-step-overs.exp: New file.
16555 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16556 Adjust expected infrun debug output.
16557
16558 2014-03-20 Pedro Alves <palves@redhat.com>
16559
16560 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16561 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16562
16563 2014-03-20 Pedro Alves <palves@redhat.com>
16564
16565 PR breakpoints/7143
16566 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16567 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16568 of gdb_test_multiple.
16569 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16570 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16571
16572 2014-03-20 Pedro Alves <palves@redhat.com>
16573
16574 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16575 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16576
16577 2014-03-19 Pedro Alves <palves@redhat.com>
16578
16579 * gdb.base/async.exp: Remove early return.
16580
16581 2014-03-19 Pedro Alves <palves@redhat.com>
16582
16583 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16584
16585 2014-03-19 Pedro Alves <palves@redhat.com>
16586
16587 * gdb.base/async.exp (test_background): Expect \r\n after
16588 "completed." in the fail pattern.
16589
16590 2014-03-19 Pedro Alves <palves@redhat.com>
16591
16592 * gdb.base/async.exp (test_background): New procedure.
16593 Use it for all background execution command tests.
16594
16595 2014-03-19 Pedro Alves <palves@redhat.com>
16596
16597 * gdb.base/async.exp: Use prepare_for_testing.
16598
16599 2014-03-19 Pedro Alves <palves@redhat.com>
16600
16601 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16602 the same line.
16603
16604 2014-03-19 Pedro Alves <palves@redhat.com>
16605
16606 * gdb.base/async.c (main): Add "jump here" and "until here" line
16607 marker comments.
16608 * gdb.base/async.exp (jump_here): New global.
16609 (jump& test): Use it.
16610 (until_here): New global.
16611 (until& test): Use it.
16612
16613 2014-03-19 Pedro Alves <palves@redhat.com>
16614
16615 * gdb.base/async.exp: Don't frob gdb_protocol.
16616
16617 2014-03-18 Doug Evans <xdje42@gmail.com>
16618
16619 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16620 Fix spelling of exec-done-display.
16621
16622 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16623
16624 PR gdb/15358
16625 * gdb.base/gdb-sigterm.c: New file.
16626 * gdb.base/gdb-sigterm.exp: New file.
16627
16628 2014-03-18 Pedro Alves <palves@redhat.com>
16629
16630 PR gdb/13860
16631 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16632 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16633 solib-event.
16634
16635 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16636
16637 * gdb.ada/pckd_arr_ren: New testcase.
16638
16639 2014-03-13 Doug Evans <xdje42@gmail.com>
16640
16641 PR guile/16612
16642 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16643 collect after discarding symbols.
16644
16645 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16646 Doug Evans <xdje42@gmail.com>
16647
16648 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16649 to history survives a gc.
16650
16651 2014-03-13 Pedro Alves <palves@redhat.com>
16652
16653 * gdb.base/default.exp: Don't test "target procfs".
16654
16655 2014-03-13 Pedro Alves <palves@redhat.com>
16656
16657 * gdb.base/default.exp: Update "target child" and "target procfs"
16658 tests to not expect "Unix".
16659
16660 2014-03-12 Tom Tromey <tromey@redhat.com>
16661
16662 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16663 New procs. Add target-async tests.
16664 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16665 Add target-async tests.
16666
16667 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16668
16669 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16670 'func_start' and 'func_end' for the beginning and end of the
16671 function code, respectively.
16672 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16673 'func_end' instead of 'func' and 'main'.
16674
16675 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16676
16677 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16678 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16679 generate the debug info assembler source.
16680
16681 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16682
16683 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16684 * gdb.dwarf2/arr-subrange.exp: Likewise.
16685 * gdb.dwarf2/dwz.exp: Likewise.
16686 * gdb.dwarf2/method-ptr.exp: Likewise.
16687 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16688 * gdb.dwarf2/subrange.exp: Likewise.
16689 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16690 * gdb.dwarf2/implptrpiece.exp: Likewise.
16691 * gdb.dwarf2/nostaticblock.exp: Likewise.
16692
16693 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16694
16695 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16696 directory to absolute path name arguments.
16697
16698 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16699
16700 * gdb.ada/tagged_access: New testcase.
16701
16702 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16703
16704 * gdb.btrace/data.exp: Update expected output.
16705
16706 2014-03-06 Yao Qi <yao@codesourcery.com>
16707
16708 * gdb.trace/pr16508.exp: New file.
16709
16710 2014-03-05 Pedro Alves <palves@redhat.com>
16711
16712 PR gdb/16575
16713 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16714 procedure.
16715 (top level): Adjust to use it. Add tests that exercise breakpoint
16716 interaction with the code-cache.
16717
16718 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16719
16720 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16721 test for 'history-append!'.
16722
16723 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16724
16725 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16726 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16727 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16728 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16729 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16730 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16731
16732 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16733
16734 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16735 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16736 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16737
16738 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16739
16740 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16741
16742 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16743
16744 * gdb.dwarf2/arr-stride.c: New file.
16745 * gdb.dwarf2/arr-stride.exp: New file.
16746
16747 2014-02-26 Pedro Alves <palves@redhat.com>
16748
16749 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16750 that won't ever trigger. Make sure that GDB reports the correct
16751 breakpoint that caused the stop.
16752
16753 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16754
16755 PR gdb/16626
16756 * gdb.base/auto-load-script: New file.
16757 * gdb.base/auto-load.c: New file.
16758 * gdb.base/auto-load.exp: New file.
16759
16760 PR gdb/16626
16761 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16762
16763 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16764
16765 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16766 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16767
16768 2014-02-24 Doug Evans <dje@google.com>
16769
16770 * lib/gdb.exp (run_on_host): Log error output if program fails.
16771
16772 2014-02-21 Pedro Alves <palves@redhat.com>
16773
16774 * gdb.threads/step-after-sr-lock.c: Rename to ...
16775 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16776 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16777 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16778 ... this.
16779
16780 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16781
16782 PR tdep/16397
16783 * gdb.arch/amd64-stap-special-operands.exp: New file.
16784 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16785 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16786 * gdb.arch/amd64-stap-triplet.S: Likewise.
16787 * gdb.arch/amd64-stap-triplet.c: Likewise.
16788
16789 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16790
16791 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16792 in .section pseudo-op.
16793
16794 2014-02-20 lin zuojian <manjian2006@gmail.com>
16795 Joel Brobecker <brobecker@adacore.com>
16796 Doug Evans <xdje42@gmail.com>
16797
16798 PR symtab/16581
16799 * gdb.dwarf2/dw2-icycle.S: New file.
16800 * gdb.dwarf2/dw2-icycle.c: New file.
16801 * gdb.dwarf2/dw2-icycle.exp: New file.
16802
16803 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16804
16805 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16806 operations on gdb.Value objects.
16807 * gdb.python/py-value-cc.exp: Add new test to test operations on
16808 gdb.Value objects.
16809
16810 2014-02-18 Doug Evans <dje@google.com>
16811
16812 * Makefile.in (TESTS): New variable.
16813 (expanded_tests, expanded_tests_or_none): New variables
16814 (check-single): Pass $(expanded_tests_or_none) to runtest.
16815 (check-parallel): Only run tests in $(TESTS) if non-empty.
16816 (check/no-matching-tests-found): New rule.
16817 * README: Document TESTS makefile variable.
16818
16819 2014-02-18 Doug Evans <dje@google.com>
16820
16821 * Makefile.in (check-parallel): rm -rf outputs temp.
16822
16823 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16824
16825 Fix "ERROR: no fileid for" in the testsuite.
16826 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16827
16828 2014-02-12 Doug Evans <dje@google.com>
16829
16830 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16831 (MISCELLANEOUS): New variable.
16832 (clean): rm -rf $(MISCELLANEOUS).
16833 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16834 dwp live in the same directory as symlinks, with each symlink pointed
16835 to a differently named file in a different directory.
16836
16837 2014-02-11 Doug Evans <dje@google.com>
16838
16839 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16840 of Tcl file commands.
16841
16842 2014-02-10 Mark Kettenis <kettenis@gnu.org>
16843
16844 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16845 "kill -SIGUSR1 -1".
16846
16847 2014-02-10 Joel Brobecker <brobecker@adacore.com>
16848
16849 * gdb.ada/tick_length_array_enum_idx: New testcase.
16850
16851 2014-02-10 Doug Evans <xdje42@gmail.com>
16852
16853 * configure.ac (AC_OUTPUT): Add gdb.guile.
16854 * configure: Regenerate.
16855 * lib/gdb-guile.exp: New file.
16856 * lib/gdb.exp (get_target_charset): New function.
16857 * gdb.base/help.exp: Update expected output from "apropos apropos".
16858 * gdb.guile/Makefile.in: New file.
16859 * gdb.guile/guile.exp: New file.
16860 * gdb.guile/scm-arch.c: New file.
16861 * gdb.guile/scm-arch.exp: New file.
16862 * gdb.guile/scm-block.c: New file.
16863 * gdb.guile/scm-block.exp: New file.
16864 * gdb.guile/scm-breakpoint.c: New file.
16865 * gdb.guile/scm-breakpoint.exp: New file.
16866 * gdb.guile/scm-disasm.c: New file.
16867 * gdb.guile/scm-disasm.exp: New file.
16868 * gdb.guile/scm-equal.c: New file.
16869 * gdb.guile/scm-equal.exp: New file.
16870 * gdb.guile/scm-error.exp: New file.
16871 * gdb.guile/scm-error.scm: New file.
16872 * gdb.guile/scm-frame-args.c: New file.
16873 * gdb.guile/scm-frame-args.exp: New file.
16874 * gdb.guile/scm-frame-args.scm: New file.
16875 * gdb.guile/scm-frame-inline.c: New file.
16876 * gdb.guile/scm-frame-inline.exp: New file.
16877 * gdb.guile/scm-frame.c: New file.
16878 * gdb.guile/scm-frame.exp: New file.
16879 * gdb.guile/scm-generics.exp: New file.
16880 * gdb.guile/scm-gsmob.exp: New file.
16881 * gdb.guile/scm-iterator.c: New file.
16882 * gdb.guile/scm-iterator.exp: New file.
16883 * gdb.guile/scm-math.c: New file.
16884 * gdb.guile/scm-math.exp: New file.
16885 * gdb.guile/scm-objfile-script-gdb.in: New file.
16886 * gdb.guile/scm-objfile-script.c: New file.
16887 * gdb.guile/scm-objfile-script.exp: New file.
16888 * gdb.guile/scm-objfile.c: New file.
16889 * gdb.guile/scm-objfile.exp: New file.
16890 * gdb.guile/scm-ports.exp: New file.
16891 * gdb.guile/scm-pretty-print.c: New file.
16892 * gdb.guile/scm-pretty-print.exp: New file.
16893 * gdb.guile/scm-pretty-print.scm: New file.
16894 * gdb.guile/scm-section-script.c: New file.
16895 * gdb.guile/scm-section-script.exp: New file.
16896 * gdb.guile/scm-section-script.scm: New file.
16897 * gdb.guile/scm-symbol.c: New file.
16898 * gdb.guile/scm-symbol.exp: New file.
16899 * gdb.guile/scm-symtab-2.c: New file.
16900 * gdb.guile/scm-symtab.c: New file.
16901 * gdb.guile/scm-symtab.exp: New file.
16902 * gdb.guile/scm-type.c: New file.
16903 * gdb.guile/scm-type.exp: New file.
16904 * gdb.guile/scm-value-cc.cc: New file.
16905 * gdb.guile/scm-value-cc.exp: New file.
16906 * gdb.guile/scm-value.c: New file.
16907 * gdb.guile/scm-value.exp: New file.
16908 * gdb.guile/source2.scm: New file.
16909 * gdb.guile/types-module.cc: New file.
16910 * gdb.guile/types-module.exp: New file.
16911
16912 2014-02-10 Yao Qi <yao@codesourcery.com>
16913
16914 PR testsuite/16543
16915 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16916 * configure: Regenerated.
16917 * Makefile.in: New file.
16918
16919 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16920
16921 * gdb.python/py-framefilter.exp: Fix typo.
16922
16923 2014-02-08 Yao Qi <yao@codesourcery.com>
16924
16925 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16926 that no =breakpoint-modified is emitted when breakpoints are
16927 modified through MI commands.
16928
16929 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16930 Pedro Alves <palves@redhat.com>
16931
16932 * gdb.threads/step-after-sr-lock.c: New file.
16933 * gdb.threads/step-after-sr-lock.exp: New file.
16934
16935 2014-02-07 Pedro Alves <palves@redhat.com>
16936
16937 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16938
16939 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16940
16941 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16942 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16943
16944 2014-02-06 Doug Evans <xdje42@gmail.com>
16945
16946 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16947 output.
16948
16949 * gdb.gdb/python-interrupts.exp: New file.
16950
16951 2014-02-05 Yao Qi <yao@codesourcery.com>
16952
16953 * gdb.trace/report.exp (use_collected_data): Test the output
16954 of "info threads" and "info inferiors".
16955
16956 2014-02-05 Yao Qi <yao@codesourcery.com>
16957
16958 Revert this patch:
16959
16960 2013-05-24 Yao Qi <yao@codesourcery.com>
16961
16962 * gdb.trace/tfile.exp: Test inferior and thread.
16963
16964 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16965
16966 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16967 on a function.
16968 * gdb.base/step-bt.c: Call hello via function pointer to make
16969 sure its first instruction is executed on powerpc64le-linux.
16970
16971 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16972
16973 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16974
16975 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16976
16977 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16978 of the test patterns for use on little-endian systems.
16979
16980 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16981
16982 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16983 (decimal_vector): Fix for little-endian.
16984
16985 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16986
16987 * gdb.arch/sparc-sysstep.exp: New file.
16988 * gdb.arch/sparc-sysstep.c: Likewise.
16989
16990 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16991
16992 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16993
16994 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16995
16996 2014-01-23 Tom Tromey <tromey@redhat.com>
16997
16998 * gdb.ada/array_char_idx: New testcase.
16999
17000 2014-01-23 Tom Tromey <tromey@redhat.com>
17001
17002 PR python/16487:
17003 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17004 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17005 classes.
17006
17007 2014-01-23 Tom Tromey <tromey@redhat.com>
17008
17009 PR python/16491:
17010 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17011 string from an inferior frame.
17012 * gdb.python/py-framefilter-mi.exp: Update.
17013
17014 2014-01-22 Doug Evans <dje@google.com>
17015
17016 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17017
17018 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17019
17020 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17021
17022 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17023
17024 * gdb.trace/entry-values.exp: Remove excess space character from
17025 regex patterns. Handle s390 call instruction.
17026
17027 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17028
17029 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17030 define "*_start" label. Make "name" static.
17031 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17032 ${name} by references to ${name}_start.
17033
17034 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17035
17036 * gdb.base/info-macros.exp: Remove "debug" from the compile
17037 options.
17038
17039 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17040
17041 * gdb.dlang/demangle.exp: New file.
17042
17043 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17044
17045 * gdb.dlang/primitive-types.exp: New file.
17046
17047 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17048
17049 * configure.ac: Create gdb.dlang/Makefile.
17050 * configure: Regenerate.
17051 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17052 * gdb.dlang/Makefile.in: New file.
17053 * lib/d-support.exp: New file.
17054 * lib/gdb.exp (skip_d_tests): New proc.
17055
17056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17057
17058 * gdb.btrace/delta.exp: Check reverse stepi.
17059 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17060 * gdb.btrace/finish.exp: New.
17061 * gdb.btrace/next.exp: New.
17062 * gdb.btrace/nexti.exp: New.
17063 * gdb.btrace/record_goto.c: Add comments.
17064 * gdb.btrace/step.exp: New.
17065 * gdb.btrace/stepi.exp: New.
17066 * gdb.btrace/multi-thread-step.c: New.
17067 * gdb.btrace/multi-thread-step.exp: New.
17068 * gdb.btrace/rn-dl-bind.c: New.
17069 * gdb.btrace/rn-dl-bind.exp: New.
17070 * gdb.btrace/data.c: New.
17071 * gdb.btrace/data.exp: New.
17072 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17073
17074 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17075
17076 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17077 * gdb.btrace/exception.exp: Update.
17078 * gdb.btrace/instruction_history.exp: Update.
17079 * gdb.btrace/record_goto.exp: Update.
17080 * gdb.btrace/tailcall.exp: Update.
17081 * gdb.btrace/unknown_functions.exp: Update.
17082 * gdb.btrace/delta.exp: New.
17083
17084 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17085
17086 * gdb.btrace/record_goto.exp: Add backtrace test.
17087 * gdb.btrace/tailcall.exp: Add backtrace test.
17088
17089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17090
17091 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17092 * gdb.btrace/record_goto.c: New.
17093 * gdb.btrace/record_goto.exp: New.
17094 * gdb.btrace/x86-record_goto.S: New.
17095
17096 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17097
17098 * gdb.btrace/function_call_history.exp: Update tests.
17099 * gdb.btrace/instruction_history.exp: Update tests.
17100
17101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17102
17103 * gdb.btrace/function_call_history.exp: Fix expected field
17104 order for "record function-call-history".
17105 Add new tests for "record function-call-history /c".
17106 * gdb.btrace/exception.cc: New.
17107 * gdb.btrace/exception.exp: New.
17108 * gdb.btrace/tailcall.exp: New.
17109 * gdb.btrace/x86-tailcall.S: New.
17110 * gdb.btrace/x86-tailcall.c: New.
17111 * gdb.btrace/unknown_functions.c: New.
17112 * gdb.btrace/unknown_functions.exp: New.
17113 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17114
17115 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17116
17117 * gdb.btrace/instruction_history.exp: Update.
17118 * gdb.btrace/function_call_history.exp: Update.
17119
17120 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17121
17122 * gdb.btrace/function_call_history.exp: Fix expected function
17123 trace.
17124 * gdb.btrace/instruction_history.exp: Initialize traced.
17125 Remove traced_functions.
17126
17127 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17128
17129 * gdb.btrace/function_call_history.exp: Update
17130 * gdb.btrace/instruction_history.exp: Update.
17131
17132 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17133
17134 * gdb.btrace/enable.exp: Update expected text.
17135
17136 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17137
17138 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17139 bytes.
17140
17141 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17142
17143 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17144
17145 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17146
17147 * lib/gdb.exp (supports_process_record): Return true for
17148 arm*-linux*. (supports_reverse): Likewise.
17149
17150 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17151
17152 PR python/15464
17153 PR python/16113
17154 * gdb.python/py-type.c: Enhance test case.
17155 * gdb.python/py-value-cc.cc: Likewise
17156 * gdb.python/py-type.exp: Add new tests.
17157 * gdb.python/py-value-cc.exp: Likewise
17158
17159 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17160 Pedro Alves <palves@redhat.com>
17161
17162 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17163 Make "name" extern.
17164 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17165 references to ${name}_start by references to ${name}.
17166
17167 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17168
17169 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17170
17171 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17172
17173 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17174
17175 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17176 Pedro Alves <palves@redhat.com>
17177
17178 * gdb.mi/mi-info-os.exp: Connect to the target with
17179 mi_gdb_target_load.
17180
17181 2014-01-08 Pedro Alves <palves@redhat.com>
17182
17183 * gdb.threads/reconnect-signal.c: New file.
17184 * gdb.threads/reconnect-signal.exp: New file.
17185
17186 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17187
17188 * gdb.base/source-dir.exp: New file.
17189
17190 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17191
17192 * gdb.ada/mi_interface: New testcase.
17193
17194 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17195
17196 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17197 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17198 gdb.ada/pp-rec-component/pck.ads: New files.
17199
17200 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17201
17202 * gdb.python/py-pp-integral.c: New file.
17203 * gdb.python/py-pp-integral.py: New file.
17204 * gdb.python/py-pp-integral.exp: New file.
17205
17206 For older changes see ChangeLog-1993-2013.
17207 \f
17208 ;; Local Variables:
17209 ;; mode: change-log
17210 ;; left-margin: 8
17211 ;; fill-column: 74
17212 ;; version-control: never
17213 ;; End:
17214
17215 Copyright 2014-2019 Free Software Foundation, Inc.
17216 Copying and distribution of this file, with or without modification,
17217 are permitted provided the copyright notice and this notice are preserved.