Introduce gdb-specific %p format suffixes
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-10-01 Tom Tromey <tom@tromey.com>
2
3 * gdb.base/style.exp: Update tests.
4
5 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6
7 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
8 'six' to unsigned.
9 (s1): Initialize fields 'four' and 'six' instead of 'three' and
10 'five'. Use an all-ones bit pattern for each.
11 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
12 to its changed values.
13
14 2019-09-30 Tom Tromey <tromey@adacore.com>
15
16 * gdb.rust/traits.rs: Disable all warnings.
17
18 2019-09-29 Tom de Vries <tdevries@suse.de>
19
20 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
21
22 2019-09-29 Tom de Vries <tdevries@suse.de>
23
24 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
25
26 2019-09-27 Tom de Vries <tdevries@suse.de>
27
28 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
29
30 2019-09-27 Tom de Vries <tdevries@suse.de>
31
32 PR record/23188
33 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
34
35 2019-09-26 Tom Tromey <tromey@adacore.com>
36
37 * gdb.ada/py_taft.exp: New file.
38 * gdb.ada/py_taft/main.adb: New file.
39 * gdb.ada/py_taft/pkg.adb: New file.
40 * gdb.ada/py_taft/pkg.ads: New file.
41
42 2019-09-24 Tom de Vries <tdevries@suse.de>
43
44 PR gdb/24598
45 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
46
47 2019-09-22 Tom de Vries <tdevries@suse.de>
48
49 * gdb.base/restore.exp: Allow register variables to be optimized out at
50 -O0.
51
52 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
53
54 * gdb.arch/spu-info.exp: Remove file.
55 * gdb.arch/spu-info.c: Remove file.
56 * gdb.arch/spu-ls.exp: Remove file.
57 * gdb.arch/spu-ls.c: Remove file.
58
59 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
60 * gdb.asm/spu.inc: Remove file.
61
62 * gdb.base/dump.exp: Remove support for spu*-*-*.
63 * gdb.base/stack-checking.exp: Likewise.
64 * gdb.base/overlays.exp: Likewise.
65 * gdb.base/ovlymgr.c: Likewise.
66 * gdb.base/spu.ld: Remove file.
67
68 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
69 * gdb.cp/cpexprs.exp: Likewise.
70 * gdb.cp/exception.exp: Likewise.
71 * gdb.cp/gdb2495.exp: Likewise.
72 * gdb.cp/mb-templates.exp: Likewise.
73 * gdb.cp/pr9167.exp: Likewise.
74 * gdb.cp/userdef.exp: Likewise.
75
76 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
77
78 * gdb.cell: Remove directory.
79 * lib/cell.exp: Remove file.
80
81 2019-09-19 Tom de Vries <tdevries@suse.de>
82
83 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
84
85 2019-09-19 Tom de Vries <tdevries@suse.de>
86
87 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
88
89 2019-09-19 Tom de Vries <tdevries@suse.de>
90
91 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
92 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
93 (gdb_target_cmd): ... here.
94 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
95 value 2.
96
97 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
98
99 * gdb.base/source-dir.exp: Avoid having directory names in test
100 names.
101
102 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
103
104 * gdb.base/source-dir.exp: Add extra test for mapped compilation
105 directory.
106
107 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
108
109 * gdb.base/list-missing-source.exp: New file.
110
111 2019-09-14 Tom de Vries <tdevries@suse.de>
112
113 PR teststuite/24599
114 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
115 * lib/ada.exp (gnatmake_version_at_least): New proc.
116
117 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
118
119 * gdb.base/maint.exp: Use exec_has_index_section.
120
121 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
122
123 * gdb.base/maint.exp: Add test for 'maint info sections'.
124
125 2019-09-12 Tom de Vries <tdevries@suse.de>
126
127 * gdb.base/store.exp: Allow register variables to be optimized out at
128 -O0.
129
130 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
131
132 * gdb.ada/rdv_wait.exp: Update to new task names.
133 * gdb.base/task_switch_in_core.exp: Likewise.
134 * gdb.base/info_sources_base.c: Likewise.
135
136 2019-09-10 Tom Tromey <tromey@adacore.com>
137
138 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
139
140 2019-09-10 Tom Tromey <tromey@adacore.com>
141
142 * gdb.ada/dgopt.exp: New file.
143 * gdb.ada/dgopt/x.adb: New file.
144
145 2019-09-08 Tom Tromey <tom@tromey.com>
146
147 * gdb.tui/resize.exp: Remove setup_xfail.
148 * gdb.tui/regs.exp: Remove setup_xfail.
149 * gdb.tui/basic.exp: Remove setup_xfail.
150
151 2019-09-06 David Blaikie <dblaikie@gmail.com>
152
153 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
154 * gdb.cp/cplabel.exp: Ditto.
155 * gdb.linespec/ls-errs.exp: Ditto.
156
157 2019-09-05 Tom de Vries <tdevries@suse.de>
158
159 * lib/gdb.exp (cmp_file_string): New proc.
160 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
161 runto_main. Verify save breakpoints output.
162
163 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
164
165 * gdb.base/info-var.exp: Test info variables without running
166 to main, to avoid expect's buffer overflow.
167
168 2019-09-03 Tom Tromey <tromey@adacore.com>
169
170 * gdb.ada/bias.exp: New file.
171 * gdb.ada/bias/bias.adb: New file.
172 * gdb.ada/print_chars.exp: Add regression test.
173 * gdb.ada/print_chars/foo.adb (My_Character): New type.
174 (MC): New variable.
175
176 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
177
178 * gdb.base/argv0-symlink.exp: Run only on native target
179 and local host.
180
181 2019-08-29 Tom de Vries <tdevries@suse.de>
182
183 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
184 diverse debug info.
185 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
186
187 2019-08-28 Tom de Vries <tdevries@suse.de>
188
189 * gdb.base/info-var.exp: Allow info variables to print info for files
190 other than info-var-f1.c and info-var-f2.c.
191
192 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
193
194 * gdb.fortran/info-types.exp: Add module.
195 * gdb.fortran/info-types.f90: Update expected results.
196
197 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
198
199 * gdb.fortran/info-types.exp: New file.
200 * gdb.fortran/info-types.f90: New file.
201 * lib/fortran.exp (fortran_character1): New proc.
202
203 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
204
205 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
206 functions'. Reindent as needed.
207 * gdb.base/info-var-f1.c: New file.
208 * gdb.base/info-var-f2.c: New file.
209 * gdb.base/info-var.exp: New file.
210 * gdb.base/info-var.h: New file.
211
212 2019-08-26 Tom de Vries <tdevries@suse.de>
213
214 PR c++/24852
215 * gdb.cp/no-libstdcxx-probe.exp: New test.
216
217 2019-08-26 Tom de Vries <tdevries@suse.de>
218
219 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
220 * tests need to be skipped.
221 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
222 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
223 mi_skip_libstdcxx_probe_tests.
224
225 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
226
227 * gdb.python/py-xmethods.exp: Use raw strings when passing
228 arguments to SimpleXMethodMatcher.
229
230 2019-08-22 Tom de Vries <tdevries@suse.de>
231
232 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
233 more informative.
234
235 2019-08-21 Pedro Alves <palves@redhat.com>
236
237 * gdb.base/with.exp: Test "with" with no arguments.
238
239 2019-08-21 Tom de Vries <tdevries@suse.de>
240
241 * gdb.base/gdb-caching-proc.exp: Sort files.
242
243 2019-08-20 Tom de Vries <tdevries@suse.de>
244
245 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
246 compilation.
247
248 2019-08-16 Tom de Vries <tdevries@suse.de>
249
250 * gdb.base/compare-sections.exp ("after run to main"): Allow
251 mismatched read-only sections for PIE executables.
252
253 2019-08-16 Tom Tromey <tom@tromey.com>
254
255 * lib/tuiterm.exp (_csi_Z): New proc.
256 * gdb.tui/basic.exp: Update window positions.
257 * gdb.tui/empty.exp: Update window positions.
258
259 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
260
261 * gdb.base/examine-backward.exp: Correct regexp for
262 "examine 3 bytes backward from ${address_zero}".
263
264 2019-08-15 Tom Tromey <tom@tromey.com>
265
266 * gdb.tui/empty.exp: Enable resizing tests.
267
268 2019-08-15 Tom Tromey <tromey@adacore.com>
269
270 * gdb.ada/char_enum.exp: Add regression tests.
271 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
272 and '0'.
273 (Char, Gchar): Update.
274 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
275
276 2019-08-15 Christian Biesinger <cbiesinger@google.com>
277
278 * gdb.python/python.exp: Expect a leading underscore on
279 GdbOutput{,Error}File.
280
281 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
282
283 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
284 Windows host.
285
286 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
287
288 * gdb.base/batch-preserve-term-settings.exp
289 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
290
291 2019-08-15 Christian Biesinger <cbiesinger@google.com>
292
293 * lib/gdb.exp: When running on a mingw target, replace
294 /x/ with x:/.
295
296 2019-08-14 Alan Hayward <alan.hayward@arm.com>
297
298 * gdb.arch/aarch64-prologue.c: New test.
299 * gdb.arch/aarch64-prologue.exp: New file.
300
301 2019-08-13 Tom de Vries <tdevries@suse.de>
302
303 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
304 Thread.
305
306 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
307
308 * gdb.python/py-completion.exp: Download the .py file to the host
309 and use its host pathname. Conditionalize tests that use
310 tab completion and manipulate files on the build machine.
311 * gdb.python/py-events.exp: Download the .py file to the host
312 and use its host pathname.
313 * gdb.python/py-evsignal.exp: Likewise.
314 * gdb.python/py-evthreads.exp: Likewise.
315 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
316 pathname syntax.
317 * gdb.python/py-framefilter.exp: Download the .py file to the right
318 place on the host. Match Windows pathname syntax.
319 * gdb.python/py-mi-var-info-path-expression.exp: Download the
320 .py file to the host and use its host pathname.
321 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
322 * gdb.python/py-objfile.exp: Expect a host pathname, not a
323 build pathname. Skip symlink test on Windows host. Add missing
324 newline at end of file.
325 * gdb.python/py-pp-maint.exp: Download the .py file to the host
326 and use its host pathname.
327 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
328 * gdb.python/py-section-script.exp: Use host location of binfile
329 on safe-path. Use correct path separator on Windows host.
330 Reorder alternatives in gdb_test_multiple to prevent matching
331 the wrong alternative on success.
332 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
333
334 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
335
336 * gdb.gdb/selftest.exp (test_with_self): Update test to now
337 expect the GDB inferior to no longer immediately stop after
338 being resumed with "signal SIGINT".
339
340 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
341
342 * gdb.linespec/break-ask.exp: Generalize regexps to match
343 Windows pathnames too.
344
345 2019-08-08 Tom de Vries <tdevries@suse.de>
346
347 PR testsuite/24862
348 * lib/tuiterm.exp (_accept): Fix CSI regexp.
349
350 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
351
352 * gdb.base/style.exp: Update tests for help doc new invariants.
353 * gdb.base/help.exp: Likewise.
354
355 2019-08-06 Tom Tromey <tom@tromey.com>
356
357 * gdb.base/style.exp: Add disassemble test.
358 * gdb.base/style.c (some_called_function): New function.
359 (main): Use it.
360
361 2019-08-05 Christian Biesinger <cbiesinger@google.com>
362
363 * gdb.python/py-block.exp: Test dictionary access on blocks.
364
365 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
366
367 PR gdb/24863
368 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
369 -list-thread-groups --available test when running under
370 check-read1.
371
372 2019-08-05 Tom de Vries <tdevries@suse.de>
373
374 PR testsuite/24863
375 * lib/gdb.exp (with_read1_timeout_factor): New proc.
376 * gdb.base/help.exp: Use with_read1_timeout_factor.
377 * gdb.base/info-macros.exp: Same.
378 * gdb.cp/nested-types.exp: Same.
379
380 2019-08-05 Tom de Vries <tdevries@suse.de>
381
382 * lib/gdb.exp (version_at_least): Factor out of ...
383 (tcl_version_at_least): ... here.
384 (gdb_compile): Fail if pie results in non-PIE executable.
385 (readelf_version, readelf_prints_pie): New proc.
386 (exec_is_pie): Return -1 if unknown.
387
388 2019-08-05 Tom de Vries <tdevries@suse.de>
389
390 * lib/gdb.exp (tcl_version_at_least): Fix typo.
391
392 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
393
394 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
395
396 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
397
398 * lib/completion-support.exp (test_gdb_complete_none): Skip
399 tab completion tests if no readline support.
400 (test_gdb_complete_unique_re): Likewise.
401 (test_gdb_complete_multiple): Likewise.
402
403 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
404
405 * gdb.base/info_sources.exp: New file.
406 * gdb.base/info_sources.c: New file.
407 * gdb.base/info_sources_base.c: New file.
408
409 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
410
411 * gdb.base/batch-exit-status.exp: Call test_exit_status with
412 prefix argument.
413 (test_exit_status): Add prefix argument.
414
415 2019-08-01 Tom de Vries <tdevries@suse.de>
416
417 PR testsuite/24863
418 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
419 calling exp_continue for new thread and thread exited messages.
420
421 2019-08-01 Tom de Vries <tdevries@suse.de>
422
423 PR testsuite/24863
424 * gdb.base/structs.exp: Fix check-read1 timeout using
425 gdb_test_sequence.
426 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
427
428 2019-08-01 Tom de Vries <tdevries@suse.de>
429
430 PR testsuite/24863
431 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
432 line.
433
434 2019-08-01 Tom de Vries <tdevries@suse.de>
435
436 PR testsuite/24863
437 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
438
439 2019-07-30 Tom Tromey <tromey@adacore.com>
440
441 * gdb.ada/display_nested.exp: New file.
442 * gdb.ada/display_nested/foo.adb: New file.
443 * gdb.ada/display_nested/pack.adb: New file.
444 * gdb.ada/display_nested/pack.ads: New file.
445
446 2019-07-30 Christian Biesinger <cbiesinger@google.com>
447
448 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
449 namespace.
450 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
451
452 2019-07-30 Tom de Vries <tdevries@suse.de>
453
454 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
455 instead.
456
457 2019-07-30 Tom de Vries <tdevries@suse.de>
458
459 PR testsuite/24834
460 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
461 (exec_is_pie): New proc.
462
463 2019-07-29 Christian Biesinger <cbiesinger@google.com>
464
465 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
466
467 2019-07-29 Christian Biesinger <cbiesinger@google.com>
468
469 * gdb.python/py-objfile.c: Add global and static vars.
470 * gdb.python/py-objfile.exp: Test new functions Objfile.
471 lookup_global_symbol and lookup_static_symbol.
472
473 2019-07-29 Tom Tromey <tom@tromey.com>
474
475 * lib/tuiterm.exp (Term::_csi_@): New proc.
476 (Term::_csi_X): Don't move cursor.
477
478 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
479
480 * gdb.base/options.exp: Update backtrace - completion to
481 new option -frame-info.
482 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
483 Test new 'set print frame-info'. Test backtrace -frame-info
484 overriding 'set print frame-info'.
485 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
486 Test new 'set print frame-info'.
487 Verify consistency of backtrace with and without filters, with and
488 without -no-filters.
489 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
490 default.
491
492 2019-07-29 Tom de Vries <tdevries@suse.de>
493
494 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
495 no arguments".
496
497 2019-07-29 Tom de Vries <tdevries@suse.de>
498
499 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
500 is a substring of the first for "complete non-unique file name".
501
502 2019-07-29 Tom de Vries <tdevries@suse.de>
503
504 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
505 with ".*".
506
507 2019-07-29 Tom de Vries <tdevries@suse.de>
508
509 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
510 Pass prompt_regexp parameter to gdb_test_multiple calls.
511
512 2019-07-29 Tom de Vries <tdevries@suse.de>
513
514 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
515 print registers" regexps.
516
517 2019-07-29 Tom de Vries <tdevries@suse.de>
518
519 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
520
521 2019-07-29 Tom de Vries <tdevries@suse.de>
522
523 PR gdb/24855
524 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
525 (skip_python_tests_prompt): Add prompt_regexp argument to
526 gdb_test_multiple calls.
527
528 2019-07-27 Tom Tromey <tom@tromey.com>
529
530 * gdb.tui/main.exp: New file.
531
532 2019-07-27 Tom Tromey <tom@tromey.com>
533
534 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
535 optional.
536 * gdb.tui/empty.exp: New file.
537
538 2019-07-27 Tom Tromey <tom@tromey.com>
539
540 * lib/tuiterm.exp (spawn): New proc.
541 (Term::resize): New proc.
542 * gdb.tui/resize.exp: New file.
543
544 2019-07-27 Tom Tromey <tom@tromey.com>
545
546 * gdb.tui/list.exp: New file.
547
548 2019-07-27 Tom Tromey <tom@tromey.com>
549
550 * gdb.tui/regs.exp: New file.
551
552 2019-07-27 Tom Tromey <tom@tromey.com>
553
554 * gdb.tui/basic.exp: Add "layout split" test.
555
556 2019-07-27 Tom Tromey <tom@tromey.com>
557
558 * gdb.tui/basic.exp: Add "layout asm" test.
559
560 2019-07-27 Tom Tromey <tom@tromey.com>
561
562 * lib/tuiterm.exp: New file.
563 * gdb.tui/basic.exp: New file.
564
565 2019-07-27 Kevin Buettner <kevinb@redhat.com>
566
567 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
568 Enable tests associated with this flag. Adjust regex
569 referencing "foo_low" to now refer to "foo_cold" instead.
570
571 2019-07-27 Kevin Buettner <kevinb@redhat.com>
572
573 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
574 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
575 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
576 foo_cold. Revise comments to match.
577 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
578 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
579 were wrapped into this proc; Call do_test in loop from outermost
580 level.
581 (foo_low): Rename all occurrences to "foo_cold".
582 (backtrace from baz): New test.
583 (x2/i foo_cold): New test.
584 (info line *foo_cold): New test.
585
586 2019-07-26 Tom de Vries <tdevries@suse.de>
587
588 * gdb.arch/i386-pkru.exp: Fix unterminated string.
589
590 2019-07-25 Tom de Vries <tdevries@suse.de>
591
592 PR testsuite/24830
593 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
594 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
595 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
596 (skip_libstdcxx_probe_tests): ... here.
597 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
598
599 2019-07-24 Tom de Vries <tdevries@suse.de>
600
601 PR testsuite/24807
602 * gdb.objc/basicclass.m: Include stdio.h.
603 * gdb.objc/nondebug.m: Same.
604 * gdb.objc/objcdecode.m: Same.
605
606 2019-07-24 Tom de Vries <tdevries@suse.de>
607
608 PR testsuite/24612
609 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
610 additional_flags.
611
612 2019-07-24 Tom de Vries <tdevries@suse.de>
613
614 PR testsuite/24831
615 * gdb.multi/tids.exp: Update error messages for info threads.
616
617 2019-07-24 Tom de Vries <tdevries@suse.de>
618
619 * gdb.base/info-types.exp: Allow info types to print info for more than
620 one file.
621
622 2019-07-23 Tom de Vries <tdevries@suse.de>
623
624 PR testsuite/24842
625 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
626 gdb_spawn_with_cmdline_opts.
627
628 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
629
630 * gdb.arch/arm-cmse-sgstubs.c: New test.
631 * gdb.arch/arm-cmse-sgstubs.exp: New file.
632
633 2019-07-23 Tom de Vries <tdevries@suse.de>
634
635 PR testsuite/24711
636 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
637 issuing next command.
638
639 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
640
641 * gdb.ada/info_auto_lang.exp: Update expected results.
642 * gdb.base/info-types.c: Add additional types to check.
643 * gdb.base/info-types.exp: Update expected results.
644
645 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
646
647 * gdb.base/info-types.c: New file.
648 * gdb.base/info-types.exp: New file.
649
650 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
651
652 * gdb.arch/riscv-bp-infcall.c: New file.
653 * gdb.arch/riscv-bp-infcall.exp: New file.
654
655 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
656
657 PR breakpoints/24541
658 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
659
660 2019-07-14 Tom de Vries <tdevries@suse.de>
661
662 PR testsuite/24760
663 * gdb.objc/basicclass.exp: Fix unterminated string.
664
665 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
666 Andrew Burgess <andrew.burgess@embecosm.com>
667
668 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
669 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
670 negative bounds.
671 * gdb.fortran/vla-value.exp: Print elements of an array with
672 negative bounds.
673 * gdb.fortran/vla.f90: Setup an array with negative bounds for
674 testing.
675
676 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
677
678 * gdb.base/options.exp (expect_string): Dequote strings in
679 results.
680 (test-string): Test strings with different quoting and reindent.
681
682 2019-07-10 Tom Tromey <tromey@adacore.com>
683
684 * gdb.ada/mi_ex_cond.exp: Update expected results.
685 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
686 * gdb.ada/mi_catch_ex.exp: Update expected results.
687 * gdb.ada/mi_catch_assert.exp: Update expected results.
688 * gdb.ada/catch_ex.exp (catch_exception_info)
689 (catch_exception_entry, catch_assert_entry)
690 (catch_unhandled_entry): Update.
691 * gdb.ada/catch_assert_if.exp: Update expected results.
692
693 2019-07-10 Richard Bunt <richard.bunt@arm.com>
694 Stephen Roberts <stephen.roberts@arm.com>
695
696 * gdb.base/define.exp: Restore original prompt.
697
698 2019-07-09 Pedro Alves <palves@redhat.com>
699
700 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
701 breakpoints" output.
702 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
703 * gdb.python/py-breakpoint.exp: No longer expect that "catch
704 throw" creates breakpoint.
705 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
706 'type="catchpoint"'.
707
708 2019-07-09 Pedro Alves <palves@redhat.com>
709
710 PR c++/15468
711 * gdb.cp/except-multi-location-lib.cc: New.
712 * gdb.cp/except-multi-location-main.cc: New.
713 * gdb.cp/except-multi-location.exp: New.
714
715 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
716
717 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
718 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
719 argument and update callers.
720
721 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
722
723 * gdb.arch/amd64-break-on-asm-line.S: New file.
724 * gdb.arch/amd64-break-on-asm-line.exp: New file.
725
726 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
727
728 * gdb.base/printcmds.exp: Test printing C string and
729 C wide string convenience vars without transiting via the inferior.
730 Also make test names unique.
731
732 2019-07-08 Alan Hayward <alan.hayward@arm.com>
733
734 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
735
736 2019-07-04 Pedro Alves <palves@redhat.com>
737
738 * lib/gdb.exp (foreach_with_prefix): Don't return early if
739 body returned ok(0), break(3) or continue(4).
740 * gdb.testsuite/foreach_with_prefix.exp: New file.
741
742 2019-07-04 Alan Hayward <alan.hayward@arm.com>
743
744 * gdb.server/unittest.exp: Allow 0 unit tests to run.
745
746 2019-07-03 Pedro Alves <palves@redhat.com>
747
748 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
749 "return -code".
750
751 2019-07-03 Pedro Alves <palves@redhat.com>
752
753 PR cli/24732
754 * gdb.base/shell.exp: Load completion-support.exp.
755 Adjust expected error output. Add completion tests.
756
757 2019-07-03 Pedro Alves <palves@redhat.com>
758
759 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
760 string_to_regexp.
761
762 2019-07-03 Pedro Alves <palves@redhat.com>
763
764 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
765 (expect_integer): Adjust to expect "-string".
766 (expect_string): New.
767 (all_options): Expect "-string".
768 (test-flag, test-boolean): Adjust to expect "-string".
769 (test-string): New proc.
770 (top level): Call it.
771
772 2019-07-03 Pedro Alves <palves@redhat.com>
773
774 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
775 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
776 the expected output in the success.
777
778 2019-07-03 Pedro Alves <palves@redhat.com>
779
780 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
781 Split one gdb_test_multiple call in two to avoid a race.
782
783 2019-07-03 Pedro Alves <palves@redhat.com>
784
785 * gdb.base/with.c: New file.
786 * gdb.base/with.exp: New file.
787
788 2019-07-03 Pedro Alves <palves@redhat.com>
789
790 * gdb.base/settings.exp: Replace all references to "maint
791 test-settings set" with references to "maint set test-settings",
792 and all references to "maint test-settings show" with references
793 to "maint show test-settings".
794
795 2019-07-03 Pedro Alves <palves@redhat.com>
796
797 * gdb.base/settings.exp (test-string): Adjust expected out when
798 testing "maint test-settings show filename"
799
800 2019-07-02 Pedro Alves <palves@redhat.com>
801
802 * gdb.base/options.exp (test-info-threads): New procedure.
803 (top level): Call it.
804
805 2019-06-28 Tom Tromey <tromey@adacore.com>
806
807 * gdb.dwarf2/ada-linkage-name.c: New file.
808 * gdb.dwarf2/ada-linkage-name.exp: New file.
809
810 2019-06-27 Tom Tromey <tromey@adacore.com>
811
812 * gdb.cp/constexpr-field.exp: Use setup_xfail.
813
814 2019-06-26 Tom de Vries <tdevries@suse.de>
815
816 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
817
818 2019-06-26 Tom de Vries <tdevries@suse.de>
819
820 * gdb.base/index-cache.exp: Add back missing debug option.
821
822 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
823
824 * gdb.base/alias.exp: Test non matching/non existing prefixes.
825
826 2019-06-25 Tom de Vries <tdevries@suse.de>
827
828 PR testsuite/24727
829 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
830
831 2019-06-24 Tom de Vries <tdevries@suse.de>
832
833 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
834
835 2019-06-24 Tom de Vries <tdevries@suse.de>
836
837 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
838 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
839 * gdb.trace/unavailable-dwarf-piece.exp: Same.
840
841 2019-06-24 Tom de Vries <tdevries@suse.de>
842
843 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
844
845 2019-06-21 Tom de Vries <tdevries@suse.de>
846
847 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
848
849 2019-06-21 Tom de Vries <tdevries@suse.de>
850
851 PR testsuite/24518
852 PR ada/24713
853 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
854 index.
855
856 2019-06-19 Tom Tromey <tromey@adacore.com>
857
858 * gdb.ada/length_cond.exp: Add intro comment.
859
860 2019-06-19 Tom Tromey <tromey@adacore.com>
861
862 * gdb.ada/length_cond.exp: New file.
863 * gdb.ada/length_cond/length_cond.adb: New file.
864 * gdb.ada/length_cond/pck.adb: New file.
865 * gdb.ada/length_cond/pck.ads: New file.
866
867 2019-06-18 Tom de Vries <tdevries@suse.de>
868
869 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
870
871 2019-06-18 Tom Tromey <tromey@adacore.com>
872
873 * gdb.base/list0.h: Add comment explaining control character.
874
875 2019-06-18 Tom de Vries <tdevries@suse.de>
876
877 * boards/fission.exp: Break up long debug_flags line.
878
879 2019-06-16 Tom de Vries <tdevries@suse.de>
880
881 PR gdb/24445
882 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
883 generated index.
884
885 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
886
887 PR gdb/24686
888 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
889 improve detection of bug gdb/24541.
890
891 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
892
893 PR gdb/24669
894 * gdb.base/index-cache.exp (uses_readnow,
895 expecting_index_cache_use): Define global variable.
896 (test_cache_enabled_miss, test_cache_enabled_hit): Use
897 expecting_index_cache_use.
898
899 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
900 Andrew Burgess <andrew.burgess@embecosm.com>
901
902 * gdb.fortran/pointers.f90: New file.
903 * gdb.fortran/print_type.exp: New file.
904 * gdb.fortran/vla-ptype.exp: Adapt expected results.
905 * gdb.fortran/vla-type.exp: Likewise.
906 * gdb.fortran/vla-value.exp: Likewise.
907 * gdb.mi/mi-vla-fortran.exp: Likewise.
908
909 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
910
911 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
912 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
913 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
914 as a stop reason.
915
916 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
917
918 * gdb.base/annota1.exp: Update expected results.
919 * gdb.cp/annota2.exp: Likewise.
920 * gdb.cp/annota3.exp: Likewise.
921
922 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
923
924 * gdb.base/style-logging.exp: Remove path from test name.
925
926 2019-06-14 Tom Tromey <tromey@adacore.com>
927
928 PR gdb/24502:
929 * gdb.base/style-logging.exp: New file.
930
931 2019-06-14 Tom Tromey <tromey@adacore.com>
932
933 * gdb.base/symfile-warn.exp: New file.
934 * gdb.base/symfile-warn.c: New file.
935
936 2019-06-14 Tom Tromey <tromey@adacore.com>
937
938 * gdb.base/annotate-symlink.exp: New file.
939
940 2019-06-14 Tom Tromey <tromey@adacore.com>
941
942 * gdb.ada/set_wstr.exp: Add reassignment test.
943
944 2019-06-14 Tom Tromey <tromey@adacore.com>
945
946 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
947 'unchecked_access and 'unrestricted_access as well.
948
949 2019-06-14 Tom Tromey <tromey@adacore.com>
950
951 PR ada/24539:
952 * gdb.ada/vla.exp: Update tests.
953 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
954 pragma.
955
956 2019-06-13 Pedro Alves <palves@redhat.com>
957
958 * gdb.base/settings.exp (test-integer): Test junk after
959 "unlimited".
960
961 2019-06-13 Pedro Alves <palves@redhat.com>
962
963 * gdb.base/options.exp (test-thread-apply): New.
964 (top level): Call it.
965
966 2019-06-13 Pedro Alves <palves@redhat.com>
967
968 * gdb.base/options.exp (test-frame-apply): New.
969 (top level): Test print commands with different "frame apply"
970 prefixes.
971
972 2019-06-13 Pedro Alves <palves@redhat.com>
973
974 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
975 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
976 'max_completions' parameter and handle it.
977 (test_gdb_completion_offers_commands): New.
978
979 2019-06-13 Pedro Alves <palves@redhat.com>
980
981 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
982
983 2019-06-13 Pedro Alves <palves@redhat.com>
984
985 * gdb.base/options.exp (test-backtrace): New.
986 (top level): Call it.
987
988 2019-06-13 Pedro Alves <palves@redhat.com>
989
990 * gdb.guile/scm-frame-args.exp: Use "set print
991 raw-frame-arguments" instead of "set print raw frame-arguments".
992 * gdb.python/py-frame-args.exp: Likewise.
993
994 2019-06-13 Pedro Alves <palves@redhat.com>
995
996 * gdb.compile/compile.exp: Adjust expected output to option
997 processing changes.
998
999 2019-06-13 Pedro Alves <palves@redhat.com>
1000
1001 * gdb.base/options.exp: Build executable.
1002 (test-print): New procedure.
1003 (top level): Call it, once for "print" and another for "compile
1004 print".
1005
1006 2019-06-13 Pedro Alves <palves@redhat.com>
1007
1008 * gdb.base/options.c: New file.
1009 * gdb.base/options.exp: New file.
1010
1011 2019-06-13 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1014 that "o" is ambiguous.
1015
1016 2019-06-13 Pedro Alves <palves@redhat.com>
1017
1018 * gdb.base/settings.c: New file.
1019 * gdb.base/settings.exp: New file.
1020
1021 2019-06-13 Pedro Alves <palves@redhat.com>
1022
1023 * gdb.base/completion.exp: Fix comment typo.
1024
1025 2019-06-13 Pedro Alves <palves@redhat.com>
1026
1027 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1028 foo --1" test.
1029
1030 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1031
1032 * gdb.fortran/block-data.f: New.
1033 * gdb.fortran/block-data.exp: New.
1034
1035 2019-06-11 Tom de Vries <tdevries@suse.de>
1036
1037 PR testsuite/24521
1038 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1039 message.
1040
1041 2019-06-11 Tom de Vries <tdevries@suse.de>
1042
1043 PR testsuite/24521
1044 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1045
1046 2019-06-11 Tom de Vries <tdevries@suse.de>
1047
1048 * boards/readnow.exp: New file.
1049
1050 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1051
1052 * gdb.fortran/vla-sizeof.exp: Update expected results.
1053
1054 2019-06-06 Amos Bird <amosbird@gmail.com>
1055
1056 * gdb.base/annota1.exp (thread_switch): Add test for
1057 thread-exited annotation.
1058
1059 2019-06-06 Tom Tromey <tromey@adacore.com>
1060
1061 * gdb.base/maint.exp: Expect command started/finished output.
1062
1063 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1064
1065 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1066 comment.
1067 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1068
1069 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1070
1071 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1072 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1073 * gdb.arch/riscv-unwind-long-insn.c: New file.
1074 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1075
1076 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1077
1078 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1079
1080 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1081
1082 * lib/gdb.exp (help_list_trailer): New regexp variable
1083 factorizing the help trailer message.
1084 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1085 arg to allow to better factorize various tests.
1086 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1087 (test_prefix_command_help): Use help_list_trailer.
1088 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1089 * gdb.guile/scm-cmd.exp: Likewise.
1090 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1091 * gdb.base/help.exp: Use test_user_defined_class_help.
1092 * gdb.base/style.exp: Add tests for styling of help and apropos.
1093 * lib/gdb-utils.exp (style): Add title and highlight styles.
1094
1095 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1096
1097 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1098 $_shell_exitsignal.
1099 * gdb.base/default.exp: Update for new convenience variables.
1100
1101 2019-05-29 Tom Tromey <tromey@adacore.com>
1102
1103 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1104 to "break complete ada" test case's regexp.
1105
1106 2019-05-29 Tom Tromey <tromey@adacore.com>
1107
1108 PR c++/20020:
1109 * gdb.cp/constexpr-field.exp: New file.
1110 * gdb.cp/constexpr-field.cc: New file.
1111
1112 2019-05-29 Tom Tromey <tromey@adacore.com>
1113
1114 * gdb.base/finish.exp (finish_no_print): New proc.
1115 (finish_tests): Call it.
1116
1117 2019-05-24 Tom de Vries <tdevries@suse.de>
1118
1119 * gdb.dwarf2/gdb-add-index.exp: New file.
1120
1121 2019-05-22 Tom Tromey <tromey@adacore.com>
1122
1123 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1124 * gdb.base/style.exp: Use "style".
1125 * lib/gdb-utils.exp (style): New proc.
1126
1127 2019-05-22 Tom de Vries <tdevries@suse.de>
1128
1129 * gdb.base/align.exp: Require c++11.
1130
1131 2019-05-22 Tom de Vries <tdevries@suse.de>
1132
1133 PR testsuite/24586
1134 * gdb.python/py-mi-var-info-path-expression.exp: Call
1135 mi_skip_python_tests to check if python is supported.
1136
1137 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1138
1139 * gdb.arch/aarch64-pauth.c: New test.
1140 * gdb.arch/aarch64-pauth.exp: New file.
1141
1142 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1143
1144 * README (Re-running Tests Outside The Testsuite): New section.
1145
1146 2019-05-21 Tom de Vries <tdevries@suse.de>
1147
1148 * gdb.arch/amd64-eval.exp: Require c++11.
1149 * gdb.base/max-depth.exp: Same.
1150 * gdb.compile/compile-cplus-array-decay.exp: Same.
1151 * gdb.cp/meth-typedefs.exp: Same.
1152 * gdb.cp/subtypes.exp: Same.
1153 * gdb.cp/temargs.exp: Same.
1154
1155 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1156
1157 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1158
1159 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1160
1161 PR gdb/18644
1162 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1163 * gdb.fortran/printing-types.exp: Add new test.
1164 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1165 testing.
1166 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1167 setup_kfail call.
1168
1169 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1170
1171 * README (Running the Testsuite): Change example.
1172 (Testsuite Parameters): Remove TRANSCRIPT.
1173 * lib/gdb.exp: Remove TRANSCRIPT check.
1174
1175 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1176
1177 * README (Testsuite Parameters): Add replay logging to
1178 GDBSERVER_DEBUG.
1179 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1180 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1181 as a comma separated list.
1182 (gdb_debug_init): Override procedure.
1183
1184 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1185
1186 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1187 (gdb_write_cmd_file): New procedure.
1188 * lib/gdbserver-support.exp (gdbserver_start): Call
1189 gdbserver_write_cmd_file.
1190 (gdbserver_write_cmd_file): New procedure.
1191
1192 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1193
1194 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1195 (delete_breakpoints): Likewise.
1196 (gdb_run_cmd): Likewise.
1197 (gdb_start_cmd): Likewise.
1198 (gdb_starti_cmd): Likewise.
1199 (gdb_internal_error_resync): Likewise.
1200 (gdb_test_multiple): Likewise.
1201 (gdb_reinitialize_dir): Likewise.
1202 (default_gdb_exit): Likewise.
1203 (gdb_file_cmd): Mark kill as optional.
1204 (default_gdb_start): Call gdb_stdin_log_init.
1205 (send_gdb): Call gdb_stdin_log_write.
1206 (rerun_to_main): Mark Y as an answer.
1207 (gdb_stdin_log_init): New function.
1208 (gdb_stdin_log_write): Likewise.
1209
1210 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1211
1212 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1213 * gdb.base/debug-expr.exp: Likewise.
1214 * gdb.base/foll-fork.exp: Likewise.
1215 * gdb.base/foll-vfork.exp: Likewise.
1216 * gdb.base/fork-print-inferior-events.exp: Likewise.
1217 * gdb.base/gdb-sigterm.exp: Likewise.
1218 * gdb.base/gdbinit-history.exp: Likewise.
1219 * gdb.base/osabi.exp: Likewise.
1220 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1221 * gdb.base/ui-redirect.exp: Likewise.
1222 * gdb.gdb/unittest.exp: Likewise.
1223 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1224 * gdb.mi/mi-watch.exp: Likewise.
1225 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1226 * gdb.mi/user-selected-context-sync.exp: Likewise.
1227 * gdb.python/python.exp: Disable debug test when debugging.
1228 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1229 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1230 Likewise.
1231 * gdb.threads/stepi-random-signal.exp: Likewise.
1232
1233 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1234
1235 * Makefile.in: Pass through GDB_DEBUG.
1236 * README (Testsuite Parameters): Add GDB_DEBUG.
1237 (gdb,debug): Add board setting.
1238 * lib/gdb.exp (default_gdb_start): Start debugging.
1239 (gdb_debug_enabled): New procedure.
1240 (gdb_debug_init): Likewise.
1241
1242 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1243
1244 * Makefile.in: Pass through GDB_DEBUG.
1245 * README (Testsuite Parameters): Add GDB_DEBUG.
1246 (gdb,debug): Add board setting.
1247 * lib/gdb.exp (default_gdb_start): Start debugging.
1248 (gdb_debug_enabled): New procedure.
1249 (gdb_debug_init): Likewise.
1250
1251 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1252
1253 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1254
1255 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1256
1257 * gdb.base/ui-redirect.exp: Test redirection.
1258
1259 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1260
1261 * gdb.mi/mi-complete.exp: New file.
1262 * gdb.mi/mi-complete.cc: Likewise.
1263
1264 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1265
1266 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1267 indexed and sliced arrays, and pointers to arrays.
1268
1269 2019-05-14 Tom Tromey <tromey@adacore.com>
1270
1271 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1272 styling test.
1273
1274 2019-05-14 Tom de Vries <tdevries@suse.de>
1275
1276 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1277 selection entry encoding.
1278
1279 2019-05-10 Tom Tromey <tromey@adacore.com>
1280
1281 * gdb.ada/info_exc.exp: Add "complete" test.
1282
1283 2019-05-09 Tom de Vries <tdevries@suse.de>
1284
1285 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1286 CU-relative.
1287
1288 2019-05-09 Tom de Vries <tdevries@suse.de>
1289
1290 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1291 CU-relative.
1292
1293 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1294
1295 * gdb.ada/frame_arg_lang.exp: New testcase.
1296 * gdb.ada/frame_arg_lang/bla.adb: New file.
1297 * gdb.ada/frame_arg_lang/pck.ads: New file.
1298 * gdb.ada/frame_arg_lang/pck.adb: New file.
1299 * gdb.ada/frame_arg_lang/foo.c: New file.
1300
1301 2019-05-08 Tom Tromey <tromey@adacore.com>
1302
1303 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1304
1305 2019-05-08 Tom Tromey <tromey@adacore.com>
1306
1307 * gdb.base/ptype-offsets.exp: Update tests.
1308
1309 2019-05-08 Tom Tromey <tromey@adacore.com>
1310
1311 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1312 cases.
1313 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1314 "short".
1315
1316 2019-05-08 Tom Tromey <tromey@adacore.com>
1317
1318 * gdb.ada/vla.exp: New file.
1319 * gdb.ada/vla/vla.adb: New file.
1320
1321 2019-05-07 Tom de Vries <tdevries@suse.de>
1322
1323 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1324
1325 2019-05-07 Tom de Vries <tdevries@suse.de>
1326
1327 PR testsuite/24522
1328 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1329 section.
1330
1331 2019-05-07 Tom de Vries <tdevries@suse.de>
1332
1333 PR testsuite/24522
1334 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1335 .debug_aranges section.
1336
1337 2019-05-07 Tom de Vries <tdevries@suse.de>
1338
1339 PR testsuite/24159
1340 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1341
1342 2019-05-06 Tom de Vries <tdevries@suse.de>
1343
1344 * lib/gdb.exp (exec_has_index_section): New proc.
1345 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1346 section.
1347
1348 2019-05-04 Tom de Vries <tdevries@suse.de>
1349
1350 * boards/cc-with-debug-names.exp: New file.
1351
1352 2019-05-03 Tom Tromey <tromey@adacore.com>
1353
1354 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1355 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1356 * gdb.ada/char_enum.exp: Add test.
1357
1358 2019-05-03 Tom de Vries <tdevries@suse.de>
1359
1360 * boards/cc-with-gdb-index.exp: New file.
1361
1362 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1363
1364 * gdb.rust/simple.exp: Add new test case.
1365 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1366 (main): Initialise an instance of the new struct.
1367
1368 2019-05-01 Tom Tromey <tromey@adacore.com>
1369
1370 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1371 record.
1372 (NPR): New variable.
1373 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1374 test.
1375
1376 2019-05-01 Tom Tromey <tromey@adacore.com>
1377
1378 * gdb.ada/packed_array_assign.exp: Add packed assignment
1379 regression test.
1380
1381 2019-05-01 Tom de Vries <tdevries@suse.de>
1382
1383 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1384
1385 2019-05-01 Tom de Vries <tdevries@suse.de>
1386
1387 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1388
1389 2019-04-30 Ali Tamur <tamur@google.com>
1390
1391 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1392
1393 2019-04-30 Tom Tromey <tromey@adacore.com>
1394
1395 * lib/ada.exp (find_ada_tool): New proc.
1396 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1397 * gdb.ada/catch_ex_std.exp: New file.
1398 * gdb.ada/catch_ex_std/foo.adb: New file.
1399 * gdb.ada/catch_ex_std/some_package.adb: New file.
1400 * gdb.ada/catch_ex_std/some_package.ads: New file.
1401
1402 2019-04-30 Tom Tromey <tromey@adacore.com>
1403
1404 PR c++/24470:
1405 * gdb.cp/temargs.cc: Add test code from PR.
1406
1407 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1408
1409 * gdb.fortran/vla-datatypes.exp: Update expected results.
1410 * gdb.fortran/vla-ptype.exp: Likewise.
1411 * gdb.fortran/vla-type.exp: Likewise.
1412 * gdb.fortran/vla-value.exp: Likewise.
1413
1414 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1415
1416 * gdb.fortran/ptr-indentation.exp: Update expected results.
1417 * gdb.fortran/ptype-on-functions.exp: Likewise.
1418 * gdb.fortran/vla-ptr-info.exp: Likewise.
1419 * gdb.fortran/vla-value.exp: Likewise.
1420
1421 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1422
1423 * gdb.fortran/ptype-on-functions.exp: New file.
1424 * gdb.fortran/ptype-on-functions.f90: New file.
1425
1426 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1427
1428 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1429 case void string.
1430
1431 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1432
1433 * gdb.fortran/complex.exp: Expand.
1434 * gdb.fortran/complex.f: Renamed to...
1435 * gdb.fortran/complex.f90: ...this, and extended to add more
1436 complex values.
1437
1438 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1439
1440 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1441 MODULO, CMPLX.
1442
1443 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1444 Richard Bunt <richard.bunt@arm.com>
1445
1446 * gdb.base/max-depth.c: New file.
1447 * gdb.base/max-depth.exp: New file.
1448 * gdb.python/py-nested-maps.c: New file.
1449 * gdb.python/py-nested-maps.exp: New file.
1450 * gdb.python/py-nested-maps.py: New file.
1451 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1452 (test_all_common): Call test_max_depth.
1453 * gdb.fortran/max-depth.exp: New file.
1454 * gdb.fortran/max-depth.f90: New file.
1455 * gdb.go/max-depth.exp: New file.
1456 * gdb.go/max-depth.go: New file.
1457 * gdb.modula2/max-depth.exp: New file.
1458 * gdb.modula2/max-depth.c: New file.
1459 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1460
1461 2019-04-29 Tom de Vries <tdevries@suse.de>
1462
1463 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1464
1465 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1466
1467 * gdb.base/callexit.exp: Test may-call-functions off.
1468
1469 2019-04-25 Keith Seitz <keiths@redhat.com>
1470
1471 PR c++/24367
1472 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1473 (another_incomplete_struct, test_incomplete): New definitions.
1474 (main): Use new definitions.
1475 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1476 functions.
1477
1478 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1479
1480 PR corefiles/11608
1481 PR corefiles/18187
1482 * gdb.base/coredump-filter-build-id.exp: New file.
1483
1484 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1485
1486 * Makefile.in: Pass through GDBSERVER_DEBUG.
1487 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1488 (gdbserver,debug): Add board setting.
1489 * gdb.trace/tspeed.exp: Skip when debugging.
1490 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1491 * lib/gdbserver-support.exp: Likewise
1492
1493 2019-04-24 Tom Tromey <tromey@adacore.com>
1494
1495 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1496 Rust.
1497
1498 2019-04-24 Tom Tromey <tromey@adacore.com>
1499
1500 * gdb.arch/amd64-eval.exp: Test bitfield return.
1501 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1502 (class Foo) <return_bitfields>: New method.
1503 (main): Call it.
1504
1505 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1506
1507 * gdb.cp/many-args.cc: New file.
1508 * gdb.cp/many-args.exp: New file.
1509
1510 2019-04-23 Tom de Vries <tdevries@suse.de>
1511
1512 PR gdb/24433
1513 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1514
1515 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1516
1517 * gdb.trace/backtrace.exp: Use nopie flag.
1518 * gdb.trace/circ.exp: Likewise.
1519 * gdb.trace/collection.exp: Likewise.
1520 * gdb.trace/ftrace.exp: Likewise.
1521 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1522 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1523 * gdb.trace/qtro.exp: Likewise.
1524 * gdb.trace/read-memory.exp: Likewise.
1525 * gdb.trace/report.exp: Likewise.
1526 * gdb.trace/tfile.exp: Likewise.
1527 * gdb.trace/tfind.exp: Likewise.
1528 * gdb.trace/unavailable.exp: Likewise.
1529
1530 2019-04-22 Pedro Alves <palves@redhat.com>
1531
1532 * gdb.base/solib-probes-nosharedlibrary.c,
1533 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1534
1535 2019-04-19 Tom Tromey <tromey@adacore.com>
1536
1537 * gdb.ada/ptype_union.c: New file.
1538 * gdb.ada/ptype_union.exp: New file.
1539
1540 2019-04-19 Tom Tromey <tromey@adacore.com>
1541
1542 PR symtab/24423:
1543 * gdb.base/list0.h (foo): Add a control-l character.
1544
1545 2019-04-18 Tom de Vries <tdevries@suse.de>
1546
1547 PR gdb/24433
1548 * boards/local-board.exp: Set sysroot to "".
1549
1550 2019-04-18 Tom de Vries <tdevries@suse.de>
1551 Pedro Alves <palves@redhat.com>
1552
1553 PR gdb/24454
1554 * gdb.threads/vfork-follow-child-exec.c: New file.
1555 * gdb.threads/vfork-follow-child-exec.exp: New file.
1556 * gdb.threads/vfork-follow-child-exit.c: New file.
1557 * gdb.threads/vfork-follow-child-exit.exp: New file.
1558
1559 2019-04-15 Leszek Swirski <leszeks@google.com>
1560
1561 * gdb.arch/amd64-eval.cc: New file.
1562 * gdb.arch/amd64-eval.exp: New file.
1563
1564 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1565
1566 * gdb.server/sysroot.c: New test.
1567 * gdb.server/sysroot.exp: New file.
1568 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1569 matching param.
1570
1571 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1572
1573 * gdb.base/align.exp: Extend test to cover structures containing
1574 only static fields.
1575
1576 2019-04-11 Tom de Vries <tdevries@suse.de>
1577
1578 * boards/cc-with-dwz-m.exp: New file.
1579 * boards/cc-with-dwz.exp: New file.
1580 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1581
1582 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1583
1584 * gdb.base/start-cpp.exp: New file.
1585 * gdb.base/start-cpp.cc: New file.
1586
1587 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1588
1589 * gdb.python/py-thrhandle.exp: Adjust tests to call
1590 thread_from_handle instead of thread_from_thread_handle.
1591
1592 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1593
1594 * gdb.python/py-thrhandle.exp: Add tests for
1595 gdb.InferiorThread.handle.
1596
1597 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1598
1599 * gdb.python/py-function.exp: Check calling helper function from
1600 all languages.
1601 * lib/gdb.exp (gdb_supported_languages): New proc.
1602
1603 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1604
1605 * gdb.base/complex-parts.c: New file.
1606 * gdb.base/complex-parts.exp: New file.
1607
1608 2019-04-01 Tom Tromey <tromey@adacore.com>
1609
1610 PR symtab/23331:
1611 * gdb.dwarf2/dw2-ranges-main.c: New file.
1612 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1613 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1614
1615 2019-03-30 Simon Marchi <simark@simark.ca>
1616
1617 * gdb.base/default.exp: Add values for $_gdb_major and
1618 $_gdb_minor.
1619
1620 2019-03-29 Tom Tromey <tromey@adacore.com>
1621
1622 * gdb.base/help.exp: Tighten apropos regexp.
1623
1624 2019-03-29 Keith Seitz <keiths@redhat.com>
1625
1626 * gdb.fortran/array-bounds.exp: New file.
1627 * gdb.fortran/array-bounds.f90: New file.
1628
1629 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1630
1631 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1632
1633 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1634
1635 * gdb.multi/hello.c (main): Increase alarm timer.
1636
1637 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1638
1639 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1640 factor when no hardware watchpoint support.
1641
1642 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1643 Pedro Alves <palves@redhat.com>
1644
1645 * boards/local-board.exp: set sysroot to /.
1646
1647 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1648
1649 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1650 in child.
1651
1652 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1653
1654 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1655 field.
1656 (make_container): Initialise new field.
1657 * gdb.python/py-prettyprint.exp: Add new tests.
1658 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1659 <display_hint>: New method.
1660
1661 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1662
1663 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1664 gdb_continue_to_breakpoint more throughout this test.
1665 (run_lang_tests) Supply unique test names, and use
1666 gdb_test_no_output.
1667
1668 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1669
1670 * gdb.base/finish-pretty.exp: Update expected results.
1671 * gdb.base/pretty-print.c: New file.
1672 * gdb.base/pretty-print.exp: New file.
1673
1674 2019-03-25 Pedro Alves <palves@redhat.com>
1675
1676 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1677 move comments outside list. Append '-i "" eof' section.
1678
1679 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1680
1681 * README: Add pie options.
1682 * gdb.base/break-interp.exp: Ensure pie is disabled.
1683 * gdb.base/dump.exp: Likewise.
1684 * lib/gdb.exp (gdb_compile): Add pie option.
1685
1686 2019-03-19 Tom Tromey <tromey@adacore.com>
1687
1688 * gdb.mi/mi2-cli-display.c: New file.
1689 * gdb.mi/mi2-cli-display.exp: New file.
1690
1691 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1692 Tom Tromey <tromey@adacore.com>
1693
1694 * gdb.ada/ptype_array/pck.adb: New file.
1695 * gdb.ada/ptype_array/pck.ads: New file.
1696 * gdb.ada/ptype_array/foo.adb: New file.
1697 * gdb.ada/ptype_array.exp: New file.
1698
1699 2019-03-14 Tom Tromey <tromey@adacore.com>
1700
1701 * gdb.base/style.exp: Add "set style sources" test.
1702
1703 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1704
1705 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1706 * mi-breakpoint-multiple-locations.exp: ... this.
1707 (make_breakpoints_pattern): New proc.
1708 (do_test): Add mi_version parameter, test -break-insert,
1709 -break-info and =breakpoint-created.
1710
1711 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1712
1713 * config/default.exp: Remove 'load_lib gdb.exp'.
1714 * config/monitor.exp: Likewise.
1715 * config/sid.exp: Likewise.
1716 * config/sim.exp: Likewise.
1717 * config/slite.exp: Likewise.
1718 * config/unix.exp: Likewise.
1719 * gdb.base/default.exp: Remove unhelpful comment.
1720
1721 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1722
1723 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1724
1725 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1726
1727 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1728
1729 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1730
1731 * gdb.fortran/type-kinds.exp: Update expected results.
1732
1733 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1734
1735 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1736
1737 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1738
1739 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1740 function.
1741 (test_basic_parsing_of_type_kinds): Expand types tested.
1742 (test_parsing_invalid_type_kinds): New function.
1743
1744 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1745
1746 * gdb.fortran/intrinsics.exp: New file.
1747 * gdb.fortran/intrinsics.f90: New file.
1748 * gdb.fortran/type-kinds.exp: New file.
1749
1750 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1751
1752 * gdb.fortran/dot-ops.exp: New file.
1753
1754 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1755
1756 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1757 Check upper and lower case logical literals.
1758
1759 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1760
1761 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1762 Remove duplicate tests.
1763
1764 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1765
1766 * lib/gdb.exp (builtin_cd): rename of cd.
1767 (cd): Override builtin.
1768
1769 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1770
1771 * gdb.fortran/function-calls.exp: New file.
1772 * gdb.fortran/function-calls.f90: New test.
1773
1774 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1775
1776 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1777 on user program standard output.
1778 * gdb.fortran/short-circuit-argument-list.f90: Record function
1779 calls.
1780
1781 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1782
1783 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1784 failure.
1785
1786 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1787
1788 PR gdb/8527
1789 * gdb.base/interrupt-daemon-attach.c,
1790 gdb.base/interrupt-daemon-attach.exp: New test.
1791
1792 2019-02-27 Pedro Alves <palves@redhat.com>
1793
1794 * gdb.base/page.exp: Add tests for "set width/height -1".
1795
1796 2019-02-27 Pedro Alves <palves@redhat.com>
1797
1798 * gdb.base/page.exp: Add tests for "set/show width/height" with
1799 "infinite" values.
1800
1801 2019-02-27 Tom Tromey <tromey@adacore.com>
1802
1803 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1804 2.4.
1805 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1806 workaround.
1807
1808 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1809
1810 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1811 tests for structs with static members.
1812
1813 2019-02-26 Tom Tromey <tromey@adacore.com>
1814
1815 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1816 ValueError, not TypeError.
1817
1818 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1819
1820 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1821 call from main program.
1822
1823 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1824
1825 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1826 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1827 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1828 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1829 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1830
1831 2019-02-22 Keith Seitz <keiths@redhat.com>
1832
1833 PR symtab/23853
1834 * gdb.base/symlink-sourcefile.c: New file.
1835 * gdb.base/symlink-sourcefile.exp: New file.
1836
1837 2019-02-20 Tom Tromey <tom@tromey.com>
1838
1839 * gdb.base/info_qt.exp: Update.
1840
1841 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1842
1843 * gdb.base/source.exp: Move "error in sourced script" code to
1844 the end.
1845 * gdb.base/source-error.gdb: Move contents to
1846 source-error-1.gdb. Add new code to source source-error-1.gdb.
1847 * gdb.base/source-error-1.gdb: New file, from previous
1848 source-error.gdb.
1849
1850 2019-02-17 Tom Tromey <tom@tromey.com>
1851
1852 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1853 for macro styling.
1854 * gdb.base/style.c (SOME_MACRO): New macro.
1855
1856 2019-02-17 Tom Tromey <tom@tromey.com>
1857
1858 * gdb.base/style.exp: Add line-wrapping tests.
1859 * gdb.base/page.exp: Add test for quitting during pagination.
1860
1861 2019-02-17 Joel Brobecker <brobecker@adacore.com>
1862
1863 * gdb.ada/big_packed_array: New testcase.
1864 * gdb.ada/homonym.exp: Fix incorrect expected output for
1865 "break <homonym__get_value>" test.
1866
1867 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
1868
1869 PR breakpoints/21870
1870 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1871 and prepare_for_testing. Add comment.
1872 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1873 redundant cleanup call. Clean up comment.
1874
1875 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1876
1877 PR breakpoints/21870
1878 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1879 * gdb.arch/aarch64-dbreg-contents.c: New file.
1880
1881 2019-02-10 Joel Brobecker <brobecker@adacore.com>
1882
1883 * gdb.ada/mi_ref_changeable: New testcase.
1884
1885 2019-02-07 Alan Hayward <alan.hayward@arm.com>
1886
1887 * gdb.base/attach.exp: Add double attach test.
1888
1889 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1890
1891 * lib/gdb.exp (default_gdb_start): Don't match pagination
1892 prompt.
1893 (gdb_init): Set stty_init.
1894
1895 2019-01-27 Tom Tromey <tom@tromey.com>
1896
1897 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1898 skip_python_tests.
1899
1900 2019-01-24 Alan Hayward <alan.hayward@arm.com>
1901
1902 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1903 New structure.
1904 (struct struct_static_02_02): Likewise.
1905 (struct struct_static_02_03): Likewise.
1906 (struct struct_static_02_04): Likewise.
1907 (struct struct_static_04_01): Likewise.
1908 (struct struct_static_04_02): Likewise.
1909 (struct struct_static_04_03): Likewise.
1910 (struct struct_static_04_04): Likewise.
1911 (struct struct_static_06_01): Likewise.
1912 (struct struct_static_06_02): Likewise.
1913 (struct struct_static_06_03): Likewise.
1914 (struct struct_static_06_04): Likewise.
1915 (cmp_struct_static_02_01): Likewise.
1916 (cmp_struct_static_02_02): Likewise.
1917 (cmp_struct_static_02_03): Likewise.
1918 (cmp_struct_static_02_04): Likewise.
1919 (cmp_struct_static_04_01): Likewise.
1920 (cmp_struct_static_04_02): Likewise.
1921 (cmp_struct_static_04_03): Likewise.
1922 (cmp_struct_static_04_04): Likewise.
1923 (cmp_struct_static_06_01): Likewise.
1924 (cmp_struct_static_06_02): Likewise.
1925 (cmp_struct_static_06_03): Likewise.
1926 (cmp_struct_static_06_04): Likewise.
1927 (call_all): Test new structs.
1928 * gdb.base/infcall-nested-structs.exp: Likewise.
1929
1930 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1931 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1932
1933 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1934 * gdb.base/stack-protector.c: New test.
1935 * gdb.base/stack-protector.exp: New file.
1936 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1937 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1938 option.
1939 (gdb_compile): Remove stack protector for GCC and prevent
1940 recursion.
1941
1942 2019-01-16 Keith Seitz <keiths@redhat.com>
1943
1944 PR gdb/23773
1945 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1946
1947 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1948
1949 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1950 aliases.
1951 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1952 tests.
1953 * gdb.arch/powerpc-vector-regs.c: New file.
1954 * gdb.arch/powerpc-vector-regs.exp: New file.
1955
1956 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1957
1958 * gdb.arch/altivec-regs.exp: Fix the list passed to
1959 gdb_expect_list when testing "info vector".
1960
1961 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1962
1963 * gdb.base/style.exp: Don't include path in testname.
1964
1965 2019-01-10 Keith Seitz <keiths@redhat.com>
1966
1967 PR gdb/23712
1968 PR symtab/23010
1969 * gdb.dwarf2/multidictionary.exp: New file.
1970
1971 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1972
1973 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1974 (test_gnuv3_style_demangling): ... this.
1975 (test_lucid_style_demangling): Remove.
1976 (test_arm_style_demangling): Remove.
1977 (test_hp_style_demangling): Remove.
1978 (do_tests): Remove calls to the above.
1979
1980 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1981
1982 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1983 case.
1984
1985 2019-01-06 Tom Tromey <tom@tromey.com>
1986
1987 PR gdb/28155:
1988 * gdb.dwarf2/typedef-void-finish.exp: New file.
1989
1990 2018-12-28 Tom Tromey <tom@tromey.com>
1991 Simon Marchi <simark@simark.ca>
1992
1993 * gdb.base/jit-exec.exp: New file.
1994 * gdb.base/jit-exec.c: New file.
1995 * gdb.base/jit-execd.c: New file.
1996
1997 2018-12-28 Tom Tromey <tom@tromey.com>
1998
1999 * gdb.base/style.exp: Update test to check for address styling.
2000
2001 2018-12-28 Tom Tromey <tom@tromey.com>
2002
2003 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2004 message.
2005
2006 2018-12-28 Tom Tromey <tom@tromey.com>
2007
2008 * gdb.base/style.exp: Add test for version number styling.
2009
2010 2018-12-28 Tom Tromey <tom@tromey.com>
2011
2012 * gdb.base/style.exp: Add test for print_address_symbolic.
2013
2014 2018-12-28 Tom Tromey <tom@tromey.com>
2015
2016 * gdb.base/style.exp: Add test for breakpoint setting.
2017
2018 2018-12-28 Tom Tromey <tom@tromey.com>
2019
2020 * gdb.base/style.exp: Add test for variable names.
2021
2022 2018-12-28 Tom Tromey <tom@tromey.com>
2023
2024 * gdb.base/style.exp: New file.
2025 * gdb.base/style.c: New file.
2026
2027 2018-12-28 Tom Tromey <tom@tromey.com>
2028
2029 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2030 "dumb".
2031 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2032 the TERM environment variable.
2033
2034 2018-12-27 Tom Tromey <tom@tromey.com>
2035
2036 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2037 pagination test.
2038
2039 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2040
2041 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2042 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2043
2044 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2045
2046 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2047 Filename a.adb changed to bp_fun_addr.adb.
2048 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2049
2050 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2051
2052 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2053 non-PIE executables.
2054 * README: Mention the gdb,nopie_flag board setting.
2055 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2056 non-PIE executable.
2057 * gdb.arch/amd64-entry-value.exp: Likewise.
2058 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2059 * gdb.arch/i386-float.exp: Likewise.
2060 * gdb.arch/i386-signal.exp: Likewise.
2061 * gdb.mi/mi-reg-undefined.exp: Likewise.
2062
2063 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2064
2065 PR gdb/23974
2066 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2067
2068 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2069
2070 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2071 Update order of results accordingly.
2072
2073 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2074
2075 * gdb.base/annota1.exp: Update a test regexp.
2076
2077 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2078
2079 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2080
2081 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2082
2083 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2084 (reuse_time): Initialize to REUSE_TIME_CAP.
2085 (check_rc): New function.
2086 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2087 Check pthread_create rc.
2088 (spawner_thread_func): Check pthread_create and pthread_join rc.
2089
2090 2018-12-08 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.base/list.exp (test_forward_search): Rename to ...
2093 (test_forward_reverse_search): ... this. Also test reverse-search
2094 and the forward-search alias.
2095
2096 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2097
2098 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2099 local timeout variable before return, and remove all local timeout
2100 variable entirely.
2101 (gdb_load): Likewise.
2102
2103 2018-12-01 Tom de Vries <tdevries@suse.de>
2104
2105 * gdb.base/gdb-caching-proc.exp: New file.
2106
2107 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2108
2109 * Makefile.in (TIMESTAMP): New variable.
2110 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2111 command.
2112 (check-single-racy): Likewise.
2113 (check/%.exp): Likewise.
2114 (check-racy/%.exp): Likewise.
2115 (workers/%.worker): Likewise.
2116 (build-perf): Likewise.
2117 (check-perf): Likewise.
2118 * README: Describe new "TS" and "TS_FORMAT" variables.
2119 * print-ts.py: New file.
2120
2121 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2122
2123 PR python/23714
2124 * gdb.python/python.exp: Test command repetition after
2125 gdb.execute.
2126
2127 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2128
2129 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2130 is correctly aligned.
2131
2132 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2133
2134 * gdb.ada/info_auto_lang.exp: New testcase.
2135 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2136 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2137 * gdb.ada/info_auto_lang/some_c.c: New file.
2138
2139 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2140
2141 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2142 FUNC_lang language syntax.
2143
2144 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2145
2146 * gdb.base/info_minsym.c: New file.
2147 * gdb.base/info_minsym.exp: New file.
2148
2149 2018-11-19 Tom Tromey <tom@tromey.com>
2150
2151 PR rust/23625:
2152 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2153 * gdb.rust/expr.exp: Update expected output. Change one test.
2154
2155 2018-11-19 Tom Tromey <tom@tromey.com>
2156
2157 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2158
2159 2018-11-19 Pedro Alves <palves@redhat.com>
2160
2161 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2162 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2163 see the expected warning.
2164
2165 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2166
2167 PR gdb/22736:
2168 * gdb.cp/infcall-nodebug-lib.c: New test.
2169 * gdb.cp/infcall-nodebug-main.c: New test.
2170 * gdb.cp/infcall-nodebug.exp: New file.
2171
2172 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2173
2174 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2175 completer tests.
2176
2177 2018-11-09 Tom de Vries <tdevries@suse.de>
2178
2179 * gdb.base/msym-lang.c: New test.
2180 * gdb.base/msym-lang.exp: New file.
2181 * gdb.base/msym-lang-main.c: New test.
2182
2183 2018-11-08 Tom Tromey <tom@tromey.com>
2184
2185 PR gdb/23555:
2186 PR gdb/23838:
2187 * gdb.base/warning.exp: New file.
2188
2189 2018-11-08 Jan Beulich <jbeulich@suse.com>
2190
2191 * testsuite/gdb.arch/i386-avx512.c,
2192 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2193
2194 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2195
2196 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2197 point hardware.
2198
2199 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2200
2201 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2202 * gdb.dwarf2/missing-type-name.exp: New file.
2203
2204 2018-11-06 Tom de Vries <tdevries@suse.de>
2205
2206 * gdb.base/many-headers.c: New test.
2207 * gdb.base/many-headers.exp: New file.
2208
2209 2018-11-06 Jim Wilson <jimw@sifive.com>
2210
2211 * gdb.base/code_elim.exp: For riscv, set additional_flags
2212 to include -msmall-data-limit=0.
2213
2214 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2215
2216 * gdb.ada/watch_minus_l: New testcase.
2217
2218 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2219
2220 * gdb.arch/aix-sighandle.c: New file.
2221 * gdb.arch/aix-sighandle.exp: New file.
2222
2223 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2224
2225 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2226 registers being unions.
2227
2228 2018-10-31 Tom de Vries <tdevries@suse.de>
2229
2230 * lib/valgrind.exp: New file.
2231 (vgdb_start, vgdb_stop): New procs, factored out of ...
2232 * gdb.base/valgrind-bt.exp: ... here, ...
2233 * gdb.base/valgrind-disp-step.exp: ... here and ...
2234 * gdb.base/valgrind-infcall.exp: ... here.
2235
2236 2018-10-31 Tom de Vries <tdevries@suse.de>
2237
2238 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2239
2240 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2241
2242 * gdb.dwarf2/void-type.c: New file.
2243 * gdb.dwarf2/void-type.exp: New file.
2244
2245 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2246
2247 * gdb.base/info_qt.c: New file.
2248 * gdb.base/info_qt.exp: New file.
2249
2250 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2251
2252 * gdb.arch/powerpc-htm-regs.c: New file.
2253 * gdb.arch/powerpc-htm-regs.exp: New file.
2254
2255 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2256
2257 * gdb.arch/powerpc-tar.c: New file.
2258 * gdb.arch/powerpc-tar.exp: New file.
2259
2260 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2261
2262 * gdb.arch/powerpc-ppr-dscr.c: New file.
2263 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2264
2265 2018-10-25 Tom de Vries <tdevries@suse.de>
2266
2267 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2268
2269 2018-10-24 Tom de Vries <tdevries@suse.de>
2270
2271 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2272 longer exists error.
2273
2274 2018-10-24 Tom de Vries <tdevries@suse.de>
2275
2276 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2277
2278 2018-10-24 Tom de Vries <tdevries@suse.de>
2279
2280 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2281 --db-attach in valgrind.
2282
2283 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2284
2285 * gdb.arch/riscv-reg-aliases.c: New file.
2286 * gdb.arch/riscv-reg-aliases.exp: New file.
2287
2288 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2289
2290 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2291
2292 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2293
2294 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2295
2296 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2297
2298 * gdb.cp/ovldbreak.exp: Fix regexps.
2299
2300 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2301
2302 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2303
2304 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2305
2306 PR cli/23785
2307 * gdb.base/restore.exp: New test to check if "restore" with an
2308 invalid file doesn't segfault.
2309
2310 2018-10-18 Tom de Vries <tdevries@suse.de>
2311
2312 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2313 * gdb.ada/excep_handle.exp: Same.
2314 * gdb.ada/mi_string_access.exp: Same.
2315 * gdb.ada/mi_var_union.exp: Same.
2316 * gdb.arch/arc-analyze-prologue.exp: Same.
2317 * gdb.arch/arc-decode-insn.exp: Same.
2318 * gdb.base/readnever.exp: Same.
2319 * gdb.fortran/printing-types.exp: Same.
2320 * gdb.guile/scm-lazy-string.exp: Same.
2321
2322 2018-10-16 Tom de Vries <tdevries@suse.de>
2323
2324 PR gdb/23730
2325 * gdb.base/catch-follow-exec.c: Add copyright notice.
2326 * gdb.base/catch-follow-exec.exp: Rewrite to use
2327 gdb_spawn_with_cmdline_opts. Require gdb-native.
2328
2329 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2330
2331 * gdb.trace/actions-changed.exp: Check for arch support.
2332 * gdb.trace/actions.exp: Likewise.
2333 * gdb.trace/ax.exp: Likewise.
2334 * gdb.trace/backtrace.exp: Likewise.
2335 * gdb.trace/change-loc.exp: Likewise.
2336 * gdb.trace/deltrace.exp: Likewise.
2337 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2338 * gdb.trace/ftrace.exp: Likewise.
2339 * gdb.trace/infotrace.exp: Check for arch support.
2340 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2341 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2342 * gdb.trace/mi-tsv-changed.exp: Likewise.
2343 * gdb.trace/packetlen.exp: Likewise.
2344 * gdb.trace/passc-dyn.exp: Likewise.
2345 * gdb.trace/passcount.exp: Likewise.
2346 * gdb.trace/pending.exp: Likewise.
2347 * gdb.trace/range-stepping.exp: Check for shlib support.
2348 * gdb.trace/report.exp: Check for arch support.
2349 * gdb.trace/save-trace.exp: Likewise.
2350 * gdb.trace/signal.exp: Check for signal support.
2351 * gdb.trace/tfind.exp: Check for arch support.
2352 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2353 * gdb.trace/trace-common.h: Add comment.
2354 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2355 * gdb.trace/trace-enable-disable.exp: Likewise.
2356 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2357 * gdb.trace/tracecmd.exp: Check for arch support.
2358 * gdb.trace/tspeed.exp: Check for shlib and target support.
2359 * gdb.trace/tstatus.exp: Check for arch support.
2360 * gdb.trace/tsv.exp: Likewise.
2361 * gdb.trace/while-dyn.exp: Likewise.
2362 * gdb.trace/while-stepping.exp: Likewise.
2363 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2364
2365 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2366
2367 * gdb.trace/tspeed.exp: Remove nowarnings.
2368 (prepare_for_trace_test): Declare "global ipalib".
2369 * gdb.trace/tspeed.c: Include unistd.h.
2370 (main): Remove superfluous printf argument.
2371
2372 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2373
2374 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2375 directory prefix on the filename.
2376
2377 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2378
2379 * gdb.gdb/unittest.exp: Update expected message informing that
2380 selftests have been disabled.
2381 * gdb.server/unittest.exp: Likewise.
2382
2383 2018-10-09 Tom de Vries <tdevries@suse.de>
2384
2385 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2386 with runto_main.
2387
2388 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2389
2390 PR c++/16841
2391 * gdb.cp/virtbase2.cc: New file.
2392 * gdb.cp/virtbase2.exp: New file.
2393
2394 2018-10-06 Tom Tromey <tom@tromey.com>
2395
2396 PR python/19399:
2397 * gdb.python/py-inferior.exp: Add architecture test.
2398
2399 2018-10-06 Tom Tromey <tom@tromey.com>
2400
2401 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2402 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2403
2404 2018-10-06 Tom Tromey <tom@tromey.com>
2405
2406 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2407 of a "throw" catchpoint.
2408
2409 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2410
2411 * gdb.base/info-proc.exp: Update string expected from "help info
2412 proc".
2413
2414 2018-10-04 Tom Tromey <tom@tromey.com>
2415
2416 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2417 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2418 (test_initial_complaints, test_empty_complaints): Update.
2419 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2420
2421 2018-10-04 Tom Tromey <tom@tromey.com>
2422
2423 PR cli/19551:
2424 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2425 * lib/gdb.exp (gdb_file_cmd): Update.
2426 * gdb.stabs/weird.exp (print_weird_var): Update.
2427 * gdb.server/solib-list.exp: Update.
2428 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2429 * gdb.mi/mi-cli.exp: Update.
2430 * gdb.linespec/linespec.exp: Update.
2431 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2432 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2433 * gdb.cp/cp-relocate.exp: Update.
2434 * gdb.base/sym-file.exp: Update.
2435 * gdb.base/relocate.exp: Update.
2436 * gdb.base/readnever.exp: Update.
2437 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2438 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2439 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2440 * gdb.base/code_elim.exp: Update.
2441 * gdb.base/break-unload-file.exp (test_break): Update.
2442 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2443 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2444 Update.
2445 * gdb.base/attach.exp (do_attach_tests): Update.
2446 * gdb.base/sepdebug.exp: Update.
2447 * gdb.python/py-section-script.exp: Update.
2448
2449 2018-10-04 Tom Tromey <tom@tromey.com>
2450
2451 PR cli/22234:
2452 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2453 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2454 output.
2455
2456 2018-10-04 Tom Tromey <tom@tromey.com>
2457
2458 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2459 set width and height to 0.
2460 (test_command_line_attach_run): Use -quiet.
2461
2462 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2463
2464 * lib/gdb.exp (skip_ifunc_tests): New.
2465 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2466 other compile failures.
2467 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2468
2469 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2470
2471 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2472 is_amd64_regs_target.
2473
2474 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2475
2476 * gdb.arch/aarch64-sighandler-regs.c: New test.
2477 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2478 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2479
2480 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2481
2482 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2483 assembly.
2484
2485 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2486
2487 * gdb.base/frame-selection.exp: New file.
2488 * gdb.base/frame-selection.c: New file.
2489
2490 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2491
2492 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2493 pthread barrier.
2494 (main): Likewise.
2495
2496 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2497
2498 * gdb.base/large-frame-1.c: New file.
2499 * gdb.base/large-frame-2.c: New file.
2500 * gdb.base/large-frame.exp: New file.
2501 * gdb.base/large-frame.h: New file.
2502
2503 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2504
2505 PR gdb/20948
2506 * gdb.base/write_mem.exp: New test.
2507 * gdb.base/write_mem.c: Likewise.
2508
2509 2018-09-23 Tom Tromey <tom@tromey.com>
2510
2511 PR python/18852:
2512 * gdb.python/py-parameter.exp: Add test for parameter that throws
2513 on "set".
2514
2515 2018-09-23 Tom Tromey <tom@tromey.com>
2516
2517 PR python/17284:
2518 * gdb.python/py-template.exp (test_template_arg): Add test for
2519 negative template argument number.
2520
2521 2018-09-23 Tom Tromey <tom@tromey.com>
2522
2523 PR python/14062:
2524 * gdb.python/python.exp: Add test for post_event error.
2525
2526 2018-09-23 Tom Tromey <tom@tromey.com>
2527
2528 PR python/18170:
2529 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2530 convert pointers to int and long.
2531
2532 2018-09-23 Tom Tromey <tom@tromey.com>
2533
2534 PR python/20126:
2535 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2536 signed-ness conversion tests.
2537
2538 2018-09-23 Tom Tromey <tom@tromey.com>
2539
2540 PR python/18352;
2541 * gdb.python/py-value.exp (test_float_conversion): New proc.
2542 Use it.
2543
2544 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2545
2546 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2547
2548 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2549
2550 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2551 no readline.
2552 * gdb.base/utf8-identifiers.exp: Likewise.
2553 * gdb.cp/cpcompletion.exp: Likewise.
2554 * gdb.linespec/cpcompletion.exp: Likewise.
2555 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2556 * gdb.linespec/cpls-ops.exp: Likewise.
2557
2558 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2559 Chris January <chris.january@arm.com>
2560
2561 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2562 * gdb.fortran/short-circuit-argument-list.exp: New file.
2563 * gdb.fortran/short-circuit-argument-list.f90: New test.
2564
2565 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2566
2567 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2568 "arch=" keyword when executing "-stack-list-frames".
2569
2570 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2571
2572 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2573 "arch=" keyword when executing "-stack-list-frames".
2574
2575 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2576
2577 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2578 break ada".
2579
2580 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2581
2582 PR python/23669
2583 * gdb.python/python.exp: Test gdb.execute("show commands").
2584
2585 2018-09-16 Tom Tromey <tom@tromey.com>
2586
2587 * gdb.base/new-ui.exp (do_execution_tests): Update.
2588 * gdb.base/dbx.exp (test_breakpoints): Update.
2589
2590 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2591
2592 * lib/gdb.exp (gdb_simple_compile): Add proc.
2593 (is_elf_target): Use gdb_simple_compile.
2594 (skip_altivec_tests): Likewise.
2595 (skip_vsx_tests): Likewise.
2596 (skip_tsx_tests): Likewise.
2597 (skip_btrace_tests): Likewise.
2598 (skip_btrace_pt_tests): Likewise.
2599 (gdb_can_simple_compile): Likewise.
2600 (gdb_has_argv0): Likewise.
2601 (gdb_target_symbol_prefix): Likewise.
2602 (target_supports_scheduler_locking): Likewise.
2603
2604 2018-09-13 Tom Tromey <tom@tromey.com>
2605
2606 * Makefile.in (TAGS): Recognize proc_with_prefix and
2607 gdb_caching_proc.
2608
2609 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2610
2611 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2612 method.
2613
2614 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2615
2616 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2617 and a few other Inferior properties when the Inferior is no
2618 longer valid.
2619
2620 2018-09-13 Tom Tromey <tom@tromey.com>
2621
2622 PR rust/23650:
2623 * gdb.rust/simple.exp: Add test for enum field access error.
2624
2625 2018-09-13 Tom Tromey <tom@tromey.com>
2626
2627 PR rust/23626:
2628 * gdb.rust/simple.rs (EmptyEnum): New type.
2629 (main): Use it.
2630 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2631
2632 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2633
2634 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2635 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2636 * gdb.python/py-symtab.exp: Update test printing an objfile.
2637
2638 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2639
2640 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2641 object.
2642
2643 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2644
2645 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2646 (support_complex_tests): Use gdb_can_simple_compile.
2647 (is_ilp32_target): Likewise.
2648 (is_lp64_target): Likewise.
2649 (is_64_target): Likewise.
2650 (is_amd64_regs_target): Likewise.
2651 (is_aarch32_target): Likewise.
2652 (gdb_int128_helper): Likewise.
2653
2654 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2655
2656 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2657
2658 2018-09-10 Jerome Guitton <guitton@adacore.com>
2659
2660 * gdb.ada/same_component_name: Add test for case of tagged record
2661 with variable-length fields.
2662
2663 2018-09-10 Xavier Roirand <roirand@adacore.com>
2664
2665 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2666 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2667 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2668 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2669
2670 2018-09-10 Xavier Roirand <roirand@adacore.com>
2671
2672 * gdb.ada/mi_string_access.exp: New testcase.
2673 * gdb.ada/mi_string_access/bar.adb: New file.
2674 * gdb.ada/mi_string_access/pck.adb: New file.
2675 * gdb.ada/mi_string_access/pck.asd: New file.
2676
2677 2018-09-10 Xavier Roirand <roirand@adacore.com>
2678
2679 * gdb.ada/mi_var_union.exp: New testcase.
2680 * gdb.ada/mi_var_union/bar.adb: New file.
2681 * gdb.ada/mi_var_union/pck.adb: New file.
2682 * gdb.ada/mi_var_union/pck.asd: New file.
2683
2684 2018-09-08 Tom Tromey <tom@tromey.com>
2685
2686 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2687
2688 2018-09-08 Tom Tromey <tom@tromey.com>
2689
2690 PR python/16047:
2691 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2692 (register_pretty_printers): Register new printer.
2693 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2694 test.
2695 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2696 (an_int_type3): New global.
2697
2698 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2699
2700 * gdb.ada/expr_with_funcall: New testcase.
2701
2702 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2703
2704 * gdb.ada/packed_array_assign: New testcase.
2705
2706 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2707
2708 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2709 names, and add test prefixes to make test names unique.
2710
2711 2018-09-05 Tom de Vries <tdevries@suse.de>
2712
2713 * gdb.dwarf2/varval.exp: Add test.
2714
2715 2018-09-04 Gary Benson <gbenson@redhat.com>
2716
2717 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2718 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2719
2720 2018-08-31 Tom Tromey <tom@tromey.com>
2721
2722 * gdb.rust/simple.rs: Rename second variable "v".
2723
2724 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2725
2726 * gdb.base/funcargs.c (use_a): New function.
2727 (recurse): Call use_a.
2728
2729 2018-08-29 Keith Seitz <keiths@redhat.com>
2730
2731 * gdb.compile/compile-cplus-anonymous.cc: New file.
2732 * gdb.compile/compile-cplus-anonymous.exp: New file.
2733 * gdb.compile/compile-cplus-array-decay.cc: New file.
2734 * gdb.compile/compile-cplus-array-decay.exp: New file.
2735 * gdb.compile/compile-cplus-inherit.cc: New file.
2736 * gdb.compile/compile-cplus-inherit.exp: New file.
2737 * gdb.compile/compile-cplus-member.cc: New file.
2738 * gdb.compile/compile-cplus-member.exp: New file.
2739 * gdb.compile/compile-cplus-method.cc: New file.
2740 * gdb.compile/compile-cplus-method.exp: New file.
2741 * gdb.compile/compile-cplus-mod.c: "New" file.
2742 * gdb.compile/compile-cplus-namespace.cc: New file.
2743 * gdb.compile/compile-cplus-namespace.exp: New file.
2744 * gdb.compile/compile-cplus-nested.cc: New file.
2745 * gdb.compile/compile-cplus-nested.exp: New file.
2746 * gdb.compile/compile-cplus-print.c: "New" file.
2747 * gdb.compile/compile-cplus-print.exp: "New" file.
2748 * gdb.compile/compile-cplus-virtual.cc: New file.
2749 * gdb.compile/compile-cplus-virtual.exp: New file.
2750 * gdb.compile/compile-cplus.c: "New" file.
2751 * gdb.compile/compile-cplus.exp: "New" file.
2752 * lib/compile-support.exp: New file.
2753
2754 2018-08-16 Gary Benson <gbenson@redhat.com>
2755
2756 PR gdb/13000:
2757 * gdb.base/batch-exit-status.exp: New file.
2758 * gdb.base/batch-exit-status.good-commands: Likewise.
2759 * gdb.base/batch-exit-status.bad-commands: Likewise.
2760
2761 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2762
2763 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2764 (struct struct02): Likewise.
2765 (struct struct03): Likewise.
2766 (struct struct04): Likewise.
2767 (struct struct_01_01): New struct.
2768 (struct struct_01_02): Likewise.
2769 (struct struct_01_03): Likewise.
2770 (struct struct_01_04): Likewise.
2771 (struct struct_02_01): Likewise.
2772 (struct struct_02_02): Likewise.
2773 (struct struct_02_03): Likewise.
2774 (struct struct_02_04): Likewise.
2775 (struct struct_04_01): Likewise.
2776 (struct struct_04_02): Likewise.
2777 (struct struct_04_03): Likewise.
2778 (struct struct_04_04): Likewise.
2779 (struct struct_05_01): Likewise.
2780 (struct struct_05_02): Likewise.
2781 (struct struct_05_03): Likewise.
2782 (struct struct_05_04): Likewise.
2783 (cmp_struct01): Remove function.
2784 (cmp_struct02): Likewise.
2785 (cmp_struct03): Likewise.
2786 (cmp_struct04): Likewise.
2787 (cmp_struct_01_01): Add Function.
2788 (cmp_struct_01_02): Likewise.
2789 (cmp_struct_01_03): Likewise.
2790 (cmp_struct_01_04): Likewise.
2791 (cmp_struct_02_01): Likewise.
2792 (cmp_struct_02_02): Likewise.
2793 (cmp_struct_02_03): Likewise.
2794 (cmp_struct_02_04): Likewise.
2795 (cmp_struct_04_01): Likewise.
2796 (cmp_struct_04_02): Likewise.
2797 (cmp_struct_04_03): Likewise.
2798 (cmp_struct_04_04): Likewise.
2799 (cmp_struct_05_01): Likewise.
2800 (cmp_struct_05_02): Likewise.
2801 (cmp_struct_05_03): Likewise.
2802 (cmp_struct_05_04): Likewise.
2803 (call_all): Add new structs.
2804 * gdb.base/infcall-nested-structs.exp: Likewise.
2805
2806 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2807
2808 * gdb.python/py-framefilter-mi.exp: Update regexp to
2809 check for "arch" field in frame output.
2810
2811 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2812
2813 * gdb.dwarf2/dw2-ranges-func.c: New file.
2814 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2815
2816 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2817
2818 * gdb.base/term.exp: Compare terminal settings with values from
2819 the inferior.
2820 * gdb.base/term.c: Get and set terminal settings.
2821
2822 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2823
2824 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2825 accommodate new "arch" field in frame output.
2826 * gdb.mi/mi-return.exp: Likewise.
2827 * gdb.mi/mi-stack.exp: Likewise.
2828 * gdb.mi/mi-syn-frame.exp: Likewise.
2829 * gdb.mi/user-selected-context-sync.exp: Likewise.
2830
2831 2018-08-19 Michael Spang <spang@google.com>
2832
2833 PR gdb/11786
2834 * gdb.base/gcore-tls-pie.c: New file.
2835 * gdb.base/gcore-tls-pie.exp: New file.
2836
2837 2018-08-18 Kevin Buettner <kevinb@redhat.com>
2838
2839 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2840 * gdb.dwarf2/varval.c: New file.
2841 * gdb.dwarf2/varval.exp: New file.
2842
2843 2018-08-17 Alan Hayward <alan.hayward@arm.com>
2844
2845 PR gdb/18931
2846 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2847
2848 2018-08-16 Keith Seitz <keiths@redhat.com>
2849
2850 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2851 tests expected to pass.
2852
2853 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2854
2855 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2856 -data-disassemble -a.
2857 (test_disassembly_bogus_args): Likewise.
2858
2859 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2860
2861 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2862
2863 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2864
2865 * gdb.base/vla-optimized-out.exp: Add new test.
2866
2867 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2868
2869 * gdb.base/vla-optimized-out-o3.exp: Delete.
2870 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2871 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2872 deleted tests.
2873
2874 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2875
2876 PR gdb/18050:
2877 * gdb.server/extended-remote-restart.c: New file.
2878 * gdb.server/extended-remote-restart.exp: New file.
2879
2880 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2881
2882 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2883 "set variable index = 42".
2884
2885 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2886
2887 * boards/index-cache-gdb.exp: New file.
2888 * gdb.dwarf2/index-cache.exp: New file.
2889 * gdb.dwarf2/index-cache.c: New file.
2890 * gdb.base/maint.exp: Check if we are using the index cache.
2891
2892 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2893
2894 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2895 MAKEFLAGS.
2896
2897 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2898
2899 * dg-extract-results.sh: Move to toplevel contrib.
2900 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2901 * Makefile.in (check-parallel-racy): Likewise.
2902
2903 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2904
2905 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2906 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2907 tests if the target supports scheduler locking.
2908
2909 2018-08-04 Tom de Vries <tdevries@suse.de>
2910
2911 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2912
2913 2018-08-02 Tom Tromey <tom@tromey.com>
2914
2915 PR symtab/16842.
2916 * gdb.cp/temargs.exp: Test "info address" of a template
2917 parameter.
2918
2919 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2920
2921 * gdb.python/py-mi-var-info-path-expression.c: New file.
2922 * gdb.python/py-mi-var-info-path-expression.py: New file.
2923 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2924
2925 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2926
2927 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2928 error after "cannot resolve name" string.
2929
2930 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2931
2932 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2933 started.
2934 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2935
2936 2018-07-28 Tom de Vries <tdevries@suse.de>
2937
2938 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2939
2940 2018-07-26 Tom de Vries <tdevries@suse.de>
2941
2942 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2943
2944 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2945
2946 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2947 is visible.
2948
2949 2018-07-26 Tom de Vries <tdevries@suse.de>
2950
2951 PR breakpoints/23366
2952 * gdb.base/catch-follow-exec.c: New test.
2953 * gdb.base/catch-follow-exec.exp: New file.
2954
2955 2018-07-25 Tom de Vries <tdevries@suse.de>
2956
2957 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2958 vla-optimized-out.c.
2959
2960 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2961
2962 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2963 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2964
2965 2018-07-20 Tom de Vries <tdevries@suse.de>
2966
2967 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2968 NOCLONE macro.
2969 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2970
2971 2018-07-19 Tom de Vries <tdevries@suse.de>
2972
2973 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2974 regular expression.
2975
2976 2018-07-18 Tom de Vries <tdevries@suse.de>
2977
2978 * gdb.base/vla-optimized-out.c: New test.
2979 * gdb.base/vla-optimized-out.exp: New file.
2980
2981 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2982
2983 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2984 message "No address associated with hostname" when gdbserver
2985 cannot resolve the hostname.
2986
2987 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2988
2989 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2990 Add some test prefixes to make tests unique.
2991
2992 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2993
2994 * gdb.base/frameapply.c: New file.
2995 * gdb.base/frameapply.exp: New file.
2996
2997 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2998
2999 * gdb.base/skip.exp: Update expected error message.
3000
3001 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3002 Jan Kratochvil <jan.kratochvil@redhat.com>
3003 Paul Fertser <fercerpav@gmail.com>
3004 Tsutomu Seki <sekiriki@gmail.com>
3005
3006 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3007 parameter.
3008 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3009 by default.
3010 * boards/native-gdbserver.exp: Likewise.
3011 * gdb.server/run-without-local-binary.exp: Improve regexp used
3012 for detecting when a remote debugging connection succeeds.
3013 * gdb.server/server-connect.exp: New file.
3014 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3015 Do not prefix the port number with ":".
3016 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3017 support for detecting and using it. Add '$debughost_gdbserver'
3018 to the list of arguments used to start gdbserver. Handle case
3019 when gdbserver cannot resolve a network name.
3020
3021 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3022
3023 PR c++/23373
3024 * gdb.base/ptype-offsets.cc (struct static_member): New
3025 struct.
3026 (main) <stmember>: New variable.
3027 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3028 with a static member in it.
3029
3030 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3031
3032 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3033 watchpoints enabled and disabled.
3034
3035 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3036
3037 * gdb.base/examine-backward.exp: Still run tests around address
3038 0x0, even if address 0x0 is not readable. Update the pattern for
3039 matching address 0x0 in expected output.
3040
3041 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3042
3043 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3044 malloc/free.
3045
3046 2018-07-04 Tom de Vries <tdevries@suse.de>
3047
3048 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3049
3050 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3051
3052 PR tdep/8282
3053 * gdb.arch/mips-disassembler-options.exp: New test.
3054 * gdb.arch/mips-disassembler-options.s: New test source.
3055
3056 2018-06-29 Pedro Alves <palves@redhat.com>
3057
3058 * gdb.threads/names.exp: Adjust expected "info threads" output.
3059
3060 2018-06-29 Pedro Alves <palves@redhat.com>
3061
3062 * gdb.opt/inline-break.exp (line number, address): Add "info
3063 break" tests.
3064
3065 2018-06-29 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3068 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3069 number and address and running to them.
3070
3071 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3072
3073 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3074
3075 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3076
3077 * lib/compiler.c: Remove executable permission flag.
3078
3079 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3080
3081 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3082 code.
3083 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3084
3085 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3086
3087 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3088
3089 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3090
3091 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3092 address argument is omitted.
3093
3094 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3095
3096 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3097
3098 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3099
3100 PR gdb/21695
3101 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3102 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3103
3104 2018-06-26 Tom Tromey <tom@tromey.com>
3105
3106 PR rust/22574:
3107 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3108 * gdb.rust/simple.rs (struct SimpleLayout): New.
3109
3110 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3111
3112 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3113 "info registers" output.
3114
3115 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3116
3117 * gdb.base/watchpoint-hw-attach.c: New test.
3118 * gdb.base/watchpoint-hw-attach.exp: New file.
3119
3120 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3121
3122 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3123 through /bin/sh.
3124 * boards/dwarf4-gdb-index.exp: Likewise.
3125 * boards/fission-dwp.exp: Likewise.
3126
3127 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3128
3129 * gdb.base/float128.exp: Add comment and improved fail message
3130 to the failure case of "print large128" test.
3131
3132 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3133
3134 * configure.ac: Remove AC_PREREQ.
3135 * configure: Re-generate.
3136
3137 2018-06-19 Pedro Alves <palves@redhat.com>
3138
3139 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3140 (func_extern_caller): New.
3141 (main): Call func_extern_caller.
3142 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3143 logic change.
3144
3145 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3146
3147 PR gdb/16841
3148 * gdb.cp/typedef-base.cc: New file.
3149 * gdb.cp/typedef-base.exp: New file.
3150
3151 2018-06-18 Tom de Vries <tdevries@suse.de>
3152
3153 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3154
3155 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3156 Richard Bunt <Richard.Bunt@arm.com>
3157
3158 * gdb.threads/attach-slow-waitpid.c: New file.
3159 * gdb.threads/attach-slow-waitpid.exp: New file.
3160 * gdb.threads/slow-waitpid.c: New file.
3161
3162 2018-06-14 Pedro Alves <palves@redhat.com>
3163
3164 * gdb.base/fork-running-state.c: Include <errno.h>.
3165 (exit_if_relative_exits): New.
3166 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3167 exits.
3168 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3169 child exits.
3170
3171 2018-06-14 Tom de Vries <tdevries@suse.de>
3172
3173 PR cli/22573
3174 * gdb.base/finish-pretty.c: New test.
3175 * gdb.base/finish-pretty.exp: New file.
3176
3177 2018-06-14 Pedro Alves <palves@redhat.com>
3178
3179 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3180 gdb's expected startup output.
3181
3182 2018-06-14 Pedro Alves <palves@redhat.com>
3183
3184 * lib/selftest-support.exp (selftest_setup): Remove inlined
3185 function handling.
3186
3187 2018-06-14 Tom de Vries <tdevries@suse.de>
3188
3189 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3190 matching of breakpoint printing.
3191
3192 2018-06-13 Tom de Vries <tdevries@suse.de>
3193
3194 PR testsuite/23269
3195 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3196 (fork_child): ... here, and ...
3197 (fork_parent): ... here.
3198
3199 2018-06-12 Tom de Vries <tdevries@suse.de>
3200
3201 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3202
3203 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3204 Stephen Roberts <stephen.roberts@arm.com>
3205
3206 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3207 rewrite test to describe action performed, rather than possible
3208 failure.
3209
3210 2018-06-08 Gary Benson <gbenson@redhat.com>
3211
3212 * gdb.threads/check-libthread-db.exp: New file.
3213 * gdb.threads/check-libthread-db.c: Likewise.
3214
3215 2018-06-05 Tom Tromey <tom@tromey.com>
3216
3217 * gdb.base/default.exp: Update expected "show version" output.
3218
3219 2018-06-05 Tom Tromey <tom@tromey.com>
3220
3221 PR cli/12326:
3222 * gdb.cp/static-print-quit.exp: Update.
3223 * lib/gdb.exp (pagination_prompt): Update.
3224 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3225 * gdb.python/python.exp: Update.
3226
3227 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3228
3229 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3230
3231 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3232
3233 * gdb.ada/bp_fun_addr: New testcase.
3234
3235 2018-06-01 Tom Tromey <tom@tromey.com>
3236
3237 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3238 results.
3239 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3240 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3241 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3242 * gdb.base/maint.exp (maint_pass_if): Update.
3243
3244 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3245
3246 * gdb.base/endian.exp: New test.
3247 * gdb.base/endian.c: New test source.
3248
3249 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3250
3251 PR gdb/23203
3252 * gdb.base/bt-selected-frame.c: New file.
3253 * gdb.base/bt-selected-frame.exp: New file.
3254 * lib/gdb.exp (get_current_frame_number): New function.
3255
3256 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3257 Pedro Alves <palves@redhat.com>
3258
3259 * gdb.threads/tls-core.c: Include <stdlib.h>
3260 (thread_proc): Call `abort'.
3261 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3262 (tls_core_test): New procedure, bits factored out from ...
3263 (top level): ... here. Test both native cores and gcore cores.
3264
3265 2018-05-23 Tom Tromey <tom@tromey.com>
3266
3267 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3268
3269 2018-05-23 Tom Tromey <tom@tromey.com>
3270
3271 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3272 symfile_complaints.
3273 (test_short_complaints): Likewise.
3274 (test_empty_complaints): Likewise.
3275 (test_initial_complaints): Update.
3276
3277 2018-05-23 Tom Tromey <tom@tromey.com>
3278
3279 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3280
3281 2018-05-23 Tom Tromey <tom@tromey.com>
3282
3283 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3284 (test_short_complaints): Update.
3285
3286 2018-05-22 Pedro Alves <palves@redhat.com>
3287
3288 * gdb.base/remote.exp: Only gdb_start after compiling the
3289 testcase. Issue "disconnect" before testing "set remote" command
3290 defaults. Issue clean_restart before running to main.
3291
3292 2018-05-22 Pedro Alves <palves@redhat.com>
3293
3294 * gdb.base/remote.exp: Adjust expected output of "show remote
3295 memory-write-packet-size". Add tests for "set remote
3296 memory-write-packet-size 0" and "set remote
3297 memory-write-packet-size fixed/limit".
3298
3299 2018-05-22 Pedro Alves <palves@redhat.com>
3300
3301 PR gdb/22973
3302 * gdb.base/utf8-identifiers.c: New file.
3303 * gdb.base/utf8-identifiers.exp: New file.
3304
3305 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3306
3307 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3308
3309 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3310
3311 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3312
3313 2018-05-18 Tom Tromey <tom@tromey.com>
3314
3315 * gdb.base/ptype-offsets.exp: Update.
3316
3317 2018-05-17 Keith Seitz <keiths@redhat.com>
3318
3319 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3320 in expected breakpoint stop locations.
3321 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3322 move to proper scope to test variable values.
3323 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3324 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3325 New functions.
3326 (main): Call not_inline_func3.
3327 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3328 inline_func1, inline_func2, and inline_func3. Test that when each
3329 breakpoint is hit, GDB properly reports both the stop location
3330 and the backtrace. Repeat tests for temporary breakpoints.
3331
3332 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3333
3334 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3335 rather then trying to access it in determining whether the PID
3336 of `gdbserver' could have been retrieved.
3337
3338 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3339
3340 * gdb.arch/amd64-init-x87-values.S: New file.
3341 * gdb.arch/amd64-init-x87-values.exp: New file.
3342
3343 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3344
3345 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3346
3347 2018-05-04 Tom Tromey <tom@tromey.com>
3348
3349 PR python/22730:
3350 * gdb.python/python.exp: Test multi-line execute.
3351
3352 2018-05-04 Tom Tromey <tom@tromey.com>
3353
3354 PR python/22731:
3355 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3356
3357 2018-05-04 Tom Tromey <tom@tromey.com>
3358
3359 PR gdb/11750:
3360 * gdb.base/define.exp: Test defining a user command inside a user
3361 command.
3362 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3363
3364 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3365 Pedro Alves <palves@redhat.com>
3366
3367 PR breakpoints/19806 and support for PR external/20207.
3368 * gdb.base/watchpoint-unaligned.c: New file.
3369 * gdb.base/watchpoint-unaligned.exp: New file.
3370
3371 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3372
3373 * gdb.base/maint.exp: Make test names unique, use
3374 test_prefix_command_help to test 'help maint info', and remove
3375 repeated test of 'help maint'.
3376
3377 2018-05-04 Tom Tromey <tom@tromey.com>
3378
3379 PR gdb/22619:
3380 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3381 behavior.
3382
3383 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3384
3385 * gdb.base/maint.exp: Process output from 'maint print registers'
3386 line at a time.
3387
3388 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3389
3390 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3391 timeout.
3392
3393 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3394
3395 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3396 filter pattern.
3397
3398 2018-05-02 Pedro Alves <palves@redhat.com>
3399
3400 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3401 to_log_command renames.
3402 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3403
3404 2018-05-02 Tom Tromey <tom@tromey.com>
3405
3406 * gdb.python/py-parameter.exp: Set test message.
3407
3408 2018-05-02 Tom Tromey <tom@tromey.com>
3409
3410 PR python/20084:
3411 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3412 PARAM_ZUINTEGER_UNLIMITED tests.
3413
3414 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3415
3416 PR rust/23124
3417 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3418 when casting.
3419
3420 2018-04-30 Tom Tromey <tom@tromey.com>
3421
3422 * gdb.python/py-type.exp: Check align attribute.
3423 * gdb.python/py-type.c: New "aligncheck" global.
3424
3425 2018-04-30 Tom Tromey <tom@tromey.com>
3426
3427 PR exp/17095:
3428 * gdb.dwarf2/dw2-align.exp: New file.
3429 * gdb.cp/align.exp: New file.
3430 * gdb.base/align.exp: New file.
3431 * lib/gdb.exp (gdb_int128_helper): New proc.
3432 (has_int128_c, has_int128_cxx): New caching procs.
3433
3434 2018-04-27 Tom Tromey <tom@tromey.com>
3435
3436 PR rust/22545:
3437 * gdb.rust/simple.exp: Add inclusive range tests.
3438
3439 2018-04-26 Pedro Alves <palves@redhat.com>
3440
3441 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3442 ifunc breakpoint locations correctly of ifunc breakpoints set
3443 while the program resolves the ifunc.
3444
3445 2018-04-26 Pedro Alves <palves@redhat.com>
3446
3447 * gdb.base/gnu-ifunc-final.c: New file.
3448 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3449 * gdb.base/gnu-ifunc.exp (executable): Delete.
3450 (staticexecutable): Adjust.
3451 (lib_opts, exec_opts): Delete.
3452 (make_binsuffix, build, set-break): New procedures.
3453 (misc_tests): New, with tests factored out from the top level.
3454 (top level): Test different combinations of ifunc resolver name,
3455 resolver with and with debug info, and ifunc target with and
3456 without debug info. Wrap static tests with with_target_prefix.
3457
3458 2018-04-26 Pedro Alves <palves@redhat.com>
3459
3460 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3461 return type" warnings.
3462
3463 2018-04-25 Pedro Alves <palves@redhat.com>
3464
3465 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3466 killed".
3467 * gdb.base/kill-after-signal.exp: Likewise.
3468 * gdb.threads/kill.exp: Likewise.
3469
3470 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3471 Sergio Durigan Junior <sergiodj@redhat.com>
3472 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3475 regexps to expect for '[Inferior ... detached]' as well.
3476 * gdb.base/attach.exp: Likewise.
3477 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3478 "gdb_continue_to_end".
3479 (test_catch_syscall_with_wrong_args): Likewise.
3480 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3481 ']'. Don't set 'verbose' on.
3482 * gdb.base/foll-vfork.exp: Likewise.
3483 * gdb.base/fork-print-inferior-events.c: New file.
3484 * gdb.base/fork-print-inferior-events.exp: New file.
3485 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3486 '[Inferior ... has been killed]' message.
3487 * gdb.base/kill-after-signal.exp: Likewise.
3488 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3489 detach message.
3490 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3491 message.
3492 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3493 regexps to expect for '[Inferior ... detached]' as well.
3494 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3495
3496 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3497
3498 PR gdb/23104
3499 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3500
3501 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3502
3503 * gdb.threads/multiple-successive-infcall.c: New test.
3504 * gdb.threads/multiple-successive-infcall.exp: New file.
3505
3506 2018-04-17 Tom Tromey <tom@tromey.com>
3507
3508 * gdb.rust/simple.rs (Union): New type.
3509 (main): New local "u".
3510 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3511
3512 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3513
3514 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3515 number information in output of "whereis" command.
3516 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3517
3518 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3519
3520 * gdb.ada/info_types.exp: Adjust expected output to the line
3521 numbers now printed by "info var/func/type".
3522 * gdb.base/completion.exp: Likewise.
3523 * gdb.base/included.exp: Likewise.
3524 * gdb.cp/cp-relocate.exp: Likewise.
3525 * gdb.cp/cplusfuncs.exp: Likewise.
3526 * gdb.cp/namespace.exp: Likewise.
3527 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3528
3529 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3530
3531 * gdb.btrace/cpu.exp: New.
3532
3533 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3534
3535 * gdb.base/step-indirect-call-thunk.exp: New.
3536 * gdb.base/step-indirect-call-thunk.c: New.
3537 * gdb.reverse/step-indirect-call-thunk.exp: New.
3538 * gdb.reverse/step-indirect-call-thunk.c: New.
3539
3540 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3541
3542 * gdb.base/pie-fork.c: New file.
3543 * gdb.base/pie-fork.exp: New file.
3544
3545 2018-04-11 Tom Tromey <tom@tromey.com>
3546
3547 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3548
3549 2018-04-10 Pedro Alves <palves@redhat.com>
3550
3551 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3552 exits. Instead loop running forever.
3553 (fork_parent): Run forever too.
3554
3555 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3556
3557 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3558 mi_continue_to_line.
3559 * gdb.mi/mi-stack.c (callee4): Add comment.
3560
3561 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3562
3563 * gdb.mi/mi-stack.exp: Fix indentation.
3564
3565 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3566
3567 PR gdb/22979
3568 * gdb.arch/amd64-osabi.exp: New file.
3569
3570 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3571
3572 PR gdb/22980
3573 * gdb.base/osabi.exp: New file.
3574
3575 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3576
3577 * gdb.cp/static-typedef-print.exp: New file.
3578 * gdb.cp/static-typedef-print.cc: New file.
3579
3580 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3581
3582 * gdb.ada/varsize_limit: New testcase.
3583
3584 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3585
3586 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3587
3588 * gdb.ada/notcplusplus: New testcase.
3589
3590 * gdb.base/c-linkage-name.c: New file.
3591 * gdb.base/c-linkage-name.exp: New testcase.
3592
3593 2018-03-26 Tom Tromey <tom@tromey.com>
3594
3595 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3596 * gdb.python/py-framefilter.py (name_error): New global.
3597 (ErrorInName.function): Use name_error.
3598
3599 2018-03-26 Tom Tromey <tom@tromey.com>
3600
3601 PR backtrace/15582:
3602 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3603
3604 2018-03-23 Keith Seitz <keiths@redhat.com>
3605
3606 PR c++/22968
3607 * gdb.cp/subtypes.exp: New file.
3608 * gdb.cp/subtypes.h: New file.
3609 * gdb.cp/subtypes.cc: New file.
3610 * gdb.cp/subtypes-2.cc: New file.
3611
3612 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3613
3614 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3615 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3616 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3617 -nostartfiles when compiling the test. Confirm that all registers
3618 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3619
3620 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3621
3622 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3623 option, syntax was wrong anyway.
3624 * gdb.arch/arm-disp-step.exp: Likewise.
3625 * gdb.arch/sparc64-regs.exp: Likewise.
3626 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3627 option, syntax was wrong anyway, switch to use
3628 prepare_for_testing.
3629 * gdb.arch/i386-disp-step.exp: Likewise.
3630
3631 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3632
3633 * gdb.ada/exec_changed.exp: Replace "target_info exists
3634 use_gdb_stub" by "use_gdb_stub".
3635 * gdb.ada/start.exp: Likewise.
3636 * gdb.base/async-shell.exp: Likewise.
3637 * gdb.base/attach-pie-misread.exp: Likewise.
3638 * gdb.base/attach-wait-input.exp: Likewise.
3639 * gdb.base/break-entry.exp: Likewise.
3640 * gdb.base/break-interp.exp: Likewise.
3641 * gdb.base/dprintf-detach.exp: Likewise.
3642 * gdb.base/nostdlib.exp: Likewise.
3643 * gdb.base/solib-nodir.exp: Likewise.
3644 * gdb.base/statistics.exp: Likewise.
3645 * gdb.base/testenv.exp: Likewise.
3646 * gdb.mi/mi-exec-run.exp: Likewise.
3647 * gdb.mi/mi-start.exp: Likewise.
3648 * gdb.multi/dummy-frame-restore.exp: Likewise.
3649 * gdb.multi/multi-arch-exec.exp: Likewise.
3650 * gdb.multi/multi-arch.exp: Likewise.
3651 * gdb.multi/tids.exp: Likewise.
3652 * gdb.multi/watchpoint-multi.exp: Likewise.
3653 * gdb.python/py-events.exp: Likewise.
3654 * gdb.threads/attach-into-signal.exp: Likewise.
3655 * gdb.threads/attach-stopped.exp: Likewise.
3656 * gdb.threads/threadapply.exp: Likewise.
3657 * lib/selftest-support.exp: Likewise.
3658
3659 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3660
3661 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3662
3663 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3664
3665 * gdb.perf/template-breakpoints.cc: New file.
3666 * gdb.perf/template-breakpoints.exp: New file.
3667 * gdb.perf/template-breakpoints.py: New file.
3668
3669 2018-03-19 Tom Tromey <tom@tromey.com>
3670
3671 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3672 y0.
3673 * gdb.rust/simple.exp: Test bare identifier form of struct
3674 initializer.
3675
3676 2018-03-19 Tom Tromey <tom@tromey.com>
3677
3678 * gdb.gdb/observer.exp: Remove.
3679
3680 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3681
3682 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3683 "qualified" option when setting breakpoints.
3684 * gdb.trace/backtrace.exp: Likewise.
3685 * gdb.trace/circ.exp: Likewise.
3686 * gdb.trace/collection.exp: Likewise.
3687 * gdb.trace/disconnected-tracing.exp: Likewise.
3688 * gdb.trace/ftrace-lock.exp: Likewise.
3689 * gdb.trace/ftrace.exp: Likewise.
3690 * gdb.trace/infotrace.exp: Likewise.
3691 * gdb.trace/packetlen.exp: Likewise.
3692 * gdb.trace/passc-dyn.exp: Likewise.
3693 * gdb.trace/qtro.exp: Likewise.
3694 * gdb.trace/read-memory.exp: Likewise.
3695 * gdb.trace/report.exp: Likewise.
3696 * gdb.trace/signal.exp: Likewise.
3697 * gdb.trace/status-stop.exp: Likewise.
3698 * gdb.trace/strace.exp: Likewise.
3699 * gdb.trace/tfind.exp: Likewise.
3700 * gdb.trace/trace-break.exp: Likewise.
3701 * gdb.trace/trace-condition.exp: Likewise.
3702 * gdb.trace/trace-mt.exp: Likewise.
3703 * gdb.trace/tstatus.exp: Likewise.
3704 * gdb.trace/tsv.exp: Likewise.
3705 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3706 * gdb.trace/unavailable.exp: Likewise.
3707 * gdb.trace/while-dyn.exp: Likewise.
3708
3709 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3710
3711 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3712 that libinproctrace is copied to the target.
3713
3714 2018-03-14 Tom Tromey <tom@tromey.com>
3715
3716 PR cli/14977:
3717 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3718 a null pointer.
3719 * gdb.base/wchar.exp: Likewise.
3720
3721 2018-03-14 Tom Tromey <tom@tromey.com>
3722
3723 PR cli/19918:
3724 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3725 flag.
3726
3727 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3728
3729 PR gdb/22841
3730 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3731 "target" to remote_exec.
3732
3733 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3734
3735 PR gdb/22841
3736 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3737 ${board}_upload): Remove.
3738
3739 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3740
3741 * gdb.cp/watch-cp.cc: New test.
3742 * gdb.cp/watch-cp.exp: New file.
3743
3744 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3745
3746 * gdb.base/infcall-nested-structs.exp: New file.
3747 * gdb.base/infcall-nested-structs.c: New file.
3748 * gdb.base/float.exp: Add riscv support.
3749
3750 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3751
3752 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3753 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3754
3755 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3756
3757 * gdb.server/abspath.exp: New file.
3758 * lib/gdb.exp (with_cwd): New procedure.
3759
3760 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3761
3762 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3763 use it.
3764 (gdb_is_target_remote_prompt): New proc.
3765 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3766 (gdb_is_target_native): Pass prompt parameter to
3767 gdb_is_target_1.
3768
3769 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3770
3771 * gdb.base/load-command.c: New file.
3772 * gdb.base/load-command.exp: New file.
3773 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3774 (gdb_is_target_1): ...this, and generalize for other targets
3775 than just remote.
3776 (gdb_is_target_remote): Use gdb_is_target_1.
3777 (gdb_is_target_native): use gdb_is_target_1.
3778
3779 2018-02-26 Tom Tromey <tom@tromey.com>
3780
3781 PR python/16497:
3782 * gdb.python/py-framefilter.exp: Update test.
3783
3784 2018-02-26 Tom Tromey <tom@tromey.com>
3785
3786 * gdb.dwarf2/variant.c: New file.
3787 * gdb.dwarf2/variant.exp: New file.
3788
3789 2018-02-26 Tom Tromey <tom@tromey.com>
3790
3791 * gdb.rust/simple.exp: Accept more possible results in enum test.
3792
3793 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3794
3795 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3796 parentheses.
3797
3798 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3799
3800 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3801 name of a variable: $actual_linejj -> $actual_line.
3802
3803 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3804
3805 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3806
3807 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3808
3809 * gdb.btrace/buffer-size.exp: Do not force BTS.
3810
3811 2018-02-14 Pedro Alves <palves@redhat.com>
3812
3813 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3814 getting a "Quit".
3815
3816 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3817
3818 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3819 Fix test name.
3820
3821 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3822
3823 * gdb.cp/m-static.exp: Check type of optimized out static
3824 member.
3825
3826 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3827
3828 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3829 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3830
3831 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3832 Leszek Swirski <leszeks@google.com>
3833
3834 * gdb.python/py-prettyprint.c
3835 (struct to_string_returns_value_inner,
3836 struct to_string_returns_value_wrapper): New.
3837 (main): Add tsrvw variable.
3838 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3839 ToStringReturnsValueWrapper): New classes.
3840 (register_pretty_printers): Register new pretty-printers.
3841 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3842 recursive pretty printer.
3843 * gdb.python/py-mi.exp: Likewise.
3844
3845 2018-02-01 Leszek Swirski <leszeks@google.com>
3846
3847 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3848 functions with the same name as an include file are parsed
3849 correctly.
3850
3851 2018-02-01 Yao Qi <yao.qi@linaro.org>
3852
3853 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3854 "\[^\r\n\]*".
3855
3856 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3857
3858 * gdb.arch/powerpc-prologue-frame.s: New file.
3859 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3860 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3861
3862 2018-01-31 Joel Brobecker <brobecker@adacore.com>
3863
3864 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3865
3866 2018-01-30 Pedro Alves <palves@redhat.com>
3867
3868 PR gdb/13211
3869 * gdb.base/interrupt-daemon.c: New.
3870 * gdb.base/interrupt-daemon.exp: New.
3871 * gdb.multi/multi-term-settings.c: New.
3872 * gdb.multi/multi-term-settings.exp: New.
3873
3874 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3875
3876 * gdb.base/break.exp: Save the location where the breakpoint
3877 on break.c:47 was actually inserted when debugging the version
3878 compiled at -O2 and use it in the expected output of the "info
3879 break" test performed soon after.
3880
3881 2018-01-22 Pedro Alves <palves@redhat.com>
3882 Sergio Durigan Junior <sergiodj@redhat.com>
3883
3884 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3885 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3886
3887 2018-01-22 Joel Brobecker <brobecker@adacore.com>
3888
3889 * gdb.base/break-include.c, gdb.base/break-include.inc,
3890 gdb.base/break-include.exp: New files.
3891 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3892 line number now being the actual line number where the breakpoint
3893 was inserted.
3894 * gdb.mi/mi-break.exp: Likewise.
3895 * gdb.mi/mi-reverse.exp: Likewise.
3896 * gdb.mi/mi-simplerun.exp: Ditto.
3897
3898 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3899
3900 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3901 varobj.
3902 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3903
3904 2018-01-21 Don Breazeal <donb@codesourcery.com>
3905 Andrew Burgess <andrew.burgess@embecosm.com>
3906
3907 * gdb.mi/basics.c: Add new global.
3908 * gdb.mi/mi-frame-regs.exp: New file.
3909 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3910 case.
3911
3912 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3913
3914 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3915 non-parameter, and on an unknown symbol.
3916
3917 2018-01-19 Tom Tromey <tom@tromey.com>
3918
3919 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3920 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3921
3922 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3923
3924 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3925 setrlimit and chdir to int.
3926
3927 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3928
3929 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3930 function.
3931 (my_tend): Likewise.
3932 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3933 rationale of avoiding FP- and vector instructions.
3934
3935 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3936
3937 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3938 "info reg" with "\[ \t\]*".
3939 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3940 "\[ \t\]+".
3941 * gdb.arch/s390-multiarch.exp: Ditto.
3942 * gdb.base/pc-fp.exp: Ditto.
3943 * gdb.reverse/i386-precsave.exp: Ditto.
3944 * gdb.reverse/i386-reverse.exp: Ditto.
3945 * gdb.reverse/i387-env-reverse.exp: Ditto.
3946 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3947
3948 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3949
3950 * lib/gdb.exp (gdb_compile): Re-enable use of
3951 universal_compile_options for languages other than Rust.
3952
3953 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3954
3955 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3956
3957 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3958
3959 PR gdb/16577
3960 * gdb.base/solib-vanish.exp: New.
3961 * gdb.base/solib-vanish-main.c: New.
3962 * gdb.base/solib-vanish-lib1.c: New.
3963 * gdb.base/solib-vanish-lib2.c: New.
3964
3965 2018-01-17 Yao Qi <yao.qi@linaro.org>
3966
3967 * gdb.compile/compile.exp: Match the address printed for
3968 frame in the output of command "bt".
3969
3970 2018-01-15 Tom Tromey <tom@tromey.com>
3971
3972 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3973 compute sp_reg.
3974
3975 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3976
3977 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3978 to prepare.
3979 (prepare): Return 0 on error, 1 on success.
3980
3981 2018-01-12 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.base/continue-after-aborted-step-over.c: New.
3984 * gdb.base/continue-after-aborted-step-over.exp: New.
3985
3986 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3987
3988 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3989 options when not creating an executable.
3990
3991 2018-01-11 Pedro Alves <palves@redhat.com>
3992
3993 PR remote/22597
3994 * gdb.server/stop-reply-no-thread.c: New file.
3995 * gdb.server/stop-reply-no-thread.exp: New file.
3996
3997 2018-01-10 Pedro Alves <palves@redhat.com>
3998
3999 PR gdb/22670
4000 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4001 functions too. Test setting breakpoints and printing C functions
4002 with no debug info too.
4003 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4004
4005 2018-01-10 Pedro Alves <palves@redhat.com>
4006
4007 PR gdb/22670
4008 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4009 a fail.
4010
4011 2018-01-10 Pedro Alves <palves@redhat.com>
4012
4013 PR gdb/22670
4014 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4015
4016 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4017
4018 * gdb.server/unittest.exp: Match the output in non-development
4019 mode.
4020
4021 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4022
4023 * gdb.gdb/unittest.exp: Match output in non-development mode.
4024
4025 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4026
4027 * gdb.ada/access_tagged_param.exp: Relax expected output
4028 for value of "ObjL" in "continue" to pck.inspect breakpoint
4029 test.
4030
4031 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4032
4033 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4034 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4035
4036 2018-01-05 Pedro Alves <palves@redhat.com>
4037
4038 PR gdb/18653
4039 * gdb.base/libsegfault.exp: New.
4040
4041 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4042
4043 PR gdb/22670
4044 * gdb.ada/access_tagged_param.exp: New file.
4045 * gdb.ada/access_tagged_param/foo.adb: New file.
4046
4047 2018-01-05 Pedro Alves <palves@redhat.com>
4048
4049 PR gdb/22670
4050 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4051 exercise lower case too, and to exercise both full matching and
4052 wild matching.
4053
4054 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4055
4056 * gdb.ada/rename_subscript_param: New testcase.
4057
4058 2018-01-05 Jerome Guitton <guitton@adacore.com>
4059
4060 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4061
4062 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4063
4064 * gdb.ada/convvar_comp: New testcase.
4065
4066 2018-01-05 Xavier Roirand <roirand@adacore.com>
4067
4068 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4069 (My_Table): New global variable.
4070 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4071
4072 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4073
4074 PR gdb/22670
4075 * gdb.ada/maint_with_ada: New testcase.
4076
4077 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4078
4079 PR gdb/22670
4080 * gdb.ada/bp_c_mixed_case: New testcase.
4081
4082 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4083
4084 PR gdb/22670
4085 * gdb.ada/complete.exp: Add "complete break ada" test.
4086
4087 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4088
4089 PR gdb/22670
4090 * gdb.ada/info_addr_mixed_case: New testcase.
4091
4092 2018-01-03 Xavier Roirand <roirand@adacore.com>
4093
4094 * gdb.ada/excep_handle.exp: New testcase.
4095 * gdb.ada/excep_handle/foo.adb: New file.
4096 * gdb.ada/excep_handle/pck.ads: New file.
4097
4098 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4099
4100 * gdb.base/step-line.c: Add extra empty line in copyright header.
4101 * gdb.base/step-line.inp: Likewise.
4102
4103 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4104
4105 * gdb.ada/dyn_stride.exp: Add slice test.
4106
4107 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4108
4109 * gdb.ada/dyn_stride: New testcase.
4110
4111 2017-12-27 Stafford Horne <shorne@gmail.com>
4112
4113 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4114 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4115
4116 2017-12-27 Stafford Horne <shorne@gmail.com>
4117
4118 * gdb.base/reggroups.c: New file.
4119 * gdb.base/reggroups.exp: New file.
4120
4121 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4122
4123 * gdb.dwarf2/ada-valprint-error.c: New file.
4124 * gdb.dwarf2/ada-valprint-error.exp: New file.
4125
4126 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4127
4128 * gdb.ada/assign_arr: New testcase.
4129
4130 2017-12-18 Xavier Roirand <roirand@adacore.com>
4131
4132 * gdb.ada/funcall_ptr: New testcase.
4133
4134 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4135
4136 PR cli/16224
4137 * gdb.base/ptype-offsets.cc: New file.
4138 * gdb.base/ptype-offsets.exp: New file.
4139
4140 2017-12-15 Yao Qi <yao.qi@linaro.org>
4141
4142 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4143 if XML is disabled.
4144
4145 2017-12-15 Xavier Roirand <roirand@adacore.com>
4146
4147 * gdb.ada/same_component_name: New testcase.
4148
4149 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4150
4151 * gdb.ada/str_binop_equal: New testcase.
4152
4153 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4154
4155 * gdb.ada/task_switch_in_core: New testcase.
4156
4157 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4158
4159 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4160 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4161 call test_bkpt_qualified.
4162 (test_bkpt_qualified): New proc.
4163
4164 2017-12-13 Pedro Alves <palves@redhat.com>
4165
4166 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4167 Tighten regexp by matching with an anchor.
4168
4169 2017-12-13 Pedro Alves <palves@redhat.com>
4170
4171 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4172 ("expression with namespace"): New set of tests.
4173 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4174 (Nested::Test_NS::qux): New.
4175 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4176 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4177
4178 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4179
4180 * gdb.base/server-del-break.c: New file.
4181 * gdb.base/server-del-break.exp: New file.
4182
4183 2017-12-12 Stafford Horne <shorne@gmail.com>
4184
4185 * gdb.xml/tdesc-regs.exp: Add or1k support.
4186
4187 2017-12-12 Stafford Horne <shorne@gmail.com>
4188
4189 * gdb.base/bp-permanent.c: Define nop of or1k.
4190
4191 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4192
4193 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4194 output with components being reordered.
4195
4196 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4197
4198 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4199 output with components being reordered.
4200
4201 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4202 Pedro Alves <palves@redhat.com>
4203
4204 * gdb.base/maint.exp (check for .gdb_index): Check also for
4205 .debug_names.
4206 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4207 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4208 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4209 (.gdb_index used after symbol reloading): Support also .debug_names.
4210 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4211
4212 2017-12-08 Yao Qi <yao.qi@linaro.org>
4213
4214 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4215 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4216
4217 2017-12-08 Yao Qi <yao.qi@linaro.org>
4218
4219 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4220 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4221
4222 2017-12-08 Yao Qi <yao.qi@linaro.org>
4223
4224 * gdb.arch/aarch64-tagged-pointer.c: New file.
4225 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4226
4227 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4228
4229 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4230 "int".
4231
4232 2017-12-07 Keith Seitz <keiths@redhat.com>
4233
4234 PR breakpoints/22569
4235 * gdb.linespec/ls-errs.exp: Change expected result of "break
4236 -source this file has spaces.c -line 3".
4237 Check that an explicit source file followed by whitespace is
4238 identified as an invalid explicit location.
4239
4240 2017-12-07 Keith Seitz <keiths@redhat.com>
4241
4242 * gdb.cp/nested-types.cc: New file.
4243 * gdb.cp/nested-types.exp: New file.
4244 * lib/cp-support.exp: Load data-structures.exp library.
4245 (debug_cp_test_ptype_class): New global.
4246 (cp_ptype_class_verbose, next_line): New procedures.
4247 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4248 Add and document new return value.
4249 Switch the list of lines to a queue.
4250 Add support for new `type' key for nested type definitions.
4251 Add debugging/troubleshooting messages.
4252 * lib/data-structures.exp: New file.
4253
4254 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4255
4256 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4257 with proc_with_prefix, don't use with_test_prefix.
4258
4259 2017-12-07 Tom Tromey <tom@tromey.com>
4260
4261 * gdb.base/break.exp: Add test for empty "commands".
4262
4263 2017-12-07 Yao Qi <yao.qi@linaro.org>
4264
4265 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4266 malloc and catch syscall.
4267
4268 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4269
4270 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4271 tests for explicit locations.
4272
4273 2017-12-06 Pedro Alves <palves@redhat.com>
4274
4275 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4276 force-disabling XML descriptions.
4277
4278 2017-12-04 Pedro Alves <palves@redhat.com>
4279
4280 PR gdb/22499
4281 * gdb.arch/amd64-disp-step-avx.S: New file.
4282 * gdb.arch/amd64-disp-step-avx.exp: New file.
4283
4284 2017-12-03 Pedro Alves <palves@redhat.com>
4285
4286 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4287 and <string.h>.
4288 (parent_function): Print distinct messages when waitpid fails, or
4289 the child exits with a signal, or the child exits for an unhandled
4290 reason.
4291 * gdb.threads/process-dies-while-detaching.exp
4292 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4293 it. Wait for both inferior output and GDB's prompt. Use an
4294 indirect spawn id list.
4295 (do_detach): New parameter 'child_exit'. Use it to compute
4296 expected inferior output.
4297 (test_detach, test_detach_watch, test_detach_killed_outside):
4298 Adjust to pass down the expected child exit kind.
4299
4300 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4301 Sergio Durigan Junior <sergiodj@redhat.com>
4302 Pedro Alves <palves@redhat.com>
4303
4304 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4305
4306 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4307
4308 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4309 to 'symbol-file' and 'add-symbol-file' can be
4310 position-independent.
4311
4312 2017-12-01 Yao Qi <yao.qi@linaro.org>
4313
4314 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4315 the URL in copyright header.
4316 * gdb.arch/aarch64-fp.exp: Likewise.
4317 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4318 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4319 * gdb.base/expand-psymtabs.exp: Likewise.
4320 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4321 * gdb.fortran/common-block.exp: Likewise.
4322 * gdb.fortran/common-block.f90: Likewise.
4323 * gdb.fortran/logical.exp: Likewise.
4324 * gdb.fortran/vla-datatypes.f90: Likewise.
4325 * gdb.fortran/vla-sub.f90: Likewise.
4326
4327 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4328
4329 * gdb.ada/repeat_dyn: New testcase.
4330
4331 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4332
4333 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4334 Update for changed thread numbering.
4335 * gdb.cell/bt.exp: Update for changed GDB output.
4336
4337 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4338
4339 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4340 setting isremote by hand.
4341 * boards/dwarf4-gdb-index.exp: Likewise.
4342 * boards/fission.exp: Likewise.
4343 * boards/stabs.exp: Likewise.
4344
4345 2017-11-30 Pedro Alves <palves@redhat.com>
4346
4347 * gdb.linespec/cpls-ops.exp
4348 (check_explicit_skips_function_argument): Extract the underlying
4349 type of size_t instead of hardcoding it.
4350
4351 2017-11-29 Pedro Alves <palves@redhat.com>
4352
4353 PR c++/19436
4354 * gdb.linespec/cpls-abi-tag.cc: New file.
4355 * gdb.linespec/cpls-abi-tag.exp: New file.
4356
4357 2017-11-29 Pedro Alves <palves@redhat.com>
4358
4359 * gdb.base/langs.exp: Use -qualified.
4360 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4361 it.
4362 * gdb.cp/namespace.exp: Use -qualified.
4363 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4364 (overload-3, template-overload, template-ret-type, const-overload)
4365 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4366 procedures.
4367 (test_driver): Call them.
4368 * gdb.cp/save-bp-qualified.cc: New.
4369 * gdb.cp/save-bp-qualified.exp: New.
4370 * gdb.linespec/explicit.exp: Test -qualified.
4371 * lib/completion-support.exp (completion::explicit_opts_list): Add
4372 "-qualified".
4373 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4374
4375 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4376
4377 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4378
4379 2017-11-29 Tom Tromey <tom@tromey.com>
4380
4381 * gdb.base/relocate.exp: Update invalid argument test.
4382 Add new tests for invalid arguments.
4383
4384 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4385
4386 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4387 Return 0 as a long.
4388 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4389
4390 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4391
4392 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4393 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4394 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4395 func ().
4396 * gdb.cp/shadow.cc (B.func): Return 0.
4397
4398 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4399
4400 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4401 expected output in gdb_expect call to allow the exception
4402 message to be present as well. Fix syntax confusion to avoid
4403 TCL thinking that exception_name is an array.
4404
4405 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4406
4407 * gdb.arch/spu-info.c: Include <unistd.h>.
4408 (do_signal_test): Fix broken calls to write.
4409 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4410 Fix checks for empty mailboxes. Update signal tests for corrected
4411 do_signal_test routine. Allow nonzero event status.
4412 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4413 * gdb.cell/arch.exp: Use standard_output_file.
4414 * gdb.cell/break.exp: Likewise.
4415 * gdb.cell/bt.exp: Likewise.
4416 * gdb.cell/core.exp: Likewise.
4417 * gdb.cell/dwarfaddr.exp: Likewise.
4418 * gdb.cell/ea-cache.exp: Likewise.
4419 * gdb.cell/ea-standalone.exp: Likewise.
4420 * gdb.cell/f-regs.exp: Likewise.
4421 * gdb.cell/fork.exp: Likewise.
4422 * gdb.cell/gcore.exp: Likewise.
4423 * gdb.cell/mem-access.exp: Likewise.
4424 * gdb.cell/ptype.exp: Likewise.
4425 * gdb.cell/registers.exp: Likewise.
4426 * gdb.cell/sizeof.exp: Likewise.
4427 * gdb.cell/solib-symbol.exp: Likewise.
4428 * gdb.cell/solib.exp: Likewise.
4429
4430 2017-11-25 Pedro Alves <palves@redhat.com>
4431
4432 * gdb.base/complete-empty.exp: New file.
4433 * gdb.base/completion.exp: Adjust.
4434
4435 2017-11-25 Pedro Alves <palves@redhat.com>
4436
4437 * gdb.linespec/cpls-ops.cc: New file.
4438 * gdb.linespec/cpls-ops.exp: New file.
4439 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4440 factored out from ...
4441 (test_complete_prefix_range): ... this.
4442
4443 2017-11-24 Pedro Alves <palves@redhat.com>
4444
4445 * gdb.linespec/cpcompletion.exp: New file.
4446 * gdb.linespec/cpls-hyphen.cc: New file.
4447 * gdb.linespec/cpls.cc: New file.
4448 * gdb.linespec/cpls2.cc: New file.
4449 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4450 test to use test_gdb_complete_unique. Add label completion,
4451 keyword completion and explicit location completion tests.
4452 * lib/completion-support.exp: New file.
4453
4454 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4455
4456 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4457 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4458 when hitting an exception catchpoint.
4459
4460 2017-11-22 Yao Qi <yao.qi@linaro.org>
4461
4462 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4463
4464 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4465
4466 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4467 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4468 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4469
4470 2017-11-22 Yao Qi <yao.qi@linaro.org>
4471
4472 * gdb.base/info-os.exp: Pass pthreads.
4473 * gdb.multi/multi-attach.exp: Likewise.
4474
4475 2017-11-22 Yao Qi <yao.qi@linaro.org>
4476
4477 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4478 compiler.
4479
4480 2017-11-22 Yao Qi <yao.qi@linaro.org>
4481
4482 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4483 * gdb.base/break-interp.exp: Likewise.
4484 * gdb.base/jit-attach-pie.exp: Likewise.
4485
4486 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4487
4488 * gdb.base/float128.c (large128): New variable.
4489 * gdb.base/float128.exp: Add test to print largest __float128 value.
4490
4491 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4492
4493 * gdb.arch/vsx-regs.exp: Update register content checks.
4494
4495 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4496
4497 * gdb.arch/ppc-longdouble.exp: New file.
4498 * gdb.arch/ppc-longdouble.c: Likewise.
4499
4500 2017-11-21 Pedro Alves <palves@redhat.com>
4501
4502 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4503
4504 2017-11-20 Pedro Alves <palves@redhat.com>
4505
4506 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4507 (long_double_typedef): New typedefs.
4508 Use DEF on double and long double.
4509 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4510 cases.
4511 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4512 and 'long_double_ptr_same_size' locals. Use them to decide
4513 whether cast from array/function to float is valid/invalid.
4514
4515 2017-11-17 Tom Tromey <tom@tromey.com>
4516
4517 * gdb.rust/traits.rs: New file.
4518 * gdb.rust/traits.exp: New file.
4519
4520 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4521
4522 * gdb.ada/minsyms: New testcase.
4523
4524 2017-11-16 Pedro Alves <palves@redhat.com>
4525
4526 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4527 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4528
4529 2017-11-16 Pedro Alves <palves@redhat.com>
4530
4531 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4532 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4533
4534 2017-11-16 Pedro Alves <palves@redhat.com>
4535
4536 * gdb.server/reconnect-ctrl-c.c: New file.
4537 * gdb.server/reconnect-ctrl-c.exp: New file.
4538
4539 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4540
4541 * gdb.python/py-rbreak.exp: New file.
4542 * gdb.python/py-rbreak.c: New file.
4543 * gdb.python/py-rbreak-func2.c: New file.
4544
4545 2017-11-16 Pedro Alves <palves@redhat.com>
4546
4547 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4548 pattern.
4549 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4550 GDB.
4551
4552 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4553
4554 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4555 regex.
4556
4557 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4558
4559 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4560 test names.
4561
4562 2017-11-09 Pedro Alves <palves@redhat.com>
4563
4564 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4565 factored out from ...
4566 (top level): ... here, and adjusted to avoid expecting beyond the
4567 prompt in a single gdb_test_multiple.
4568
4569 2017-11-09 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4572 output.
4573 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4574 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4575 * gdb.server/ext-run.exp ("kill" test): Likewise.
4576 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4577
4578 2017-11-09 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4581 match till end of line.
4582
4583 2017-11-09 Pedro Alves <palves@redhat.com>
4584
4585 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4586
4587 2017-11-09 Pedro Alves <palves@redhat.com>
4588
4589 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4590 New procedures, factored out from ...
4591 (top level): ... here, and adjusted to avoid expecting beyond the
4592 prompt in one go.
4593
4594 2017-11-09 Pedro Alves <palves@redhat.com>
4595
4596 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4597 output. Fix '?' match.
4598
4599 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4600
4601 * gdb.ada/scoped_watch: New testcase.
4602 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4603 which is actually correct.
4604 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4605 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4606
4607 2017-11-08 Pedro Alves <palves@redhat.com>
4608
4609 * gdb.gdb/complaints.exp (test_initial_complaints)
4610 (test_serial_complaints, test_short_complaints): Call
4611 complaint_internal instead of complaint.
4612
4613 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4614
4615 * gdb.threads/tls-core.c: New file.
4616 * gdb.threads/tls-core.exp: Likewise.
4617
4618 2017-11-08 Pedro Alves <palves@redhat.com>
4619
4620 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4621 (p Exported_Capitalized): New test.
4622 (p exported_capitalized): New test.
4623
4624 2017-11-07 Pedro Alves <palves@redhat.com>
4625
4626 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4627
4628 2017-11-07 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4631 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4632 (disable_invalid, disable_inverted, disable_negative): New
4633 procedures.
4634 ("bad numbers"): New set of tests.
4635
4636 2017-11-07 Pedro Alves <palves@redhat.com>
4637
4638 * gdb.cp/ena-dis-br-range.exp: Add tests.
4639
4640 2017-11-07 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4643
4644 2017-11-07 Xavier Roirand <roirand@adacore.com>
4645 Pedro Alves <palves@redhat.com>
4646
4647 * gdb.base/ena-dis-br.exp: Add reference to
4648 gdb.cp/ena-dis-br-range.exp.
4649 * gdb.cp/ena-dis-br-range.exp: New file.
4650 * gdb.cp/ena-dis-br-range.cc: New file.
4651
4652 2017-11-06 Pedro Alves <palves@redhat.com>
4653
4654 * gdb.base/attach-non-pgrp-leader.c: New.
4655 * gdb.base/attach-non-pgrp-leader.exp: New.
4656
4657 2017-11-06 Pedro Alves <palves@redhat.com>
4658
4659 * configure.ac: No longer check for termio.h and sgtty.h.
4660 * configure: Regenerate.
4661 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4662 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4663 Remove termio and sgtty code.
4664
4665 2017-11-03 Yao Qi <yao.qi@linaro.org>
4666
4667 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4668 in GDB is disabled.
4669
4670 2017-11-03 Yao Qi <yao.qi@linaro.org>
4671
4672 * gdb.python/py-thrhandle.exp: Skip it if python is not
4673 enabled.
4674
4675 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4676
4677 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4678 as a breakpoint command.
4679
4680 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4681
4682 PR python/21213
4683 * gdb.python/py-infthread.exp: Test calling
4684 InferiorThread.inferior () multiple times in a row.
4685
4686 2017-10-27 Keith Seitz <keiths@redhat.com>
4687
4688 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4689 Test "info break" for every inlined function breakpoint.
4690
4691 2017-10-27 Yao Qi <yao.qi@linaro.org>
4692
4693 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4694
4695 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4696
4697 * gdb.cp/classes.exp (test_static_members): Test printing
4698 Outer::instance.
4699 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4700 (Inner::instance, Outer::instance): New.
4701
4702 2017-10-24 Pedro Alves <palves@redhat.com>
4703
4704 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4705 extra console" test in two stages.
4706
4707 2017-10-24 Pedro Alves <palves@redhat.com>
4708
4709 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4710
4711 2017-10-24 Pedro Alves <palves@redhat.com>
4712
4713 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4714 loop.
4715
4716 2017-10-24 Pedro Alves <palves@redhat.com>
4717
4718 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4719 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4720
4721 2017-10-24 Pedro Alves <palves@redhat.com>
4722
4723 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4724 parameter and handle it. Don't output read value in test name.
4725
4726 2017-10-24 Pedro Alves <palves@redhat.com>
4727
4728 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4729 custom test name.
4730
4731 2017-10-24 Pedro Alves <palves@redhat.com>
4732
4733 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4734 include the unstable output directory name in the test's name.
4735 (initial_setup_simple) <'set args'>: Use custom test name.
4736
4737 2017-10-24 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4740 with explicit test name.
4741
4742 2017-10-20 Pedro Alves <palves@redhat.com>
4743
4744 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4745 'wait -i'. Use gdb_assert and remote_close.
4746
4747 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4748
4749 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4750 number from variable rather than hard-coded.
4751
4752 2017-10-19 Pedro Alves <palves@redhat.com>
4753
4754 * gdb.base/long-inferior-output.c: New file.
4755 * gdb.base/long-inferior-output.exp: New file.
4756
4757 2017-11-18 Keith Seitz <keiths@redhat.com>
4758
4759 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4760 method.
4761 (main): Call it.
4762 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4763 Add additional user-defined conversion operator tests.
4764
4765 2017-10-17 Pedro Alves <palves@redhat.com>
4766
4767 * boards/native-stdio-gdbserver.exp: Load "local-board".
4768
4769 2017-10-17 Pedro Alves <palves@redhat.com>
4770
4771 * gdb.base/quit-live.c: New file.
4772 * gdb.base/quit-live.exp: New file.
4773
4774 2017-10-16 Keith Seitz <keiths@redhat.com>
4775
4776 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4777 (class_with_protected_typedef, class_with_private_typedef)
4778 (struct_with_public_typedef, struct_with_protected_typedef)
4779 (struct_with_private_typedef): New classes/structs.
4780 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4781 typedefs and access specifiers.
4782
4783 2017-10-16 Pedro Alves <palves@redhat.com>
4784 Simon Marchi <simon.marchi@polymtl.ca>
4785
4786 * README (Local vs Remote vs Native): New section.
4787 * boards/local-board.exp: New file, with bits factored out from
4788 ...
4789 * boards/native-extended-gdbserver.exp: ... here. Load
4790 "local-board".
4791 * boards/native-gdbserver.exp: Load "local-board".
4792 (${board}_spawn, ${board}_exec): Delete.
4793 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4794 ...
4795 * boards/stdio-gdbserver-base.exp: ... this new file.
4796 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4797 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4798 procedure.
4799 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4800 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4801 stdio_gdbserver_command.
4802 (${board}_get_remote_address, ${board}_get_comm_port)
4803 (${board}_download, ${board}_upload): Delete.
4804 (get_target_remote_pipe_cmd): New.
4805
4806 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4807
4808 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4809 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4810 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4811 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4812 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4813 remove with_test_prefix.
4814
4815 2017-10-13 Pedro Alves <palves@redhat.com>
4816
4817 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4818 * gdb.base/annota1.exp: Use it instead of is_remote.
4819 * gdb.base/annota3.exp: Use it instead of is_remote.
4820 * gdb.cp/annota2.exp: Use it instead of is_remote.
4821 * gdb.cp/annota3.exp: Use it instead of is_remote.
4822 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4823
4824 2017-10-13 Pedro Alves <palves@redhat.com>
4825
4826 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4827 (test_num_test_vars, run_and_count_vars, find_env)
4828 (test_set_unset_env, test_inherit_env_var): New procedures.
4829 (top level): Use them.
4830
4831 2017-10-13 Pedro Alves <palves@redhat.com>
4832
4833 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4834 also skip on stub-like targets.
4835
4836 2017-10-13 Pedro Alves <palves@redhat.com>
4837
4838 PR gdb/22293
4839 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4840 (top level): Move some tests to ...
4841 (test_not_found): ... this new procedure.
4842 (top level): Call it.
4843
4844 2017-10-13 Pedro Alves <palves@redhat.com>
4845
4846 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4847 expect different "info terminal" output if testing with a
4848 non-native target.
4849
4850 2017-10-13 Pedro Alves <palves@redhat.com>
4851 Simon Marchi <simon.marchi@polymtl.ca>
4852
4853 PR python/12966
4854 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4855
4856 2017-10-13 Pedro Alves <palves@redhat.com>
4857
4858 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4859 already.
4860
4861 2017-10-13 Pedro Alves <palves@redhat.com>
4862
4863 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4864 is_remote.
4865
4866 2017-10-13 Pedro Alves <palves@redhat.com>
4867
4868 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4869 is_remote.
4870
4871 2017-10-13 Pedro Alves <palves@redhat.com>
4872
4873 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4874 is set.
4875 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4876 instead of is_remote.
4877
4878 2017-10-13 Pedro Alves <palves@redhat.com>
4879
4880 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4881 (top level): Add comment.
4882
4883 2017-10-13 Pedro Alves <palves@redhat.com>
4884
4885 * gdb.base/remote.exp (top level): Fix comment typo and add
4886 missing return.
4887
4888 2017-10-13 Pedro Alves <palves@redhat.com>
4889 Simon Marchi <simon.marchi@polymtl.ca>
4890
4891 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4892 calls and add comments. Skip test if use_gdb_stub is set.
4893 (top level): Use "set cwd" command instead of "cd" command.
4894
4895 2017-10-13 Pedro Alves <palves@redhat.com>
4896
4897 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4898 is_remote target check.
4899
4900 2017-10-13 Pedro Alves <palves@redhat.com>
4901
4902 * gdb.base/scope.exp: Use build_executable + clean_restart +
4903 gdb_file_cmd instead of prepare_for_testing and no longer skip
4904 "before run" tests on is_remote target boards. Update comments.
4905 * boards/native-extended-gdbserver.exp
4906 (extended_gdbserver_load_last_file): New, factored out from ...
4907 (gdb_load): ... this. Move further below and add comment.
4908 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4909
4910 2017-10-12 Pedro Alves <palves@redhat.com>
4911
4912 * gdb.base/attach.exp: Remove references to gdb64.
4913 * gdb.base/dbx.exp: Remove references to gdb64.
4914
4915 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4916 Pedro Alves <palves@redhat.com>
4917
4918 * gdb.base/label.exp: Remove is_remote target check.
4919
4920 2017-10-12 Pedro Alves <palves@redhat.com>
4921
4922 * gdb.base/auvx.exp (coredir): Update comment.
4923 (top level) <core_works>: Use "set cwd" command instead of "cd"
4924 command.
4925
4926 2017-10-12 Pedro Alves <palves@redhat.com>
4927 Simon Marchi <simon.marchi@polymtl.ca>
4928
4929 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4930 target boards.
4931
4932 2017-10-12 Pedro Alves <palves@redhat.com>
4933 Simon Marchi <simon.marchi@polymtl.ca>
4934
4935 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4936 Instead skip if there's any gdb_protocol set.
4937
4938 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4939 Pedro Alves <palves@redhat.com>
4940
4941 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4942
4943 2017-10-12 Pedro Alves <palves@redhat.com>
4944 Simon Marchi <simon.marchi@polymtl.ca>
4945
4946 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4947 instead of on dejagnu remote boards.
4948
4949 2017-10-12 Pedro Alves <palves@redhat.com>
4950 Simon Marchi <simon.marchi@polymtl.ca>
4951
4952 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4953 checks. Use build_executable + clean_restart instead of
4954 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4955 of enabling non-stop after starting gdb.
4956
4957 2017-10-12 Pedro Alves <palves@redhat.com>
4958
4959 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4960 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4961 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4962 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4963
4964 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4965
4966 * gdb.arch/arc-tdesc-cpu.exp: New file.
4967 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4968
4969 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4970
4971 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4972
4973 2017-10-10 Pedro Alves <palves@redhat.com>
4974
4975 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4976 expect CLI output.
4977
4978 2017-10-10 Pedro Alves <palves@redhat.com>
4979
4980 * lib/selftest-support.exp (selftest_setup): Update for
4981 captured_command_loop's prototype change.
4982
4983 2017-10-09 Pedro Alves <palves@redhat.com>
4984
4985 Test both arch1=>arch2 and arch2=>arch1.
4986
4987 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4988 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4989 factored out to...
4990 (append_arch1_options, append_arch2_options, append_arch_options)
4991 (build_executables): New procedures.
4992 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4993 local.
4994 (top level): Add new 'first_arch' testing axis.
4995
4996 2017-10-09 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
4999 (barrier): New.
5000 (thread_start, all_started): New functions.
5001 (main): Spawn new thread and wait until it is scheduled.
5002 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5003 option.
5004 (do_test): Add 'selected_thread' parameter. Run to all_started
5005 instead of main. Explicitly set the breakpoint at main. Switch
5006 to the SELECTED_THREAD thread.
5007 (top level): Test handling the exec event with either the main
5008 thread or the second thread selected.
5009
5010 2017-10-09 Pedro Alves <palves@redhat.com>
5011
5012 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5013 logic. Move STOP marker after the value checks.
5014 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5015 regexp.
5016
5017 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5018
5019 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5020
5021 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5022
5023 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5024 integer-to-dfp conversion.
5025 * gdb.base/dfp-test.exp: Likewise.
5026
5027 2017-10-04 Pedro Alves <palves@redhat.com>
5028
5029 * gdb.multi/hangout.c: Include <unistd.h>.
5030 (hangout_loop): New function.
5031 (main): Call alarm. Call hangout_loop in a loop.
5032 * gdb.multi/hello.c: Include <unistd.h>.
5033 (hello_loop): New function.
5034 (main): Call alarm. Call hangout_loop in a loop.
5035 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5036 inferior with the other selected.
5037
5038 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5039
5040 * gdb.mi/list-thread-groups-available.exp: New file.
5041 * gdb.mi/list-thread-groups-available.c: New file.
5042
5043 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5044
5045 * gdb.base/set-cwd.exp: Make it available on
5046 native-extended-gdbserver.
5047
5048 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5049
5050 * gdb.base/set-cwd.c: New file.
5051 * gdb.base/set-cwd.exp: Likewise.
5052
5053 2017-10-02 Tom Tromey <tom@tromey.com>
5054
5055 PR rust/22236:
5056 * gdb.rust/simple.rs (main): New variable "fslice".
5057 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5058
5059 2017-10-02 Tom Tromey <tom@tromey.com>
5060
5061 * gdb.rust/simple.exp: Test ptype of a slice.
5062
5063 2017-10-02 Tom Tromey <tom@tromey.com>
5064
5065 * gdb.rust/simple.exp: Test index of slice.
5066
5067 2017-09-27 Tom Tromey <tom@tromey.com>
5068
5069 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5070
5071 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5072 Pedro Alves <palves@redhat.com>
5073
5074 * gdb.base/compare-sections.exp (get value of read-only section): Read
5075 as unsigned value.
5076 (corrupt read-only section): Likewise and don't set written if patching
5077 failed.
5078
5079 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5080
5081 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5082 files.
5083
5084 2017-09-20 Pedro Alves <palves@redhat.com>
5085
5086 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5087 symbol names in gdb's output.
5088 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5089
5090 2017-09-20 Pedro Alves <palves@redhat.com>
5091
5092 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5093 Rename to ...
5094 (test_list_ambiguous_symbol): ... this and add a symbol name
5095 parameter. Adjust.
5096 (test_list_ambiguous_function): Reimplement on top of
5097 test_list_ambiguous_symbol and also test listing ambiguous
5098 variables.
5099 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5100 (ambiguous_fun): ... this.
5101 (ambiguous_var): New.
5102 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5103 (ambiguous_fun): ... this.
5104 (ambiguous_var): New.
5105
5106 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5107
5108 * gdb.base/starti.c: New file.
5109 * gdb.base/starti.exp: New file.
5110 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5111
5112 2017-09-14 Pedro Alves <palves@redhat.com>
5113
5114 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5115 (top level): Use it instead of runto.
5116
5117 2017-09-11 Tom Tromey <tom@tromey.com>
5118
5119 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5120
5121 2017-09-11 Tom Tromey <tom@tromey.com>
5122
5123 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5124 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5125
5126 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5127
5128 * gdb.fortran/printing-types.exp: New file.
5129 * gdb.fortran/printing-types.exp: New file.
5130
5131 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5132
5133 * gdb.fortran/vla-ptype.exp: Fix typos.
5134 * gdb.fortran/vla-value.exp: Same.
5135
5136 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5137
5138 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5139 * gdb.mi/mi-var-child-f.exp: Likewise.
5140 * gdb.mi/mi-vla-fortran.exp: Likewise.
5141
5142 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5143 Christoph Weinmann <christoph.t.weinmann@intel.com>
5144 Bernhard Heckel <bernhard.heckel@intel.com>
5145
5146 * gdb.fortran/ptr-indentation.f90: New file.
5147 * gdb.fortran/ptr-indentation.exp: New file.
5148
5149 2017-09-05 Tom Tromey <tom@tromey.com>
5150
5151 PR gdb/22010:
5152 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5153
5154 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5155
5156 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5157
5158 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5159
5160 * gdb.threads/tls-nodebug-pie.c: New file.
5161 * gdb.threads/tls-nodebug-pie.exp: New file.
5162
5163 2017-09-05 Tom Tromey <tom@tromey.com>
5164
5165 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5166 for rust.
5167
5168 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5169
5170 * gdb.multi/multi-arch-exec.exp: Test with different
5171 "follow-exec-mode" settings.
5172 (do_test): New procedure.
5173
5174 2017-09-04 Pedro Alves <palves@redhat.com>
5175
5176 * gdb.base/func-static.c (S::method const, S::method volatile)
5177 (S::method volatile const): New methods.
5178 (c_s, v_s, cv_s): New instances.
5179 (main): Call method() on them.
5180 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5181 (cannot_resolve): New procedure.
5182 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5183 print-quote-unquoted columns.
5184 (do_test): Test printing each scope too.
5185
5186 2017-09-04 Pedro Alves <palves@redhat.com>
5187
5188 * gdb.base/local-static.exp: Also test with
5189 class::method::variable wholly quoted.
5190 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5191
5192 2017-09-04 Pedro Alves <palves@redhat.com>
5193
5194 * gdb.base/local-static.c: New.
5195 * gdb.base/local-static.cc: New.
5196 * gdb.base/local-static.exp: New.
5197
5198 2017-09-04 Pedro Alves <palves@redhat.com>
5199
5200 * gdb.asm/asm-source.exp: Add casts to int.
5201 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5202 (dataglobal64_1, dataglobal64_2): New globals.
5203 * gdb.base/nodebug.exp: Test different expressions involving the
5204 new globals, with print, whatis and ptype. Add casts to int.
5205 * gdb.base/solib-display.exp: Add casts to int.
5206 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5207 * gdb.cp/m-static.exp: Add cast to int.
5208 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5209 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5210 tls variable with no debug info without a cast. Test with a cast
5211 to int too.
5212 * gdb.trace/entry-values.exp: Add casts.
5213
5214 2017-09-04 Pedro Alves <palves@redhat.com>
5215
5216 * gdb.base/nodebug.exp: Test that ptype's error about functions
5217 with unknown return type includes the function name too.
5218
5219 2017-09-04 Pedro Alves <palves@redhat.com>
5220
5221 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5222 return type of munmap in infcall.
5223 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5224 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5225 type of ftell in infcall.
5226 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5227 type of getpid in infcall.
5228 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5229 infcall.
5230 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5231 Bail on failure to extract the pid.
5232 * gdb.base/nodebug.c: #include <stdint.h>.
5233 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5234 New functions.
5235 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5236 Change expected output of print/whatis/ptype with functions with
5237 no debug info. Test all supported languages. Call
5238 test_call_promotion.
5239 * gdb.compile/compile.exp: Adjust expected output to expect
5240 warning.
5241 * gdb.threads/siginfo-threads.exp: Likewise.
5242
5243 2017-09-04 Pedro Alves <palves@redhat.com>
5244
5245 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5246 "prototypes". Test calling float functions via prototyped and
5247 unprototyped function pointers.
5248 (perform_all_tests): New parameter "prototypes". Pass it down.
5249 (top level): Pass down "prototypes" parameter to
5250 perform_all_tests.
5251
5252 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5253
5254 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5255 Test with nested loops.
5256
5257 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5258
5259 * gdb.base/commands.exp: Call the new procedures.
5260 (loop_break_test, loop_continue_test): New procedures.
5261
5262 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5263
5264 * gdb.base/commands.exp: Call new procedure.
5265 (define_if_without_arg_test): New procedure.
5266
5267 2017-09-04 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.base/list-ambiguous.exp: New file.
5270 * gdb.base/list-ambiguous0.c: New file.
5271 * gdb.base/list-ambiguous1.c: New file.
5272 * gdb.base/list.exp (test_list_range): Adjust expected output.
5273
5274 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5275
5276 * gdb.base/share-env-with-gdbserver.c: New file.
5277 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5278
5279 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5280
5281 * gdb.base/commands.exp (gdbvar_simple_if_test,
5282 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5283 progvar_simple_if_test, progvar_simple_while_test,
5284 progvar_complex_if_while_test, user_defined_command_test,
5285 user_defined_command_args_eval,
5286 user_defined_command_args_stack_test,
5287 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5288 temporary_breakpoint_commands,
5289 gdb_test_no_prompt, redefine_hook_test,
5290 redefine_backtrace_test): Remove "global gdb_prompt".
5291
5292 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5293
5294 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5295 New proc, call it from toplevel.
5296
5297 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5298
5299 PR remote/21852
5300 * gdb.server/normal.c: New file, copied from gdb.base.
5301 * gdb.server/run-without-local-binary.exp: New file.
5302
5303 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5304
5305 * gdb.arch/sparc64-adi.exp: New file.
5306 * gdb.arch/sparc64-adi.c: New file.
5307
5308 2017-08-22 Pedro Alves <palves@redhat.com>
5309
5310 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5311 (top level): Add "list all overloads" tests.
5312
5313 2017-08-22 Tom Tromey <tom@tromey.com>
5314
5315 * gdb.gdb/xfullpath.exp: Remove.
5316
5317 2017-08-21 Pedro Alves <palves@redhat.com>
5318
5319 PR gdb/19487
5320 * gdb.base/symbol-alias.c: New.
5321 * gdb.base/symbol-alias2.c: New.
5322 * gdb.base/symbol-alias.exp: New.
5323
5324 2017-08-21 Pedro Alves <palves@redhat.com>
5325
5326 * gdb.base/dfp-test.c
5327 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5328 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5329 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5330 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5331 * gdb.base/whatis-ptype-typedefs.c: New.
5332 * gdb.base/whatis-ptype-typedefs.exp: New.
5333 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5334 (an_int, an_int_type, an_int_type2): New globals.
5335 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5336 involving typedefs and cast expressions.
5337 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5338 (lookup_typedefs_function): New.
5339 (typedefs_pretty_printers_dict): New.
5340 (top level): Register lookup_typedefs_function in
5341 gdb.pretty_printers.
5342
5343 2017-08-18 Yao Qi <yao.qi@linaro.org>
5344
5345 * gdb.server/unittest.exp: New.
5346
5347 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5348
5349 PR gdb/21954
5350 * gdb.base/environ.exp: Add test to check if 'unset environment'
5351 works.
5352
5353 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5354
5355 * lib/gdb.exp (universal_compile_options): New caching proc.
5356 (gdb_compile): Suppress GCC's coloring of messages.
5357
5358 2017-08-14 Tom Tromey <tom@tromey.com>
5359
5360 PR gdb/21675:
5361 * gdb.base/printcmds.exp (test_radices): New function.
5362 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5363 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5364 * lib/gdb.exp (get_integer_valueof): Use p/d.
5365
5366 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5367
5368 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5369 characters.
5370
5371 2017-08-05 Tom Tromey <tom@tromey.com>
5372
5373 * gdb.rust/simple.exp: Allow String to appear in a different
5374 namespace.
5375
5376 2017-07-26 Yao Qi <yao.qi@linaro.org>
5377
5378 * gdb.gdb/unittest.exp: Invoke command
5379 "maintenance check xml-descriptions".
5380
5381 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5382
5383 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5384 calling context.
5385 (hex128): Drop erroneous calculation of parameters.
5386
5387 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5388
5389 * gdb.python/py-unwind.exp: Disable stack protection when
5390 building test file.
5391
5392 2017-07-20 Pedro Alves <palves@redhat.com>
5393
5394 * gdb.base/default.exp (set language): Adjust expected output.
5395
5396 2017-07-20 Pedro Alves <palves@redhat.com>
5397
5398 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5399 (test_minsym): ... this, and make static.
5400 (get_pck__foo__bar__minsym): Rename to ...
5401 (get_test_minsym): ... this.
5402 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5403 symbol names and comments.
5404 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5405 (get_test_minsym): ... this.
5406 (pck__foo__bar__minsym__2): Rename to ...
5407 (test_minsym): ... this.
5408 (main): Adjust.
5409
5410 2017-07-17 Pedro Alves <palves@redhat.com>
5411
5412 * gdb.base/completion.exp: Adjust expected output.
5413 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5414 the completer works.
5415
5416 2017-07-17 Pedro Alves <palves@redhat.com>
5417
5418 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5419
5420 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5421
5422 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5423
5424 2017-07-14 Tom Tromey <tom@tromey.com>
5425
5426 PR rust/21764:
5427 * gdb.rust/simple.exp: Add tests.
5428
5429 2017-07-14 Tom Tromey <tom@tromey.com>
5430
5431 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5432
5433 2017-07-14 Pedro Alves <palves@redhat.com>
5434
5435 * gdb.linespec/base/one/thefile.cc (z1): New function.
5436 * gdb.linespec/base/two/thefile.cc (z2): New function.
5437 * gdb.linespec/linespec.exp: Add tests.
5438
5439 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5440
5441 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5442 to mi_create_breakpoint.
5443
5444 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5445
5446 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5447 mi_create_breakpoint.
5448
5449 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5450
5451 * gdb.dlang/demangle.exp: Update for demangling changes.
5452
5453 2017-07-09 Tom Tromey <tom@tromey.com>
5454
5455 * gdb.dwarf2/shortpiece.exp: New file.
5456
5457 2017-07-06 David Blaikie <dblaikie@gmail.com>
5458
5459 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5460 built from fissiont-multi-cu{1,2}.c.
5461 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5462 except putting 'main' and 'func' in separate CUs in the same DWO file.
5463 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5464 test.
5465 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5466 test.
5467
5468 2017-07-06 Pedro Alves <palves@redhat.com>
5469
5470 * gdb.python/py-unwind.exp: Test flushregs.
5471
5472 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5473
5474 PR cli/21688
5475 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5476 tests for alias commands and trailing whitespace.
5477
5478 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5479
5480 PR cli/21688
5481 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5482 procedure. Call it.
5483
5484 2017-06-29 Pedro Alves <palves@redhat.com>
5485
5486 * gdb.base/printcmds.exp: Add tests.
5487
5488 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5489
5490 PR gdb/21337
5491 * gdb.base/reread-readsym.exp: New file.
5492 * gdb.base/reread-readsym.c: New file.
5493
5494 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5495
5496 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5497 subpattern.
5498
5499 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5500
5501 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5502 extended mnemonic.
5503 * gdb.arch/powerpc-power9.s: Likewise.
5504
5505 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5506
5507 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5508 on 32-bit x86 targets. Exploit is_*_target macros where
5509 appropriate.
5510
5511 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5512
5513 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5514 register pieces.
5515
5516 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5517
5518 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5519 located in one or more DWARF pieces.
5520
5521 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5522
5523 * lib/gdb.exp (get_endianness): New proc.
5524 * gdb.arch/aarch64-fp.exp: Use it.
5525 * gdb.arch/altivec-regs.exp: Likewise.
5526 * gdb.arch/e500-regs.exp: Likewise.
5527 * gdb.arch/vsx-regs.exp: Likewise.
5528 * gdb.base/dump.exp: Likewise.
5529 * gdb.base/funcargs.exp: Likewise.
5530 * gdb.base/gnu_vector.exp: Likewise.
5531 * gdb.dwarf2/formdata16.exp: Likewise.
5532 * gdb.dwarf2/implptrpiece.exp: Likewise.
5533 * gdb.dwarf2/nonvar-access.exp: Likewise.
5534 * gdb.python/py-inferior.exp: Likewise.
5535 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5536
5537 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5538
5539 PR gdb/21226
5540 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5541 stack value pieces are taken from the LSB end.
5542
5543 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5544
5545 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5546 variable at nonzero offset.
5547
5548 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5549
5550 * gdb.dwarf2/var-access.c: New file.
5551 * gdb.dwarf2/var-access.exp: New test.
5552 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5553
5554 2017-06-12 Tom Tromey <tom@tromey.com>
5555
5556 * gdb.dwarf2/formdata16.exp: Add tests.
5557
5558 2017-06-12 Tom Tromey <tom@tromey.com>
5559
5560 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5561
5562 2017-06-12 Tom Tromey <tom@tromey.com>
5563
5564 PR exp/16225:
5565 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5566 * gdb.arch/vsx-regs.exp: Update tests.
5567 * gdb.arch/s390-vregs.exp (hex128): New proc.
5568 Update test.
5569 * gdb.arch/altivec-regs.exp: Update tests.
5570
5571 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5572
5573 * gdb.base/startup-with-shell.c: New file.
5574 * gdb.base/startup-with-shell.exp: Likewise.
5575
5576 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5577
5578 * gdb.server/non-existing-program.exp: Update regex in order to
5579 reflect the fact that gdbserver is now using fork_inferior (with a
5580 shell) to startup the inferior.
5581
5582 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5583
5584 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5585 support function calls from GDB.
5586
5587 2017-05-21 Tom Tromey <tom@tromey.com>
5588
5589 PR rust/21466:
5590 * gdb.rust/unsized.exp: New file.
5591 * gdb.rust/unsized.rs: New file.
5592
5593 2017-05-19 Tom Tromey <tom@tromey.com>
5594
5595 PR rust/21484:
5596 * gdb.rust/watch.exp: New file.
5597 * gdb.rust/watch.rs: New file.
5598
5599 2017-05-18 Tom Tromey <tom@tromey.com>
5600
5601 * gdb.rust/simple.exp: Allow Box to be qualified.
5602
5603 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5604
5605 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5606
5607 2017-05-18 Pedro Alves <palves@redhat.com>
5608
5609 * gdb.base/fileio.c (test_write, test_read, test_close)
5610 (test_fstat): Don't print 'ret' in the fail path.
5611
5612 2017-05-18 Pedro Alves <palves@redhat.com>
5613
5614 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5615 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5616 (test_system, test_rename, test_unlink, test_time): Change
5617 prototypes.
5618 * gdb.base/fileio.exp (stop_msg): Adjust.
5619
5620 2017-05-18 Pedro Alves <palves@redhat.com>
5621
5622 * gdb.base/fileio.c (null_str): New global.
5623 (test_stat): Use it.
5624 * gdb.base/fileio.exp: Remove nowarnings.
5625
5626 2017-05-17 Yao Qi <yao.qi@linaro.org>
5627
5628 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5629
5630 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5631
5632 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5633 argument command.
5634 (top-level): Invoke test_set_inferior_tty.
5635
5636 2017-05-04 Pedro Alves <palves@redhat.com>
5637
5638 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5639 Add parens to print call for Python 3.
5640
5641 2017-05-03 Keith Seitz <keiths@redhat.com>
5642
5643 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5644 (main): Call it.
5645
5646 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5647
5648 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5649 to prev and next.
5650
5651 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5652
5653 * gdb.python/py-record-btrace.exp: Remove test for
5654 gdb.BtraceInstruction.error.
5655
5656 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5657
5658 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5659
5660 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5661
5662 * gdb.python/py-record-btrace-threads.c: New file.
5663 * gdb.python/py-record-btrace-threads.exp: New file.
5664
5665 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5666
5667 PR testsuite/8595
5668 * gdb.base/environ.exp: Make test available in all architectures.
5669 Move bits related to "info program" testing to
5670 gdb.base/info-program.exp. Rewrite tests to use the two new
5671 procedures mentione below.
5672 (test_set_show_env_var) New procedure.
5673 (test_set_show_env_var_equal): Likewise.
5674 * gdb.base/info-program.exp: New file.
5675
5676 2017-04-27 Keith Seitz <keiths@redhat.com>
5677
5678 * gdb.cp/oranking.cc (test15): New function.
5679 (main): Call test15 and declare additional variables for testing.
5680 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5681 "p foo101('abc')" tests.
5682 Add tests for cv qualifier overloads.
5683 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5684 "lvalue reference overload" test.
5685 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5686 "print value of f1 on Child&& in f2" test.
5687
5688 2017-04-19 Pedro Alves <palves@redhat.com>
5689
5690 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5691 procedure.
5692 (top level): Call it.
5693 * lib/gdb.exp (gdb_define_cmd): New procedure.
5694
5695 2017-04-12 Pedro Alves <palves@redhat.com>
5696
5697 PR gdb/21323
5698 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5699 (wchar): New global.
5700 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5701 (do_test_wide_char, wide_char_types_no_program, top level): Add
5702 wchar_t testing.
5703
5704 2017-04-12 Pedro Alves <palves@redhat.com>
5705
5706 PR c++/21323
5707 * gdb.cp/wide_char_types.c: New file.
5708 * gdb.cp/wide_char_types.exp: New file.
5709
5710 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5711
5712 PR gdb/21352
5713 * gdb.trace/tsv.exp: Add test for "tsave -r".
5714
5715 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5716
5717 * gdb.dlang/watch-loc.c: New file.
5718 * gdb.dlang/watch-loc.exp: New file.
5719
5720 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5721
5722 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5723
5724 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5725
5726 * gdb.arch/arc-analyze-prologue.S: New file.
5727 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5728
5729 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5730
5731 * gdb.arch/arc-decode-insn.S: New file.
5732 * gdb.arch/arc-decode-insn.exp: Likewise.
5733
5734 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5735
5736 PR tdep/20928
5737 * gdb.arch/sparc64-regs.exp: New file.
5738 * gdb.arch/sparc64-regs.S: Likewise.
5739
5740 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5741
5742 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5743 and memory view on Python 3.
5744
5745 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5746 Keith Seitz <keiths@redhat.com>
5747
5748 PR gdb/14441
5749 * gdb.cp/demangle.exp: Add rvalue reference tests.
5750 * gdb.cp/rvalue-ref-casts.cc: New file.
5751 * gdb.cp/rvalue-ref-casts.exp: New file.
5752 * gdb.cp/rvalue-ref-overload.cc: New file.
5753 * gdb.cp/rvalue-ref-overload.exp: New file.
5754 * gdb.cp/rvalue-ref-params.cc: New file.
5755 * gdb.cp/rvalue-ref-params.exp: New file.
5756 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5757 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5758 * gdb.cp/rvalue-ref-types.cc: New file.
5759 * gdb.cp/rvalue-ref-types.exp: New file.
5760 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5761 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5762
5763 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5764
5765 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5766 New procedure.
5767
5768 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5769
5770 * lib/mi-support.exp (mi_gdb_test): Add additional message
5771 for unexpected output.
5772
5773 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5774
5775 * gdb.base/examine-backward.c (Barrier): New character array
5776 constant, to ensure that TestStrings is preceded by a string
5777 terminator.
5778
5779 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5780
5781 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5782 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5783 and implicit pointer into such a location.
5784
5785 2017-03-16 Doug Evans <dje@google.com>
5786
5787 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5788
5789 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5790
5791 * gdb.cp/m-static.exp: Fix expectation for prototype of
5792 test5.single_constructor and single_constructor::single_constructor.
5793
5794 2017-03-16 Doug Evans <dje@google.com>
5795
5796 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5797 * gdb.guile/scm-lazy-string.c: New file.
5798 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5799 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5800 for pointer, array, typedef lazy strings.
5801
5802 2017-03-16 Doug Evans <dje@google.com>
5803
5804 PR python/17728, python/18439, python/18779
5805 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5806 * gdb.python/py-lazy-string.c (pointer): New typedef.
5807 (main): New locals ptr, array, typedef_ptr.
5808 * gdb.python/py-value.exp: Move lazy string tests to ...
5809 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5810 array, typedef lazy strings.
5811
5812 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5813
5814 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5815 Add optional 'test' parameter.
5816
5817 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5818
5819 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5820 Skip for versions of DejaGnu < 1.5.
5821
5822 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5823
5824 * lib/gdb.exp (dejagnu_version): New proc.
5825 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5826 Use dejagnu_version.
5827
5828 2017-03-10 Keith Seitz <keiths@redhat.com>
5829
5830 PR c++/8128
5831 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5832 type from destructor regexps.
5833 Add a branch which actually passes the test.
5834 Adjust "ptype t5i" test names.
5835
5836 2017-03-08 Pedro Alves <palves@redhat.com>
5837
5838 * gdb.base/step-over-exit.exp: Add explicit test message.
5839
5840 2017-03-08 Pedro Alves <palves@redhat.com>
5841
5842 PR gdb/18360
5843 * gdb.threads/interrupt-while-step-over.c: New file.
5844 * gdb.threads/interrupt-while-step-over.exp: New file.
5845
5846 2017-03-08 Pedro Alves <palves@redhat.com>
5847
5848 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5849 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5850
5851 2017-03-08 Pedro Alves <palves@redhat.com>
5852
5853 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5854 PKRU as not supported as a PASS.
5855
5856 2017-03-08 Pedro Alves <palves@redhat.com>
5857
5858 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5859 prefix instead of $binfile1/$binfile2.
5860 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5861 in test message.
5862 * gdb.python/py-completion.exp: Use "load python file" as test
5863 messages instead of unstable path names.
5864
5865 2017-03-08 Pedro Alves <palves@redhat.com>
5866 Jan Kratochvil <jan.kratochvil@redhat.com>
5867
5868 PR cli/21218
5869 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5870 New proc.
5871 (top level): Call it.
5872
5873 2017-03-08 Pedro Alves <palves@redhat.com>
5874
5875 PR tui/21216
5876 * gdb.tui/tui-nl-filtered-output.exp: New file.
5877
5878 2017-03-08 Pedro Alves <palves@redhat.com>
5879
5880 * gdb.base/completion.exp: Move TUI completion tests to ...
5881 * gdb.tui/completion.exp: ... this new file.
5882
5883 2017-03-08 Pedro Alves <palves@redhat.com>
5884
5885 * gdb.base/tui-disasm-long-lines.c,
5886 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5887 gdb.base/tui-layout.exp: Move to ...
5888 * gdb.tui/: ... this new directory.
5889
5890 2017-03-07 Pedro Alves <palves@redhat.com>
5891
5892 * gdb.base/tui-layout.c: New file.
5893 * gdb.base/tui-layout.exp: New file.
5894
5895 2017-03-07 Pedro Alves <palves@redhat.com>
5896
5897 * gdb.base/tui-layout.c: Rename to ...
5898 * gdb.base/tui-disasm-long-lines.c: ... this.
5899 * gdb.base/tui-layout.exp: Rename to ...
5900 * gdb.base/tui-disasm-long-lines.exp: ... this.
5901
5902 2017-03-07 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5905
5906 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5907
5908 * i386-mpx-call.c: New file.
5909 * i386-mpx-call.exp: New file.
5910
5911 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5912
5913 * gdb.arch/powerpc-power.exp: Delete test.
5914 * gdb.arch/powerpc-power.s: Likewise.
5915 * gdb.disasm/disassembler-options.exp: New test.
5916 * gdb.arch/powerpc-altivec.exp: Likewise.
5917 * gdb.arch/powerpc-altivec.s: Likewise.
5918 * gdb.arch/powerpc-altivec2.exp: Likewise.
5919 * gdb.arch/powerpc-altivec2.s: Likewise.
5920 * gdb.arch/powerpc-altivec3.exp: Likewise.
5921 * gdb.arch/powerpc-altivec3.s: Likewise.
5922 * gdb.arch/powerpc-power7.exp: Likewise.
5923 * gdb.arch/powerpc-power7.s: Likewise.
5924 * gdb.arch/powerpc-power8.exp: Likewise.
5925 * gdb.arch/powerpc-power8.s: Likewise.
5926 * gdb.arch/powerpc-power9.exp: Likewise.
5927 * gdb.arch/powerpc-power9.s: Likewise.
5928 * gdb.arch/powerpc-vsx.exp: Likewise.
5929 * gdb.arch/powerpc-vsx.s: Likewise.
5930 * gdb.arch/powerpc-vsx2.exp: Likewise.
5931 * gdb.arch/powerpc-vsx2.s: Likewise.
5932 * gdb.arch/powerpc-vsx3.exp: Likewise.
5933 * gdb.arch/powerpc-vsx3.s: Likewise.
5934 * gdb.arch/arm-disassembler-options.exp: Likewise.
5935 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5936 * gdb.arch/s390-disassembler-options.exp: Likewise.
5937
5938 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5939
5940 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5941 (check_supported_features): ... this. Changed return type to void.
5942 (supports_rdseed): New static global.
5943 (rdseed): Check supports_rdseed.
5944 (initialize): Call check_supported_features.
5945
5946 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5947
5948 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5949 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5950 and lqarx/stqcx.
5951 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5952 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5953
5954 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5955
5956 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5957 uppercase.
5958
5959 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5960
5961 * gdb.dwarf2/formdata16.c: New file.
5962 * gdb.dwarf2/formdata16.exp: New file.
5963 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5964
5965 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5966
5967 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5968 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5969 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5970 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5971 DW_AT_GNU_*.
5972
5973 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5974
5975 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5976
5977 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5978
5979 PR gdb/21164
5980 * gdb.base/maint.exp: Add testcases for when the commands do
5981 not have arguments.
5982
5983 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5984
5985 * gdb.cp/chained-calls.exp: Use p instead of P.
5986
5987 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5988
5989 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5990 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5991
5992 2017-02-14 Tom Tromey <tom@tromey.com>
5993
5994 PR python/13598:
5995 * gdb.python/py-events.exp: Add before_prompt event tests.
5996
5997 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5998
5999 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6000
6001 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6002
6003 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6004 (main): Call my_unique_function_name.
6005 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6006 completion of patterns with a single match.
6007 Add missing -re switches to gdb_test_multiple calls.
6008
6009 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6010
6011 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6012 return if core file is not recognized.
6013
6014 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6015
6016 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6017 and extra UIs.
6018
6019 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6020
6021 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6022 proc_with_prefix.
6023
6024 2017-02-10 Tom Tromey <tom@tromey.com>
6025
6026 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6027
6028 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6029
6030 PR gdb/21122
6031 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6032
6033 2017-02-08 Jerome Guitton <guitton@adacore.com>
6034
6035 * gdb.base/define.exp: Add test for command abbreviations
6036 in define.
6037
6038 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6039
6040 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6041 * gdb.reverse/insn-reverse-x86.c: New file.
6042
6043 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6044
6045 PR tdep/20936
6046 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6047
6048 2017-02-03 Tom Tromey <tom@tromey.com>
6049
6050 PR rust/21097:
6051 * gdb.rust/simple.exp: Add new tests.
6052
6053 2017-02-02 Pedro Alves <palves@redhat.com>
6054
6055 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6056 tests.
6057
6058 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6059
6060 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6061 taking a 2-byte value out of a 4-byte DWARF implicit value on
6062 big-endian targets.
6063 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6064 logic. Add test cases for DW_OP_implicit.
6065
6066 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6067
6068 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6069
6070 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6071
6072 * gdb.btrace/enable.exp: Call gdb_exit before
6073 skip_gdbserver_tests.
6074
6075 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6076
6077 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6078 GDBFLAGS.
6079
6080 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6081
6082 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6083 the test is skipped.
6084 * gdb.btrace/data.exp: Likewise.
6085 * gdb.btrace/delta.exp: Likewise.
6086 * gdb.btrace/dlopen.exp: Likewise.
6087 * gdb.btrace/enable-running.exp: Likewise.
6088 * gdb.btrace/enable.exp: Likewise.
6089 * gdb.btrace/exception.exp: Likewise.
6090 * gdb.btrace/function_call_history.exp: Likewise.
6091 * gdb.btrace/gcore.exp: Likewise.
6092 * gdb.btrace/instruction_history.exp: Likewise.
6093 * gdb.btrace/multi-thread-step.exp: Likewise.
6094 * gdb.btrace/nohist.exp: Likewise.
6095 * gdb.btrace/non-stop.exp: Likewise.
6096 * gdb.btrace/reconnect.exp: Likewise.
6097 * gdb.btrace/record_goto-step.exp: Likewise.
6098 * gdb.btrace/record_goto.exp: Likewise.
6099 * gdb.btrace/rn-dl-bind.exp: Likewise.
6100 * gdb.btrace/segv.exp: Likewise.
6101 * gdb.btrace/step.exp: Likewise.
6102 * gdb.btrace/stepi.exp: Likewise.
6103 * gdb.btrace/tailcall-only.exp: Likewise.
6104 * gdb.btrace/tailcall.exp: Likewise.
6105 * gdb.btrace/tsx.exp: Likewise.
6106 * gdb.btrace/unknown_functions.exp: Likewise.
6107 * gdb.btrace/vdso.exp: Likewise.
6108
6109 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6110
6111 * gdb.btrace/enable-running.c: New.
6112 * gdb.btrace/enable-running.exp: New.
6113
6114 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6115
6116 * gdb.arch/amd64-gs_base.c: New file.
6117 * gdb.arch/amd64-gs_base.exp: New file.
6118
6119 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6120
6121 * lib/memory.exp: Remove spurious empty newlines.
6122
6123 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6124
6125 * gdb.python/py-bad-printers.exp: Load python file using "source".
6126 * gdb.python/py-events.exp: Likewise.
6127 * gdb.python/py-evsignal.exp: Likewise.
6128 * gdb.python/py-evthreads.exp: Likewise.
6129 * gdb.python/py-frame-args.exp: Likewise.
6130 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6131 * gdb.python/py-framefilter-mi.exp: Likewise.
6132 * gdb.python/py-framefilter.exp: Likewise.
6133 * gdb.python/py-mi.exp: Likewise.
6134 * gdb.python/py-pp-maint.exp: Likewise.
6135 * gdb.python/py-pp-registration.exp: Likewise.
6136 * gdb.python/py-prettyprint.exp: Likewise.
6137 (run_lang_tests): Likewise.
6138 * gdb.python/py-typeprint.exp: Likewise.
6139
6140 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6141
6142 * lib/memory.exp: New file.
6143 * lib/gdb.exp: Load memory.exp.
6144 * gdb.base/memattr.exp (delete_memory): Move proc to
6145 lib/memory.exp and rename to delete_memory_regions.
6146 Replace delete_memory with delete_memory_regions.
6147 Cleanup memory regions before tests.
6148 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6149 before tests.
6150
6151 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6152
6153 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6154 files.
6155 (initialize): New function conditionally defined.
6156 (testcases): Move within conditional block.
6157 (main): Call initialize.
6158 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6159 of gdb.reverse/insn-reverse.c.
6160 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6161 gdb.reverse/insn-reverse.c.
6162
6163 2017-01-26 Yao Qi <yao.qi@linaro.org>
6164
6165 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6166 disassemble on address 0.
6167
6168 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6169 Yao Qi <yao.qi@linaro.org>
6170
6171 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6172 * gdb.dwarf2/implptr-64bit.S: Remove.
6173 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6174 variables in caller's context. Add DW_OP_implicit_value.
6175
6176 2017-01-25 Yao Qi <yao.qi@linaro.org>
6177
6178 * lib/dwarf.exp (Dwarf::_location): Handle
6179 DW_OP_GNU_implicit_pointer with proper size.
6180
6181 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6182
6183 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6184 and add untested calls.
6185
6186 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6187
6188 * gdb.python/python.exp: Check line number against what GDB thinks
6189 the line number is for func1.
6190
6191 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6192
6193 * gdb.dlang/debug-expr.exp: New file.
6194
6195 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6196
6197 Fix test names for the following files:
6198
6199 * gdb.ada/exec_changed.exp
6200 * gdb.ada/info_types.exp
6201 * gdb.arch/aarch64-atomic-inst.exp
6202 * gdb.arch/aarch64-fp.exp
6203 * gdb.arch/altivec-abi.exp
6204 * gdb.arch/altivec-regs.exp
6205 * gdb.arch/amd64-byte.exp
6206 * gdb.arch/amd64-disp-step.exp
6207 * gdb.arch/amd64-dword.exp
6208 * gdb.arch/amd64-entry-value-inline.exp
6209 * gdb.arch/amd64-entry-value-param.exp
6210 * gdb.arch/amd64-entry-value-paramref.exp
6211 * gdb.arch/amd64-entry-value.exp
6212 * gdb.arch/amd64-i386-address.exp
6213 * gdb.arch/amd64-invalid-stack-middle.exp
6214 * gdb.arch/amd64-invalid-stack-top.exp
6215 * gdb.arch/amd64-optimout-repeat.exp
6216 * gdb.arch/amd64-prologue-skip.exp
6217 * gdb.arch/amd64-prologue-xmm.exp
6218 * gdb.arch/amd64-stap-special-operands.exp
6219 * gdb.arch/amd64-stap-wrong-subexp.exp
6220 * gdb.arch/amd64-tailcall-cxx.exp
6221 * gdb.arch/amd64-tailcall-noret.exp
6222 * gdb.arch/amd64-tailcall-ret.exp
6223 * gdb.arch/amd64-tailcall-self.exp
6224 * gdb.arch/amd64-word.exp
6225 * gdb.arch/arm-bl-branch-dest.exp
6226 * gdb.arch/arm-disp-step.exp
6227 * gdb.arch/arm-neon.exp
6228 * gdb.arch/arm-single-step-kernel-helper.exp
6229 * gdb.arch/avr-flash-qualifier.exp
6230 * gdb.arch/disp-step-insn-reloc.exp
6231 * gdb.arch/e500-abi.exp
6232 * gdb.arch/e500-regs.exp
6233 * gdb.arch/ftrace-insn-reloc.exp
6234 * gdb.arch/i386-avx512.exp
6235 * gdb.arch/i386-bp_permanent.exp
6236 * gdb.arch/i386-byte.exp
6237 * gdb.arch/i386-cfi-notcurrent.exp
6238 * gdb.arch/i386-disp-step.exp
6239 * gdb.arch/i386-dr3-watch.exp
6240 * gdb.arch/i386-float.exp
6241 * gdb.arch/i386-gnu-cfi.exp
6242 * gdb.arch/i386-mpx-map.exp
6243 * gdb.arch/i386-mpx-sigsegv.exp
6244 * gdb.arch/i386-mpx-simple_segv.exp
6245 * gdb.arch/i386-mpx.exp
6246 * gdb.arch/i386-permbkpt.exp
6247 * gdb.arch/i386-prologue.exp
6248 * gdb.arch/i386-signal.exp
6249 * gdb.arch/i386-size-overlap.exp
6250 * gdb.arch/i386-unwind.exp
6251 * gdb.arch/i386-word.exp
6252 * gdb.arch/mips-fcr.exp
6253 * gdb.arch/powerpc-d128-regs.exp
6254 * gdb.arch/powerpc-stackless.exp
6255 * gdb.arch/ppc64-atomic-inst.exp
6256 * gdb.arch/s390-stackless.exp
6257 * gdb.arch/s390-tdbregs.exp
6258 * gdb.arch/s390-vregs.exp
6259 * gdb.arch/sparc-sysstep.exp
6260 * gdb.arch/thumb-bx-pc.exp
6261 * gdb.arch/thumb-singlestep.exp
6262 * gdb.arch/thumb2-it.exp
6263 * gdb.arch/vsx-regs.exp
6264 * gdb.asm/asm-source.exp
6265 * gdb.base/a2-run.exp
6266 * gdb.base/advance.exp
6267 * gdb.base/all-bin.exp
6268 * gdb.base/anon.exp
6269 * gdb.base/args.exp
6270 * gdb.base/arithmet.exp
6271 * gdb.base/async-shell.exp
6272 * gdb.base/async.exp
6273 * gdb.base/attach-pie-noexec.exp
6274 * gdb.base/attach-twice.exp
6275 * gdb.base/auto-load.exp
6276 * gdb.base/bang.exp
6277 * gdb.base/bitfields.exp
6278 * gdb.base/break-always.exp
6279 * gdb.base/break-caller-line.exp
6280 * gdb.base/break-entry.exp
6281 * gdb.base/break-inline.exp
6282 * gdb.base/break-on-linker-gcd-function.exp
6283 * gdb.base/break-probes.exp
6284 * gdb.base/break.exp
6285 * gdb.base/breakpoint-shadow.exp
6286 * gdb.base/call-ar-st.exp
6287 * gdb.base/call-sc.exp
6288 * gdb.base/call-signal-resume.exp
6289 * gdb.base/call-strs.exp
6290 * gdb.base/callfuncs.exp
6291 * gdb.base/catch-fork-static.exp
6292 * gdb.base/catch-gdb-caused-signals.exp
6293 * gdb.base/catch-load.exp
6294 * gdb.base/catch-signal-fork.exp
6295 * gdb.base/catch-signal.exp
6296 * gdb.base/catch-syscall.exp
6297 * gdb.base/charset.exp
6298 * gdb.base/checkpoint.exp
6299 * gdb.base/chng-syms.exp
6300 * gdb.base/code-expr.exp
6301 * gdb.base/code_elim.exp
6302 * gdb.base/commands.exp
6303 * gdb.base/completion.exp
6304 * gdb.base/complex.exp
6305 * gdb.base/cond-expr.exp
6306 * gdb.base/condbreak.exp
6307 * gdb.base/consecutive.exp
6308 * gdb.base/continue-all-already-running.exp
6309 * gdb.base/coredump-filter.exp
6310 * gdb.base/corefile.exp
6311 * gdb.base/dbx.exp
6312 * gdb.base/debug-expr.exp
6313 * gdb.base/define.exp
6314 * gdb.base/del.exp
6315 * gdb.base/disabled-location.exp
6316 * gdb.base/disasm-end-cu.exp
6317 * gdb.base/disasm-optim.exp
6318 * gdb.base/display.exp
6319 * gdb.base/duplicate-bp.exp
6320 * gdb.base/ena-dis-br.exp
6321 * gdb.base/ending-run.exp
6322 * gdb.base/enumval.exp
6323 * gdb.base/environ.exp
6324 * gdb.base/eu-strip-infcall.exp
6325 * gdb.base/eval-avoid-side-effects.exp
6326 * gdb.base/eval-skip.exp
6327 * gdb.base/exitsignal.exp
6328 * gdb.base/expand-psymtabs.exp
6329 * gdb.base/filesym.exp
6330 * gdb.base/find-unmapped.exp
6331 * gdb.base/finish.exp
6332 * gdb.base/float.exp
6333 * gdb.base/foll-exec-mode.exp
6334 * gdb.base/foll-exec.exp
6335 * gdb.base/foll-fork.exp
6336 * gdb.base/fortran-sym-case.exp
6337 * gdb.base/freebpcmd.exp
6338 * gdb.base/func-ptr.exp
6339 * gdb.base/func-ptrs.exp
6340 * gdb.base/funcargs.exp
6341 * gdb.base/gcore-buffer-overflow.exp
6342 * gdb.base/gcore-relro-pie.exp
6343 * gdb.base/gcore-relro.exp
6344 * gdb.base/gcore.exp
6345 * gdb.base/gdb1090.exp
6346 * gdb.base/gdb11530.exp
6347 * gdb.base/gdb11531.exp
6348 * gdb.base/gdb1821.exp
6349 * gdb.base/gdbindex-stabs.exp
6350 * gdb.base/gdbvars.exp
6351 * gdb.base/hbreak.exp
6352 * gdb.base/hbreak2.exp
6353 * gdb.base/included.exp
6354 * gdb.base/infcall-input.exp
6355 * gdb.base/inferior-died.exp
6356 * gdb.base/infnan.exp
6357 * gdb.base/info-macros.exp
6358 * gdb.base/info-os.exp
6359 * gdb.base/info-proc.exp
6360 * gdb.base/info-shared.exp
6361 * gdb.base/info-target.exp
6362 * gdb.base/infoline.exp
6363 * gdb.base/interp.exp
6364 * gdb.base/interrupt.exp
6365 * gdb.base/jit-reader.exp
6366 * gdb.base/jit-simple.exp
6367 * gdb.base/kill-after-signal.exp
6368 * gdb.base/kill-detach-inferiors-cmd.exp
6369 * gdb.base/label.exp
6370 * gdb.base/langs.exp
6371 * gdb.base/ldbl_e308.exp
6372 * gdb.base/line-symtabs.exp
6373 * gdb.base/linespecs.exp
6374 * gdb.base/list.exp
6375 * gdb.base/long_long.exp
6376 * gdb.base/longest-types.exp
6377 * gdb.base/maint.exp
6378 * gdb.base/max-value-size.exp
6379 * gdb.base/memattr.exp
6380 * gdb.base/mips_pro.exp
6381 * gdb.base/morestack.exp
6382 * gdb.base/moribund-step.exp
6383 * gdb.base/multi-forks.exp
6384 * gdb.base/nested-addr.exp
6385 * gdb.base/nextoverexit.exp
6386 * gdb.base/noreturn-finish.exp
6387 * gdb.base/noreturn-return.exp
6388 * gdb.base/nostdlib.exp
6389 * gdb.base/offsets.exp
6390 * gdb.base/opaque.exp
6391 * gdb.base/pc-fp.exp
6392 * gdb.base/permissions.exp
6393 * gdb.base/print-symbol-loading.exp
6394 * gdb.base/prologue-include.exp
6395 * gdb.base/psymtab.exp
6396 * gdb.base/ptype.exp
6397 * gdb.base/random-signal.exp
6398 * gdb.base/randomize.exp
6399 * gdb.base/range-stepping.exp
6400 * gdb.base/readline-ask.exp
6401 * gdb.base/recpar.exp
6402 * gdb.base/recurse.exp
6403 * gdb.base/relational.exp
6404 * gdb.base/restore.exp
6405 * gdb.base/return-nodebug.exp
6406 * gdb.base/return.exp
6407 * gdb.base/run-after-attach.exp
6408 * gdb.base/save-bp.exp
6409 * gdb.base/scope.exp
6410 * gdb.base/sect-cmd.exp
6411 * gdb.base/set-lang-auto.exp
6412 * gdb.base/set-noassign.exp
6413 * gdb.base/setvar.exp
6414 * gdb.base/sigall.exp
6415 * gdb.base/sigbpt.exp
6416 * gdb.base/siginfo-addr.exp
6417 * gdb.base/siginfo-infcall.exp
6418 * gdb.base/siginfo-obj.exp
6419 * gdb.base/siginfo.exp
6420 * gdb.base/signals-state-child.exp
6421 * gdb.base/signest.exp
6422 * gdb.base/sigstep.exp
6423 * gdb.base/sizeof.exp
6424 * gdb.base/skip.exp
6425 * gdb.base/solib-corrupted.exp
6426 * gdb.base/solib-nodir.exp
6427 * gdb.base/solib-search.exp
6428 * gdb.base/stack-checking.exp
6429 * gdb.base/stale-infcall.exp
6430 * gdb.base/stap-probe.exp
6431 * gdb.base/start.exp
6432 * gdb.base/step-break.exp
6433 * gdb.base/step-bt.exp
6434 * gdb.base/step-line.exp
6435 * gdb.base/step-over-exit.exp
6436 * gdb.base/step-over-syscall.exp
6437 * gdb.base/step-resume-infcall.exp
6438 * gdb.base/step-test.exp
6439 * gdb.base/store.exp
6440 * gdb.base/structs3.exp
6441 * gdb.base/sym-file.exp
6442 * gdb.base/symbol-without-target_section.exp
6443 * gdb.base/term.exp
6444 * gdb.base/testenv.exp
6445 * gdb.base/ui-redirect.exp
6446 * gdb.base/until.exp
6447 * gdb.base/unwindonsignal.exp
6448 * gdb.base/value-double-free.exp
6449 * gdb.base/vla-datatypes.exp
6450 * gdb.base/vla-ptr.exp
6451 * gdb.base/vla-sideeffect.exp
6452 * gdb.base/volatile.exp
6453 * gdb.base/watch-cond-infcall.exp
6454 * gdb.base/watch-cond.exp
6455 * gdb.base/watch-non-mem.exp
6456 * gdb.base/watch-read.exp
6457 * gdb.base/watch-vfork.exp
6458 * gdb.base/watchpoint-cond-gone.exp
6459 * gdb.base/watchpoint-delete.exp
6460 * gdb.base/watchpoint-hw-hit-once.exp
6461 * gdb.base/watchpoint-hw.exp
6462 * gdb.base/watchpoint-stops-at-right-insn.exp
6463 * gdb.base/watchpoints.exp
6464 * gdb.base/wchar.exp
6465 * gdb.base/whatis-exp.exp
6466 * gdb.btrace/buffer-size.exp
6467 * gdb.btrace/data.exp
6468 * gdb.btrace/delta.exp
6469 * gdb.btrace/dlopen.exp
6470 * gdb.btrace/enable.exp
6471 * gdb.btrace/exception.exp
6472 * gdb.btrace/function_call_history.exp
6473 * gdb.btrace/gcore.exp
6474 * gdb.btrace/instruction_history.exp
6475 * gdb.btrace/nohist.exp
6476 * gdb.btrace/reconnect.exp
6477 * gdb.btrace/record_goto-step.exp
6478 * gdb.btrace/record_goto.exp
6479 * gdb.btrace/rn-dl-bind.exp
6480 * gdb.btrace/segv.exp
6481 * gdb.btrace/step.exp
6482 * gdb.btrace/stepi.exp
6483 * gdb.btrace/tailcall-only.exp
6484 * gdb.btrace/tailcall.exp
6485 * gdb.btrace/tsx.exp
6486 * gdb.btrace/unknown_functions.exp
6487 * gdb.btrace/vdso.exp
6488 * gdb.compile/compile-ifunc.exp
6489 * gdb.compile/compile-ops.exp
6490 * gdb.compile/compile-print.exp
6491 * gdb.compile/compile-setjmp.exp
6492 * gdb.cp/abstract-origin.exp
6493 * gdb.cp/ambiguous.exp
6494 * gdb.cp/annota2.exp
6495 * gdb.cp/annota3.exp
6496 * gdb.cp/anon-ns.exp
6497 * gdb.cp/anon-struct.exp
6498 * gdb.cp/anon-union.exp
6499 * gdb.cp/arg-reference.exp
6500 * gdb.cp/baseenum.exp
6501 * gdb.cp/bool.exp
6502 * gdb.cp/breakpoint.exp
6503 * gdb.cp/bs15503.exp
6504 * gdb.cp/call-c.exp
6505 * gdb.cp/casts.exp
6506 * gdb.cp/chained-calls.exp
6507 * gdb.cp/class2.exp
6508 * gdb.cp/classes.exp
6509 * gdb.cp/cmpd-minsyms.exp
6510 * gdb.cp/converts.exp
6511 * gdb.cp/cp-relocate.exp
6512 * gdb.cp/cpcompletion.exp
6513 * gdb.cp/cpexprs.exp
6514 * gdb.cp/cplabel.exp
6515 * gdb.cp/cplusfuncs.exp
6516 * gdb.cp/cpsizeof.exp
6517 * gdb.cp/ctti.exp
6518 * gdb.cp/derivation.exp
6519 * gdb.cp/destrprint.exp
6520 * gdb.cp/dispcxx.exp
6521 * gdb.cp/enum-class.exp
6522 * gdb.cp/exception.exp
6523 * gdb.cp/exceptprint.exp
6524 * gdb.cp/expand-psymtabs-cxx.exp
6525 * gdb.cp/expand-sals.exp
6526 * gdb.cp/extern-c.exp
6527 * gdb.cp/filename.exp
6528 * gdb.cp/formatted-ref.exp
6529 * gdb.cp/fpointer.exp
6530 * gdb.cp/gdb1355.exp
6531 * gdb.cp/gdb2495.exp
6532 * gdb.cp/hang.exp
6533 * gdb.cp/impl-this.exp
6534 * gdb.cp/infcall-dlopen.exp
6535 * gdb.cp/inherit.exp
6536 * gdb.cp/iostream.exp
6537 * gdb.cp/koenig.exp
6538 * gdb.cp/local.exp
6539 * gdb.cp/m-data.exp
6540 * gdb.cp/m-static.exp
6541 * gdb.cp/mb-ctor.exp
6542 * gdb.cp/mb-inline.exp
6543 * gdb.cp/mb-templates.exp
6544 * gdb.cp/member-name.exp
6545 * gdb.cp/member-ptr.exp
6546 * gdb.cp/meth-typedefs.exp
6547 * gdb.cp/method.exp
6548 * gdb.cp/method2.exp
6549 * gdb.cp/minsym-fallback.exp
6550 * gdb.cp/misc.exp
6551 * gdb.cp/namelessclass.exp
6552 * gdb.cp/namespace-enum.exp
6553 * gdb.cp/namespace-nested-import.exp
6554 * gdb.cp/namespace.exp
6555 * gdb.cp/nextoverthrow.exp
6556 * gdb.cp/no-dmgl-verbose.exp
6557 * gdb.cp/non-trivial-retval.exp
6558 * gdb.cp/noparam.exp
6559 * gdb.cp/nsdecl.exp
6560 * gdb.cp/nsimport.exp
6561 * gdb.cp/nsnested.exp
6562 * gdb.cp/nsnoimports.exp
6563 * gdb.cp/nsrecurs.exp
6564 * gdb.cp/nsstress.exp
6565 * gdb.cp/nsusing.exp
6566 * gdb.cp/operator.exp
6567 * gdb.cp/oranking.exp
6568 * gdb.cp/overload-const.exp
6569 * gdb.cp/overload.exp
6570 * gdb.cp/ovldbreak.exp
6571 * gdb.cp/ovsrch.exp
6572 * gdb.cp/paren-type.exp
6573 * gdb.cp/parse-lang.exp
6574 * gdb.cp/pass-by-ref.exp
6575 * gdb.cp/pr-1023.exp
6576 * gdb.cp/pr-1210.exp
6577 * gdb.cp/pr-574.exp
6578 * gdb.cp/pr10687.exp
6579 * gdb.cp/pr12028.exp
6580 * gdb.cp/pr17132.exp
6581 * gdb.cp/pr17494.exp
6582 * gdb.cp/pr9067.exp
6583 * gdb.cp/pr9167.exp
6584 * gdb.cp/pr9631.exp
6585 * gdb.cp/printmethod.exp
6586 * gdb.cp/psmang.exp
6587 * gdb.cp/psymtab-parameter.exp
6588 * gdb.cp/ptype-cv-cp.exp
6589 * gdb.cp/ptype-flags.exp
6590 * gdb.cp/re-set-overloaded.exp
6591 * gdb.cp/ref-types.exp
6592 * gdb.cp/rtti.exp
6593 * gdb.cp/scope-err.exp
6594 * gdb.cp/shadow.exp
6595 * gdb.cp/smartp.exp
6596 * gdb.cp/static-method.exp
6597 * gdb.cp/static-print-quit.exp
6598 * gdb.cp/temargs.exp
6599 * gdb.cp/templates.exp
6600 * gdb.cp/try_catch.exp
6601 * gdb.cp/typedef-operator.exp
6602 * gdb.cp/typeid.exp
6603 * gdb.cp/userdef.exp
6604 * gdb.cp/using-crash.exp
6605 * gdb.cp/var-tag.exp
6606 * gdb.cp/virtbase.exp
6607 * gdb.cp/virtfunc.exp
6608 * gdb.cp/virtfunc2.exp
6609 * gdb.cp/vla-cxx.exp
6610 * gdb.disasm/t01_mov.exp
6611 * gdb.disasm/t02_mova.exp
6612 * gdb.disasm/t03_add.exp
6613 * gdb.disasm/t04_sub.exp
6614 * gdb.disasm/t05_cmp.exp
6615 * gdb.disasm/t06_ari2.exp
6616 * gdb.disasm/t07_ari3.exp
6617 * gdb.disasm/t08_or.exp
6618 * gdb.disasm/t09_xor.exp
6619 * gdb.disasm/t10_and.exp
6620 * gdb.disasm/t11_logs.exp
6621 * gdb.disasm/t12_bit.exp
6622 * gdb.disasm/t13_otr.exp
6623 * gdb.dlang/circular.exp
6624 * gdb.dwarf2/arr-stride.exp
6625 * gdb.dwarf2/arr-subrange.exp
6626 * gdb.dwarf2/atomic-type.exp
6627 * gdb.dwarf2/bad-regnum.exp
6628 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6629 * gdb.dwarf2/callframecfa.exp
6630 * gdb.dwarf2/clztest.exp
6631 * gdb.dwarf2/corrupt.exp
6632 * gdb.dwarf2/data-loc.exp
6633 * gdb.dwarf2/dup-psym.exp
6634 * gdb.dwarf2/dw2-anon-mptr.exp
6635 * gdb.dwarf2/dw2-anonymous-func.exp
6636 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6637 * gdb.dwarf2/dw2-bad-unresolved.exp
6638 * gdb.dwarf2/dw2-basic.exp
6639 * gdb.dwarf2/dw2-canonicalize-type.exp
6640 * gdb.dwarf2/dw2-case-insensitive.exp
6641 * gdb.dwarf2/dw2-common-block.exp
6642 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6643 * gdb.dwarf2/dw2-compressed.exp
6644 * gdb.dwarf2/dw2-const.exp
6645 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6646 * gdb.dwarf2/dw2-cu-size.exp
6647 * gdb.dwarf2/dw2-dup-frame.exp
6648 * gdb.dwarf2/dw2-entry-value.exp
6649 * gdb.dwarf2/dw2-icycle.exp
6650 * gdb.dwarf2/dw2-ifort-parameter.exp
6651 * gdb.dwarf2/dw2-inline-break.exp
6652 * gdb.dwarf2/dw2-inline-param.exp
6653 * gdb.dwarf2/dw2-intercu.exp
6654 * gdb.dwarf2/dw2-intermix.exp
6655 * gdb.dwarf2/dw2-lexical-block-bare.exp
6656 * gdb.dwarf2/dw2-linkage-name-trust.exp
6657 * gdb.dwarf2/dw2-minsym-in-cu.exp
6658 * gdb.dwarf2/dw2-noloc.exp
6659 * gdb.dwarf2/dw2-op-call.exp
6660 * gdb.dwarf2/dw2-op-out-param.exp
6661 * gdb.dwarf2/dw2-opt-structptr.exp
6662 * gdb.dwarf2/dw2-param-error.exp
6663 * gdb.dwarf2/dw2-producer.exp
6664 * gdb.dwarf2/dw2-ranges-base.exp
6665 * gdb.dwarf2/dw2-ref-missing-frame.exp
6666 * gdb.dwarf2/dw2-reg-undefined.exp
6667 * gdb.dwarf2/dw2-regno-invalid.exp
6668 * gdb.dwarf2/dw2-restore.exp
6669 * gdb.dwarf2/dw2-restrict.exp
6670 * gdb.dwarf2/dw2-single-line-discriminators.exp
6671 * gdb.dwarf2/dw2-strp.exp
6672 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6673 * gdb.dwarf2/dw2-unresolved.exp
6674 * gdb.dwarf2/dw2-var-zero-addr.exp
6675 * gdb.dwarf2/dw4-sig-types.exp
6676 * gdb.dwarf2/dwz.exp
6677 * gdb.dwarf2/dynarr-ptr.exp
6678 * gdb.dwarf2/enum-type.exp
6679 * gdb.dwarf2/gdb-index.exp
6680 * gdb.dwarf2/implptr-64bit.exp
6681 * gdb.dwarf2/implptr-optimized-out.exp
6682 * gdb.dwarf2/implptr.exp
6683 * gdb.dwarf2/implref-array.exp
6684 * gdb.dwarf2/implref-const.exp
6685 * gdb.dwarf2/implref-global.exp
6686 * gdb.dwarf2/implref-struct.exp
6687 * gdb.dwarf2/mac-fileno.exp
6688 * gdb.dwarf2/main-subprogram.exp
6689 * gdb.dwarf2/member-ptr-forwardref.exp
6690 * gdb.dwarf2/method-ptr.exp
6691 * gdb.dwarf2/missing-sig-type.exp
6692 * gdb.dwarf2/nonvar-access.exp
6693 * gdb.dwarf2/opaque-type-lookup.exp
6694 * gdb.dwarf2/pieces-optimized-out.exp
6695 * gdb.dwarf2/pieces.exp
6696 * gdb.dwarf2/pr10770.exp
6697 * gdb.dwarf2/pr13961.exp
6698 * gdb.dwarf2/staticvirtual.exp
6699 * gdb.dwarf2/subrange.exp
6700 * gdb.dwarf2/symtab-producer.exp
6701 * gdb.dwarf2/trace-crash.exp
6702 * gdb.dwarf2/typeddwarf.exp
6703 * gdb.dwarf2/valop.exp
6704 * gdb.dwarf2/watch-notconst.exp
6705 * gdb.fortran/array-element.exp
6706 * gdb.fortran/charset.exp
6707 * gdb.fortran/common-block.exp
6708 * gdb.fortran/complex.exp
6709 * gdb.fortran/derived-type-function.exp
6710 * gdb.fortran/derived-type.exp
6711 * gdb.fortran/logical.exp
6712 * gdb.fortran/module.exp
6713 * gdb.fortran/multi-dim.exp
6714 * gdb.fortran/nested-funcs.exp
6715 * gdb.fortran/print-formatted.exp
6716 * gdb.fortran/subarray.exp
6717 * gdb.fortran/vla-alloc-assoc.exp
6718 * gdb.fortran/vla-datatypes.exp
6719 * gdb.fortran/vla-history.exp
6720 * gdb.fortran/vla-ptr-info.exp
6721 * gdb.fortran/vla-ptype-sub.exp
6722 * gdb.fortran/vla-ptype.exp
6723 * gdb.fortran/vla-sizeof.exp
6724 * gdb.fortran/vla-type.exp
6725 * gdb.fortran/vla-value-sub-arbitrary.exp
6726 * gdb.fortran/vla-value-sub-finish.exp
6727 * gdb.fortran/vla-value-sub.exp
6728 * gdb.fortran/vla-value.exp
6729 * gdb.fortran/whatis_type.exp
6730 * gdb.go/chan.exp
6731 * gdb.go/handcall.exp
6732 * gdb.go/hello.exp
6733 * gdb.go/integers.exp
6734 * gdb.go/methods.exp
6735 * gdb.go/package.exp
6736 * gdb.go/strings.exp
6737 * gdb.go/types.exp
6738 * gdb.go/unsafe.exp
6739 * gdb.guile/scm-arch.exp
6740 * gdb.guile/scm-block.exp
6741 * gdb.guile/scm-breakpoint.exp
6742 * gdb.guile/scm-cmd.exp
6743 * gdb.guile/scm-disasm.exp
6744 * gdb.guile/scm-equal.exp
6745 * gdb.guile/scm-frame-args.exp
6746 * gdb.guile/scm-frame-inline.exp
6747 * gdb.guile/scm-frame.exp
6748 * gdb.guile/scm-iterator.exp
6749 * gdb.guile/scm-math.exp
6750 * gdb.guile/scm-objfile.exp
6751 * gdb.guile/scm-ports.exp
6752 * gdb.guile/scm-symbol.exp
6753 * gdb.guile/scm-symtab.exp
6754 * gdb.guile/scm-value-cc.exp
6755 * gdb.guile/types-module.exp
6756 * gdb.linespec/break-ask.exp
6757 * gdb.linespec/cpexplicit.exp
6758 * gdb.linespec/explicit.exp
6759 * gdb.linespec/keywords.exp
6760 * gdb.linespec/linespec.exp
6761 * gdb.linespec/ls-dollar.exp
6762 * gdb.linespec/ls-errs.exp
6763 * gdb.linespec/skip-two.exp
6764 * gdb.linespec/thread.exp
6765 * gdb.mi/mi-async.exp
6766 * gdb.mi/mi-basics.exp
6767 * gdb.mi/mi-break.exp
6768 * gdb.mi/mi-catch-load.exp
6769 * gdb.mi/mi-cli.exp
6770 * gdb.mi/mi-cmd-param-changed.exp
6771 * gdb.mi/mi-console.exp
6772 * gdb.mi/mi-detach.exp
6773 * gdb.mi/mi-disassemble.exp
6774 * gdb.mi/mi-eval.exp
6775 * gdb.mi/mi-file-transfer.exp
6776 * gdb.mi/mi-file.exp
6777 * gdb.mi/mi-fill-memory.exp
6778 * gdb.mi/mi-inheritance-syntax-error.exp
6779 * gdb.mi/mi-linespec-err-cp.exp
6780 * gdb.mi/mi-logging.exp
6781 * gdb.mi/mi-memory-changed.exp
6782 * gdb.mi/mi-read-memory.exp
6783 * gdb.mi/mi-record-changed.exp
6784 * gdb.mi/mi-reg-undefined.exp
6785 * gdb.mi/mi-regs.exp
6786 * gdb.mi/mi-return.exp
6787 * gdb.mi/mi-reverse.exp
6788 * gdb.mi/mi-simplerun.exp
6789 * gdb.mi/mi-solib.exp
6790 * gdb.mi/mi-stack.exp
6791 * gdb.mi/mi-stepi.exp
6792 * gdb.mi/mi-syn-frame.exp
6793 * gdb.mi/mi-until.exp
6794 * gdb.mi/mi-var-block.exp
6795 * gdb.mi/mi-var-child.exp
6796 * gdb.mi/mi-var-cmd.exp
6797 * gdb.mi/mi-var-cp.exp
6798 * gdb.mi/mi-var-display.exp
6799 * gdb.mi/mi-var-invalidate.exp
6800 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6801 * gdb.mi/mi-vla-fortran.exp
6802 * gdb.mi/mi-watch.exp
6803 * gdb.mi/mi2-var-child.exp
6804 * gdb.mi/user-selected-context-sync.exp
6805 * gdb.modula2/unbounded-array.exp
6806 * gdb.multi/dummy-frame-restore.exp
6807 * gdb.multi/multi-arch-exec.exp
6808 * gdb.multi/multi-arch.exp
6809 * gdb.multi/tids.exp
6810 * gdb.multi/watchpoint-multi.exp
6811 * gdb.opencl/callfuncs.exp
6812 * gdb.opencl/convs_casts.exp
6813 * gdb.opencl/datatypes.exp
6814 * gdb.opencl/operators.exp
6815 * gdb.opencl/vec_comps.exp
6816 * gdb.opt/clobbered-registers-O2.exp
6817 * gdb.opt/inline-break.exp
6818 * gdb.opt/inline-bt.exp
6819 * gdb.opt/inline-cmds.exp
6820 * gdb.opt/inline-locals.exp
6821 * gdb.pascal/case-insensitive-symbols.exp
6822 * gdb.pascal/floats.exp
6823 * gdb.pascal/gdb11492.exp
6824 * gdb.python/lib-types.exp
6825 * gdb.python/py-arch.exp
6826 * gdb.python/py-as-string.exp
6827 * gdb.python/py-bad-printers.exp
6828 * gdb.python/py-block.exp
6829 * gdb.python/py-breakpoint-create-fail.exp
6830 * gdb.python/py-breakpoint.exp
6831 * gdb.python/py-caller-is.exp
6832 * gdb.python/py-cmd.exp
6833 * gdb.python/py-explore-cc.exp
6834 * gdb.python/py-explore.exp
6835 * gdb.python/py-finish-breakpoint.exp
6836 * gdb.python/py-finish-breakpoint2.exp
6837 * gdb.python/py-frame-args.exp
6838 * gdb.python/py-frame-inline.exp
6839 * gdb.python/py-frame.exp
6840 * gdb.python/py-framefilter-mi.exp
6841 * gdb.python/py-infthread.exp
6842 * gdb.python/py-lazy-string.exp
6843 * gdb.python/py-linetable.exp
6844 * gdb.python/py-mi-events.exp
6845 * gdb.python/py-mi-objfile.exp
6846 * gdb.python/py-mi.exp
6847 * gdb.python/py-objfile.exp
6848 * gdb.python/py-pp-integral.exp
6849 * gdb.python/py-pp-maint.exp
6850 * gdb.python/py-pp-re-notag.exp
6851 * gdb.python/py-pp-registration.exp
6852 * gdb.python/py-recurse-unwind.exp
6853 * gdb.python/py-strfns.exp
6854 * gdb.python/py-symbol.exp
6855 * gdb.python/py-symtab.exp
6856 * gdb.python/py-sync-interp.exp
6857 * gdb.python/py-typeprint.exp
6858 * gdb.python/py-unwind-maint.exp
6859 * gdb.python/py-unwind.exp
6860 * gdb.python/py-value-cc.exp
6861 * gdb.python/py-xmethods.exp
6862 * gdb.reverse/amd64-tailcall-reverse.exp
6863 * gdb.reverse/break-precsave.exp
6864 * gdb.reverse/break-reverse.exp
6865 * gdb.reverse/consecutive-precsave.exp
6866 * gdb.reverse/consecutive-reverse.exp
6867 * gdb.reverse/finish-precsave.exp
6868 * gdb.reverse/finish-reverse-bkpt.exp
6869 * gdb.reverse/finish-reverse.exp
6870 * gdb.reverse/fstatat-reverse.exp
6871 * gdb.reverse/getresuid-reverse.exp
6872 * gdb.reverse/i386-precsave.exp
6873 * gdb.reverse/i386-reverse.exp
6874 * gdb.reverse/i386-sse-reverse.exp
6875 * gdb.reverse/i387-env-reverse.exp
6876 * gdb.reverse/i387-stack-reverse.exp
6877 * gdb.reverse/insn-reverse.exp
6878 * gdb.reverse/machinestate-precsave.exp
6879 * gdb.reverse/machinestate.exp
6880 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6881 * gdb.reverse/pipe-reverse.exp
6882 * gdb.reverse/readv-reverse.exp
6883 * gdb.reverse/recvmsg-reverse.exp
6884 * gdb.reverse/rerun-prec.exp
6885 * gdb.reverse/s390-mvcle.exp
6886 * gdb.reverse/step-precsave.exp
6887 * gdb.reverse/step-reverse.exp
6888 * gdb.reverse/time-reverse.exp
6889 * gdb.reverse/until-precsave.exp
6890 * gdb.reverse/until-reverse.exp
6891 * gdb.reverse/waitpid-reverse.exp
6892 * gdb.reverse/watch-precsave.exp
6893 * gdb.reverse/watch-reverse.exp
6894 * gdb.rust/generics.exp
6895 * gdb.rust/methods.exp
6896 * gdb.rust/modules.exp
6897 * gdb.rust/simple.exp
6898 * gdb.server/connect-with-no-symbol-file.exp
6899 * gdb.server/ext-attach.exp
6900 * gdb.server/ext-restart.exp
6901 * gdb.server/ext-wrapper.exp
6902 * gdb.server/file-transfer.exp
6903 * gdb.server/server-exec-info.exp
6904 * gdb.server/server-kill.exp
6905 * gdb.server/server-mon.exp
6906 * gdb.server/wrapper.exp
6907 * gdb.stabs/exclfwd.exp
6908 * gdb.stabs/gdb11479.exp
6909 * gdb.threads/clone-new-thread-event.exp
6910 * gdb.threads/corethreads.exp
6911 * gdb.threads/current-lwp-dead.exp
6912 * gdb.threads/dlopen-libpthread.exp
6913 * gdb.threads/gcore-thread.exp
6914 * gdb.threads/sigstep-threads.exp
6915 * gdb.threads/watchpoint-fork.exp
6916 * gdb.trace/actions-changed.exp
6917 * gdb.trace/backtrace.exp
6918 * gdb.trace/change-loc.exp
6919 * gdb.trace/circ.exp
6920 * gdb.trace/collection.exp
6921 * gdb.trace/disconnected-tracing.exp
6922 * gdb.trace/ftrace.exp
6923 * gdb.trace/mi-trace-frame-collected.exp
6924 * gdb.trace/mi-trace-unavailable.exp
6925 * gdb.trace/mi-traceframe-changed.exp
6926 * gdb.trace/mi-tsv-changed.exp
6927 * gdb.trace/no-attach-trace.exp
6928 * gdb.trace/passc-dyn.exp
6929 * gdb.trace/qtro.exp
6930 * gdb.trace/range-stepping.exp
6931 * gdb.trace/read-memory.exp
6932 * gdb.trace/save-trace.exp
6933 * gdb.trace/signal.exp
6934 * gdb.trace/status-stop.exp
6935 * gdb.trace/tfile.exp
6936 * gdb.trace/trace-break.exp
6937 * gdb.trace/trace-buffer-size.exp
6938 * gdb.trace/trace-condition.exp
6939 * gdb.trace/tracefile-pseudo-reg.exp
6940 * gdb.trace/tstatus.exp
6941 * gdb.trace/unavailable.exp
6942 * gdb.trace/while-dyn.exp
6943 * gdb.trace/while-stepping.exp
6944
6945 2016-12-22 Doug Evans <xdje42@gmail.com>
6946
6947 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6948 and msymbols.
6949
6950 2016-12-19 Yao Qi <yao.qi@linaro.org>
6951
6952 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6953 (test_with_self): Don't call do_steps_and_nexts, and remove
6954 code about stepping into xmalloc.
6955
6956 2016-12-09 Yao Qi <yao.qi@linaro.org>
6957
6958 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6959
6960 2016-12-09 Yao Qi <yao.qi@linaro.org>
6961
6962 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6963
6964 2016-12-09 Pedro Alves <palves@redhat.com>
6965
6966 * gdb.base/all-architectures-0.exp: New file.
6967 * gdb.base/all-architectures-1.exp: New file.
6968 * gdb.base/all-architectures-2.exp: New file.
6969 * gdb.base/all-architectures-3.exp: New file.
6970 * gdb.base/all-architectures-4.exp: New file.
6971 * gdb.base/all-architectures-5.exp: New file.
6972 * gdb.base/all-architectures-6.exp: New file.
6973 * gdb.base/all-architectures-7.exp: New file.
6974 * gdb.base/all-architectures.exp.in: New file.
6975
6976 2016-12-09 Yao Qi <yao.qi@linaro.org>
6977
6978 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6979
6980 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6981
6982 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6983 possible.
6984 Remove useless pattern-matching code.
6985
6986 2016-12-02 Pedro Alves <palves@redhat.com>
6987
6988 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6989 procedure.
6990 (top level): Call it.
6991
6992 2016-12-02 Pedro Alves <palves@redhat.com>
6993
6994 * gdb.base/commands.exp (user_defined_command_args_stack_test):
6995 New procedure.
6996 (top level): Call it.
6997
6998 2016-12-02 Pedro Alves <palves@redhat.com>
6999
7000 PR cli/20559
7001 * gdb.base/commands.exp (user_defined_command_args_eval): New
7002 procedure.
7003 (top level): Call it.
7004
7005 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7006
7007 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7008 timeout handling.
7009
7010 2016-12-02 Tom Tromey <tom@tromey.com>
7011
7012 * gdb.dwarf2/main-subprogram.c: New file.
7013 * gdb.dwarf2/main-subprogram.exp: New file.
7014
7015 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7016
7017 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7018 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7019 gdb_test_no_output for a couple of cases.
7020 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7021
7022 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7023
7024 Fix test names and standardize compilation error messages throughout
7025 the following files:
7026
7027 * gdb.ada/start.exp
7028 * gdb.arch/alpha-step.exp
7029 * gdb.arch/e500-prologue.exp
7030 * gdb.arch/ftrace-insn-reloc.exp
7031 * gdb.arch/gdb1291.exp
7032 * gdb.arch/gdb1431.exp
7033 * gdb.arch/gdb1558.exp
7034 * gdb.arch/i386-dr3-watch.exp
7035 * gdb.arch/i386-sse-stack-align.exp
7036 * gdb.arch/ia64-breakpoint-shadow.exp
7037 * gdb.arch/pa-nullify.exp
7038 * gdb.arch/powerpc-aix-prologue.exp
7039 * gdb.arch/thumb-bx-pc.exp
7040 * gdb.base/annota1.exp
7041 * gdb.base/annota3.exp
7042 * gdb.base/arrayidx.exp
7043 * gdb.base/assign.exp
7044 * gdb.base/attach.exp
7045 * gdb.base/auxv.exp
7046 * gdb.base/bang.exp
7047 * gdb.base/bfp-test.exp
7048 * gdb.base/bigcore.exp
7049 * gdb.base/bitfields2.exp
7050 * gdb.base/break-fun-addr.exp
7051 * gdb.base/break-probes.exp
7052 * gdb.base/call-rt-st.exp
7053 * gdb.base/callexit.exp
7054 * gdb.base/catch-fork-kill.exp
7055 * gdb.base/charset.exp
7056 * gdb.base/checkpoint.exp
7057 * gdb.base/comprdebug.exp
7058 * gdb.base/constvars.exp
7059 * gdb.base/coredump-filter.exp
7060 * gdb.base/cursal.exp
7061 * gdb.base/cvexpr.exp
7062 * gdb.base/detach.exp
7063 * gdb.base/display.exp
7064 * gdb.base/dmsym.exp
7065 * gdb.base/dprintf-pending.exp
7066 * gdb.base/dso2dso.exp
7067 * gdb.base/dtrace-probe.exp
7068 * gdb.base/dump.exp
7069 * gdb.base/enum_cond.exp
7070 * gdb.base/exe-lock.exp
7071 * gdb.base/exec-invalid-sysroot.exp
7072 * gdb.base/execl-update-breakpoints.exp
7073 * gdb.base/exprs.exp
7074 * gdb.base/fileio.exp
7075 * gdb.base/find.exp
7076 * gdb.base/finish.exp
7077 * gdb.base/fixsection.exp
7078 * gdb.base/foll-vfork.exp
7079 * gdb.base/frame-args.exp
7080 * gdb.base/gcore.exp
7081 * gdb.base/gdb1250.exp
7082 * gdb.base/global-var-nested-by-dso.exp
7083 * gdb.base/gnu-ifunc.exp
7084 * gdb.base/hashline1.exp
7085 * gdb.base/hashline2.exp
7086 * gdb.base/hashline3.exp
7087 * gdb.base/hbreak-in-shr-unsupported.exp
7088 * gdb.base/huge.exp
7089 * gdb.base/infcall-input.exp
7090 * gdb.base/info-fun.exp
7091 * gdb.base/info-shared.exp
7092 * gdb.base/jit-simple.exp
7093 * gdb.base/jit-so.exp
7094 * gdb.base/jit.exp
7095 * gdb.base/jump.exp
7096 * gdb.base/label.exp
7097 * gdb.base/lineinc.exp
7098 * gdb.base/logical.exp
7099 * gdb.base/longjmp.exp
7100 * gdb.base/macscp.exp
7101 * gdb.base/miscexprs.exp
7102 * gdb.base/new-ui-echo.exp
7103 * gdb.base/new-ui-pending-input.exp
7104 * gdb.base/new-ui.exp
7105 * gdb.base/nodebug.exp
7106 * gdb.base/nofield.exp
7107 * gdb.base/offsets.exp
7108 * gdb.base/overlays.exp
7109 * gdb.base/pending.exp
7110 * gdb.base/pointers.exp
7111 * gdb.base/pr11022.exp
7112 * gdb.base/printcmds.exp
7113 * gdb.base/prologue.exp
7114 * gdb.base/ptr-typedef.exp
7115 * gdb.base/realname-expand.exp
7116 * gdb.base/relativedebug.exp
7117 * gdb.base/relocate.exp
7118 * gdb.base/remote.exp
7119 * gdb.base/reread.exp
7120 * gdb.base/return2.exp
7121 * gdb.base/savedregs.exp
7122 * gdb.base/sep.exp
7123 * gdb.base/sepdebug.exp
7124 * gdb.base/sepsymtab.exp
7125 * gdb.base/set-inferior-tty.exp
7126 * gdb.base/setshow.exp
7127 * gdb.base/shlib-call.exp
7128 * gdb.base/sigaltstack.exp
7129 * gdb.base/siginfo-addr.exp
7130 * gdb.base/signals.exp
7131 * gdb.base/signull.exp
7132 * gdb.base/sigrepeat.exp
7133 * gdb.base/so-impl-ld.exp
7134 * gdb.base/solib-display.exp
7135 * gdb.base/solib-overlap.exp
7136 * gdb.base/solib-search.exp
7137 * gdb.base/solib-symbol.exp
7138 * gdb.base/structs.exp
7139 * gdb.base/structs2.exp
7140 * gdb.base/symtab-search-order.exp
7141 * gdb.base/twice.exp
7142 * gdb.base/unload.exp
7143 * gdb.base/varargs.exp
7144 * gdb.base/watchpoint-solib.exp
7145 * gdb.base/watchpoint.exp
7146 * gdb.base/whatis.exp
7147 * gdb.base/wrong_frame_bt_full.exp
7148 * gdb.btrace/dlopen.exp
7149 * gdb.cell/ea-standalone.exp
7150 * gdb.cell/ea-test.exp
7151 * gdb.cp/dispcxx.exp
7152 * gdb.cp/gdb2384.exp
7153 * gdb.cp/method2.exp
7154 * gdb.cp/nextoverthrow.exp
7155 * gdb.cp/pr10728.exp
7156 * gdb.disasm/am33.exp
7157 * gdb.disasm/h8300s.exp
7158 * gdb.disasm/mn10300.exp
7159 * gdb.disasm/sh3.exp
7160 * gdb.dwarf2/dw2-dir-file-name.exp
7161 * gdb.fortran/complex.exp
7162 * gdb.fortran/library-module.exp
7163 * gdb.guile/scm-pretty-print.exp
7164 * gdb.guile/scm-symbol.exp
7165 * gdb.guile/scm-type.exp
7166 * gdb.guile/scm-value.exp
7167 * gdb.linespec/linespec.exp
7168 * gdb.mi/gdb701.exp
7169 * gdb.mi/gdb792.exp
7170 * gdb.mi/mi-breakpoint-changed.exp
7171 * gdb.mi/mi-dprintf-pending.exp
7172 * gdb.mi/mi-dprintf.exp
7173 * gdb.mi/mi-exit-code.exp
7174 * gdb.mi/mi-pending.exp
7175 * gdb.mi/mi-solib.exp
7176 * gdb.mi/new-ui-mi-sync.exp
7177 * gdb.mi/pr11022.exp
7178 * gdb.mi/user-selected-context-sync.exp
7179 * gdb.opt/solib-intra-step.exp
7180 * gdb.python/py-events.exp
7181 * gdb.python/py-finish-breakpoint.exp
7182 * gdb.python/py-mi.exp
7183 * gdb.python/py-prettyprint.exp
7184 * gdb.python/py-shared.exp
7185 * gdb.python/py-symbol.exp
7186 * gdb.python/py-template.exp
7187 * gdb.python/py-type.exp
7188 * gdb.python/py-value.exp
7189 * gdb.reverse/solib-precsave.exp
7190 * gdb.reverse/solib-reverse.exp
7191 * gdb.server/solib-list.exp
7192 * gdb.stabs/weird.exp
7193 * gdb.threads/reconnect-signal.exp
7194 * gdb.threads/stepi-random-signal.exp
7195 * gdb.trace/actions.exp
7196 * gdb.trace/ax.exp
7197 * gdb.trace/backtrace.exp
7198 * gdb.trace/change-loc.exp
7199 * gdb.trace/deltrace.exp
7200 * gdb.trace/ftrace-lock.exp
7201 * gdb.trace/ftrace.exp
7202 * gdb.trace/infotrace.exp
7203 * gdb.trace/mi-tracepoint-changed.exp
7204 * gdb.trace/packetlen.exp
7205 * gdb.trace/passcount.exp
7206 * gdb.trace/pending.exp
7207 * gdb.trace/range-stepping.exp
7208 * gdb.trace/report.exp
7209 * gdb.trace/stap-trace.exp
7210 * gdb.trace/tfind.exp
7211 * gdb.trace/trace-break.exp
7212 * gdb.trace/trace-condition.exp
7213 * gdb.trace/trace-enable-disable.exp
7214 * gdb.trace/trace-mt.exp
7215 * gdb.trace/tracecmd.exp
7216 * gdb.trace/tspeed.exp
7217 * gdb.trace/tsv.exp
7218 * lib/perftest.exp
7219
7220 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7221
7222 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7223 with gdb_test_no_output.
7224 Use command as test name.
7225
7226 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7227
7228 Fix test names starting with uppercase throughout the files.
7229
7230 * gdb.ada/assign_1.exp
7231 * gdb.ada/boolean_expr.exp
7232 * gdb.base/arrayidx.exp
7233 * gdb.base/del.exp
7234 * gdb.base/gcore-buffer-overflow.exp
7235 * gdb.base/testenv.exp
7236 * gdb.compile/compile.exp
7237 * gdb.python/py-framefilter-invalidarg.exp
7238 * gdb.python/py-framefilter.exp
7239
7240 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7241
7242 Fix test names starting with uppercase throughout the files.
7243
7244 * gdb.ada/array_return.exp
7245 * gdb.ada/expr_delims.exp
7246 * gdb.ada/mi_dyn_arr.exp
7247 * gdb.ada/mi_interface.exp
7248 * gdb.ada/mi_var_array.exp
7249 * gdb.ada/watch_arg.exp
7250 * gdb.arch/alpha-step.exp
7251 * gdb.arch/altivec-regs.exp
7252 * gdb.arch/e500-regs.exp
7253 * gdb.arch/powerpc-d128-regs.exp
7254 * gdb.base/arrayidx.exp
7255 * gdb.base/break.exp
7256 * gdb.base/checkpoint.exp
7257 * gdb.base/debug-expr.exp
7258 * gdb.base/dmsym.exp
7259 * gdb.base/radix.exp
7260 * gdb.base/sepdebug.exp
7261 * gdb.base/testenv.exp
7262 * gdb.base/watch_thread_num.exp
7263 * gdb.base/watchpoint-cond-gone.exp
7264 * gdb.cell/break.exp
7265 * gdb.cell/ea-cache.exp
7266 * gdb.compile/compile.exp
7267 * gdb.cp/gdb2495.exp
7268 * gdb.gdb/selftest.exp
7269 * gdb.gdb/xfullpath.exp
7270 * gdb.go/hello.exp
7271 * gdb.go/integers.exp
7272 * gdb.objc/basicclass.exp
7273 * gdb.pascal/hello.exp
7274 * gdb.pascal/integers.exp
7275 * gdb.python/py-breakpoint.exp
7276 * gdb.python/py-cmd.exp
7277 * gdb.python/py-linetable.exp
7278 * gdb.python/py-xmethods.exp
7279 * gdb.python/python.exp
7280 * gdb.reverse/consecutive-precsave.exp
7281 * gdb.reverse/finish-precsave.exp
7282 * gdb.reverse/i386-precsave.exp
7283 * gdb.reverse/machinestate-precsave.exp
7284 * gdb.reverse/sigall-precsave.exp
7285 * gdb.reverse/solib-precsave.exp
7286 * gdb.reverse/step-precsave.exp
7287 * gdb.reverse/until-precsave.exp
7288 * gdb.reverse/watch-precsave.exp
7289 * gdb.threads/leader-exit.exp
7290 * gdb.threads/pthreads.exp
7291 * gdb.threads/wp-replication.exp
7292 * gdb.trace/actions.exp
7293 * gdb.trace/mi-tsv-changed.exp
7294 * gdb.trace/tsv.exp
7295
7296 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7297
7298 Fix test names starting with uppercase throughout the files.
7299
7300 * gdb.arch/i386-bp_permanent.exp
7301 * gdb.arch/i386-gnu-cfi.exp
7302 * gdb.base/disasm-end-cu.exp
7303 * gdb.base/macscp.exp
7304 * gdb.base/pending.exp
7305 * gdb.base/watch_thread_num.exp
7306 * gdb.cp/exception.exp
7307 * gdb.cp/gdb2495.exp
7308 * gdb.cp/local.exp
7309 * gdb.python/py-evsignal.exp
7310 * gdb.python/python.exp
7311 * gdb.trace/tracecmd.exp
7312
7313 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7314
7315 Fix test names starting with uppercase throughout the files.
7316
7317 * gdb.base/charset.exp
7318 * gdb.base/eval.exp
7319 * gdb.base/multi-forks.exp
7320 * gdb.guile/scm-progspace.exp
7321 * gdb.opencl/datatypes.exp
7322 * gdb.python/py-block.exp
7323 * gdb.python/py-function.exp
7324 * gdb.python/py-symbol.exp
7325 * gdb.python/py-symtab.exp
7326 * gdb.python/py-xmethods.exp
7327 * gdb.reverse/break-precsave.exp
7328 * gdb.reverse/break-reverse.exp
7329 * gdb.reverse/consecutive-precsave.exp
7330 * gdb.reverse/consecutive-reverse.exp
7331 * gdb.reverse/finish-precsave.exp
7332 * gdb.reverse/finish-reverse-bkpt.exp
7333 * gdb.reverse/finish-reverse.exp
7334 * gdb.reverse/fstatat-reverse.exp
7335 * gdb.reverse/getresuid-reverse.exp
7336 * gdb.reverse/i386-precsave.exp
7337 * gdb.reverse/i386-reverse.exp
7338 * gdb.reverse/i386-sse-reverse.exp
7339 * gdb.reverse/i387-stack-reverse.exp
7340 * gdb.reverse/insn-reverse.exp
7341 * gdb.reverse/machinestate-precsave.exp
7342 * gdb.reverse/machinestate.exp
7343 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7344 * gdb.reverse/pipe-reverse.exp
7345 * gdb.reverse/readv-reverse.exp
7346 * gdb.reverse/recvmsg-reverse.exp
7347 * gdb.reverse/rerun-prec.exp
7348 * gdb.reverse/s390-mvcle.exp
7349 * gdb.reverse/sigall-precsave.exp
7350 * gdb.reverse/sigall-reverse.exp
7351 * gdb.reverse/solib-precsave.exp
7352 * gdb.reverse/solib-reverse.exp
7353 * gdb.reverse/step-precsave.exp
7354 * gdb.reverse/step-reverse.exp
7355 * gdb.reverse/time-reverse.exp
7356 * gdb.reverse/until-precsave.exp
7357 * gdb.reverse/until-reverse.exp
7358 * gdb.reverse/waitpid-reverse.exp
7359 * gdb.reverse/watch-precsave.exp
7360 * gdb.reverse/watch-reverse.exp
7361
7362 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7363
7364 Fix test names starting with uppercase throughout the files.
7365
7366 * gdb.arch/i386-mpx-simple_segv.exp
7367 * gdb.arch/i386-mpx.exp
7368 * gdb.arch/i386-permbkpt.exp
7369 * gdb.arch/pa-nullify.exp
7370 * gdb.arch/powerpc-d128-regs.exp
7371 * gdb.arch/vsx-regs.exp
7372 * gdb.base/bfp-test.exp
7373 * gdb.base/break.exp
7374 * gdb.base/breakpoint-shadow.exp
7375 * gdb.base/callfuncs.exp
7376 * gdb.base/charset.exp
7377 * gdb.base/commands.exp
7378 * gdb.base/completion.exp
7379 * gdb.base/dfp-test.exp
7380 * gdb.base/echo.exp
7381 * gdb.base/ending-run.exp
7382 * gdb.base/eval.exp
7383 * gdb.base/expand-psymtabs.exp
7384 * gdb.base/float128.exp
7385 * gdb.base/floatn.exp
7386 * gdb.base/foll-exec-mode.exp
7387 * gdb.base/gdb1056.exp
7388 * gdb.base/gdb11531.exp
7389 * gdb.base/kill-after-signal.exp
7390 * gdb.base/multi-forks.exp
7391 * gdb.base/overlays.exp
7392 * gdb.base/pending.exp
7393 * gdb.base/sepdebug.exp
7394 * gdb.base/testenv.exp
7395 * gdb.base/valgrind-db-attach.exp
7396 * gdb.base/watch_thread_num.exp
7397 * gdb.base/watchpoint-cond-gone.exp
7398 * gdb.base/watchpoint.exp
7399 * gdb.base/watchpoints.exp
7400 * gdb.cp/arg-reference.exp
7401 * gdb.cp/baseenum.exp
7402 * gdb.cp/operator.exp
7403 * gdb.cp/shadow.exp
7404 * gdb.dwarf2/dw2-op-out-param.exp
7405 * gdb.dwarf2/dw2-reg-undefined.exp
7406 * gdb.go/chan.exp
7407 * gdb.go/hello.exp
7408 * gdb.go/integers.exp
7409 * gdb.go/methods.exp
7410 * gdb.go/package.exp
7411 * gdb.guile/scm-parameter.exp
7412 * gdb.guile/scm-progspace.exp
7413 * gdb.guile/scm-value.exp
7414 * gdb.mi/mi-pending.exp
7415 * gdb.mi/user-selected-context-sync.exp
7416 * gdb.multi/multi-attach.exp
7417 * gdb.multi/tids.exp
7418 * gdb.opt/clobbered-registers-O2.exp
7419 * gdb.pascal/floats.exp
7420 * gdb.pascal/integers.exp
7421 * gdb.python/py-block.exp
7422 * gdb.python/py-events.exp
7423 * gdb.python/py-parameter.exp
7424 * gdb.python/py-symbol.exp
7425 * gdb.python/py-symtab.exp
7426 * gdb.python/py-type.exp
7427 * gdb.python/py-value.exp
7428 * gdb.python/py-xmethods.exp
7429 * gdb.python/python.exp
7430 * gdb.reverse/break-precsave.exp
7431 * gdb.reverse/consecutive-precsave.exp
7432 * gdb.reverse/finish-precsave.exp
7433 * gdb.reverse/i386-precsave.exp
7434 * gdb.reverse/machinestate-precsave.exp
7435 * gdb.reverse/sigall-precsave.exp
7436 * gdb.reverse/solib-precsave.exp
7437 * gdb.reverse/step-precsave.exp
7438 * gdb.reverse/until-precsave.exp
7439 * gdb.reverse/watch-precsave.exp
7440 * gdb.server/ext-attach.exp
7441 * gdb.server/ext-restart.exp
7442 * gdb.server/ext-run.exp
7443 * gdb.server/ext-wrapper.exp
7444 * gdb.stabs/gdb11479.exp
7445 * gdb.stabs/weird.exp
7446 * gdb.threads/attach-many-short-lived-threads.exp
7447 * gdb.threads/kill.exp
7448 * gdb.threads/watchpoint-fork.exp
7449
7450 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7451
7452 Fix test names starting with uppercase throughout all the files below.
7453
7454 * gdb.ada/array_return.exp
7455 * gdb.ada/catch_ex.exp
7456 * gdb.ada/info_exc.exp
7457 * gdb.ada/mi_catch_ex.exp
7458 * gdb.ada/mi_dyn_arr.exp
7459 * gdb.ada/mi_ex_cond.exp
7460 * gdb.ada/mi_exc_info.exp
7461 * gdb.ada/mi_interface.exp
7462 * gdb.ada/mi_task_arg.exp
7463 * gdb.ada/mi_task_info.exp
7464 * gdb.ada/mi_var_array.exp
7465 * gdb.arch/alpha-step.exp
7466 * gdb.arch/amd64-disp-step.exp
7467 * gdb.arch/arm-disp-step.exp
7468 * gdb.arch/disp-step-insn-reloc.exp
7469 * gdb.arch/e500-prologue.exp
7470 * gdb.arch/ftrace-insn-reloc.exp
7471 * gdb.arch/gdb1558.exp
7472 * gdb.arch/i386-bp_permanent.exp
7473 * gdb.arch/i386-disp-step.exp
7474 * gdb.arch/i386-float.exp
7475 * gdb.arch/i386-gnu-cfi.exp
7476 * gdb.arch/ia64-breakpoint-shadow.exp
7477 * gdb.arch/mips16-thunks.exp
7478 * gdb.arch/pa-nullify.exp
7479 * gdb.arch/powerpc-aix-prologue.exp
7480 * gdb.arch/powerpc-power.exp
7481 * gdb.arch/ppc-dfp.exp
7482 * gdb.arch/s390-tdbregs.exp
7483 * gdb.arch/spu-info.exp
7484 * gdb.arch/spu-ls.exp
7485 * gdb.arch/thumb-bx-pc.exp
7486 * gdb.base/advance.exp
7487 * gdb.base/annota-input-while-running.exp
7488 * gdb.base/arrayidx.exp
7489 * gdb.base/asmlabel.exp
7490 * gdb.base/async.exp
7491 * gdb.base/attach-wait-input.exp
7492 * gdb.base/auto-connect-native-target.exp
7493 * gdb.base/batch-preserve-term-settings.exp
7494 * gdb.base/bfp-test.exp
7495 * gdb.base/bigcore.exp
7496 * gdb.base/bp-permanent.exp
7497 * gdb.base/break-always.exp
7498 * gdb.base/break-fun-addr.exp
7499 * gdb.base/break-idempotent.exp
7500 * gdb.base/break-main-file-remove-fail.exp
7501 * gdb.base/break-probes.exp
7502 * gdb.base/break-unload-file.exp
7503 * gdb.base/break.exp
7504 * gdb.base/call-ar-st.exp
7505 * gdb.base/call-rt-st.exp
7506 * gdb.base/call-sc.exp
7507 * gdb.base/call-signal-resume.exp
7508 * gdb.base/call-strs.exp
7509 * gdb.base/callexit.exp
7510 * gdb.base/callfuncs.exp
7511 * gdb.base/catch-gdb-caused-signals.exp
7512 * gdb.base/catch-signal-siginfo-cond.exp
7513 * gdb.base/catch-syscall.exp
7514 * gdb.base/compare-sections.exp
7515 * gdb.base/cond-eval-mode.exp
7516 * gdb.base/condbreak-call-false.exp
7517 * gdb.base/consecutive-step-over.exp
7518 * gdb.base/cursal.exp
7519 * gdb.base/disabled-location.exp
7520 * gdb.base/disasm-end-cu.exp
7521 * gdb.base/display.exp
7522 * gdb.base/double-prompt-target-event-error.exp
7523 * gdb.base/dprintf-bp-same-addr.exp
7524 * gdb.base/dprintf-detach.exp
7525 * gdb.base/dprintf-next.exp
7526 * gdb.base/dprintf-non-stop.exp
7527 * gdb.base/dprintf-pending.exp
7528 * gdb.base/dso2dso.exp
7529 * gdb.base/ending-run.exp
7530 * gdb.base/enum_cond.exp
7531 * gdb.base/examine-backward.exp
7532 * gdb.base/exe-lock.exp
7533 * gdb.base/exec-invalid-sysroot.exp
7534 * gdb.base/execl-update-breakpoints.exp
7535 * gdb.base/execution-termios.exp
7536 * gdb.base/fileio.exp
7537 * gdb.base/fixsection.exp
7538 * gdb.base/foll-exec-mode.exp
7539 * gdb.base/foll-exec.exp
7540 * gdb.base/fork-running-state.exp
7541 * gdb.base/frame-args.exp
7542 * gdb.base/fullpath-expand.exp
7543 * gdb.base/func-ptr.exp
7544 * gdb.base/gcore-relro-pie.exp
7545 * gdb.base/gdb1090.exp
7546 * gdb.base/gdb1555.exp
7547 * gdb.base/global-var-nested-by-dso.exp
7548 * gdb.base/gnu-ifunc.exp
7549 * gdb.base/hbreak-in-shr-unsupported.exp
7550 * gdb.base/hbreak-unmapped.exp
7551 * gdb.base/hook-stop.exp
7552 * gdb.base/infcall-input.exp
7553 * gdb.base/info-fun.exp
7554 * gdb.base/info-shared.exp
7555 * gdb.base/interrupt-noterm.exp
7556 * gdb.base/jit-so.exp
7557 * gdb.base/jit.exp
7558 * gdb.base/line-symtabs.exp
7559 * gdb.base/list.exp
7560 * gdb.base/longjmp.exp
7561 * gdb.base/macscp.exp
7562 * gdb.base/max-value-size.exp
7563 * gdb.base/nodebug.exp
7564 * gdb.base/nofield.exp
7565 * gdb.base/overlays.exp
7566 * gdb.base/paginate-after-ctrl-c-running.exp
7567 * gdb.base/paginate-bg-execution.exp
7568 * gdb.base/paginate-inferior-exit.exp
7569 * gdb.base/pending.exp
7570 * gdb.base/pr11022.exp
7571 * gdb.base/printcmds.exp
7572 * gdb.base/ptr-typedef.exp
7573 * gdb.base/ptype.exp
7574 * gdb.base/randomize.exp
7575 * gdb.base/range-stepping.exp
7576 * gdb.base/realname-expand.exp
7577 * gdb.base/relativedebug.exp
7578 * gdb.base/remote.exp
7579 * gdb.base/savedregs.exp
7580 * gdb.base/sepdebug.exp
7581 * gdb.base/set-noassign.exp
7582 * gdb.base/shlib-call.exp
7583 * gdb.base/shreloc.exp
7584 * gdb.base/sigaltstack.exp
7585 * gdb.base/sigbpt.exp
7586 * gdb.base/siginfo-addr.exp
7587 * gdb.base/siginfo-obj.exp
7588 * gdb.base/siginfo-thread.exp
7589 * gdb.base/signest.exp
7590 * gdb.base/signull.exp
7591 * gdb.base/sigrepeat.exp
7592 * gdb.base/skip.exp
7593 * gdb.base/so-impl-ld.exp
7594 * gdb.base/solib-corrupted.exp
7595 * gdb.base/solib-disc.exp
7596 * gdb.base/solib-display.exp
7597 * gdb.base/solib-overlap.exp
7598 * gdb.base/solib-search.exp
7599 * gdb.base/solib-symbol.exp
7600 * gdb.base/source-execution.exp
7601 * gdb.base/sss-bp-on-user-bp-2.exp
7602 * gdb.base/sss-bp-on-user-bp.exp
7603 * gdb.base/stack-checking.exp
7604 * gdb.base/stale-infcall.exp
7605 * gdb.base/step-break.exp
7606 * gdb.base/step-line.exp
7607 * gdb.base/step-over-exit.exp
7608 * gdb.base/step-test.exp
7609 * gdb.base/structs.exp
7610 * gdb.base/sym-file.exp
7611 * gdb.base/symtab-search-order.exp
7612 * gdb.base/term.exp
7613 * gdb.base/type-opaque.exp
7614 * gdb.base/unload.exp
7615 * gdb.base/until-nodebug.exp
7616 * gdb.base/until.exp
7617 * gdb.base/unwindonsignal.exp
7618 * gdb.base/watch-cond.exp
7619 * gdb.base/watch-non-mem.exp
7620 * gdb.base/watch_thread_num.exp
7621 * gdb.base/watchpoint-reuse-slot.exp
7622 * gdb.base/watchpoint-solib.exp
7623 * gdb.base/watchpoint.exp
7624 * gdb.btrace/dlopen.exp
7625 * gdb.cell/arch.exp
7626 * gdb.cell/break.exp
7627 * gdb.cell/bt.exp
7628 * gdb.cell/core.exp
7629 * gdb.cell/data.exp
7630 * gdb.cell/dwarfaddr.exp
7631 * gdb.cell/ea-cache.exp
7632 * gdb.cell/ea-standalone.exp
7633 * gdb.cell/ea-test.exp
7634 * gdb.cell/f-regs.exp
7635 * gdb.cell/fork.exp
7636 * gdb.cell/gcore.exp
7637 * gdb.cell/mem-access.exp
7638 * gdb.cell/ptype.exp
7639 * gdb.cell/registers.exp
7640 * gdb.cell/sizeof.exp
7641 * gdb.cell/solib-symbol.exp
7642 * gdb.cell/solib.exp
7643 * gdb.compile/compile-tls.exp
7644 * gdb.cp/exception.exp
7645 * gdb.cp/gdb2495.exp
7646 * gdb.cp/local.exp
7647 * gdb.cp/mb-inline.exp
7648 * gdb.cp/mb-templates.exp
7649 * gdb.cp/pr10687.exp
7650 * gdb.cp/pr9167.exp
7651 * gdb.cp/scope-err.exp
7652 * gdb.cp/templates.exp
7653 * gdb.cp/virtfunc.exp
7654 * gdb.dwarf2/dw2-dir-file-name.exp
7655 * gdb.dwarf2/dw2-single-line-discriminators.exp
7656 * gdb.fortran/complex.exp
7657 * gdb.fortran/library-module.exp
7658 * gdb.guile/guile.exp
7659 * gdb.guile/scm-cmd.exp
7660 * gdb.guile/scm-frame-inline.exp
7661 * gdb.guile/scm-objfile.exp
7662 * gdb.guile/scm-pretty-print.exp
7663 * gdb.guile/scm-symbol.exp
7664 * gdb.guile/scm-type.exp
7665 * gdb.guile/scm-value.exp
7666 * gdb.linespec/keywords.exp
7667 * gdb.linespec/ls-errs.exp
7668 * gdb.linespec/macro-relative.exp
7669 * gdb.linespec/thread.exp
7670 * gdb.mi/mi-breakpoint-changed.exp
7671 * gdb.mi/mi-dprintf-pending.exp
7672 * gdb.mi/mi-fullname-deleted.exp
7673 * gdb.mi/mi-logging.exp
7674 * gdb.mi/mi-pending.exp
7675 * gdb.mi/mi-solib.exp
7676 * gdb.mi/new-ui-mi-sync.exp
7677 * gdb.mi/user-selected-context-sync.exp
7678 * gdb.multi/dummy-frame-restore.exp
7679 * gdb.multi/multi-arch-exec.exp
7680 * gdb.multi/remove-inferiors.exp
7681 * gdb.multi/watchpoint-multi-exit.exp
7682 * gdb.opt/solib-intra-step.exp
7683 * gdb.perf/backtrace.exp
7684 * gdb.perf/single-step.exp
7685 * gdb.perf/skip-command.exp
7686 * gdb.perf/skip-prologue.exp
7687 * gdb.perf/solib.exp
7688 * gdb.python/lib-types.exp
7689 * gdb.python/py-as-string.exp
7690 * gdb.python/py-bad-printers.exp
7691 * gdb.python/py-block.exp
7692 * gdb.python/py-breakpoint.exp
7693 * gdb.python/py-cmd.exp
7694 * gdb.python/py-events.exp
7695 * gdb.python/py-evthreads.exp
7696 * gdb.python/py-finish-breakpoint.exp
7697 * gdb.python/py-finish-breakpoint2.exp
7698 * gdb.python/py-frame-inline.exp
7699 * gdb.python/py-frame.exp
7700 * gdb.python/py-inferior.exp
7701 * gdb.python/py-infthread.exp
7702 * gdb.python/py-mi.exp
7703 * gdb.python/py-objfile.exp
7704 * gdb.python/py-pp-maint.exp
7705 * gdb.python/py-pp-registration.exp
7706 * gdb.python/py-prettyprint.exp
7707 * gdb.python/py-recurse-unwind.exp
7708 * gdb.python/py-shared.exp
7709 * gdb.python/py-symbol.exp
7710 * gdb.python/py-symtab.exp
7711 * gdb.python/py-template.exp
7712 * gdb.python/py-type.exp
7713 * gdb.python/py-unwind-maint.exp
7714 * gdb.python/py-unwind.exp
7715 * gdb.python/py-value.exp
7716 * gdb.python/python.exp
7717 * gdb.reverse/finish-reverse-bkpt.exp
7718 * gdb.reverse/insn-reverse.exp
7719 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7720 * gdb.reverse/solib-precsave.exp
7721 * gdb.reverse/solib-reverse.exp
7722 * gdb.stabs/gdb11479.exp
7723 * gdb.stabs/weird.exp
7724 * gdb.threads/fork-child-threads.exp
7725 * gdb.threads/fork-plus-threads.exp
7726 * gdb.threads/fork-thread-pending.exp
7727 * gdb.threads/forking-threads-plus-breakpoint.exp
7728 * gdb.threads/hand-call-in-threads.exp
7729 * gdb.threads/interrupted-hand-call.exp
7730 * gdb.threads/linux-dp.exp
7731 * gdb.threads/local-watch-wrong-thread.exp
7732 * gdb.threads/next-while-other-thread-longjmps.exp
7733 * gdb.threads/non-ldr-exit.exp
7734 * gdb.threads/pending-step.exp
7735 * gdb.threads/print-threads.exp
7736 * gdb.threads/process-dies-while-detaching.exp
7737 * gdb.threads/process-dies-while-handling-bp.exp
7738 * gdb.threads/pthreads.exp
7739 * gdb.threads/queue-signal.exp
7740 * gdb.threads/reconnect-signal.exp
7741 * gdb.threads/signal-command-handle-nopass.exp
7742 * gdb.threads/signal-command-multiple-signals-pending.exp
7743 * gdb.threads/signal-delivered-right-thread.exp
7744 * gdb.threads/signal-sigtrap.exp
7745 * gdb.threads/sigthread.exp
7746 * gdb.threads/staticthreads.exp
7747 * gdb.threads/stepi-random-signal.exp
7748 * gdb.threads/thread-unwindonsignal.exp
7749 * gdb.threads/thread_check.exp
7750 * gdb.threads/thread_events.exp
7751 * gdb.threads/tid-reuse.exp
7752 * gdb.threads/tls-nodebug.exp
7753 * gdb.threads/tls-shared.exp
7754 * gdb.threads/tls-so_extern.exp
7755 * gdb.threads/tls.exp
7756 * gdb.threads/wp-replication.exp
7757 * gdb.trace/actions-changed.exp
7758 * gdb.trace/actions.exp
7759 * gdb.trace/backtrace.exp
7760 * gdb.trace/change-loc.exp
7761 * gdb.trace/collection.exp
7762 * gdb.trace/deltrace.exp
7763 * gdb.trace/disconnected-tracing.exp
7764 * gdb.trace/entry-values.exp
7765 * gdb.trace/ftrace-lock.exp
7766 * gdb.trace/ftrace.exp
7767 * gdb.trace/infotrace.exp
7768 * gdb.trace/mi-trace-frame-collected.exp
7769 * gdb.trace/mi-trace-unavailable.exp
7770 * gdb.trace/mi-traceframe-changed.exp
7771 * gdb.trace/mi-tracepoint-changed.exp
7772 * gdb.trace/mi-tsv-changed.exp
7773 * gdb.trace/no-attach-trace.exp
7774 * gdb.trace/packetlen.exp
7775 * gdb.trace/passc-dyn.exp
7776 * gdb.trace/passcount.exp
7777 * gdb.trace/pending.exp
7778 * gdb.trace/pr16508.exp
7779 * gdb.trace/qtro.exp
7780 * gdb.trace/range-stepping.exp
7781 * gdb.trace/read-memory.exp
7782 * gdb.trace/report.exp
7783 * gdb.trace/save-trace.exp
7784 * gdb.trace/signal.exp
7785 * gdb.trace/stap-trace.exp
7786 * gdb.trace/status-stop.exp
7787 * gdb.trace/strace.exp
7788 * gdb.trace/tfile.exp
7789 * gdb.trace/tfind.exp
7790 * gdb.trace/trace-break.exp
7791 * gdb.trace/trace-condition.exp
7792 * gdb.trace/trace-enable-disable.exp
7793 * gdb.trace/trace-mt.exp
7794 * gdb.trace/tracecmd.exp
7795 * gdb.trace/tracefile-pseudo-reg.exp
7796 * gdb.trace/tspeed.exp
7797 * gdb.trace/tstatus.exp
7798 * gdb.trace/tsv.exp
7799 * gdb.trace/unavailable.exp
7800 * gdb.trace/while-dyn.exp
7801 * gdb.trace/while-stepping.exp
7802 * lib/gdb-guile.exp
7803 * lib/gdb.exp
7804 * lib/mi-support.exp
7805 * lib/pascal.exp
7806 * lib/perftest.exp
7807 * lib/prelink-support.exp
7808 * lib/selftest-support.exp
7809
7810 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7811
7812 * Makefile.in: Include disable-implicit-rules.mk.
7813
7814 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7815
7816 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7817 non-byte-aligned bit fields.
7818
7819 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7820
7821 PR gdb/12616
7822 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7823 respects the DW_AT_data_bit_offset attribute.
7824
7825 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7826
7827 * gdb.base/default.exp: Fix output of "set language".
7828
7829 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7830
7831 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7832 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7833 make.
7834 * configure.ac: Remove checks for the make program.
7835 * configure: Re-generate.
7836
7837 2016-11-16 Kevin Buettner <kevinb@redhat.com>
7838
7839 * gdb.python/py-recurse-unwind.c (main): Add loop.
7840 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7841 to read_register() and gdb.parse_and_eval(). Make each code
7842 call a separate case that can be individually tested.
7843 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7844 proc. Call cont_and_backtrace for each of the code paths that
7845 we want to test in the unwinder.
7846
7847 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7848
7849 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7850 the definition of struct S.
7851
7852 2016-11-11 Catherine Moore <clm@codesourcery.com>
7853
7854 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7855
7856 2016-11-09 Pedro Alves <palves@redhat.com>
7857
7858 * gdb.base/commands.exp (runto_or_return): New procedure.
7859 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7860 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7861 (progvar_simple_while_test, progvar_complex_if_while_test)
7862 (if_while_breakpoint_command_test)
7863 (infrun_breakpoint_command_test, breakpoint_command_test)
7864 (user_defined_command_test, watchpoint_command_test)
7865 (test_command_prompt_position, redefine_hook_test)
7866 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7867 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7868 multi_line_input and multi_line. Remove gdb_expect and
7869 gdb_stop_suppressing_tests uses.
7870 * lib/gdb.exp (valnum_re): New global.
7871 (multi_line_input): New procedure.
7872
7873 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7874
7875 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7876 Remove.
7877 (test_setup): Define with proc_with_prefix.
7878 (test_cli_inferior): Likewise.
7879 (test_cli_thread): Likewise.
7880 (test_cli_frame): Likewise.
7881 (test_cli_select_frame): Likewise.
7882 (test_cli_up_down): Likewise.
7883 (test_mi_thread_select): Likewise.
7884 (test_mi_stack_select_frame): Likewise.
7885 (test_cli_in_mi_inferior): Likewise.
7886 (test_cli_in_mi_thread): Likewise.
7887 (test_cli_in_mi_frame): Likewise.
7888 (top level): Do not use with_test_prefix_procname.
7889
7890 2016-11-09 Pedro Alves <palves@redhat.com>
7891
7892 * gdb.base/commands.exp (gdbvar_simple_if_test)
7893 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7894 (progvar_simple_if_test, progvar_simple_while_test)
7895 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7896 (infrun_breakpoint_command_test, breakpoint_command_test)
7897 (user_defined_command_test, watchpoint_command_test)
7898 (test_command_prompt_position, deprecated_command_test)
7899 (bp_deleted_in_command, temporary_breakpoint_commands)
7900 (stray_arg0_test, source_file_with_indented_comment)
7901 (recursive_source_test, if_commands_test)
7902 (error_clears_commands_left, redefine_hook_test)
7903 (redefine_backtrace_test): Use proc_with_prefix.
7904 * lib/gdb.exp (proc_with_prefix): New proc.
7905
7906 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7907
7908 * gdb.base/tui-layout.c: New file.
7909 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7910 disassembly window contains very long lines.
7911
7912 2016-11-08 Tom Tromey <tom@tromey.com>
7913
7914 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7915 depend on Python 2.
7916
7917 2016-11-08 Tom Tromey <tom@tromey.com>
7918
7919 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7920 New method.
7921
7922 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7923
7924 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7925
7926 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7927
7928 * gdb.rust/simple.rs: Add test for univariant enums without
7929 discriminants and for encoded struct-like enums.
7930
7931 2016-10-28 Pedro Alves <palves@redhat.com>
7932
7933 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7934 gdb_test_multiple, tighten regexps and match symtabs and line
7935 tables incrementally.
7936
7937 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7938
7939 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7940 general.
7941
7942 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7943
7944 * gdb.base/exec-invalid-sysroot.exp: New file.
7945
7946 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7947
7948 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7949
7950 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7951
7952 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7953
7954 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7955
7956 * gdb.base/killed-outside.exp: Remove $options from a call to
7957 `prepare_for_testing'.
7958
7959 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7960
7961 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7962 Change test message.
7963
7964 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7965
7966 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7967 Update comment.
7968
7969 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7970
7971 * gdb.trace/mi-trace-save.exp: New file.
7972
7973 2016-10-13 Yao Qi <yao.qi@linaro.org>
7974
7975 * gdb.base/code_elim.exp (get_var_address): Remove.
7976 * gdb.base/relocate.exp: Likewise.
7977 * gdb.base/shreloc.exp: Likewise.
7978 * lib/gdb.exp (get_var_address): New.
7979
7980 2016-10-13 Yao Qi <yao.qi@linaro.org>
7981
7982 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7983 floating point tests if $skip_float_test is false.
7984
7985 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7986
7987 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7988 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7989 argc values.
7990 Add 1 to argc so we guarantee distinct initial/modified argc values.
7991
7992 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7993
7994 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7995
7996 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7997
7998 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
7999 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8000 * gdb.arch/vsx-regs.exp: Likewise.
8001
8002 2016-10-07 Yao Qi <yao.qi@linaro.org>
8003
8004 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8005
8006 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8007
8008 * gdb.python/python.exp: Test decode_line("*0").
8009
8010 2016-10-06 Doug Evans <dje@google.com>
8011
8012 * gdb.python/py-value.exp (test_value_creation): Add test for large
8013 unsigned 64-bit value.
8014
8015 2016-10-06 Tom Tromey <tom@tromey.com>
8016
8017 * gdb.compile/compile.exp: Change java tests to rust.
8018 * gdb.base/setshow.exp: Change java tests to rust.
8019 * gdb.base/default.exp: Remove java from language list.
8020 * README (Examples): Update language example.
8021 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8022 test.
8023 * lib/gdb.exp (skip_java_tests): Remove.
8024 * lib/java.exp: Remove.
8025 * gdb.java: Remove.
8026
8027 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8028
8029 * gdb.arch/mips-fcr.exp: New test.
8030 * gdb.arch/mips-fcr.c: Source for the new test.
8031
8032 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8033
8034 * gdb.base/solib-disc.exp: Use `standard_output_file'
8035 throughout.
8036
8037 2016-10-06 Pedro Alves <palves@redhat.com>
8038
8039 * gdb.base/jit-simple-dl.c: New file.
8040 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8041 * gdb.base/jit-simple.c: ... this.
8042 * gdb.base/jit-simple.exp (jit_run): Delete.
8043 (build_jit): New proc.
8044 (jit_test_reread): Recompile either the main program or the shared
8045 library, depending on what is being tested. Skip changing address
8046 if caller wants to. Compare before/after addresses. If testing
8047 standalone, explicitly load the binary. Test "maint info
8048 breakpoints".
8049 (top level): Add "standalone vs shared lib" and "change address"
8050 vs "same address" axes.
8051
8052 2016-10-06 Pedro Alves <palves@redhat.com>
8053
8054 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8055 call.
8056 (jit_run): Delete.
8057 (jit_test_reread): Use with_test_prefix. Reload the main binary
8058 explicitly. Compare the before/after addresses of the JIT
8059 descriptor.
8060
8061 2016-08-15 Doug Evans <dje@google.com>
8062
8063 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8064 for single bitfields is bool.
8065 * gdb.xml/tdesc-regs.exp: Ditto.
8066
8067 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8068
8069 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8070
8071 2016-10-05 Yao Qi <yao.qi@linaro.org>
8072
8073 * lib/gdb.exp (support_complex_tests): Return zero if
8074 gdb_skip_float_test return true.
8075
8076 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8077 Simon Marchi <simon.marchi@ericsson.com>
8078
8079 PR gdb/20487
8080 * gdb.mi/user-selected-context-sync.exp: New file.
8081 * gdb.mi/user-selected-context-sync.c: New file.
8082
8083 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8084 Simon Marchi <simon.marchi@ericsson.com>
8085
8086 PR gdb/20487
8087 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8088 =thread-select-event check.
8089
8090 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8091
8092 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8093 the compulsory L operand changes.
8094 * gdb.arch/powerpc-power.s: Likewise.
8095
8096 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8097
8098 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8099 * gdb.base/jit-attach-pie.c: New file.
8100 * gdb.base/jit-attach-pie.exp: New file.
8101
8102 2016-09-28 Pedro Alves <palves@redhat.com>
8103
8104 * gdb.base/infcall-input.c: New file.
8105 * gdb.base/infcall-input.exp: New file.
8106
8107 2016-09-22 Yao Qi <yao.qi@linaro.org>
8108
8109 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8110 (gdb_exit): Rename it to ...
8111 (gdbserver_gdb_exit): ... Close GDBserver.
8112 (gdb_exit): New proc, call gdbserver_gdb_exit.
8113 (mi_gdb_exit): Likewise.
8114
8115 2016-09-22 Yao Qi <yao.qi@linaro.org>
8116
8117 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8118 path.
8119 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8120 Remove duplication.
8121
8122 2016-09-22 Yao Qi <yao.qi@linaro.org>
8123
8124 * lib/gdbserver-support.exp: Check the existence of
8125 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8126
8127 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8128
8129 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8130
8131 2016-09-21 Tom Tromey <tom@tromey.com>
8132
8133 PR gdb/20604:
8134 * gdb.base/quit.exp: New file.
8135
8136 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8137
8138 * .gitignore: New file.
8139
8140 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8141
8142 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8143 throughout.
8144
8145 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8146
8147 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8148
8149 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8150
8151 * gdb.cp/casts.cc (decltype): Move it ...
8152 (main): ... with its call to ...
8153 * gdb.cp/casts03.cc: ... a new file.
8154 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8155
8156 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8157
8158 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8159
8160 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8161
8162 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8163 and sync up the test with tests in gas/testsuite/gas/ppc.
8164 * gdb.arch/powerpc-power.exp: Likewise.
8165
8166 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8167
8168 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8169
8170 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8171 Jan Kratochvil <jan.kratochvil@redhat.com>
8172
8173 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8174 make m1's definition to be different from m2's. Use 'dummy' as an
8175 argument for probe 'two'.
8176
8177 2016-09-10 Jon Beniston <jon@beniston.com>
8178
8179 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8180 for sim target.
8181
8182 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8183
8184 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8185 variable declaration.
8186 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8187 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8188 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8189 received HWCAP as its argument.
8190
8191 2016-09-06 Pedro Alves <palves@redhat.com>
8192
8193 * gdb.base/new-ui-pending-input.c: New file.
8194 * gdb.base/new-ui-pending-input.exp: New file.
8195 * gdb.exp (clear_gdb_spawn_id): New procedure.
8196 (with_spawn_id): Check whether gdb_spawn_id exists before
8197 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8198 on exit.
8199
8200 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8201
8202 * gdb.base/float128.c: New file.
8203 * gdb.base/float128.exp: Likewise.
8204 * gdb.base/floatn.c: Likewise.
8205 * gdb.base/floatn.exp: Likewise.
8206
8207 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8208
8209 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8210
8211 2016-09-05 Pedro Alves <palves@redhat.com>
8212
8213 PR backtrace/19927
8214 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8215 unwinders are immediately called as side effect of "source" or
8216 "disable unwinder" commands.
8217 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8218
8219 2016-09-02 Yao Qi <yao.qi@linaro.org>
8220
8221 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8222 is true and $type is "float" or "double".
8223
8224 2016-09-02 Yao Qi <yao.qi@linaro.org>
8225
8226 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8227 true.
8228 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8229 * gdb.base/call-rt-st.exp: Likewise.
8230 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8231 return value instead of gdb,skip_float_test.
8232 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8233 (do_function_calls): Use its return value instead of
8234 gdb,skip_float_test.
8235 * gdb.base/finish.exp: Likewise.
8236 * gdb.base/funcargs.exp: Likewise.
8237 * gdb.base/return.exp: Likewise.
8238 * gdb.base/return2.exp: Likewise.
8239 * gdb.base/varargs.exp: Likewise.
8240 * lib/gdb.exp (gdb_skip_float_test): Change it to
8241 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8242
8243 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8244
8245 * gdb.multi/tids.exp: Test "thread apply all".
8246
8247 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8248
8249 * gdb.base/default.exp (tty): Remove.
8250
8251 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8252
8253 * gdb.python/py-recurse-unwind.c: New file.
8254 * gdb.python/py-recurse-unwind.py: New file.
8255 * gdb.python/py-recurse-unwind.exp: New file.
8256
8257 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8258
8259 * gdb.base/set-inferior-tty.exp: New file.
8260 * gdb.base/set-inferior-tty.c: New file.
8261
8262 2016-08-23 Pedro Alves <palves@redhat.com>
8263
8264 PR gdb/20494
8265 * gdb.base/new-ui-echo.c: New file.
8266 * gdb.base/new-ui-echo.exp: New file.
8267
8268 2016-08-23 Yao Qi <yao.qi@linaro.org>
8269
8270 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8271 gdbserver_spawn.
8272 * gdb.server/connect-without-multi-process.exp (do_test):
8273 Likewise.
8274
8275 2016-08-23 Yao Qi <yao.qi@linaro.org>
8276
8277 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8278 standalone_txt. Delete gdb_txt and standalone_txt on host
8279 and target. Spawn the binary on target. Copy files from
8280 target to host.
8281
8282 2016-08-22 Pedro Alves <palves@redhat.com>
8283
8284 PR gdb/20505
8285 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8286 with_test_prefix. Factor out bits to ...
8287 (test_no_vdso): ... this new procedure.
8288
8289 2016-08-19 Carl Love <cel@us.ibm.com>
8290
8291 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8292 maintaining separate logic for constructing the output path.
8293 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8294 * gdb.arch/ppc-dfp.exp: Likewise.
8295 * gdb.arch/ppc-fp.exp: Likewise.
8296 * gdb.arch/vsx-regs.exp: Likewise.
8297 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8298 binprefix for generating the additional binary files.
8299
8300 2016-08-19 Pedro Alves <palves@redhat.com>
8301
8302 * gdb.trace/mi-trace-frame-collected.exp
8303 (test_trace_frame_collected): On x32, expect two registers.
8304
8305 2016-08-18 Carl Love <cel@us.ibm.com>
8306
8307 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8308 and sync up the test with tests in gas/testsuite/gas/ppc.
8309 * gdb.arch/powerpc-power.exp: Likewise.
8310
8311 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8312
8313 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8314 expected error message.
8315
8316 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8317
8318 * gdb.multi/remove-inferiors.exp: New file.
8319 * gdb.multi/remove-inferiors.c: New file.
8320
8321 2016-08-12 Yao Qi <yao.qi@linaro.org>
8322
8323 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8324 argument list.
8325
8326 2016-08-10 Pedro Alves <palves@redhat.com>
8327
8328 PR gdb/19187
8329 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8330 setup_kfails.
8331
8332 2016-08-09 Pedro Alves <palves@redhat.com>
8333 Simon Marchi <simon.marchi@ericsson.com>
8334
8335 PR gdb/20418
8336 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8337 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8338
8339 2016-08-09 Pedro Alves <palves@redhat.com>
8340
8341 PR mi/20431
8342 * gdb.mi/mi-cmd-error.exp: New file.
8343
8344 2016-08-09 Pedro Alves <palves@redhat.com>
8345
8346 PR gdb/18653
8347 * gdb.base/signals-state-child.c: New file.
8348 * gdb.base/signals-state-child.exp: New file.
8349 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8350
8351 2016-08-09 Pedro Alves <palves@redhat.com>
8352
8353 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8354
8355 2016-08-03 Tom Tromey <tom@tromey.com>
8356
8357 PR python/18565:
8358 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8359
8360 2016-08-01 Yao Qi <yao.qi@linaro.org>
8361
8362 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8363 variable mode to "multi-process" if $multi_process is 1, otherwise
8364 set it to "single-process".
8365
8366 2016-08-01 Yao Qi <yao.qi@linaro.org>
8367
8368 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8369 * gdb.cp/cpexprs.exp: Likewise.
8370 * gdb.cp/m-static.exp: Likewise.
8371
8372 2016-07-26 Tom Tromey <tom@tromey.com>
8373
8374 PR python/20190:
8375 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8376 test.
8377
8378 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8379
8380 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8381 selecting assembly source files.
8382 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8383 assembly source files.
8384 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8385 assembly source files.
8386 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8387 selecting assembly source files.
8388
8389 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8390
8391 * gdb.base/new-ui.exp (do_test_invalid_args): New
8392 procedure.
8393
8394 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8395
8396 * gdb.btrace/reconnect.c: New file.
8397 * gdb.btrace/reconnect.exp: New file.
8398
8399 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8400
8401 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8402 to test_catch_syscall_group.
8403 (test_catch_syscall_group): New.
8404
8405 2016-07-21 Tom Tromey <tom@tromey.com>
8406
8407 * gdb.rust/simple.rs (main): Use empty struct expression.
8408 * gdb.rust/simple.exp: Add tests for empty struct expression.
8409
8410 2016-07-21 Yao Qi <yao.qi@linaro.org>
8411
8412 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8413 if gdb_skip_xml_test is true on some targets.
8414
8415 2016-07-21 Yao Qi <yao.qi@linaro.org>
8416
8417 * gdb.server/solib-list.exp: Unset last_loaded_file.
8418
8419 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8420
8421 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8422 "step into captured_main (args)".
8423
8424 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8425
8426 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8427
8428 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8429
8430 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8431
8432 2016-07-19 Pedro Alves <palves@redhat.com>
8433
8434 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8435 * gdb.opt/inline-bt.exp: Likewise.
8436 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8437 additional_flags=-Winline.
8438 * gdb.opt/inline-locals.exp: Likewise.
8439 * gdb.opt/inline-markers.c (ATTR): Define.
8440 (inlined_fn): Use it.
8441
8442 2016-07-19 Yao Qi <yao.qi@linaro.org>
8443
8444 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8445 (test_with_self): Remove some code. Remove argument executable.
8446 (top-level): Use do_self_tests.
8447
8448 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8449 Don Breazeal <donb@codesourcery.com>
8450
8451 * gdb.base/maint.exp: Escape paths used in regular expressions.
8452 * gdb.stabs/weird.exp: Likewise.
8453
8454 2016-07-13 Tom Tromey <tom@tromey.com>
8455
8456 PR python/15620, PR python/18620:
8457 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8458 (test_bkpt_events): New procs.
8459
8460 2016-07-13 Tom Tromey <tom@tromey.com>
8461
8462 PR python/17698:
8463 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8464 test.
8465 (test_watchpoints): Likewise.
8466 (test_bkpt_pending): New proc.
8467
8468 2016-07-13 Tom Tromey <tom@tromey.com>
8469
8470 PR cli/18053:
8471 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8472 completion test.
8473
8474 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8475
8476 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8477 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8478 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8479 f_label.
8480 (g): Rename g_end_lbl to g_label.
8481 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8482 low_pc and high_pc.
8483 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8484
8485 2016-07-12 Tom Tromey <tom@tromey.com>
8486
8487 PR python/19293:
8488 * gdb.python/py-unwind-maint.exp: Update tests.
8489
8490 2016-07-12 Yao Qi <yao.qi@linaro.org>
8491
8492 * lib/selftest-support.exp (selftest_setup): Match the output
8493 when captured_main is inlined.
8494
8495 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8496
8497 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8498 New variables.
8499 (print this%a, print this%b, print this): New tests.
8500 * gdb.fortran/derived-types.f90 (this): New object and
8501 initialization.
8502
8503 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8504
8505 * gdb.ada/arraydim.exp: Remove extra directory level in build
8506 directory.
8507
8508 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8509
8510 * lib/ada.exp: Remove extra directory level in build directory.
8511 * gdb.ada/cond_lang.exp: Likewise.
8512 * gdb.ada/exec_changed.exp: Likewise.
8513 * gdb.ada/lang_switch.exp: Likewise.
8514
8515 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8516
8517 * simple.rs: Add test for raw pointer subscripting.
8518 * simple.exp: Add test expectations.
8519
8520 2016-07-05 Yao Qi <yao.qi@linaro.org>
8521
8522 * gdb.mi/mi-reverse.exp: Match =record-started output.
8523
8524 2016-07-01 Pedro Alves <palves@redhat.com>
8525
8526 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8527 procedure.
8528 (jit_reader_test): Test the jit reader's unwinder.
8529 * gdb.base/jithost.c (jit_function_00_code): New global.
8530 (main): Use memcpy to fill in the mmapped code, instead of poking
8531 bytes manually here.
8532 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8533 value.
8534 (read_debug_info): Save the function's range.
8535 (read_sp): New function.
8536 (unwind_frame): Use it. Also unwind RBP.
8537 (get_frame_id): Use read_sp.
8538 (gdb_init_reader): Use calloc instead of malloc.
8539 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8540 parameter. Use gdb_test_multiple.
8541
8542 2016-07-01 Pedro Alves <palves@redhat.com>
8543 Antoine Tremblay <antoine.tremblay@ericsson.com>
8544
8545 * gdb.threads/process-dies-while-detaching.c: New file.
8546 * gdb.threads/process-dies-while-detaching.exp: New file.
8547
8548 2016-07-01 Pedro Alves <palves@redhat.com>
8549
8550 * gdb.multi/watchpoint-multi-exit.c: New file.
8551 * gdb.multi/watchpoint-multi-exit.exp: New file.
8552
8553 2016-06-30 Pedro Alves <palves@redhat.com>
8554
8555 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8556 unset inferior_spawn_id.
8557
8558 2016-06-30 Pedro Alves <palves@redhat.com>
8559
8560 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8561 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8562
8563 2016-06-29 Yao Qi <yao.qi@linaro.org>
8564
8565 * gdb.base/return.c: Add copyright header.
8566
8567 2016-06-29 Tom Tromey <tom@tromey.com>
8568
8569 PR python/20129:
8570 * gdb.python/py-framefilter.exp: Add tests for setting priority
8571 and disabling of non-existent frame filter.
8572
8573 2016-06-29 Yao Qi <yao.qi@linaro.org>
8574
8575 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8576 0x0f07ff.
8577
8578 2016-06-28 Yao Qi <yao.qi@linaro.org>
8579
8580 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8581 triplets. Start gdb, execute catch syscall, and continue. Check
8582 gdb's output to determine catch syscall is supported.
8583
8584 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8585
8586 * gdb.rust/simple.rs: Add test for returning unit in a function.
8587 * gdb.rust/simple.exp: Add expectation for functions returning
8588 unit.
8589
8590 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8591
8592 * gdb.python/py-breakpoint-create-fail.c,
8593 gdb.python/py-breakpoint-create-fail.exp,
8594 gdb.python/py-breakpoint-create-fail.py: New testcase.
8595
8596 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8597
8598 PR gdb/20239
8599 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8600 * gdb.rust/simple.exp: Add test expectations for new NonZero
8601 tests.
8602
8603 2016-06-24 David Taylor <dtaylor@emc.com>
8604
8605 * gdb.base/offsets.exp: New file.
8606 * gdb.base/offsets.c: New file.
8607
8608 2016-06-23 Tom Tromey <tom@tromey.com>
8609
8610 PR gdb/16483:
8611 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8612 before any filters are loaded.
8613
8614 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8615
8616 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8617 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8618 structs.
8619 * gdb.fortran/derived-type-function.exp: New file.
8620 * gdb.fortran/derived-type-function.f90: New file.
8621
8622
8623 2016-06-21 Pedro Alves <palves@redhat.com>
8624
8625 * gdb.base/new-ui.exp: New file.
8626 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8627 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8628 (with_spawn_id): New procedure.
8629
8630 2016-06-21 Pedro Alves <palves@redhat.com>
8631
8632 * gdb.mi/mi-exec-run.exp: New file.
8633
8634 2016-06-21 Pedro Alves <palves@redhat.com>
8635
8636 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8637 breakpoint command's output on the main UI.
8638 (test_break): New procedure, factored out from calls in the top
8639 level.
8640 (top level): Use foreach_with_prefix to test MI as main UI and as
8641 separate UI.
8642
8643 2016-06-21 Pedro Alves <palves@redhat.com>
8644
8645 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8646 (test_awatch_creation_and_listing)
8647 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8648 Remove 'type' parameter.
8649 (test_watchpoint_all): New parameter mi_mode. Remove
8650 with_test_prefix.
8651 (top level): Use foreach_with_prefix, and add main/separate UI MI
8652 testing axis.
8653
8654 2016-06-21 Pedro Alves <palves@redhat.com>
8655
8656 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8657 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8658 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8659 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8660 (gdb_main_spawn_id, mi_spawn_id): Declare and
8661 comment.
8662 (mi_create_inferior_pty): New procedure,
8663 factored out from default_mi_gdb_start.
8664 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8665 procedures.
8666 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8667 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8668 Use mi_create_inferior_pty.
8669 (mi_gdb_start): Use eval to pass down args list.
8670
8671 2016-06-21 Pedro Alves <palves@redhat.com>
8672
8673 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8674 * gdb.opt/inline-cmds.exp: Add MI tests.
8675
8676 2016-06-21 Pedro Alves <palves@redhat.com>
8677
8678 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8679
8680 2016-06-21 Pedro Alves <palves@redhat.com>
8681
8682 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8683 (top level): Use it instead of mi_execute_to.
8684
8685 2016-06-21 Pedro Alves <palves@redhat.com>
8686
8687 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8688 (cont_handler_str): New.
8689 (signal_stop_handler): Set stop_handler_str instead of printing to
8690 stdout.
8691 (continue_handler): Set cont_handler_str instead of printing to
8692 stdout.
8693 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8694 mi_send_resuming_command. Print stop_handler_str and
8695 cont_handler_str instead of expecting the python events print
8696 directly.
8697
8698 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8699
8700 * gdb.base/jit-reader.exp: New file.
8701 * gdb.base/jithost.c: New file.
8702 * gdb.base/jithost.h: New file.
8703 * gdb.base/jitreader.c : New file.
8704 * gdb.base/jit-protocol.h: New file.
8705
8706 2016-06-17 Yao Qi <yao.qi@linaro.org>
8707
8708 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8709 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8710 and detach-on-fork. Adjust tests.
8711 (top level): Invoke break_cond_on_syscall with combinations of
8712 syscall, follow-fork-mode and detach-on-fork.
8713
8714 2016-06-17 Yao Qi <yao.qi@linaro.org>
8715
8716 * gdb.base/step-over-exit.c: New.
8717 * gdb.base/step-over-exit.exp: New.
8718
8719 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8720
8721 * gdb.base/float.exp: Add target check for nds32*-*-*.
8722 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8723
8724 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8725
8726 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8727 for unsupported target features.
8728 * gdb.base/call-rt-st.exp: Likewise.
8729 * gdb.base/call-sc.exp: Likewise.
8730 * gdb.base/call-signal-resume.exp: Likewise.
8731 * gdb.base/call-strs.exp: Likewise.
8732 * gdb.base/callexit.exp: Likewise.
8733 * gdb.base/callfuncs.exp: Likewise.
8734 * gdb.base/nodebug.exp: Likewise.
8735 * gdb.base/printcmds.exp: Likewise.
8736 * gdb.base/ptype.exp: Likewise.
8737 * gdb.base/structs.exp: Likewise.
8738 * gdb.base/unwindonsignal.exp: Likewise.
8739 * gdb.cp/gdb2495.exp: Likewise.
8740 * gdb.cp/templates.exp: Likewise.
8741 * gdb.cp/virtfunc.exp: Likewise.
8742 * gdb.threads/hand-call-in-threads.exp: Likewise.
8743 * gdb.threads/interrupted-hand-call.exp: Likewise.
8744 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8745
8746 2016-06-10 Tom Tromey <tom@tromey.com>
8747
8748 PR rust/20110:
8749 * gdb.rust/expr.exp: Add test for integer constant larger than
8750 i32.
8751
8752 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8753
8754 * gdb.fortran/nested-funcs.exp: New.
8755 * gdb.fortran/nested-funcs.f90: New.
8756
8757 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8758
8759 * gdb.base/examine-backward.c: New file.
8760 * gdb.base/examine-backward.exp: New file.
8761
8762 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8763
8764 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8765 matching.
8766
8767 2016-06-02 Tom Tromey <tom@tromey.com>
8768
8769 PR python/18984:
8770 * gdb.python/py-shared.exp: Add solib_name test.
8771
8772 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8773
8774 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8775
8776 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8777
8778 PR c++/19893
8779 * gdb.dwarf2/implref.exp: Rename to...
8780 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8781 * gdb.dwarf2/implref-array.c: New file.
8782 * gdb.dwarf2/implref-array.exp: Likewise.
8783 * gdb.dwarf2/implref-global.c: Likewise.
8784 * gdb.dwarf2/implref-global.exp: Likewise.
8785 * gdb.dwarf2/implref-struct.c: Likewise.
8786 * gdb.dwarf2/implref-struct.exp: Likewise.
8787
8788 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8789
8790 * gdb.trace/trace-condition.exp: Add 64bit tests.
8791
8792 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8793
8794 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8795 bits types.
8796 (main): Adapt to 8 to 64 bits types.
8797 * gdb.trace/trace-condition.exp: Add new tests.
8798
8799 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8800
8801 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8802
8803 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8804
8805 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8806 Move condition tests...
8807 * gdb.trace/trace-condition.exp: Here.
8808
8809 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8810
8811 * gdb.trace/trace-condition.exp: Add counter-case tests.
8812
8813 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8814
8815 PR c++/15231
8816 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8817 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8818
8819 2016-05-27 Pedro Alves <palves@redhat.com>
8820
8821 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8822 New procedure.
8823 (top level): Call it, and bail out of DejaGnu is known to be bad.
8824
8825 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8826
8827 * gdb.base/whatis.c: Extend the test case.
8828 * gdb.base/whatis.exp: Add additional tests.
8829
8830 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8831
8832 * gdb.fortran/type.f90: Add pointer variable.
8833 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8834
8835 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8836
8837 * gdb.fortran/vla-type.exp: Fix testcase name.
8838
8839 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8840
8841 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8842
8843 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8844
8845 * gdb.fortran/type.f90: Add nested structures.
8846 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8847 * gdb.fortran/derived-type.exp: Adapt expected output.
8848 * gdb.fortran/vla-type.exp: Adapt expected output.
8849
8850 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8851
8852 * gdb.fortran/whatis_type.exp: Adapt expected output.
8853
8854 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8855
8856 * gdb.fortran/print_type.exp: Fix expected output.
8857 * gdb.fortran/whatis_type.exp: Fix expected output.
8858
8859 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8860
8861 * gdb.fortran/whatis_type.exp: Use multi_line.
8862
8863 2016-05-24 Tom Tromey <tom@tromey.com>
8864
8865 PR python/17386:
8866 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8867 use value as an index.
8868
8869 2016-05-23 Tom Tromey <tom@tromey.com>
8870
8871 PR python/17981:
8872 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8873 no-breakpoint case.
8874
8875 2016-05-24 Pedro Alves <palves@redhat.com>
8876
8877 PR gdb/19828
8878 * gdb.threads/clone-attach-detach.c: New file.
8879 * gdb.threads/clone-attach-detach.exp: New file.
8880
8881 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8882
8883 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8884
8885 2016-05-23 Tom Tromey <tom@tromey.com>
8886
8887 PR python/19438, PR python/18393:
8888 * gdb.python/py-progspace.exp: Add "dir" test.
8889 * gdb.python/py-objfile.exp: Add "dir" test.
8890
8891 2016-05-23 Yao Qi <yao.qi@linaro.org>
8892
8893 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8894 * gdb.arch/thumb2-it.exp: Likewise.
8895
8896 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8897
8898 * gdb.mi/mi-threads-interrupt.c: New file.
8899 * gdb.mi/mi-threads-interrupt.exp: New file.
8900
8901 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8902
8903 PR gdb/18077
8904 * gdb.mi/mi-async-run.exp: New file.
8905 * gdb.mi/mi-async-run.c: New file.
8906
8907 2016-05-17 Tom Tromey <tom@tromey.com>
8908 Manish Goregaokar <manishsmail@gmail.com>
8909
8910 * lib/rust-support.exp: New file.
8911 * lib/gdb.exp (skip_rust_tests): New proc.
8912 (build_executable_from_specs): Handle rust.
8913 * lib/future.exp (gdb_find_rustc): New proc.
8914 (gdb_default_target_compile): Handle rust.
8915 * gdb.rust/expr.exp: New file.
8916 * gdb.rust/generics.exp: New file.
8917 * gdb.rust/generics.rs: New file.
8918 * gdb.rust/methods.exp: New file.
8919 * gdb.rust/methods.rs: New file.
8920 * gdb.rust/modules.exp: New file.
8921 * gdb.rust/modules.rs: New file.
8922 * gdb.rust/simple.exp: New file.
8923 * gdb.rust/simple.rs: New file.
8924
8925 2016-05-17 Tom Tromey <tom@tromey.com>
8926
8927 * gdb.base/default.exp (set language): Add rust.
8928
8929 2016-05-17 Tom Tromey <tom@tromey.com>
8930
8931 * gdb.gdb/unittest.exp: New file.
8932
8933 2016-05-16 Yao Qi <yao.qi@linaro.org>
8934
8935 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8936 shell_prompt. Update shell_prompt_re.
8937
8938 2016-05-12 Doug Evans <dje@google.com>
8939
8940 PR symtab/19999
8941 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8942 $options when building executable.
8943 * gdb.dwarf2/fission-loclists-pie.S: New file.
8944 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8945
8946 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8947
8948 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
8949 of [is_remote target],
8950
8951 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8952
8953 * lib/gdb.exp (use_gdb_stub): New procedure.
8954
8955 2016-05-03 Yunlian Jiang <yunlian@google.com>
8956 Doug Evans <dje@google.com>
8957
8958 PR symtab/19914
8959 * gdb.dwarf2/dwp-sepdebug.c: New file.
8960 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8961
8962 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8963
8964 * gdb.base/detach.exp: Remove is_remote check.
8965
8966 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8967
8968 * gdb.base/annota-input-while-running.exp: Don't check for
8969 [is_remote target]. Enable annotations after running to main.
8970 Remove unused "set test..." line.
8971
8972 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8973
8974 * gdb.trace/trace-enable-disable.exp: New file.
8975 * gdb.trace/trace-enable-disable.c: New file.
8976
8977 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8978
8979 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8980 use it in info sharedlibrary test.
8981 * gdb.trace/ftrace-lock.exp: Likewise.
8982 * gdb.trace/ftrace.exp: Likewise.
8983 * gdb.trace/range-stepping.exp: Likewise.
8984 * gdb.trace/trace-break.exp: Likewise.
8985 * gdb.trace/trace-condition.exp: Likewise.
8986 * gdb.trace/trace-mt.exp: Likewise.
8987
8988 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8989
8990 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8991 (gdb_load_shlib): ... this.
8992 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8993 gdb_load_shlib.
8994 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8995 * gdb.base/ctxobj.exp: Likewise.
8996 * gdb.base/dprintf-pending.exp: Likewise.
8997 * gdb.base/dso2dso.exp: Likewise.
8998 * gdb.base/fixsection.exp: Likewise.
8999 * gdb.base/gcore-relro.exp: Likewise.
9000 * gdb.base/gdb1555.exp: Likewise.
9001 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9002 * gdb.base/gnu-ifunc.exp: Likewise.
9003 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9004 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9005 * gdb.base/pending.exp: Likewise.
9006 * gdb.base/print-file-var.exp: Likewise.
9007 * gdb.base/print-symbol-loading.exp: Likewise.
9008 * gdb.base/shlib-call.exp: Likewise.
9009 * gdb.base/shreloc.exp: Likewise.
9010 * gdb.base/so-impl-ld.exp: Likewise.
9011 * gdb.base/solib-disc.exp: Likewise.
9012 * gdb.base/solib-nodir.exp: Likewise.
9013 * gdb.base/solib-overlap.exp: Likewise.
9014 * gdb.base/solib-symbol.exp: Likewise.
9015 * gdb.base/solib-weak.exp (do_test): Likewise.
9016 * gdb.base/sym-file.exp: Likewise.
9017 * gdb.base/symtab-search-order.exp: Likewise.
9018 * gdb.base/type-opaque.exp: Likewise.
9019 * gdb.base/unload.exp: Likewise.
9020 * gdb.base/watchpoint-solib.exp: Likewise.
9021 * gdb.compile/compile.exp: Likewise.
9022 * gdb.cp/gdb2384.exp: Likewise.
9023 * gdb.cp/infcall-dlopen.exp: Likewise.
9024 * gdb.cp/re-set-overloaded.exp: Likewise.
9025 * gdb.fortran/library-module.exp: Likewise.
9026 * gdb.opt/solib-intra-step.exp: Likewise.
9027 * gdb.python/py-finish-breakpoint.exp: Likewise.
9028 * gdb.python/py-shared.exp: Likewise.
9029 * gdb.reverse/solib-precsave.exp: Likewise.
9030 * gdb.reverse/solib-reverse.exp: Likewise.
9031 * gdb.server/solib-list.exp: Likewise.
9032 * gdb.threads/dlopen-libpthread.exp: Likewise.
9033 * gdb.threads/tls-shared.exp: Likewise.
9034 * gdb.threads/tls-so_extern.exp: Likewise.
9035 * gdb.trace/change-loc.exp: Likewise.
9036 * gdb.trace/ftrace-lock.exp: Likewise.
9037 * gdb.trace/ftrace.exp: Likewise.
9038 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9039 * gdb.trace/pending.exp: Likewise.
9040 * gdb.trace/range-stepping.exp: Likewise.
9041 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9042 (strace_info_marker): Likewise.
9043 (strace_probe_marker): Likewise.
9044 (strace_trace_on_same_addr): Likewise.
9045 (strace_trace_on_diff_addr): Likewise.
9046 * gdb.trace/trace-break.exp: Likewise.
9047 * gdb.trace/trace-condition.exp: Likewise.
9048 * gdb.trace/trace-mt.exp: Likewise.
9049
9050 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9051
9052 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9053 result of gdb_remote_download.
9054 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9055 * gdb.base/dso2dso.exp: Likewise.
9056 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9057 * gdb.base/print-file-var.exp: Likewise.
9058 * gdb.base/shlib-call.exp: Likewise.
9059 * gdb.base/shreloc.exp: Likewise.
9060 * gdb.base/solib-overlap.exp: Likewise.
9061 * gdb.base/solib-weak.exp (do_test): Likewise.
9062 * gdb.base/unload.exp: Likewise.
9063
9064 2016-04-27 Yao Qi <yao.qi@linaro.org>
9065
9066 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9067 exists.
9068
9069 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9070
9071 * vla-type.exp: Print structure from toplevel.
9072
9073 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9074
9075 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9076 of dynamic types.
9077 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9078 of dynamic types.
9079
9080 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9081
9082 * gdb.fortran/vla-type.f90: New file.
9083 * gdb.fortran/vla-type.exp: New file.
9084
9085 2016-04-25 Yao Qi <yao.qi@linaro.org>
9086
9087 * gdb.base/branch-to-self.c: New file.
9088 * gdb.base/branch-to-self.exp: New file.
9089
9090 2016-04-22 Yao Qi <yao.qi@linaro.org>
9091
9092 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9093 more after $hex.
9094
9095 2016-04-22 Yao Qi <yao.qi@linaro.org>
9096
9097 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9098 * gdb.base/annota3.exp: Likewise.
9099
9100 2016-04-22 Yao Qi <yao.qi@linaro.org>
9101
9102 * gdb.reverse/step-precsave.exp: Do one step and test program
9103 stops in "callee" and do multiple steps until program goes out
9104 of "callee".
9105 * gdb.reverse/step-reverse.exp: Likewise.
9106
9107 2016-04-22 Yao Qi <yao.qi@linaro.org>
9108
9109 * gdb.trace/signal.exp: Also pass if
9110 $tracepoint_hits($i) > $iterations.
9111
9112 2016-04-22 Yao Qi <yao.qi@linaro.org>
9113
9114 * gdb.trace/signal.c: New file.
9115 * gdb.trace/signal.exp: New file.
9116
9117 2016-04-19 Doug Evans <xdje42@gmail.com>
9118
9119 * gdb.base/bad-file.exp: New file.
9120
9121 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9122
9123 * gdb.dwarf2/implref.exp: New file.
9124
9125 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9126
9127 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9128 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9129 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9130 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9131 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9132 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9133 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9134 * lib/fortran.exp (fortran_int4): New procedure.
9135 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9136 (fortran_logical4): Likewise.
9137
9138 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9139
9140 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9141
9142 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9143
9144 * lib/compiler.c: Add Intel specific preprocessor macros.
9145 * lib/compiler.cc: Likewise.
9146
9147 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9148
9149 * gdb.server/connect-with-no-symbol-file.c: New file.
9150 * gdb.server/connect-with-no-symbol-file.exp: New file.
9151
9152 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9153
9154 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9155
9156 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9157
9158 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9159 standard output directory.
9160
9161 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9162
9163 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9164
9165 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9166
9167 * gdb.btrace/instruction_history.c (loop): Add declaration.
9168
9169 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9170
9171 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9172
9173 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9174
9175 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9176 parentheses to print.
9177 (continue_handler): Likewise.
9178
9179 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9180
9181 * gdb.server/solib-list.exp: Remove is_remote check.
9182 Pass shlib= to gdb_compile. Don't link shared library with
9183 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9184 Run binary filename through "readlink -f" on the target.
9185
9186 2016-04-08 Pedro Alves <palves@redhat.com>
9187
9188 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9189 interpreter filename as argument to gdbserver_spawn.
9190 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9191 Return empty if $last_loaded_file does not exist.
9192
9193 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9194
9195 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9196 * gdb.base/jit-main.c: Use exit after usage.
9197
9198 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9199
9200 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9201 GDBHISTSIZE prior to the tests.
9202 * gdb.base/gdbinit-history.exp: Likewise.
9203
9204 2016-04-07 Pedro Alves <palves@redhat.com>
9205
9206 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9207 instead of build_executable. Use gdb_load_shlibs.
9208
9209 2016-04-07 Yao Qi <yao.qi@linaro.org>
9210
9211 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9212 Execute "si" command.
9213
9214 2016-04-07 Yao Qi <yao.qi@linaro.org>
9215
9216 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9217 number instead of the comments on some line.
9218
9219 2016-04-06 Don Breazeal <donb@codesourcery.com>
9220
9221 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9222 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9223
9224 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9225
9226 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9227 standard_output_file. Remove unused binfile variable.
9228
9229 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9230
9231 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9232 * gdb.python/py-mi-objfile.exp: Match "list main" output
9233 in console format.
9234
9235 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9236
9237 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9238 absolute.
9239
9240 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9241
9242 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9243 absolute.
9244 * gdb.trace/ftrace.exp: Likewise.
9245 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9246 targets as well.
9247 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9248 (gdb_load_shlibs): Copy libraries to test directory when testing
9249 natively. Only set solib-search-path if testing remotely.
9250 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9251
9252 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9253
9254 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9255 gdb_download. Use it even if the target is not remote.
9256 * gdb.base/jit.exp (compile_jit_test): Likewise.
9257 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9258 output directory if the destination board is local, otherwise use
9259 the standard remote_download from DejaGnu.
9260 (gdb_download): Remove.
9261 (gdb_load_shlibs): Use gdb_remote_download instead of
9262 gdb_download.
9263 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9264 Use gdb_remote_download instead of gdb_download. Use it even if
9265 the target is not remote.
9266 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9267 instead of gdb_download.
9268
9269 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9270
9271 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9272 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9273 run.
9274
9275 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9276
9277 PR gdb/19820
9278 * gdb.base/printcmds.exp: Add artificial arrays tests.
9279
9280 2016-03-31 Pedro Alves <palves@redhat.com>
9281
9282 PR gdb/19858
9283 * gdb.base/jit-main.c: Include unistd.h.
9284 (ATTACH): Define to 0 if not already defined.
9285 (wait_for_gdb, mypid): New globals.
9286 (WAIT_FOR_GDB): New macro.
9287 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9288 some breakpoint locations.
9289 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9290 New procedures.
9291 (one_jit_test): Add REATTACH parameter, and handle it. Use
9292 continue_to_test_location.
9293 (top level): Test attach, and adjusts calls to one_jit_test.
9294
9295 2016-03-31 Pedro Alves <palves@redhat.com>
9296
9297 PR gdb/19858
9298 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9299 BINSUFFIX parameter, and handle it.
9300 (top level): Adjust calls compile_jit_test.
9301
9302 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9303
9304 PR python/19743
9305 * gdb.python/py-mi-events-gdb.py: New file.
9306 * gdb.python/py-mi-events.c: New file.
9307 * gdb.python/py-mi-events.exp: New file.
9308
9309 2016-03-30 Yao Qi <yao.qi@linaro.org>
9310
9311 * gdb.reverse/until-precsave.exp: Match function name only.
9312 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9313 Move malloc to a condition block.
9314 * gdb.reverse/until-reverse.exp: Match function name only.
9315
9316 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9317
9318 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9319 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9320 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9321 variable for GPR 0 instead of assuming it is register 0.
9322 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9323 * lib/trace-support.exp: Add s390 registers.
9324
9325 2016-03-29 Yao Qi <yao.qi@linaro.org>
9326
9327 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9328
9329 2016-03-24 Yao Qi <yao.qi@linaro.org>
9330
9331 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9332 test message.
9333
9334 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9335
9336 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9337 maintaining separate logic for constructing the output path.
9338
9339 2016-03-16 Don Breazeal <donb@codesourcery.com>
9340
9341 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9342 Retry fork and waitpid on interrupted system call errors.
9343 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9344 Use with_timeout_factor to increase timeout by factor of 10.
9345
9346 2016-03-15 Don Breazeal <donb@codesourcery.com>
9347
9348 * gdb.cp/scope-err.cc: New test program.
9349 * gdb.cp/scope-err.exp: New test script.
9350 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9351 lines and "set breakpoint here" comment.
9352 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9353 Fixed some whitespace and format issues.
9354 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9355 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9356
9357 2016-03-15 Doug Evans <dje@google.com>
9358
9359 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9360 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9361 All callers updated. Add tests for enums, mixed flags register.
9362
9363 2016-03-15 Doug Evans <dje@google.com>
9364
9365 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9366 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9367
9368 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9369
9370 * gdb.base/default.exp: Add $_as_string to the list of expected
9371 convenience functions.
9372
9373 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9374
9375 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9376
9377 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9378
9379 * gdb.python/py-as-string.exp: New file.
9380 * gdb.python/py-as-string.c: New file.
9381
9382 2016-03-09 Pedro Alves <palves@redhat.com>
9383
9384 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9385 signal" -> "Thread NN received signal" output change.
9386 * gdb.threads/ia64-sigill.exp: Likewise.
9387 * gdb.threads/linux-dp.exp: Likewise.
9388 * gdb.threads/manythreads.exp: Likewise.
9389 * gdb.threads/pending-step.exp: Likewise.
9390 * gdb.threads/print-threads.exp: Likewise.
9391 * gdb.threads/sigstep-threads.exp: Likewise.
9392 * gdb.threads/staticthreads.exp: Likewise.
9393 * gdb.threads/tls.exp: Likewise.
9394
9395 2016-03-09 Pedro Alves <palves@redhat.com>
9396
9397 * gdb.base/command-line-input.exp: New file.
9398
9399 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9400
9401 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9402 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9403 * gdb.trace/pending.exp: Accept leading dot before function name.
9404 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9405 * lib/trace-support.exp: Set registers for ppc.
9406
9407 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9408
9409 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9410 use it for disassembly; accept .main in addition to main in backtrace.
9411
9412 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9413 Marcin Kościelnicki <koriakin@0x04.net>
9414
9415 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9416 (gdb_recursion_test_ptr): New global variable.
9417 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9418 gdb_recursion_test.
9419 (gdb_c_test): Ditto.
9420
9421 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9422
9423 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9424 ordering.
9425
9426 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9427
9428 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9429 (bar): Add bar_start_lbl label.
9430 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9431 of foo/bar for emitting DWARF and tracing.
9432
9433 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9434
9435 * analyze-racy-logs.py: Set executable bit.
9436
9437 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9438
9439 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9440 (CHECK_TARGET_TMP): Likewise.
9441 (check-single-racy): New rule.
9442 (check-parallel-racy): Likewise.
9443 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9444 (do-check-parallel-racy): New rule.
9445 (check-racy/%.exp): Likewise.
9446 * README (Racy testcases): New section.
9447 * analyze-racy-logs.py: New file.
9448
9449 2016-03-03 Doug Evans <dje@google.com>
9450
9451 * gdb.base/skip.exp: Use with_test_prefix.
9452
9453 2016-03-03 Yao Qi <yao.qi@linaro.org>
9454
9455 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9456 Invoke step_over_syscall "clone" and break_cond_on_syscall
9457 "clone".
9458 * gdb.base/step-over-clone.c: New file.
9459
9460 2016-03-03 Yao Qi <yao.qi@linaro.org>
9461
9462 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9463 code format.
9464
9465 2016-03-03 Yao Qi <yao.qi@linaro.org>
9466
9467 * gdb.base/disp-step-fork.c: Rename to ...
9468 * gdb.base/step-over-fork.c: ... it. New file.
9469 * gdb.base/disp-step-vfork.c: Rename to ...
9470 * gdb.base/step-over-vfork.c: ... it. New file.
9471 * gdb.base/disp-step-syscall.exp: Rename to ...
9472 * gdb.base/step-over-syscall.exp: ... it. New file.
9473 (disp_step_cross_syscall): Rename to ...
9474 (step_over_syscall): ... it.
9475
9476 2016-03-03 Yao Qi <yao.qi@linaro.org>
9477
9478 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9479 If target supports condition evaluation on target, invoke
9480 break_cond_on_syscall for fork and vfork.
9481
9482 2016-03-03 Yao Qi <yao.qi@linaro.org>
9483
9484 * gdb.base/disp-step-syscall.exp: Don't invoke
9485 support_displaced_stepping.
9486 (disp_step_cross_syscall): Test with displaced stepping off and
9487 on if supported.
9488
9489 2016-03-03 Yao Qi <yao.qi@linaro.org>
9490
9491 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9492 proc.
9493 (setup): New proc.
9494 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9495 and setup.
9496
9497 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9498
9499 * gdb.fortran/vla-history.exp: Remove breakpoint.
9500
9501 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9502
9503 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9504 exceeds timeout.
9505
9506 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9507
9508 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9509 breakpoint.
9510
9511 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9512
9513 * gdb.mi/vla.f90: Nullify pointer after declaration.
9514
9515 2016-03-01 Pedro Alves <palves@redhat.com>
9516
9517 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9518
9519 2016-03-01 Pedro Alves <palves@redhat.com>
9520
9521 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9522 before anything else.
9523 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9524 _GNU_SOURCE here.
9525 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9526 before anything else.
9527 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9528
9529 2016-03-01 Pedro Alves <palves@redhat.com>
9530
9531 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9532
9533 2016-03-01 Yao Qi <yao.qi@linaro.org>
9534
9535 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9536 prepare_for_testing.
9537
9538 2016-03-01 Yao Qi <yao.qi@linaro.org>
9539
9540 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9541
9542 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9543
9544 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9545 manually constructing the output path.
9546
9547 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9548
9549 * gdb.arch/s390-stackless.S: New.
9550 * gdb.arch/s390-stackless.exp: New.
9551
9552 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9553
9554 * gdb.dlang/circular.c: New file.
9555 * gdb.dlang/circular.exp: New file.
9556
9557 2016-02-26 Yao Qi <yao.qi@linaro.org>
9558
9559 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9560 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9561 (testcases): Update.
9562
9563 2016-02-26 Yao Qi <yao.qi@linaro.org>
9564
9565 * gdb.reverse/aarch64.c: Rename to ...
9566 * gdb.reverse/insn-reverse.c: ... it.
9567 * gdb.reverse/aarch64.exp: Rename to ...
9568 * gdb.reverse/insn-reverse.exp: ... it.
9569
9570 2016-02-26 Yao Qi <yao.qi@linaro.org>
9571
9572 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9573 (testcase_ftype): New.
9574 (testcases): New array.
9575 (n_testcases): New.
9576 (main): Call each element in testcases.
9577 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9578 (read_testcase): New.
9579 Do the tests in a loop.
9580
9581 2016-02-25 Yao Qi <yao.qi@linaro.org>
9582
9583 * gdb.base/branches.c: Remove.
9584
9585 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9586
9587 PR gdb/13808
9588 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9589
9590 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9591
9592 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9593
9594 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9595
9596 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9597 change x86_64 call_insn to 'callq'.
9598
9599 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9600
9601 * gdb.trace/tfile-avx.c: Move to...
9602 * gdb.trace/tracefile-pseudo-reg.c: Here.
9603 * gdb.trace/tfile-avx.exp: Move to...
9604 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9605
9606 2016-02-24 Gary Benson <gbenson@redhat.com>
9607
9608 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9609 message on attach.
9610
9611 2016-02-23 Doug Evans <dje@google.com>
9612
9613 * gdb.base/skip.c (test_skip): New function.
9614 (end_test_skip_file_and_function): New function.
9615 (test_skip_file_and_function): New function.
9616 * gdb.base/skip1.c (test_skip): New function.
9617 (skip1_test_skip_file_and_function): New function.
9618 * gdb.base/skip.exp: Add tests for new skip options.
9619 * gdb.base/skip-solib.exp: Update expected output.
9620 * gdb.perf/skip-command.cc: New file.
9621 * gdb.perf/skip-command.exp: New file.
9622 * gdb.perf/skip-command.py: New file.
9623
9624 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9625
9626 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9627 info registers pattern.
9628
9629 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9630
9631 * lib/future.exp: Add D support.
9632 (gdb_find_gdc): New proc.
9633 (gdb_default_target_compile): Add D support.
9634
9635 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9636
9637 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9638 user+system time.
9639 (trace_speed_test): Determine the iteration count for a time
9640 between 15..30 seconds.
9641
9642 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9643
9644 * gdb.arch/i386-mpx-sigsegv.c: New file.
9645 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9646 * gdb.arch/i386-mpx-simple_segv.c: New file.
9647 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9648
9649 2016-02-18 Yao Qi <yao.qi@linaro.org>
9650
9651 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9652 Don't call setup_kfail.
9653
9654 2016-02-18 Yao Qi <yao.qi@linaro.org>
9655
9656 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9657 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9658
9659 2016-02-16 Doug Evans <dje@google.com>
9660
9661 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9662 * gdb.base/skip1.c: Ditto.
9663 * gdb.base/skip.exp: Whitespace cleanup.
9664
9665 2016-02-16 Don Breazeal <donb@codesourcery.com>
9666
9667 PR remote/19496
9668 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9669 Remove kfail for PR remote/19496.
9670
9671 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9672
9673 * lib/gdb.exp (standard_temp_file): Return a path specific to
9674 the runtest invocation.
9675
9676 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9677
9678 * gdb.trace/save-trace.exp: Change relative path to be in the
9679 standard output directory.
9680
9681 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9682
9683 * gdb.arch/i386-prologue.c: Add missing prototypes.
9684
9685 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9686
9687 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9688 * gdb.arch/i386-prologue.exp: Likewise.
9689 * gdb.arch/i386-size.exp: Likewise.
9690
9691 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9692
9693 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9694 define object file path.
9695 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9696 file path.
9697 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9698 standard_output_file to define binfile.
9699
9700 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9701
9702 Fix compatibility with recent gfortran-5.3.1.
9703 * gdb.fortran/vla-history.exp (print vla1 allocated)
9704 (print vla2 allocated, print $2, print $3): Remove
9705 (print $4): Rename to ...
9706 (print $2): ... here.
9707 (print $9): Rename to ...
9708 (print $5): ... here.
9709 (print $10): Rename to ...
9710 (print $6): ... here.
9711 * gdb.fortran/vla.f90: Add pvla initialization.
9712
9713 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9714
9715 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9716 New test.
9717 * gdb.fortran/vla-value-sub.exp: Likewise.
9718
9719 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9720
9721 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9722
9723 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9724
9725 * i386-biarch-core.exp: Define corefile using
9726 standard_output_file.
9727
9728 2016-02-12 Yao Qi <yao.qi@linaro.org>
9729
9730 * gdb.arch/arm-single-step-kernel-helper.c: New.
9731 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9732
9733 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9734
9735 * gdb.btrace/tailcall-only.exp: New.
9736 * gdb.btrace/tailcall-only.c: New.
9737 * gdb.btrace/x86_64-tailcall-only.S: New.
9738 * gdb.btrace/i686-tailcall-only.S: New.
9739
9740 2016-02-11 Pedro Alves <palves@redhat.com>
9741
9742 * README (Parallel testing): Add missing double quotes.
9743
9744 2016-02-11 Pedro Alves <palves@redhat.com>
9745
9746 * README (Parallel testing): New section.
9747 (GDB_PARALLEL): Rewrite.
9748 (FORCE_PARALLEL): Document.
9749
9750 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9751
9752 * gdb.trace/tfile-avx.c: New test.
9753 * gdb.trace/tfile-avx.exp: New test.
9754
9755 2016-02-09 Keith Seitz <keiths@redhat.com>
9756
9757 PR breakpoints/19546
9758 * gdb.base/infcall-exec.c: New file.
9759 * gdb.base/infcall-exec2.c: New file.
9760 * gdb.base/infcall-exec.exp: New file.
9761
9762 2016-02-09 Keith Seitz <keiths@redhat.com>
9763
9764 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9765 (toplevel): Call test_bkpt_address.
9766
9767 2016-02-09 Keith Seitz <keiths@redhat.com>
9768
9769 PR python/19506
9770 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9771 (toplevel): Call test_bkpt_address.
9772
9773 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9774
9775 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9776 to AC_OUTPUT.
9777 * configure: Regenerate.
9778
9779 2016-02-09 Pedro Alves <palves@redhat.com>
9780
9781 PR breakpoints/19548
9782 * gdb.base/execl-update-breakpoints.c (some_function): New
9783 function.
9784 (main): Call it.
9785 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9786 Tighten expected GDB output.
9787
9788 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9789
9790 * Makefile.in (ALL_SUBDIRS): Remove.
9791 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9792 (distclean maintainer-clean realclean): Likewise.
9793 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9794 * configure: Regenerate.
9795 * gdb.ada/Makefile.in: Delete.
9796 * gdb.arch/Makefile.in: Likewise.
9797 * gdb.asm/Makefile.in: Likewise.
9798 * gdb.base/Makefile.in: Likewise.
9799 * gdb.btrace/Makefile.in: Likewise.
9800 * gdb.cell/Makefile.in: Likewise.
9801 * gdb.compile/Makefile.in: Likewise.
9802 * gdb.cp/Makefile.in: Likewise.
9803 * gdb.disasm/Makefile.in: Likewise.
9804 * gdb.dlang/Makefile.in: Likewise.
9805 * gdb.dwarf2/Makefile.in: Likewise.
9806 * gdb.fortran/Makefile.in: Likewise.
9807 * gdb.gdb/Makefile.in: Likewise.
9808 * gdb.go/Makefile.in: Likewise.
9809 * gdb.guile/Makefile.in: Likewise.
9810 * gdb.java/Makefile.in: Likewise.
9811 * gdb.linespec/Makefile.in: Likewise.
9812 * gdb.mi/Makefile.in: Likewise.
9813 * gdb.modula2/Makefile.in: Likewise.
9814 * gdb.multi/Makefile.in: Likewise.
9815 * gdb.objc/Makefile.in: Likewise.
9816 * gdb.opencl/Makefile.in: Likewise.
9817 * gdb.opt/Makefile.in: Likewise.
9818 * gdb.pascal/Makefile.in: Likewise.
9819 * gdb.perf/Makefile.in: Likewise.
9820 * gdb.python/Makefile.in: Likewise.
9821 * gdb.reverse/Makefile.in: Likewise.
9822 * gdb.server/Makefile.in: Likewise.
9823 * gdb.stabs/Makefile.in: Likewise.
9824 * gdb.threads/Makefile.in: Likewise.
9825 * gdb.trace/Makefile.in: Likewise.
9826 * gdb.xml/Makefile.in: Likewise.
9827 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9828 GDB_PARALLEL.
9829 (standard_output_file): Remove check for GDB_PARALLEL, always
9830 return path in outputs/$subdir/$testname.
9831
9832 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9833
9834 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9835 (site.exp): Assign abs_srcdir to tcl's srcdir.
9836
9837 2016-02-04 Yao Qi <yao.qi@linaro.org>
9838
9839 * gdb.base/foll-exec-mode.c: Include limits.h.
9840 (main): Add parameters argc and argv. Get directory from
9841 argv[0].
9842 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9843 compilation.
9844 * gdb.base/foll-exec.c: Include limits.h.
9845 (main): Add parameters argc and argv.
9846 Get directory from argv[0].
9847 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9848 Adjust tests on the number of lines as source code changed.
9849 * gdb.base/foll-vfork-exit.c: Include limits.h.
9850 (main): Add one line of statement before vfork.
9851 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9852 (main): Add parameters argc and argv. Get directory from
9853 argv[0].
9854 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9855 (setup_gdb): Set tbreak to skip some source lines.
9856 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9857 (main): Add parameters argc and argv. Get directory from
9858 argv[0].
9859 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9860 compilation.
9861 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9862 (main): Add parameters argc and argv. Get directory from
9863 argv[0].
9864 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9865 compilation.
9866
9867 2016-02-01 Doug Evans <dje@google.com>
9868
9869 * gdb.base/skip.exp: Clean up multiple references to same test name.
9870
9871 2016-02-01 Pedro Alves <palves@redhat.com>
9872
9873 PR remote/19496
9874 * gdb.threads/forking-threads-plus-breakpoint.exp
9875 (displaced_stepping_supported): New global.
9876 (probe_displaced_stepping_support): New procedure.
9877 (do_test): Add 'displaced' parameter, and use it.
9878 (top level): Check for displaced stepping support. Add displaced
9879 stepping on/off testing axis.
9880
9881 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9882
9883 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9884 pointer. Don't perform further tests on the unassociated pointer
9885 if the first test fails.
9886
9887 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9888
9889 * gdb.base/max-value-size.c: New file.
9890 * gdb.base/max-value-size.exp: New file.
9891 * gdb.base/huge.exp: Disable max-value-size for this test.
9892
9893 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9894
9895 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9896
9897 2016-01-28 Yao Qi <yao.qi@linaro.org>
9898
9899 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9900
9901 2016-01-25 Pedro Alves <palves@redhat.com>
9902
9903 PR threads/19461
9904 * gdb.base/fork-running-state.c: New file.
9905 * gdb.base/fork-running-state.exp: New file.
9906
9907 2016-01-25 Pedro Alves <palves@redhat.com>
9908
9909 PR gdb/19494
9910 * gdb.base/catch-fork-kill.c: New file.
9911 * gdb.base/catch-fork-kill.exp: New file.
9912
9913 2016-01-25 Pedro Alves <palves@redhat.com>
9914
9915 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9916 Delete, moved to lib/gdb.exp.
9917 * gdb.threads/forking-threads-plus-breakpoint.exp
9918 (foreach_with_prefix): Likewise.
9919 * gdb.threads/process-dies-while-handling-bp.exp
9920 (foreach_with_prefix): Likewise.
9921 * lib/gdb.exp (foreach_with_prefix): New procedure.
9922
9923 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9924
9925 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9926 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9927
9928 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9929
9930 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9931 endian targets.
9932
9933 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9934 Pedro Alves <palves@redhat.com>
9935
9936 Fix testsuite compatibility with Guile.
9937 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9938 number.
9939
9940 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9941
9942 Fix testsuite compatibility with Guile.
9943 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9944 (thread 1): New test for backtrace through signal handler.
9945
9946 2016-01-22 Yao Qi <yao.qi@linaro.org>
9947
9948 PR testsuite/19491
9949 * gdb.base/multi-forks.c: Include
9950 ../lib/unbuffer_output.c
9951 (main): Call gdb_unbuffer_output.
9952
9953 2016-01-21 Doug Evans <dje@google.com>
9954
9955 * lib/ada.exp (gdb_compile_ada): Fix typo.
9956
9957 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9958
9959 * gdb.base/break-fun-addr.exp: New file.
9960 * gdb.base/break-fun-addr1.c: New file.
9961 * gdb.base/break-fun-addr2.c: New file.
9962
9963 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9964
9965 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9966 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9967 enum flag values.
9968
9969 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9970
9971 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9972 when GDB can not set the vector return value. Add more comments
9973 for clarification.
9974
9975 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9976
9977 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9978 command.
9979
9980 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9981
9982 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9983
9984 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9985
9986 * Makefile.in (check-single): Pass --status to runtest.
9987 (check/%.exp): Likewise.
9988
9989 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9990
9991 * Makefile.in (check-parallel): Propagate return code from make
9992 do-check-parallel.
9993
9994 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
9995
9996 * gdb.trace/ftrace.exp: Fix expected message on continue.
9997 * gdb.trace/pending.exp: Fix expected message on continue.
9998 * gdb.trace/trace-break.exp: Fix expected message on continue.
9999
10000 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10001
10002 * lib/gdb.exp (gdb_test): Remove unused global references.
10003
10004 2016-01-18 Pedro Alves <palves@redhat.com>
10005
10006 * gdb.base/async-shell.exp: Adjust expected output.
10007 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10008 * gdb.base/siginfo-thread.exp: Adjust expected output.
10009 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10010 * gdb.java/jnpe.exp: Adjust expected output.
10011 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10012 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10013 * gdb.threads/leader-exit.exp: Adjust expected output.
10014 * gdb.threads/manythreads.exp: Adjust expected output.
10015 * gdb.threads/pthreads.exp: Adjust expected output.
10016 * gdb.threads/schedlock.exp: Adjust expected output.
10017 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10018 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10019 expected output.
10020 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10021 output.
10022 * gdb.threads/sigthread.exp: Adjust expected output.
10023 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10024
10025 2016-01-18 Yao Qi <yao.qi@linaro.org>
10026
10027 * gdb.guile/scm-section-script.c: Replace @progbits with
10028 %progbits.
10029 * gdb.python/py-section-script.c: Likewise.
10030
10031 2016-01-15 Pedro Alves <palves@redhat.com>
10032
10033 * gdb.multi/tids.exp: Test star wildcard ranges.
10034
10035 2016-01-15 Pedro Alves <palves@redhat.com>
10036
10037 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10038 command from "thread apply" invocation.
10039 (thr_apply_info_thr_invalid): Default the expected output to the
10040 input tid list.
10041 (top level): Add tests that use convenience variables. Add tests
10042 for "thread apply" with a valid TID list, but missing the command.
10043
10044 2016-01-13 Pedro Alves <palves@redhat.com>
10045
10046 * gdb.base/default.exp: Expect $_gthread as well.
10047 * gdb.multi/tids.exp: Test $_gthread.
10048 * gdb.threads/thread-specific.exp: Test $_gthread.
10049
10050 2016-01-13 Pedro Alves <palves@redhat.com>
10051
10052 * gdb.multi/tids.exp: Test "info threads -gid".
10053
10054 2016-01-13 Pedro Alves <palves@redhat.com>
10055
10056 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10057 Breakpoint.thread.
10058 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10059
10060 2016-01-07 Pedro Alves <palves@redhat.com>
10061
10062 * gdb.base/break.exp: Adjust to output changes.
10063 * gdb.base/hbreak2.exp: Likewise.
10064 * gdb.base/sepdebug.exp: Likewise.
10065 * gdb.base/watch_thread_num.exp: Likewise.
10066 * gdb.linespec/keywords.exp: Likewise.
10067 * gdb.multi/info-threads.exp: Likewise.
10068 * gdb.threads/thread-find.exp: Likewise.
10069 * gdb.multi/tids.c: New file.
10070 * gdb.multi/tids.exp: New file.
10071
10072 2016-01-13 Pedro Alves <palves@redhat.com>
10073
10074 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10075
10076 2016-01-13 Pedro Alves <palves@redhat.com>
10077
10078 * gdb.base/default.exp: Expect $_inferior as well.
10079 * gdb.multi/base.exp: Test $_inferior.
10080
10081 2016-01-13 Pedro Alves <palves@redhat.com>
10082
10083 PR breakpoints/19388
10084 * gdb.base/catch-signal-siginfo-cond.c: New file.
10085 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10086
10087 2016-01-12 Josh Stone <jistone@redhat.com>
10088 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10089
10090 * gdb.base/catch-syscall.c (do_execve): New variable.
10091 (main): Conditionally trigger an execve.
10092 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10093 (test_catch_syscall_execve): New, check entry/return across execve.
10094 (do_syscall_tests): Call test_catch_syscall_execve.
10095
10096 2016-01-12 Pedro Alves <palves@redhat.com>
10097
10098 * gdb.base/random-signal.exp (do_test): New procedure, with body
10099 of testcase moved in.
10100
10101 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10102 Pedro Alves <palves@redhat.com>
10103
10104 * gdb.base/funcargs.exp (finish from indirectly called function):
10105 Reintroduce the case for 'First'.
10106
10107 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10108 Pedro Alves <palves@redhat.com>
10109
10110 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10111 (tcatch_vfork_then_child_follow_exec)
10112 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10113 identification.
10114
10115 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10116
10117 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10118 and repeats to unlimited.
10119 * gdb.python/py-value.exp: Likewise.
10120 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10121 and repeats to unlimited.
10122
10123 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10124
10125 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10126 and reordering the functions.
10127 * gdb.multi/hangout.c: Likewise.
10128 * gdb.multi/hello.c: Likewise.
10129
10130 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10131
10132 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10133 absolute.
10134 (SingleStatisticTestResult.report): Use dict.keys instead of
10135 dict.iterkeys.
10136
10137 2016-01-06 Pedro Alves <palves@redhat.com>
10138
10139 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10140
10141 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10142
10143 * gdb.btrace/dlopen.exp: New.
10144 * gdb.btrace/dlopen.c: New.
10145 * gdb.btrace/dlopen-dso.c: New.
10146
10147 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10148
10149 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10150 PATTERN argument is optional.
10151
10152 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10153
10154 * lib/ada.exp (target_compile_ada_from_dir): New function.
10155 (gdb_compile_ada): Reimplement avoiding the use of project files.
10156 * gdb.ada/gnat_ada.gpr: Delete.
10157 * gdb.ada/cond_lang.exp: Adjust test to make path before
10158 filename optional.
10159 * gdb.ada/small_reg_param.exp: Likewise.
10160
10161 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10162
10163 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10164
10165 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10166
10167 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10168 case.
10169
10170 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10171
10172 * gdb.base/break.exp: Remove dead code.
10173 * gdb.base/sepdebug.exp: Likewise.
10174
10175 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10176
10177 * gdb.asm/asm-source.exp: Remove HP-UX references.
10178 * gdb.base/annota1.exp: Likewise.
10179 * gdb.base/annota3.exp: Likewise.
10180 * gdb.base/attach.exp: Likewise.
10181 * gdb.base/bigcore.exp: Likewise.
10182 * gdb.base/break.exp: Likewise.
10183 * gdb.base/call-ar-st.exp: Likewise.
10184 * gdb.base/callfuncs.exp: Likewise.
10185 * gdb.base/catch-fork-static.exp: Likewise.
10186 * gdb.base/display.exp: Likewise.
10187 * gdb.base/foll-exec-mode.exp: Likewise.
10188 * gdb.base/foll-exec.exp: Likewise.
10189 * gdb.base/foll-fork.exp: Likewise.
10190 * gdb.base/foll-vfork.exp: Likewise.
10191 * gdb.base/funcargs.exp: Likewise.
10192 * gdb.base/hbreak2.exp: Likewise.
10193 * gdb.base/inferior-died.exp: Likewise.
10194 * gdb.base/interrupt.exp: Likewise.
10195 * gdb.base/multi-forks.exp: Likewise.
10196 * gdb.base/nodebug.exp: Likewise.
10197 * gdb.base/sepdebug.exp: Likewise.
10198 * gdb.base/solib1.c: Likewise.
10199 * gdb.base/step-test.exp: Likewise.
10200 * gdb.mi/non-stop.c: Likewise.
10201 * gdb.mi/pthreads.c: Likewise.
10202 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10203 * gdb.threads/pthreads.c: Likewise.
10204 * gdb.threads/staticthreads.exp: Likewise.
10205 * lib/future.exp: Likewise.
10206 * lib/gdb.exp: Likewise.
10207 * gdb.base/so-indr-cl.c: Remove.
10208 * gdb.base/so-indr-cl.exp: Likewise.
10209 * gdb.base/solib.c: Likewise.
10210 * gdb.base/solib.exp: Likewise.
10211 * gdb.base/solib2.c: Likewise.
10212
10213 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10214
10215 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10216 * gdb.base/call-ar-st.exp: Likewise.
10217 * gdb.base/callfuncs.exp: Likewise.
10218 * gdb.base/condbreak.exp: Likewise.
10219 * gdb.base/constvars.exp: Likewise.
10220 * gdb.base/hbreak2.exp: Likewise.
10221 * gdb.base/langs.exp: Likewise.
10222 * gdb.base/list.exp: Likewise.
10223 * gdb.base/long_long.exp: Likewise.
10224 * gdb.base/ptype.exp: Likewise.
10225 * gdb.base/scope.exp: Likewise.
10226 * gdb.base/signals.exp: Likewise.
10227 * gdb.base/so-impl-ld.exp: Likewise.
10228 * gdb.base/varargs.exp: Likewise.
10229 * gdb.base/volatile.exp: Likewise.
10230 * gdb.base/whatis.exp: Likewise.
10231 * gdb.cp/cplusfuncs.exp: Likewise.
10232 * gdb.cp/inherit.exp: Likewise.
10233 * gdb.cp/local.exp: Likewise.
10234 * gdb.cp/member-ptr.exp: Likewise.
10235 * gdb.cp/method.exp: Likewise.
10236 * gdb.cp/overload.exp: Likewise.
10237 * gdb.cp/templates.exp: Likewise.
10238 * gdb.stabs/weird.exp: Likewise.
10239 * lib/compiler.c: Likewise.
10240 * lib/compiler.cc: Likewise.
10241 * lib/cp-support.exp: Likewise.
10242 * lib/gdb.exp: Likewise.
10243
10244 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10245
10246 * configure.ac: Remove HP-UX case.
10247 * configure: Regenerate.
10248
10249 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10250
10251 * lib/gdb.exp (gdb_compile): Add function doc.
10252
10253 2015-12-17 Pedro Alves <palves@redhat.com>
10254
10255 PR threads/19354
10256 * gdb.multi/info-threads.exp: New file.
10257
10258 2015-12-15 Yao Qi <yao.qi@linaro.org>
10259
10260 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10261 is aarch64*-*-*.
10262
10263 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10264
10265 * gdb.base/history-duplicates.exp: Skip if no readline support.
10266
10267 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10268
10269 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10270
10271 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10272
10273 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10274
10275 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10276
10277 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10278 ctrl-C if nointerrupts target property is set.
10279 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10280 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10281 * gdb.base/paginate-bg-execution.exp: Likewise.
10282 * gdb.base/paginate-execution-startup.exp: Likewise.
10283 * gdb.base/random-signal.exp: Likewise.
10284 * gdb.base/range-stepping.exp: Likewise.
10285 * gdb.cp/annota2.exp: Likewise.
10286 * gdb.cp/annota3.exp: Likewise.
10287 * gdb.gdb/selftest.exp: Likewise.
10288 * gdb.threads/continue-pending-status.exp: Likewise.
10289 * gdb.threads/leader-exit.exp: Likewise.
10290 * gdb.threads/manythreads.exp: Likewise.
10291 * gdb.threads/pthreads.exp: Likewise.
10292 * gdb.threads/schedlock.exp: Likewise.
10293 * gdb.threads/sigthread.exp: Likewise.
10294
10295 2015-12-11 Don Breazeal <donb@codesourcery.com>
10296
10297 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10298 remote.
10299 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10300 * gdb.base/foll-exec.exp (main): Enable for target remote.
10301 * gdb.base/foll-fork.exp (main): Likewise.
10302 * gdb.base/foll-vfork.exp (main): Likewise.
10303 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10304 (proc continue_to_exit_bp_loc): Use clean_restart.
10305 * gdb.base/pie-execl.exp (main): Disable for target remote.
10306 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10307 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10308 * gdb.threads/execl.exp (main): Likewise.
10309 * gdb.threads/fork-child-threads.exp (main): Likewise.
10310 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10311 remote.
10312 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10313 remote.
10314 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10315 pid.tid style ptids, instead of just tid.
10316 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10317 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10318 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10319 ptids, instead of just tid.
10320
10321 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10322
10323 * gdb.base/list.exp (test_list_forward): Add end of file error
10324 test.
10325 (test_repeat_list_command): Add end of file error test.
10326 (test_list_backwards): Add beginning of file error test.
10327
10328 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10329
10330 * gdb.base/list.exp (test_list_invalid_args): New function,
10331 defined, and called.
10332
10333 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10334
10335 * gdb.base/list.exp (test_list): Make test names unique.
10336
10337 2015-12-11 Yao Qi <yao.qi@linaro.org>
10338
10339 * gdb.base/coremaker2.c: Remove.
10340
10341 2015-12-10 Pedro Alves <palves@redhat.com>
10342
10343 * gdb.multi/base.exp: Remove stale "spaces" references.
10344
10345 2015-12-10 Pedro Alves <palves@redhat.com>
10346
10347 * gdb.multi/base.exp: Don't use nowarnings.
10348 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10349 * gdb.multi/hangout.c: Include stdio.h.
10350 * gdb.multi/hello.c: Include stdlib.h.
10351 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10352 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10353 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10354
10355 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10356
10357 * gdb.dwarf2/dw2-ranges-base.c: New file.
10358 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10359 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10360 support additional line table, and debug ranges generation.
10361 (Dwarf::ranges): New function, generate .debug_ranges.
10362 (Dwarf::lines): Support generating simple line table programs.
10363 (Dwarf::assemble): Initialise new namespace variables.
10364
10365 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10366
10367 * gdb.base/async.exp (proc test_background): Add case for
10368 asynchronous execution not supported.
10369
10370 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10371
10372 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10373 format and change test names to make them unique.
10374
10375 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10376 Pedro Alves <pedro@redhat.com>
10377
10378 PR gdb/18702
10379 Add checking of floatformats setup on x86_64 hosts.
10380 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10381 (smallval, bigval): New labels/constants.
10382 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10383 float" after loading bigval and smallval.
10384
10385 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10386
10387 * gdb.ada/fun_overload_menu.exp: New testcase.
10388 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10389
10390 2015-12-04 Josh Stone <jistone@redhat.com>
10391
10392 * gdb.base/catch-fork-static.exp: New.
10393
10394 2015-12-03 Yao Qi <yao.qi@linaro.org>
10395
10396 * gdb.base/sizeof.c: Don't include stdio.h and
10397 ../lib/unbuffer_output.c.
10398 (main): New variable 'size' and 'value'. Remove printf and
10399 gdb_unbuffer_output. Assign return value to size and value.
10400 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10401 at the beginning.
10402 (check_sizeof): Check the result by printing variable 'size'.
10403 (check_valueof): Check the result by printing variable 'value'.
10404
10405 2015-12-01 Yao Qi <yao.qi@linaro.org>
10406
10407 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10408 for aarch64*-*-linux* target.
10409
10410 2015-11-30 Pedro Alves <palves@redhat.com>
10411
10412 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10413
10414 2015-11-30 Pedro Alves <palves@redhat.com>
10415
10416 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10417 Handle non-stop mode vCont replies.
10418
10419 2015-11-30 Pedro Alves <palves@redhat.com>
10420
10421 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10422 prepare_for_testing. Start gdb with "set non-stop on" appended to
10423 GDBFLAGS. Lax expected stop output.
10424
10425 2015-11-27 Yao Qi <yao.qi@linaro.org>
10426
10427 * gdb.arch/arm-neon.exp: New.
10428 * gdb.arch/arm-neon.c: New.
10429
10430 2015-11-27 Yao Qi <yao.qi@linaro.org>
10431
10432 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10433
10434 2015-11-27 Yao Qi <yao.qi@linaro.org>
10435
10436 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10437 frames-invalid annotation.
10438
10439 2015-11-27 Yao Qi <yao.qi@linaro.org>
10440
10441 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10442
10443 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10444
10445 * gdb.threads/names.exp: New file.
10446 * gdb.threads/names.c: New file.
10447 * README: Mention gdb,no_thread_names.
10448
10449 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10450
10451 PR 19297
10452 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10453 support" error.
10454
10455 2015-11-24 Pedro Alves <palves@redhat.com>
10456
10457 PR 17539
10458 * gdb.base/display.exp: Expect displays to be sorted in ascending
10459 order. Use multi_line.
10460 * gdb.base/solib-display.exp: Likewise.
10461
10462 2015-11-24 Pedro Alves <palves@redhat.com>
10463
10464 PR 17539
10465 * gdb.base/display.exp: Expect displays to be sorted in ascending
10466 order. Use multi_line.
10467 * gdb.base/solib-display.exp: Likewise.
10468
10469 2015-11-24 Pedro Alves <palves@redhat.com>
10470
10471 PR 17539
10472 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10473 threads in ascending order.
10474 * gdb.base/foll-fork.exp: Likewise.
10475 * gdb.base/foll-vfork.exp: Likewise.
10476 * gdb.base/multi-forks.exp: Likewise.
10477 * gdb.mi/mi-nonstop.exp: Likewise.
10478 * gdb.mi/mi-nsintrall.exp: Likewise.
10479 * gdb.multi/base.exp: Likewise.
10480 * gdb.multi/multi-arch.exp: Likewise.
10481 * gdb.python/py-inferior.exp: Likewise.
10482 * gdb.threads/break-while-running.exp: Likewise.
10483 * gdb.threads/execl.exp: Likewise.
10484 * gdb.threads/gcore-thread.exp: Likewise.
10485 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10486 * gdb.threads/kill.exp: Likewise.
10487 * gdb.threads/linux-dp.exp: Likewise.
10488 * gdb.threads/multiple-step-overs.exp: Likewise.
10489 * gdb.threads/next-bp-other-thread.exp: Likewise.
10490 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10491 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10492 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10493 * gdb.threads/thread-find.exp: Likewise.
10494 * gdb.threads/tls.exp: Likewise.
10495 * lib/mi-support.exp (mi_reverse_list): Delete.
10496 (mi_check_thread_states): No longer reverse list.
10497
10498 2015-11-24 Pedro Alves <palves@redhat.com>
10499
10500 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10501 use lowercase.
10502
10503 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10504
10505 * gdb.trace/actions.c: Include trace-common.h.
10506 (main): Add a location for a fast tracepoint.
10507 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10508 the normal tracepoints.
10509 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10510
10511 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10512
10513 * save-trace.exp: Factor out code to these...
10514 (gdb_save_tracepoints): New.
10515 (gdb_load_tracepoints): New.
10516 (do_save_load_test): New.
10517
10518 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10519
10520 * gdb.base/asmlabel.exp: New test.
10521 * gdb.base/asmlabel.c: New test case.
10522
10523 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10524
10525 * gdb.base/wrong_frame_bt_full-main.c: New file.
10526 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10527 * gdb.base/wrong_frame_bt_full.exp: New file.
10528
10529 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10530
10531 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10532
10533 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10534
10535 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10536 pstate register when comparing registers values in
10537 sparc64-*-linux-gnu targets to avoid spurious differences.
10538
10539 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10540
10541 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10542
10543 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10544
10545 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10546 as type argument to gdb_compile.
10547 * gdb.base/nested-subp2.exp: Likewise.
10548 * gdb.base/nested-subp3.exp: Likewise.
10549
10550 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10551
10552 * lib/dwarf.exp (_note): Fix left shift of negative value.
10553 * gdb.trace/trace-condition.exp: Likewise.
10554
10555 2015-11-13 Yao Qi <yao.qi@linaro.org>
10556
10557 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10558 comments about d10v.
10559 (test_scalar_returns): Likewise.
10560 * gdb.base/d10v.ld: Remove.
10561 * gdb.base/overlays.exp: Remove the target triplet checking for
10562 d10v-*-*.
10563 * gdb.base/structs.exp (test_struct_returns): Remove the
10564 comments about d10v.
10565 (test_struct_calls): Likewise.
10566
10567 2015-11-13 Yao Qi <yao.qi@linaro.org>
10568
10569 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10570 * gdb.base/gnu_vector.c: Don't include stdio.h.
10571 (main): Don't print res and call add_some_intvecs.
10572
10573 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10574
10575 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10576 macro.
10577 (func5): Removed.
10578 (func4): Use FAST_TRACEPOINT_LABEL.
10579 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10580 macro.
10581 (func): Removed.
10582 (thread_function): Use FAST_TRACEPOINT_LABEL.
10583 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10584 (func): Remove.
10585 (marker): Use FAST_TRACEPOINT_LABEL.
10586 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10587 (pendfunc1): Remove.
10588 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10589 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10590 (foo): Remove.
10591 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10592 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10593 macro.
10594 (func): Remove.
10595 (marker): Use FAST_TRACEPOINT_LABEL.
10596 * gdb.trace/trace-common.h: New header.
10597 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10598 macro.
10599 (func): Remove.
10600 (marker): Use FAST_TRACEPOINT_LABEL.
10601 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10602 (func): Remove.
10603 (thread_function): Use FAST_TRACEPOINT_LABEL.
10604
10605 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10606
10607 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10608 in front.
10609 * gdb.trace/change-loc.exp: Use global pcreg definition.
10610 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10611 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10612 in front.
10613 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10614 * gdb.trace/pending.exp: Likewise.
10615 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10616 * gdb.trace/trace-break.exp: Likewise.
10617 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10618 in front.
10619 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10620 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10621 in front.
10622 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10623
10624 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10625
10626 * gdb.ada/fin_fun_out: New testcase.
10627
10628 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10629
10630 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10631 value associated with DW_AT_byte_size.
10632 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10633 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10634 DW_AT_upper_bound.
10635
10636 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10637
10638 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10639 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10640 version.
10641 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10642 gdb.dwarf2/dw2-canonicalize-type.exp,
10643 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10644 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10645 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10646 provided by gdb_target_symbol_prefix_flags_asm.
10647 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10648 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10649 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10650 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10651 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10652 macros where needed). Use this macro for symbols which require
10653 the prefix provided by SYMBOL_PREFIX.
10654
10655 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10656
10657 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10658 New procs.
10659 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10660 representing expressions, of more than one list element.
10661 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10662 to prepend linker symbol prefix to f.
10663 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10664 table_1 and table_2.
10665 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10666 Likewise, for f and g.
10667 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10668 for ptr.
10669 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10670 for main.
10671 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10672 table_1_ptr and table_2_ptr.
10673
10674 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10675 Joel Brobecker <brobecker@adacore.com>
10676
10677 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10678
10679 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10680
10681 * gdb.reverse/s390-mvcle.c: New test.
10682 * gdb.reverse/s390-mvcle.exp: New file.
10683 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10684
10685 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10686
10687 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10688
10689 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10690
10691 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10692 reaching marker2.
10693 * gdb.reverse/getresuid-reverse.exp: Likewise.
10694 * gdb.reverse/pipe-reverse.exp: Likewise.
10695 * gdb.reverse/readv-reverse.exp: Likewise.
10696 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10697 * gdb.reverse/time-reverse.exp: Likewise.
10698 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10699
10700 2015-10-30 Yao Qi <yao.qi@linaro.org>
10701
10702 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10703 (empty_cycle): Remove.
10704 (main): Don't call empty_cycle. Don't use watch_count_done.
10705 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10706 empty_cycle. Rewrite the code counting HW watchpoints.
10707
10708 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10709
10710 * gdb.reverse/fstatat-reverse.c: New test.
10711 * gdb.reverse/fstatat-reverse.exp: New file.
10712 * gdb.reverse/getresuid-reverse.c: New test.
10713 * gdb.reverse/getresuid-reverse.exp: New file.
10714 * gdb.reverse/pipe-reverse.c: New test.
10715 * gdb.reverse/pipe-reverse.exp: New file.
10716 * gdb.reverse/readv-reverse.c: New test.
10717 * gdb.reverse/readv-reverse.exp: New file.
10718 * gdb.reverse/recvmsg-reverse.c: New test.
10719 * gdb.reverse/recvmsg-reverse.exp: New file.
10720 * gdb.reverse/time-reverse.c: New test.
10721 * gdb.reverse/time-reverse.exp: New file.
10722 * gdb.reverse/waitpid-reverse.c: New test.
10723 * gdb.reverse/waitpid-reverse.exp: New file.
10724
10725 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10726
10727 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10728
10729 2015-10-26 Doug Evans <dje@google.com>
10730
10731 PR symtab/17391
10732 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10733 * gdb.dwarf2/bad-regnum.c: New file.
10734 * gdb.dwarf2/bad-regnum.exp: New file.
10735
10736 2015-10-26 Doug Evans <dje@google.com>
10737
10738 PR python/18938
10739 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10740 file.
10741
10742 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10743
10744 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10745 for a change by "Mention language in compile error message".
10746
10747 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10748
10749 PR python/18073
10750 * gdb.python/py-type.c (C::a_method): New.
10751 (C::a_const_method): New.
10752 (C::a_static_method): New.
10753 (a_function): New.
10754 * gdb.python/py-type.exp (test_fields): Test getting fields
10755 from function and method.
10756
10757 2015-10-21 Keven Boell <keven.boell@intel.com>
10758
10759 * gdb.fortran/vla-alloc-assoc.exp: New file.
10760 * gdb.fortran/vla-datatypes.exp: New file.
10761 * gdb.fortran/vla-datatypes.f90: New file.
10762 * gdb.fortran/vla-history.exp: New file.
10763 * gdb.fortran/vla-ptype-sub.exp: New file.
10764 * gdb.fortran/vla-ptype.exp: New file.
10765 * gdb.fortran/vla-sizeof.exp: New file.
10766 * gdb.fortran/vla-sub.f90: New file.
10767 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10768 * gdb.fortran/vla-value-sub-finish.exp: New file.
10769 * gdb.fortran/vla-value-sub.exp: New file.
10770 * gdb.fortran/vla-value.exp: New file.
10771 * gdb.fortran/vla-ptr-info.exp: New file.
10772 * gdb.mi/mi-vla-fortran.exp: New file.
10773 * gdb.mi/vla.f90: New file.
10774
10775 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10776
10777 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10778 of hardwired timeout value.
10779
10780 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10781 Pedro Alves <palves@redhat.com>
10782
10783 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10784 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10785
10786 2015-10-19 Josh Stone <jistone@redhat.com>
10787
10788 * gdb.base/catch-syscall.c: Include <sched.h>.
10789 (unknown_syscall): New variable.
10790 (main): Trigger a vfork and an unknown syscall.
10791 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10792 (unknown_syscall_number): Likewise.
10793 (check_call_to_syscall): Accept an optional syscall pattern.
10794 (check_return_from_syscall): Likewise.
10795 (check_continue): Likewise.
10796 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10797 (test_catch_syscall_skipping_return): New test toggling off 'catch
10798 syscall' to step over the syscall return, then toggling back on.
10799 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10800 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10801 (do_syscall_tests): Call test_catch_syscall_without_args and
10802 test_catch_syscall_mid_vfork.
10803 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10804 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10805
10806 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10807
10808 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10809 print g_vE): Add new pass patterns.
10810 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10811 print various symbol names for vptr fields.
10812
10813 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10814
10815 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10816 results.
10817
10818 2015-10-12 Yao Qi <yao.qi@linaro.org>
10819
10820 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10821
10822 2015-10-12 Yao Qi <yao.qi@linaro.org>
10823
10824 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10825 is aarch64*-*-linux*.
10826
10827 2015-10-12 Yao Qi <yao.qi@linaro.org>
10828
10829 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10830 (can_relocate_bcond_true): ... it.
10831 (can_relocate_bcond_false): New function.
10832 (foo): Likewise.
10833 (can_relocate_bl): Likewise.
10834 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10835 can_relocate_bl.
10836
10837 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10838
10839 * gdb.base/nested-addr.c: New file.
10840 * gdb.base/nested-addr.exp: New testcase.
10841
10842 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10843
10844 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10845 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10846 its output. Ignore the output of "record goto begin" and instead
10847 check that GDB is replaying.
10848
10849 2015-10-09 Pedro Alves <palves@redhat.com>
10850
10851 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10852 (top level): Use it in the run with no args test.
10853
10854 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10855
10856 * gdb.dlang/properties.exp: New file.
10857
10858 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10859
10860 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10861 whether or not address 0x1000 is mapped on the target.
10862
10863 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10864
10865 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10866 build.
10867
10868 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10869
10870 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10871 instruction-history test.
10872
10873 2015-09-28 Doug Evans <dje@google.com>
10874
10875 * gdb.base/gcore.c (array_func): Add reference to static_array.
10876
10877 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10878
10879 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10880 source line.
10881
10882 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10883
10884 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10885 short or char as base type.
10886
10887 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10888
10889 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10890 to allow any size enum.
10891
10892 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10893
10894 * gdb.ada/array_ptr_renaming.exp: New testcase.
10895 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10896 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10897
10898 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10899
10900 * gdb.trace/ftrace-lock.c: New file.
10901 * gdb.trace/ftrace-lock.exp: New file.
10902
10903 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10904
10905 * gdb.arch/insn-reloc.c: New file.
10906 * gdb.arch/ftrace-insn-reloc.exp: New file.
10907
10908 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10909
10910 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10911 instruction.
10912 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10913 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10914 * gdb.trace/range-stepping.c: Likewise.
10915 * gdb.trace/trace-break.c: Likewise.
10916 * gdb.trace/trace-mt.c (thread_function): Likewise.
10917 * gdb.trace/ftrace.c (marker): Likewise.
10918 * gdb.trace/trace-condition.c (marker): Likewise.
10919 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10920 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10921 is_aarch64_target.
10922
10923 2015-09-18 Doug Evans <xdje42@gmail.com>
10924
10925 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10926 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10927
10928 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10929
10930 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10931 the breakpoint.
10932
10933 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10934
10935 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10936 the pending breakpoint. Remove timeout override for "Run till
10937 MI pending breakpoint on pendfunc3 on thread 2" test.
10938
10939 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10940
10941 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10942 filename pattern.
10943
10944 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10945
10946 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10947 in breakpoint filename pattern.
10948
10949 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10950
10951 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10952
10953 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10954
10955 * gdb.linespec/explicit.exp: Check for readline support for
10956 tab-completion tests. Fix obvious typo.
10957
10958 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10959
10960 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10961 and replay.
10962
10963 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10964
10965 * gdb.btrace/non-stop.c: New.
10966 * gdb.btrace/non-stop.exp: New.
10967
10968 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10969 Yao Qi <yao.qi@linaro.org>
10970
10971 * gdb.trace/trace-condition.c: New file.
10972 * gdb.trace/trace-condition.exp: New file.
10973
10974 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10975
10976 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10977 for testing bytecode compilation.
10978
10979 2015-09-16 Pedro Alves <palves@redhat.com>
10980 Sandra Loosemore <sandra@codesourcery.com>
10981
10982 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10983 (SECONDS): Redefine.
10984 (main): Call pthread_kill and alarm early.
10985 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10986 support.
10987 (test): If the target can't hardware step and doesn't support
10988 displaced stepping, increase the timeout.
10989
10990 2015-09-16 Pedro Alves <palves@redhat.com>
10991
10992 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10993 (enable_debug): New procedures.
10994 (test): Use them. Bail out if waiting for threads fails.
10995 (top level): Bail out if a test fails.
10996
10997 2015-09-16 Yao Qi <yao.qi@linaro.org>
10998
10999 * gdb.asm/asm-source.exp: Set asm-arch for
11000 aarch64*-*-* target.
11001 * gdb.asm/aarch64.inc: New file.
11002
11003 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11004
11005 * gdb.ada/array_of_variable_length.exp: New testcase.
11006 * gdb.ada/array_of_variable_length/foo.adb: New file.
11007 * gdb.ada/array_of_variable_length/pck.adb: New file.
11008 * gdb.ada/array_of_variable_length/pck.ads: New file.
11009
11010 2015-09-15 Doug Evans <dje@google.com>
11011
11012 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11013 of function static local variable.
11014
11015 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11016
11017 * gdb.threads/tls-so_extern.exp: New test file.
11018 * gdb.threads/tls-so_extern.c: New test file.
11019 * gdb.threads/tls-so_extern_main.c: New test file.
11020
11021 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11022
11023 * gdb.opt/solib-intra-step-lib.c: New file.
11024 * gdb.opt/solib-intra-step-main.c: New file.
11025 * gdb.opt/solib-intra-step.exp: New file.
11026
11027 2015-09-15 Pedro Alves <palves@redhat.com>
11028
11029 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11030 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11031
11032 2015-09-14 Pedro Alves <palves@redhat.com>
11033
11034 * gdb.base/hook-stop-continue.c: Delete.
11035 * gdb.base/hook-stop-continue.exp: Delete.
11036 * gdb.base/hook-stop-frame.c: Delete.
11037 * gdb.base/hook-stop-frame.exp: Delete.
11038 * gdb.base/hook-stop.c: New file.
11039 * gdb.base/hook-stop.exp: New file.
11040
11041 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11042
11043 * gdb.ada/access_to_packed_array.exp: New testcase.
11044 * gdb.ada/access_to_packed_array/foo.adb: New file.
11045 * gdb.ada/access_to_packed_array/pack.adb: New file.
11046 * gdb.ada/access_to_packed_array/pack.ads: New file.
11047
11048 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11049
11050 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11051 buffer size test.
11052
11053 2015-09-11 Don Breazeal <donb@codesourcery.com>
11054
11055 * gdb.base/foll-exec.c: Add copyright header. Fix
11056 formatting issues.
11057 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11058 (do_exec_tests): Use clean_restart in place of zap_session,
11059 and for test initialization. Fix formatting issues. Use
11060 fail in place of perror.
11061 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11062 an expect statement to match an expression with output from
11063 the program under debug.
11064 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11065 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11066 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11067 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11068 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11069
11070 2015-09-09 Doug Evans <dje@google.com>
11071
11072 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11073
11074 2015-09-09 Doug Evans <dje@google.com>
11075
11076 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11077
11078 2015-09-09 Doug Evans <dje@google.com>
11079
11080 * gdb.base/savedregs.exp: Fix typo.
11081
11082 2015-09-09 Pedro Alves <palves@redhat.com>
11083
11084 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11085
11086 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11087
11088 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11089 command actually switches threads. Give up on remaining
11090 tests if target fails to stop at breakpoint.
11091
11092 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11093
11094 * gdb.ada/funcall_char.exp: New testcase.
11095 * gdb.ada/funcall_char/foo.adb: New file.
11096
11097 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11098
11099 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11100 expected outputs. Add two testcases for completing ambiguous
11101 functions.
11102 * gdb.ada/complete/aux_pck.adb: New file.
11103 * gdb.ada/complete/aux_pck.ads: New file.
11104 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11105 Ambiguous_Func functions.
11106 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11107 * gdb.ada/complete/pck.adb: Likewise.
11108
11109 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11110
11111 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11112 failures to run the test program under GDB.
11113
11114 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11115
11116 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11117 to C.
11118
11119 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11120
11121 * gdb.base/run-after-attach.exp: New test file.
11122 * gdb.base/run-after-attach.c: New test file.
11123
11124 2015-08-26 Don Breazeal <donb@codesourcery.com>
11125
11126 * gdb.base/foll-exec-2.c: New test program.
11127 * gdb.base/foll-exec-2.exp: New test.
11128
11129 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11130
11131 * gdb.base/nested-subp1.exp: New file.
11132 * gdb.base/nested-subp1.c: New file.
11133 * gdb.base/nested-subp2.exp: New file.
11134 * gdb.base/nested-subp2.c: New file.
11135 * gdb.base/nested-subp3.exp: New file.
11136 * gdb.base/nested-subp3.c: New file.
11137
11138 2015-08-24 Pedro Alves <palves@redhat.com>
11139
11140 * gdb.server/connect-without-multi-process.c: New file.
11141 * gdb.server/connect-without-multi-process.exp: New file.
11142
11143 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11144
11145 * gdb.opt/inline-markers.c: Make z int.
11146
11147 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11148
11149 * gdb.opt/inline-markers.c: Make z volatile.
11150
11151 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11152
11153 * gdb.opt/inline-bt.c: New volatile global z.
11154 * gdb.opt/inline-cmds.c: Likewise.
11155 * gdb.opt/inline-locals.c: Likewise.
11156 * gdb.opt/inline-markers.c: New extern global z.
11157 (marker): Use z.
11158 (inline_fn): Likewise.
11159
11160 2015-08-24 Pedro Alves <palves@redhat.com>
11161
11162 * config/m32r-stub.exp: Remove file.
11163 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11164 * gdb.base/call-rt-st.exp: Likewise.
11165 * gdb.base/call-strs.exp: Likewise.
11166 * gdb.base/default.exp: Remove references to h8300-*-hms and
11167 *-*-udi*.
11168 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11169
11170 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11171
11172 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11173 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11174 and "return" use KFAIL when GDB can not read/write the vector
11175 return value.
11176
11177 2015-08-21 Gary Benson <gbenson@redhat.com>
11178
11179 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11180
11181 2015-08-20 Pedro Alves <palves@redhat.com>
11182
11183 * gdb.server/solib-list.exp: No longer expect an interior stop in
11184 non-stop mode.
11185
11186 2015-08-20 Pedro Alves <palves@redhat.com>
11187
11188 * gdb.server/connect-stopped-target.c: New file.
11189 * gdb.server/connect-stopped-target.exp: New file.
11190
11191 2015-08-20 Pedro Alves <palves@redhat.com>
11192
11193 * gdb.dwarf2/comp-unit-lang.exp: New file.
11194 * gdb.dwarf2/comp-unit-lang.c: New file.
11195
11196 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11197
11198 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11199 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11200
11201 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11202
11203 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11204 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11205
11206 2015-08-18 Doug Evans <dje@google.com>
11207 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11208
11209 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11210 skip_python_tests. New arg prompt_regexp.
11211 (skip_python_tests): New function.
11212 * lib/mi-support.exp (mi_skip_python_tests): New function.
11213 * gdb.python/py-mi-objfile-gdb.py: New file.
11214 * gdb.python/py-mi-objfile.c: New file.
11215 * gdb.python/py-mi-objfile.exp: New file.
11216
11217 2015-08-17 Keith Seitz <keiths@redhat.com>
11218
11219 * gdb.linespec/explicit.exp: Move strace test from here ...
11220 * gdb.trace/strace.exp: ... to here.
11221
11222 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11223
11224 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11225 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11226
11227 2015-08-14 Doug Evans <xdje42@gmail.com>
11228
11229 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11230 inferior before selecting a new file.
11231
11232 2015-08-14 Doug Evans <xdje42@gmail.com>
11233
11234 * gdb.mi/mi-disassemble.exp: Update.
11235 * gdb.base/disasm-optim.S: New file.
11236 * gdb.base/disasm-optim.c: New file.
11237 * gdb.base/disasm-optim.h: New file.
11238 * gdb.base/disasm-optim.exp: New file.
11239
11240 2015-08-14 Keith Seitz <keiths@redhat.com>
11241
11242 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11243 "evaluated-by".
11244
11245 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11246
11247 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11248
11249 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11250
11251 * gdb.ada/fun_renaming.exp: New testcase.
11252 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11253 * gdb.ada/fun_renaming/pack.adb: New file.
11254 * gdb.ada/fun_renaming/pack.ads: New file.
11255
11256 2015-08-12 Keith Seitz <keiths@redhat.com>
11257
11258 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11259 gdb_get_line_number.
11260
11261 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11262
11263 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11264 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11265 gdb.base/dso2dso.exp: New files.
11266
11267 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11268 Pedro Alves <palves@redhat.com>
11269 Keith Seitz <keiths@redhat.com>
11270
11271 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11272 GDBFLAGS.
11273
11274 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11275
11276 * gdb.base/gdbhistsize-history.exp
11277 (test_histsize_history_setting): Use save_vars.
11278 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11279 Use save_vars.
11280 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11281 * gdb.base/readline.exp: Use save_vars.
11282
11283 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11284
11285 * lib/gdb.exp (save_vars): New proc.
11286
11287 2015-08-11 Keith Seitz <keiths@redhat.com>
11288
11289 * gdb.base/help.exp: Update help_breakpoint_text.
11290
11291 2015-08-11 Keith Seitz <keiths@redhat.com>
11292
11293 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11294 (at toplevel): Call test_explicit_breakpoints.
11295 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11296 breakpoints.
11297 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11298 breakpoint conditions, "-cond".
11299
11300 2015-08-11 Keith Seitz <keiths@redhat.com>
11301
11302 * gdb.linespec/3explicit.c: New file.
11303 * gdb.linespec/cpexplicit.cc: New file.
11304 * gdb.linespec/cpexplicit.exp: New file.
11305 * gdb.linespec/explicit.c: New file.
11306 * gdb.linespec/explicit.exp: New file.
11307 * gdb.linespec/explicit2.c: New file.
11308 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11309 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11310 before using in the matching pattern.
11311 Clarify that `prefix' is a regular expression.
11312
11313 2015-08-11 Keith Seitz <keiths@redhat.com>
11314
11315 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11316 test.
11317 Add tests for missing ",FMT" and ",".
11318
11319 2015-08-10 Doug Evans <dje@google.com>
11320 Keith Seitz <keiths@redhat.com>
11321
11322 PR gdb/17960
11323 * gdb.base/completion.exp: Add location completer tests.
11324
11325 2015-08-07 Pedro Alves <palves@redhat.com>
11326
11327 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11328 tests here.
11329 (top level): Run do_test with and without displaced stepping.
11330
11331 2015-08-07 Pedro Alves <palves@redhat.com>
11332
11333 * gdb.base/valgrind-disp-step.c: New file.
11334 * gdb.base/valgrind-disp-step.exp: New file.
11335
11336 2015-08-07 Pedro Alves <palves@redhat.com>
11337
11338 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11339 Delete function.
11340 (main): Add alarm. Run an infinite loop instead of calling
11341 wait_threads.
11342 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11343 comment.
11344 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11345 Delete function.
11346 (main): Add alarm. Run an infinite loop instead of calling
11347 wait_threads.
11348 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11349 comment.
11350
11351 2015-08-07 Pedro Alves <palves@redhat.com>
11352
11353 * gdb.base/checkpoint-ns.exp: New file.
11354 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11355 standard_testfile.
11356
11357 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11358
11359 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11360 * gdb.btrace/instruction_history.exp: Update.
11361 * gdb.btrace/tsx.exp: New.
11362 * gdb.btrace/tsx.c: New.
11363
11364 2015-08-06 Pedro Alves <palves@redhat.com>
11365
11366 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11367 increase timeout.
11368 * gdb.reverse/until-precsave.exp: Bump timeouts.
11369
11370 2015-08-06 Pedro Alves <palves@redhat.com>
11371
11372 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11373
11374 2015-08-06 Pedro Alves <palves@redhat.com>
11375
11376 PR gdb/18749
11377 * gdb.threads/process-dies-while-handling-bp.c: New file.
11378 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11379
11380 2015-08-06 Pedro Alves <palves@redhat.com>
11381
11382 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11383 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11384
11385 2015-08-05 Pedro Alves <palves@redhat.com>
11386
11387 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11388 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11389
11390 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11391
11392 * gdb.base/bp-permanent.exp: Report test as unsupported if
11393 the target cannot stop at the permanent breakpoint.
11394
11395 2015-08-03 Doug Evans <dje@google.com>
11396
11397 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11398 10000.
11399
11400 2015-08-03 Doug Evans <dje@google.com>
11401
11402 * Makefile.in (workers/%.worker, build-perf): New rule.
11403 (GDB_PERFTEST_MODE): New variable.
11404 (check-perf): Use it.
11405 (clean): Clean up gdb.perf parallel build subdirs.
11406 * lib/build-piece.exp: New file.
11407 * lib/gdb.exp (make_gdb_parallel_path): New function
11408 (standard_output_file, standard_temp_file): Call it.
11409 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11410 of $GDB_PARALLEL.
11411 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11412
11413 2015-08-03 Doug Evans <dje@google.com>
11414
11415 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11416 (LOG_FILE_NAME): New global.
11417 (TextReporter.__init__): Initialize self.txt_sum.
11418 (TextReporter.report): Add support for multiple data-points.
11419 Move report to perftest.sum, put raw data in perftest.log.
11420 (TextReporter.start): Open sum and log files.
11421 (TextReporter.end): Close sum and log files.
11422 * gdb.perf/lib/perftest/testresult.py
11423 (SingleStatisticTestResult.record): Handle multiple data-points.
11424
11425 2015-07-31 Pedro Alves <palves@redhat.com>
11426
11427 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11428 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11429 kill_wait_spawned_process instead of explicit "kill -9".
11430 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11431 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11432 kill_wait_spawned_process.
11433 * gdb.base/attach-twice.exp: Likewise.
11434 * gdb.base/attach.exp: Likewise.
11435 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11436 gdb_test_multiple.
11437 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11438 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11439 kill_wait_spawned_process.
11440 * gdb.base/valgrind-infcall.exp: Likewise.
11441 * gdb.multi/multi-attach.exp: Likewise.
11442 * gdb.python/py-prompt.exp: Likewise.
11443 * gdb.python/py-sync-interp.exp: Likewise.
11444 * gdb.server/ext-attach.exp: Likewise.
11445 * gdb.threads/attach-into-signal.exp (corefunc): Use
11446 spawn_wait_for_attach, spawn_id_get_pid and
11447 kill_wait_spawned_process.
11448 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11449 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11450 spawn_id_get_pid and kill_wait_spawned_process.
11451 * gdb.threads/attach-stopped.exp (corefunc): Use
11452 spawn_wait_for_attach, spawn_id_get_pid and
11453 kill_wait_spawned_process.
11454 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11455 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11456 kill_wait_spawned_process instead of explicit "kill -9".
11457 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11458 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11459 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11460 processes. Don't map cygwin/windows pids here. Now returns a
11461 spawn id list.
11462
11463 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11464
11465 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11466 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11467 correct patch.
11468
11469 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11470
11471 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11472
11473 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11474
11475 Reapply:
11476 2014-05-21 Mark Wielaard <mjw@redhat.com>
11477
11478 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11479
11480 2015-07-30 Pedro Alves <palves@redhat.com>
11481
11482 * linux-low.c (handle_extended_wait): Set the child's last
11483 reported status to TARGET_WAITKIND_STOPPED.
11484
11485 2015-07-30 Pedro Alves <palves@redhat.com>
11486
11487 PR threads/18600
11488 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11489 only shows inferior 1.
11490
11491 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11492 Pedro Alves <palves@redhat.com>
11493
11494 PR threads/18600
11495 * gdb.threads/fork-plus-threads.c: New file.
11496 * gdb.threads/fork-plus-threads.exp: New file.
11497
11498 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11499
11500 * gdb.base/batch-preserve-term-settings.exp
11501 (test_terminal_settings_preserved_after_cli_exit): Use
11502 send_quit_command.
11503
11504 2015-07-29 Pedro Alves <palves@redhat.com>
11505 Don Breazeal <donb@codesourcery.com>
11506
11507 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11508 output from both inferior_spawn_id and gdb_spawn_id.
11509
11510 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11511
11512 * gdb.threads/attach-into-signal.exp (corefunc): Use
11513 with_test_prefix on nested loops, uniquefying the test messages.
11514
11515 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11516
11517 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11518 commit.
11519
11520 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11521
11522 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11523 New proc.
11524 (test_terminal_settings_preserved_after_sigterm): New test.
11525
11526 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11527
11528 * gdb.base/batch-preserve-term-settings.exp
11529 (test_terminal_settings_preserved_after_cli_exit): New test.
11530
11531 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11532
11533 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11534 manipulation of saved_gdbflags.
11535 (test_terminal_settings_preserved): Remove global declaration of
11536 the unused variable pagination_prompt. Remove manipulation of
11537 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11538 GDBFLAGS.
11539
11540 2015-07-29 Pedro Alves <palves@redhat.com>
11541
11542 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11543
11544 2015-07-29 Pedro Alves <palves@redhat.com>
11545
11546 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11547 at the top.
11548
11549 2015-07-29 Pedro Alves <palves@redhat.com>
11550
11551 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11552 (main): Call gdb_unbuffer_output.
11553 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11554 (main): Call gdb_unbuffer_output.
11555 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11556 (main): Call gdb_unbuffer_output.
11557 * gdb.base/call-strs.exp: Adjust to step over the
11558 gdb_unbuffer_output call.
11559 * gdb.base/catch-gdb-caused-signals.c: Include
11560 "../lib/unbuffer_output.c".
11561 (main): Call gdb_unbuffer_output.
11562 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11563 (main): Call gdb_unbuffer_output.
11564 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11565 (main): Call gdb_unbuffer_output.
11566 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11567 (main): Call gdb_unbuffer_output.
11568 * gdb.base/shlib-call.exp: Adjust to step over the
11569 gdb_unbuffer_output call.
11570 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11571 (main): Call gdb_unbuffer_output.
11572 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11573 (main): Call gdb_unbuffer_output.
11574 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11575 (main): Rename to ...
11576 (test): ... this.
11577 (main): Reimplement.
11578 * gdb.base/varargs.exp: Run to test instead of to main.
11579 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11580 (main): Call gdb_unbuffer_output.
11581
11582 2015-07-29 Pedro Alves <palves@redhat.com>
11583
11584 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11585 factore out from mi_continue_dprintf. For call-style dprintfs,
11586 expect dprintf output out of $inferior_spawn_id.
11587 (mi_continue_dprintf): Use mi_expect_dprintf.
11588 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11589 (main): Call gdb_unbuffer_output.
11590
11591 2015-07-29 Pedro Alves <palves@redhat.com>
11592
11593 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11594 (default_mi_gdb_start): Set inferior_spawn_id instead of
11595 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11596 gdb_spawn_id.
11597 (mi_gdb_test): Always expect inferior output from both
11598 $inferior_spawn_id and $gdb_spawn_id.
11599
11600 2015-07-29 Pedro Alves <palves@redhat.com>
11601
11602 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11603 send_inferior and $inferior_spawn_id.
11604
11605 2015-07-29 Pedro Alves <palves@redhat.com>
11606
11607 * gdb.gdb/complaints.exp (test_initial_complaints)
11608 (test_serial_complaints, test_short_complaints): Use
11609 gdb_test_stdio.
11610 (test_empty_complaint): Handle $inferior_spawn_id !=
11611 $gdb_spawn_id.
11612
11613 2015-07-29 Pedro Alves <palves@redhat.com>
11614
11615 * gdb.base/varargs.exp: Use gdb_test_stdio.
11616
11617 2015-07-29 Pedro Alves <palves@redhat.com>
11618
11619 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11620
11621 2015-07-29 Pedro Alves <palves@redhat.com>
11622
11623 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11624
11625 2015-07-29 Pedro Alves <palves@redhat.com>
11626
11627 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11628 parameter into two new parameters, "inf_result" and "gdb_result".
11629 Expect inferior output and gdb output from $inferior_spawn_id and
11630 $gdb_spawn_id, respectively. Adjust all callers.
11631
11632 2015-07-29 Pedro Alves <palves@redhat.com>
11633
11634 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11635 of gdb_test_sequence.
11636
11637 2015-07-29 Pedro Alves <palves@redhat.com>
11638
11639 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11640 (saw_spurious_output): Expect inferior output from
11641 $inferior_spawn_id. Use gdb_test_stdio.
11642
11643 2015-07-29 Pedro Alves <palves@redhat.com>
11644
11645 * gdb.base/dprintf.exp: Use standard_testfile. Change
11646 prepare_for_testing call.
11647 (srcfile): Don't set.
11648 (restart): New procedure.
11649 (test_dprintf): New procecure, use to continue over dprintfs.
11650 (test_call, test_agent): New procedures, tests moved here.
11651 Restart gdb and recreate dprintfs. Adjust expected output.
11652
11653 2015-07-29 Pedro Alves <palves@redhat.com>
11654
11655 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11656
11657 2015-07-29 Pedro Alves <palves@redhat.com>
11658
11659 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11660
11661 2015-07-29 Pedro Alves <palves@redhat.com>
11662
11663 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11664 gdb_test_stdio.
11665
11666 2015-07-29 Pedro Alves <palves@redhat.com>
11667
11668 * lib/gdb.exp (gdb_test_stdio): New procedure.
11669
11670 2015-07-29 Pedro Alves <palves@redhat.com>
11671
11672 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11673
11674 2015-07-29 Pedro Alves <palves@redhat.com>
11675
11676 * gdb.base/call-signal-resume.exp: Remove check for
11677 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11678 * gdb.base/unwindonsignal.exp: Likewise.
11679 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11680 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11681
11682 2015-07-29 Pedro Alves <palves@redhat.com>
11683
11684 * gdb.base/siginfo-addr.c (pass): New function.
11685 (handler): Call it iff si_addr is correct.
11686 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11687 Set a breakpoint at "pass" and continue to it.
11688
11689 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11690
11691 * gdb.python/py-objfile.exp: Make some tests have unique names.
11692 * gdb.python/py-pp-registration.exp: Likewise.
11693
11694 2015-07-28 Pedro Alves <palves@redhat.com>
11695
11696 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11697
11698 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11699
11700 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11701
11702 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11703
11704 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11705
11706 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11707
11708 * gdb.base/gdb-sigterm-2.exp: New test.
11709
11710 2015-07-25 Doug Evans <xdje42@gmail.com>
11711
11712 Revert:
11713 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11714 (workers/%.worker, build-perf): New rule.
11715 (GDB_PERFTEST_MODE): New variable.
11716 (check-perf): Use it.
11717 (clean): Clean up gdb.perf parallel build subdirs.
11718 * lib/build-piece.exp: New file.
11719 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11720 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11721 name.
11722 (standard_temp_file): Ditto.
11723 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11724 of $GDB_PARALLEL.
11725
11726 2015-07-24 Doug Evans <dje@google.com>
11727
11728 * gdb.perf/lib/perftest/utils.py: New file.
11729 * gdb.perf/gm-hello.cc: New file.
11730 * gdb.perf/gm-pervasive-typedef.cc: New file.
11731 * gdb.perf/gm-pervasive-typedef.h: New file.
11732 * gdb.perf/gm-std.cc: New file.
11733 * gdb.perf/gm-std.h: New file.
11734 * gdb.perf/gm-use-cerr.cc: New file.
11735 * gdb.perf/gm-utils.h: New file.
11736 * gdb.perf/gmonster-null-lookup.py: New file.
11737 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11738 * gdb.perf/gmonster-print-cerr.py: New file.
11739 * gdb.perf/gmonster-ptype-string.py: New file.
11740 * gdb.perf/gmonster-runto-main.py: New file.
11741 * gdb.perf/gmonster-select-file.py: New file.
11742 * gdb.perf/gmonster1-null-lookup.exp: New file.
11743 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11744 * gdb.perf/gmonster1-print-cerr.exp: New file.
11745 * gdb.perf/gmonster1-ptype-string.exp: New file.
11746 * gdb.perf/gmonster1-runto-main.exp: New file.
11747 * gdb.perf/gmonster1-select-file.exp: New file.
11748 * gdb.perf/gmonster1.cc: New file.
11749 * gdb.perf/gmonster1.exp: New file.
11750 * gdb.perf/gmonster2-null-lookup.exp: New file.
11751 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11752 * gdb.perf/gmonster2-print-cerr.exp: New file.
11753 * gdb.perf/gmonster2-ptype-string.exp: New file.
11754 * gdb.perf/gmonster2-runto-main.exp: New file.
11755 * gdb.perf/gmonster2-select-file.exp: New file.
11756 * gdb.perf/gmonster2.cc: New file.
11757 * gdb.perf/gmonster2.exp: New file.
11758
11759 2015-07-24 Doug Evans <dje@google.com>
11760
11761 * gdb.perf/README: New file.
11762 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11763 * lib/gen-perf-test.exp: New file.
11764
11765 2015-07-24 Doug Evans <dje@google.com>
11766
11767 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11768 (PerfTest::startup): New function.
11769 (PerfTest::run): Return result of calling body.
11770 (PerfTest::assemble): Rewrite.
11771 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11772 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11773 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11774 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11775 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11776
11777 2015-07-24 Doug Evans <dje@google.com>
11778
11779 * lib/gdb.exp (clean_restart): Make executable optional.
11780
11781 2015-07-24 Doug Evans <dje@google.com>
11782
11783 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11784 compiler_info references.
11785 * gdb.cp/temargs.exp: Ditto.
11786 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11787 (get_compiler_info): Early exit if already computed. Set compiler_info
11788 to "unknown" if there was a problem.
11789 (test_compiler_info): Add function comment. Call get_compiler_info.
11790
11791 2015-07-24 Doug Evans <dje@google.com>
11792
11793 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11794 (workers/%.worker, build-perf): New rule.
11795 (GDB_PERFTEST_MODE): New variable.
11796 (check-perf): Use it.
11797 (clean): Clean up gdb.perf parallel build subdirs.
11798 * lib/build-piece.exp: New file.
11799 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11800 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11801 name.
11802 (standard_temp_file): Ditto.
11803 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11804 of $GDB_PARALLEL.
11805
11806 2015-07-24 Doug Evans <dje@google.com>
11807
11808 * lib/future.exp (gdb_default_target_compile): New option
11809 "early_flags".
11810 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11811 --as-needed.
11812
11813 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11814
11815 * gdb.base/catch-syscall.exp: Call gdb_exit before
11816 gdb_skip_xml_test.
11817
11818 2015-07-24 Pedro Alves <palves@redhat.com>
11819
11820 * gdb.python/py-events.exp: Accept output between the stop event
11821 and the prompt.
11822 * gdb.python/py-evsignal.exp: Likewise.
11823 * gdb.python/py-evthreads.exp: Likewise.
11824
11825 2015-07-24 Pedro Alves <palves@redhat.com>
11826
11827 PR gdb/18717
11828 * gdb.threads/non-ldr-exit.c: New file.
11829 * gdb.threads/non-ldr-exit.exp: New file.
11830
11831 2015-07-24 Yao Qi <yao.qi@linaro.org>
11832
11833 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11834 restarting process.
11835
11836 2015-07-24 Yao Qi <yao.qi@linaro.org>
11837
11838 * gdb.server/ext-restart.exp: New file.
11839
11840 2015-07-24 Yao Qi <yao.qi@linaro.org>
11841
11842 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11843 argument options.
11844 * gdb.server/ext-wrapper.exp: New file.
11845
11846 2015-07-23 Doug Evans <dje@google.com>
11847
11848 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11849 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11850
11851 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11852
11853 * gdb.ada/var_arr_typedef.exp: New testcase.
11854 * gdb.ada/var_arr_typedef/pack.adb: New file.
11855 * gdb.ada/var_arr_typedef/pack.ads: New file.
11856 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11857
11858 2015-07-20 Joel Brobecker <brobecker@adacore.com>
11859
11860 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11861
11862 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11863
11864 * gdb.arch/i386-biarch-core.exp: Replace istarget
11865 by "complete set gnutarget". Remove expectation for the "core-file"
11866 command.
11867
11868 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11869
11870 Revert the previous commit:
11871 Tests for validate symbol file using build-id.
11872
11873 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11874
11875 Tests for validate symbol file using build-id.
11876 * gdb.base/solib-mismatch-lib.c: New file.
11877 * gdb.base/solib-mismatch-libmod.c: New file.
11878 * gdb.base/solib-mismatch.c: New file.
11879 * gdb.base/solib-mismatch.exp: New file.
11880
11881 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11882
11883 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11884 nios2-*-linux*.
11885 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11886 * gdb.base/siginfo.exp: Likewise.
11887 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11888
11889 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11890
11891 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11892 Move it to ...
11893 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11894 ... here.
11895 * gdb.trace/range-stepping.exp: Check that the target supports
11896 range stepping.
11897
11898 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11899
11900 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11901
11902 2015-07-14 Pedro Alves <palves@redhat.com>
11903
11904 * gdb.base/killed-outside.exp: New file.
11905 * gdb.base/killed-outside.c: New file.
11906
11907 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11908
11909 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11910 (n at main): New.
11911 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11912
11913 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11914
11915 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11916 infcall tests instead of setting up for KFAIL.
11917
11918 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11919
11920 * gdb.btrace/record_goto-step.exp: New.
11921
11922 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11923
11924 PR compile/18484
11925 * gdb.compile/compile.c (struct struct_type): Add volatile to
11926 selffield's type.
11927 * gdb.compile/compile.exp
11928 (compile code struct_object.selffield = &struct_object): Skip further
11929 struct_object tests if this one xfails.
11930
11931 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11932
11933 PR exp/18617
11934 * gdb.trace/ax.exp: Add test.
11935
11936 2015-07-07 Yao Qi <yao.qi@linaro.org>
11937
11938 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11939 instead of istarget "aarch64*-*-*".
11940 * gdb.arch/aarch64-fp.exp: Likewise.
11941 * gdb.base/float.exp: Likewise.
11942 * gdb.reverse/aarch64.exp: Likewise.
11943 * lib/gdb.exp (is_aarch64_target): New proc.
11944
11945 2015-07-07 Yao Qi <yao.qi@linaro.org>
11946
11947 * lib/gdb.exp (is_aarch32_target): New proc.
11948 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11949 instead of "istarget "arm*-*-*"".
11950 * gdb.arch/arm-disp-step.exp: Likewise.
11951 * gdb.arch/thumb-bx-pc.exp: Likewise.
11952 * gdb.arch/thumb-prologue.exp: Likewise.
11953 * gdb.arch/thumb-singlestep.exp: Likewise.
11954 * gdb.base/disp-step-syscall.exp: Likewise.
11955 * gdb.base/float.exp: Likewise.
11956
11957 2015-07-07 Yao Qi <yao.qi@linaro.org>
11958
11959 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11960 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11961
11962 2015-07-07 Yao Qi <yao.qi@linaro.org>
11963
11964 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11965 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11966 if it exists.
11967 * gdb.multi/multi-arch.exp: Likewise.
11968
11969 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11970
11971 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11972 print.
11973
11974 2015-07-07 Yao Qi <yao.qi@linaro.org>
11975
11976 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11977
11978 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11979
11980 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11981 '[' and ']' characters.
11982
11983 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11984
11985 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11986
11987 2015-06-29 Pedro Alves <palves@redhat.com>
11988
11989 PR threads/18127
11990 * gdb.threads/hand-call-new-thread.c: New file.
11991 * gdb.threads/hand-call-new-thread.c: New file.
11992
11993 2015-06-26 Keith Seitz <keiths@redhat.com>
11994 Doug Evans <dje@google.com>
11995
11996 PR 16253
11997 * gdb.cp/var-tag-2.cc: New file.
11998 * gdb.cp/var-tag-3.cc: New file.
11999 * gdb.cp/var-tag-4.cc: New file.
12000 * gdb.cp/var-tag.cc: New file.
12001 * gdb.cp/var-tag.exp: New file.
12002
12003 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12004
12005 * gdb.base/history-duplicates.exp: New test.
12006
12007 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12008
12009 * gdb.base/completion.exp: Test the completion of the "focus"
12010 command.
12011
12012 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12013
12014 * gdb.arch/amd64-prologue-skip.S: New file.
12015 * gdb.arch/amd64-prologue-skip.exp: New file.
12016
12017 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12018
12019 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12020 is_address_zero_readable check.
12021
12022 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12023
12024 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12025 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12026
12027 2015-06-24 Yao Qi <yao.qi@linaro.org>
12028
12029 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12030 linux targets.
12031
12032 2015-06-24 Yao Qi <yao.qi@linaro.org>
12033
12034 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12035 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12036 * gdb.base/siginfo-thread.exp: Likewise.
12037
12038 2015-06-22 Yao Qi <yao.qi@linaro.org>
12039
12040 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12041
12042 2015-06-22 Yao Qi <yao.qi@linaro.org>
12043
12044 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12045 aarch64*-*-*.
12046 (skip_hw_watchpoint_tests): Likewise.
12047
12048 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12049
12050 * gdb.base/gdbinit-history.exp: Test the interaction between
12051 setting GDBHISTSIZE and setting the history size via .gdbinit.
12052
12053 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12054
12055 PR gdb/16999
12056 * gdb.base/gdbhistsize-history.exp: New test.
12057
12058 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12059
12060 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12061 with GDBHISTSIZE.
12062 * gdb.base/readline.exp: Likewise.
12063
12064 2015-06-17 Yao Qi <yao.qi@linaro.org>
12065
12066 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12067 line.
12068
12069 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12070
12071 * gdb.base/gdbinit-history.exp: Add test case to check that
12072 an unlimited history file does not get truncated on exit.
12073
12074 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12075
12076 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12077 (VECTOR): New macro. Use it...
12078 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12079 ...for these typedefs.
12080 (int8, char1, int1, double1): New typedefs.
12081 (struct just_int2, struct two_int2): New structures.
12082 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12083 (add_structvecs, add_singlevecs): New functions.
12084 (main): Call add_some_intvecs twice.
12085 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12086 the compile and exit upon failure. Try compiling for the "native"
12087 architecture. Test inferior function calls with vector arguments
12088 and vector return value handling with "finish" and "return".
12089
12090 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12091
12092 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12093 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12094 PE file.
12095 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12096
12097 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12098
12099 PR breakpoints/16465
12100 * gdb.mi/mi-dprintf-pending.c: New file.
12101 * gdb.mi/mi-dprintf-pending.exp: New test.
12102 * gdb.mi/mi-dprintf-pendshr.c: New file.
12103
12104 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12105 Mircea Gherzan <mircea.gherzan@intel.com>
12106
12107 * gdb.arch/i386-mpx-map.c: New file.
12108 * gdb.arch/i386-mpx-map.exp: New File.
12109
12110 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12111
12112 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12113 * gdb.arch/i386-mpx.exp: Indentation fixed.
12114
12115 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12116
12117 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12118 function and improved indentation.
12119 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12120 gdb_test_multiple. Added additional tests to skip the test.
12121
12122 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12123
12124 * gdb.arch/i386-avx512.c: Change path in include file.
12125 * gdb.arch/i386-avx512.exp: Change include dir path
12126 compilation flag.
12127 * gdb.arch/i386-mpx.c: Change path in include file.
12128 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12129 flag.
12130
12131 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12132
12133 * gdb.compile/compile-print.exp (compile print *vararray@3)
12134 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12135
12136 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12137
12138 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12139 (do not keep jit in memory): ... this.
12140 (expect 5): Change it to ...
12141 (expect no 5): ... this.
12142
12143 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12144
12145 PR gdb/15564
12146 * gdb.mi/mi-detach.exp: New file.
12147
12148 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12149
12150 PR symtab/18392
12151 * gdb.arch/amd64-tailcall-self.S: New file.
12152 * gdb.arch/amd64-tailcall-self.c: New file.
12153 * gdb.arch/amd64-tailcall-self.exp: New file.
12154
12155 2015-05-28 Don Breazeal <donb@codesourcery.com>
12156
12157 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12158 tests for remote targets by checking is_target_gdbserver.
12159
12160 2015-05-27 Doug Evans <dje@google.com>
12161
12162 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12163 * gdb.dwarf2/opaque-type-lookup.c: New file.
12164 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12165
12166 2015-05-26 Doug Evans <dje@google.com>
12167
12168 * gdb.cp/iostream.cc: New file.
12169 * gdb.cp/iostream.exp: New file.
12170
12171 2015-05-26 Doug Evans <dje@google.com>
12172
12173 * gdb.dwarf2/dw2-op-call.exp: Update.
12174 * gdb.dwarf2/dw4-sig-types.exp: Update.
12175 * gdb.dwarf2/implptr.exp: Update.
12176 * gdb.mi/mi-cmd-param-changed.exp: Update.
12177
12178 2015-05-26 Doug Evans <dje@google.com>
12179
12180 * gdb.python/py-lazy-string.c: New file.
12181 * gdb.python/py-lazy-string.exp: New file.
12182 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12183 (main): Update. Add estring3.
12184 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12185 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12186
12187 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12188 Yao Qi <yao.qi@linaro.org>
12189
12190 * gdb.reverse/aarch64.c: New.
12191 * gdb.reverse/aarch64.exp: New.
12192
12193 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12194
12195 * lib/gdb.exp (supports_process_record): Return true for
12196 aarch64*-linux*.
12197 (supports_reverse): Likewise.
12198
12199 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12200
12201 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12202 Use with_test_prefix.
12203
12204 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12205
12206 * gdb.base/completion.exp: Add test for completion of layout
12207 names.
12208
12209 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12210
12211 * lib/gdb.exp (skip_tui_tests): New proc.
12212 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12213
12214 2015-05-19 Pedro Alves <palves@redhat.com>
12215
12216 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12217 Save the whole env array instead of just HOME. Unset HISTSIZE in
12218 the environment while testing. Restore whole environment
12219 afterwards.
12220
12221 2015-05-16 Doug Evans <xdje42@gmail.com>
12222
12223 * gdb.guile/scm-ports.c: New file.
12224 * gdb.guile/scm-ports.exp: Add memory port tests.
12225
12226 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12227
12228 * gdb.compile/compile-print.c: New file.
12229 * gdb.compile/compile-print.exp: New file.
12230
12231 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12232
12233 * gdb.compile/compile-ops.exp: Cast param to void.
12234 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12235 (compile code struct_object.selffield = &struct_object): Add xfail.
12236
12237 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12238
12239 * gdb.ada/arr_enum_with_gap: New testcase.
12240
12241 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12242
12243 * gdb.ada/byte_packed_arr: New testcase.
12244
12245 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12246
12247 * gdb.ada/pckd_neg: New testcase.
12248
12249 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12250
12251 PR gdb/17820
12252 * gdb.base/gdbinit-history.exp: New test.
12253 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12254 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12255
12256 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12257
12258 * gdb.python/py-xmethods.cc: Enhance test case.
12259 * gdb.python/py-xmethods.exp: New tests.
12260 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12261 function.
12262 (B_indexoper): Likewise.
12263 (global_dm_list) : Add new xmethod worker functions.
12264
12265 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12266
12267 * gdb.base/coredump-filter.exp: Correctly unset
12268 "coredump_var_addr" array.
12269
12270 2015-05-08 Pedro Alves <palves@redhat.com>
12271
12272 * gdb.server/non-existing-program.exp: Unset spawn_id.
12273
12274 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12275
12276 PR python/18291
12277 * gdb.python/py-xmethods.exp: Add tests.
12278
12279 2015-05-08 Yao Qi <yao.qi@linaro.org>
12280
12281 PR gdb/18208
12282 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12283 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12284 function set_coredump_filter, and remove remote_exec call.
12285 Remove argument ipid. Callers update.
12286 (top level): Don't get inferior's PID.
12287
12288 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12289
12290 * gdb.base/watch_thread_num.exp: Skip test on targets without
12291 access watchpoints.
12292
12293 2015-05-06 Pedro Alves <palves@redhat.com>
12294
12295 PR server/18081
12296 * gdb.server/non-existing-program.exp: New file.
12297
12298 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12299
12300 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12301
12302 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12303
12304 * gdb.ada/out_of_line_in_inlined: New testcase.
12305
12306 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12307
12308 * gdb.ada/var_rec_arr: New testcase.
12309
12310 2015-04-30 Yao Qi <yao.qi@linaro.org>
12311
12312 * gdb.base/break-idempotent.exp: If
12313 skip_hw_watchpoint_multi_tests returns true, skip the tests
12314 on "rwatch" and "awatch".
12315
12316 2015-04-30 Yao Qi <yao.qi@linaro.org>
12317
12318 * gdb.base/relativedebug.exp: Invoke gdb command
12319 "info sharedlibrary", and if libc.so doesn't have debug info,
12320 skip the test.
12321
12322 2015-04-29 Doug Evans <dje@google.com>
12323
12324 * gdb.python/py-xmethods.exp: Add ptype tests.
12325 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12326 get_result_type method.
12327
12328 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12329
12330 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12331 the target does not support hardware watchpoints.
12332
12333 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12334
12335 * gdb.base/break-always.exp: Abort testing if writing to memory
12336 causes an error.
12337
12338 2015-04-28 Doug Evans <dje@google.com>
12339
12340 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12341 * gdb.python/py-pp-registration.exp: ... here. New file.
12342 * gdb.python/py-pp-registration.c: New file.
12343 * gdb.python/py-pp-registration.py: New file.
12344
12345 2015-04-28 Doug Evans <dje@google.com>
12346
12347 * gdb.python/py-bad-printers.c: New file.
12348 * gdb.python/py-bad-printers.py: New file.
12349 * gdb.python/py-bad-printers.exp: New file.
12350
12351 2015-04-28 Sasha Smundak <asmundak@google.com>
12352
12353 * gdb.python/py-type.exp: New test.
12354
12355 2015-04-28 Andy Wingo <wingo@igalia.com>
12356
12357 * gdb.python/py-parameter.exp:
12358 * gdb.guile/scm-parameter.exp: Escape the path that we are
12359 matching against, as it might contain characters that are special
12360 to regular expressions.
12361
12362 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12363
12364 * gdb.ada/rec_comp: New testcase.
12365
12366 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12367
12368 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12369 before using it.
12370
12371 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12372
12373 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12374 new tests for verilog output.
12375
12376 2015-04-24 Yao Qi <yao.qi@linaro.org>
12377
12378 * boards/remote-gdbserver-on-localhost.exp: New file.
12379
12380 2015-04-23 Pedro Alves <palves@redhat.com>
12381
12382 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12383 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12384 "end of file", remove $inferior_spawn_id from the indirect list.
12385
12386 2015-04-23 Pedro Alves <palves@redhat.com>
12387
12388 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12389
12390 2015-04-23 Pedro Alves <palves@redhat.com>
12391
12392 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12393 on $any_spawn_id instead of only on $gdb_spawn_id.
12394
12395 2015-04-21 Pierre Muller <muller@sourceware.org>
12396
12397 PR pascal/17815
12398 * lib/pascal.exp (gpc_compile): Add new option "class".
12399 (fpc_compile): Likewise.
12400 * gdb.pascal/case-insensitive-symbols.pas: New file.
12401 * gdb.pascal/case-insensitive-symbols.exp: New file.
12402
12403 2015-04-20 Gary Benson <gbenson@redhat.com>
12404
12405 * gdb.base/attach.exp: Fix three extended remote failures.
12406
12407 2015-04-17 Gary Benson <gbenson@redhat.com>
12408
12409 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12410 the main executable over the remote protocol.
12411
12412 2015-04-16 Pedro Alves <palves@redhat.com>
12413
12414 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12415 a new gdbserver if gdbserver_reconnect_p is set.
12416
12417 2015-04-16 Pedro Alves <palves@redhat.com>
12418
12419 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12420 is set, don't exit gdbserver.
12421
12422 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12423
12424 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12425 appropriate .insn, such that an older assembler can be used.
12426 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12427 the z/Architecture instruction set on 31-bit targets as well.
12428
12429 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12430
12431 * gdb.go/handcall.exp: Remove all logic related to the first
12432 breakpoint and rely on go_runto_main instead.
12433 * gdb.go/strings.exp: Likewise.
12434 * gdb.go/unsafe.exp: Likewise.
12435 * gdb.go/hello.exp: Likewise. Also rename the remaining
12436 breakpoint marker to "breakpoint 1".
12437 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12438 * gdb.go/strings.go: Likewise.
12439 * gdb.go/unsafe.go: Likewise.
12440 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12441 "set breakpoint 2 here" and rename the remaining breakpoint marker
12442 to "breakpoint 1".
12443
12444 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12445
12446 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12447 if itertools.imap is not present.
12448 * gdb.python/py-objfile.exp: Add parentheses.
12449 * gdb.python/py-type.exp: Same.
12450 * gdb.python/py-unwind-maint.py: Same.
12451
12452 2015-04-15 Yao Qi <yao.qi@linaro.org>
12453
12454 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12455 of ":$ptr_size" and set its form explicitly.
12456
12457 2015-04-15 Pedro Alves <palves@redhat.com>
12458 Yao Qi <yao.qi@linaro.org>
12459
12460 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12461 timeout by factor of 4.
12462 (test_regular_watch): Likewise.
12463 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12464 * gdb.reverse/sigall-reverse.exp: Likewise.
12465 * gdb.reverse/until-precsave.exp: Likewise.
12466 * lib/gdb.exp (with_timeout_factor): New proc.
12467 (gdb_expect): Move some code to ...
12468 (get_largest_timeout): ... here. New procedure.
12469
12470 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12471
12472 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12473
12474 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12475
12476 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12477 to write to the .text section.
12478
12479 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12480
12481 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12482 Handle the case of targets that do not provide PID information.
12483
12484 2015-04-13 Yao Qi <yao.qi@linaro.org>
12485
12486 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12487 and use expect instead of gdb_expect.
12488
12489 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12490
12491 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12492 "coredump_var_addr" to avoid naming conflict with other testcases.
12493
12494 2015-04-10 Pedro Alves <palves@redhat.com>
12495
12496 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12497 gdb_test_sequence and gdb_assert.
12498
12499 2015-04-10 Pedro Alves <palves@redhat.com>
12500
12501 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12502 test messages that don't include the breakpoint address.
12503
12504 2015-04-10 Yao Qi <yao.qi@linaro.org>
12505
12506 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12507 false for some offset and width combinations which aren't
12508 supported by linux kernel.
12509
12510 2015-04-10 Pedro Alves <palves@redhat.com>
12511
12512 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12513 procedure, factored out from ...
12514 (top level): ... here. Add "set displaced-stepping" testing axis.
12515 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12516 parameter "displaced". Use it.
12517 (top level): Use foreach and add "set displaced-stepping" testing
12518 axis.
12519
12520 2015-04-10 Pedro Alves <palves@redhat.com>
12521
12522 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12523 Remove comment.
12524 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12525 both the address of the instruction that triggers the watchpoint
12526 and the address of the instruction immediately after, and use
12527 those addresses for the test. Fix comment.
12528
12529 2015-04-10 Pedro Alves <palves@redhat.com>
12530
12531 * gdb.base/sigstep.exp (breakpoint_to_handler)
12532 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12533 Test "backtrace" in handler.
12534 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12535 (top level): Add new "displaced" test axis to
12536 breakpoint_to_handler, breakpoint_to_handler_entry and
12537 breakpoint_over_handler.
12538
12539 2015-04-10 Pedro Alves <palves@redhat.com>
12540
12541 PR gdb/18216
12542 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12543
12544 2015-04-10 Yao Qi <yao.qi@linaro.org>
12545
12546 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12547 (test_add_rn_pc): New function.
12548 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12549 (top level): Invoke test_add_rn_pc.
12550
12551 2015-04-10 Pedro Alves <palves@redhat.com>
12552
12553 PR gdb/13858
12554 * gdb.base/step-over-no-symbols.exp: New file.
12555
12556 2015-04-09 Andy Wingo <wingo@igalia.com>
12557
12558 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12559 after the Python tests.
12560
12561 2015-04-08 Keith Seitz <keiths@redhat.com>
12562
12563 PR python/16699
12564 * gdb.python/py-completion.exp: New tests for completion.
12565 * gdb.python/py-completion.py (CompleteLimit1): New class.
12566 (CompleteLimit2): Likewise.
12567 (CompleteLimit3): Likewise.
12568 (CompleteLimit4): Likewise.
12569 (CompleteLimit5): Likewise.
12570 (CompleteLimit6): Likewise.
12571 (CompleteLimit7): Likewise.
12572
12573 2015-04-08 Pedro Alves <palves@redhat.com>
12574
12575 PR gdb/18214
12576 PR gdb/18216
12577 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12578 function.
12579 (main): Install it as SIGUSR1 handler.
12580 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12581 parameter. Always use "setup" as prefix. Toggle "set
12582 displaced-stepping" off/on depending on global. Don't switch to
12583 thread 1 here.
12584 (top level): Add displaced stepping "off/on" test axis. Update
12585 "setup" calls. Wrap each subtest with with_test_prefix. Test
12586 continuing with a queued signal in each thread.
12587
12588 2015-04-08 Pedro Alves <palves@redhat.com>
12589
12590 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12591 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12592 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12593 Return early if running to main fails.
12594 * gdb.trace/while-stepping.exp: Likewise.
12595
12596 2015-04-07 Pedro Alves <palves@redhat.com>
12597
12598 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12599 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12600 interact with inferior program.
12601
12602 2015-04-07 Pedro Alves <palves@redhat.com>
12603
12604 * lib/gdb.exp (inferior_spawn_id): New global.
12605 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12606 spawn id after processing the user code.
12607 (default_gdb_start): Set inferior_spawn_id.
12608 (send_inferior): New procedure.
12609 * lib/gdbserver-support.exp (gdbserver_start): Set
12610 inferior_spawn_id.
12611 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12612
12613 2015-04-07 Pedro Alves <palves@redhat.com>
12614
12615 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12616 * lib/gdbserver-support.exp (gdbserver_start): Make
12617 $server_spawn_id global.
12618 (gdbserver_start): Don't wait for gdbserver's spawn id with
12619 expect_background.
12620 (close_gdbserver): New procedure.
12621 (gdb_exit): Rename the default version and reimplement.
12622
12623 2015-04-07 Pedro Alves <palves@redhat.com>
12624
12625 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12626 append the substituted item, not the original item.
12627
12628 2015-04-07 Pedro Alves <palves@redhat.com>
12629
12630 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12631 gdb_expect.
12632
12633 2015-04-07 Pedro Alves <palves@redhat.com>
12634
12635 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12636 output appearing once only.
12637
12638 2015-04-07 Pedro Alves <palves@redhat.com>
12639
12640 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12641 that doesn't expect anything. Return early if running to main
12642 fails.
12643
12644 2015-04-07 Yao Qi <yao.qi@linaro.org>
12645
12646 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12647 (child_function): Call alarm.
12648 (main): Move call to alarm into the loop.
12649 * gdb.threads/non-stop-fair-events.exp: Build program with
12650 -DTIMEOUT=$timeout.
12651
12652 2015-04-06 Doug Evans <xdje42@gmail.com>
12653
12654 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12655 Fix dest parameter to board_info.
12656 (fpc_compile): Ditto.
12657 (gdb_compile_pascal): Rename dest arg to destfile.
12658
12659 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12660
12661 * gdb.ada/funcall_ref.exp: New file.
12662 * gdb.ada/funcall_ref/foo.adb: New file.
12663
12664 2015-04-02 Yao Qi <yao.qi@linaro.org>
12665
12666 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12667 is remote.
12668
12669 2015-04-02 Gary Benson <gbenson@redhat.com>
12670
12671 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12672
12673 2015-04-01 Sasha Smundak <asmundak@google.com>
12674
12675 * gdb.python/py-unwind-maint.c: New file.
12676 * gdb.python/py-unwind-maint.exp: New test.
12677 * gdb.python/py-unwind-maint.py: New file.
12678 * gdb.python/py-unwind.c: New file.
12679 * gdb.python/py-unwind.exp: New test.
12680 * gdb.python/py-unwind.py: New test.
12681
12682 2015-04-01 Pedro Alves <palves@redhat.com>
12683
12684 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12685 to fail instead of non-existent $test.
12686
12687 2015-04-01 Pedro Alves <palves@redhat.com>
12688
12689 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12690 GDBFLAGS if not empty.
12691
12692 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12693
12694 * gdb.ada/complete.exp: Remove "multi_line".
12695 * gdb.ada/info_exc.exp: Remove "multi_line".
12696 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12697 * gdb.ada/ptype_field.exp: Remove "multi_line".
12698 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12699 * gdb.ada/tagged.exp: Remove "multi_line".
12700 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12701 [multi_line ...]
12702 * gdb.btrace/delta.exp: Likewise.
12703 * gdb.btrace/exception.exp: Likewise.
12704 * gdb.btrace/function_call_history.exp: Likewise.
12705 * gdb.btrace/instruction_history.exp: Likewise.
12706 * gdb.btrace/nohist.exp: Likewise.
12707 * gdb.btrace/record_goto.exp: Likewise.
12708 * gdb.btrace/segv.exp: Likewise.
12709 * gdb.btrace/stepi.exp: Likewise.
12710 * gdb.btrace/tailcall.exp: Likewise.
12711 * gdb.btrace/unknown_functions.exp: Likewise.
12712 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12713 * lib/gdb.exp: Add the "multi_line" helper.
12714
12715 2015-04-01 Pedro Alves <palves@redhat.com>
12716
12717 * gdb.threads/tid-reuse.c: New file.
12718 * gdb.threads/tid-reuse.exp: New file.
12719
12720 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12721
12722 PR corefiles/16092
12723 * gdb.base/coredump-filter.c: New file.
12724 * gdb.base/coredump-filter.exp: Likewise.
12725
12726 2015-03-27 Petr Machata <pmachata@redhat.com>
12727
12728 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12729 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12730 (Dwarf::assemble): Initialize them.
12731 (Dwarf::lines): New function.
12732
12733 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12734
12735 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12736 SYMBOL_PREFIX for x86_64-*-cygwin.
12737
12738 2015-03-26 Andy Wingo <wingo@igalia.com>
12739
12740 PR symtab/18148
12741 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12742 const_value but not a location.
12743 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12744 location defined in non-main CUs are visible.
12745
12746 2015-03-26 Yao Qi <yao.qi@linaro.org>
12747
12748 PR testsuite/18139
12749 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12750 Add a line number entry for the same line.
12751 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12752 Add a line number entry for the same line.
12753
12754 2015-03-26 Yao Qi <yao.qi@linaro.org>
12755
12756 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12757 .int 0.
12758 (func): Likewise. Add .Lfunc_1 label.
12759 Use .Lfunc_1 label.
12760 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12761 .int 0.
12762 (func): Likewise.
12763 Use .Lfunc_1 label.
12764
12765 2015-03-26 Yao Qi <yao.qi@linaro.org>
12766
12767 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12768 Call gdb_compile instead to compile each .s files without debug
12769 information.
12770
12771 2015-03-26 Yao Qi <yao.qi@linaro.org>
12772
12773 * gdb.base/savedregs.exp (process_saved_regs): Make
12774 "Saved registers:" optional in the pattern.
12775
12776 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12777
12778 * gdb.btrace/next.exp: Merged into step.exp.
12779 * gdb.btrace/finish.exp: Merged into step.exp.
12780 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12781 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12782 "record goto" and checking the exact replay position.
12783 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12784 check for "Recording format" in "info record" output.
12785 * gdb.btrace/record_goto.exp: Choose test file based on target.
12786 * gdb.btrace/x86-record_goto.S: Renamed into ...
12787 * gdb.btrace/x86_64-record_goto.S: ... this.
12788 * gdb.btrace/i686-record_goto.S: New.
12789 * gdb.btrace/x86-tailcall.S: Renamed into ...
12790 * gdb.btrace/x86_64-tailcall.S: ... this.
12791 * gdb.btrace/i686-tailcall.S: New.
12792 * gdb.btrace/x86-tailcall.c: Renamed into ...
12793 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12794 separate statements. Update test.
12795 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12796 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12797 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12798 * gdb.btrace/tailcall.exp: Choose test file based on target.
12799 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12800
12801 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12802
12803 * gdb.btrace/exception.exp: Increase BTS buffer size.
12804
12805 2015-03-24 Pedro Alves <palves@redhat.com>
12806
12807 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12808
12809 2015-03-24 Pedro Alves <palves@redhat.com>
12810
12811 * gdb.threads/schedlock.exp (test_step): No longer expect that
12812 "set scheduler-locking step" with "next" over a function call runs
12813 threads unlocked.
12814
12815 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12816
12817 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12818
12819 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12820
12821 PR breakpoints/16466
12822 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12823 * gdb.mi/mi-pending.c (thread_func): New function.
12824 (int main): Add threading support required.
12825 * gdb.mi/mi-pending.exp: Add tests for this issue.
12826 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12827 (pendfunc2): Remove stdio dependency.
12828 * gdb.mi/mi-pendshr2.c: New file.
12829
12830 2015-03-23 Keith Seitz <keiths@redhat.com>
12831
12832 * gdb.linespec/keywords.c: New file.
12833 * gdb.linespec/keywords.exp: New file.
12834
12835 2015-03-23 Keith Seitz <keiths@redhat.com>
12836
12837 PR gdb/18021
12838 * gdb.dwarf2/staticvirtual.exp: New test.
12839
12840 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12841
12842 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12843 * README: Remove HP-UX and gdb.hp.
12844 (configuration):
12845 * configure: Regenerate.
12846 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12847 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12848 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12849 gdb.hp/gdb.defects/Makefile.
12850 * gdb.hp/Makefile.in: File deleted.
12851 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12852 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12853 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12854 * gdb.hp/gdb.aCC/run.c: File deleted.
12855 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12856 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12857 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12858 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12859 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12860 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12861 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12862 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12863 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12864 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12865 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12866 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12867 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12868 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12869 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12870 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12871 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12872 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12873 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12874 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12875 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12876 * gdb.hp/gdb.compat/average.c: File deleted.
12877 * gdb.hp/gdb.compat/sum.c: File deleted.
12878 * gdb.hp/gdb.compat/xdb.c: File deleted.
12879 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12880 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12881 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12882 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12883 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12884 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12885 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12886 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12887 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12888 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12889 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12890 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12891 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12892 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12893 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12894 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12895 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12896 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12897 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12898 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12899 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12900 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12901 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12902 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12903 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12904 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12905 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12906 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12907 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12908 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12909 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12910 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12911 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12912 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12913 * gdb.hp/tools/odump: File deleted.
12914
12915 2015-03-19 Pedro Alves <palves@redhat.com>
12916
12917 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12918 (saw_thread_3): New globals.
12919 (top level): Increment them when an event for the corresponding
12920 thread is seen.
12921 (no thread starvation): New test.
12922
12923 2015-03-19 Pedro Alves <palves@redhat.com>
12924
12925 * gdb.threads/continue-pending-status.c: New file.
12926 * gdb.threads/continue-pending-status.exp: New file.
12927
12928 2015-03-18 Pedro Alves <palves@redhat.com>
12929
12930 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12931 Use gdb_is_target_remote instead of is_remote. Use
12932 gdb_test_multiple instead of gdb_expect. Exit early if
12933 gdb_test_multiple hits its internal matches. Tighten stepi tests
12934 expected output. Fail on exit with any signal, instead of just
12935 SIGILL.
12936
12937 2015-03-18 Yao Qi <yao.qi@linaro.org>
12938
12939 PR tdep/18107
12940 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12941 variable.
12942 * gdb.base/catch-syscall.exp: Don't skip it on
12943 aarch64*-*-linux* target. Remove elements in all_syscalls.
12944 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12945 target.
12946 (setup_all_syscalls): New proc.
12947
12948 2015-03-16 Yao Qi <yao.qi@linaro.org>
12949
12950 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12951 (top level): Skip tests if valid_addr_p returns false for
12952 $cmd1 or $cmd2.
12953
12954 2015-03-11 Andy Wingo <wingo@igalia.com>
12955
12956 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12957
12958 2015-03-11 Yao Qi <yao.qi@linaro.org>
12959
12960 * gdb.base/catch-syscall.exp: Fix typo in comments.
12961
12962 2015-03-11 Yao Qi <yao.qi@linaro.org>
12963
12964 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12965
12966 2015-03-09 Pedro Alves <palves@redhat.com>
12967
12968 * dg-extract-results.py: Delete.
12969
12970 2015-03-09 Pedro Alves <palves@redhat.com>
12971
12972 Merge dg-extract-results.sh from GCC upstream (r218843).
12973
12974 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12975 * dg-extract-results.sh: Use --text with grep to avoid issues with
12976 binary files. Fall back to cat -v, if that doesn't work.
12977
12978 2015-03-05 Pedro Alves <palves@redhat.com>
12979
12980 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12981
12982 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12983
12984 * lib/mi-support.exp (mi_expect_interrupt): Accept
12985 alternative event for when in all-stop mode.
12986
12987 2015-03-04 Pedro Alves <palves@redhat.com>
12988
12989 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12990
12991 2015-03-04 Mark Kettenis <kettenis@gnu.org>
12992
12993 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12994
12995 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12996
12997 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
12998 regexps for GDB's current line display, accept a hex address
12999 preceding the line number.
13000
13001 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13002
13003 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13004 the 'arch1' variable for "s390*-linux*" targets.
13005
13006 2015-03-04 Pedro Alves <palves@redhat.com>
13007
13008 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13009 (main): Pass missing retval argument to pthread_join call.
13010
13011 2015-03-02 Pedro Alves <palves@redhat.com>
13012
13013 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13014 (top level): Call do_test with non-stop as well.
13015
13016 2015-03-02 Pedro Alves <palves@redhat.com>
13017
13018 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13019 -1.
13020
13021 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13022
13023 * gdb.arch/s390-vregs.exp: New test.
13024 * gdb.arch/s390-vregs.S: New file.
13025
13026 2015-02-27 Pedro Alves <palves@redhat.com>
13027
13028 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13029 call to catch_command_errors.
13030 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13031 catch_command_errors.
13032
13033 2015-02-27 Pedro Alves <palves@redhat.com>
13034
13035 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13036 "true" for boolean result.
13037 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13038 prototype of main.
13039
13040 2015-02-27 Pedro Alves <palves@redhat.com>
13041
13042 * lib/unbuffer_output.c: New file.
13043 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13044 (main): Call gdb_unbuffer_output.
13045
13046 2015-02-27 Yao Qi <yao.qi@linaro.org>
13047
13048 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13049 target.
13050
13051 2015-02-26 Doug Evans <dje@google.com>
13052
13053 * gdb.cp/class2.cc (Dbase, D): New classes.
13054 (main): New local delta.
13055 * gdb.cp/class2.exp: Test printing delta.
13056 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13057 (dynbar): New global.
13058 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13059
13060 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13061
13062 * gdb.compile/compile-ifunc.c: New file.
13063 * gdb.compile/compile-ifunc.exp: New file.
13064
13065 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13066
13067 * gdb.base/structs.exp: Check for correct struct on finish.
13068
13069 2015-02-26 Yao Qi <yao.qi@linaro.org>
13070
13071 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13072 is zero.
13073
13074 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13075
13076 * gdb.arch/cordic.ko.bz2: New file.
13077 * gdb.arch/cordic.ko.debug.bz2: New file.
13078 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13079
13080 2015-02-25 Yao Qi <yao.qi@linaro.org>
13081
13082 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13083 aarch64*-*-* target.
13084
13085 2015-02-23 Pedro Alves <palves@redhat.com>
13086
13087 * lib/gdb.exp (delete_breakpoints): Rewrite using
13088 gdb_test_multiple.
13089
13090 2015-02-23 Pedro Alves <palves@redhat.com>
13091
13092 * gdb.base/info-os.c: Include stdlib.h.
13093
13094 2015-02-22 Doug Evans <xdje42@gmail.com>
13095
13096 PR symtab/17855
13097 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13098 is read after symbols have been re-read.
13099 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13100 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13101
13102 2015-02-21 Doug Evans <dje@google.com>
13103
13104 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13105
13106 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13107
13108 PR corefiles/17808
13109 * gdb.arch/i386-biarch-core.core.bz2: New file.
13110 * gdb.arch/i386-biarch-core.exp: New file.
13111
13112 2015-02-21 Pedro Alves <palves@redhat.com>
13113
13114 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13115 runto_main fails.
13116
13117 2015-02-20 Pedro Alves <palves@redhat.com>
13118
13119 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13120 info probes.
13121
13122 2015-02-20 Pedro Alves <palves@redhat.com>
13123
13124 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13125
13126 2015-02-20 Pedro Alves <palves@redhat.com>
13127
13128 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13129 clean_restart before gdb_target_supports_trace.
13130
13131 2015-02-20 Pedro Alves <palves@redhat.com>
13132
13133 PR threads/18006
13134 * gdb.threads/clone-thread_db.c: New file.
13135 * gdb.threads/clone-thread_db.exp: New file.
13136
13137 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13138
13139 PR breakpoints/16812
13140 * gdb.base/catch-gdb-caused-signals.c: New file.
13141 * gdb.base/catch-gdb-caused-signals.exp: New file.
13142
13143 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13144
13145 * configure: Regenerated.
13146 * configure.ac: Use GDB_AC_TRANSFORM.
13147 * aclocal.m4: sinclude ../transform.m4.
13148
13149 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13150
13151 * lib/dtrace.exp: New file.
13152 * gdb.base/dtrace-probe.exp: Likewise.
13153 * gdb.base/dtrace-probe.d: Likewise.
13154 * gdb.base/dtrace-probe.c: Likewise.
13155 * lib/pdtrace.in: Likewise.
13156 * configure.ac: Output variables with the transformed names of
13157 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13158 * configure: Regenerated.
13159
13160 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13161
13162 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13163 expected message when trying to access $_probe_* convenience
13164 variables while not on a probe.
13165
13166 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13167
13168 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13169
13170 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13171
13172 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13173 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13174
13175 2015-02-10 Doug Evans <xdje42@gmail.com>
13176
13177 * lib/gdb.exp (gdb_load): Always return a result.
13178
13179 2015-02-10 Pedro Alves <palves@redhat.com>
13180
13181 * gdb.threads/signal-sigtrap.c: New file.
13182 * gdb.threads/signal-sigtrap.exp: New file.
13183
13184 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13185
13186 * gdb.trace/no-attach-trace.c: New file.
13187 * gdb.trace/no-attach-trace.exp: New file.
13188
13189 2015-02-09 Mark Wielaard <mjw@redhat.com>
13190
13191 * gdb.dwarf2/atomic.c: New file.
13192 * gdb.dwarf2/atomic-type.exp: Likewise.
13193
13194 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13195
13196 * gdb.btrace/buffer-size.exp: Update "info record" output.
13197 * gdb.btrace/delta.exp: Update "info record" output.
13198 * gdb.btrace/enable.exp: Update "info record" output.
13199 * gdb.btrace/finish.exp: Update "info record" output.
13200 * gdb.btrace/instruction_history.exp: Update "info record" output.
13201 * gdb.btrace/next.exp: Update "info record" output.
13202 * gdb.btrace/nexti.exp: Update "info record" output.
13203 * gdb.btrace/step.exp: Update "info record" output.
13204 * gdb.btrace/stepi.exp: Update "info record" output.
13205 * gdb.btrace/nohist.exp: Update "info record" output.
13206
13207 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13208
13209 * gdb.btrace/buffer-size: New.
13210
13211 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13212
13213 * gdb.btrace/delta.exp: Update "info record" output.
13214 * gdb.btrace/enable.exp: Update "info record" output.
13215 * gdb.btrace/finish.exp: Update "info record" output.
13216 * gdb.btrace/instruction_history.exp: Update "info record" output.
13217 * gdb.btrace/next.exp: Update "info record" output.
13218 * gdb.btrace/nexti.exp: Update "info record" output.
13219 * gdb.btrace/step.exp: Update "info record" output.
13220 * gdb.btrace/stepi.exp: Update "info record" output.
13221 * gdb.btrace/nohist.exp: Update "info record" output.
13222
13223 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13224
13225 PR gdb/15678
13226 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13227
13228 2015-02-06 Pedro Alves <palves@redhat.com>
13229
13230 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13231 macro.
13232 (seconds_left, again): New globals.
13233 (main): Wait seconds_left in a 1-second sleep loop instead of
13234 sleeping 180 seconds. If 'again' is set, reset the seconds
13235 counter.
13236 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13237 'again' in the inferior before detaching. Print the seconds left.
13238 (options): New global.
13239 (top level): Build program with -DTIMEOUT=$timeout.
13240
13241 2015-02-06 Pedro Alves <palves@redhat.com>
13242
13243 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13244 determine how many seconds to pass to 'alarm'.
13245 * gdb.base/gdb-sigterm.exp (top level): Build program with
13246 -DTIMEOUT=$timeout.
13247 (do_test): Return success/failure indication. Add more verbose
13248 logging. Don't fail if 200 single steps are seen. Instead, fail
13249 when the test times out.
13250 (passes): New global.
13251 (top level): Break the testing loop if testing fails on any
13252 iteration. Use gdb_assert.
13253
13254 2015-02-04 Don Breazeal <donb@codesourcery.com>
13255
13256 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13257 and initialize them.
13258 (ipc_cleanup): New function.
13259 (main): Don't declare shmid, semid, and msqid. Add a call to
13260 atexit so that we call ipc_cleanup on exit.
13261
13262 2015-02-04 Pedro Alves <palves@redhat.com>
13263
13264 * boards/native-extended-gdbserver.exp: Remove any target variant
13265 specifications from the board name before clearing the isremote
13266 flag from board_info.
13267
13268 2015-01-31 Doug Evans <xdje42@gmail.com>
13269
13270 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13271
13272 2015-01-31 Gary Benson <gbenson@redhat.com>
13273
13274 * gdb.base/completion.exp: Disable completion limiting for
13275 existing tests. Add new tests to check completion limiting.
13276 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13277
13278 2015-01-31 Doug Evans <xdje42@gmail.com>
13279
13280 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13281
13282 2015-01-31 Doug Evans <xdje42@gmail.com>
13283
13284 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13285 entries. Duplicate file section script entries.
13286 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13287 inlined entries. Add test for safe-path rejection.
13288 * gdb.python/py-section-script.c: Add duplicate inlined section script
13289 entries. Duplicate file section script entries.
13290 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13291 inlined entries. Add test for safe-path rejection.
13292
13293 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13294
13295 * gdb.ada/disc_arr_bound: New testcase.
13296
13297 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13298
13299 * gdb.ada/mi_var_array: New testcase.
13300
13301 2015-01-27 Doug Evans <dje@google.com>
13302
13303 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13304 Add test for objfile.filename, objfile.username after objfile
13305 has been unloaded.
13306
13307 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13308
13309 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13310 the second test to print the name attribute of value
13311 returned by the call to gdb.lookup_type, and adjust
13312 the expected output accordingly.
13313
13314 2015-01-25 Mark Wielaard <mjw@redhat.com>
13315
13316 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13317 * gdb.base/disp-step-fork.c: Include unistd.h.
13318 * gdb.base/siginfo-obj.c: Include stdio.h.
13319 * gdb.base/siginfo-thread.c: Likewise.
13320 * gdb.mi/non-stop.c: Include unistd.h.
13321 * gdb.mi/nsthrexec.c: Include stdio.h.
13322 * gdb.mi/pthreads.c: Include unistd.h.
13323 * gdb.modula2/unbounded1.c (main): Declare returns int.
13324 * gdb.reverse/consecutive-reverse.c: Likewise.
13325 * gdb.threads/create-fail.c: Include unistd.h.
13326 * gdb.threads/killed.c: Likewise.
13327 * gdb.threads/linux-dp.c: Likewise.
13328 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13329 * gdb.threads/non-ldr-exc-2.c: Likewise.
13330 * gdb.threads/non-ldr-exc-3.c: Likewise.
13331 * gdb.threads/non-ldr-exc-4.c: Likewise.
13332 * gdb.threads/pthreads.c: Include unistd.h.
13333 (main): Declare returns int.
13334 * gdb.threads/tls-main.c (foo): New declaration.
13335 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13336
13337 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13338
13339 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13340 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13341
13342 2015-01-15 Mark Wielaard <mjw@redhat.com>
13343
13344 * gdb.base/noreturn-return.c: New file.
13345 * gdb.base/noreturn-return.exp: New file.
13346 * gdb.base/noreturn-finish.c: New file.
13347 * gdb.base/noreturn-finish.exp: New file.
13348
13349 2015-01-23 Pedro Alves <palves@redhat.com>
13350
13351 * gdb.threads/continue-pending-after-query.c: New file.
13352 * gdb.threads/continue-pending-after-query.exp: New file.
13353
13354 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13355 Simon Marchi <simon.marchi@ericsson.com>
13356
13357 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13358 * gdb.base/valgrind-db-attach.exp: Same.
13359 * gdb.base/valgrind-infcall.exp: Same.
13360 * lib/mi-support.exp (default_mi_gdb_start): Same.
13361 * lib/prompt.exp (default_prompt_gdb_start): Same.
13362 * lib/gdb.exp (default_gdb_spawn): Same.
13363 (gdb_interact): New.
13364
13365
13366 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13367
13368 * gdb.compile/compile.exp (pointer to jit function): New test.
13369
13370 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13371
13372 * lib/gdb.exp (supports_process_record): Return true for
13373 powerpc*-*-linux*.
13374 (supports_reverse): Likewise.
13375
13376 2015-01-15 Don Breazeal <donb@codesourcery.com>
13377
13378 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13379 instead of checking whether the target board is remote and
13380 use spawn_wait_for_attach instead of exec/sleep.
13381 * gdb.base/attach-twice.exp: Likewise.
13382
13383 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13384
13385 * gdb.ada/var_arr_attrs: New testcase.
13386
13387 2015-01-14 Pedro Alves <palves@redhat.com>
13388 Joel Brobecker <brobecker@adacore.com>
13389
13390 PR gdb/17525
13391 * gdb.base/bp-cmds-execution-x-script.c: New file.
13392 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13393 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13394
13395 2015-01-14 Pedro Alves <palves@redhat.com>
13396
13397 PR cli/17828
13398 * gdb.base/batch-preserve-term-settings.c: New file.
13399 * gdb.base/batch-preserve-term-settings.exp: New file.
13400
13401 2015-01-13 Doug Evans <dje@google.com>
13402
13403 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13404 binary.
13405
13406 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13407
13408 * Makefile.in (clean mostlyclean): Do not delete *.py.
13409
13410 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13411
13412 * gdb.python/py-lookup-type.exp: New file.
13413
13414 2015-01-12 Pedro Alves <palves@redhat.com>
13415
13416 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13417 restore GDBFLAGS before returning.
13418
13419 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13420
13421 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13422 is_amd64_regs_target and is_x86_like_target.
13423
13424 2015-01-11 Doug Evans <xdje42@gmail.com>
13425
13426 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13427 is given without an explicit form.
13428 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13429 attributes.
13430 * gdb.dwarf/corrupt.exp: Ditto.
13431 * gdb.dwarf2/enum-type.exp: Ditto.
13432 * gdb.trace/entry-values.exp: Ditto.
13433 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13434
13435 2015-01-11 Doug Evans <xdje42@gmail.com>
13436
13437 PR gdb/15830
13438 * gdb.base/maint.exp: Remove references to "maint demangle".
13439 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13440 Add tests for explicitly specifying language to demangle.
13441 * gdb.dlang/demangle.exp: Ditto.
13442
13443 2015-01-09 Pedro Alves <palves@redhat.com>
13444
13445 * gdb.threads/non-stop-fair-events.c: New file.
13446 * gdb.threads/non-stop-fair-events.exp: New file.
13447
13448 2015-01-09 Pedro Alves <palves@redhat.com>
13449
13450 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13451 the global scope. Set a breakpoint after all threads are started
13452 rather than stepping over two source lines. Expect the prompt.
13453 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13454 global.
13455 (NUM): Now 15.
13456 (main): Use threads_started_barrier to wait for all threads to
13457 start. Main thread no longer calls thread_function. Exit after
13458 180 seconds.
13459 (loop): New function.
13460 (thread_function): Wait on threads_started_barrier barrier. Call
13461 'loop' at each iteration.
13462 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13463 threads have started, instead of hardcoding number of "next"
13464 steps. Use an access watchpoint instead of a write watchpoint.
13465
13466 2015-01-09 Pedro Alves <palves@redhat.com>
13467
13468 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13469 (thread_func): Wait on barrier.
13470 (main): Wait for all threads to start before stopping GDB.
13471 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13472 global.
13473 (thread1_func, thread2_func): Wait on barrier.
13474 (main): Wait for all threads to start before stopping GDB.
13475 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13476 New global.
13477 (thread1_func, thread2_func): Wait on barrier.
13478 (main): Wait for all threads to start before stopping GDB.
13479
13480 2015-01-09 Pedro Alves <palves@redhat.com>
13481
13482 * gdb.threads/attach-many-short-lived-threads.c: New file.
13483 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13484
13485 2014-01-09 Pedro Alves <palves@redhat.com>
13486
13487 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13488 instead of to thread 2.
13489 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13490 Add barrier around each pthread_create call instead of around all
13491 calls.
13492 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13493 Set a break on thread_function and have the child threads hit it
13494 one at at a time.
13495
13496 2015-01-09 Pedro Alves <palves@redhat.com>
13497
13498 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13499 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13500 false.
13501 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13502 checking whether the target board is remote.
13503 * gdb.multi/multi-attach.exp: Likewise.
13504 * gdb.python/py-sync-interp.exp: Likewise.
13505 * gdb.server/ext-attach.exp: Likewise.
13506 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13507 tests that need to attach, instead of checking whether the target
13508 board is remote at the top of the file.
13509
13510 2015-01-08 Yao Qi <yao@codesourcery.com>
13511
13512 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13513
13514 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13515
13516 Fix testcase compilation.
13517 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13518
13519 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13520
13521 * gdb.python/py-type.exp: Add a couple test about empty
13522 array creation, and negative-length array creation.
13523
13524 2015-01-02 Doug Evans <xdje42@gmail.com>
13525
13526 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13527
13528 2015-01-02 Doug Evans <dje@google.com>
13529
13530 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13531
13532 2014-12-29 Yao Qi <yao@codesourcery.com>
13533
13534 * gdb.trace/entry-values.exp: Update comments. Rename variable
13535 bar_call_foo to returned_from_foo.
13536
13537 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13538
13539 PR gdb/17394
13540 * gdb.linespec/break-asm-file.c: New file.
13541 * gdb.linespec/break-asm-file.exp: New file.
13542 * gdb.linespec/break-asm-file0.s: New file.
13543 * gdb.linespec/break-asm-file1.s: New file.
13544
13545 2014-12-18 Nigel Stephens <nigel@mips.com>
13546 Maciej W. Rozycki <macro@codesourcery.com>
13547
13548 * gdb.base/float.exp: Handle the new output from "info float" on
13549 MIPS targets.
13550
13551 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13552
13553 Fix MinGW compilation.
13554 * gdb.compile/compile-ops.exp: Update untested message if
13555 !skip_compile_feature_tests.
13556 * gdb.compile/compile-setjmp.exp: Likewise.
13557 * gdb.compile/compile-tls.exp: Likewise.
13558 * gdb.compile/compile.exp: Likewise.
13559 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13560 supported on this host".
13561
13562 2014-12-16 Doug Evans <xdje42@gmail.com>
13563
13564 * boards/stabs.exp: New file.
13565
13566 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13567
13568 * gdb.base/completion.exp: Adjust to format changes of "maint
13569 print user-registers".
13570
13571 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13572
13573 PR server/17457
13574 * gdb.arch/aarch64-fp.c: New file.
13575 * gdb.arch/aarch64-fp.exp: New file.
13576
13577 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13578
13579 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13580 r210637, r210913, r211666, r215400, r215817).
13581
13582 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13583 * dg-extract-results.py: New file.
13584 * dg-extract-results.sh: Use it if the environment seems
13585 suitable.
13586
13587 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13588
13589 * dg-extract-results.py (parse_run): Handle warnings that
13590 are printed before a test harness is run.
13591
13592 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13593
13594 * dg-extract-results.py (Named): Remove __cmp__ method.
13595 (output_variation): Use a key to sort variation.harnesses.
13596
13597 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13598
13599 * dg-extract-results.py: For Python 3, force sys.stdout to
13600 handle surrogate escape sequences.
13601 (safe_open): New function.
13602 (output_segment, main): Use it.
13603
13604 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13605
13606 * dg-extract-results.py (Prog.result_re): Include options
13607 in test name.
13608
13609 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13610
13611 * dg-extract-results.py (output_variation): Always sort if
13612 do_sum.
13613
13614 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13615
13616 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13617 as long as we get pagination notifications.
13618
13619 2014-12-15 Jason Merrill <jason@redhat.com>
13620
13621 * Makefile.in (check-gdb.%): Restore.
13622 * README: Mention it.
13623
13624 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13625
13626 * gdb.ada/str_uninit: New testcase.
13627
13628 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13629
13630 PR symtab/17642
13631 * gdb.base/vla-stub-define.c: New file.
13632 * gdb.base/vla-stub.c: New file.
13633 * gdb.base/vla-stub.exp: New file.
13634
13635 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13636 Jan Kratochvil <jan.kratochvil@redhat.com>
13637 Tom Tromey <tromey@redhat.com>
13638
13639 * configure.ac: Add gdb.compile/.
13640 * configure: Regenerate.
13641 * gdb.compile/Makefile.in: New file.
13642 * gdb.compile/compile-ops.exp: New file.
13643 * gdb.compile/compile-ops.c: New file.
13644 * gdb.compile/compile-tls.c: New file.
13645 * gdb.compile/compile-tls.exp: New file.
13646 * gdb.compile/compile-constvar.S: New file.
13647 * gdb.compile/compile-constvar.c: New file.
13648 * gdb.compile/compile-mod.c: New file.
13649 * gdb.compile/compile-nodebug.c: New file.
13650 * gdb.compile/compile-setjmp-mod.c: New file.
13651 * gdb.compile/compile-setjmp.c: New file.
13652 * gdb.compile/compile-setjmp.exp: New file.
13653 * gdb.compile/compile-shlib.c: New file.
13654 * gdb.compile/compile.c: New file.
13655 * gdb.compile/compile.exp: New file.
13656 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13657
13658 2014-12-12 Tom Tromey <tromey@redhat.com>
13659
13660 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13661 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13662
13663 2014-12-12 Doug Evans <dje@google.com>
13664
13665 * lib/gdb-python.exp (get_python_valueof): New function.
13666 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13667
13668 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13669
13670 * gdb.base/completion.exp: Add test for completion of "info
13671 registers ".
13672
13673 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13674
13675 * gdb.base/func-ptrs.c: New file.
13676 * gdb.base/func-ptrs.exp: New file.
13677
13678 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13679
13680 PR breakpoints/17012
13681 * gdb.base/dprintf-detach.c: New file.
13682 * gdb.base/dprintf-detach.exp: New file.
13683
13684 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13685
13686 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13687 * lib/gdb.exp (target_is_gdbserver): New procedure.
13688
13689 2014-12-08 Doug Evans <dje@google.com>
13690
13691 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13692
13693 2014-12-05 Yao Qi <yao@codesourcery.com>
13694
13695 * gdb.guile/scm-error.exp: Remove the third argument to
13696 gdb_remote_download.
13697 * gdb.guile/scm-frame-args.exp: Likewise.
13698 * gdb.guile/scm-section-script.exp: Likewise.
13699
13700 2014-12-05 Yao Qi <yao@codesourcery.com>
13701
13702 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13703
13704 2014-12-04 Doug Evans <dje@google.com>
13705
13706 * gdb.python/py-objfile.exp: Add tests for
13707 objfile.add_separate_debug_file.
13708
13709 2014-12-04 Doug Evans <dje@google.com>
13710
13711 * lib/gdb.exp (get_build_id): New function.
13712 (build_id_debug_filename_get): Rewrite to use it.
13713 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13714
13715 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13716
13717 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13718 `method(long)', not just 0x0.
13719 * gdb.cp/nsalias.exp: Align code labels to 4.
13720 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13721 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13722 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13723 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13724 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13725 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13726
13727 2014-12-02 Doug Evans <dje@google.com>
13728
13729 PR symtab/17602
13730 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13731 * gdb.cp/anon-ns2.cc: ... here. New file.
13732 * gdb.cp/anon-ns.exp: Update.
13733
13734 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13735
13736 * gdb.python/py-events.py (inferior_call_handler): New.
13737 (register_changed_handler, memory_changed_handler): New.
13738 (test_events.invoke): Register new handlers.
13739 * gdb.python/py-events.exp: Add tests for inferior call,
13740 memory_changed and register_changed events.
13741
13742 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13743
13744 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13745 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13746 if the linker doesn't understand this.
13747
13748 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13749
13750 * gdb.python/python.exp: Change expected reply to help().
13751
13752 2014-12-01 Yao Qi <yao@codesourcery.com>
13753
13754 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13755 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13756 * configure: Re-generated.
13757
13758 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13759
13760 * gdb.cp/chained-calls.cc: New file.
13761 * gdb.cp/chained-calls.exp: New file.
13762 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13763
13764 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13765
13766 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13767 * gdb.dwarf2/symtab-producer.exp: Same.
13768 * gdb.gdb/python-interrupts.exp: Same.
13769 * gdb.gdb/python-selftest.exp: Same.
13770 * gdb.python/py-linetable.exp: Same.
13771 * gdb.python/py-type.exp: Same.
13772 * gdb.python/py-value-cc.exp: Same.
13773 * gdb.python/py-value.exp: Same.
13774
13775 2014-11-28 Yao Qi <yao@codesourcery.com>
13776
13777 * gdb.base/break-probes.exp: Match library name prefixed with
13778 sysroot.
13779
13780 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13781
13782 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13783 test expected output. Add parentheses for the call to print.
13784 Remove L suffix from integers.
13785
13786 2014-11-26 Doug Evans <dje@google.com>
13787
13788 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13789
13790 2014-11-22 Yao Qi <yao@codesourcery.com>
13791
13792 * gdb.trace/entry-values.c: Remove asms.
13793 (foo): Add foo_label.
13794 (bar): Add bar_label.
13795 * gdb.trace/entry-values.exp: Remove code computing foo's
13796 length and bar's length.
13797 (Dwarf::assemble): Invoke function_range for bar and use
13798 MACRO_AT_func for foo.
13799
13800 2014-11-22 Yao Qi <yao@codesourcery.com>
13801
13802 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13803 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13804 Use .Lgcc43_procstart instead of gcc43.
13805
13806 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13807
13808 * gdb.ada/n_arr_bound: New testcase.
13809
13810 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13811
13812 PR breakpoints/10737
13813 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13814 test_catch_syscall_multi_arch.
13815 (test_catch_syscall_multi_arch): New function.
13816
13817 2014-11-20 Doug Evans <xdje42@gmail.com>
13818
13819 * gdb.base/maint.exp: Update expected output.
13820
13821 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13822
13823 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13824 4-byte instruction on S390.
13825
13826 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13827
13828 * gdb.ada/arr_arr: New testcase.
13829
13830 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13831
13832 * gdb.ada/pkd_arr_elem: New Testcase.
13833
13834 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
13835
13836 * gdb.reverse/break-precsave: Expect completion message for
13837 core file reads.
13838 * gdb.reverse/consecutive-precsave.exp: Likewise.
13839 * gdb.reverse/finish-precsave.exp: Likewise.
13840 * gdb.reverse/i386-precsave.exp: Likewise.
13841 * gdb.reverse/machinestate-precsave.exp: Likewise.
13842 * gdb.reverse/sigall-precsave.exp: Likewise.
13843 * gdb.reverse/solib-precsave.exp: Likewise.
13844 * gdb.reverse/step-precsave.exp: Likewise.
13845 * gdb.reverse/until-precsave.exp: Likewise.
13846 * gdb.reverse/watch-precsave.exp: Likewise.
13847
13848 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13849
13850 * gdb.base/bp-permanent.c: Include unistd.h.
13851 * gdb.python/py-framefilter-mi.c (main): Add return type.
13852 * gdb.python/py-framefilter.c (main): Likewise.
13853 * gdb.trace/actions-changed.c (main): Likewise.
13854
13855 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13856
13857 * gdb.mi/until.c: Add eye-catchers.
13858 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13859 line numbers.
13860
13861 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13862
13863 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13864 function header variants in break1.c.
13865 * gdb.base/ena-dis-br.exp: Likewise.
13866 * gdb.base/hbreak2.exp: Likewise.
13867 * gdb.reverse/until-precsave.exp: Drop references to removed
13868 non-prototype function header variants in ur1.c.
13869 * gdb.reverse/until-reverse.exp: Likewise.
13870
13871 2014-11-17 Petr Machata <pmachata@redhat.com>
13872
13873 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13874 ${_cu_offset_size} bytes abbrev offset.
13875
13876 2014-11-15 Doug Evans <xdje42@gmail.com>
13877
13878 PR symtab/17559
13879 * gdb.base/line-symtabs.exp: New file.
13880 * gdb.base/line-symtabs.c: New file.
13881 * gdb.base/line-symtabs.h: New file.
13882
13883 2014-11-14 Yao Qi <yao@codesourcery.com>
13884
13885 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13886 (func): Add label func_label.
13887 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13888 Replace low_pc and high_pc with MACRO_AT_range.
13889 Replace name, low_pc and high_pc with MACRO_AT_func.
13890
13891 2014-11-14 Yao Qi <yao@codesourcery.com>
13892
13893 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13894 Replace name, low_pc and high_pc with MACRO_AT_func.
13895
13896 2014-11-14 Yao Qi <yao@codesourcery.com>
13897
13898 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13899 produce debug information.
13900 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13901
13902 2014-11-14 Yao Qi <yao@codesourcery.com>
13903
13904 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13905 object and get function length.
13906 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13907 with MACRO_AT_func.
13908 (top-level): Replace gdb_compile and clean_restart with
13909 prepare_for_testing.
13910 * gdb.dwarf2/main.c (main): Add label main_label.
13911
13912 2014-11-14 Yao Qi <yao@codesourcery.com>
13913
13914 * lib/dwarf.exp (function_range): New procedure.
13915 (Dwarf::_handle_macro_at_func): New procedure.
13916 (Dwarf::_handle_macro_at_range): New procedure.
13917 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13918
13919 2014-11-14 Yao Qi <yao@codesourcery.com>
13920
13921 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13922 (_handle_attribute): New procedure.
13923
13924 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13925
13926 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13927 * gdb.base/call-sc.c (zed): Likewise.
13928 * gdb.base/checkpoint.c (main): Likewise.
13929 * gdb.base/dump.c (main): Likewise.
13930 * gdb.base/gcore.c (main): Likewise.
13931 * gdb.base/huge.c (main): Likewise.
13932 * gdb.base/multi-forks.c (main): Likewise.
13933 * gdb.base/pr10179-a.c (main): Likewise.
13934 * gdb.base/savedregs.c (main): Likewise.
13935 * gdb.base/sigaltstack.c (main): Likewise.
13936 * gdb.base/siginfo.c (main): Likewise.
13937 * gdb.base/structs.c (zed): Likewise.
13938 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13939 * gdb.mi/mi-syn-frame.c (main): Likewise.
13940 * gdb.mi/until.c (foo, main): Likewise.
13941 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13942 * gdb.base/solib-weak.c (foo): Declare.
13943 * gdb.base/attach-twice.c: Include stdio.h.
13944 * gdb.base/weaklib1.c: Likewise.
13945 * gdb.base/weaklib2.c: Likewise.
13946 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13947 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13948 unistd.h.
13949 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13950 * gdb.mi/mi-exit-code.c: Likewise.
13951 * gdb.base/break-interp-lib.c: Include string.h.
13952 * gdb.base/coremaker.c: Likewise.
13953 * gdb.base/testenv.c: Likewise.
13954 * gdb.python/py-finish-breakpoint.c: Likewise.
13955 * gdb.base/inferior-died.c: Include sys/wait.h.
13956 * gdb.base/fileio.c: Include time.h.
13957 * gdb.base/async-shell.c: Include unistd.h.
13958 * gdb.base/dprintf-non-stop.c: Likewise.
13959 * gdb.base/info-os.c: Likewise.
13960 * gdb.mi/mi-console.c: Likewise.
13961 * gdb.mi/watch-nonstop.c: Likewise.
13962 * gdb.python/py-events.c: Likewise.
13963 * gdb.base/async.c (baz): Move up before its invocation.
13964 * gdb.base/code_elim2.c (my_global_func): Likewise.
13965 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13966 * gdb.base/advance.c (func2): Likewise.
13967
13968 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13969
13970 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13971 variant.
13972 * gdb.base/annota3.c: Likewise.
13973 * gdb.base/async.c: Likewise.
13974 * gdb.base/average.c: Likewise.
13975 * gdb.base/call-ar-st.c: Likewise.
13976 * gdb.base/call-rt-st.c: Likewise.
13977 * gdb.base/call-sc.c: Likewise.
13978 * gdb.base/call-strs.c: Likewise.
13979 * gdb.base/ending-run.c: Likewise.
13980 * gdb.base/execd-prog.c: Likewise.
13981 * gdb.base/exprs.c: Likewise.
13982 * gdb.base/foll-exec.c: Likewise.
13983 * gdb.base/foll-fork.c: Likewise.
13984 * gdb.base/foll-vfork.c: Likewise.
13985 * gdb.base/funcargs.c: Likewise.
13986 * gdb.base/gcore.c: Likewise.
13987 * gdb.base/jump.c: Likewise.
13988 * gdb.base/langs0.c: Likewise.
13989 * gdb.base/langs1.c: Likewise.
13990 * gdb.base/langs2.c: Likewise.
13991 * gdb.base/mips_pro.c: Likewise.
13992 * gdb.base/nodebug.c: Likewise.
13993 * gdb.base/opaque0.c: Likewise.
13994 * gdb.base/opaque1.c: Likewise.
13995 * gdb.base/recurse.c: Likewise.
13996 * gdb.base/run.c: Likewise.
13997 * gdb.base/scope0.c: Likewise.
13998 * gdb.base/scope1.c: Likewise.
13999 * gdb.base/setshow.c: Likewise.
14000 * gdb.base/setvar.c: Likewise.
14001 * gdb.base/shmain.c: Likewise.
14002 * gdb.base/shr1.c: Likewise.
14003 * gdb.base/shr2.c: Likewise.
14004 * gdb.base/sigall.c: Likewise.
14005 * gdb.base/signals.c: Likewise.
14006 * gdb.base/so-indr-cl.c: Likewise.
14007 * gdb.base/solib2.c: Likewise.
14008 * gdb.base/structs.c: Likewise.
14009 * gdb.base/sum.c: Likewise.
14010 * gdb.base/vforked-prog.c: Likewise.
14011 * gdb.base/watchpoint.c: Likewise.
14012 * gdb.reverse/shr2.c: Likewise.
14013 * gdb.reverse/until-reverse.c: Likewise.
14014 * gdb.reverse/ur1.c: Likewise.
14015 * gdb.reverse/watch-reverse.c: Likewise.
14016
14017 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14018
14019 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14020 variant.
14021 * gdb.base/sepdebug.exp: Drop references to removed code.
14022
14023 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14024
14025 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14026 variant. Preserve original line numbering.
14027 * gdb.base/list1.c: Likewise.
14028
14029 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14030
14031 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14032 variant.
14033 * gdb.base/break1.c: Likewise.
14034 * gdb.base/break.exp: Drop references to removed code.
14035
14036 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14037
14038 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14039 variant.
14040
14041 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14042
14043 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14044
14045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14046
14047 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14048 logic into perform_all_tests() and invoke it with and without
14049 function header prototypes.
14050 (do_function_calls): Remove conditional XFAIL for PR 5318.
14051 (rerun_and_prepare): Remove duplicate code.
14052 (perform_all_tests): New. Main logic moved here.
14053
14054 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14055
14056 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14057 code guarded by #ifdef NO_PROTOTYPES.
14058 (t_double_many_args): Likewise.
14059 (DEF_FUNC_MANY_ARGS_1): Likewise.
14060 (DEF_FUNC_VALUES_1): Likewise.
14061 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14062 guarded by #ifdef PROTOTYPES.
14063
14064 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14065
14066 * gdb.mi/mi-console.c: Add eye-catcher.
14067 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14068 instead of literal line number.
14069
14070 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14071
14072 * gdb.base/shr2.c: Add eye-catcher.
14073 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14074 line number.
14075
14076 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14077
14078 * gdb.base/jump.c: Add eye-catchers.
14079 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14080 numbers.
14081
14082 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14083
14084 * gdb.base/execd-prog.c: Add eye-catchers.
14085 * gdb.base/foll-exec.c: Likewise.
14086 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14087 line numbers.
14088
14089 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14090
14091 * gdb.base/ending-run.c: Add eye-catchers.
14092 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14093 literal line numbers.
14094
14095 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14096
14097 * gdb.base/call-rt-st.c: Add eye-catchers.
14098 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14099 literal line numbers.
14100
14101 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14102
14103 * gdb.base/call-ar-st.c: Add eye-catchers.
14104 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14105 literal line numbers.
14106
14107 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14108
14109 * gdb.base/average.c: Add eye-catchers.
14110 * gdb.base/sum.c: Likewise.
14111 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14112 regexps dynamically.
14113
14114 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14115
14116 * gdb.base/solib1.c: Add eye-catchers.
14117 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14118 literal line numbers.
14119
14120 2014-11-12 Pedro Alves <palves@redhat.com>
14121
14122 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14123 leader has exited.
14124
14125 2014-11-12 Pedro Alves <palves@redhat.com>
14126
14127 * gdb.arch/i386-bp_permanent.c: New file.
14128 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14129 (srcfile): Set to i386-bp_permanent.c.
14130 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14131 that stepi does not execute the 'leave' instruction, instead of
14132 testing it does execute.
14133 * gdb.base/bp-permanent.c: New file.
14134 * gdb.base/bp-permanent.exp: New file.
14135
14136 2014-11-10 Doug Evans <xdje42@gmail.com>
14137
14138 PR symtab/17564
14139 * gdb.base/symtab-search-order.exp: New file.
14140 * gdb.base/symtab-search-order.c: New file.
14141 * gdb.base/symtab-search-order-1.c: New file.
14142 * gdb.base/symtab-search-order-shlib-1.c: New file.
14143
14144 2014-11-07 Pedro Alves <palves@redhat.com>
14145
14146 PR gdb/17511
14147 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14148 i?86-*-linux*.
14149
14150 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14151
14152 PR c++/17494
14153 * gdb.cp/pr17494.cc: New file.
14154 * gdb.cp/pr17494.exp: New file.
14155
14156 2014-11-02 Yao Qi <yao@codesourcery.com>
14157
14158 * gdb.python/python.exp: Get working directory and match the
14159 output of "set extended-prompt \\w " with it.
14160
14161 2014-10-30 Doug Evans <dje@google.com>
14162
14163 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14164 in objfiles.
14165 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14166 in progspaces.
14167
14168 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14169
14170 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14171 * gdb.base/realname-expand.exp: Likewise.
14172 * gdb.linespec/macro-relative.exp: Likewise.
14173
14174 2014-10-29 Pedro Alves <palves@redhat.com>
14175
14176 PR gdb/17408
14177 * gdb.threads/schedlock.c (some_function): New function.
14178 (call_function): New global.
14179 (MAYBE_CALL_SOME_FUNCTION): New macro.
14180 (thread_function): Call it.
14181 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14182 and use it instead of a global counter. Adjust all callers.
14183 (get_current_thread): Use "find current thread" for test message
14184 here rather than having all callers pass down the same string.
14185 (goto_loop): New procedure, factored out from ...
14186 (my_continue): ... this.
14187 (step_ten_loops): Change parameter from test message to command to
14188 use. Adjust.
14189 (list_count): Delete global.
14190 (check_result): New procedure, factored out from duplicate top
14191 level code.
14192 (continue tests): Wrap in with_test_prefix.
14193 (test_step): New procedure, factored out from duplicate top level
14194 code.
14195 (top level): Test "step" in combination with all scheduler-locking
14196 modes. Test "next" in combination with all scheduler-locking
14197 modes, and in combination with stepping over a function call or
14198 not.
14199 * gdb.threads/next-bp-other-thread.c: New file.
14200 * gdb.threads/next-bp-other-thread.exp: New file.
14201
14202 2014-10-29 Pedro Alves <palves@redhat.com>
14203
14204 PR python/17372
14205 * gdb.python/python.exp: Test a multi-line command that spawns
14206 interactive Python.
14207 * gdb.base/multi-line-starts-subshell.exp: New file.
14208
14209 2014-10-29 Yao Qi <yao@codesourcery.com>
14210
14211 * gdb.base/fileio.exp: Make directories on host.
14212
14213 2014-10-29 Yao Qi <yao@codesourcery.com>
14214
14215 * gdb.base/fileio.c (test_write): Close the file.
14216
14217 2014-10-28 Pedro Alves <palves@redhat.com>
14218
14219 PR gdb/12623
14220 * gdb.base/sigstep.c (no_handler): New global.
14221 (main): If 'no_handler is true, set the signal handlers to
14222 SIG_IGN.
14223 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14224 with_sw_watch and no_handler parameters. Handle them.
14225 (top level) <stepping over handler when stopped at a breakpoint
14226 test>: Add a test axis for testing with a software watchpoint, and
14227 another for testing with the signal handler set to SIG_IGN.
14228 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14229 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14230
14231 2014-10-28 Pedro Alves <palves@redhat.com>
14232
14233 PR gdb/17511
14234 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14235 * gdb.base/sigstep.exp (other_handler_location): New global.
14236 (advance): Support stepping into the signal handler, and running
14237 commands while in the handler.
14238 (in_handler_map): New global.
14239 (top level): In the advance test, add combinations for getting
14240 into the handler with stepping commands, and for running commands
14241 in the handler. Add comment descripting the advancei tests.
14242
14243 2014-10-28 Pedro Alves <palves@redhat.com>
14244
14245 * gdb.base/sigstep.exp: Use build_executable instead of
14246 prepare_for_testing.
14247 (top level): Move code that starts GDB, runs to main and creates a
14248 display to ...
14249 (restart): ... this new procedure.
14250 (top level): Move backtrace from signal handler test to ...
14251 (validate_backtrace): ... this new procedure.
14252 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14253 with_test_prefix. Always restart GDB.
14254 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14255 with_test_prefix. Always restart GDB. No need to delete
14256 breakpoints after the test.
14257 (test_skip_handler): Remove prefix parameter.
14258 (skip_over_handler, breakpoint_to_handler)
14259 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14260 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14261 restart GDB. No need to delete breakpoints after the test.
14262 (top level): Use foreach to call the test procedures with
14263 different commands.
14264
14265 2014-10-28 Pedro Alves <palves@redhat.com>
14266
14267 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14268 instead of GNATS numbers.
14269 * gdb.base/sigbpt.exp: Likewise.
14270 * gdb.base/siginfo.exp: Likewise.
14271 * gdb.base/sigstep.exp: Likewise.
14272
14273 2014-10-27 Pedro Alves <palves@redhat.com>
14274
14275 * gdb.base/sigstep.c (dummy): New global.
14276 (main): Issue a couple writes to the new global.
14277 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14278 procedures.
14279 (skip_over_handler): Use test_skip_handler.
14280 (top level): Call skip_over_handler for stepi and nexti too.
14281 (breakpoint_over_handler): Use test_skip_handler.
14282 (top level): Call breakpoint_over_handler for stepi and nexti too.
14283
14284 2014-10-27 Yao Qi <yao@codesourcery.com>
14285
14286 * gdb.trace/tfile.c (adjust_function_address)
14287 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14288 function descriptor.
14289
14290 2014-10-24 Don Breazeal <donb@codesourcery.com>
14291
14292 * gdb.base/foll-fork.exp (test_follow_fork,
14293 catch_fork_child_follow): Check for updated fork messages emitted
14294 from infrun.c.
14295 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14296 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14297 vfork_and_exec_child_follow_through_step): Check for updated vfork
14298 messages emitted from infrun.c.
14299
14300 2014-10-24 Pedro Alves <palves@redhat.com>
14301
14302 * gdb.base/corefile.exp: Remove references to ultrix.
14303 * gdb.base/interrupt.exp: Likewise.
14304 * gdb.base/whatis.exp: Likewise.
14305 * gdb.gdb/selftest.exp: Likewise.
14306 * gdb.threads/manythreads.exp: Likewise.
14307 * gdb.threads/print-threads.exp: Likewise.
14308 * gdb.threads/pthreads.exp:: Likewise.
14309 * gdb.threads/schedlock.exp: Likewise.
14310
14311 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14312
14313 * gdb.cp/non-trivial-retval.cc: Add a test case.
14314 * gdb.cp/non-trivial-retval.exp: Add a test.
14315
14316 2014-10-20 Yao Qi <yao@codesourcery.com>
14317
14318 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14319 * gdb.python/py-objfile-script-gdb.py: New file.
14320 * gdb.python/py-objfile-script.exp: Update reference to
14321 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14322 of remote_download. Remove the dest file.
14323
14324 2014-10-20 Yao Qi <yao@codesourcery.com>
14325
14326 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14327 * gdb.base/step-line.exp: Likewise.
14328 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14329 * gdb.dwarf2/dw2-basic.exp: Likewise.
14330 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14331 * gdb.dwarf2/dw2-filename.exp: Likewise.
14332 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14333 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14334 * gdb.dwarf2/dw2-producer.exp: Likewise.
14335 * gdb.dwarf2/mac-fileno.exp: Likewise.
14336 * gdb.python/py-frame-args.exp: Likewise.
14337 * gdb.python/py-framefilter.exp: Likewise.
14338 * gdb.python/py-mi.exp: Likewise.
14339 * gdb.python/py-objfile-script.exp: Likewise
14340 * gdb.python/py-pp-integral.exp: Likewise.
14341 * gdb.python/py-pp-re-notag.exp: Likewise.
14342 * gdb.python/py-prettyprint.exp: Likewise.
14343 * gdb.python/py-section-script.exp: Likewise.
14344 * gdb.python/py-typeprint.exp: Likewise.
14345 * gdb.python/py-xmethods.exp: Likewise.
14346 * gdb.stabs/weird.exp: Likewise.
14347 * gdb.xml/tdesc-regs.exp: Likewise.
14348
14349 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14350
14351 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14352 (out_cu): Use addr_len for the size of addresses.
14353 (out_line): Likewise. Size DW_LNE_set_address instruction
14354 according to addr_len.
14355 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14356 (FUNC): Add START_INSNS to definition.
14357
14358 2014-10-18 Yao Qi <yao@codesourcery.com>
14359
14360 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14361 gdb_has_argv0 return true.
14362 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14363 check [target_info exists noargs], check [gdb_has_argv0]
14364 instead.
14365 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14366 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14367 procedures.
14368
14369 2014-10-17 Doug Evans <dje@google.com>
14370
14371 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14372 event.
14373 * gdb.python/py-events.py: Add clear_objfiles event.
14374
14375 2014-10-17 Doug Evans <dje@google.com>
14376
14377 * gdb.python/py-objfile.exp: Test progspace attribute.
14378
14379 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14380
14381 * gdb.guile/scm-breakpoint.exp: Do not assume any
14382 directory separators when matching source file paths.
14383 * gdb.python/py-breakpoint.exp: Likewise.
14384 * gdb.reverse/break-precsave.exp: Likewise.
14385 * gdb.reverse/break-reverse.exp: Likewise.
14386 * gdb.reverse/consecutive-precsave.exp: Likewise.
14387 * gdb.reverse/finish-precsave.exp: Likewise.
14388 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14389 * gdb.reverse/finish-reverse.exp: Likewise.
14390 * gdb.reverse/i386-precsave.exp: Likewise.
14391 * gdb.reverse/i387-env-reverse.exp: Likewise.
14392 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14393 * gdb.reverse/machinestate-precsave.exp: Likewise.
14394 * gdb.reverse/machinestate.exp: Likewise.
14395 * gdb.reverse/sigall-precsave.exp: Likewise.
14396 * gdb.reverse/solib-precsave.exp: Likewise.
14397 * gdb.reverse/step-precsave.exp: Likewise.
14398 * gdb.reverse/until-precsave.exp: Likewise.
14399 * gdb.reverse/watch-precsave.exp: Likewise.
14400 * gdb.reverse/watch-reverse.exp: Likewise.
14401
14402 2014-10-17 Yao Qi <yao@codesourcery.com>
14403
14404 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14405 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14406
14407 2014-10-17 Pedro Alves <palves@redhat.com>
14408
14409 PR gdb/17471
14410 * gdb.base/bg-execution-repeat.c: New file.
14411 * gdb.base/bg-execution-repeat.exp: New file.
14412
14413 2014-10-17 Pedro Alves <palves@redhat.com>
14414
14415 PR gdb/17300
14416 * gdb.base/continue-all-already-running.c: New file.
14417 * gdb.base/continue-all-already-running.exp: New file.
14418
14419 2014-10-17 Pedro Alves <palves@redhat.com>
14420
14421 PR gdb/17472
14422 * gdb.base/annota-input-while-running.c: New file.
14423 * gdb.base/annota-input-while-running.exp: New file.
14424
14425 2014-10-17 Pedro Alves <palves@redhat.com>
14426
14427 * gdb.base/callfuncs.exp: emove references to osf.
14428 * gdb.base/sigall.exp: Likewise.
14429 * gdb.gdb/selftest.exp: Likewise.
14430 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14431 * gdb.mi/non-stop.c: Likewise.
14432 * gdb.mi/pthreads.c: Likewise.
14433 * gdb.reverse/sigall-precsave.exp: Likewise.
14434 * gdb.reverse/sigall-reverse.exp: Likewise.
14435 * gdb.threads/pthreads.c: Likewise.
14436 * gdb.threads/pthreads.exp: Likewise.
14437
14438 2014-10-17 Yao Qi <yao@codesourcery.com>
14439
14440 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14441 check 'target_info exists noargs'.
14442 (test_command_prompt_position): Likewise.
14443 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14444 Remove "set args".
14445 (progvar_simple_while_test): Likewise.
14446 (progvar_complex_if_while_test): Likewise.
14447 (if_while_breakpoint_command_test): Likewise.
14448 (infrun_breakpoint_command_test): Likewise.
14449 (breakpoint_command_test): Likewise.
14450 (watchpoint_command_test): Likewise.
14451 (bp_deleted_in_command_test): Likewise.
14452 (temporary_breakpoint_commands): Likewise.
14453
14454 2014-10-16 Yao Qi <yao@codesourcery.com>
14455
14456 * gdb.base/remotetimeout.exp: Remove noargs checking.
14457
14458 2014-10-15 Pedro Alves <palves@redhat.com>
14459
14460 PR breakpoints/9649
14461 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14462 * gdb.base/breakpoint-in-ro-region.exp
14463 (probe_target_hardware_step): New procedure.
14464 (top level): Probe hardware stepping and hardware breakpoint
14465 support. Test stepping through a read-only region, with both
14466 "breakpoint auto-hw" on and off and both "always-inserted" on and
14467 off.
14468
14469 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14470
14471 * gdb.dlang/demangle.exp: Update for demangling changes.
14472
14473 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14474
14475 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14476 * gdb.cp/non-trivial-retval.exp: Add new tests.
14477
14478 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14479
14480 PR c++/13403
14481 PR c++/15154
14482 * gdb.cp/non-trivial-retval.cc: New file.
14483 * gdb.cp/non-trivial-retval.exp: New file.
14484
14485 2014-10-15 Yao Qi <yao@codesourcery.com>
14486
14487 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14488 remote host.
14489
14490 2014-10-15 Yao Qi <yao@codesourcery.com>
14491
14492 * gdb.python/py-symbol.exp: Match file base name if host is
14493 remote, otherwise match file name with dir name.
14494 * gdb.python/py-symtab.exp: Likewise.
14495 * gdb.python/python.exp: Likewise.
14496
14497 2014-10-15 Yao Qi <yao@codesourcery.com>
14498
14499 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14500 pattern.
14501 * gdb.python/py-symtab.exp: Likewise.
14502 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14503 locationn.
14504
14505 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14506
14507 * gdb.ada/addr_arith: New testcase.
14508
14509 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14510
14511 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14512 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14513 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14514 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14515
14516 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14517
14518 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14519 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14520 * gdb.arch/stap-eval-lang-ada.exp: New file.
14521
14522 2014-10-14 Yao Qi <yao@codesourcery.com>
14523
14524 * gdb.mi/mi-var-child.c (nothing1): New function.
14525 (nothing2): New function.
14526 (do_children_tests): Set function pointers by nothing1 and
14527 nothing2.
14528 * gdb.mi/mi-var-child.exp: Step over new added statements.
14529 Update test to match the new output.
14530 * gdb.mi/var-cmd.c (nothing1): New function.
14531 (nothing2): New function.
14532 (do_children_tests): Set function pointers by nothing1 and
14533 nothing2.
14534 * gdb.mi/mi-var-display.exp: Update test to match output.
14535 Step to the line specified by $line_dct_nothing.
14536 Increase the number of lines to step.
14537
14538 2014-10-14 Yao Qi <yao@codesourcery.com>
14539
14540 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14541 tests.
14542 * gdb.mi/mi2-var-child.exp: Likewise.
14543
14544 2014-10-13 Doug Evans <dje@google.com>
14545
14546 * gdb.python/py-objfile.exp: Change name of file name test.
14547
14548 2014-10-13 Doug Evans <dje@google.com>
14549
14550 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14551 from the start of the CU.
14552
14553 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14554 Yao Qi <yao@codesourcery.com>
14555
14556 Fix "save breakpoints" for "catch" command.
14557 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14558 Remove -nonewline. Match also the added "main" line.
14559
14560 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14561
14562 Fix "save breakpoints" for "disable $bpnum" command.
14563 * gdb.base/save-bp.c (main): Add label.
14564 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14565
14566 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14567
14568 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14569
14570 2014-10-11 Yao Qi <yao@codesourcery.com>
14571
14572 * gdb.server/server-kill.exp: Execute command
14573 "set remote trace-status-packet on" before "tstatus".
14574
14575 2014-10-11 Yao Qi <yao@codesourcery.com>
14576
14577 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14578 (main): Call getppid.
14579 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14580 and continue to it. Read variable "server_pid".
14581
14582 2014-10-11 Yao Qi <yao@codesourcery.com>
14583
14584 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14585
14586 2014-10-11 Yao Qi <yao@codesourcery.com>
14587
14588 * gdb.threads/thread-find.exp: Don't execute command
14589 "info threads".
14590 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14591 * gdb.threads/linux-dp.exp: Don't check the condition
14592 $threads_created equals to zero.
14593
14594 2014-10-10 Pedro Alves <palves@redhat.com>
14595
14596 * gdb.base/bigcore.exp: Remove references to IRIX.
14597 * gdb.base/funcargs.exp: Likewise.
14598 * gdb.base/interrupt.exp: Likewise.
14599 * gdb.base/mips_pro.exp: Likewise.
14600 * gdb.base/nodebug.exp: Likewise.
14601 * gdb.base/setvar.exp: Likewise.
14602 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14603
14604 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14605 Pedro Alves <palves@redhat.com>
14606
14607 PR symtab/14466
14608 * gdb.base/vdso-warning.c: New file.
14609 * gdb.base/vdso-warning.exp: New file.
14610
14611 2014-10-02 Doug Evans <dje@google.com>
14612
14613 * gdb.base/structs.c (main): Don't run forever.
14614
14615 2014-10-02 Pedro Alves <palves@redhat.com>
14616
14617 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14618 (top level) <stop threads 1, stop threads 2>: Use it.
14619
14620 2014-10-02 Pedro Alves <palves@redhat.com>
14621
14622 * gdb.threads/break-while-running.exp (test): Add new
14623 'update_thread_list' argument. Skip "info threads" if false.
14624 (top level): Add new 'update_thread_list' axis.
14625
14626 2014-10-02 Pedro Alves <palves@redhat.com>
14627
14628 PR breakpoints/17431
14629 * gdb.base/execl-update-breakpoints.c: New file.
14630 * gdb.base/execl-update-breakpoints.exp: New file.
14631
14632 2014-10-01 Pedro Alves <palves@redhat.com>
14633
14634 * gdb.base/breakpoint-in-ro-region.c: New file.
14635 * gdb.base/breakpoint-in-ro-region.exp: New file.
14636
14637 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14638
14639 * gdb.mi/mi-exit-code.exp: New file.
14640 * gdb.mi/mi-exit-code.c: New file.
14641
14642 2014-09-30 Yao Qi <yao@codesourcery.com>
14643
14644 * lib/prelink-support.exp (build_executable_own_libs): Error if
14645 the target isn't native.
14646
14647 2014-09-30 Yao Qi <yao@codesourcery.com>
14648
14649 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14650 false.
14651
14652 2014-09-22 Pedro Alves <palves@redhat.com>
14653
14654 * gdb.threads/break-while-running.exp: New file.
14655 * gdb.threads/break-while-running.c: New file.
14656
14657 2014-09-19 Yao Qi <yao@codesourcery.com>
14658
14659 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14660 Invoke test. Restart GDB with --readnow and invoke test again.
14661
14662 2014-09-19 Yao Qi <yao@codesourcery.com>
14663
14664 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14665 proc set_breakpoint_on_gcd_function. Invoke
14666 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14667 invoke set_breakpoint_on_gcd_function again.
14668
14669 2014-09-18 Doug Evans <dje@google.com>
14670
14671 * gdb.dwarf2/symtab-producer.exp: New file.
14672
14673 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14674
14675 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14676 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14677 * gdb.base/global-var-nested-by-dso.c: Likewise.
14678 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14679
14680 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14681 Pedro Alves <palves@redhat.com>
14682
14683 * gdb.base/watch-bitfields.exp: Pass string other than test file
14684 name to prepare_for_testing.
14685 (watch): New procedure.
14686 (expect_watchpoint): Use with_test_prefix.
14687 (top level): Factor out tests to ...
14688 (test_watch_location, test_regular_watch): ... these new
14689 procedures, and use with_test_prefix and gdb_continue_to_end.
14690
14691 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14692
14693 PR breakpoints/12526
14694 * gdb.base/watch-bitfields.exp: New file.
14695 * gdb.base/watch-bitfields.c: New file.
14696
14697 2014-09-16 Pedro Alves <palves@redhat.com>
14698
14699 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14700 software and hardware addresses, not software address against
14701 itself.
14702
14703 2014-09-16 Pedro Alves <palves@redhat.com>
14704
14705 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14706 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14707
14708 2014-09-16 Pedro Alves <palves@redhat.com>
14709
14710 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14711 files.
14712 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14713 "*-*-vxworks*" throughout.
14714 * gdb.base/break.exp: Likewise.
14715 * gdb.base/default.exp: Likewise.
14716 * gdb.base/scope.exp: Likewise.
14717 * gdb.base/sepdebug.exp: Likewise.
14718 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14719 throughout.
14720 * gdb.base/run.c: Likewise.
14721 * gdb.base/sepdebug.c: Likewise.
14722 * gdb.hp/gdb.aCC/run.c: Likewise.
14723 * gdb.reverse/until-reverse.c: Likewise.
14724 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14725
14726 2014-09-16 Yao Qi <yao@codesourcery.com>
14727
14728 * boards/local-remote-host-native.exp: New file.
14729
14730 2014-09-14 Doug Evans <xdje42@gmail.com>
14731
14732 * gdb.threads/queue-signal.c (thread_count): New variable.
14733 (thread_count_mutex, thread_count_condvar): New variables.
14734 (incr_thread_count, wait_all_threads_running): New functions.
14735 (main): Wait for all threads to be in their thread functions.
14736
14737 2014-09-13 Doug Evans <xdje42@gmail.com>
14738
14739 * gdb.threads/queue-signal.c: New file.
14740 * gdb.threads/queue-signal.exp: New file.
14741
14742 2014-09-13 Doug Evans <xdje42@gmail.com>
14743
14744 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14745 be consistent with what default_gdb_init uses.
14746 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14747 the plain text of the prompt. Add some logging printfs.
14748 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14749
14750 2014-09-12 Pedro Alves <palves@redhat.com>
14751
14752 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14753 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14754 * gdb.arch/i386-size-overlap.exp: Likewise.
14755 * gdb.arch/i386-size.exp: Likewise.
14756 * gdb.arch/i386-unwind.exp: Likewise.
14757 * gdb.base/a2-run.exp: Likewise.
14758 * gdb.base/break.exp: Likewise.
14759 * gdb.base/charset.exp: Likewise.
14760 * gdb.base/chng-syms.exp: Likewise.
14761 * gdb.base/commands.exp: Likewise.
14762 * gdb.base/dbx.exp: Likewise.
14763 * gdb.base/find.exp: Likewise.
14764 * gdb.base/funcargs.exp: Likewise.
14765 * gdb.base/jit-simple.exp: Likewise.
14766 * gdb.base/reread.exp: Likewise.
14767 * gdb.base/sepdebug.exp: Likewise.
14768 * gdb.base/step-bt.exp: Likewise.
14769 * gdb.cp/mb-inline.exp: Likewise.
14770 * gdb.cp/mb-templates.exp: Likewise.
14771 * gdb.objc/basicclass.exp: Likewise.
14772 * gdb.threads/killed.exp: Likewise.
14773
14774 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14775
14776 PR tdep/17379
14777 * gdb.arch/powerpc-stackless.S: New file.
14778 * gdb.arch/powerpc-stackless.exp: New file.
14779
14780 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14781
14782 * gdb.base/attach.c: Include unistd.h.
14783 (main): Call alarm. Add label postloop.
14784 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14785 gdb_breakpoint, gdb_continue_to_breakpoint.
14786 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14787
14788 2014-09-11 Pedro Alves <palves@redhat.com>
14789
14790 PR gdb/17347
14791 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14792 * gdb.base/attach.exp (test_command_line_attach_run): New
14793 procedure.
14794 (top level): Call it.
14795
14796 2014-09-11 Pedro Alves <palves@redhat.com>
14797
14798 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14799 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14800 (do_command_attach_tests): Use spawn_wait_for_attach.
14801 * gdb.base/solib-overlap.exp: Likewise.
14802 * gdb.multi/multi-attach.exp: Likewise.
14803 * gdb.python/py-prompt.exp: Likewise.
14804 * gdb.python/py-sync-interp.exp: Likewise.
14805 * gdb.server/ext-attach.exp: Likewise.
14806
14807 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14808
14809 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14810 command in testcase. Simplify testcase.
14811
14812 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14813
14814 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14815
14816 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14817
14818 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14819
14820 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14821
14822 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14823
14824 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14825
14826 * gdb.dwarf2/dynarr-ptr.c: New file.
14827 * gdb.dwarf2/dynarr-ptr.exp: New file.
14828
14829 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14830
14831 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14832 of 30 rather than hardcoding 120 for a slow test case. Take the
14833 `gdb,timeout' target setting into account for this calculation.
14834 Don't extend the timeout for the test cases that don't need it.
14835
14836 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14837
14838 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14839 a factor of 2 for a slow test case. Take the `gdb,timeout'
14840 target setting into account for this calculation.
14841 * gdb.reverse/until-precsave.exp: Increase the timeout by
14842 a factor of 15 and 3 respectively rather than adding 120
14843 for a pair of slow test cases. Take the `gdb,timeout'
14844 target setting into account for this calculation.
14845
14846 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14847
14848 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14849 timeout, don't pass one down to gdb_expect.
14850 (gdb_expect): Rework timeout selection.
14851
14852 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14853
14854 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14855 exception on timeout.
14856 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14857 (gdbserver_start_extended): Catch any `gdbserver_start' error
14858 exceptions.
14859 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14860 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14861 `gdbserver_gdb_load' error exceptions.
14862
14863 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14864
14865 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14866 120 on waiting for the TCP socket to open.
14867
14868 2014-09-09 Doug Evans <xdje42@gmail.com>
14869
14870 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14871 _caller_matches, _any_caller_is, _any_caller_matches.
14872
14873 2014-09-09 Doug Evans <xdje42@gmail.com>
14874
14875 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14876
14877 2014-09-09 Yao Qi <yao@codesourcery.com>
14878
14879 * gdb.mi/mi-var-display.exp: Set print symbol off.
14880
14881 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14882
14883 PR gdb/17035
14884 * gdb.base/commands.exp: Add tests to verify user-defined
14885 commands with empty bodies.
14886 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14887 python commands in `show user command`.
14888 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14889 scheme commands in `show user command`.
14890
14891 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14892
14893 PR python/17355
14894 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14895 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14896 * gdb.python/py-framefilter-invalidarg.exp: New file.
14897 * gdb.python/py-framefilter-invalidarg.py: New file.
14898
14899 2014-09-06 Doug Evans <xdje42@gmail.com>
14900
14901 PR 15276
14902 * gdb.python/py-caller-is.c: New file.
14903 * gdb.python/py-caller-is.exp: New file.
14904
14905 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14906
14907 PR gdb/17235
14908 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14909 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14910
14911 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14912
14913 PR fortran/17237
14914 * gdb.fortran/print-formatted.exp: New file.
14915 * gdb.fortran/print-formatted.f90: Likewise.
14916
14917 2014-09-03 Sasha Smundak <asmundak@google.com>
14918
14919 * gdb.python/py-frame.exp: Test Frame.read_register.
14920
14921 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14922
14923 PR python/16699
14924 * gdb.python/py-completion.exp: New file.
14925 * gdb.python/py-completion.py: Likewise.
14926
14927 2014-08-28 Doug Evans <dje@google.com>
14928
14929 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14930 eax,etc. are live with values set by gdb and thus the compiler can't
14931 use them.
14932 * gdb.arch/i386-pseudo.c (main): Ditto.
14933
14934 2014-08-27 Doug Evans <dje@google.com>
14935
14936 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14937
14938 2014-08-25 Doug Evans <dje@google.com>
14939
14940 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14941 (main): Ditto.
14942
14943 2014-08-25 Doug Evans <dje@google.com>
14944
14945 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14946
14947 2014-08-24 Yao Qi <yao@codesourcery.com>
14948
14949 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14950 symbol off.
14951 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14952
14953 2014-08-22 Doug Evans <dje@google.com>
14954
14955 PR 17276
14956 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14957 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14958 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14959
14960 2014-08-22 Yao Qi <yao@codesourcery.com>
14961
14962 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14963 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14964 * gdb.python/python.exp: Likewise. Use .py file on the host
14965 instead of the build.
14966
14967 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14968
14969 * gdb.threads/gcore-stale-thread.c: New file.
14970 * gdb.threads/gcore-stale-thread.exp: New file.
14971
14972 2014-08-21 Pedro Alves <palves@redhat.com>
14973
14974 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14975 * gdb.base/gcore-relro-pie.exp: Likewise.
14976 * gdb.base/gcore-relro.exp: Likewise.
14977 * gdb.base/gcore.exp: Likewise.
14978 * gdb.base/print-symbol-loading.exp: Likewise.
14979 * gdb.threads/gcore-thread.exp: Likewise.
14980 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14981
14982 2014-08-20 Pedro Alves <palves@redhat.com>
14983 Jan Kratochvil <jan.kratochvil@redhat.com>
14984
14985 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14986 configure.
14987 (EXPECT): Handle READ1 being set.
14988 (all): Depend on EXTRA_RULES.
14989 (check-read1, expect-read1, read1.so, read1): New rules.
14990 * README (Testsuite Parameters): Document the READ1 make variable.
14991 (Race detection): New section.
14992 * configure: Regenerate.
14993 * configure.ac: If build==host==target, and running under a
14994 GNU/glibc system, add read1 to the extra Makefile rules.
14995 (EXTRA_RULES): AC_SUBST it.
14996 * lib/read1.c: New file.
14997
14998 2014-08-20 Joel Brobecker <brobecker@adacore.com>
14999
15000 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15001 the handling of variables declared as a typedef to an array
15002 which a DW_AT_data_location attribute.
15003
15004 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15005 Pedro Alves <palves@redhat.com>
15006
15007 PR symtab/14604
15008 PR symtab/14605
15009 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15010 gdb_test.
15011
15012 2014-08-19 Pedro Alves <palves@redhat.com>
15013
15014 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15015
15016 2014-08-19 Yao Qi <yao@codesourcery.com>
15017
15018 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15019 right line.
15020
15021 2014-08-18 David Blaikie <dblaikie@gmail.com>
15022
15023 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15024
15025 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15026
15027 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15028 attribute in array range.
15029
15030 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15031
15032 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15033
15034 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15035
15036 PR c++/17132
15037 * gdb.cp/pr17132.cc: New file.
15038 * gdb.cp/pr17132.exp: New file.
15039
15040 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15041
15042 * gdb.python/py-xmethods.py (A_getarrayind)
15043 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15044 Use 'print' with function call syntax.
15045 (E_method_matcher.match): Fix tab vs space indentation mixup.
15046
15047 2014-08-15 Yao Qi <yao@codesourcery.com>
15048
15049 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15050 false.
15051
15052 2014-08-15 Yao Qi <yao@codesourcery.com>
15053
15054 * gdb.cp/casts.exp: Set print symbol off.
15055 * gdb.cp/class2.exp: Likewise.
15056 * gdb.cp/overload.exp: Likewise.
15057 * gdb.cp/templates.exp: Likewise.
15058
15059 2014-08-11 Doug Evans <dje@google.com>
15060
15061 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15062 (test_load_shlib): Update.
15063
15064 2014-08-09 Yao Qi <yao@codesourcery.com>
15065
15066 * gdb.base/display.exp: Invoke is_address_zero_readable.
15067 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15068 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15069 * gdb.base/hbreak-unmapped.exp: Return if
15070 is_address_zero_readable returns true.
15071 * gdb.base/signest.exp: Likewise.
15072 * gdb.base/signull.exp: Likewise.
15073 * gdb.base/sigbpt.exp: Likewise.
15074 * gdb.guile/scm-disasm.exp: Do the test if
15075 is_address_zero_readable returns false.
15076 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15077 * gdb.python/py-arch.exp: Likewise.
15078 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15079 * lib/gdb.exp (is_address_zero_readable): New proc.
15080
15081 2014-08-09 Yao Qi <yao@codesourcery.com>
15082
15083 PR testsuite/13443
15084 * gdb.mi/mi-var-display.exp: Make test messages unique.
15085
15086 2014-08-04 Tom Tromey <tromey@redhat.com>
15087
15088 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15089 target 0".
15090
15091 2014-08-04 Tom Tromey <tromey@redhat.com>
15092
15093 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15094 "target_resume".
15095
15096 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15097
15098 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15099 inner_vla_struct_object_size.
15100 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15101 as xfail.
15102
15103 2014-07-30 Pedro Alves <palves@redhat.com>
15104
15105 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15106 comment.
15107
15108 2014-07-29 Yao Qi <yao@codesourcery.com>
15109
15110 PR gdb/17206
15111 * gdb.base/until-nodebug.exp: New.
15112
15113 2014-07-28 Doug Evans <xdje42@gmail.com>
15114
15115 PR guile/17203
15116 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15117 previously existing parameter, and previously ambiguously spelled
15118 parameter.
15119
15120 2014-07-28 Will Newton <will.newton@linaro.org>
15121
15122 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15123
15124 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15125 Doug Evans <xdje42@gmail.com>
15126
15127 PR guile/17146
15128 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15129
15130 2014-07-25 Pedro Alves <palves@redhat.com>
15131
15132 * gdb.threads/signal-command-handle-nopass.c: New file.
15133 * gdb.threads/signal-command-handle-nopass.exp: New file.
15134 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15135 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15136 * gdb.threads/signal-delivered-right-thread.c: New file.
15137 * gdb.threads/signal-delivered-right-thread.exp: New file.
15138
15139 2014-07-25 Pedro Alves <palves@redhat.com>
15140
15141 * gdb.base/double-prompt-target-event-error.exp
15142 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15143 match.
15144 (cancel_pagination_in_target_event): Rework double prompt
15145 detection.
15146 * gdb.base/paginate-after-ctrl-c-running.exp
15147 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15148 <return>' match.
15149 * gdb.base/paginate-bg-execution.exp
15150 (test_bg_execution_pagination_return)
15151 (test_bg_execution_pagination_cancel): Remove '-notransfer
15152 <return>' matches.
15153 * gdb.base/paginate-execution-startup.exp
15154 (test_fg_execution_pagination_return)
15155 (test_fg_execution_pagination_cancel): Remove '-notransfer
15156 <return>' matches.
15157 * gdb.base/paginate-inferior-exit.exp
15158 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15159 match.
15160 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15161 * lib/gdb.exp (pagination_prompt): Run text through
15162 string_to_regexp.
15163 (gdb_test_multiple): Match $pagination_prompt instead of
15164 "<return>".
15165 (string_to_regexp): Move to lib/gdb-utils.exp.
15166
15167 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15168
15169 * gdb.arch/amd64-entry-value-paramref.S: New file.
15170 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15171 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15172 * gdb.arch/amd64-optimout-repeat.S: New file.
15173 * gdb.arch/amd64-optimout-repeat.c: New file.
15174 * gdb.arch/amd64-optimout-repeat.exp: New file.
15175
15176 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15177
15178 PR gdb/17170
15179 * gdb.base/statistics.exp: New file.
15180
15181 2014-07-17 Doug Evans <dje@google.com>
15182
15183 PR gdb/17170
15184 * gdb.base/maint.exp: Update testing of per-command stats.
15185
15186 2014-07-16 Pedro Alves <palves@redhat.com>
15187
15188 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15189 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15190 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15191 (tfile_write_buf): New functions.
15192 (add_memory_block): Rewrite using the above.
15193 (adjust_function_address): New function.
15194 (FUNCTION_ADDRESS): New macro.
15195 (write_basic_trace_file): Remove short_x local, and use
15196 tfile_write_16. Change type of func_addr local to unsigned long
15197 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15198 here. Cast argument of add_memory_block to char pointer.
15199 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15200 (main): Remove parameters.
15201 * gdb.trace/tfile.exp: Remove nowarnings.
15202
15203 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15204
15205 * gdb.base/debug-expr.exp: Test string evaluation with
15206 "debug expression" on.
15207
15208 2014-07-15 Pedro Alves <palves@redhat.com>
15209
15210 * gdb.base/reread.exp: Use clean_restart.
15211
15212 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15213
15214 * gdb.arch/avr-flash-qualifer.c: New.
15215 * gdb.arch/avr-flash-qualifer.exp: New.
15216
15217 2014-07-14 Pedro Alves <palves@redhat.com>
15218
15219 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15220 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15221
15222 2014-07-14 Pedro Alves <palves@redhat.com>
15223
15224 * gdb.base/double-prompt-target-event-error.c: New file.
15225 * gdb.base/double-prompt-target-event-error.exp: New file.
15226
15227 2014-07-14 Pedro Alves <palves@redhat.com>
15228
15229 PR gdb/17072
15230 * gdb.base/paginate-inferior-exit.c: New file.
15231 * gdb.base/paginate-inferior-exit.exp: New file.
15232
15233 2014-07-14 Pedro Alves <palves@redhat.com>
15234
15235 PR gdb/17072
15236 * gdb.base/paginate-bg-execution.c: New file.
15237 * gdb.base/paginate-bg-execution.exp: New file.
15238
15239 2014-07-14 Pedro Alves <palves@redhat.com>
15240
15241 PR gdb/17072
15242 * gdb.base/paginate-execution-startup.c: New file.
15243 * gdb.base/paginate-execution-startup.exp: New file.
15244 * lib/gdb.exp (pagination_prompt): New global.
15245 (default_gdb_spawn): New procedure, factored out from
15246 default_gdb_spawn.
15247 (default_gdb_start): Adjust to call default_gdb_spawn.
15248 (gdb_spawn): New procedure.
15249
15250 2014-07-14 Pedro Alves <palves@redhat.com>
15251
15252 * lib/gdb.exp (gdb_assert): New procedure.
15253 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15254
15255 2014-07-14 Pedro Alves <palves@redhat.com>
15256
15257 * gdb.base/execution-termios.c: New file.
15258 * gdb.base/execution-termios.exp: New file.
15259
15260 2014-07-14 Tom Tromey <tromey@redhat.com>
15261
15262 * gdb.cp/vla-cxx.cc: New file.
15263 * gdb.cp/vla-cxx.exp: New file.
15264
15265 2014-07-14 Tom Tromey <tromey@redhat.com>
15266
15267 * gdb.reverse/rerun-prec.c: New file.
15268 * gdb.reverse/rerun-prec.exp: New file.
15269
15270 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15271 Maciej W. Rozycki <macro@codesourcery.com>
15272
15273 * lib/gdb-utils.exp: New file.
15274 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15275 inline `gdb_init_command' processing.
15276 (gdb_start_cmd): Likewise.
15277 * lib/mi-support.exp (mi_run_cmd): Likewise.
15278 * README: Document `gdb_init_command' and `gdb_init_commands'.
15279
15280 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15281
15282 Fix false FAIL running under a very long directory name.
15283 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15284 and "set print elements 10000". Twice.
15285
15286 2014-07-11 Yao Qi <yao@codesourcery.com>
15287
15288 * gdb.base/exprs.exp: "set print symbol off".
15289
15290 2014-07-11 Pedro Alves <palves@redhat.com>
15291
15292 * gdb.threads/kill.c: New file.
15293 * gdb.threads/kill.exp: New file.
15294
15295 2014-07-10 Yao Qi <yao@codesourcery.com>
15296
15297 * gdb.trace/tfile.c (write_basic_trace_file)
15298 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15299 address written to trace file.
15300
15301 2014-07-09 Pedro Alves <palves@redhat.com>
15302
15303 * gdb.base/attach-wait-input.exp: New file.
15304 * gdb.base/attach-wait-input.c: New file.
15305
15306 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15307
15308 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15309 setting up test structures.
15310 (main): Call new test function.
15311 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15312 test function, continue into test function and walk test
15313 structures.
15314
15315 2014-07-02 Yao Qi <yao@codesourcery.com>
15316
15317 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15318 'bar_start' at the beginning of functions 'foo' and 'bar'
15319 respectively.
15320 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15321 instead of 'foo' and 'bar'.
15322
15323 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15324
15325 * gdb.btrace/segv.exp: New.
15326 * gdb.btrace/segv.c: New.
15327
15328 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15329
15330 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15331 instruction.
15332
15333 2014-06-30 Mark Wielaard <mjw@redhat.com>
15334
15335 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15336 vulture, vilify, villar): New volatile array constants.
15337 (vindictive, vegetation): New const volatile array constants.
15338 * gdb.base/volatile.exp: Test volatile and const volatile array
15339 types.
15340
15341 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15342
15343 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15344 target lacks support for awatch, rwatch, or hbreak.
15345
15346 2014-06-27 Yao Qi <yao@codesourcery.com>
15347
15348 * gdb.multi/dummy-frame-restore.exp: New.
15349 * gdb.multi/dummy-frame-restore.c: New.
15350
15351 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15352
15353 * gdb.btrace/gcore.exp: New.
15354
15355 2014-06-23 Pedro Alves <palves@redhat.com>
15356
15357 * gdb.base/watchpoint-reuse-slot.c: New file.
15358 * gdb.base/watchpoint-reuse-slot.exp: New file.
15359
15360 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15361
15362 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15363 progspace's filename in 'info', 'enable' and 'disable' command
15364 tests.
15365
15366 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15367
15368 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15369 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15370 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15371
15372 2014-06-20 Gary Benson <gbenson@redhat.com>
15373
15374 * gdb.arch/i386-avx.exp: Fix include file location.
15375 * gdb.arch/i386-sse.exp: Likewise.
15376
15377 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15378
15379 * gdb.dlang/expression.exp: New file.
15380
15381 2014-06-19 Pedro Alves <palves@redhat.com>
15382
15383 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15384 out from ...
15385 (top level): ... here. Iterate running tests under different
15386 scheduler-locking settings.
15387
15388 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15389
15390 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15391 to DW_FORM_addr and use non-zero addresses.
15392
15393 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15394
15395 PR gdb/17017
15396 * gdb.python/py-xmethods.cc: Add global function call counters and
15397 increment them in their respective functions. Remove "cout"
15398 statements.
15399 * gdb.python/py-xmethods.exp: Make tests check the global function
15400 call counters instead of depending on inferior IO.
15401
15402 2014-06-18 Don Breazeal <donb@codesourcery.com>
15403
15404 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15405 Deleted procedure.
15406 (explicit_fork_parent_follow): Deleted procedure.
15407 (explicit_fork_child_follow): Deleted procedure.
15408 (test_follow_fork): New procedure.
15409 (do_fork_tests): Replace calls to deleted procedures with
15410 calls to test_follow_fork and reset GDB for subsequent
15411 procedure calls.
15412
15413 2014-06-17 Yao Qi <yao@codesourcery.com>
15414
15415 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15416 CP1252.
15417
15418 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15419
15420 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15421 Initialize ptr and S explicitly.
15422 (skip_type_update_when_not_use_rtti_test): Likewise.
15423
15424 2014-06-16 Keith Seitz <keiths@redhat.com>
15425
15426 PR mi/15863
15427 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15428 the inferior is started.
15429
15430 2014-06-16 Pedro Alves <palves@redhat.com>
15431
15432 * gdb.base/break-main-file-remove-fail.c: New file.
15433 * gdb.base/break-main-file-remove-fail.exp: New file.
15434 * gdb.base/break-unload-file.exp: Use build_executable instead of
15435 prepare_for_testing.
15436 (test_break): New parameter "initial_load". Handle it.
15437 (top level): Add initial_load cmdline/file axis.
15438
15439 2014-06-12 Tom Tromey <tromey@redhat.com>
15440
15441 * gdb.base/completion.exp: Don't use directory name in test.
15442
15443 2014-06-09 Gary Benson <gbenson@redhat.com>
15444
15445 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15446 separate the always-available ANSI-standard signals from the
15447 signals that require checking.
15448 (main): Likewise.
15449 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15450 Likewise.
15451 (main): Likewise.
15452
15453 2014-06-07 Keith Seitz <keiths@redhat.com>
15454
15455 Revert:
15456 PR c++/16253
15457 * gdb.cp/var-tag.cc: New file.
15458 * gdb.cp/var-tag.exp: New file.
15459 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15460 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15461 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15462 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15463
15464 2014-06-06 Doug Evans <xdje42@gmail.com>
15465
15466 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15467
15468 2014-06-06 Pedro Alves <palves@redhat.com>
15469
15470 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15471 in target debug output instead of looking at RSP packets,
15472 disabling the test on any target that uses hardware stepping.
15473 Update comments.
15474
15475 2014-06-06 Pedro Alves <palves@redhat.com>
15476
15477 * gdb.base/break-unload-file.exp: Fix typo.
15478
15479 2014-06-06 Yao Qi <yao@codesourcery.com>
15480
15481 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15482 from "jit_function" to "^jit_function".
15483
15484 2014-06-06 Yao Qi <yao@codesourcery.com>
15485
15486 * gdb.base/async.c (foo): Add one statement.
15487 * gdb.base/async.exp: Get the next instruction address and
15488 match the output of "nexti" by instruction address. Match
15489 the hex address in the output of "finish".
15490
15491 2014-06-06 Gary Benson <gbenson@redhat.com>
15492
15493 * gdb.base/call-signals.c: Remove preprocessor conditionals
15494 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15495 SIGSEGV and SIGTERM.
15496 * gdb.base/sigall.c: Likewise.
15497 * gdb.base/unwindonsignal.c: Likewise.
15498 * gdb.reverse/sigall-reverse.c: Likewise.
15499
15500 2014-06-06 Yao Qi <yao@codesourcery.com>
15501
15502 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15503 readable, skip the test.
15504
15505 2014-06-06 Yao Qi <yao@codesourcery.com>
15506
15507 * gdb.threads/staticthreads.c (thread_function): Move the line
15508 setting breakpoint on forward.
15509 * gdb.threads/staticthreads.exp: Update comments.
15510
15511 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15512
15513 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15514 "history-append! type error".
15515
15516 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15517
15518 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15519 erroneous dprintf expected input.
15520
15521 2014-06-04 Doug Evans <xdje42@gmail.com>
15522
15523 * gdb.guile/scm-generics.exp: Delete.
15524
15525 2014-06-04 Doug Evans <xdje42@gmail.com>
15526
15527 * gdb.guile/scm-breakpoint.exp: Update.
15528 Add tests for breakpoint registration.
15529
15530 2014-06-04 Tom Tromey <tromey@redhat.com>
15531
15532 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15533 VLA-in-union.
15534 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15535 inner_vla_struct, vla_union types. Initialize objects of those
15536 types and compute their sizes.
15537
15538 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15539 Hui Zhu <hui@codesourcery.com>
15540
15541 * gdb.base/fileio.exp: Add test for shell not available as well as
15542 available.
15543 * gdb.base/fileio.c (test_system): Check for shell twice.
15544
15545 2014-06-04 Yao Qi <yao@codesourcery.com>
15546
15547 * gdb.base/auto-connect-native-target.exp: Remove redundant
15548 space from the regexp pattern.
15549
15550 2014-06-04 Yao Qi <yao@codesourcery.com>
15551
15552 * gdb.base/default.exp: Replace "child" with "native" in
15553 regexp pattern.
15554
15555 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15556
15557 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15558 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15559 * gdb.python/py-xmethods.py: Python script supporting the
15560 new testcase and tests.
15561
15562 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15563 Pedro Alves <palves@redhat.com>
15564
15565 PR breakpoints/17000
15566 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15567 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15568
15569 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15570
15571 * gdb.base/subst.exp: Add tests to verify partial path matching
15572 output.
15573
15574 2014-06-03 Pedro Alves <palves@redhat.com>
15575
15576 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15577 target that doesn't use software single-stepping.
15578
15579 2014-06-03 Pedro Alves <palves@redhat.com>
15580
15581 PR breakpoints/17000
15582 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15583 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15584
15585 2014-06-02 Doug Evans <xdje42@gmail.com>
15586
15587 * gdb.guile/scm-parameter.exp: New file.
15588
15589 2014-06-02 Doug Evans <xdje42@gmail.com>
15590
15591 * gdb.guile/scm-cmd.c: New file.
15592 * gdb.guile/scm-cmd.exp: New file.
15593
15594 2014-06-02 Doug Evans <xdje42@gmail.com>
15595
15596 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15597 pretty-printer lookup.
15598 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15599 (make-pp_s-printer): Call it.
15600 (make-pretty-printer-from-dict): New function.
15601 (lookup-pretty-printer-maker-from-dict): New function.
15602 (*pretty-printer*): Simplify.
15603 (make-objfile-pp_s-printer): New function.
15604 (install-objfile-pretty-printers!): New function.
15605 (make-progspace-pp_s-printer): New function.
15606 (install-progspace-pretty-printers!): New function.
15607 * gdb.guile/scm-progspace.c: New file.
15608 * gdb.guile/scm-progspace.exp: New file.
15609
15610 2014-06-02 Pedro Alves <palves@redhat.com>
15611
15612 * gdb.base/dprintf-bp-same-addr.c: New file.
15613 * gdb.base/dprintf-bp-same-addr.exp: New file.
15614
15615 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15616
15617 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15618 * gdb.arch/powerpc-power.s: Likewise.
15619
15620 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15621
15622 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15623
15624 2014-06-01 Yao Qi <yao@codesourcery.com>
15625
15626 * gdb.base/watchpoint.exp (test_watch_location): Check null
15627 pointer can be dereferenced. If not, do the test, otherwise
15628 skip it.
15629
15630 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15631
15632 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15633 results.
15634 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15635
15636 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15637
15638 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15639 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15640 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15641 * gdb.arch/amd64-invalid-stack-top.c: New file.
15642 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15643
15644 2014-05-30 Pedro Alves <palves@redhat.com>
15645
15646 PR breakpoints/17000
15647 * gdb.base/sss-bp-on-user-bp.c: New file.
15648 * gdb.base/sss-bp-on-user-bp.exp: New file.
15649
15650 2014-05-30 David Blaikie <dblaikie@gmail.com>
15651
15652 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15653 gnu_inline semantics via attribute.
15654 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15655 source explicitly specifies the required semantics.
15656
15657 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15658
15659 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15660
15661 2014-05-29 Pedro Alves <palves@redhat.com>
15662 Tom Tromey <tromey@redhat.com>
15663
15664 * gdb.base/async-shell.exp: Don't enable target-async.
15665 * gdb.base/async.exp
15666 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15667 parameter. Adjust.
15668 (top level): Don't test with "target-async".
15669 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15670 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15671 * gdb.base/inferior-died.exp: Don't enable target-async.
15672 * gdb.base/interrupt-noterm.exp: Likewise.
15673 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15674 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15675 * gdb.mi/mi-nonstop.exp: Likewise.
15676 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15677 * gdb.mi/mi-nsintrall.exp: Likewise.
15678 * gdb.mi/mi-nsmoribund.exp: Likewise.
15679 * gdb.mi/mi-nsthrexec.exp: Likewise.
15680 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15681 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15682 * gdb.python/py-evsignal.exp: Don't enable target-async.
15683 * gdb.python/py-evthreads.exp: Likewise.
15684 * gdb.python/py-prompt.exp: Likewise.
15685 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15686 * gdb.server/solib-list.exp: Don't enable target-async.
15687 * gdb.threads/thread-specific-bp.exp: Likewise.
15688 * lib/mi-support.exp: Adjust to use mi-async.
15689
15690 2014-05-29 Pedro Alves <palves@redhat.com>
15691
15692 PR gdb/13860
15693 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15694 reason, even in sync mode.
15695
15696 2014-05-29 Pedro Alves <palves@redhat.com>
15697 Hui Zhu <hui@codesourcery.com>
15698
15699 PR PR15693
15700 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15701 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15702 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15703 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15704
15705 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15706
15707 * config/monitor.exp (gdb_target_monitor): Replace use of
15708 "set remotebaud" by "set serial baud".
15709
15710 2014-05-26 Andy Wingo <wingo@igalia.com>
15711
15712 * gdb.guile/scm-breakpoint.exp:
15713 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15714 properties instead of gdb-object-properties.
15715
15716 2014-05-26 Yao Qi <yao@codesourcery.com>
15717
15718 * gdb.server/no-thread-db.exp: Specify source file name
15719 explicitly when setting a breakpoint.
15720
15721 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15722
15723 * gdb.btrace/vdso.c: New.
15724 * gdb.btrace/vdso.exp: New.
15725
15726 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15727
15728 * gdb.base/gcore.exp (capture_command_output): Move ...
15729 * lib/gdb.exp (capture_command_output): ... here.
15730
15731 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15732
15733 * gdb.btrace/data.exp: Test memory access during btrace replay.
15734
15735 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15736
15737 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15738
15739 2014-05-21 Pedro Alves <palves@redhat.com>
15740
15741 PR gdb/13860
15742 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15743 (top level): Test that output related to execution commands is
15744 sent to the console with CLI commands, but not with MI commands.
15745 Test that breakpoint events are always mirrored to the console.
15746 Also expect the new source line to be output after a "next" in
15747 async mode too. Make it a pass/fail test.
15748 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15749 output.
15750 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15751
15752 2014-05-21 Pedro Alves <palves@redhat.com>
15753
15754 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15755 Use them to test variations of "list" after reaching a breakpoint.
15756 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15757 Test "list" with listsize 10 after reaching a breakpoint.
15758 * gdb.python/python.exp (decode_line current location line
15759 number): Adjust expected line number.
15760
15761 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15762
15763 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15764 behavior for $args, pass it directly to "run".
15765
15766 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15767
15768 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15769 30000 to 65536.
15770
15771 2014-05-21 Pedro Alves <palves@redhat.com>
15772
15773 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15774 auto-connect-native-target off".
15775 * gdb.base/auto-connect-native-target.c: New file.
15776 * gdb.base/auto-connect-native-target.exp: New file.
15777
15778 2014-05-21 Pedro Alves <palves@redhat.com>
15779
15780 * gdb.base/default.exp: Test "target native" instead of "target
15781 child".
15782
15783 2014-05-21 Mark Wielaard <mjw@redhat.com>
15784
15785 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15786
15787 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15788
15789 Fix TLS access for -static -pthread.
15790 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15791 <HAVE_TLS> (thread_function, main): Initialize it.
15792 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15793 Add clean_restart.
15794 <$have_tls != "">: Check TLSVAR.
15795
15796 2014-05-21 Pedro Alves <palves@redhat.com>
15797
15798 * gdb.base/dcache-line-read-error.c: New.
15799 * gdb.base/dcache-line-read-error.exp: New.
15800
15801 2014-05-20 Pedro Alves <palves@redhat.com>
15802
15803 * gdb.base/compare-sections.c: New file.
15804 * gdb.base/compare-sections.exp: New file.
15805
15806 2014-05-20 Pedro Alves <palves@redhat.com>
15807
15808 * gdb.base/break-idempotent.c: New file.
15809 * gdb.base/break-idempotent.exp: New file.
15810
15811 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15812
15813 * gdb.btrace/nohist.exp: New.
15814
15815 2014-05-20 Yao Qi <yao@codesourcery.com>
15816
15817 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15818 gdb.reverse directory and gdb_reverse_timeout exists in board
15819 setting.
15820 * README: Document gdb_reverse_timeout.
15821
15822 2014-05-20 Yao Qi <yao@codesourcery.com>
15823
15824 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15825 'test_file_name'. Treat args as a string instead of a list.
15826 (gdb_init): Rename argument 'args' by 'test_file_name'.
15827
15828 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15829
15830 * gdb.arch/powerpc-power.exp: New file.
15831 * gdb.arch/powerpc-power.s: New file.
15832
15833 2014-05-16 Doug Evans <dje@google.com>
15834
15835 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15836 * gdb.base/completion.exp: Check that all expected files exist
15837 before doing file completion.
15838
15839 2014-05-16 Doug Evans <dje@google.com>
15840
15841 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15842 Update.
15843 (do_syscall_tests_without_xml): Update.
15844
15845 2014-05-16 Pedro Alves <palves@redhat.com>
15846
15847 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15848 instead of "unknown output after running".
15849
15850 2014-05-16 Yao Qi <yao@codesourcery.com>
15851
15852 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15853 file1.txt from host at the end.
15854 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15855
15856 2014-05-15 Doug Evans <dje@google.com>
15857
15858 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15859 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15860 loading file. Add test for TU lookup.
15861
15862 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15863
15864 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15865 calling "-exec-arguments" or "set args" before running the
15866 inferior.
15867
15868 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15869
15870 * lib/mi-support.exp (mi_expect_stop): Expect message for
15871 inferiors that exit with non-zero exit code.
15872
15873 2014-05-14 Yao Qi <yao@codesourcery.com>
15874
15875 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15876 match absolute path on remote host.
15877 (test_file_list_exec_source_files): Remove "/" from the
15878 pattern.
15879
15880 2014-05-14 Yao Qi <yao@codesourcery.com>
15881
15882 * boards/local-remote-host-notty.exp (${board}_file): New
15883 proc.
15884
15885 2014-05-07 Kyle McMartin <kyle@redhat.com>
15886
15887 Pushed by Joel Brobecker <brobecker@adacore.com>.
15888 * gdb.arch/aarch64-atomic-inst.c: New file.
15889 * gdb.arch/aarch64-atomic-inst.exp: New file.
15890
15891 2014-05-07 Yao Qi <yao@codesourcery.com>
15892
15893 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15894 in current context" too.
15895
15896 2014-05-05 Keith Seitz <keiths@redhat.com>
15897
15898 * gdb.linespec/ls-dollar.exp: Add test for linespec
15899 file:convenience_variable.
15900
15901 2014-05-05 Yao Qi <yao@codesourcery.com>
15902
15903 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15904 traceframes into tfile and ctf trace files. Read data from
15905 trace file and test collected data.
15906 (gdb_collect_locals_test): Likewise.
15907 (gdb_unavailable_registers_test): Likewise.
15908 (gdb_unavailable_floats): Likewise.
15909 (gdb_collect_globals_test): Likewise.
15910 (top-level): Append "ctf" to trace_file_targets if GDB
15911 supports.
15912
15913 2014-05-05 Yao Qi <yao@codesourcery.com>
15914
15915 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15916 code to ...
15917 (gdb_collect_args_test_1): ... it. New proc.
15918 (gdb_collect_locals_test): Move some code to ...
15919 (gdb_collect_locals_test_1): ... it. New proc.
15920 (gdb_unavailable_registers_test): Move some code to ...
15921 (gdb_unavailable_registers_test_1): ... it. New proc.
15922 (gdb_unavailable_floats): Move some code to ...
15923 (gdb_unavailable_floats_1): ... it. New proc.
15924
15925 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15926
15927 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15928 probes to test for bitness recognition.
15929 * gdb.arch/amd64-stap-optional-prefix.exp
15930 (test_probe_value_without_reg): New procedure.
15931 Add code to test for different kinds of bitness.
15932
15933 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15934
15935 PR breakpoints/16889
15936 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15937 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15938
15939 2014-05-01 Pedro Alves <palves@redhat.com>
15940
15941 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15942 gdb_file_cmd if no file is specified.
15943 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15944 last_loaded_file to set the remote exec-file.
15945
15946 2014-05-01 Pedro Alves <palves@redhat.com>
15947
15948 * boards/local-remote-host.exp: New file.
15949
15950 2014-05-01 Pedro Alves <palves@redhat.com>
15951
15952 * boards/local-remote-host.exp: Rename to ...
15953 * boards/local-remote-host-notty.exp: ... this.
15954
15955 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15956
15957 * gdb.ada/dyn_arrayidx: New testcase.
15958
15959 2014-04-26 Yao Qi <yao@codesourcery.com>
15960
15961 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15962 and compute the length of function main. Save it in
15963 $main_length.
15964 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15965 (top-level): Use gdb_compile to compile objects into
15966 executable and restart GDB. Remove invocation to
15967 prepare_for_testing.
15968
15969 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15970 Pedro Alves <palves@redhat.com>
15971
15972 PR server/16255
15973 * gdb.multi/multi-attach.c: New file.
15974 * gdb.multi/multi-attach.exp: New file.
15975
15976 2014-04-25 Pedro Alves <palves@redhat.com>
15977
15978 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15979 user.
15980 (top level): Test that "set remote conditional-breakpoints-packet
15981 off" works as intended.
15982 * gdb.base/dprintf.exp: Test that "set remote
15983 breakpoint-commands-packet off" works as intended.
15984 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15985 New function.
15986 (top level): Call it.
15987 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15988 remote fast-tracepoints-packet off" works as intended.
15989 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15990 * lib/gdb.exp (gdb_is_target_remote): ... here.
15991
15992 2014-04-24 David Blaikie <dblaikie@gmail.com>
15993
15994 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15995 ensure clang would not discard them.
15996 * gdb.base/gdbvars.c: Ditto.
15997 * gdb.base/memattr.c: Ditto.
15998 * gdb.base/whatis.c: Ditto.
15999 * gdb.python/py-prettyprint.c: Ditto.
16000 * gdb.trace/actions.c: Ditto.
16001 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16002 ensure clang would not discard it.
16003
16004 2014-04-24 David Blaikie <dblaikie@gmail.com>
16005
16006 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16007 clang to emit the full definition of type required by the test
16008 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16009
16010 2014-04-24 David Blaikie <dblaikie@gmail.com>
16011
16012 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16013 coax Clang into emitting the definition of the type.
16014 * gdb.cp/pr10728-x.h (y): Ditto.
16015 * gdb.cp/pr10728-y.cc (y): Ditto.
16016
16017 2014-04-24 David Blaikie <dblaikie@gmail.com>
16018
16019 * gdb.base/label.exp: XFAIL label related tests under Clang.
16020 * gdb.cp/cplabel.exp: Ditto.
16021 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16022 under Clang those using labels.
16023
16024 2014-04-25 Yao Qi <yao@codesourcery.com>
16025
16026 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16027 double_label.
16028 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16029 partial_label and double_label.
16030
16031 2014-04-24 David Blaikie <dblaikie@gmail.com>
16032
16033 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16034
16035 2014-04-24 David Blaikie <dblaikie@gmail.com>
16036
16037 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16038 of the function to work across GCC and Clang.
16039 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16040 pointer types (const void ** const V void **).
16041
16042 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16043 Walfred Tedeschi <walfred.tedeschi@intel.com>
16044
16045 * Makefile.in (EXECUTABLES): Added i386-avx512.
16046 * gdb.arch/i386-avx512.c: New file.
16047 * gdb.arch/i386-avx512.exp: Likewise.
16048
16049 2014-04-23 Keith Seitz <keiths@redhat.com>
16050
16051 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16052 (mi_make_breakpoint_table): New procedure.
16053 (mi_create_breakpoint): Use mi_make_breakpoint
16054 and return the result.
16055 (mi_make_breakpoint): New procedure.
16056 (mi_build_kv_pairs): New procedure.
16057
16058 * gdb.mi/mi-break.exp: Remove unused globals,
16059 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16060 All callers updated.
16061 * gdb.mi/mi-dprintf.exp: Use variable to track command
16062 number.
16063 Update all callers of mi_create_breakpoint and use
16064 mi_make_breakpoint_table.
16065 Remove any unused global variables.
16066 * gdb.mi/mi-nonstop.exp: Likewise.
16067 * gdb.mi/mi-nsintrall.exp: Likewise.
16068 * gdb.mi/mi-nsmoribund.exp: Likewise.
16069 * gdb.mi/mi-nsthrexec.exp: Likewise.
16070 * gdb.mi/mi-reverse.exp: Likewise.
16071 * gdb.mi/mi-simplerun.exp: Likewise.
16072 * gdb.mi/mi-stepn.exp: Likewise.
16073 * gdb.mi/mi-syn-frame.exp: Likewise.
16074 * gdb.mi/mi-until.exp: Likewise.
16075 * gdb.mi/mi-var-cp.exp: Likewise.
16076 * gdb.mi/mi-var-display.exp: Likewise.
16077 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16078 * gdb.mi/mi2-var-child.exp: Likewise.
16079 * gdb.mi/mi-vla-c99.exp: Likewise.
16080 * lib/mi-support.exp: Likewise.
16081
16082 From Ian Lance Taylor <iant@cygnus.com>:
16083 * lib/gdb.exp (parse_args): New procedure.
16084
16085 2014-04-23 Pedro Alves <palves@redhat.com>
16086
16087 * gdb.base/break-unload-file.c: New file.
16088 * gdb.base/break-unload-file.exp: New file.
16089 * gdb.base/sym-file-lib.c (baz): New function.
16090 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16091 field.
16092 (load): Store the segment's mapped size.
16093 (unload): New function.
16094 (unload_shlib): New function.
16095 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16096 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16097 set a breakpoint at baz, and call it.
16098 * gdb.base/sym-file.exp: New tests for stale breakpoint
16099 instructions.
16100
16101 2014-04-23 Pedro Alves <palves@redhat.com>
16102
16103 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16104 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16105 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16106 * gdb.base/hbreak-unmapped.c: New file.
16107 * gdb.base/hbreak-unmapped.exp: New file.
16108 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16109 * lib/gdb.exp (gdb_is_target_remote): ... here.
16110
16111 2014-04-22 Pedro Alves <palves@redhat.com>
16112
16113 * gdb.base/consecutive-step-over.c: New file.
16114 * gdb.base/consecutive-step-over.exp: New file.
16115
16116 2014-04-22 Pedro Alves <palves@redhat.com>
16117
16118 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16119 instead of send_gdb/gdb_expect.
16120
16121 2014-04-22 Yao Qi <yao@codesourcery.com>
16122
16123 * lib/trace-support.exp (generate_tracefile): New procedure.
16124 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16125 return 0.
16126 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16127 if generate_tracefile returns 1.
16128
16129 2014-04-18 Tom Tromey <palves@redhat.com>
16130 Pedro alves <tromey@redhat.com>
16131
16132 PR backtrace/15558
16133 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16134 with a backtrace limit.
16135 * gdb.python/py-frame-inline.exp: Test running to an inline
16136 function with a backtrace limit, and printing the newest frame.
16137 * gdb.python/py-frame-inline.c (main): Call f.
16138
16139 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16140
16141 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16142
16143 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16144
16145 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16146 Drop prefix from unsupported source file path.
16147
16148 2014-04-17 Yao Qi <yao@codesourcery.com>
16149
16150 * lib/gdb.exp (with_target_charset): New proc.
16151 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16152 with_target_charset.
16153 (test_print_strings): Likewise.
16154 (test_repeat_bytes): Likewise.
16155 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16156 for some tests.
16157
16158 2014-04-16 Keith Seitz <keiths@redhat.com>
16159
16160 PR gdb/15827
16161 * gdb.dwarf2/corrupt.c: New file.
16162 * gdb.dwarf2/corrupt.exp: New file.
16163
16164 2014-04-16 Keith Seitz <keiths@redhat.com>
16165
16166 PR c++/16597
16167 * gdb.cp/namelessclass.cc: New file.
16168 * gdb.cp/namelessclass.exp: New file.
16169 * gdb.cp/namelessclass.S: New file.
16170
16171 2014-04-16 Doug Evans <dje@google.com>
16172
16173 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16174 Add comment.
16175 (gdbserver_default_get_comm_port): New function.
16176 (gdbserver_start): Check if board file provided
16177 "gdbserver,get_comm_port" and use it if so.
16178 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16179 (gdb,socketport): Set to "stdio".
16180 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16181 (stdio_gdbserver_template): Delete.
16182 (${board}_get_remote_address): Update.
16183 (${board}_build_remote_cmd): Delete.
16184 (${board}_get_comm_port): New function.
16185 (${board}_spawn): Update.
16186 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16187 Delete.
16188 (${board}_get_remote_address): Update.
16189 (${board}_get_comm_port): New function.
16190
16191 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16192
16193 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16194 appearing in any order.
16195
16196 2014-04-15 Doug Evans <dje@google.com>
16197
16198 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16199 uninitialized value of "description".
16200
16201 2014-04-15 Keith Seitz <keiths@redhat.com>
16202
16203 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16204 Remove unused globals.
16205 (test_running_the_program): Likewise.
16206 (test_controlled_execution): Likewise.
16207 (test_controlling_breakpoints): Likewise.
16208 (test_program_termination): Likewise.
16209
16210 2014-04-15 Keith Seitz <keiths@redhat.com>
16211
16212 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16213 unused globals.
16214 (test_rbreak_creation_and_listing): Likewise.
16215 (test_ignore_count): Likewise.
16216 (test_error): Likewise.
16217
16218 2014-04-15 Pedro Alves <palves@redhat.com>
16219
16220 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16221 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16222 sym-file-loader.c.
16223 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16224 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16225 to sym-file-loader.c.
16226 (struct library): Forward declare.
16227 (load_shlib, lookup_function): Change prototypes.
16228 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16229 (translate_offset): Remove declarations.
16230 (get_text_addr): New declaration.
16231 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16232 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16233 sym-file-loader.h.
16234 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16235 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16236 here from sym-file-loader.h.
16237 (struct library): New structure.
16238 (load_shlib, lookup_function): Change prototypes and adjust to
16239 work with a struct library.
16240 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16241 (translate_offset): Make static.
16242 (get_text_addr): New function.
16243 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16244
16245 2014-04-15 Pedro Alves <palves@redhat.com>
16246
16247 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16248
16249 2014-04-15 Pedro Alves <palves@redhat.com>
16250
16251 * gdb.base/sym-file-loader.c: Include <limits.h>.
16252 (SELF_LINK): New define.
16253 (get_origin): New function.
16254 (load_shlib): Use it.
16255 * gdb.base/sym-file.exp: Don't early return if the target is
16256 remote. Use runto_main, and issue fail is that fails. Use
16257 gdb_load_shlibs.
16258 (shlib_name): Delete.
16259 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16260
16261 2014-04-15 Pedro Alves <palves@redhat.com>
16262
16263 * gdb.base/sym-file.exp: Remove regex characters from test
16264 message. Don't refer to breakpoint numbers in test messages.
16265
16266 2014-04-14 Keith Seitz <keiths@redhat.com>
16267
16268 PR c++/16253
16269 * gdb.cp/var-tag.cc: New file.
16270 * gdb.cp/var-tag.exp: New file.
16271 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16272 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16273 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16274 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16275
16276 2014-04-14 Tom Tromey <tromey@redhat.com>
16277
16278 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16279 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16280 type.
16281 * gdb.cp/enum-class.exp: New file.
16282 * gdb.cp/enum-class.cc: New file.
16283
16284 2014-04-14 Tom Tromey <tromey@redhat.com>
16285
16286 * gdb.dwarf2/enum-type.exp: New file.
16287
16288 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16289
16290 * gdb.mi/mi-vla-c99.exp: New file.
16291 * gdb.mi/vla.c: New file.
16292
16293 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16294
16295 * gdb.base/vla-datatypes.c: New file.
16296 * gdb.base/vla-datatypes.exp: New file.
16297
16298 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16299
16300 * gdb.base/vla-ptr.c: New file.
16301 * gdb.base/vla-ptr.exp: New file.
16302
16303 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16304
16305 * gdb.dwarf2/count.exp: New file.
16306
16307 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16308
16309 * gdb.base/vla-sideeffect.c: New file.
16310 * gdb.base/vla-sideeffect.exp: New file.
16311
16312 2014-04-14 David Blaikie <dblaikie@gmail.com>
16313
16314 * gdb.mi/non-stop.c: Add return value for non-void function return
16315 statement.
16316 * gdb.threads/staticthreads.c: Ditto.
16317
16318 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16319 Doug Evans <xdje42@gmail.com>
16320
16321 * gdb.guile/scm-value.c: Improve test case.
16322 * gdb.guile/scm-value.exp: Add new test.
16323
16324 2014-04-11 David Blaikie <dblaikie@gmail.com>
16325
16326 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16327 override Clang's default.
16328
16329 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16330
16331 Revert the following changes (regressions):
16332
16333 * gdb.base/vla-sideeffect.c: New file.
16334 * gdb.base/vla-sideeffect.exp: New file.
16335
16336 * gdb.dwarf2/count.exp: New file.
16337
16338 * gdb.base/vla-multi.c: New file.
16339 * gdb.base/vla-multi.exp: New file.
16340
16341 * gdb.base/vla-ptr.c: New file.
16342 * gdb.base/vla-ptr.exp: New file.
16343
16344 * gdb.base/vla-datatypes.c: New file.
16345 * gdb.base/vla-datatypes.exp: New file.
16346
16347 * gdb.mi/mi-vla-c99.exp: New file.
16348 * gdb.mi/vla.c: New file.
16349
16350 2014-04-11 Keith Seitz <keiths@redhat.com>
16351
16352 PR c++/16675
16353 * gdb.cp/cpsizeof.exp: New file.
16354 * gdb.cp/cpsizeof.cc: New file.
16355
16356 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16357
16358 * gdb.mi/mi-vla-c99.exp: New file.
16359 * gdb.mi/vla.c: New file.
16360
16361 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16362
16363 * gdb.base/vla-datatypes.c: New file.
16364 * gdb.base/vla-datatypes.exp: New file.
16365
16366 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16367
16368 * gdb.base/vla-ptr.c: New file.
16369 * gdb.base/vla-ptr.exp: New file.
16370
16371 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16372
16373 * gdb.base/vla-multi.c: New file.
16374 * gdb.base/vla-multi.exp: New file.
16375
16376 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16377
16378 * gdb.dwarf2/count.exp: New file.
16379
16380 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16381
16382 * gdb.base/vla-sideeffect.c: New file.
16383 * gdb.base/vla-sideeffect.exp: New file.
16384
16385 2014-04-11 Yao Qi <yao@codesourcery.com>
16386
16387 * gdb.base/completion.exp: Check file exists before running tests
16388 on file completion.
16389
16390 2014-04-10 Pedro Alves <palves@redhat.com>
16391
16392 * gdb.base/cond-eval-mode.c: New file.
16393 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16394 prepare_for_testing to build the new file. Check result of
16395 runto_main.
16396 (test_break, test_watch): New procedures.
16397 (top level): Use them.
16398
16399 2014-04-08 Pierre Muller <muller@sourceware.org>
16400
16401 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16402 Ctrl-V use for mingw hosts.
16403
16404 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16405
16406 * gdb.python/py-value.c: Improve test case.
16407 * gdb.python/py-value.exp: Add new test.
16408
16409 2014-04-07 David Blaikie <dblaikie@gmail.com>
16410
16411 * lib/compiler.c: Identify the clang compiler.
16412 * lib/compiler.cc: Ditto.
16413
16414 2014-04-03 Yao Qi <yao@codesourcery.com>
16415
16416 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16417
16418 2014-04-01 Anton Blanchard <anton@samba.org>
16419
16420 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16421 messages unique.
16422
16423 2014-04-01 Anton Blanchard <anton@samba.org>
16424
16425 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16426 prepare_for_testing.
16427
16428 2014-04-01 Anton Blanchard <anton@samba.org>
16429
16430 * gdb.arch/ppc64-atomic-inst.c: Remove.
16431 * gdb.arch/ppc64-atomic-inst.S: New file.
16432 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16433
16434 2014-03-31 Doug Evans <dje@google.com>
16435
16436 * gdb.base/print-symbol-loading-lib.c: New file.
16437 * gdb.base/print-symbol-loading-main.c: New file.
16438 * gdb.base/print-symbol-loading.exp: New file.
16439
16440 2014-03-31 Yao Qi <yao@codesourcery.com>
16441
16442 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16443
16444 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16445
16446 * gdb.ada/mi_dyn_arr: New testcase.
16447
16448 2014-03-27 Doug Evans <dje@google.com>
16449
16450 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16451
16452 2014-03-27 Yao Qi <yao@codesourcery.com>
16453
16454 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16455 if target is nios2-*-*.
16456
16457 2014-03-26 Yao Qi <yao@codesourcery.com>
16458
16459 * lib/gdb.exp (readline_is_used): New proc.
16460 * gdb.base/completion.exp: Move tests on command complete up.
16461 Skip the rest of tests if readline is not used.
16462 * gdb.ada/complete.exp: Skp the test if readline is not
16463 used.
16464 * gdb.base/filesym.exp: Likewise.
16465 * gdb.base/macscp.exp: Likewise.
16466 * gdb.base/readline-ask.exp: Likewise.
16467 * gdb.base/readline.exp: Likewise.
16468 * gdb.python/py-cmd.exp: Likewise.
16469 * gdb.trace/tfile.exp: Likewise.
16470
16471 2014-03-26 Yao Qi <yao@codesourcery.com>
16472
16473 * gdb.base/macscp.exp: Fix code format issues.
16474
16475 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16476
16477 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16478 * gdb.asm/powerpc64le.inc: New file.
16479
16480 2014-03-25 Pedro Alves <palves@redhat.com>
16481 Doug Evans <dje@google.com>
16482
16483 * gdb.base/source-execution.c: New file.
16484 * gdb.base/source-execution.exp: New file.
16485 * gdb.base/source-execution.gdb: New file.
16486
16487 2014-03-24 Doug Evans <dje@google.com>
16488
16489 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16490 using fission.
16491
16492 2014-03-24 Hui Zhu <hui@codesourcery.com>
16493 Pedro Alves <palves@redhat.com>
16494
16495 PR breakpoints/16101
16496 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16497 test pass/fail messages. Detect missing support for dprintf when
16498 breakpoints are actually inserted.
16499 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16500 breakpoints are actually inserted.
16501 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16502 fails.
16503
16504 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16505
16506 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16507
16508 2014-03-22 Doug Evans <xdje42@gmail.com>
16509
16510 * gdb.python/python.exp (python not supported): Verify multi-line
16511 python command issues an error.
16512 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16513 guile command issues an error.
16514
16515 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16516
16517 * gdb.threads/thread-specific.exp: Handle the lack of usable
16518 $this_breakpoint and $this_thread.
16519
16520 2014-03-21 Hui Zhu <hui@codesourcery.com>
16521
16522 * gdb.base/attach.exp (do_command_attach_tests): New.
16523
16524 2014-03-20 Tom Tromey <tromey@redhat.com>
16525 Pedro Alves <palves@redhat.com>
16526
16527 PR cli/15718
16528 * gdb.base/condbreak-call-false.c: New file.
16529 * gdb.base/condbreak-call-false.exp: New file.
16530
16531 2014-03-20 Pedro Alves <palves@redhat.com>
16532
16533 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16534 Delete.
16535 (block_signals, unblock_signals): Delete.
16536 (child_function_2, main): Remove references to deleted variable
16537 and functions.
16538
16539 2014-03-20 Pedro Alves <palves@redhat.com>
16540
16541 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16542 Use pthread_kill to signal thread 2.
16543 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16544 Adjust to make the test send itself a signal rather than using the
16545 host's "kill" command.
16546
16547 2014-03-20 Pedro Alves <palves@redhat.com>
16548
16549 * gdb.threads/multiple-step-overs.c: New file.
16550 * gdb.threads/multiple-step-overs.exp: New file.
16551 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16552 Adjust expected infrun debug output.
16553
16554 2014-03-20 Pedro Alves <palves@redhat.com>
16555
16556 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16557 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16558
16559 2014-03-20 Pedro Alves <palves@redhat.com>
16560
16561 PR breakpoints/7143
16562 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16563 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16564 of gdb_test_multiple.
16565 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16566 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16567
16568 2014-03-20 Pedro Alves <palves@redhat.com>
16569
16570 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16571 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16572
16573 2014-03-19 Pedro Alves <palves@redhat.com>
16574
16575 * gdb.base/async.exp: Remove early return.
16576
16577 2014-03-19 Pedro Alves <palves@redhat.com>
16578
16579 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16580
16581 2014-03-19 Pedro Alves <palves@redhat.com>
16582
16583 * gdb.base/async.exp (test_background): Expect \r\n after
16584 "completed." in the fail pattern.
16585
16586 2014-03-19 Pedro Alves <palves@redhat.com>
16587
16588 * gdb.base/async.exp (test_background): New procedure.
16589 Use it for all background execution command tests.
16590
16591 2014-03-19 Pedro Alves <palves@redhat.com>
16592
16593 * gdb.base/async.exp: Use prepare_for_testing.
16594
16595 2014-03-19 Pedro Alves <palves@redhat.com>
16596
16597 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16598 the same line.
16599
16600 2014-03-19 Pedro Alves <palves@redhat.com>
16601
16602 * gdb.base/async.c (main): Add "jump here" and "until here" line
16603 marker comments.
16604 * gdb.base/async.exp (jump_here): New global.
16605 (jump& test): Use it.
16606 (until_here): New global.
16607 (until& test): Use it.
16608
16609 2014-03-19 Pedro Alves <palves@redhat.com>
16610
16611 * gdb.base/async.exp: Don't frob gdb_protocol.
16612
16613 2014-03-18 Doug Evans <xdje42@gmail.com>
16614
16615 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16616 Fix spelling of exec-done-display.
16617
16618 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16619
16620 PR gdb/15358
16621 * gdb.base/gdb-sigterm.c: New file.
16622 * gdb.base/gdb-sigterm.exp: New file.
16623
16624 2014-03-18 Pedro Alves <palves@redhat.com>
16625
16626 PR gdb/13860
16627 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16628 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16629 solib-event.
16630
16631 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16632
16633 * gdb.ada/pckd_arr_ren: New testcase.
16634
16635 2014-03-13 Doug Evans <xdje42@gmail.com>
16636
16637 PR guile/16612
16638 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16639 collect after discarding symbols.
16640
16641 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16642 Doug Evans <xdje42@gmail.com>
16643
16644 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16645 to history survives a gc.
16646
16647 2014-03-13 Pedro Alves <palves@redhat.com>
16648
16649 * gdb.base/default.exp: Don't test "target procfs".
16650
16651 2014-03-13 Pedro Alves <palves@redhat.com>
16652
16653 * gdb.base/default.exp: Update "target child" and "target procfs"
16654 tests to not expect "Unix".
16655
16656 2014-03-12 Tom Tromey <tromey@redhat.com>
16657
16658 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16659 New procs. Add target-async tests.
16660 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16661 Add target-async tests.
16662
16663 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16664
16665 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16666 'func_start' and 'func_end' for the beginning and end of the
16667 function code, respectively.
16668 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16669 'func_end' instead of 'func' and 'main'.
16670
16671 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16672
16673 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16674 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16675 generate the debug info assembler source.
16676
16677 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16678
16679 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16680 * gdb.dwarf2/arr-subrange.exp: Likewise.
16681 * gdb.dwarf2/dwz.exp: Likewise.
16682 * gdb.dwarf2/method-ptr.exp: Likewise.
16683 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16684 * gdb.dwarf2/subrange.exp: Likewise.
16685 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16686 * gdb.dwarf2/implptrpiece.exp: Likewise.
16687 * gdb.dwarf2/nostaticblock.exp: Likewise.
16688
16689 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16690
16691 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16692 directory to absolute path name arguments.
16693
16694 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16695
16696 * gdb.ada/tagged_access: New testcase.
16697
16698 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16699
16700 * gdb.btrace/data.exp: Update expected output.
16701
16702 2014-03-06 Yao Qi <yao@codesourcery.com>
16703
16704 * gdb.trace/pr16508.exp: New file.
16705
16706 2014-03-05 Pedro Alves <palves@redhat.com>
16707
16708 PR gdb/16575
16709 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16710 procedure.
16711 (top level): Adjust to use it. Add tests that exercise breakpoint
16712 interaction with the code-cache.
16713
16714 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16715
16716 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16717 test for 'history-append!'.
16718
16719 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16720
16721 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16722 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16723 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16724 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16725 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16726 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16727
16728 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16729
16730 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16731 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16732 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16733
16734 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16735
16736 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16737
16738 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16739
16740 * gdb.dwarf2/arr-stride.c: New file.
16741 * gdb.dwarf2/arr-stride.exp: New file.
16742
16743 2014-02-26 Pedro Alves <palves@redhat.com>
16744
16745 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16746 that won't ever trigger. Make sure that GDB reports the correct
16747 breakpoint that caused the stop.
16748
16749 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16750
16751 PR gdb/16626
16752 * gdb.base/auto-load-script: New file.
16753 * gdb.base/auto-load.c: New file.
16754 * gdb.base/auto-load.exp: New file.
16755
16756 PR gdb/16626
16757 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16758
16759 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16760
16761 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16762 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16763
16764 2014-02-24 Doug Evans <dje@google.com>
16765
16766 * lib/gdb.exp (run_on_host): Log error output if program fails.
16767
16768 2014-02-21 Pedro Alves <palves@redhat.com>
16769
16770 * gdb.threads/step-after-sr-lock.c: Rename to ...
16771 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16772 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16773 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16774 ... this.
16775
16776 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16777
16778 PR tdep/16397
16779 * gdb.arch/amd64-stap-special-operands.exp: New file.
16780 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16781 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16782 * gdb.arch/amd64-stap-triplet.S: Likewise.
16783 * gdb.arch/amd64-stap-triplet.c: Likewise.
16784
16785 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16786
16787 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16788 in .section pseudo-op.
16789
16790 2014-02-20 lin zuojian <manjian2006@gmail.com>
16791 Joel Brobecker <brobecker@adacore.com>
16792 Doug Evans <xdje42@gmail.com>
16793
16794 PR symtab/16581
16795 * gdb.dwarf2/dw2-icycle.S: New file.
16796 * gdb.dwarf2/dw2-icycle.c: New file.
16797 * gdb.dwarf2/dw2-icycle.exp: New file.
16798
16799 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16800
16801 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16802 operations on gdb.Value objects.
16803 * gdb.python/py-value-cc.exp: Add new test to test operations on
16804 gdb.Value objects.
16805
16806 2014-02-18 Doug Evans <dje@google.com>
16807
16808 * Makefile.in (TESTS): New variable.
16809 (expanded_tests, expanded_tests_or_none): New variables
16810 (check-single): Pass $(expanded_tests_or_none) to runtest.
16811 (check-parallel): Only run tests in $(TESTS) if non-empty.
16812 (check/no-matching-tests-found): New rule.
16813 * README: Document TESTS makefile variable.
16814
16815 2014-02-18 Doug Evans <dje@google.com>
16816
16817 * Makefile.in (check-parallel): rm -rf outputs temp.
16818
16819 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16820
16821 Fix "ERROR: no fileid for" in the testsuite.
16822 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16823
16824 2014-02-12 Doug Evans <dje@google.com>
16825
16826 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16827 (MISCELLANEOUS): New variable.
16828 (clean): rm -rf $(MISCELLANEOUS).
16829 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16830 dwp live in the same directory as symlinks, with each symlink pointed
16831 to a differently named file in a different directory.
16832
16833 2014-02-11 Doug Evans <dje@google.com>
16834
16835 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16836 of Tcl file commands.
16837
16838 2014-02-10 Mark Kettenis <kettenis@gnu.org>
16839
16840 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16841 "kill -SIGUSR1 -1".
16842
16843 2014-02-10 Joel Brobecker <brobecker@adacore.com>
16844
16845 * gdb.ada/tick_length_array_enum_idx: New testcase.
16846
16847 2014-02-10 Doug Evans <xdje42@gmail.com>
16848
16849 * configure.ac (AC_OUTPUT): Add gdb.guile.
16850 * configure: Regenerate.
16851 * lib/gdb-guile.exp: New file.
16852 * lib/gdb.exp (get_target_charset): New function.
16853 * gdb.base/help.exp: Update expected output from "apropos apropos".
16854 * gdb.guile/Makefile.in: New file.
16855 * gdb.guile/guile.exp: New file.
16856 * gdb.guile/scm-arch.c: New file.
16857 * gdb.guile/scm-arch.exp: New file.
16858 * gdb.guile/scm-block.c: New file.
16859 * gdb.guile/scm-block.exp: New file.
16860 * gdb.guile/scm-breakpoint.c: New file.
16861 * gdb.guile/scm-breakpoint.exp: New file.
16862 * gdb.guile/scm-disasm.c: New file.
16863 * gdb.guile/scm-disasm.exp: New file.
16864 * gdb.guile/scm-equal.c: New file.
16865 * gdb.guile/scm-equal.exp: New file.
16866 * gdb.guile/scm-error.exp: New file.
16867 * gdb.guile/scm-error.scm: New file.
16868 * gdb.guile/scm-frame-args.c: New file.
16869 * gdb.guile/scm-frame-args.exp: New file.
16870 * gdb.guile/scm-frame-args.scm: New file.
16871 * gdb.guile/scm-frame-inline.c: New file.
16872 * gdb.guile/scm-frame-inline.exp: New file.
16873 * gdb.guile/scm-frame.c: New file.
16874 * gdb.guile/scm-frame.exp: New file.
16875 * gdb.guile/scm-generics.exp: New file.
16876 * gdb.guile/scm-gsmob.exp: New file.
16877 * gdb.guile/scm-iterator.c: New file.
16878 * gdb.guile/scm-iterator.exp: New file.
16879 * gdb.guile/scm-math.c: New file.
16880 * gdb.guile/scm-math.exp: New file.
16881 * gdb.guile/scm-objfile-script-gdb.in: New file.
16882 * gdb.guile/scm-objfile-script.c: New file.
16883 * gdb.guile/scm-objfile-script.exp: New file.
16884 * gdb.guile/scm-objfile.c: New file.
16885 * gdb.guile/scm-objfile.exp: New file.
16886 * gdb.guile/scm-ports.exp: New file.
16887 * gdb.guile/scm-pretty-print.c: New file.
16888 * gdb.guile/scm-pretty-print.exp: New file.
16889 * gdb.guile/scm-pretty-print.scm: New file.
16890 * gdb.guile/scm-section-script.c: New file.
16891 * gdb.guile/scm-section-script.exp: New file.
16892 * gdb.guile/scm-section-script.scm: New file.
16893 * gdb.guile/scm-symbol.c: New file.
16894 * gdb.guile/scm-symbol.exp: New file.
16895 * gdb.guile/scm-symtab-2.c: New file.
16896 * gdb.guile/scm-symtab.c: New file.
16897 * gdb.guile/scm-symtab.exp: New file.
16898 * gdb.guile/scm-type.c: New file.
16899 * gdb.guile/scm-type.exp: New file.
16900 * gdb.guile/scm-value-cc.cc: New file.
16901 * gdb.guile/scm-value-cc.exp: New file.
16902 * gdb.guile/scm-value.c: New file.
16903 * gdb.guile/scm-value.exp: New file.
16904 * gdb.guile/source2.scm: New file.
16905 * gdb.guile/types-module.cc: New file.
16906 * gdb.guile/types-module.exp: New file.
16907
16908 2014-02-10 Yao Qi <yao@codesourcery.com>
16909
16910 PR testsuite/16543
16911 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16912 * configure: Regenerated.
16913 * Makefile.in: New file.
16914
16915 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16916
16917 * gdb.python/py-framefilter.exp: Fix typo.
16918
16919 2014-02-08 Yao Qi <yao@codesourcery.com>
16920
16921 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16922 that no =breakpoint-modified is emitted when breakpoints are
16923 modified through MI commands.
16924
16925 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16926 Pedro Alves <palves@redhat.com>
16927
16928 * gdb.threads/step-after-sr-lock.c: New file.
16929 * gdb.threads/step-after-sr-lock.exp: New file.
16930
16931 2014-02-07 Pedro Alves <palves@redhat.com>
16932
16933 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16934
16935 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16936
16937 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16938 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16939
16940 2014-02-06 Doug Evans <xdje42@gmail.com>
16941
16942 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16943 output.
16944
16945 * gdb.gdb/python-interrupts.exp: New file.
16946
16947 2014-02-05 Yao Qi <yao@codesourcery.com>
16948
16949 * gdb.trace/report.exp (use_collected_data): Test the output
16950 of "info threads" and "info inferiors".
16951
16952 2014-02-05 Yao Qi <yao@codesourcery.com>
16953
16954 Revert this patch:
16955
16956 2013-05-24 Yao Qi <yao@codesourcery.com>
16957
16958 * gdb.trace/tfile.exp: Test inferior and thread.
16959
16960 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16961
16962 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16963 on a function.
16964 * gdb.base/step-bt.c: Call hello via function pointer to make
16965 sure its first instruction is executed on powerpc64le-linux.
16966
16967 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16968
16969 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16970
16971 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16972
16973 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16974 of the test patterns for use on little-endian systems.
16975
16976 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16977
16978 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16979 (decimal_vector): Fix for little-endian.
16980
16981 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16982
16983 * gdb.arch/sparc-sysstep.exp: New file.
16984 * gdb.arch/sparc-sysstep.c: Likewise.
16985
16986 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16987
16988 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16989
16990 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16991
16992 2014-01-23 Tom Tromey <tromey@redhat.com>
16993
16994 * gdb.ada/array_char_idx: New testcase.
16995
16996 2014-01-23 Tom Tromey <tromey@redhat.com>
16997
16998 PR python/16487:
16999 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17000 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17001 classes.
17002
17003 2014-01-23 Tom Tromey <tromey@redhat.com>
17004
17005 PR python/16491:
17006 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17007 string from an inferior frame.
17008 * gdb.python/py-framefilter-mi.exp: Update.
17009
17010 2014-01-22 Doug Evans <dje@google.com>
17011
17012 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17013
17014 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17015
17016 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17017
17018 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17019
17020 * gdb.trace/entry-values.exp: Remove excess space character from
17021 regex patterns. Handle s390 call instruction.
17022
17023 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17024
17025 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17026 define "*_start" label. Make "name" static.
17027 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17028 ${name} by references to ${name}_start.
17029
17030 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17031
17032 * gdb.base/info-macros.exp: Remove "debug" from the compile
17033 options.
17034
17035 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17036
17037 * gdb.dlang/demangle.exp: New file.
17038
17039 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17040
17041 * gdb.dlang/primitive-types.exp: New file.
17042
17043 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17044
17045 * configure.ac: Create gdb.dlang/Makefile.
17046 * configure: Regenerate.
17047 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17048 * gdb.dlang/Makefile.in: New file.
17049 * lib/d-support.exp: New file.
17050 * lib/gdb.exp (skip_d_tests): New proc.
17051
17052 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17053
17054 * gdb.btrace/delta.exp: Check reverse stepi.
17055 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17056 * gdb.btrace/finish.exp: New.
17057 * gdb.btrace/next.exp: New.
17058 * gdb.btrace/nexti.exp: New.
17059 * gdb.btrace/record_goto.c: Add comments.
17060 * gdb.btrace/step.exp: New.
17061 * gdb.btrace/stepi.exp: New.
17062 * gdb.btrace/multi-thread-step.c: New.
17063 * gdb.btrace/multi-thread-step.exp: New.
17064 * gdb.btrace/rn-dl-bind.c: New.
17065 * gdb.btrace/rn-dl-bind.exp: New.
17066 * gdb.btrace/data.c: New.
17067 * gdb.btrace/data.exp: New.
17068 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17069
17070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17071
17072 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17073 * gdb.btrace/exception.exp: Update.
17074 * gdb.btrace/instruction_history.exp: Update.
17075 * gdb.btrace/record_goto.exp: Update.
17076 * gdb.btrace/tailcall.exp: Update.
17077 * gdb.btrace/unknown_functions.exp: Update.
17078 * gdb.btrace/delta.exp: New.
17079
17080 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17081
17082 * gdb.btrace/record_goto.exp: Add backtrace test.
17083 * gdb.btrace/tailcall.exp: Add backtrace test.
17084
17085 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17086
17087 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17088 * gdb.btrace/record_goto.c: New.
17089 * gdb.btrace/record_goto.exp: New.
17090 * gdb.btrace/x86-record_goto.S: New.
17091
17092 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17093
17094 * gdb.btrace/function_call_history.exp: Update tests.
17095 * gdb.btrace/instruction_history.exp: Update tests.
17096
17097 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17098
17099 * gdb.btrace/function_call_history.exp: Fix expected field
17100 order for "record function-call-history".
17101 Add new tests for "record function-call-history /c".
17102 * gdb.btrace/exception.cc: New.
17103 * gdb.btrace/exception.exp: New.
17104 * gdb.btrace/tailcall.exp: New.
17105 * gdb.btrace/x86-tailcall.S: New.
17106 * gdb.btrace/x86-tailcall.c: New.
17107 * gdb.btrace/unknown_functions.c: New.
17108 * gdb.btrace/unknown_functions.exp: New.
17109 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17110
17111 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17112
17113 * gdb.btrace/instruction_history.exp: Update.
17114 * gdb.btrace/function_call_history.exp: Update.
17115
17116 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17117
17118 * gdb.btrace/function_call_history.exp: Fix expected function
17119 trace.
17120 * gdb.btrace/instruction_history.exp: Initialize traced.
17121 Remove traced_functions.
17122
17123 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17124
17125 * gdb.btrace/function_call_history.exp: Update
17126 * gdb.btrace/instruction_history.exp: Update.
17127
17128 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17129
17130 * gdb.btrace/enable.exp: Update expected text.
17131
17132 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17133
17134 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17135 bytes.
17136
17137 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17138
17139 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17140
17141 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17142
17143 * lib/gdb.exp (supports_process_record): Return true for
17144 arm*-linux*. (supports_reverse): Likewise.
17145
17146 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17147
17148 PR python/15464
17149 PR python/16113
17150 * gdb.python/py-type.c: Enhance test case.
17151 * gdb.python/py-value-cc.cc: Likewise
17152 * gdb.python/py-type.exp: Add new tests.
17153 * gdb.python/py-value-cc.exp: Likewise
17154
17155 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17156 Pedro Alves <palves@redhat.com>
17157
17158 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17159 Make "name" extern.
17160 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17161 references to ${name}_start by references to ${name}.
17162
17163 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17164
17165 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17166
17167 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17168
17169 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17170
17171 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17172 Pedro Alves <palves@redhat.com>
17173
17174 * gdb.mi/mi-info-os.exp: Connect to the target with
17175 mi_gdb_target_load.
17176
17177 2014-01-08 Pedro Alves <palves@redhat.com>
17178
17179 * gdb.threads/reconnect-signal.c: New file.
17180 * gdb.threads/reconnect-signal.exp: New file.
17181
17182 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17183
17184 * gdb.base/source-dir.exp: New file.
17185
17186 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17187
17188 * gdb.ada/mi_interface: New testcase.
17189
17190 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17191
17192 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17193 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17194 gdb.ada/pp-rec-component/pck.ads: New files.
17195
17196 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17197
17198 * gdb.python/py-pp-integral.c: New file.
17199 * gdb.python/py-pp-integral.py: New file.
17200 * gdb.python/py-pp-integral.exp: New file.
17201
17202 For older changes see ChangeLog-1993-2013.
17203 \f
17204 ;; Local Variables:
17205 ;; mode: change-log
17206 ;; left-margin: 8
17207 ;; fill-column: 74
17208 ;; version-control: never
17209 ;; End:
17210
17211 Copyright 2014-2019 Free Software Foundation, Inc.
17212 Copying and distribution of this file, with or without modification,
17213 are permitted provided the copyright notice and this notice are preserved.
This page took 0.407426 seconds and 4 git commands to generate.