Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
732236a7
TV
12021-07-08 Tom de Vries <tdevries@suse.de>
2
3 * gdb.guile/scm-breakpoint.exp: Make additional "ERROR: " prefix in
4 exception printing optional.
5
8043d65b
SM
62021-07-06 Simon Marchi <simon.marchi@polymtl.ca>
7
8 * configure.ac: Restore.
9 * configure: Re-generate.
10 * aclocal.m4: Re-generate.
11 * Makefile.in (distclean): Add config.status.
12 (Makefile): Adjust paths.
13 (lib/pdtrace): Adjust paths.
14 (config.status): Add.
15
52e44e8d
TV
162021-07-06 Tom de Vries <tdevries@suse.de>
17
18 * gdb.fortran/ptype-on-functions.exp: Allow both $integer8 and
19 $integer4 for size of string length.
20
05c06f31
PA
212021-07-01 Pedro Alves <pedro@palves.net>
22
23 PR mi/15729
24 PR gdb/13463
25 * gdb.base/access-mem-running.c: New.
26 * gdb.base/access-mem-running.exp: New.
27 * gdb.threads/access-mem-running-thread-exit.c: New.
28 * gdb.threads/access-mem-running-thread-exit.exp: New.
29
a05a883f
SM
302021-06-29 Simon Marchi <simon.marchi@polymtl.ca>
31
32 * gdb.dwarf2/dw2-reg-undefined.exp: Update regexp.
33
bd742128
AB
342021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
35
36 * gdb.base/info_sources_2-header.h: New file.
37 * gdb.base/info_sources_2-lib.c: New file.
38 * gdb.base/info_sources_2-test.c: New file.
39 * gdb.base/info_sources_2.exp: New file.
40
1fb1ce02
AB
412021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
42
43 * gdb.mi/mi-info-sources.exp: Add additional tests.
44
0e350a05
AB
452021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
46
47 * gdb.dwarf2/dw2-filename.exp: Update expected results.
48 * gdb.mi/mi-file.exp: Likewise.
49 * gdb.mi/mi-info-sources-base.c: New file.
50 * gdb.mi/mi-info-sources.c: New file.
51 * gdb.mi/mi-info-sources.exp: New file.
52
d038ce48
AB
532021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
54
55 * gdb.cp/method-call-in-c.cc (struct foo_type): Add static member
56 function static_method.
57 (global_var): New global.
58 (main): Use new static_method to ensure it is compiled in.
59 * gdb.cp/method-call-in-c.exp: Test calls to static member
60 function.
61
13221aec
AB
622021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
63
64 PR gdb/27994
65 * gdb.cp/method-call-in-c.cc (struct foo_type): Add operator+=,
66 change initial value of var member variable.
67 (main): Make use of foo_type's operator+=.
68 * gdb.cp/method-call-in-c.exp: Test use of operator+=.
69
79bd4d34
AB
702021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
71
72 PR gdb/27994
73 * gdb.cp/method-call-in-c.cc: New file.
74 * gdb.cp/method-call-in-c.exp: New file.
75
3da4c644
TT
762021-06-25 Tom Tromey <tom@tromey.com>
77
78 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): Add "style"
79 parameter.
80 * gdb.rust/dwindex.exp: New file.
81 * gdb.rust/dwindex.rs: New file.
82
6b95f5ad
AB
832021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
84
85 * gdb.python/py-breakpoint.c (do_throw): New function.
86 (main): Call do_throw.
87 * gdb.python/py-breakpoint.exp (test_catchpoints): New proc.
88
08080f97
AB
892021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.guile/scm-breakpoint.exp (test_catchpoints): New proc.
92
81b327aa
AB
932021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
94
95 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Add new tests.
96
202054ae
CL
97gdb/testsuite/ChangeLog
982021-06-25 Carl Love <cel@us.ibm.com>
99
100 * gdb.arch/powerpc-plxv-norel.exp: Add call to skip_power_isa_3_1_tests.
101 * lib/gdb.exp(skip_power_isa_3_1_tests): New gdb_caching_proc test.
102
67470e9d
TT
1032021-06-25 Tom Tromey <tromey@adacore.com>
104
105 * gdb.ada/py_range.exp: Add type name test cases.
106
013270a1
TV
1072021-06-24 Tom de Vries <tdevries@suse.de>
108
109 * gdb.base/info-macros.exp: Add <EOL> after trailing whitespace in
110 test names.
111
657dcee4
TV
1122021-06-24 Tom de Vries <tdevries@suse.de>
113
114 * gdb.base/argv0-symlink.exp: Use with_test_prefix.
115
2dd865d7
TV
1162021-06-23 Tom de Vries <tdevries@suse.de>
117
118 * lib/gdb.exp (gdb_test_lines): Rewrite to accept single
119 multiline tcl regexp.
120 * gdb.base/info-types.exp.tcl: Update. Make empty line at end of
121 regexp optional.
122 * gdb.base/info-macros.exp: Update.
123 * gdb.cp/cplusfuncs.exp: Update.
124
80d1206d
AS
1252021-06-22 Andreas Schwab <schwab@suse.de>
126
127 PR symtab/27999
128 * lib/dwarf.exp (start_end): New proc inside loclists.
129 * gdb.dwarf2/loclists-start-end.exp: New file.
130 * gdb.dwarf2/loclists-start-end.c: New file.
131
e5b77106
TV
1322021-06-22 Tom de Vries <tdevries@suse.de>
133
134 * gdb.dwarf2/imported-unit-c.exp: New file.
135
80dc83fd
AB
1362021-06-22 Andrew Burgess <andrew.burgess@embecosm.com>
137
138 * gdb.server/server-kill.exp: Introduce global kill_pid_of, and
139 make use of this in prepare to select which pid we should kill.
140 Run all the tests twice with a different kill_pid_of value.
141 (prepare): Make use of kill_pid_of.
142 (test_stepi): New proc.
143
d52b8007
AB
1442021-06-21 Andrew Burgess <andrew.burgess@embecosm.com>
145
146 * gdb.python/py-frame.exp: Add Frame.level tests.
147 * gdb.python/py-pending-frame-level.c: New file.
148 * gdb.python/py-pending-frame-level.exp: New file.
149 * gdb.python/py-pending-frame-level.py: New file.
150
61e2dde2
AB
1512021-06-21 Andrew Burgess <andrew.burgess@embecosm.com>
152
153 * gdb.python/py-unwind-user-regs.c: New file.
154 * gdb.python/py-unwind-user-regs.exp: New file.
155 * gdb.python/py-unwind-user-regs.py: New file.
156
ff5404f5
CL
1572021-06-17 Carl Love <cel@us.ibm.com>
158
159 * gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics
160 to bgetar and bgetarl.
161 * gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments
162 for mnemonics to bgetar and bnstarl.
163
18263be7
SM
1642021-06-17 Simon Marchi <simon.marchi@efficios.com>
165
166 * gdb.base/args.exp: Check target, KFAIL if remote.
167 (args_test): Add parameter and use it.
168
d30e3263
SM
1692021-06-17 Simon Marchi <simon.marchi@efficios.com>
170
171 * gdb.base/args.exp: Remove trailing parenthesis in test names.
172
c4ddc1da
SM
1732021-06-17 Simon Marchi <simon.marchi@efficios.com>
174
175 * gdb.base/args.exp: Use $old_gdbflags in all tests.
176
18b5aade
SM
1772021-06-17 Simon Marchi <simon.marchi@efficios.com>
178
179 * gdb.base/args.exp: Use save_vars.
180
c9923e71
PA
1812021-06-14 Pedro Alves <pedro@palves.net>
182
183 * gdb.base/annota1.exp: Build list using [list] instead of {}.
184 Tell [join] to join with no character. Build expected pattern in
185 separate variable instead of in the -re expression directly.
186
b8bd29a1
KB
1872021-06-11 Kevin Buettner <kevinb@redhat.com>
188
189 * gdb.mi/mi-sym-info.exp (114-symbol-info-function test): Increase
190 timeout.
191
72c4daa3
KB
1922021-06-11 Kevin Buettner <kevinb@redhat.com>
193
194 * gdb.base/print-symbol-loading.exp (proc test_load_shlib):
195 Allow "Symbols already loaded for..." messages.
196
4cc2e606
KB
1972021-06-11 Kevin Buettner <kevinb@redhat.com>
198
199 * gdb.base/execl-update-breakpoints.exp: Add regular
200 expression for optionally matching output related to
201 libthread_db.
202 * gdb.base/fork-print-inferior-events.exp: Likewise.
203
db77748b
FW
2042021-06-11 Felix Willgerodt <felix.willgerodt@intel.com>
205
206 * gdb.mi/array.f: Convert into...
207 * gdb.mi/array.f90: ...this.
208 * gdb.mi/mi-var-child-f.exp: Use array.f90.
209
48ec4c05
TT
2102021-06-11 Tom Tromey <tom@tromey.com>
211
212 PR rust/23427
213 * lib/rust-support.exp (rust_compiler_version): New caching proc.
214 * gdb.rust/rawids.exp: New file.
215 * gdb.rust/rawids.rs: New file.
216
46f263cc
SM
2172021-06-10 Simon Marchi <simon.marchi@polymtl.ca>
218
219 * lib/gdb.exp (default_gdb_exit): Unset gdb_tty_name.
220 (spawn_capture_tty_name): New, override builtin spawn.
221 (default_gdb_spawn): Capture GDB's TTY name.
222 * lib/tuiterm.exp (tuiterm_spawn): Remove.
223 (tuiterm_env_init, tuiterm_env_finish): Remove spawn override.
224 (Term) <resize>: Use new variable name.
225 (tuiterm_env_init, tuiterm_env_finish): Remove.
226 (tuiterm_env): Don't call tuiterm_env_init and register
227 tuiterm_env_finish in gdb_finish_hooks.
228 (gdb_finish_hooks): Remove.
229 (gdb_finish): Don't call finish hooks.
230
6179e5f1
TV
2312021-06-10 Tom de Vries <tdevries@suse.de>
232
233 * gdb.mi/user-selected-context-sync.c (child_sub_function, main):
234 Rewrite while (1) using dummy loop body.
235
4bdd1a06
BK
2362021-06-10 Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
237
238 * gdb.base/foll-exec.c: convert the multi-line function call into
239 single line.
240
36695cf8
TV
2412021-06-10 Tom de Vries <tdevries@suse.de>
242
243 * lib/cp-support.exp (cp_test_ptype_class): Break up regexp.
244 * gdb.cp/nested-types.exp: Remove usage of read1 timeout factor.
245
0cc809fa
TV
2462021-06-10 Tom de Vries <tdevries@suse.de>
247
248 * gdb.cp/cplusfuncs.exp (info_func_regexp): Use gdb_test_lines.
249
c70fdc45
TT
2502021-06-09 Tom Tromey <tromey@adacore.com>
251
252 * README (Example): Update read1 example.
253
d0a3c757
SM
2542021-06-09 Simon Marchi <simon.marchi@polymtl.ca>
255
256 * lib/tuiterm.exp (Term) <_check_box>: Improve logging.
257
f9e59d06
LS
2582021-06-08 Lancelot Six <lsix@lancelotsix.com>
259
260 * gdb.base/premature-dummy-frame-removal.py (TestUnwinder): Use
261 'is None' instead of '== None' and 'is not None' instead of
262 '!= None'.
263 * gdb.python/py-frame-args.py (lookup_function): Same.
264 * gdb.python/py-framefilter-invalidarg.py (Reverse_Function): Same.
265 * gdb.python/py-framefilter.py (Reverse_Function): Same.
266 * gdb.python/py-nested-maps.py (lookup_function): Same.
267 * gdb.python/py-objfile-script-gdb.py (lookup_function): Same.
268 * gdb.python/py-prettyprint.py (lookup_function): Same.
269 * gdb.python/py-section-script.py (lookup_function): Same.
270 * gdb.python/py-unwind-inline.py (dummy_unwinder): Same.
271 * gdb.python/python.exp: Same.
272 * gdb.rust/pp.py (lookup_function): Same.
273
fdae5c22
TV
2742021-06-08 Tom de Vries <tdevries@suse.de>
275
276 * lib/gdb.exp (multi_line): Require more than one argument.
277 * gdb.base/gdbinit-history.exp: Update multi_line call.
278 * gdb.base/jit-reader.exp: Remove multi_line call.
279 * gdb.fortran/dynamic-ptype-whatis.exp: Same.
280
c3cfd9eb
TV
2812021-06-08 Tom de Vries <tdevries@suse.de>
282
283 * gdb.base/info-types.exp.tcl (match_line, gdb_test_lines): Move ...
284 * lib/gdb.exp: ... here.
285 * gdb.base/info-macros.exp: Use gdb_test_lines.
286
58f076c6
TV
2872021-06-08 Tom de Vries <tdevries@suse.de>
288
289 * gdb.base/info-types.exp.tcl (match_line): Handle --any.
290 (gdb_test_lines): Factor out of ...
291 (run_test): ... here.
292
4c5d7c03
TV
2932021-06-08 Tom de Vries <tdevries@suse.de>
294
295 * gdb.base/batch-preserve-term-settings.exp (spawn_shell): Fix
296 matching of initial prompt.
297
4a11703a
TV
2982021-06-08 Tom de Vries <tdevries@suse.de>
299
300 * gdb.threads/multi-create-ns-info-thr.exp: Limit breakpoint regexp to
301 one line.
302
ac6c175e
TV
3032021-06-08 Tom de Vries <tdevries@suse.de>
304
305 * gdb.base/sect-cmd.exp: Use gdb_test. Use -wrap "". Fix
306 test name.
307
25ff4de7
TV
3082021-06-08 Tom de Vries <tdevries@suse.de>
309
310 * gdb.base/sect-cmd.exp: Fix saw_section_address_line regexp.
311
cfc75767
SM
3122021-06-07 Simon Marchi <simon.marchi@polymtl.ca>
313
314 * gdb.base/continue-all-already-running.exp: Call fail if can't
315 run to main.
316
a12a15e7
AB
3172021-06-07 Andrew Burgess <andrew.burgess@embecosm.com>
318
319 PR gdb/27847
320 * gdb.dwarf2/dw2-weird-type-len.c: New file.
321 * gdb.dwarf2/dw2-weird-type-len.exp: New file.
322
f1854e35
SM
3232021-06-07 Simon Marchi <simon.marchi@polymtl.ca>
324
325 * gdb.base/attach.exp (test_command_line_attach_run): Use
326 proc_with_prefix.
327
b0e2f96b
TV
3282021-06-07 Tom de Vries <tdevries@suse.de>
329
330 PR testsuite/27908
331 * gdb.base/run-attach-while-running.exp (test): Don't match prompt
332 after attach using '$gdb_prompt $'.
333
409cac34
TV
3342021-06-07 Tom de Vries <tdevries@suse.de>
335
336 * gdb.base/info-types.exp.tcl: Remove "File .*" matching from regexp
337 matching state machine.
338
bc37aacd
TV
3392021-06-07 Tom de Vries <tdevries@suse.de>
340
341 * gdb.base/new-ui-pending-input.exp
342 (test_command_line_new_ui_pending_input): Fix regexp for "initial
343 prompt on extra console".
344
7ee8c127
TV
3452021-06-07 Tom de Vries <tdevries@suse.de>
346
347 * gdb.base/info-types.exp.tcl (run_test): Move "random line" regexp
348 up.
349
921b2bc7
SM
3502021-06-06 Simon Marchi <simon.marchi@efficios.com>
351
352 * gdb.server/stop-reply-no-thread-multi.exp: Clear sysroot when
353 host and target are local.
354
ad4bd975
HD
3552021-06-05 Hannes Domani <ssbssa@yahoo.de>
356
357 * gdb.python/py-symbol.exp: Fix tests for Python 3.
358
ae61ef2c
SV
3592021-06-05 Shahab Vahedi <shahab@synopsys.com>
360
361 * gdb.arch/arc-disassembler-options.exp: New test.
362 * gdb.arch/arc-disassembler-options.s: New test source.
363
386de171
TT
3642021-06-04 Tom Tromey <tromey@adacore.com>
365
366 * gdb.ada/array_of_symbolic_length.exp: New file.
367 * gdb.ada/array_of_symbolic_length/foo.adb: New file.
368 * gdb.ada/array_of_symbolic_length/gl.adb: New file.
369 * gdb.ada/array_of_symbolic_length/gl.ads: New file.
370 * gdb.ada/array_of_symbolic_length/pck.adb: New file.
371 * gdb.ada/array_of_symbolic_length/pck.ads: New file.
372
df5bc734
MH
3732021-06-03 Magne Hov <mhov@undo.io>
374
375 PR python/27841
376 * gdb.python/py-events.exp: Extend inferior exit tests.
377 * gdb.python/py-events.py: Print inferior exit PID.
378
6ac5237c
HD
3792021-06-03 Hannes Domani <ssbssa@yahoo.de>
380
381 * gdb.python/py-symbol.exp: Test symbol constants.
382
60be64b3
BE
3832021-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
384
385 * gdb.dwarf2/per-bfd-sharing.exp: Fix temp-dir leakage.
386
170960e8
CL
3872021-06-02 Carl Love <cel@us.ibm.com>
388
389 * gdb.threads/threadapply.c: Add global mybarrier.
390 (main): Add pthread_barrier_init.
391 (thread_function): Replace while loop with myp increment and
392 pthread_barrier_wait.
393
f2d42111
AB
3942021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * lib/gdb.exp (gdb_compile): Only add the -J option when using a
397 gcc based Fortran compiler, for example, flang does not support
398 this option.
399
8a222a6b
AB
4002021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
401
402 * lib/fortran.exp (fortran_int8): Escape '*' in pattern.
403
2adf1781
TT
4042021-06-01 Tom Tromey <tromey@adacore.com>
405
406 * Makefile.in (all): Don't print anything.
407 ($(abs_builddir)/site.exp site.exp): Use $(ECHO_GEN).
408 (expect-read1): Likewise.
409 (read1.so): Use $(ECHO_CC).
410 Include silent-rules.mk.
411
f99d1d37
TT
4122021-06-01 Tom Tromey <tromey@adacore.com>
413
414 * aclocal.m4, configure.ac, configure: Remove.
415 * Makefile.in (EXTRA_RULES): Remove.
416 ($(abs_builddir)/site.exp site.exp): Don't depend on
417 config.status.
418 (distclean maintainer-clean realclean, Makefile): Update.
419 (config.status): Remove target.
420 (lib/pdtrace): New target.
421 (all): Don't depend on EXTRA_RULES.
422 (check-read1): Depend on read1.so, expect-read1.
423
17d305ef
TV
4242021-06-01 Tom de Vries <tdevries@suse.de>
425
426 PR symtab/26096
427 * gdb.cp/cold-clone.cc: New test.
428 * gdb.cp/cold-clone.exp: New file.
429
b97eff8f
AB
4302021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
431
432 * gdb.gdb/unittest.c: New file.
433 * gdb.gdb/unittest.exp: Run with and without a binary file loaded
434 into GDB.
435
b4b3e2de
AB
4362021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
437
438 * gdb.base/premature-dummy-frame-removal.c: New file.
439 * gdb.base/premature-dummy-frame-removal.exp: New file.
440 * gdb.base/premature-dummy-frame-removal.py: New file.
441
d5a6313e
SM
4422021-05-27 Simon Marchi <simon.marchi@polymtl.ca>
443
444 * gdb.base/reverse-init-functions.exp: New.
445
248f7165
TV
4462021-05-27 Tom de Vries <tdevries@suse.de>
447
448 PR symtab/27919
449 PR testsuite/27920
450 * gdb.dwarf2/dw2-dummy-cu.exp: Use maint expand-symtabs instead of
451 -readnow.
452
e453275c
TV
4532021-05-27 Tom de Vries <tdevries@suse.de>
454
455 PR testsuite/27921
456 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Rename to ...
457 (local_add_gdb_index): ... this.
458
778ae9cc
TV
4592021-05-21 Tom de Vries <tdevries@suse.de>
460
461 PR testsuite/25047
462 * boards/cc-with-gnu-debuglink.exp: New file.
463
ca43e660
TBA
4642021-05-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
465
466 * gdb.dwarf2/dw2-inline-with-lexical-scope.c (func): Replace
467 a dead code with an assignment to a global var. Fix a
468 whitespacing problem around an assignment operator.
469
7f2b8718
WS
4702021-05-19 Will Schmidt <will_schmidt@vnet.ibm.com>
471
472 * gdb.arch/powerpc64-prologue.c: New test to exercise prologues
473 for the powerpc64 LE target.
474 * gdb.arch/powerpc-prologue.exp: Test Harness.
475
d9211df2
AB
4762021-05-19 Andrew Burgess <andrew.burgess@embecosm.com>
477
478 * gdb.guile/scm-pretty-print.exp: Add test names to resolve
479 duplicate test names.
480
2129a942
TV
4812021-05-19 Tom de Vries <tdevries@suse.de>
482
483 * gdb.base/info-types.exp.tcl: Scan info types output line-by-line.
484
5277208d
SM
4852021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
486
487 * gdb.python/py-framefilter-gdb.py.in: Rename to:
488 * gdb.python/py-framefilter-gdb.py: ... this.
489 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Rename to:
490 * gdb.python/py-framefilter-invalidarg-gdb.py: ... this.
491
91e159e9
SM
4922021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
493
494 * gdb.python/py-framefilter-gdb.py.in: Re-format.
495 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Re-format.
496
467f8eb2
BK
4972021-05-17 Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
498
499 * gdb.base/class-allocatable-array.exp: Modified test for clang.
500
ea11a98d
WP
5012021-05-16 Weimin Pan <weimin.pan@oracle.com>
502
503 * gdb.ctf/funcreturn.exp: New file.
504 * gdb.ctf/whatis.c: Copy from gdb.base.
505
887e7158
TT
5062021-05-14 Tom Tromey <tom@tromey.com>
507
508 * gdb.rust/pp.exp: New file.
509 * gdb.rust/pp.py: New file.
510 * gdb.rust/pp.rs: New file.
511
f8eec398
BE
5122021-05-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
513
514 * gdb.base/index-cache.exp: Cleanup $cache_dir/*.gdb-index and
515 remove the directory.
516 * gdb.dwarf2/per-bfd-sharing.exp: Likewise.
517
55789354
TBA
5182021-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
519
520 * gdb.python/py-inferior.exp: Add test cases for 'connection_num'.
521
ecf25064
KC
5222021-05-14 Kent Cheung <kent.cheung@arm.com>
523 Andrew Burgess <andrew.burgess@embecosm.com>
524
525 * gdb.python/py-format-string.c: Added a variable to test.
526 * gdb.python/py-format-string.exp: Check string representation is
527 printed at appropriate max_depth settings.
528 * gdb.python/py-nested-maps.exp: Likewise.
529 * gdb.guile/scm-pretty-print.exp: Add additional tests.
530
bab9eb49 5312021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
4a0a0bd2
AB
532
533 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Give some tests
534 unique names, also wrap proc body in with_test_prefix.
535
bab9eb49 5362021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
62f2f198
AB
537
538 * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve
539 duplicate test names.
540 * gdb.guile/scm-parameter.exp: Provide test names to avoid
541 duplicate names based on the command being run.
542 * gdb.guile/scm-symbol.exp: Extend test name to make it unique.
543 * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when
544 loading a support module.
545 (test_equality): Update test name to match the actual test, making
546 the name unique in the process.
547 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names
548 to resolve duplicate tests.
549 (test_inferior_function_call): Likewise.
550 (test_subscript_regression): Likewise.
551
bab9eb49 5522021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
5c6f801d
AB
553
554 * lib/guile.exp (gdb_scm_load_file): Use empty test name to
555 silence PASS lines.
556 (gdb_install_guile_module): Likewise.
557
ee35ce82
GB
5582021-05-12 George Barrett <bob@bob131.so>
559
560 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
561 value-const-value.
562
9d4fc61d
GB
5632021-05-12 George Barrett <bob@bob131.so>
564
565 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
566 value-reference-value. Add test for value-rvalue-reference-value.
567
5048549a
TV
5682021-05-11 Tom de Vries <tdevries@suse.de>
569
570 * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
571 Add "set debug infrun 1" commented out.
572
2302f963
TV
5732021-05-11 Tom de Vries <tdevries@suse.de>
574
575 * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp.
576
abb894a4
BK
5772021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com>
578
579 * gdb.fortran/array-element.exp: Breakpoint location is modified.
580
db1f6cd6
LS
5812021-05-10 Lancelot Six <lsix@lancelotsix.com>
582
583 PR gdb/27614
584 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
585
9344937b
AB
5862021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
587
588 * gdb.guile/guile.exp: Don't use the source directory as a
589 temporary HOME directory.
590
0709cf68
SM
5912021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
592
593 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
594 parameters.
595
1845e254
AB
5962021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
597
598 * gdb.guile/guile.exp: Add an extra test.
599
a3237c7c
AB
6002021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
601
602 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
603 gdb_test_no_output.
604
13123da8
SM
6052021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
606
607 * Re-format all Python files using black.
608 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
609
0618ecf6
AB
6102021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
611
612 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
613 watchpoint object before and after registering it with GDB.
614
a7ed4ea6
AB
6152021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
616
617 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
618 'proc_with_prefix', remove use of 'with_test_prefix', and
619 reindent.
620 (test_bkpt_deletion): Likewise.
621 (test_bkpt_cond_and_cmds): Likewise.
622 (test_bkpt_invisible): Likewise.
623 (test_watchpoints): Likewise.
624 (test_bkpt_internal): Likewise.
625 (test_bkpt_eval_funcs): Likewise.
626 (test_bkpt_registration): Likewise.
627 (test_bkpt_address): Convert to 'proc_with_prefix'.
628 (test_bkpt_probe): Likewise.
629
7ebbaa1c
AB
6302021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
631
632 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
633 names to avoid duplicates.
634 (test_bkpt_cond_and_cmds): Likewise.
635 (test_bkpt_eval_funcs): Likewise.
636
79aabb73
TBA
6372021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
638
639 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
640 for the -break-condition command's "--force" flag.
641
10e578d7
TBA
6422021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
643
644 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
645 is called by the test.
646
2f000c80
TV
6472021-05-05 Tom de Vries <tdevries@suse.de>
648
649 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
650 "Reading symbols" or "Expanding full symbols" lines. Using timeout
651 factor of 2 for attach.
652
09f83f79
TV
6532021-05-05 Tom de Vries <tdevries@suse.de>
654
655 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
656 "LWP <n> exited" messages.
657
fa94b3a7
SM
6582021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
659
660 * gdb.python/py-type.exp (test_fields): Test calling fields on
661 an int type.
662
858c8f2c
SM
6632021-05-04 Simon Marchi <simon.marchi@efficios.com>
664
665 * gdb.python/flexible-array-member.exp: Adjust expected range
666 value for member declared with 0 size. Test accessing range
667 tuple through range type.
668
d389a1a7
AB
6692021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
670
671 PR testsuite/27788
672 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
673 expected results when environment variable PYTHONDONTWRITEBYTECODE
674 is set.
675
2869ac4b
TT
6762021-04-30 Tom Tromey <tromey@adacore.com>
677
678 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
679 (Confused_Array): New types.
680 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
681 * gdb.ada/enum_idx_packed.exp: Add new tests.
682
5536f0cc
TV
6832021-04-30 Tom de Vries <tdevries@suse.de>
684
685 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
686 existing timeout factors.
687
7f7f284d
TV
6882021-04-30 Tom de Vries <tdevries@suse.de>
689
690 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
691
3f334074
TV
6922021-04-29 Tom de Vries <tdevries@suse.de>
693
694 PR testsuite/27786
695 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
696 remotetimeout to 4.
697
db2534b7
TT
6982021-04-28 Tom Tromey <tromey@adacore.com>
699
700 * gdb.ada/null_overload.exp: New file.
701 * gdb.ada/null_overload/foo.adb: New file.
702
edeaceda
AB
7032021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
704
705 * gdb.python/py-startup-opt.exp: New file.
706
b9f90c72
LM
7072021-04-27 Luis Machado <luis.machado@linaro.org>
708
709 * gdb.base/maint.exp: Drop a pattern that is not needed.
710 * lib/gdb.exp (readnow): Match line-by-line.
711
4b62a30d
LM
7122021-04-27 Luis Machado <luis.machado@linaro.org>
713
714 * gdb.xml/tdesc-reload.exp: Pass -lbl.
715
2c473def
MW
7162021-04-27 Michael Weghorn <m.weghorn@posteo.de>
717 Simon Marchi <simon.marchi@polymtl.ca>
718
719 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
720 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
721 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
722 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
723 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
724 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
725
e8b6c1da
TT
7262021-04-26 Tom Tromey <tromey@adacore.com>
727
728 PR gdb/27743:
729 * gdb.dwarf2/imported-unit-bp.exp: New file.
730 * gdb.dwarf2/imported-unit-bp-main.c: New file.
731 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
732
bea3329b
SM
7332021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
734
735 PR gdb/27773
736 * gdb.base/dump.exp: Test dump to non-existent dir.
737
21f91785
LM
7382021-04-26 Luis Machado <luis.machado@linaro.org>
739
740 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
741 comparison.
742
fbb46296
LS
7432021-04-25 Lancelot Six <lsix@lancelotsix.com>
744
745 PR gdb/22640
746 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
747 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
748 changes the default behavior of 'ptype/o'. Update to take into
749 account new horizontal layout.
750 * gdb.rust/simple.exp: Update ptype test to check new horizontal
751 layout.
752 * gdb.rust/union.exp: Same.
753
9fc29955
AB
7542021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
755
756 * gdb.base/info_sources.exp: Add new tests.
757
432ce4cf
TT
7582021-04-22 Tom Tromey <tom@tromey.com>
759
760 * gdb.base/ptype-offsets.cc (struct empty_member): New.
761 (main): Use empty_member.
762 * gdb.base/ptype-offsets.exp: Add new test.
763
a87caa6d
SM
7642021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
765
766 * gdb.python/flexible-array-member.exp: Add check for Python
767 support.
768
e25d6d93
SM
7692021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
770
771 PR gdb/27757
772 * gdb.python/flexible-array-member.c: New test.
773 * gdb.python/flexible-array-member.exp: New test.
774 * gdb.guile/scm-type.exp (test_range): Add test for flexible
775 array member.
776 * gdb.guile/scm-type.c (struct flex_member): New.
777 (main): Use it.
778
22f80c0f
TT
7792021-04-22 Tom Tromey <tom@tromey.com>
780
781 * gdb.rust/modules.exp: Add checks for syntax errors.
782 * gdb.rust/expr.exp: Add checks for syntax errors.
783 * gdb.rust/simple.exp: Add checks for syntax errors.
784
6d5702a5
CL
7852021-04-21 Carl Love <cel@us.ibm.com>
786
787 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
788 Update expected string for gdb_test "bt".
789
790 * lib/valgrind.exp: Add set remotetimeout 3.
791 Increase vgdb wait from 1 to 2.
792 Add max-invoke-ms option to vgdb command line.
793
10a636cc
TBA
7942021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
795
796 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
797 conditions.
798
98e713ab
SM
7992021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
800 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
801
802 * gdb.mi/mi-break.exp: Fix the duplicate test names.
803
525174e8
FW
8042021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
805
806 * gdb.base/address_space_qualifier.exp: New file.
807
392e0bcc
TT
8082021-04-19 Tom Tromey <tromey@adacore.com>
809
810 PR gdb/27742:
811 * gdb.opt/inline-locals.exp: Update kfail patterns.
812
da314dd3
TT
8132021-04-17 Tom Tromey <tom@tromey.com>
814
815 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
816
3cbc7ac3
TT
8172021-04-16 Tom Tromey <tom@tromey.com>
818
819 * gdb.rust/simple.exp: Change error text.
820 * gdb.rust/expr.exp: Change error text.
821
458620aa
TT
8222021-04-16 Tom Tromey <tom@tromey.com>
823
824 * gdb.rust/simple.exp: Add parens to 'as' test.
825
321d0cd7
SM
8262021-04-16 Simon Marchi <simon.marchi@efficios.com>
827
828 * boards/simavr.exp: Set debug_flags.
829
1b6b755e
LM
8302021-04-16 Luis Machado <luis.machado@linaro.org>
831
832 * gdb.dwarf2/dw2-bfloat16.exp: New file.
833
fd5c30cd
AB
8342021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
835
836 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
837 including a path in the test name.
838
41f14dc8
SM
8392021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
840
841 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
842
a15a276b
TT
8432021-04-15 Tom Tromey <tromey@adacore.com>
844
845 * gdb.dwarf2/arr-stride.exp: Add test.
846
5809fbf2
TT
8472021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * gdb.base/startup-file.exp: Add more tests.
850
92e4e97a
AB
8512021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 PR cli/25956
854 * gdb.base/early-init-file.c: New file.
855 * gdb.base/early-init-file.exp: New file.
856 * lib/gdb-utils.exp (style): Handle style 'none'.
857
fcc99c42
TBA
8582021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
859
860 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
861 @DW_INL_declared_inlined for the inline attribute.
862
34dc0f95
TBA
8632021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
864
865 * gdb.opt/inline-locals.c (scoped): New function.
866 (main): Call 'scoped'.
867 * gdb.opt/inline-locals.exp: Update with "info locals" tests
868 for scoped variables.
869 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
870 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
871
ac4d323e
TBA
8722021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
873
874 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
875
6b142048
WS
8762021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
877
878 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
879
82d9b280 8802021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
881
882 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
883 non-relative plxv instructions.
884 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
885
8862021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 887
e3d528d7
WS
888 PR gdb/27525
889 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
890 exercise single-stepping over subpcis,lnia,addpcis instructions
891 with displacement.
892 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
893 of addpcis/lnia/subpcis instructions.
894 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
895 exercise single-stepping over lnia instructions with displacement.
896 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
897 lnia instructions.
898
8992021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
900
82d9b280
WS
901 * gdb.arch/powerpc-power10.s: New test for instructions.
902 * gdb.arch/powerpc-power10.exp: Harness to run the test.
903
6ba4cb84
CL
9042021-4-12 Carl Love <cel@us.ibm.com>
905
906 * gdb.arch/vsx-vsr-float128.c: New test file.
907 * gdb.arch/vsx-vsr-float128.exp: New expect file.
908
9d8f3022
MM
9092021-04-12 Markus Metzger <markus.t.metzger@intel.com>
910
911 * gdb.btrace/reconnect.exp: Relax expected stepi output.
912
dc2b480f
WP
9132021-04-07 Weimin Pan <weimin.pan@oracle.com>
914
915 * gdb.base/ctf-ptype.c: Add struct link containing a forward
916 reference type.
917 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
918
0a703a4c
AB
9192021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
920
921 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
922 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
923
30ab3586
AB
9242021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
925
926 * gdb.cp/rvalue-ref-params.cc (f3): New function.
927 (f4): New function.
928 (global_int): New global variable.
929 (global_float): Likeiwse.
930 (main): Call both new functions.
931 * gdb.cp/rvalue-ref-params.exp: Add new tests.
932
56d467f4
CT
9332021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
934
935 * gdb.dwarf2/fission-relative-dwo.c: New file.
936 * gdb.dwarf2/fission-relative-dwo.exp: New file.
937
61dee722
AB
9382021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
939
940 * gdb.dwarf2/fission-absolute-dwo.c: New file.
941 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
942 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
943 instead of build_executable_from_fission_assembler.
944 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
945 * gdb.dwarf2/fission-loclists.exp: Likewise.
946
947 * gdb.dwarf2/fission-multi-cu.S: Delete file.
948 * gdb.dwarf2/fission-multi-cu.c: New file based on old
949 fission-multi-cu1.c and fission-multi-cu2.c files.
950 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
951 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
952 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
953 * gdb.dwarf2/fission-reread.exp: Likewise.
954 * lib/dwarf.exp (extract_dwo_information): New proc.
955 (strip_dwo_information): New proc.
956 (build_executable_and_dwo_files): New proc.
957 (build_executable_from_fission_assembler): Delete.
958 (Dwarf::_debug_addr_index): New variable.
959 (Dwarf::_cu_is_fission): New variable.
960 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
961 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
962 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
963 if this is a fission CU.
964 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
965 (Dwarf::debug_addr_label): New proc.
966 (Dwarf::cu): Initialise _cu_is_fission.
967 (Dwarf::tu): Likewise.
968 (Dwarf::assemble): Initialise _debug_addr_index.
969
1fd999d9
AB
9702021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
971
972 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
973
79c02443
AB
9742021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
975
976 * gdb.python/py-parameter.exp: Add test for reading data-directory
977 using gdb.parameter API.
978
340d00fb
TV
9792021-04-06 Tom de Vries <tdevries@suse.de>
980
981 PR breakpoints/25884
982 * gdb.opt/inline-cmds.exp: Remove kfail.
983
043bcbaf
TV
9842021-04-06 Tom de Vries <tdevries@suse.de>
985
986 PR testsuite/27691
987 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
988 file "".
989
ac628a06
EB
9902021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
991
992 * lib/pdtrace.in: Fix obvious typo.
993
3f49d080
TT
9942021-03-31 Tom Tromey <tromey@adacore.com>
995
996 * lib/dwarf.exp (Dwarf::_get_args): New proc.
997 (Dwarf::_location): Use it.
998
cfcbd506
TV
9992021-03-31 Tom de Vries <tdevries@suse.de>
1000
1001 PR testsuite/27667
1002 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
1003
8a91fbdf
SM
10042021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
1005
1006 PR gdb/27541
1007 * gdb.base/index-cache-load-twice.exp: Remove.
1008 * gdb.base/index-cache-load-twice.c: Remove.
1009 * gdb.dwarf2/per-bfd-sharing.exp: New.
1010 * gdb.dwarf2/per-bfd-sharing.c: New.
1011
b953e703
TV
10122021-03-30 Tom de Vries <tdevries@suse.de>
1013
1014 PR testsuite/27604
1015 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
1016
aa33ea68
TBA
10172021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1018
1019 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
1020 the infinite loop to avoid a Clang bug.
1021
99066782
WS
10222021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
1023
1024 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
1025 names for uniqueness.
1026 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
1027 uniqueness.
1028
b1f3973b
AB
10292021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1030
1031 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
1032 member.
1033 (make_container): Initialise is_array_p.
1034 * gdb.python/py-prettyprint.exp: Add new tests.
1035 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
1036 Check is_array_p and possibly return 'array'.
1037
3c2dcf90
AB
10382021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1039
1040 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
1041 * gdb.cp/casts.exp: Give tests unique names.
1042 * gdb.cp/filename.exp: Likewise.
1043 * gdb.cp/gdb2495.exp: Likewise.
1044 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
1045 * gdb.cp/misc.exp: Rename test to make it unique.
1046 * gdb.cp/nsnested.exp: Give tests unique names.
1047 * gdb.cp/ovldbreak.exp: Likewise.
1048 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
1049 being tested. This also removes the duplicate test name.
1050 * gdb.cp/ref-types.exp: Likewise.
1051 * gdb.cp/temargs.exp: Likewise.
1052
6b78370d
AB
10532021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1054
1055 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
1056 square brackets in test.
1057
baecbb3d
AB
10582021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1059
1060 * gdb.cp/maint.exp (test_first_component): Run more tests with a
1061 variable number of spaces, this removes the duplicate testing of
1062 'operator ->' which existed before.
1063
6e892297
AB
10642021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1065
1066 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
1067 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
1068 duplicates, and also to avoid having a string inside parentheses
1069 at the end of test names.
1070
ac45a6ca
AB
10712021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1072
1073 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
1074 Avoid repeated uses of 'runto', and instread just progress once
1075 through the test stopping at different breakpoints. Give comments
1076 a capital letter and full stop. Give duplicate tests unique names.
1077
323fd5b9
PA
10782021-03-25 Pedro Alves <pedro@palves.net>
1079
1080 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
1081 "target_non_stop" parameter and use it.
1082 (top level): Add "maint set target-non-stop on/off" testing axis.
1083
ba3c61fc
AB
10842021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
1085
1086 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
1087 gdb_test_multiple.
1088
bf0aecce
LM
10892021-03-24 Luis Machado <luis.machado@linaro.org>
1090
1091 * gdb.arch/aarch64-mte.c: New file.
1092 * gdb.arch/aarch64-mte.exp: New test.
1093 * gdb.base/memtag.c: New file.
1094 * gdb.base/memtag.exp: New test.
1095 * lib/gdb.exp (supports_memtag): New function.
1096
bef382e6
LM
10972021-03-24 Luis Machado <luis.machado@linaro.org>
1098
1099 * gdb.base/options.exp: Adjust for new print options.
1100 * gdb.base/with.exp: Likewise.
1101
702cf3f5
AB
11022021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
1103
1104 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
1105 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
1106
1e7fcccb
AB
11072021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
1108
1109 * gdb.dwarf2/dw2-using-debug-str.c: New file.
1110 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
1111 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
1112 not .debug_string.
1113
4829711b
TT
11142021-03-20 Tom Tromey <tom@tromey.com>
1115
1116 * gdb.base/maint.exp: Update "maint print statistics" output.
1117
e0d6d274
KB
11182021-03-19 Kevin Buettner <kevinb@redhat.com>
1119
1120 * lib/gdbserver-support.exp (gdbserver_exit): Use the
1121 "-nowait" flag when waiting for gdbserver to exit.
1122
a088215a
SST
11232021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
1124
1125 * gdb.base/info-macros.exp: Append -fdebug-macro to
1126 additional_flags for clang.
1127 * gdb.base/macscp.exp: Likewise.
1128 * gdb.base/style.exp: Likewise.
1129 * gdb.linespec/macro-relative.exp: Likewise.
1130
d0c99a23
SM
11312021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
1132 Pedro Alves <pedro@palves.net>
1133
1134 * gdb.base/run-attach-while-running.exp: New.
1135 * gdb.base/run-attach-while-running.c: New.
1136
7807d76a
AB
11372021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
1138
1139 * gdb.python/py-framefilter-addr.c: New file.
1140 * gdb.python/py-framefilter-addr.exp: New file.
1141 * gdb.python/py-framefilter-addr.py: New file.
1142
f302f9e2
AB
11432021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
1144
1145 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
1146 Make use of $gdb_test_name instead of creating a separate $test
1147 variable.
1148 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
1149 adding a '($name)' at the end of each test. This also catches the
1150 one place where '($name)' was missing, and so caused a duplicate
1151 test name.
1152 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
1153 duplicate test names based on the command being tested.
1154 * gdb.threads/signal-command-multiple-signals-pending.exp:
1155 Likewise.
1156 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
1157 avoid duplicate testnames when a test script uses this proc and
1158 also gdb_compile_pthreads.
1159 * lib/prelink-support.exp (build_executable_own_libs): Use
1160 with_test_prefix to avoid duplicate test names when we call
1161 build_executable twice.
1162
6813ceb0
TT
11632021-03-15 Tom Tromey <tromey@adacore.com>
1164
1165 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
1166
3b5c4de0
TT
11672021-03-15 Tom Tromey <tromey@adacore.com>
1168
1169 * gdb.ada/varsize_limit.exp: Add new test.
1170 * gdb.ada/varsize_limit/vsizelim.adb: Update.
1171
c04da66c
TT
11722021-03-15 Tom Tromey <tromey@adacore.com>
1173
1174 * gdb.ada/operator_call/twovecs.ads: New file.
1175 * gdb.ada/operator_call/twovecs.adb: New file.
1176 * gdb.ada/operator_call/opcall.adb: New file.
1177 * gdb.ada/operator_call.exp: New file.
1178
1ac74522
TT
11792021-03-15 Tom Tromey <tromey@adacore.com>
1180
1181 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
1182 * gdb.ada/enums_overload/enums_overload.ads: New file.
1183 * gdb.ada/enums_overload/enums_overload.adb: New file.
1184 * gdb.ada/enums_overload.exp: New file.
1185
207582c0
TT
11862021-03-15 Tom Tromey <tromey@adacore.com>
1187
1188 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
1189 Declare.
1190 * gdb.ada/assign_arr/target_wrapper.adb: New file.
1191 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
1192 Call Put.
1193 * gdb.ada/assign_arr.exp: Update.
1194
ba6a0ef3
AB
11952021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
1196
1197 * gdb.python/py-auto-load-chaining-f1.c: New file.
1198 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
1199 * gdb.python/py-auto-load-chaining-f2.c: New file.
1200 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
1201 * gdb.python/py-auto-load-chaining.c: New file.
1202 * gdb.python/py-auto-load-chaining.exp: New file.
1203
7f99d636
AB
12042021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1205
1206 * gdb.python/py-bad-printers.exp: Extend test names to make them
1207 unique.
1208 * gdb.python/py-events.exp: Likewise.
1209 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1210 * gdb.python/py-frame-inline.exp: Likewise.
1211 * gdb.python/py-frame.exp: Likewise.
1212 * gdb.python/py-infthread.exp: Likewise.
1213
323b848c
AB
12142021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1215
1216 * gdb.python/py-value-cc.exp: Remove a duplicate test.
1217
8a4efb36
AB
12182021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1219
1220 * gdb.python/lib-types.exp: Update the test to check the correct
1221 python variable.
1222
66bb1dd9
AB
12232021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1224
1225 * gdb.python/py-explore-cc.exp: Extend test names to make them
1226 unique.
1227
0125fabc
AB
12282021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1229
1230 * gdb.python/py-lookup-type.exp: Remove duplicate test.
1231
79d04157
AB
12322021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1233
1234 * gdb.python/py-symtab.exp: Extend test names to make them
1235 unique.
1236
e3e48d8f
AB
12372021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
1240 names unique.
1241
2cb60e74
AB
12422021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1243
1244 * gdb.python/py-block.exp: Give tests unique names.
1245
8b12ded4
AB
12462021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1247
1248 * gdb.python/py-pp-maint.exp: Extend test names to make them
1249 unique.
1250
93598ea4
AB
12512021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1252
1253 * gdb.python/py-explore.exp: Add with_test_prefix to make test
1254 names unique.
1255
f35d6971
AB
12562021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1257
1258 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
1259
22d3e7f6
AB
12602021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1261
1262 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
1263 names unique.
1264
5fc5a1b8
AB
12652021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1266
1267 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
1268 test names unique.
1269
e3141a4d
AB
12702021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1271
1272 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
1273 unique.
1274
ccdc02ed
TT
12752021-03-09 Tom Tromey <tromey@adacore.com>
1276
1277 * gdb.base/cast-call.exp: New file.
1278 * gdb.base/cast-call.c: New file.
1279
fbb1aace
AB
12802021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1281
1282 * gdb.gdb/python-helper.exp: New file.
1283
611aa09d
FW
12842020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
1285
1286 * gdb.fortran/intrinsics.exp: Add LOC tests.
1287
eef32f59
AB
12882021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1289
1290 * gdb.fortran/shape.exp: New file.
1291 * gdb.fortran/shape.f90: New file.
1292
7ba155b3
AB
12932021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1294
1295 * gdb.fortran/size.exp: New file.
1296 * gdb.fortran/size.f90: New file.
1297
e14816a8
AB
12982021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1299
1300 * gdb.fortran/rank.exp: New file.
1301 * gdb.fortran/rank.f90: New file.
1302
d308ba78
TT
13032021-03-08 Tom Tromey <tom@tromey.com>
1304
1305 * gdb.fortran/debug-expr.exp: Update tests.
1306
d182f279
TT
13072021-03-08 Tom Tromey <tom@tromey.com>
1308
1309 * gdb.base/debug-expr.exp: Update expected dump output.
1310
a7308ce0
TT
13112021-03-06 Tom Tromey <tom@tromey.com>
1312
1313 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
1314 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
1315 * gdb.dwarf2/dwznolink.exp: New file.
1316
b0a8c2ff
MW
13172021-03-05 Mark Wielaard <mark@klomp.org>
1318
1319 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
1320
844be3f2
WP
13212021-03-06 Weimin Pan <weimin.pan@oracle.com>
1322
1323 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
1324
82333781
MM
13252021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1326
1327 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
1328
32c52999
MM
13292021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1330
1331 * gdb.btrace/non-stop.exp: Adjust expected source lines.
1332
26ed1478
MM
13332021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1334
1335 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
1336
d2c5f24e
MM
13372021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1338
1339 * gdb.btrace/exception.cc (main): Update test source.
1340 * gdb.btrace/exception.exp: Update patterns.
1341 * gdb.btrace/function_call_history.exp: Likewise.
1342
c7c7253a
MM
13432021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1344
1345 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
1346
f0778fc1
MM
13472021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1348
1349 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
1350 reverse-continue to breakpoint.
1351
e71dbd03
MM
13522021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1353
1354 * gdb.btrace/delta.exp: Remove instruction-history and
1355 function-call-history checks.
1356
b93a3ed0
MM
13572021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1358
1359 * README (Note): Add nopie_ldflag.
1360 * lib/gdb.exp (gdb_compile): Extend nopie handling.
1361
bbcdf9ab
TT
13622021-03-02 Tom Tromey <tromey@adacore.com>
1363
1364 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
1365 encodings.
1366
bb3a4efe
LS
13672021-02-27 Lancelot Six <lsix@lancelotix.com>
1368
1369 PR gdb/27393
1370 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
1371
1372
573dc0cc
TT
13732021-02-26 Tom Tromey <tom@tromey.com>
1374
1375 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
1376
f8218786
JV
13772021-02-26 Jan Vrany <jan.vrany@labware.com>
1378
1379 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1380 Remove trailing \n from expected output.
1381
cb51b708
MM
13822021-02-26 Markus Metzger <markus.t.metzger@intel.com>
1383
1384 * lib/gdb.exp (use_gdb_stub): Extend comment.
1385
64d38fdd
JM
13862021-02-25 Jan Matyas <jmatyas@codasip.com>
1387
1388 PR gdb/26819
1389 * gdb.server/stop-reply-no-thread.exp: Add two test
1390 scenarios that cover remote targets which do not have
1391 the concept of threads.
1392
d4ff3cbf
AB
13932021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1394
1395 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
1396
68337b8b
AB
13972021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1398
1399 PR fortran/26155
1400 * gdb.fortran/call-no-debug-func.f90: New file.
1401 * gdb.fortran/call-no-debug-prog.f90: New file.
1402 * gdb.fortran/call-no-debug.exp: New file.
1403
faeb9f13
AB
14042021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1405
1406 * gdb.fortran/associated.exp: New file.
1407 * gdb.fortran/associated.f90: New file.
1408
170f4b23
AB
14092021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1410
1411 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
1412
dd80d750
AB
14132021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1414
1415 * gdb.base/sect-cmd.exp: Update expected results.
1416
b91919ac
AB
14172021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1418
1419 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
1420 techniques. Enable the test for all targets.
1421
02a79309
AB
14222021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1423
1424 * gdb.base/maint-info-sections.exp: Add new tests.
1425 (check_maint_info_target_sections_output): New proc.
1426
895b7b4e
AB
14272021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1428
1429 * gdb.arch/riscv-default-tdesc.exp: New file.
1430
bc3c0632
AB
14312021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1432
1433 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
1434
acde2092
AB
14352021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1436
1437 * gdb.arch/i386-biarch-core.exp: Add target check.
1438
7d2e5095
AKS
14392021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1440
1441 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
1442
96df3e28
AB
14432021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
1444
1445 * gdb.fortran/allocated.exp: New file.
1446 * gdb.fortran/allocated.f90: New file.
1447
a1670b72
AB
14482021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1449
1450 * gdb.fortran/lbound-ubound.exp: Remove old comment.
1451
bf3386f0
AB
14522021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1453
1454 * gdb.base/maint-info-sections.exp: Update expected output, and
1455 add additional tests. Again.
1456
4790db14
AB
14572021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1458
1459 * gdb.base/maint-info-sections.exp: Update expected output, and
1460 add additional tests.
1461
f4be6772
AB
14622021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1463
1464 * gdb.base/maint-info-sections.exp: New file, content is moved
1465 from gdb.base/maint.exp and cleaned up to use latest testsuite
1466 techniques.
1467 * gdb.base/maint.exp: Tests moved out to
1468 gdb.base/maint-info-sections.exp.
1469
25ad1e83
SM
14702021-02-10 Simon Marchi <simon.marchi@efficios.com>
1471
1472 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
1473 GDBFLAGS.
1474
e92c8eb8
AB
14752021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1476
1477 * gdb.fortran/lbound-ubound.F90: New file.
1478 * gdb.fortran/lbound-ubound.exp: New file.
1479
ee4c3d88
TV
14802021-02-10 Tom de Vries <tdevries@suse.de>
1481
1482 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
1483 "Restore saved setting of complaints".
1484
cf2b2075
TV
14852021-02-09 Tom de Vries <tdevries@suse.de>
1486
1487 PR symtab/27341
1488 * lib/gdb.exp (with_complaints): New proc, factored out of ...
1489 (gdb_load_no_complaints): ... here.
1490 * gdb.fortran/function-calls.exp: Add test-case.
1491
b61f7811
HAQ
14922021-02-09 Abid Qadeer <abidh@codesourcery.com>
1493
1494 * gdb.threads/signal-command-handle-nopass.exp: Call
1495 'standard_testfile' before using 'testfile'.
1496 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
1497 * gdb.threads/signal-delivered-right-thread.exp: Likewise
1498 * gdb.threads/signal-sigtrap.exp: Likewise
1499
3d4aae48
LM
15002021-02-08 Luis Machado <luis.machado@linaro.org>
1501
1502 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
1503
4001d90d
TV
15042021-02-08 Tom de Vries <tdevries@suse.de>
1505
1506 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
1507
29db1eb3
AB
15082021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1509
1510 * gdb.python/tui-window-disabled.c: New file.
1511 * gdb.python/tui-window-disabled.exp: New file.
1512 * gdb.python/tui-window-disabled.py: New file.
1513
e0c23e11
AB
15142021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1515
1516 * gdb.python/tui-window.exp: Add new tests.
1517 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
1518 TestWindow object into global the_window.
1519 <remote_title>: New method.
1520 (delete_window_title): New function.
1521
1cf23996
AB
15222021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1523
1524 * gdb.tui/winheight.exp: Add more tests.
1525
2708dbbd
AB
15262021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1527
1528 * gdb.python/py-framefilter.exp: Update expected results.
1529 * gdb.python/python.exp: Update expected results.
1530
cd074e04
AB
15312021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1532
1533 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
1534 about bug in GDB, update expected results, and add more tests.
1535
5fb97639
AB
15362021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1537
1538 * gdb.tui/scroll.exp: New file.
1539 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
1540 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
1541 remaining lines up.
1542 (Term::check_region_contents): New proc.
1543 (Term::check_box_contents): Use check_region_contents.
1544
c0e56745
TV
15452021-02-06 Tom de Vries <tdevries@suse.de>
1546
1547 PR testsuite/26922
1548 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
1549 scrolling.
1550
0e857c82
TV
15512021-02-05 Tom de Vries <tdevries@suse.de>
1552
1553 PR breakpoints/27313
1554 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
1555 rejected.
1556
a22ec6e8
TV
15572021-02-05 Tom de Vries <tdevries@suse.de>
1558
1559 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
1560 * gdb.fortran/mixed-lang-stack.exp: Same.
1561
ae710496
TV
15622021-02-05 Tom de Vries <tdevries@suse.de>
1563
1564 PR exp/27265
1565 * gdb.base/complex-parts.exp: Add tests.
1566
d3b54e63
TV
15672021-02-05 Tom de Vries <tdevries@suse.de>
1568
1569 PR symtab/27307
1570 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
1571
3eccb1c8
SV
15722021-02-04 Shahab Vahedi <shahab@synopsys.com>
1573
1574 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
1575
a71501e2
PA
15762021-02-03 Pedro Alves <pedro@palves.net>
1577
1578 * gdb.threads/detach-step-over.c: New file.
1579 * gdb.threads/detach-step-over.exp: New file.
1580
92234eb1
PA
15812021-02-03 Pedro Alves <pedro@palves.net>
1582
1583 * gdb.threads/attach-non-stop.c: New file.
1584 * gdb.threads/attach-non-stop.exp: New file.
1585
2e3773ff
LS
15862021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1587
1588 * gdb.base/inferior-noarg.c: New test.
1589 * gdb.base/inferior-noarg.exp: New test.
1590
e0bd9202
SM
15912021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1592
1593 * gdb.base/scope.exp: Use proc_with_prefix.
1594
9307efbe
SM
15952021-02-02 Simon Marchi <simon.marchi@efficios.com>
1596
1597 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1598 table proc.
1599 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1600 .debug_rnglists table without offset array.
1601 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1602 .debug_loclists table without offset array.
1603
2b0c7f41
SM
16042021-02-02 Simon Marchi <simon.marchi@efficios.com>
1605
1606 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1607 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1608 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1609 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1610 attribute
1611
ecfda20d
SM
16122021-02-02 Simon Marchi <simon.marchi@efficios.com>
1613
1614 PR gdb/26813
1615 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1616 (loclists): New proc.
1617 * gdb.dwarf2/loclists-multiple-cus.c: New.
1618 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1619 * gdb.dwarf2/loclists-sec-offset.c: New.
1620 * gdb.dwarf2/loclists-sec-offset.exp: New.
1621
6b0933da
SM
16222021-02-02 Simon Marchi <simon.marchi@efficios.com>
1623
1624 * lib/dwarf.exp (_location): Add parameters.
1625 (_handle_DW_FORM): Adjust.
1626
962effa7
SM
16272021-02-02 Simon Marchi <simon.marchi@efficios.com>
1628
1629 PR gdb/26813
1630 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1631 (cu): Generate header for DWARF 5.
1632 (rnglists): New proc.
1633 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1634 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1635
2bd3e4b8
TV
16362021-02-02 Tom de Vries <tdevries@suse.de>
1637
1638 PR symtab/24620
1639 * gdb.dwarf2/fission-reread.exp: Add test-case.
1640
c39c8637
TV
16412021-02-01 Tom de Vries <tdevries@suse.de>
1642
1643 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1644 * gdb.dwarf2/fission-loclists-pie.S: Same.
1645 * gdb.dwarf2/fission-loclists.S: Same.
1646 * gdb.dwarf2/fission-multi-cu.S: Same.
1647 * gdb.dwarf2/fission-reread.S: Same.
1648 * gdb.dwarf2/fission-base.exp: Use DWO.
1649 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1650 * gdb.dwarf2/fission-loclists.exp: Same.
1651 * gdb.dwarf2/fission-multi-cu.exp: Same.
1652 * gdb.dwarf2/fission-reread.exp: Same.
1653
ebde6f2d
TV
16542021-01-29 Tom de Vries <tdevries@suse.de>
1655
1656 PR breakpoints/26063
1657 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1658 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1659
620ec3ca
TV
16602021-01-29 Tom de Vries <tdevries@suse.de>
1661
1662 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1663
cdeba395
TV
16642021-01-28 Tom de Vries <tdevries@suse.de>
1665
1666 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1667 in the backtrace, and use that in the rest of the test instead of
1668 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1669
c47b145e
TV
16702021-01-28 Tom de Vries <tdevries@suse.de>
1671
1672 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1673 * gdb.arch/i386-sse-stack-align.c: Same.
1674 * gdb.arch/i386-sse-stack-align.exp: Same.
1675
47918cca
AB
16762021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1677
1678 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1679
2f985dd1
TV
16802021-01-28 Tom de Vries <tdevries@suse.de>
1681
1682 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1683
22efa3d3
TV
16842021-01-28 Tom de Vries <tdevries@suse.de>
1685
1686 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1687 "maint info line-table". Make PASS pattern more specific. Make
1688 FAIL pattern work for -m32.
1689
59b59f08
LS
16902021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1691
1692 PR gdb/27133
1693 * gdb.base/ui-redirect.exp: Add test case that ensures that
1694 redirecting both logging and debug does not cause gdb to crash.
1695
1696
807f647c
MM
16972021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1698
1699 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1700
4ca40594
TV
17012021-01-26 Tom de Vries <tdevries@suse.de>
1702
1703 * gdb.threads/killed-outside.exp: Allow regular output.
1704
d0021af3
TV
17052021-01-26 Tom de Vries <tdevries@suse.de>
1706
1707 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1708
9f6c202e
TV
17092021-01-25 Tom de Vries <tdevries@suse.de>
1710
1711 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1712 * lib/gdb.exp: Use gdb_load_no_complaints.
1713
a625a8c9
TT
17142021-01-25 Tom Tromey <tromey@adacore.com>
1715
1716 * gdb.ada/fixed_points.exp: Add regression test.
1717 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1718 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1719
19184910
TT
17202021-01-25 Tom Tromey <tromey@adacore.com>
1721
1722 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1723
acd6125f
TT
17242021-01-25 Tom Tromey <tromey@adacore.com>
1725
1726 * gdb.ada/local-enum.exp: New file.
1727 * gdb.ada/local-enum/local.adb: New file.
1728
1af4c9c4
TT
17292021-01-23 Tom Tromey <tom@tromey.com>
1730
1731 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1732
705646c0
BE
17332021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1734
1735 * gdb.base/line65535.exp: Fix test expectation.
1736
0ac85db5
SM
17372021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1738
1739 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1740 suppression.
1741 (default_gdb_exit): Likewise.
1742 (default_gdb_spawn): Likewise.
1743 (send_gdb): Likewise.
1744 (gdb_expect): Likewise.
1745 (gdb_expect_list): Likewise.
1746 (default_gdb_init): Likewise.
1747 (gdb_suppress_entire_file): Remove.
1748 (gdb_suppress_tests): Remove.
1749 (gdb_stop_suppressing_tests): Remove.
1750 (gdb_clear_suppressed): Remove.
1751 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1752 related to test suppression.
1753 (default_mi_gdb_start): Likewise.
1754 (mi_gdb_reinitialize_dir): Likewise.
1755 (mi_gdb_test): Likewise.
1756 (mi_run_cmd_full): Likewise.
1757 (mi_runto_helper): Likewise.
1758 (mi_execute_to): Likewise.
1759 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1760 * gdb.base/bitfields.exp: Likewise.
1761 * gdb.base/bitfields2.exp: Likewise.
1762 * gdb.base/break.exp: Likewise.
1763 * gdb.base/call-sc.exp: Likewise.
1764 * gdb.base/callfuncs.exp: Likewise.
1765 * gdb.base/dfp-test.exp: Likewise.
1766 * gdb.base/endian.exp: Likewise.
1767 * gdb.base/exprs.exp: Likewise.
1768 * gdb.base/funcargs.exp: Likewise.
1769 * gdb.base/hbreak2.exp: Likewise.
1770 * gdb.base/recurse.exp: Likewise.
1771 * gdb.base/scope.exp: Likewise.
1772 * gdb.base/sepdebug.exp: Likewise.
1773 * gdb.base/structs.exp: Likewise.
1774 * gdb.base/until.exp: Likewise.
1775 * gdb.cp/misc.exp: Likewise.
1776
9d2d8a16
AB
17772021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1778
1779 PR cli/25956
1780 * gdb.base/style.exp (run_style_tests): Add version string test.
1781 (test_startup_version_string): Use version style name.
1782 * lib/gdb-utils.exp (style): Handle version style name.
1783
e7b43072
AB
17842021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1785
1786 * gdb.base/style.exp (limited_style): New proc.
1787 (clean_restart_and_disable): New proc.
1788 (run_style_tests): New proc. Most of the old tests from this file
1789 are now in this proc.
1790 (test_startup_version_string): New proc. Reamining test from the
1791 old file is in this proc.
1792
2189c312
SM
17932021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1794
1795 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1796 Adjust to "set debug remote" changes.
1797
cd211c75
LM
17982021-01-21 Luis Machado <luis.machado@linaro.org>
1799
1800 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1801 message.
1802
730af663
SM
18032021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1804
1805 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1806
325d39e4
HD
18072021-01-21 Hannes Domani <ssbssa@yahoo.de>
1808
1809 PR python/19151
1810 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1811
c3e96aa7
SM
18122021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1813
1814 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1815
6571ffc6
SM
18162021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1817
1818 * lib/tuiterm.exp: Add links in comments.
1819
7c794afd
TV
18202021-01-20 Tom de Vries <tdevries@suse.de>
1821
1822 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1823 offset.
1824
1402665c
TV
18252021-01-20 Tom de Vries <tdevries@suse.de>
1826
1827 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1828
6f52fdf4
SDJ
18292021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1830
1831 * gdb.arch/amd64-stap-expressions.S: New file.
1832 * gdb.arch/amd64-stap-expressions.exp: New file.
1833
14852123
TV
18342021-01-19 Tom de Vries <tdevries@suse.de>
1835
1836 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1837 sequence.
1838
0c4e2c6c
TV
18392021-01-19 Tom de Vries <tdevries@suse.de>
1840
1841 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1842
02baa133
AB
18432021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1844
1845 * gdb.fortran/array-slices.exp (run_test): Avoid including
1846 addresses in test names.
1847
10f92414
TV
18482021-01-15 Tom de Vries <tdevries@suse.de>
1849
1850 PR testsuite/26997
1851 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1852 when adding sizeof.
1853
116d0cf1
TV
18542021-01-14 Tom de Vries <tdevries@suse.de>
1855
1856 PR testsuite/24590
1857 * gdb.base/style.exp: Handle shorter argv in frame command output.
1858
8f66807b
AB
18592021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1860
1861 PR gdb/26819
1862 * gdb.server/stop-reply-no-thread-multi.c: New file.
1863 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1864
3f94e588
TV
18652021-01-12 Tom de Vries <tdevries@suse.de>
1866
1867 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1868 (main): Remove call to have_mpx.
1869 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1870 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1871 (main): Remote call to have_mpx.
1872 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1873 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1874 (main): Remove call to have_mpx.
1875 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1876 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1877 (main): Remove call to have_mpx.
1878 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1879 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1880 (main): Remote call to have_mpx.
1881 * gdb.arch/i386-mpx.exp: Use have_mpx.
1882 * lib/gdb.exp (have_mpx): New proc.
1883
5291fe3c
SP
18842021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1885
1886 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1887
18bfb505
TV
18882021-01-12 Tom de Vries <tdevries@suse.de>
1889
1890 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1891
ce38f5ed
AB
18922021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1893
1894 * gdb.fortran/debug-expr.exp: Add new tests.
1895
7c654b71
AB
18962021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1897
1898 * gdb.fortran/dot-ops.exp: Add new tests.
1899
10dadadc
TV
19002021-01-11 Tom de Vries <tdevries@suse.de>
1901
1902 PR testsuite/26968
1903 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1904 Move insn setting $eax to before probe point.
1905
66beed02
TT
19062021-01-09 Tom Tromey <tom@tromey.com>
1907
1908 * gdb.trace/ax.exp: Do not require an "ext".
1909
8fc48b79
TT
19102021-01-08 Tom Tromey <tromey@adacore.com>
1911
1912 * gdb.ada/voidctx/pck.adb: New file.
1913 * gdb.ada/voidctx/pck.ads: New file.
1914 * gdb.ada/voidctx/voidctx.adb: New file.
1915 * gdb.ada/voidctx.exp: New file.
1916
6abd4cf2
SM
19172021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1918
1919 PR gdb/27157
1920 * gdb.base/empty-host-env-vars.exp: New test.
1921
d00f0868
AB
19222021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1923
1924 * gdb.base/completion.exp: Add a new test.
1925
3c8c6de2
AB
19262021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1927
1928 * gdb.fortran/intvar-dynamic-types.exp: New file.
1929 * gdb.fortran/intvar-dynamic-types.f90: New file.
1930
e3436813
AB
19312021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1932
1933 * gdb.fortran/intvar-array.exp: New file.
1934 * gdb.fortran/intvar-array.f90: New file.
1935
d4813f10
TT
19362021-01-07 Tom Tromey <tromey@adacore.com>
1937
1938 * gdb.ada/assign_arr.exp: Add 'others' test.
1939
b49180ac
TT
19402021-01-06 Tom Tromey <tromey@adacore.com>
1941
1942 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1943 (FP4_Type): New type.
1944 (FP4_Var): New variable.
1945 * gdb.ada/fixed_points/fixed_points.adb: Update.
1946 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1947
3c55062c
SM
19482021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1949
1950 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1951 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1952 Pass prompt containing debug print to gdb_test_sequence.
1953
e4ad960a
TV
19542021-01-04 Tom de Vries <tdevries@suse.de>
1955
1956 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1957
3ec3145c
SM
19582021-01-04 Simon Marchi <simon.marchi@efficios.com>
1959
1960
1961
8dc558a0
SM
19622021-01-04 Simon Marchi <simon.marchi@efficios.com>
1963
1964 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1965 * gdb.server/connect-without-multi-process.exp: Likewise.
1966 * gdb.server/exit-multiple-threads.exp: Likewise.
1967 * gdb.server/ext-attach.exp: Likewise.
1968 * gdb.server/ext-restart.exp: Likewise.
1969 * gdb.server/ext-run.exp: Likewise.
1970 * gdb.server/ext-wrapper.exp: Likewise.
1971 * gdb.server/multi-ui-errors.exp: Likewise.
1972 * gdb.server/no-thread-db.exp: Likewise.
1973 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1974 * gdb.server/run-without-local-binary.exp: Likewise.
1975 * gdb.server/server-kill.exp: Likewise.
1976 * gdb.server/server-run.exp: Likewise.
1977 * gdb.server/solib-list.exp: Likewise.
1978 * gdb.server/stop-reply-no-thread.exp: Likewise.
1979 * gdb.server/wrapper.exp: Likewise.
1980 * gdb.server/sysroot.exp: Increase timeout when testing the
1981 target: sysroot.
1982
d8387cc8
SM
19832021-01-04 Simon Marchi <simon.marchi@efficios.com>
1984
1985 * gdb.server/server-run.exp: Use clean_restart.
1986
5169ae34
SM
19872021-01-04 Simon Marchi <simon.marchi@efficios.com>
1988
1989 * gdb.server/ext-run.exp: Use clean_restart.
1990
7b0ff8a2
SM
19912021-01-04 Simon Marchi <simon.marchi@efficios.com>
1992
1993 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1994 instead of prepare_for_testing.
1995
a754fbdf
SM
19962021-01-04 Simon Marchi <simon.marchi@efficios.com>
1997
1998 * gdb.server/solib-list.exp: Use clean_restart.
1999
c5e71b33
TV
20002021-01-04 Tom de Vries <tdevries@suse.de>
2001
2002 * gdb.base/morestack.c: Remove printf.
2003 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
2004
9b243007
TT
20052020-12-31 Tom Tromey <tom@tromey.com>
2006
2007 * gdb.rust/simple.exp: Update output for Rust 1.49.
2008
4ff509e7
BE
20092020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
2010
2011 * gdb.cp/step-and-next-inline.exp: Fix test case.
2012
391750c3
SM
20132020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
2014
2015 * gdb.python/py-frame-args.exp: De-duplicate test names.
2016
b7874836
AB
20172020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2018
2019 PR gdb/27059
2020 * gdb.dwarf2/dyn-type-unallocated.c: New file.
2021 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
2022
e1ff6226
PW
20232020-12-21 Peter Waller <p@pwaller.net>
2024
2025 * gdb.base/style-interp-exec-mi.exp: New.
2026 * gdb.base/style-interp-exec-mi.c: New.
2027
ca01f1bf
SM
20282020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2029
2030 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
2031 gdb_test. Use proc_with_prefix.
2032
0fe69a94
MM
20332020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2034
2035 * gdb.btrace/exception.exp: Build with nopie.
2036 * gdb.btrace/function_call_history.exp: Likewise.
2037 * gdb.btrace/unknown_functions.exp: Likewise.
2038
806e7575
MM
20392020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2040
2041 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
2042
493d2172
MM
20432020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2044
2045 * gdb.python/py-record-btrace.exp: Make test names unique.
2046 * gdb.python/py-record-full.exp: Likewise.
2047
1a1c0afc
MM
20482020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2049
2050 * gdb.btrace/data.exp: Make test names unique.
2051 * gdb.btrace/delta.exp: Likewise.
2052 * gdb.btrace/enable.exp: Likewise.
2053 * gdb.btrace/function_call_history.exp: Likewise.
2054 * gdb.btrace/nohist.exp: Likewise.
2055 * gdb.btrace/non-stop.exp: Likewise.
2056 * gdb.btrace/rn-dl-bind.exp: Likewise.
2057 * gdb.btrace/step.exp: Likewise.
2058 * gdb.btrace/stepi.exp: Likewise.
2059 * gdb.btrace/tailcall.exp: Likewise.
2060
98d837f0
MM
20612020-12-21 Markus Metzger <markus.t.metzger@intel.com>
2062
2063 * gdb.btrace/enable.exp: Update error message.
2064 * gdb.btrace/multi-inferior.exp: Likewise.
2065 * gdb.btrace/reconnect.exp: Likewise.
2066 * gdb.python/py-record-btrace.exp: Likewise.
2067 * gdb.python/py-record-full.exp: Likewise.
2068
c541fa7c
TV
20692020-12-20 Tom de Vries <tdevries@suse.de>
2070
2071 * lib/gdb.exp (save_target_board_info): New proc.
2072 (gdb_compile_shlib): Use save_target_board_info.
2073
60108e47
TV
20742020-12-19 Tom de Vries <tdevries@suse.de>
2075
2076 * lib/gdb.exp (supports_scalar_storage_order_attribute)
2077 (supports_gnuc): New proc.
2078 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
2079 test_compiler_info calls. Add unsupported message.
2080 * gdb.base/endianity.c: Use TEST_SSO.
2081
fa639f55
HD
20822020-12-19 Hannes Domani <ssbssa@yahoo.de>
2083
2084 PR exp/27070
2085 * gdb.python/compare-enum-type-a.c: New test.
2086 * gdb.python/compare-enum-type-b.c: New test.
2087 * gdb.python/compare-enum-type.exp: New file.
2088 * gdb.python/compare-enum-type.h: New test.
2089
4aea001f
HD
20902020-12-18 Hannes Domani <ssbssa@yahoo.de>
2091
2092 * gdb.python/py-format-string.exp: Add tests for address keyword.
2093
b3f9469b
HD
20942020-12-18 Hannes Domani <ssbssa@yahoo.de>
2095
2096 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
2097
86ef42bd
TT
20982020-12-18 Tom Tromey <tromey@adacore.com>
2099
2100 * gdb.ada/fixed_points.exp: Also run with
2101 -fgnat-encodings=minimal. Update expected output.
2102
93df4a1d
SM
21032020-12-16 Simon Marchi <simon.marchi@efficios.com>
2104
2105 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
2106 * gdb.base/continue-all-already-running.exp: Likewise.
2107 * gdb.base/moribund-step.exp: Likewise.
2108 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
2109
592995fa
TV
21102020-12-16 Tom de Vries <tdevries@suse.de>
2111
2112 * gdb.base/batch-preserve-term-settings.exp:
2113
1e61189d
TV
21142020-12-16 Tom de Vries <tdevries@suse.de>
2115
2116 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
2117 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
2118
19007d95
LM
21192020-12-16 Luis Machado <luis.machado@linaro.org>
2120
2121 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
2122 pointer-based memory accesses.
2123 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
2124 hw watchpoint cases.
2125
a33fc9ae
RK
21262020-12-15 Rae Kim <rae.kim@gmail.com>
2127
2128 * gdb.base/document.exp: New test.
2129
0e5ad442
TT
21302020-12-15 Tom Tromey <tromey@adacore.com>
2131
2132 * gdb.base/style.exp: Add deprecation tests.
2133
60598dbd
SM
21342020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
2135
2136 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
2137
8cd6d968
MW
21382020-12-14 Mark Wielaard <mark@klomp.org>
2139
2140 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
2141 specially, set attr_form_comment to the actual FORM string used.
2142
eab9267c
MW
21432020-12-14 Mark Wielaard <mark@klomp.org>
2144
2145 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
2146 _constants(SPECIAL_expr) here, but set it...
2147 (Dwarf::cu): ...here based on _cu_version.
2148
2f413264
TV
21492020-12-14 Tom de Vries <tdevries@suse.de>
2150
2151 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
2152 pass -fPIC.
2153 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
2154 * gdb.base/break-probes.exp: Same.
2155 * gdb.base/ctxobj.exp: Same.
2156 * gdb.base/dso2dso.exp: Same.
2157 * gdb.base/global-var-nested-by-dso.exp: Same.
2158 * gdb.base/info-shared.exp: Same.
2159 * gdb.base/jit-reader-simple.exp: Same.
2160 * gdb.base/print-file-var.exp: Same.
2161 * gdb.base/skip-solib.exp: Same.
2162 * gdb.btrace/dlopen.exp: Same.
2163
18f1cb1f
TV
21642020-12-14 Tom de Vries <tdevries@suse.de>
2165
2166 PR testsuite/26963
2167 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
2168
519155c9
TV
21692020-12-14 Tom de Vries <tdevries@suse.de>
2170
2171 PR testsuite/26962
2172 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
2173 cast it to its declared type".
2174
153f6e6c
TV
21752020-12-14 Tom de Vries <tdevries@suse.de>
2176
2177 PR testsuite/26951
2178 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
2179 shell prompt.
2180
86b44259
TT
21812020-12-14 Tom Tromey <tromey@adacore.com>
2182
2183 * gdb.ada/nested.exp: Add new tests.
2184 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
2185
e26624c6
TT
21862020-12-14 Tom Tromey <tromey@adacore.com>
2187
2188 * gdb.dwarf2/ada-thick-pointer.exp: New file.
2189
a3bdae4e
TT
21902020-12-14 Tom Tromey <tromey@adacore.com>
2191
2192 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
2193
862fcbd8
TV
21942020-12-13 Tom de Vries <tdevries@suse.de>
2195
2196 PR testsuite/26953
2197 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
2198 attribute support if compiler doesn't support it.
2199
a406a98e
TV
22002020-12-13 Tom de Vries <tdevries@suse.de>
2201
2202 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
2203 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
2204 source to shared lib. Add ada to options.
2205
5d7e6ed0
TV
22062020-12-13 Tom de Vries <tdevries@suse.de>
2207
2208 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
2209 calling gnatbind and gnatlink.
2210
ee9812a0
AB
22112020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
2212
2213 * gdb.base/dcache-flush.c: New file.
2214 * gdb.base/dcache-flush.exp: New file.
2215
50a5f187
AB
22162020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
2217
2218 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
2219 commands.
2220 * gdb.base/killed-outside.exp: Likewise.
2221 * gdb.opt/inline-bt.exp: Likewise.
2222 * gdb.perf/gmonster-null-lookup.py: Likewise.
2223 * gdb.perf/gmonster-print-cerr.py: Likewise.
2224 * gdb.perf/gmonster-ptype-string.py: Likewise.
2225 * gdb.python/py-unwind.exp: Likewise.
2226
19c659f1
AB
22272020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2228
2229 * gdb.base/commands.exp: Update expected results.
2230
9ef6d4a1
AB
22312020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2232
2233 PR cli/15104
2234 * gdb.base/commands.exp: Add additional tests.
2235 * gdb.base/completion.exp: Add additional tests.
2236
1536146f
AB
22372020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2238
2239 * gdb.base/completion.exp: Add additional tests.
2240
346e7e19
TV
22412020-12-11 Tom de Vries <tdevries@suse.de>
2242
2243 PR testsuite/26991
2244 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
2245 violations by setting bounds registers if the bounds are passed in the
2246 Bounds Table.
2247
9cd7a95a
TV
22482020-12-11 Tom de Vries <tdevries@suse.de>
2249
2250 PR testsuite/26954
2251 * gdb.base/float128.exp: Detect and handle no mpfr support.
2252
4483a8e7
SM
22532020-12-10 Simon Marchi <simon.marchi@efficios.com>
2254
2255 PR gdb/24694
2256 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
2257 calls.
2258
10067028
TV
22592020-12-10 Tom de Vries <tdevries@suse.de>
2260
2261 PR testsuite/26947
2262 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
2263 braces for tcl 8.5 and earlier.
2264
5b56203a
SM
22652020-12-09 Simon Marchi <simon.marchi@efficios.com>
2266
2267 PR 26875, PR 26901
2268 * gdb.base/flexible-array-member.c: New test.
2269 * gdb.base/flexible-array-member.exp: New test.
2270
b46551b2
TV
22712020-12-08 Tom de Vries <tdevries@suse.de>
2272
2273 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
2274 using is_amd64_regs_target.
2275
8439f446
TV
22762020-12-08 Tom de Vries <tdevries@suse.de>
2277
2278 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
2279 self_id.
2280
bc545da7
PA
22812020-12-07 Pedro Alves <pedro@palves.net>
2282
2283 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
2284 'additional_flags' variable.
2285
1f58f6c2
TBA
22862020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2287
2288 * gdb.linespec/explicit.exp: Extend with a test to check completing
2289 '-' after seemingly complete options.
2290
5759831a
TBA
22912020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2292
2293 * gdb.linespec/keywords.exp: Add tests to check positional
2294 flexibility of "-force-condition".
2295
21e051b3
TBA
22962020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2297
2298 * gdb.base/bp-cmds-run-with-ex.c: New file.
2299 * gdb.base/bp-cmds-run-with-ex.exp: New file.
2300 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
2301 * gdb.gdb/python-interrupts.exp: Update the call to
2302 'catch_command_errors' with the new argument.
2303 * gdb.gdb/python-selftest.exp: Ditto.
2304
187b041e
SM
23052020-12-04 Simon Marchi <simon.marchi@efficios.com>
2306
2307 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
2308 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2309 * gdb.threads/non-stop-fair-events.exp: Likewise.
2310
3b7a962d
SM
23112020-12-04 Simon Marchi <simon.marchi@efficios.com>
2312
2313 * gdb.threads/step-over-exec.exp: New.
2314 * gdb.threads/step-over-exec.c: New.
2315 * gdb.threads/step-over-exec-execd.c: New.
2316 * lib/my-syscalls.S: New.
2317 * lib/my-syscalls.h: New.
2318
e633b117
SM
23192020-12-04 Simon Marchi <simon.marchi@efficios.com>
2320
2321 * lib/dwarf.exp (declare_labels): Use name as text if text is
2322 not provided.
2323
67748e0f
TV
23242020-12-04 Tom de Vries <tdevries@suse.de>
2325
2326 PR testsuite/26990
2327 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
2328 are unsupported.
2329
a8d13675
TV
23302020-12-04 Tom de Vries <tdevries@suse.de>
2331
2332 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
2333 clause.
2334
f17727b3
TV
23352020-12-04 Tom de Vries <tdevries@suse.de>
2336
2337 * gdb.reverse/insn-reverse.exp: Fix count handling.
2338
a1499830
TV
23392020-12-04 Tom de Vries <tdevries@suse.de>
2340
2341 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
2342 __x86_64__.
2343
9c027c2f
TV
23442020-12-04 Tom de Vries <tdevries@suse.de>
2345
2346 * gdb.reverse/insn-reverse.c (test_nr): New var.
2347 (usage, parse_args): New function.
2348 (main): Call parse_args. Only run test for test_nr.
2349 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
2350 and bail out. Run subtests individually, using an inferior arg
2351 specifying the subtest.
2352
533b2ae0
AB
23532020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
2354
2355 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
2356
e4502042
AB
23572020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
2358
2359 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
2360 update test to use this.
2361
f55a9a37
SM
23622020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2363
2364 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
2365
0a6155a0
SM
23662020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2367
2368 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
2369 (do_test): Don't use with_test_prefix.
2370 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
2371 (do_test): Don't use with_test_prefix.
2372 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
2373 (do_test): Don't use with_test_prefix.
2374 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
2375 (do_test): Don't use with_test_prefix.
2376
4d56d64a
SM
23772020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2378
2379 * gdb.threads/non-ldr-exit.exp: Fix comment.
2380
54e75f29
AB
23812020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2382
2383 * gdb.xml/maint-xml-dump-03.xml: New file.
2384
7ce05d21
TV
23852020-11-30 Tom de Vries <tdevries@suse.de>
2386
2387 PR symtab/26905
2388 * gdb.dwarf2/count.exp: Remove kfails.
2389
50757f95
TBA
23902020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2391
2392 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
2393 indices.
2394
4afa9fd9
JB
23952020-11-24 Joel Brobecker <brobecker@adacore.com>
2396
2397 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
2398 the "ptype pck__fp1_range_var" test for the module-2 and pascal
2399 languages. Remove the associated setup_xfail.
2400
15a491af
SM
24012020-11-23 Simon Marchi <simon.marchi@efficios.com>
2402
2403 * lib/gdb.exp (gdb_assert): Show error message on error.
2404
891615f0
TV
24052020-11-23 Tom de Vries <tdevries@suse.de>
2406
2407 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
2408 * gdb.ada/mod_from_name.exp: Same.
2409 * gdb.ada/pckd_arr_ren.exp: Same.
2410
19922582
SM
24112020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2412
2413 * gdb.base/template.exp: New.
2414 * gdb.base/template.c: New.
2415
117c628d
GB
24162020-11-22 Gary Benson <gbenson@redhat.com>
2417
2418 PR gdb/26905
2419 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
2420 is defined using a DW_AT_count which references another DIE.
2421
da39d3ba
TV
24222020-11-21 Tom de Vries <tdevries@suse.de>
2423
2424 * gdb.base/vla-ptr.exp: Add XFAIL.
2425
a5c641b5
AB
24262020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2427
2428 * gdb.fortran/array-slices-bad.exp: New file.
2429 * gdb.fortran/array-slices-bad.f90: New file.
2430 * gdb.fortran/array-slices-sub-slices.exp: New file.
2431 * gdb.fortran/array-slices-sub-slices.f90: New file.
2432 * gdb.fortran/array-slices.exp: Rewrite tests.
2433 * gdb.fortran/array-slices.f90: Rewrite tests.
2434 * gdb.fortran/vla-sizeof.exp: Correct expected results.
2435
a15a5258
AB
24362020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2437
2438 * gdb.base/completion.exp: Add new completion tests.
2439
7cb2893d
SM
24402020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2441
2442 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
2443 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2444 * gdb.mi/mi-nsintrall.exp: Likewise.
2445 * gdb.mi/mi-nsmoribund.exp: Likewise.
2446 * gdb.mi/mi-nsthrexec.exp: Likewise.
2447 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2448
cf144ec8
SM
24492020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2450
2451 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
2452 of perror.
2453
6b6a3e05
JM
24542020-11-18 Joseph Myers <joseph@codesourcery.com>
2455
2456 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
2457 $arg.exe exists but $arg does not.
2458
811bdca0
GB
24592020-11-17 Gary Benson <gbenson@redhat.com>
2460
2461 * gdb.trace/trace-common.h (x86_trace_dummy): Add
2462 __attribute__ ((used)).
2463
c72e3136
AB
24642020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2465
2466 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
2467
037d7135
AB
24682020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2469
2470 * gdb.base/completion.exp: Add new tests.
2471
119e99bb
TT
24722020-11-16 Tom Tromey <tromey@adacore.com>
2473
2474 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
2475 tests.
2476
b74dbc20
JB
24772020-11-15 Joel Brobecker <brobecker@adacore.com>
2478
2479 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
2480 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
2481 (main): Add reference to pck__fp1_var2.
2482 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
2483
0a12719e
JB
24842020-11-15 Joel Brobecker <brobecker@adacore.com>
2485
2486 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
2487
0c9150e4
JB
24882020-11-15 Joel Brobecker <brobecker@adacore.com>
2489
2490 * gdb.ada/fixed_points.exp: Add ptype tests.
2491 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
2492
b26daff9
JB
24932020-11-15 Joel Brobecker <brobecker@adacore.com>
2494
2495 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
2496
09584414
JB
24972020-11-15 Joel Brobecker <brobecker@adacore.com>
2498
2499 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
2500 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
2501 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
2502 New files.
2503 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
2504
2505 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
2506 New files.
2507
9dd02fc0
AB
25082020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
2509
2510 PR cli/26879
2511 * gdb.fortran/completion.exp: New file.
2512 * gdb.fortran/completion.f90: New file.
2513
5643c500
JM
25142020-11-12 Joseph Myers <joseph@codesourcery.com>
2515
2516 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
2517 but $arg does not.
2518
7bea47f0
AB
25192020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
2520
2521 * gdb.fortran/types.exp: Add more tests.
2522
1f2624a3
TT
25232020-11-12 Tom Tromey <tom@tromey.com>
2524
2525 PR rust/26799:
2526 * gdb.rust/traits.exp: Remove kfails.
2527
9e74f0ae
GB
25282020-11-12 Gary Benson <gbenson@redhat.com>
2529
2530 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
2531 statement.
2532
acb994fa
SM
25332020-11-11 Simon Marchi <simon.marchi@efficios.com>
2534
2535 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
2536 always-inserted" axis.
2537 (do_test): Add breakpoint_always_inserted parameter.
2538
95016fd2
TT
25392020-11-10 Tom Tromey <tromey@adacore.com>
2540
2541 * gdb.ada/bias.exp: Update.
2542 * gdb.ada/bias/bias.adb (X): Change value.
2543
83100a74
GB
25442020-11-10 Gary Benson <gbenson@redhat.com>
2545
2546 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
2547 regexp fragment in parentheses to prevent false matching.
2548
6ff174a7
GB
25492020-11-10 Gary Benson <gbenson@redhat.com>
2550
2551 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
2552
eb24648c
GB
25532020-11-10 Gary Benson <gbenson@redhat.com>
2554
2555 * gdb.cp/step-and-next-inline.exp: Only require
2556 -gstatement-frontiers when building with GCC.
2557 Only setup KFAIL's for GCC issues when using
2558 a GCC-built executable.
2559
86775fab
AB
25602020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
2561
2562 * gdb.base/debug-expr.c: Add extra function to allow for an
2563 additional test.
2564 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
2565 to this proc with gdb_test_debug_expr. Add an extra test.
2566 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
2567 to this proc with gdb_test_debug_expr, give the tests names
2568 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
2569 calls to this proc with gdb_test_debug_expr, give the tests names
2570 * gdb.fortran/debug-expr.exp: New file.
2571 * gdb.fortran/debug-expr.f90: New file.
2572 * lib/gdb.exp (gdb_test_debug_expr): New proc.
2573
a1945bd4
SM
25742020-11-06 Simon Marchi <simon.marchi@efficios.com>
2575
2576 * lib/dwarf.exp (ranges): Handle "base" and "range" as
2577 proceduresu.
2578 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
2579 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2580 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2581 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2582 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2583 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2584 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2585 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2586
9c91c725
TT
25872020-11-04 Tom Tromey <tromey@adacore.com>
2588
2589 * gdb.ada/funcall_ref.exp: Update.
2590 * gdb.ada/var_rec_arr.exp: Update.
2591
8d9fd3a1
TT
25922020-11-04 Tom Tromey <tromey@adacore.com>
2593
2594 * gdb.ada/rec_ptype.exp: New file.
2595 * gdb.ada/rec_ptype/main.adb: New file.
2596 * gdb.ada/rec_ptype/p.ads: New file.
2597
d8f62e84
TT
25982020-11-04 Tom Tromey <tromey@adacore.com>
2599
2600 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2601 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2602 (PT_Full): New variable.
2603 * gdb.ada/tick_length_array_enum_idx/pck.adb
2604 (Full_PT): New type.
2605
7ff5b937
TT
26062020-11-04 Tom Tromey <tromey@adacore.com>
2607
2608 * gdb.ada/array_of_variant.exp: New file.
2609 * gdb.ada/array_of_variant/p.adb: New file.
2610 * gdb.ada/array_of_variant/pck.ads: New file.
2611 * gdb.ada/array_of_variant/pck.adb: New file.
2612
10f6a3ad
TT
26132020-11-04 Tom Tromey <tromey@adacore.com>
2614
2615 * gdb.ada/enum_idx_packed.exp: Add test.
2616 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2617 New variable.
2618 * gdb.ada/enum_idx_packed/pck.ads (Short)
2619 (Multi_Dimension, Multi_Dimension_Access): New types.
2620
b72795a8
TT
26212020-11-04 Tom Tromey <tromey@adacore.com>
2622
2623 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2624
24aa1b02
TT
26252020-11-04 Tom Tromey <tromey@adacore.com>
2626
2627 * gdb.ada/set_pckd_arr_elt.exp: Also test
2628 -fgnat-encodings=minimal. Add tests.
2629 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2630 Call Update_Small a second time.
2631 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2632 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2633 (Variant_Access): New types.
2634 (New_Variant): Declare.
2635
c9a28cbe
TT
26362020-11-04 Tom Tromey <tromey@adacore.com>
2637
2638 * gdb.ada/mod_from_name.exp: Test printing slice.
2639
57567375
TT
26402020-11-04 Tom Tromey <tromey@adacore.com>
2641
2642 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2643 values.
2644 * gdb.ada/access_to_unbounded_array.exp: Test different
2645 -fgnat-encodings values.
2646 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2647 values.
2648 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2649 values.
2650 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2651 values.
2652 * gdb.ada/array_of_variable_length.exp: Test different
2653 -fgnat-encodings values.
2654 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2655 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2656 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2657 change.
2658 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2659 values.
2660 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2661 * gdb.ada/out_of_line_in_inlined.exp: Test different
2662 -fgnat-encodings values.
2663 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2664 values.
2665 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2666 values.
2667 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2668 -fgnat-encodings values.
2669 * gdb.ada/variant_record_packed_array.exp: Test different
2670 -fgnat-encodings values.
2671
a7400e44
TT
26722020-11-04 Tom Tromey <tromey@adacore.com>
2673
2674 * gdb.ada/enum_idx_packed.exp: Add tests.
2675 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2676 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2677 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2678 declarations.
2679
c40907bf
TV
26802020-11-03 Tom de Vries <tdevries@suse.de>
2681
2682 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2683 terminator comments.
2684 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2685 terminator.
2686
f468977a
SM
26872020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2688
2689 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2690 integer format test with regexp.
2691
1c2bec19
GB
26922020-11-02 Gary Benson <gbenson@redhat.com>
2693
2694 * gdb.base/print-file-var.exp (test): Separate compiler and
2695 linker options, and build using build_executable_from_specs
2696 to accommodate this.
2697
6539a36d
GB
26982020-11-02 Gary Benson <gbenson@redhat.com>
2699
2700 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2701 for .c files compiled as C++ with Clang if any shared
2702 libraries are specified.
2703
7ea44a51
GB
27042020-11-02 Gary Benson <gbenson@redhat.com>
2705
2706 * lib/attributes.h: New header.
2707 * gdb.base/backtrace.c: Include the above. Replace
2708 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2709 * gdb.base/infcall-nested-structs.c: Likewise.
2710 * gdb.base/vla-optimized-out.c: Likewise.
2711
ab8f783d
TV
27122020-11-02 Tom de Vries <tdevries@suse.de>
2713
2714 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2715
d77c9224
JB
27162020-11-01 Joel Brobecker <brobecker@adacore.com>
2717
2718 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2719 System.Min_Int and System.Max_Int with smaller hardcoded
2720 constants.
2721
0e5b0dd0
SM
27222020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2723
2724 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2725 * configure: Re-generate.
2726
136821d9
SM
27272020-10-30 Simon Marchi <simon.marchi@efficios.com>
2728
2729 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2730 expected output.
2731
b78b3a29
TBA
27322020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2733
2734 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2735 behavior.
2736 * gdb.base/paginate-bg-execution.exp: Ditto.
2737 * gdb.base/paginate-inferior-exit.exp: Ditto.
2738 * gdb.base/double-prompt-target-event-error.c: Remove.
2739 * gdb.base/double-prompt-target-event-error.exp: Remove.
2740
cfaa8f76
TBA
27412020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2742
2743 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2744 inferiors' and 'detach inferiors' do not change the current
2745 inferior.
2746
0ad0e70c
TV
27472020-10-29 Tom de Vries <tdevries@suse.de>
2748
2749 * gdb.threads/tls.exp: Fix DUPLICATEs.
2750
99cc6b2a
TV
27512020-10-28 Tom de Vries <tdevries@suse.de>
2752
2753 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2754
efe9b873
TV
27552020-10-28 Tom de Vries <tdevries@suse.de>
2756
2757 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2758 * gdb.base/reread.exp: Same.
2759
6b68fd45
TV
27602020-10-28 Tom de Vries <tdevries@suse.de>
2761
2762 * lib/gdb.exp (readnow): Handle arg.
2763 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2764
32a5f98a
TV
27652020-10-28 Tom de Vries <tdevries@suse.de>
2766
2767 * gdb.base/relocate.exp: Update regexp for -readnow.
2768
f93b8760
TV
27692020-10-28 Tom de Vries <tdevries@suse.de>
2770
2771 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2772 -readnow.
2773
1b00ef06
TV
27742020-10-28 Tom de Vries <tdevries@suse.de>
2775
2776 PR symtab/26772
2777 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2778 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2779
364bb903
TV
27802020-10-28 Tom de Vries <tdevries@suse.de>
2781
2782 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2783 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2784 complaint during file command for -readnow.
2785
445a033f
TV
27862020-10-28 Tom de Vries <tdevries@suse.de>
2787
2788 * gdb.cp/nsalias.exp: Fix typo in test name.
2789
fdd67a42
TV
27902020-10-28 Tom de Vries <tdevries@suse.de>
2791
2792 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2793
706baf4c
TV
27942020-10-28 Tom de Vries <tdevries@suse.de>
2795
2796 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2797 -readnow.
2798
b448cca5
TV
27992020-10-27 Tom de Vries <tdevries@suse.de>
2800
2801 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2802
5868da03
TV
28032020-10-27 Tom de Vries <tdevries@suse.de>
2804
2805 * gdb.base/maint.exp: Update for -readnow.
2806
06db6ec3
TV
28072020-10-27 Tom de Vries <tdevries@suse.de>
2808
2809 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2810 -readnow.
2811
934a1764
GB
28122020-10-14 Gary Benson <gbenson@redhat.com>
2813
2814 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2815 "_vptr$Base" as correct, in addition to "_vptr.Base".
2816 (test_mixed): Likewise.
2817
0bf21fbd
GB
28182020-10-27 Gary Benson <gbenson@redhat.com>
2819
2820 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2821 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2822
b1d4d8d1
TBA
28232020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2824
2825 * gdb.base/condbreak.exp: Update the completion tests to
2826 consider the '-force' flag.
2827
bd24c5d6
TV
28282020-10-27 Tom de Vries <tdevries@suse.de>
2829
2830 * gdb.base/list-ambiguous-readnow.exp: New file.
2831
733d554a
TBA
28322020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2833
2834 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2835 the condition.
2836 * gdb.linespec/cpcompletion.exp: Update to consider the
2837 '-force-condition' keyword.
2838 * gdb.linespec/explicit.exp: Ditto.
2839 * lib/completion-support.exp: Ditto.
2840
b5fa468f
TBA
28412020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2842
2843 * gdb.base/condbreak-multi-context.cc: New file.
2844 * gdb.base/condbreak-multi-context.exp: New file.
2845
b3247276
TT
28462020-10-26 Tom Tromey <tom@tromey.com>
2847
2848 * lib/mi-support.exp (default_mi_gdb_start): Call
2849 gdb_stdin_log_init.
2850 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2851 subtract one from gdb_instances.
2852 (gdb_stdin_log_write): Flush in_file.
2853
1c47ec3e
TV
28542020-10-26 Tom de Vries <tdevries@suse.de>
2855
2856 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2857
6390859c
TT
28582020-10-26 Tom Tromey <tromey@adacore.com>
2859
2860 * gdb.ada/unsigned_range/foo.adb: New file.
2861 * gdb.ada/unsigned_range/pack.adb: New file.
2862 * gdb.ada/unsigned_range/pack.ads: New file.
2863 * gdb.ada/unsigned_range.exp: New file.
2864
55c3ad88
TV
28652020-10-26 Tom de Vries <tdevries@suse.de>
2866
2867 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2868
1612c4bb
TV
28692020-10-26 Tom de Vries <tdevries@suse.de>
2870
2871 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2872 for CU.
2873 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2874
7d72802b
TV
28752020-10-23 Tom de Vries <tdevries@suse.de>
2876
2877 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2878 DW_FORM_string.
2879 (Dwarf::_default_form): New proc.
2880 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2881 guessed.
2882
9476b583
TV
28832020-10-23 Tom de Vries <tdevries@suse.de>
2884
2885 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2886 * gdb.dwarf2/atomic-type.exp: Same.
2887 * gdb.dwarf2/bad-regnum.exp: Same.
2888 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2889 * gdb.dwarf2/dw2-align.exp: Same.
2890 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2891 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2892 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2893 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2894 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2895 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2896 * gdb.dwarf2/enum-type.exp: Same.
2897 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2898 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2899 * gdb.dwarf2/main-subprogram.exp: Same.
2900 * gdb.dwarf2/missing-type-name.exp: Same.
2901 * gdb.dwarf2/nonvar-access.exp: Same.
2902 * gdb.dwarf2/typedef-void-finish.exp: Same.
2903 * gdb.dwarf2/var-access.exp: Same.
2904 * gdb.dwarf2/void-type.exp: Same.
2905
4a636814
SM
29062020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2907
2908 PR gdb/26693
2909 * gdb.dwarf2/template-specification-full-name.exp: New test.
2910
557fc257
LM
29112020-10-22 Luis Machado <luis.machado@linaro.org>
2912
2913 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2914 expected an offset from the function.
2915 * gdb.base/msym-bp.exp (test): Likewise.
2916
6b4c676c
AB
29172020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2918
2919 * gdb.fortran/array-slices.exp: Add a new test.
2920
98cec4f6
GB
29212020-10-21 Gary Benson <gbenson@redhat.com>
2922
2923 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2924 fullname test with Clang. Also expand comments generally.
2925
ae86f581
TV
29262020-10-20 Tom de Vries <tdevries@suse.de>
2927
2928 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2929
8c161360
TV
29302020-10-20 Tom de Vries <tdevries@suse.de>
2931
2932 * gdb.dwarf2/arr-stride.c: Remove.
2933 * gdb.dwarf2/arr-stride.exp: Use main.c.
2934 * gdb.dwarf2/arr-subrange.c: Remove.
2935 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2936 * gdb.dwarf2/bad-regnum.c: Remove.
2937 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2938 * gdb.dwarf2/corrupt.c: Remove.
2939 * gdb.dwarf2/corrupt.exp: Use main.c.
2940 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2941 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2942 * gdb.dwarf2/dw2-icycle.c: Remove.
2943 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2944 * gdb.dwarf2/formdata16.c: Remove.
2945 * gdb.dwarf2/formdata16.exp: Use main.c.
2946 * gdb.dwarf2/implptrconst.c: Remove.
2947 * gdb.dwarf2/implptrconst.exp: Use main.c.
2948 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2949 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2950 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2951 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2952
9c2412ec
TV
29532020-10-20 Tom de Vries <tdevries@suse.de>
2954
2955 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2956 file.
2957 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2958
0cd2ad78
TV
29592020-10-20 Tom de Vries <tdevries@suse.de>
2960
2961 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2962 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2963 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2964 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2965 * gdb.dwarf2/dw2-ranges.exp: Same.
2966 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2967 * gdb.dwarf2/var-access.exp: Same.
2968
22cc388e
TT
29692020-10-19 Tom Tromey <tromey@adacore.com>
2970
2971 PR tui/26719
2972 * gdb.tui/list.exp: Check source window contents after focus
2973 change.
2974
520596f2
TV
29752020-10-17 Tom de Vries <tdevries@suse.de>
2976
2977 PR symtab/26317
2978 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2979
d1c8a76d
TV
29802020-10-17 Tom de Vries <tdevries@suse.de>
2981
2982 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2983 as suffix.
2984 * gdb.dwarf2/atomic.c: Rename to ...
2985 * gdb.dwarf2/atomic-type.c: ... this.
2986 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2987 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2988 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2989 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2990 * gdb.dwarf2/fission-mix2.c: Rename to ...
2991 * gdb.dwarf2/fission-mix-2.c: ... this.
2992 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2993 standard_testfile.
2994 * gdb.dwarf2/ada-valprint-error.exp: Same.
2995 * gdb.dwarf2/arr-stride.exp: Same.
2996 * gdb.dwarf2/arr-subrange.exp: Same.
2997 * gdb.dwarf2/atomic-type.exp: Same.
2998 * gdb.dwarf2/bad-regnum.exp: Same.
2999 * gdb.dwarf2/break-inline-psymtab.exp: Same.
3000 * gdb.dwarf2/clang-debug-names-2.exp: Same.
3001 * gdb.dwarf2/clang-debug-names.exp: Same.
3002 * gdb.dwarf2/comp-unit-lang.exp: Same.
3003 * gdb.dwarf2/corrupt.exp: Same.
3004 * gdb.dwarf2/count.exp: Same.
3005 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3006 * gdb.dwarf2/data-loc.exp: Same.
3007 * gdb.dwarf2/dw2-align.exp: Same.
3008 * gdb.dwarf2/dw2-bad-elf.exp: Same.
3009 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3010 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
3011 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
3012 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
3013 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3014 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
3015 * gdb.dwarf2/dw2-inline-param.exp: Same.
3016 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3017 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3018 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3019 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3020 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
3021 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
3022 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3023 * gdb.dwarf2/dw2-param-error.exp: Same.
3024 * gdb.dwarf2/dw2-ranges-base.exp: Same.
3025 * gdb.dwarf2/dw2-ranges.exp: Same.
3026 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
3027 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
3028 * gdb.dwarf2/dw4-sig-types.exp: Same.
3029 * gdb.dwarf2/dynarr-ptr.exp: Same.
3030 * gdb.dwarf2/enum-type.exp: Same.
3031 * gdb.dwarf2/fission-mix.exp: Same.
3032 * gdb.dwarf2/formdata16.exp: Same.
3033 * gdb.dwarf2/implptrconst.exp: Same.
3034 * gdb.dwarf2/implptrpiece.exp: Same.
3035 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3036 * gdb.dwarf2/main-subprogram.exp: Same.
3037 * gdb.dwarf2/method-ptr.exp: Same.
3038 * gdb.dwarf2/missing-sig-type.exp: Same.
3039 * gdb.dwarf2/nonvar-access.exp: Same.
3040 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3041 * gdb.dwarf2/shortpiece.exp: Same.
3042 * gdb.dwarf2/staticvirtual.exp: Same.
3043 * gdb.dwarf2/subrange.exp: Same.
3044 * gdb.dwarf2/symtab-producer.exp: Same.
3045 * gdb.dwarf2/typedef-void-finish.exp: Same.
3046 * gdb.dwarf2/var-access.exp: Same.
3047 * gdb.dwarf2/variant.exp: Same.
3048 * gdb.dwarf2/void-type.exp: Same.
3049 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
3050 dw2-ranges-main.c.
3051 * gdb.dwarf2/dw2-ranges-main.c: Remove.
3052
472d09c1
TV
30532020-10-16 Tom de Vries <tdevries@suse.de>
3054
3055 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
3056
afe75f6d
TV
30572020-10-16 Tom de Vries <tdevries@suse.de>
3058
3059 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
3060
8c8bd0ba
TV
30612020-10-14 Tom de Vries <tdevries@suse.de>
3062
3063 PR testsuite/26732
3064 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
3065 scenario 2.
3066 * gdb.ada/mi_catch_ex_hand.exp: Same.
3067
b75d55d4
PA
30682020-10-13 Pedro Alves <pedro@palves.net>
3069
3070 * lib/mi-support.exp (mi_clean_restart): New.
3071 (mi_run_to_main): Delete.
3072 All callers adjust to use mi_clean_restart / mi_runto_main.
3073
e777225b
PA
30742020-10-13 Pedro Alves <pedro@palves.net>
3075
3076 * config/monitor.exp: Use "list -q".
3077 * gdb.arch/gdb1558.exp: Use "break -q".
3078 * gdb.arch/i386-permbkpt.exp: Use "break -q".
3079 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
3080 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
3081 * gdb.base/commands.exp: Use "break -q".
3082 * gdb.base/condbreak.exp: Use "break -q".
3083 * gdb.base/ctf-ptype.exp: Use "list -q".
3084 * gdb.base/define.exp: Use "break -q".
3085 * gdb.base/del.exp: Use "break -q".
3086 * gdb.base/fullname.exp: Use "break -q".
3087 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
3088 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
3089 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
3090 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
3091 "hbreak -q".
3092 * gdb.base/included.exp: Use "list -q".
3093 * gdb.base/label.exp: Use "break -q".
3094 * gdb.base/lineinc.exp: Use "break -q".
3095 * gdb.base/list.exp: Use "list -q".
3096 * gdb.base/macscp.exp: Use "list -q".
3097 * gdb.base/pending.exp: Use "break -q".
3098 * gdb.base/prologue-include.exp: Use "break -q".
3099 * gdb.base/ptype.exp: Use "list -q".
3100 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
3101 * gdb.base/server-del-break.exp: Use "break -q".
3102 * gdb.base/style.exp: Use "break -q".
3103 * gdb.base/symbol-without-target_section.exp: Use "list -q".
3104 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
3105 * gdb.cp/exception.exp: Use "tbreak -q".
3106 * gdb.dwarf2/dw2-error.exp: Use "break -q".
3107 * gdb.dwarf2/fission-mix.exp: Use "break -q".
3108 * gdb.dwarf2/fission-reread.exp: Use "break -q".
3109 * gdb.dwarf2/pr13961.exp: Use "break -q".
3110 * gdb.linespec/explicit.exp: Use "list -q".
3111 * gdb.linespec/linespec.exp: Use "break -q".
3112 * gdb.mi/mi-simplerun.exp: Use "--qualified".
3113 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
3114 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
3115 * gdb.server/connect-without-multi-process.exp: Use "break -q".
3116 * gdb.trace/change-loc.exp: Use "break -q".
3117 * gdb.trace/pending.exp: Use "break -q".
3118 * gdb.tui/basic.exp: Use "list -q".
3119 * gdb.tui/list-before.exp: Use "list -q".
3120 * gdb.tui/list.exp: Use "list -q".
3121 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
3122
8abd8ee8
PA
31232020-10-13 Pedro Alves <pedro@palves.net>
3124
3125 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
3126 saved breakpoints file.
3127 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
3128 inspecting breakpoint list.
3129 * lib/gdb.exp (runto_main): Add "qualified" to options.
3130 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
3131 and handle it.
3132 (mi_runto_main): Pass 1 as qualified argument.
3133
f71e6719
PA
31342020-10-13 Pedro Alves <pedro@palves.net>
3135
3136 * lib/mi-support.exp (mi_runto_main): New proc.
3137 (mi_run_to_main): Use it.
3138 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
3139 * gdb.mi/mi-var-cmd.exp: Likewise.
3140 * gdb.mi/mi-var-invalidate.exp: Likewise.
3141 * mi-var-list-children-invalid-grandchild.exp: Likewise.
3142 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3143 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3144 * gdb.mi/user-selected-context-sync.exp: Likewise.
3145 * gdb.opt/inline-cmds.exp: Likewise.
3146 * gdb.python/py-framefilter-mi.exp: Likewise.
3147 * gdb.python/py-mi.exp: Likewise.
3148
50441f0f
PA
31492020-10-13 Pedro Alves <pedro@palves.net>
3150
3151 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
3152 "runto main".
3153 * gdb.ada/small_reg_param.exp: Likewise.
3154 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3155 * gdb.base/annota1.exp: Likewise.
3156 * gdb.base/anon.exp: Likewise.
3157 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
3158 * gdb.base/dprintf-non-stop.exp: Likewise.
3159 * gdb.base/dprintf.exp: Likewise.
3160 * gdb.base/gdb11530.exp: Likewise.
3161 * gdb.base/gdb11531.exp: Likewise.
3162 * gdb.base/gnu_vector.exp: Likewise.
3163 * gdb.base/interrupt-noterm.exp: Likewise.
3164 * gdb.base/memattr.exp: Likewise.
3165 * gdb.base/step-over-syscall.exp: Likewise.
3166 * gdb.base/watch-cond-infcall.exp: Likewise.
3167 * gdb.base/watch-read.exp: Likewise.
3168 * gdb.base/watch-vfork.exp: Likewise.
3169 * gdb.base/watch_thread_num.exp: Likewise.
3170 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
3171 * gdb.guile/scm-frame-inline.exp: Likewise.
3172 * gdb.linespec/explicit.exp: Likewise.
3173 * gdb.opt/inline-break.exp: Likewise.
3174 * gdb.python/py-frame-inline.exp: Likewise.
3175 * gdb.reverse/break-precsave.exp: Likewise.
3176 * gdb.reverse/break-reverse.exp: Likewise.
3177 * gdb.reverse/consecutive-precsave.exp: Likewise.
3178 * gdb.reverse/consecutive-reverse.exp: Likewise.
3179 * gdb.reverse/finish-precsave.exp: Likewise.
3180 * gdb.reverse/finish-reverse.exp: Likewise.
3181 * gdb.reverse/fstatat-reverse.exp: Likewise.
3182 * gdb.reverse/getresuid-reverse.exp: Likewise.
3183 * gdb.reverse/i386-precsave.exp: Likewise.
3184 * gdb.reverse/i386-reverse.exp: Likewise.
3185 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3186 * gdb.reverse/i387-env-reverse.exp: Likewise.
3187 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3188 * gdb.reverse/insn-reverse.exp: Likewise.
3189 * gdb.reverse/machinestate-precsave.exp: Likewise.
3190 * gdb.reverse/machinestate.exp: Likewise.
3191 * gdb.reverse/pipe-reverse.exp: Likewise.
3192 * gdb.reverse/readv-reverse.exp: Likewise.
3193 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3194 * gdb.reverse/rerun-prec.exp: Likewise.
3195 * gdb.reverse/s390-mvcle.exp: Likewise.
3196 * gdb.reverse/solib-precsave.exp: Likewise.
3197 * gdb.reverse/solib-reverse.exp: Likewise.
3198 * gdb.reverse/step-precsave.exp: Likewise.
3199 * gdb.reverse/step-reverse.exp: Likewise.
3200 * gdb.reverse/time-reverse.exp: Likewise.
3201 * gdb.reverse/until-precsave.exp: Likewise.
3202 * gdb.reverse/until-reverse.exp: Likewise.
3203 * gdb.reverse/waitpid-reverse.exp: Likewise.
3204 * gdb.reverse/watch-precsave.exp: Likewise.
3205 * gdb.reverse/watch-reverse.exp: Likewise.
3206 * gdb.threads/kill.exp: Likewise.
3207 * gdb.threads/tid-reuse.exp: Likewise.
3208
d3a07122
SM
32092020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
3210
3211 PR gdb/26642
3212 * gdb.base/maint-target-async-off.c: New test.
3213 * gdb.base/maint-target-async-off.exp: New test.
3214
c65c6c42
AM
32152020-10-13 Alan Modra <amodra@gmail.com>
3216
3217 * gdb.arch/powerpc-altivec.s,
3218 * gdb.arch/powerpc-power7.s,
3219 * gdb.arch/powerpc-power8.s,
3220 * gdb.arch/powerpc-power9.s,
3221 * gdb.arch/powerpc-vsx.s,
3222 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
3223 * gdb.arch/powerpc-altivec.exp,
3224 * gdb.arch/powerpc-power7.exp,
3225 * gdb.arch/powerpc-power8.exp,
3226 * gdb.arch/powerpc-power9.exp,
3227 * gdb.arch/powerpc-vsx.exp,
3228 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
3229 disassembly of mfvsrd/mtvsrd.
3230
f4a0f710
AM
32312020-10-13 Alan Modra <amodra@gmail.com>
3232
3233 * gdb.arch/arm-disassembler-options.exp: Adjust expected
3234 "target architecture" output.
3235 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3236 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3237 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
3238 * gdb.arch/s390-disassembler-options.exp: Likewise.
3239
87a37e5e
PA
32402020-10-12 Pedro Alves <pedro@palves.net>
3241
3242 PR exp/26602
3243 PR c++/26550
3244 * gdb.cp/ambiguous.cc (marker1): Delete.
3245 (main): Initialize all the fields of the locals. Replace marker1
3246 call with a "set breakpoint here" marker.
3247 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
3248 instead of running to marker1. Add tests printing all the
3249 variables and all the fields of the variables.
3250 (test_ambiguous): New proc, expecting the new GDB output when a
3251 field access is ambiguous. Change all "warning: X ambiguous"
3252 tests to use it.
3253
71e1b6b0
GB
32542020-10-12 Gary Benson <gbenson@redhat.com>
3255
3256 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
3257 * gdb.base/msym-bp-2.c (foo): Likewise.
3258 * gdb.base/msym-lang.c (foo): Likewise.
3259 * gdb.base/msym-lang-main.c (foo): Likewise.
3260 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
3261 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
3262 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
3263 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
3264 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
3265 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
3266 * gdb.python/py-objfile.c (static_var): Likewise.
3267 * gdb.python/py-symbol.c (rr): Likewise.
3268 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
3269 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
3270
9370fd51
AB
32712020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
3272
3273 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
3274 output of backtrace.
3275
7c184d33
TT
32762020-10-09 Tom Tromey <tromey@adacore.com>
3277
3278 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
3279 (Rec): Add field. Fix range.
3280 * gdb.ada/scalar_storage.exp: Update.
3281
3d87245c
HD
32822020-10-09 Hannes Domani <ssbssa@yahoo.de>
3283
3284 PR exp/26714
3285 * gdb.base/printcmds.exp: Add tests for void results.
3286
f5c4b229
JV
32872020-10-09 Jan Vrany <jan.vrany@labware.com>
3288
3289 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
3290 is emmited for both 'set directories' and 'directory' commands.
3291
b2701685
TT
32922020-10-08 Tom Tromey <tom@tromey.com>
3293
3294 * gdb.base/style.exp: Check that "main"'s name is styled.
3295
e86efb33
TT
32962020-10-07 Tom Tromey <tromey@adacore.com>
3297
3298 * gdb.base/find.exp: Rename some tests.
3299
30897591
GB
33002020-10-06 Gary Benson <gbenson@redhat.com>
3301
3302 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
3303 * gdb.base/list1.c (unused): Likewise.
3304
ced4a4c1
GB
33052020-10-06 Gary Benson <gbenson@redhat.com>
3306
3307 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
3308 __attribute__ ((used)).
3309 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
3310
ed3bdac4
AB
33112020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
3312
3313 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
3314 make use of regions throughout.
3315 * gdb.base/overlays.exp: Enclose string with variableds in "..",
3316 not {...}.
3317 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
3318
cd096ec8
HD
33192020-10-05 Hannes Domani <ssbssa@yahoo.de>
3320
3321 * gdb.base/call-sc.c: Fix return struct on stack test case.
3322 * gdb.base/call-sc.exp: Likewise.
3323
3ee6f75d
GB
33242020-10-02 Gary Benson <gbenson@redhat.com>
3325
3326 * README: Fix "paralell".
3327
f65825ec
GB
33282020-09-30 Gary Benson <gbenson@redhat.com>
3329
3330 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
3331 Convert directive to lowercase.
3332 (.Labbrev1_begin): Add missing label.
3333 (abbrev code 0x1): Remove DW_AT_stmt_list.
3334 (.Ldie_b): Likewise.
3335
5f278258
TT
33362020-09-27 Tom Tromey <tom@tromey.com>
3337
3338 * gdb.tui/new-layout.exp: Use with_test_prefix.
3339
8f9929bb
GR
33402020-09-26 Gareth Rees <grees@undo.io> (tiny change)
3341
3342 PR python/26586
3343 * gdb.python/python.exp: add test cases for the from_tty
3344 argument to gdb.execute.
3345
c20c017b
GB
33462020-09-25 Gary Benson <gbenson@redhat.com>
3347
3348 * gdb.base/infcall-nested-structs.exp.tcl: Add
3349 additional_flags=-Wno-tautological-compare for C++
3350 tests when compiling using Clang.
3351
68d654af
GB
33522020-09-25 Gary Benson <gbenson@redhat.com>
3353
3354 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
3355 for .c files.
3356
b551a89f
TT
33572020-09-24 Tom Tromey <tromey@adacore.com>
3358
3359 PR tui/26638:
3360 * gdb.tui/list.exp: Check output of "focus next".
3361
20a5fcbd
TT
33622020-09-23 Tom Tromey <tom@tromey.com>
3363
3364 * gdb.dwarf2/intbits.exp: New file.
3365 * gdb.dwarf2/intbits.c: New file.
3366
b167e53f
PA
33672020-09-20 Pedro Alves <pedro@palves.net>
3368
3369 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
3370 spawn_id before calling remote_close. Close secondary MI channel.
3371
dbc49e9f
PA
33722020-09-20 Pedro Alves <pedro@palves.net>
3373
3374 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
3375 fails.
3376
c8d5abea
AB
33772020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
3378
3379 * gdb.fortran/array-slices.exp: Update expected results.
3380 * gdb.fortran/class-allocatable-array.exp: Likewise.
3381 * gdb.fortran/multi-dim.exp: Likewise.
3382 * gdb.fortran/vla-type.exp: Likewise.
3383 * gdb.mi/mi-vla-fortran.exp: Likewise.
3384
14f9473c
VC
33852020-09-18 Victor Collod <vcollod@nvidia.com>
3386
3387 PR gdb/26635
3388 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
3389 compatible with i386, and move it to...
3390 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
3391 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
3392 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
3393
e8ef12b9
PA
33942020-09-18 Pedro Alves <pedro@palves.net>
3395
3396 PR gdb/26631
3397 * gdb.multi/multi-target-thread-find.exp: New file.
3398
e11daf7a
PA
33992020-09-18 Pedro Alves <pedro@palves.net>
3400
3401 * gdb.multi/multi-target-continue.exp: New file, factored out from
3402 multi-target.exp.
3403 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
3404 multi-target.exp.
3405 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
3406 multi-target.exp.
3407 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
3408 multi-target.exp.
3409 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
3410 multi-target.exp.
3411 * gdb.multi/multi-target.exp.tcl: New file, factored out from
3412 multi-target.exp.
3413 * gdb.multi/multi-target.exp: Delete.
3414
d0edc2b8
AB
34152020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3416
3417 * gdb.fortran/array-slices.exp: Add missing message data.
3418
7474326c
PA
34192020-09-17 Pedro Alves <pedro@palves.net>
3420
3421 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
3422
dd23068d
PA
34232020-09-17 Pedro Alves <pedro@palves.net>
3424
3425 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
3426 full prototype.
3427
0640a543
PA
34282020-09-17 Pedro Alves <pedro@palves.net>
3429
3430 * gdb.python/py-as-string.c: Add cast.
3431
ef0cdbc1
PA
34322020-09-17 Pedro Alves <pedro@palves.net>
3433
3434 * gdb.base/sizeof.c (fill): Add cast.
3435
3a5eeb8b
PA
34362020-09-17 Pedro Alves <pedro@palves.net>
3437
3438 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
3439
a8129512
PA
34402020-09-17 Pedro Alves <pedro@palves.net>
3441
3442 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
3443 linkage name.
3444 * gdb.base/prologue.exp: Use print /d.
3445 * gdb.base/symbol-alias.exp: Handle C++ output.
3446 * gdb.base/symbol-alias2.c: Handle C++ output.
3447 [__cplusplus] (func): Explicitly specify linkage name.
3448
a83cdcb6
PA
34492020-09-17 Pedro Alves <pedro@palves.net>
3450
3451 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
3452 (struct my_key_t): ... this. Adjust all references.
3453 (struct value_t): Rename to ...
3454 (struct my_value_t): ... this. Adjust all references.
3455 (create_map, add_map_element, create_map_map)
3456 (add_map_map_element): Add casts.
3457
d4bcee5c
PA
34582020-09-17 Pedro Alves <pedro@palves.net>
3459
3460 * gdb.python/py-framefilter-mi.c (funca): Add casts.
3461 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
3462
81f90489
PA
34632020-09-17 Pedro Alves <pedro@palves.net>
3464
3465 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
3466
0a229804
PA
34672020-09-17 Pedro Alves <pedro@palves.net>
3468
3469 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
3470 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
3471 (charfoo, intfoo): Define full prototype.
3472 * gdb.base/ptype1.c (charfoo): Define full prototype.
3473 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
3474 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
3475
c3e5138d
PA
34762020-09-17 Pedro Alves <pedro@palves.net>
3477
3478 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
3479 Don't define.
3480 (utf_32_string): Compile for both C and C++.
3481 * gdb.base/charset.exp: Use "print /d".
3482
151fdbad
PA
34832020-09-17 Pedro Alves <pedro@palves.net>
3484
3485 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
3486 (nullptr): Rename to ...
3487 (null_ptr): ... this.
3488 * gdb.base/watchpoint.exp: Adjust to rename.
3489
18a25b64
PA
34902020-09-17 Pedro Alves <pedro@palves.net>
3491
3492 * gdb.base/printcmds.c (three, flag_enum_without_zero)
3493 (three_not_flag): Add casts.
3494
11fac337
PA
34952020-09-17 Pedro Alves <pedro@palves.net>
3496
3497 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
3498 char array.
3499 (main): Add references to Barrier, TestStrings, TestStringsH and
3500 TestStringsW.
3501 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
3502 and expect a full prototype in C++.
3503
52626c58
PA
35042020-09-17 Pedro Alves <pedro@palves.net>
3505
3506 * gdb.base/nested-addr.c (main): Add cast.
3507 * gdb.base/nested-addr.exp: Use "print /d".
3508
52bb0902
PA
35092020-09-17 Pedro Alves <pedro@palves.net>
3510
3511 * gdb.base/break.exp (func): New. Use it throughout when
3512 expecting a function name.
3513
73e18ac9
PA
35142020-09-17 Pedro Alves <pedro@palves.net>
3515
3516 * gdb.base/display.exp: Issue "set print asm-demangle on".
3517
c8b18808
PA
35182020-09-17 Pedro Alves <pedro@palves.net>
3519
3520 * gdb.base/find.c: Include <string.h>.
3521 (init_bufs): Add cast.
3522 * gdb.base/find.exp: Issue "set print asm-demangle on".
3523
fe830662
TT
35242020-09-16 Tom Tromey <tromey@adacore.com>
3525
3526 PR gdb/26598:
3527 * gdb.base/skipcxx.exp: New file.
3528 * gdb.base/skipcxx.cc: New file.
3529
945ff6e2
TV
35302020-09-16 Tom de Vries <tdevries@suse.de>
3531
3532 PR testsuite/26617
3533 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
3534 WITH_DEBUG_SECTIONS is defined.
3535 (xstr, str): New macro.
3536 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
3537 to get start and size of _Dmain.
3538 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
3539 using additional_flags.
3540
da1df1db
TBA
35412020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3542
3543 * gdb.base/bp-cmds-sourced-script.c: New file.
3544 * gdb.base/bp-cmds-sourced-script.exp: New test.
3545 * gdb.base/bp-cmds-sourced-script.gdb: New file.
3546
337882d4
TV
35472020-09-16 Tom de Vries <tdevries@suse.de>
3548
3549 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
3550 get the gdb prompt after issuing "monitor exit".
3551
7361f908
TV
35522020-09-16 Tom de Vries <tdevries@suse.de>
3553
3554 PR testsuite/26624
3555 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
3556
4d91ddd3
TV
35572020-09-16 Tom de Vries <tdevries@suse.de>
3558
3559 PR testsuite/26618
3560 * gdb.tui/new-layout.exp: Escape unbalanced braces.
3561
08cc37dd
TT
35622020-09-15 Tom Tromey <tromey@adacore.com>
3563
3564 PR rust/26197:
3565 * lib/rust-support.exp (rust_llvm_version): New proc.
3566 * gdb.rust/simple.exp: Check rust_llvm_version.
3567
ee6372f2
TV
35682020-09-14 Tom de Vries <tdevries@suse.de>
3569
3570 * gdb.rust/traits.exp: Fix PATH warning.
3571
dc3a371e
PA
35722020-09-13 Pedro Alves <pedro@palves.net>
3573
3574 * gdb.base/catch-follow-exec.c (main): Add explicit return
3575 statement.
3576 * gdb.base/catch-signal.c (main): Likewise.
3577 * gdb.base/condbreak-call-false.c (main): Likewise.
3578 * gdb.base/consecutive.c (main): Add explicit return
3579 statement and return type.
3580 * gdb.base/cursal.c (main): Add explicit return statement.
3581 * gdb.base/cvexpr.c (main): Likewise.
3582 * gdb.base/display.c (main): Add explicit return statement and
3583 return type.
3584 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3585 * gdb.base/endianity.c (main): Likewise.
3586 * gdb.base/execd-prog.c (main): Likewise.
3587 * gdb.base/gdb1090.c (main): Likewise.
3588 * gdb.base/info_qt.c (main): Likewise.
3589 * gdb.base/lineinc.c (main): Likewise.
3590 * gdb.base/load-command.c (main): Likewise.
3591 * gdb.base/macscp1.c (main): Likewise.
3592 * gdb.base/pr10179-a.c (main): Likewise.
3593 * gdb.base/quit-live.c (main): Likewise.
3594 * gdb.base/scope0.c (main): Likewise.
3595 * gdb.base/settings.c (main): Likewise.
3596 * gdb.base/stack-checking.c (main): Return int.
3597 * gdb.base/varargs.c (main): Add explicit return statement.
3598 * gdb.cp/ambiguous.cc (main): Likewise.
3599 * gdb.cp/anon-struct.cc (main): Likewise.
3600 * gdb.cp/anon-union.cc (main): Likewise.
3601 * gdb.cp/bool.cc (main): Likewise.
3602 * gdb.cp/bs15503.cc (main): Likewise.
3603 * gdb.cp/cplusfuncs.cc (main): Likewise.
3604 * gdb.cp/cttiadd.cc (main): Likewise.
3605 * gdb.cp/extern-c.cc (main): Likewise.
3606 * gdb.cp/filename.cc (main): Likewise.
3607 * gdb.cp/formatted-ref.cc (main): Likewise.
3608 * gdb.cp/mb-ctor.cc (main): Likewise.
3609 * gdb.cp/member-ptr.cc (main): Likewise.
3610 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3611 * gdb.cp/overload-const.cc (main): Likewise.
3612 * gdb.cp/paren-type.cc (main): Likewise.
3613 * gdb.cp/parse-lang.cc (main): Likewise.
3614 * gdb.cp/pr-1023.cc (main): Likewise.
3615 * gdb.cp/psmang1.cc (main): Likewise.
3616 * gdb.cp/readnow-language.cc (main): Likewise.
3617 * gdb.cp/ref-params.cc (main): Likewise.
3618 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3619 * gdb.cp/virtbase2.cc (main): Likewise.
3620 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3621 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3622 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3623 * gdb.mi/mi-console.c (main): Likewise.
3624 * gdb.mi/mi-read-memory.c (main): Likewise.
3625 * gdb.modula2/multidim.c (main): Likewise.
3626 * gdb.opt/inline-small-func.c (main): Likewise.
3627 * gdb.python/py-rbreak.c (main): Likewise.
3628 * gdb.stabs/exclfwd1.c (main): Likewise.
3629 * gdb.trace/qtro.c (main): Likewise.
3630
af26601c
PA
36312020-09-13 Pedro Alves <pedro@palves.net>
3632
3633 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3634 instead of getenv.
3635
2f4b83cd
PA
36362020-09-13 Pedro Alves <pedro@palves.net>
3637
3638 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3639 instead of spawning GDB with remote_spawn.
3640 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3641 gdb_spawn instead of spawning GDB with remote_spawn.
3642
c49da0e4
PA
36432020-09-13 Pedro Alves <pedro@palves.net>
3644
3645 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3646 file and add calls to first and second.
3647 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3648 add call to f.
3649
6791b117
PA
36502020-09-13 Pedro Alves <pedro@palves.net>
3651
3652 * gdb.mi/mi-break-qualified.cc: New file.
3653 * gdb.mi/mi-break-qualified.exp: New file.
3654 * lib/mi-support.exp (mi_create_breakpoint_multi)
3655 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3656 procedures.
3657 (mi_create_breakpoint_1): New, factored out from
3658 mi_create_breakpoint.
3659
3b8d4c5c
PA
36602020-09-13 Pedro Alves <pedro@palves.net>
3661
3662 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3663 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3664 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3665 (register_class): Delete.
3666 (main): Don't call register_class.
3667
d5f96005
PA
36682020-09-13 Pedro Alves <pedro@palves.net>
3669
3670 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3671 (do_tests): Remove "calling method for small class" test.
3672 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3673 (register_class): Delete.
3674 (main): Don't call register_class.
3675 * gdb.cp/call-method-register.exp: New file, based on bits removed
3676 from classes.exp.
3677 * gdb.cp/call-method-register.cc: New file, based on bits removed
3678 from classes.cc.
3679
77f2120b
PA
36802020-09-13 Pedro Alves <pedro@palves.net>
3681
3682 * gdb.base/msym-bp-2.c: New.
3683 * gdb.base/msym-bp-shl-lib.c: New file.
3684 * gdb.base/msym-bp-shl-main-2.c: New file.
3685 * gdb.base/msym-bp-shl-main.c: New file.
3686 * gdb.base/msym-bp-shl.exp: New file.
3687 * gdb.base/msym-bp.c: New file.
3688 * gdb.base/msym-bp.exp: New file.
3689
32aea73e
JB
36902020-09-13 Joel Brobecker <brobecker@adacore.com>
3691
3692 * gdb.base/default.exp: Change $_gdb_major to 11.
3693
2a67f09d
FW
36942020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3695 Felix Willgerodt <Felix.Willgerodt@intel.com>
3696
3697 * x86-avx512bf16.c: New file.
3698 * x86-avx512bf16.exp: Likewise.
3699 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3700
ad570dd7
TV
37012020-09-11 Tom de Vries <tdevries@suse.de>
3702
3703 PR exp/26602
3704 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3705
a56f7391
TBA
37062020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3707
3708 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3709
918619e5
AM
37102020-09-10 Alan Modra <amodra@gmail.com>
3711
3712 PR 26597
3713 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3714
cac1e71d
TV
37152020-09-08 Tom de Vries <tdevries@suse.de>
3716
3717 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3718 after gdb_starti_cmd.
3719
c5cd900e
AKS
37202020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3721
3722 * lib/fortran.exp (fortran_complex8): New proc.
3723 (fortran_complex16): New proc.
3724 * gdb.fortran/complex.exp: Use routines from fortran.exp
3725 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3726 * gdb.fortran/vla-ptr-info.exp: Likewise.
3727
8f5c6526
TV
37282020-09-03 Tom de Vries <tdevries@suse.de>
3729
3730 PR breakpoint/26546
3731 * gdb.base/label-without-address.exp: Runto main first.
3732
02c6f3f1
TT
37332020-09-02 Tom Tromey <tromey@adacore.com>
3734
3735 * gdb.ada/mi_var_access.exp: Test children of access variable.
3736 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3737 * gdb.ada/mi_var_array.exp: Update.
3738
efe24f05
KB
37392020-08-31 Kevin Buettner <kevinb@redhat.com>
3740
3741 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3742 on docker w/ AUFS storage driver.
3743
973695d6
KB
37442020-08-31 Kevin Buettner <kevinb@redhat.com>
3745
3746 * gdb.base/corefile2.exp (renamed binfile): New tests.
3747
f3bd50f1
SM
37482020-08-31 Simon Marchi <simon.marchi@efficios.com>
3749
3750 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3751
22b9b4b0
SL
37522020-08-31 Simon Marchi <simon.marchi@efficios.com>
3753
3754 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3755 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3756
8efaf6b3
SM
37572020-08-31 Simon Marchi <simon.marchi@efficios.com>
3758
3759 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3760 output, printing a "not saved" value from history and printing a
3761 convenience variable created from a "not saved" value.
3762
e840f2e3
TV
37632020-08-31 Tom de Vries <tdevries@suse.de>
3764
3765 * gdb.base/eh_return.exp: Use nopie.
3766
8f57f343
PA
37672020-08-28 Pedro Alves <pedro@palves.net>
3768
3769 * gdb.base/advance-until-multiple-locations.exp
3770 (advance_overload, until_overload): Adjust to match the
3771 frame/function header instead of the source line text.
3772
626d2320
TV
37732020-08-28 Tom de Vries <tdevries@suse.de>
3774
3775 * gdb.base/label-without-address.c: New test.
3776 * gdb.base/label-without-address.exp: New file.
3777
df631783
PA
37782020-08-27 Pedro Alves <pedro@palves.net>
3779
3780 PR gdb/26523
3781 PR gdb/26524
3782 * gdb.base/advance-until-multiple-locations.cc: New.
3783 * gdb.base/advance-until-multiple-locations.exp: New.
3784
48b076bb
SM
37852020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3786
3787 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3788
c2015ce4
AB
37892020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3790
3791 * gdb.arch/amd64-byte.exp: Make test names unique, use
3792 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3793 * gdb.arch/amd64-dword.exp: Likewise.
3794 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3795 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3796 unique.
3797 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3798 * gdb.arch/amd64-word.exp: Make test names unique, use
3799 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3800 * gdb.arch/i386-byte.exp: Make test names unique, use
3801 gdb_breakpoint.
3802 * gdb.arch/i386-word.exp: Likewise.
3803
995d3a19
SV
38042020-08-25 Shahab Vahedi <shahab@synopsys.com>
3805
3806 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3807
8cac2b31
SM
38082020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3809
3810 PR gdb/26532
3811 * gdb.threads/stepi-random-signal.exp: Update pattern.
3812
2bc19622
SM
38132020-08-25 Simon Marchi <simon.marchi@efficios.com>
3814
3815 PR gdb/26532
3816 * gdb.base/ui-redirect.exp: Update pattern.
3817
b04aa1fc
GB
38182020-08-25 Gary Benson <gbenson@redhat.com>
3819
3820 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3821 when compiling with clang.
8571e9c8 3822 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 3823
9f68b453
GB
38242020-08-25 Gary Benson <gbenson@redhat.com>
3825
3826 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3827 Add additional_flags=-Wno-inaccessible-base when compiling
3828 with GCC >= 10.1 or clang. Add additional_flags=-w when
3829 compiling with GCC < 10.
3830
3945d2d7
GM
38312020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3832
3833 PR m2/26372
fc5d6901
SM
3834 * gdb.modula2/multidim.c: New file.
3835 * gdb.modula2/multidim.exp: New file.
3945d2d7 3836
60122dbe
SM
38372020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3838
3839 * lib/gdb.exp (runto): Always emit fail on internal error.
3840
1eb8556f
SM
38412020-08-24 Simon Marchi <simon.marchi@efficios.com>
3842
3843 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3844 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3845 Likewise.
3846 * gdb.threads/stepi-random-signal.exp: Likewise.
3847
33bf4c5c
TBA
38482020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3849
3850 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3851 * gdb.trace/strace.exp: Ditto.
3852
c2fd7fae
AKS
38532020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3854
3855 * gdb.fortran/vla-type.exp: Skip commands not required for
3856 the Flang compiled binaries after prologue fix.
3857
326afb72
TT
38582020-08-17 Tom de Vries <tdevries@suse.de>
3859 Tom Tromey <tromey@adacore.com>
3860
3861 PR rust/26197:
3862 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3863
3ae7ab99
TT
38642020-08-17 Tom Tromey <tromey@adacore.com>
3865
3866 * gdb.ada/mi_var_access.exp: New file.
3867 * gdb.ada/mi_var_access/mi_access.adb: New file.
3868 * gdb.ada/mi_var_access/pck.adb: New file.
3869 * gdb.ada/mi_var_access/pck.ads: New file.
3870
f569c1c5
TV
38712020-08-16 Tom de Vries <tdevries@suse.de>
3872
3873 PR gdb/25350
3874 * gdb.base/eh_return.c: New test.
3875 * gdb.base/eh_return.exp: New file.
3876
3d11c30a
TV
38772020-08-15 Tom de Vries <tdevries@suse.de>
3878
3879 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3880 (mixed_func_1d_): Use fortran_charlen_t in decl.
3881
547ce8f0
TV
38822020-08-15 Tom de Vries <tdevries@suse.de>
3883
3884 PR backtrace/26390
3885 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3886 Update expected pattern.
3887
a54a7f13
PA
38882020-08-13 Pedro Alves <pedro@palves.net>
3889
3890 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3891 * gdb.fortran/library-module.exp: Likewise.
3892 * gdb.fortran/logical.exp: Likewise.
3893 * gdb.fortran/module.exp: Likewise.
3894 * gdb.fortran/print_type.exp: Likewise.
3895 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3896 * gdb.fortran/vla-datatypes.exp: Likewise.
3897 * gdb.fortran/vla-history.exp: Likewise.
3898 * gdb.fortran/vla-ptr-info.exp: Likewise.
3899 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3900 * gdb.fortran/vla-ptype.exp: Likewise.
3901 * gdb.fortran/vla-sizeof.exp: Likewise.
3902 * gdb.fortran/vla-type.exp: Likewise.
3903 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3904 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3905 * gdb.fortran/vla-value-sub.exp: Likewise.
3906 * gdb.fortran/vla-value.exp: Likewise.
3907
7a82e903
PA
39082020-08-13 Pedro Alves <pedro@palves.net>
3909
3910 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3911 * gdb.ada/access_to_packed_array.exp: Likewise.
3912 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3913 * gdb.ada/addr_arith.exp: Likewise.
3914 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3915 * gdb.ada/arr_arr.exp: Likewise.
3916 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3917 * gdb.ada/array_bounds.exp: Likewise.
3918 * gdb.ada/array_of_variable_length.exp: Likewise.
3919 * gdb.ada/array_ptr_renaming.exp: Likewise.
3920 * gdb.ada/array_subscript_addr.exp: Likewise.
3921 * gdb.ada/arraydim.exp: Likewise.
3922 * gdb.ada/arrayparam.exp: Likewise.
3923 * gdb.ada/arrayptr.exp: Likewise.
3924 * gdb.ada/assign_1.exp: Likewise.
3925 * gdb.ada/assign_arr.exp: Likewise.
3926 * gdb.ada/atomic_enum.exp: Likewise.
3927 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3928 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3929 * gdb.ada/bias.exp: Likewise.
3930 * gdb.ada/boolean_expr.exp: Likewise.
3931 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3932 * gdb.ada/bp_enum_homonym.exp: Likewise.
3933 * gdb.ada/bp_inlined_func.exp: Likewise.
3934 * gdb.ada/bp_on_var.exp: Likewise.
3935 * gdb.ada/bp_range_type.exp: Likewise.
3936 * gdb.ada/bp_reset.exp: Likewise.
3937 * gdb.ada/call_pn.exp: Likewise.
3938 * gdb.ada/catch_assert_if.exp: Likewise.
3939 * gdb.ada/catch_ex.exp: Likewise.
3940 * gdb.ada/catch_ex_std.exp: Likewise.
3941 * gdb.ada/char_enum.exp: Likewise.
3942 * gdb.ada/char_param.exp: Likewise.
3943 * gdb.ada/complete.exp: Likewise.
3944 * gdb.ada/cond_lang.exp: Likewise.
3945 * gdb.ada/convvar_comp.exp: Likewise.
3946 * gdb.ada/dgopt.exp: Likewise.
3947 * gdb.ada/disc_arr_bound.exp: Likewise.
3948 * gdb.ada/display_nested.exp: Likewise.
3949 * gdb.ada/dot_all.exp: Likewise.
3950 * gdb.ada/dyn_loc.exp: Likewise.
3951 * gdb.ada/dyn_stride.exp: Likewise.
3952 * gdb.ada/excep_handle.exp: Likewise.
3953 * gdb.ada/expr_delims.exp: Likewise.
3954 * gdb.ada/expr_with_funcall.exp: Likewise.
3955 * gdb.ada/exprs.exp: Likewise.
3956 * gdb.ada/fin_fun_out.exp: Likewise.
3957 * gdb.ada/fixed_cmp.exp: Likewise.
3958 * gdb.ada/formatted_ref.exp: Likewise.
3959 * gdb.ada/frame_arg_lang.exp: Likewise.
3960 * gdb.ada/frame_args.exp: Likewise.
3961 * gdb.ada/fullname_bp.exp: Likewise.
3962 * gdb.ada/fun_addr.exp: Likewise.
3963 * gdb.ada/fun_in_declare.exp: Likewise.
3964 * gdb.ada/fun_overload_menu.exp: Likewise.
3965 * gdb.ada/fun_renaming.exp: Likewise.
3966 * gdb.ada/funcall_char.exp: Likewise.
3967 * gdb.ada/funcall_param.exp: Likewise.
3968 * gdb.ada/funcall_ptr.exp: Likewise.
3969 * gdb.ada/funcall_ref.exp: Likewise.
3970 * gdb.ada/homonym.exp: Likewise.
3971 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3972 * gdb.ada/info_auto_lang.exp: Likewise.
3973 * gdb.ada/info_exc.exp: Likewise.
3974 * gdb.ada/info_types.exp: Likewise.
3975 * gdb.ada/int_deref.exp: Likewise.
3976 * gdb.ada/interface.exp: Likewise.
3977 * gdb.ada/iwide.exp: Likewise.
3978 * gdb.ada/lang_switch.exp: Likewise.
3979 * gdb.ada/length_cond.exp: Likewise.
3980 * gdb.ada/maint_with_ada.exp: Likewise.
3981 * gdb.ada/mi_catch_assert.exp: Likewise.
3982 * gdb.ada/mi_catch_ex.exp: Likewise.
3983 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3984 * gdb.ada/mi_dyn_arr.exp: Likewise.
3985 * gdb.ada/mi_ex_cond.exp: Likewise.
3986 * gdb.ada/mi_exc_info.exp: Likewise.
3987 * gdb.ada/mi_interface.exp: Likewise.
3988 * gdb.ada/mi_prot.exp: Likewise.
3989 * gdb.ada/mi_ref_changeable.exp: Likewise.
3990 * gdb.ada/mi_string_access.exp: Likewise.
3991 * gdb.ada/mi_task_arg.exp: Likewise.
3992 * gdb.ada/mi_task_info.exp: Likewise.
3993 * gdb.ada/mi_var_array.exp: Likewise.
3994 * gdb.ada/mi_var_union.exp: Likewise.
3995 * gdb.ada/mi_variant.exp: Likewise.
3996 * gdb.ada/minsyms.exp: Likewise.
3997 * gdb.ada/mod_from_name.exp: Likewise.
3998 * gdb.ada/nested.exp: Likewise.
3999 * gdb.ada/null_array.exp: Likewise.
4000 * gdb.ada/optim_drec.exp: Likewise.
4001 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
4002 * gdb.ada/packed_array_assign.exp: Likewise.
4003 * gdb.ada/packed_tagged.exp: Likewise.
4004 * gdb.ada/pp-rec-component.exp: Likewise.
4005 * gdb.ada/print_chars.exp: Likewise.
4006 * gdb.ada/print_pc.exp: Likewise.
4007 * gdb.ada/ptr_typedef.exp: Likewise.
4008 * gdb.ada/ptype_arith_binop.exp: Likewise.
4009 * gdb.ada/ptype_array.exp: Likewise.
4010 * gdb.ada/ptype_field.exp: Likewise.
4011 * gdb.ada/ptype_tagged_param.exp: Likewise.
4012 * gdb.ada/ptype_union.exp: Likewise.
4013 * gdb.ada/py_range.exp: Likewise.
4014 * gdb.ada/py_taft.exp: Likewise.
4015 * gdb.ada/rdv_wait.exp: Likewise.
4016 * gdb.ada/rec_comp.exp: Likewise.
4017 * gdb.ada/rec_return.exp: Likewise.
4018 * gdb.ada/ref_param.exp: Likewise.
4019 * gdb.ada/ref_tick_size.exp: Likewise.
4020 * gdb.ada/rename_subscript_param.exp: Likewise.
4021 * gdb.ada/repeat_dyn.exp: Likewise.
4022 * gdb.ada/same_component_name.exp: Likewise.
4023 * gdb.ada/same_enum.exp: Likewise.
4024 * gdb.ada/scalar_storage.exp: Likewise.
4025 * gdb.ada/set_wstr.exp: Likewise.
4026 * gdb.ada/small_reg_param.exp: Likewise.
4027 * gdb.ada/str_binop_equal.exp: Likewise.
4028 * gdb.ada/str_ref_cmp.exp: Likewise.
4029 * gdb.ada/str_uninit.exp: Likewise.
4030 * gdb.ada/sub_variant.exp: Likewise.
4031 * gdb.ada/sym_print_name.exp: Likewise.
4032 * gdb.ada/taft_type.exp: Likewise.
4033 * gdb.ada/tagged.exp: Likewise.
4034 * gdb.ada/tagged_access.exp: Likewise.
4035 * gdb.ada/task_bp.exp: Likewise.
4036 * gdb.ada/task_switch_in_core.exp: Likewise.
4037 * gdb.ada/tasks.exp: Likewise.
4038 * gdb.ada/tick_last_segv.exp: Likewise.
4039 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
4040 * gdb.ada/type_coercion.exp: Likewise.
4041 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4042 * gdb.ada/unchecked_union.exp: Likewise.
4043 * gdb.ada/uninitialized_vars.exp: Likewise.
4044 * gdb.ada/var_arr_attrs.exp: Likewise.
4045 * gdb.ada/var_arr_typedef.exp: Likewise.
4046 * gdb.ada/var_rec_arr.exp: Likewise.
4047 * gdb.ada/variant-record.exp: Likewise.
4048 * gdb.ada/variant.exp: Likewise.
4049 * gdb.ada/variant_record_packed_array.exp: Likewise.
4050 * gdb.ada/varsize_limit.exp: Likewise.
4051 * gdb.ada/whatis_array_val.exp: Likewise.
4052 * gdb.ada/widewide.exp: Likewise.
4053 * gdb.ada/win_fu_syms.exp: Likewise.
4054
40552020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
4056
4057 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
4058
10c381b5
AB
40592020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
4060
4061 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
4062 unset the array variable.
4063
8f34b746
TV
40642020-08-03 Tom de Vries <tdevries@suse.de>
4065
4066 PR symtab/26333
4067 * lib/dwarf.exp (DW_LNE_user): New proc.
4068 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
4069 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
4070
0245e136
KB
40712020-07-31 Kevin Buettner <kevinb@redhat.com>
4072
4073 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
4074 to 'uintptr_t'
4075 (inttypes.h): Include.
4076
9ef1ec5d
KB
40772020-07-31 Kevin Buettner <kevinb@redhat.com>
4078
4079 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
4080 (C5_24k): Delete.
4081 (C5_8k, C5_64k, C5_256k): New macros.
4082 (buf_ro): Allocate 256 KiB of initialized data.
4083
4c55e970
TBA
40842020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4085
4086 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
4087 that attempt to overwrite an existing condition with a condition
4088 that fails parsing and also with a condition that parses fine
4089 but contains junk at the end.
4090
1e620590
TBA
40912020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4092
4093 * gdb.base/condbreak-bad.c: New test.
4094 * gdb.base/condbreak-bad.exp: New file.
4095
e12dcc50
TV
40962020-07-30 Tom de Vries <tdevries@suse.de>
4097
4098 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
4099 out of ...
4100 (GDBInfoModuleSymbols::check_entry): ... here.
4101 (GDBInfoModuleSymbols::check_optional_entry): New proc.
4102 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
4103 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
4104
6cc64caa
TV
41052020-07-30 Tom de Vries <tdevries@suse.de>
4106
4107 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
4108 "__class_some_module_Number_t" optional.
4109
90fd07fc
TV
41102020-07-29 Tom de Vries <tdevries@suse.de>
4111
4112 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
4113 multiple locations.
4114
f5c79e97
TV
41152020-07-29 Tom de Vries <tdevries@suse.de>
4116
4117 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
4118 rather than function name.
4119
f75a0693
AB
41202020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4121
4122 PR symtab/26270:
4123 * gdb.cp/disasm-func-name.cc: New file.
4124 * gdb.cp/disasm-func-name.exp: New file.
4125
4888741a
TT
41262020-07-28 Tom Tromey <tromey@adacore.com>
4127
4128 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
4129 'varval' location.
4130
43d5901d
AB
41312020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4132
4133 * gdb.python/py-unwind.py: Update to make use of a register
4134 descriptor.
4135
14fa8fb3
AB
41362020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4137
4138 * gdb.python/py-arch-reg-names.exp: Add additional tests.
4139
e79eb02f
AB
41402020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
4141
4142 PR fortran/23051
4143 PR fortran/26139
4144 * gdb.fortran/class-allocatable-array.exp: New file.
4145 * gdb.fortran/class-allocatable-array.f90: New file.
4146 * gdb.fortran/pointer-to-pointer.exp: New file.
4147 * gdb.fortran/pointer-to-pointer.f90: New file.
4148
876518dd
TV
41492020-07-25 Tom de Vries <tdevries@suse.de>
4150
4151 PR symtab/26243
4152 * gdb.dwarf2/dw2-line-number-zero.c: New test.
4153 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
4154
6dcfb80a
TV
41552020-07-24 Tom de Vries <tdevries@suse.de>
4156
4157 PR testsuite/26293
4158 * gdb.ada/mi_prot.exp: Require gnatmake-8.
4159
e7bc9db8
PA
41602020-07-23 Pedro Alves <pedro@palves.net>
4161
4162 * gdb.server/server-kill.exp (prepare): New, factored out from the
4163 top level.
4164 (kill_server): New.
4165 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
4166 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
4167
78344df7
AB
41682020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
4169
4170 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
4171
25dfed24
SL
41722020-07-22 Sandra Loosemore <sandra@codesourcery.com>
4173
4174 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
4175 Initialize to empty string at top level.
4176 (gdb_wrapper_init): Revert check for file existence on build.
4177 Build the wrapper in its default place, not a build-specific
4178 location. When host == build, make the pathname absolute.
4179 (gdb_compile): Delete leftover declaration of
4180 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
4181 string instead of uninitialized.
4182
7da515fd
KB
41832020-07-22 Kevin Buettner <kevinb@redhat.com>
4184
4185 * gdb.base/corefile2.exp: New file.
4186 * gdb.base/coremaker2.exp: New file.
4187
9c5ec5c2
KB
41882020-07-22 Kevin Buettner <kevinb@redhat.com>
4189
4190 * gdb.base/coredump-filter.exp: Add second
4191 non-Private-Shared-Anon-File test.
4192 (test_disasm): Rename binfile for test which is expected
4193 to fail.
4194
f9e233c9
KB
41952020-07-22 Kevin Buettner <kevinb@redhat.com>
4196
4197 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
4198 data in core file".
4199 * gdb.base/coremaker.c (buf2ro): New global.
4200 (mmapdata): Add a read-only mmap mapping.
4201
94c265d7
KB
42022020-07-22 Kevin Buettner <kevinb@redhat.com>
4203
4204 PR corefiles/25631
4205 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
4206 New test.
4207 * gdb.base/coremaker.c (buf3): New global.
4208 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
4209 flags.
4210
42112020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
4212
4213 * gdb.base/coremaker.c (filler_ro): New global constant.
4214
32fa152e
TT
42152020-07-22 Tom Tromey <tromey@adacore.com>
4216
4217 * gdb.ada/mi_prot.exp: New file.
4218 * gdb.ada/mi_prot/pkg.adb: New file.
4219 * gdb.ada/mi_prot/pkg.ads: New file.
4220 * gdb.ada/mi_prot/prot.adb: New file.
4221
c8474dc3
TBA
42222020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4223
4224 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
4225 loads two JITers.
4226
baf8791e
AB
42272020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
4228
4229 * gdb.python/py-arch-reg-groups.exp: Additional tests.
4230
f7306dac
AB
42312020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
4232
4233 * gdb.python/py-arch-reg-names.exp: Additional tests.
4234
6d3d6e4b
TV
42352020-07-21 Tom de Vries <tdevries@suse.de>
4236
4237 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
4238 breakpoint locations".
4239 * gdb.reverse/solib-reverse.exp: Same.
4240
803d0592
TV
42412020-07-21 Tom de Vries <tdevries@suse.de>
4242
4243 * gdb.reverse/step-reverse.c (callee): Merge statements.
4244
e9bdc510
TV
42452020-07-21 Tom de Vries <tdevries@suse.de>
4246
4247 * gdb.fortran/info-modules.exp (info module variables): Allow missing
4248 line numbers for some variables.
4249
f0f9e75a
TV
42502020-07-21 Tom de Vries <tdevries@suse.de>
4251
4252 * gdb.opt/inline-locals.c (init_array): New func.
4253 (func1): Use init_array.
4254 * gdb.opt/inline-locals.exp: Update pattern.
4255
bd460ecb
TV
42562020-07-21 Tom de Vries <tdevries@suse.de>
4257
4258 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
4259 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
4260
ae5369e7
LC
42612020-07-20 Ludovic Courtès <ludo@gnu.org>
4262
4263 * gdb.guile/source2.scm: Add #f first argument to 'format'.
4264 * gdb.guile/types-module.exp: Remove "ERROR:" from
4265 regexps since Guile 3.0 no longer prints that.
4266
68cf161c
LC
42672020-07-20 Ludovic Courtès <ludo@gnu.org>
4268
4269 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
4270 error regexp to match on Guile 2.2.
4271
c14b4913
GB
42722020-07-20 Gary Benson <gbenson@redhat.com>
4273
4274 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
4275 with clang.
4276
b243ba58
TV
42772020-07-20 Tom de Vries <tdevries@suse.de>
4278
4279 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
4280 (omp_set_lock_in_order): New function.
4281 (single_scope, multi_scope, nested_func, nested_parallel): Use
4282 omp_set_lock_in_order and omp_unset_lock.
4283 (main): Init and destroy lock and lock2.
4284
c06ad8b5
TV
42852020-07-20 Tom de Vries <tdevries@suse.de>
4286
4287 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
4288
6e22f117
TV
42892020-07-20 Tom de Vries <tdevries@suse.de>
4290
4291 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
4292
33176ea7
TV
42932020-07-17 Tom de Vries <tdevries@suse.de>
4294
4295 * gdb.base/valgrind-infcall-2.c: New test.
4296 * gdb.base/valgrind-infcall-2.exp: New file.
4297 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
4298
90c3ec2d
TV
42992020-07-17 Tom de Vries <tdevries@suse.de>
4300
4301 * gdb.dlang/circular.c (found): Use found_label as label name.
4302 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
4303 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
4304 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
4305 * gdb.dwarf2/ada-linkage-name.exp: Same.
4306 * gdb.dwarf2/arr-subrange.exp: Same.
4307 * gdb.dwarf2/atomic-type.exp: Same.
4308 * gdb.dwarf2/comp-unit-lang.exp: Same.
4309 * gdb.dwarf2/cpp-linkage-name.exp: Same.
4310 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
4311 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
4312 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
4313 * gdb.dwarf2/implptr-64bit.exp: Same.
4314 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
4315 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
4316 * gdb.dwarf2/imported-unit.exp: Same.
4317 * gdb.dwarf2/main-subprogram.exp: Same.
4318 * gdb.dwarf2/missing-type-name.exp: Same.
4319 * gdb.dwarf2/nonvar-access.exp: Same.
4320 * gdb.dwarf2/struct-with-sig.exp: Same.
4321 * gdb.dwarf2/typedef-void-finish.exp: Same.
4322 * gdb.dwarf2/void-type.exp: Same.
4323
10da644d
TV
43242020-07-17 Tom de Vries <tdevries@suse.de>
4325
4326 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
4327 src parameter.
4328 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
4329 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
4330 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
4331 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
4332 * gdb.dwarf2/dwz.exp: Same.
4333 * gdb.dwarf2/implptr-optimized-out.exp: Same.
4334 * gdb.dwarf2/implref-array.exp: Same.
4335 * gdb.dwarf2/implref-const.exp: Same.
4336 * gdb.dwarf2/implref-global.exp: Same.
4337 * gdb.dwarf2/implref-struct.exp: Same.
4338 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
4339 * gdb.dwarf2/opaque-type-lookup.exp: Same.
4340 * gdb.dwarf2/var-access.exp: Same.
4341 * gdb.dwarf2/varval.exp: Same.
4342 * gdb.trace/entry-values.exp: Same.
4343
315e6afc
TV
43442020-07-17 Tom de Vries <tdevries@suse.de>
4345
4346 * lib/dwarf.exp (Dwarf::extern): Remove.
4347 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
4348 * gdb.dlang/circular.exp: Same.
4349 * gdb.dwarf2/comp-unit-lang.exp: Same.
4350 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
4351 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
4352 * gdb.dwarf2/dwz.exp: Same.
4353 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
4354 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
4355 * gdb.dwarf2/imported-unit.exp: Same.
4356 * gdb.dwarf2/opaque-type-lookup.exp: Same.
4357
5597c940
SL
43582020-07-16 Sandra Loosemore <sandra@codesourcery.com>
4359
4360 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
4361 Use double quotes instead of single quotes.
4362
d0ce17d8
CT
43632020-07-16 Caroline Tice <cmtice@google.com>
4364
4365 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
4366 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
4367
853772cc
TV
43682020-07-16 Tom de Vries <tdevries@suse.de>
4369
4370 * lib/dwarf.exp (program): Initialize _line.
4371 (DW_LNE_end_sequence): Reinitialize _line.
4372 (DW_LNS_advance_line): Update _line.
4373 (line): New proc.
4374 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
4375 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
4376 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
4377 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
4378 * gdb.dwarf2/dw2-is-stmt.exp: Same.
4379 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4380
fe07b572
AB
43812020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4382
4383 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
4384 generic.
4385
52781cce
TV
43862020-07-15 Tom de Vries <tdevries@suse.de>
4387
4388 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
4389 is_amd64_regs_target.
4390
3dcc261c
AB
43912020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4392
4393 * gdb.fortran/ptype-on-functions.exp: Add more tests.
4394 * gdb.fortran/ptype-on-functions.f90: Likewise.
4395
054a0959
SM
43962020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
4397
4398 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
4399 values in documentation for addr_size to 4 and 8.
4400
ccb9eba6
AB
44012020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
4402
4403 * gdb.arch/amd64-osabi.exp: Update.
4404 * gdb.arch/arm-disassembler-options.exp: Update.
4405 * gdb.arch/powerpc-disassembler-options.exp: Update.
4406 * gdb.arch/ppc64-symtab-cordic.exp: Update.
4407 * gdb.arch/s390-disassembler-options.exp: Update.
4408 * gdb.base/all-architectures.exp.tcl: Update.
4409 * gdb.base/attach-pie-noexec.exp: Update.
4410 * gdb.base/catch-syscall.exp: Update.
4411 * gdb.xml/tdesc-arch.exp: Update.
4412
025a39a7
TV
44132020-07-14 Tom de Vries <tdevries@suse.de>
4414
4415 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
4416 (local_gettid): ... this.
4417 (fn): Update.
4418
74e4b667
SL
44192020-07-13 Sandra Loosemore <sandra@codesourcery.com>
4420
4421 * gdb.base/info_sources.exp: Skip directory match tests on
4422 remote hosts.
4423
f413dd74
GB
44242020-07-13 Gary Benson <gbenson@redhat.com>
4425
4426 * gdb.base/savedregs.exp (caller): Use parentheses to
4427 make expected expression evaluation ordering explicit.
4428
915771bb
GB
44292020-07-13 Gary Benson <gbenson@redhat.com>
4430
4431 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
4432
2a122642
GB
44332020-07-13 Gary Benson <gbenson@redhat.com>
4434
4435 * gdb.base/bigcore.c (main): Use a volatile pointer when
4436 attempting to trigger a SIGSEGV.
4437 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
4438 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
4439 * gdb.base/savedregs.c (thrower): Likewise.
4440 * gdb.mi/mi-syn-frame.c (bar): Likewise.
4441
3f00c730
GB
44422020-07-13 Gary Benson <gbenson@redhat.com>
4443
4444 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
4445 defining and using VLA structure fields into...
4446 * gdb.base/vla-struct-fields.c: New file.
4447 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
4448 tests into...
4449 * gdb.base/vla-struct-fields.exp: New file.
4450
963eeee4
TV
44512020-07-13 Tom de Vries <tdevries@suse.de>
4452
4453 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
4454 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
4455 * gdb.base/gold-gdb-index.exp: Same.
4456 * gdb.base/morestack.exp: Same.
4457
0ed35c9a
DX
44582020-07-11 Daniel Xu <dxu@dxuuu.xyz>
4459
4460 PR rust/26121
4461 * gdb.rust/modules.rs: Prevent linker from discarding test
4462 symbol.
4463
4fdba23d
PA
44642020-07-10 Pedro Alves <pedro@palves.net>
4465
4466 PR gdb/26199
4467 * gdb.multi/multi-target.c (exit_thread): New.
4468 (thread_start): Break loop if EXIT_THREAD.
4469 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
4470 (top level) Call test_no_resumed.
4471
15f3b077
TT
44722020-07-08 Tom Tromey <tromey@adacore.com>
4473
4474 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
4475 * gdb.ada/catch_ex.exp: Examine catchpoint text.
4476
9fc501fd
AB
44772020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4478
4479 PR python/22748
4480 * gdb.opt/inline-frame-tailcall.c: New file.
4481 * gdb.opt/inline-frame-tailcall.exp: New file.
4482 * gdb.python/py-unwind-inline.c: New file.
4483 * gdb.python/py-unwind-inline.exp: New file.
4484 * gdb.python/py-unwind-inline.py: New file.
4485
64cb3757
AB
44862020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4487
4488 * gdb.python/py-arch-reg-groups.exp: New file.
4489
0f767f94
AB
44902020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4491
4492 * gdb.python/py-arch-reg-names.exp: New file.
4493
87dbc774
AB
44942020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4495
4496 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
4497 gdb.PendingFrame.architecture method.
4498
d8cc8af6
TV
44992020-07-06 Tom de Vries <tdevries@suse.de>
4500
4501 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
4502
3c8ea5be
PA
45032020-07-03 Pedro Alves <palves@redhat.com>
4504
4505 * gdb.base/structs2.c (main): Adjust second parem_reg call to
4506 explicitly write negative numbers.
4507 * gdb.base/structs2.exp: Adjust expected output.
4508
bf90c83a
PA
45092020-07-03 Pedro Alves <palves@redhat.com>
4510
4511 * gdb.base/charset.c (init_string): Change all char parameters to
4512 unsigned char parameters.
4513
2eb82157
PA
45142020-07-03 Pedro Alves <palves@redhat.com>
4515
4516 * gdb.base/call-sc.exp (start_scalars_test): Use
4517 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4518 * gdb.base/overlays.c: Remove references to PARAMS.
4519 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
4520 * gdb.base/reread.exp: Don't set 'prototypes' global.
4521 * gdb.base/structs.exp (start_structs_test): Use
4522 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4523 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
4524 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4525 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
4526 call.
4527 * gdb.base/varargs.exp: Don't set 'prototypes' global.
4528
9adda7af
PA
45292020-07-03 Pedro Alves <palves@redhat.com>
4530
4531 * gdb.base/m32rovly.c: Delete.
4532 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
4533
2a17c803
PW
45342020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4535
4536 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
4537 of gdb_py_test_multiple.
4538 * gdb.python/py-cmd.exp: Likewise.
4539 * gdb.python/py-events.exp: Likewise.
4540 * gdb.python/py-function.exp: Likewise.
4541 * gdb.python/py-inferior.exp: Likewise.
4542 * gdb.python/py-infthread.exp: Likewise.
4543 * gdb.python/py-linetable.exp: Likewise.
4544 * gdb.python/py-parameter.exp: Likewise.
4545 * gdb.python/py-value.exp: Likewise.
4546
b011fe1a
TV
45472020-06-30 Tom de Vries <tdevries@suse.de>
4548
4549 PR testsuite/26175
4550 * lib/future.exp (gdb_default_target_compile): Detect and handle
4551 early_flags.
4552
df5b8876
SM
45532020-06-29 Simon Marchi <simon.marchi@efficios.com>
4554
4555 * boards/simavr.exp (gdb_load): Catch errors when closing
4556 previous connection. Close connection, wait for process and
4557 unset simavr_spawn_id on failure.
4558
a3ca48cd
TV
45592020-06-29 Tom de Vries <tdevries@suse.de>
4560
4561 * lib/gdb.exp (unknown): Make test-case unresolved.
4562
b0237c0e
TV
45632020-06-29 Tom de Vries <tdevries@suse.de>
4564
4565 PR gdb/25475
4566 * gdb.server/solib-list.exp: Verify that the symbol reload
4567 confirmation question is asked.
4568
c0b3b3bd
PW
45692020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4570
4571 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
4572 have a input seq nr in each pass message.
fe4c3d43 4573 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
4574 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
4575 * gdb.python/python.exp: Make test names unique,
4576 use gdb_test_multiline instead of gdb_py_test_multiple,
4577 use $gdb_test_name.
4578 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
4579
1776e3e5
NA
45802020-06-26 Nick Alcock <nick.alcock@oracle.com>
4581
4582 * configure.ac: Add --enable-libctf.
4583 * aclocal.m4: sinclude ../config/enable.m4.
4584 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4585 * lib/gdb.exp (skip_ctf_tests): Use it.
4586 * gdb.base/ctf-constvars.exp: Error message tweak.
4587 * gdb.base/ctf-ptype.exp: Likewise.
4588 * configure: Regenerate.
4589
f53b3eeb
GB
45902020-06-26 Gary Benson <gbenson@redhat.com>
4591
4592 * gdb.cp/try_catch.cc: Include string.h.
4593 (main): Replace comparison against string literal with
4594 strcmp, avoiding build failure with -Wstring-compare.
4595 Add "marker test-complete".
4596 * gdb.cp/try_catch.exp: Run the test to the above marker,
4597 then verify that the value of "test" is still true.
4598
6d74da72
AB
45992020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4600
4601 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4602
2e52d038
AB
46032020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4604
4605 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4606
3b9fce96
AB
46072020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4608
4609 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4610 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4611 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4612 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4613 * gdb.arch/riscv-tdesc-loading.exp: New file.
4614
ed69cbc8
AB
46152020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4616
4617 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4618
767a879e
AB
46192020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4620
4621 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4622 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4623 * gdb.arch/riscv-tdesc-regs.c: New file.
4624 * gdb.arch/riscv-tdesc-regs.exp: New file.
4625
221db974
PA
46262020-06-24 Pedro Alves <palves@redhat.com>
4627
4628 * gdb.arch/amd64-entry-value-paramref.exp: Use
4629 prepare_for_testing_full and don't pass "c++" for the .S file
4630 build spec.
4631 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4632 $options, since it's an assembly file. Remove -Wno-deprecated.
4633 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4634 compiling C++ programs.
4635
331733cd
PA
46362020-06-24 Pedro Alves <palves@redhat.com>
4637
4638 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4639 Clang, add "-Wno-unknown-warning-option" to the options.
4640
caa7fd04
AB
46412020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4642
4643 * gdb.xml/tdesc-reload.c: New file.
4644 * gdb.xml/tdesc-reload.exp: New file.
4645 * gdb.xml/maint-xml-dump-01.xml: New file.
4646 * gdb.xml/maint-xml-dump-02.xml: New file.
4647 * gdb.xml/maint-xml-dump.exp: New file.
4648
bb8d1260
SL
46492020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4650
4651 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4652 Adjust for omitted commands when TUI is disabled.
4653
7e4b9c4c
GB
46542020-06-23 Gary Benson <gbenson@redhat.com>
4655 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4658 * gdb.cp/nsimport.cc: Likewise.
4659 * gdb.cp/nsnested.cc: Likewise.
4660 * gdb.cp/nsnoimports.cc: Likewise.
4661 * gdb.cp/nsusing.cc: Likewise.
4662 * gdb.cp/smartp.cc: Likewise.
4663 * gdb.python/py-pp-integral.c: Likewise.
4664 * gdb.python/py-pp-re-notag.c: Likewise.
4665
2e573c0a
GB
46662020-06-23 Gary Benson <gbenson@redhat.com>
4667
4668 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4669 * gdb.cp/nsimport.cc: Likewise.
4670 * gdb.cp/nsnested.cc: Likewise.
4671 * gdb.cp/nsnoimports.cc: Likewise.
4672 * gdb.cp/nsusing.cc: Likewise.
4673 * gdb.cp/smartp.cc: Likewise.
4674 * gdb.python/py-pp-integral.c: Likewise.
4675 * gdb.python/py-pp-re-notag.c: Likewise.
4676
746ebfe8
PW
46772020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4678
4679 * gdb.base/default-args.exp: New test.
4680 * gdb.base/default-args.c: New file.
4681 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4682 * gdb.base/default.exp: Update to new help text.
4683 * gdb.base/help.exp: Likewise.
4684 * gdb.base/page.exp: Likewise.
4685 * gdb.base/style.exp: Likewise.
4686 * gdb.guile/guile.exp: Likewise.
4687 * gdb.python/python.exp: Likewise.
4688
e822f2cd
SL
46892020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4690
4691 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4692 remote host. Fix search path syntax on Windows host.
4693
48e9cc84
PW
46942020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4695
4696 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4697 over 'exec-file-mismatch'.
4698 * gdb.base/attach.c: Mark should_exit volatile.
4699 * gdb.base/attach2.c: Likewise. Add a comment explaining
4700 why the sleep cannot be big.
4701 * gdb.base/attach3.c: New file.
4702
160f8a8f
SL
47032020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4704
4705 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4706 prefix optional.
4707
4d91c2a4
SL
47082020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4709
4710 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4711 for remote host.
4712
87f83f20
SL
47132020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4714 Hafiz Abid Qadeer <abidh@codesourcery.com>
4715
4716 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4717 file sent to remote host.
4718 (top level): Allow int32_t as type of 32-bit register.
4719
37ab8655
TV
47202020-06-19 Tom de Vries <tdevries@suse.de>
4721
4722 * lib/gdb.exp (gdb_note): New proc.
4723 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4724 (gdb_default_target_compile): ... here. Only call
4725 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4726 (use_gdb_compile): Change to array.
4727 (toplevel): Update sets of use_gdb_compile to specify language.
4728 Warn about default_target_compile override. Store dejagnu's version
4729 of default_target_compile in dejagnu_default_target_compile.
4730
a8a56685
TV
47312020-06-18 Tom de Vries <tdevries@suse.de>
4732
4733 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4734 (default_gdb_init): ... here.
4735
581bea2c
SL
47362020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4737
4738 Fix TUI support checks in gdb.tui tests.
4739
4740 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4741 just say UNSUPPORTED.
4742 * gdb.tui/corefile-run.exp: Likewise.
4743 * gdb.tui/empty.exp: Likewise.
4744 * gdb.tui/list-before.exp: Likewise.
4745 * gdb.tui/list.exp: Likewise.
4746 * gdb.tui/main.exp: Likewise.
4747 * gdb.tui/regs.exp: Likewise.
4748 * gdb.tui/resize.exp: Likewise.
4749 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4750 * gdb.tui/tui-layout-asm.exp: Likewise.
4751 * gdb.tui/tui-missing-src.exp: Likewise.
4752 * gdb.tui/winheight.exp: Likewise.
4753 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4754
05e682e3
SL
47552020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4756
4757 Fix TCL error in gdb.python/py-format-string.exp.
4758
4759 * gdb.python/py-format-string.exp: Move test for python support
4760 earlier, out of function body.
4761
efb763a5
SM
47622020-06-15 Simon Marchi <simon.marchi@efficios.com>
4763
4764 * gdb.base/index-cache-load-twice.c: New.
4765 * gdb.base/index-cache-load-twice.exp: New.
4766
43327b20
KS
47672020-06-17 Keith Seitz <keiths@redhat.com>
4768
99cf27cf 4769 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
4770 when executing "gdb --configuration".
4771
081e778c
TV
47722020-06-17 Tom de Vries <tdevries@suse.de>
4773
4774 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4775 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4776 conditional on presence of gdb_tcl_unknown.
4777 (gdb_finish): Make override undo conditional on presence of
4778 gdb_tcl_unknown.
4779
d2d1ea20
TT
47802020-06-16 Tom Tromey <tom@tromey.com>
4781
4782 * gdb.python/tui-window.py (failwin): New function. Register it
4783 as a TUI window type.
4784 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4785
c802e8a7
GB
47862020-06-16 Gary Benson <gbenson@redhat.com>
4787
4788 * gdb.python/py-nested-maps.c (create_map): Add missing return
4789 value.
4790 (create_map_map): Likewise.
4791
ff08abb8
TBA
47922020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4793
4794 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4795 variable.
4796 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4797 and use the already-defined 'options' variable.
4798
a29d5112
AB
47992020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4800 Tom de Vries <tdevries@suse.de>
4801
4802 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4803 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4804 (gdb_setup_known_globals): New proc.
4805 (gdb_cleanup_globals): New proc.
4806 * lib/gdb.exp (load_lib): New override proc.
4807 (gdb_stdin_log_init): Set var in_file as persistent global.
4808 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4809 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4810 fpc_compiler as persistent global.
4811
8c74a764
TV
48122020-06-12 Tom de Vries <tdevries@suse.de>
4813
4814 * lib/tuiterm.exp (spawn): Rename to ...
4815 (tui_spawn): ... this.
4816 (toplevel): Move rename of spawn ...
4817 (gdb_init_tuiterm): ... here. New proc.
4818 (gdb_finish_tuiterm): New proc.
4819 * lib/gdb.exp (gdb_finish_hooks): New global var.
4820 (gdb_finish): Handle gdb_finish_hooks.
4821 (tuiterm_env): New proc.
4822 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4823 tuiterm_env.
4824 * gdb.tui/basic.exp: Same.
4825 * gdb.tui/corefile-run.exp: Same.
4826 * gdb.tui/empty.exp: Same.
4827 * gdb.tui/list-before.exp: Same.
4828 * gdb.tui/list.exp: Same.
4829 * gdb.tui/main.exp: Same.
4830 * gdb.tui/new-layout.exp: Same.
4831 * gdb.tui/regs.exp: Same.
4832 * gdb.tui/resize.exp: Same.
4833 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4834 * gdb.tui/tui-layout-asm.exp: Same.
4835 * gdb.tui/tui-missing-src.exp: Same.
4836 * gdb.tui/winheight.exp: Same.
4837
26783bce
TV
48382020-06-12 Tom de Vries <tdevries@suse.de>
4839
4840 PR testsuite/26110
4841 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4842 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4843
2b4e6a3f
TT
48442020-06-11 Tom Tromey <tom@tromey.com>
4845
4846 PR gdb/18318:
4847 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4848 floating point tests.
4849
2f33032a
KS
48502020-06-11 Keith Seitz <keiths@redhat.com>
4851
4852 PR gdb/21356
4853 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4854 vla_struct.
4855 Add new struct vla_typedef and union vla_typedef_union and
4856 corresponding instantiation objects.
4857 Initialize new objects.
4858 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4859 and vla_typedef_union_object.
4860 Fixup type for vla_struct_object.
4861
a8baf0a3
TV
48622020-06-11 Tom de Vries <tdevries@suse.de>
4863
4864 * lib/gdb.exp (with_override): New proc, factored out of ...
4865 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4866
7ab96794
TV
48672020-06-10 Tom de Vries <tdevries@suse.de>
4868
4869 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4870
cab5c3b7
SM
48712020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4872
4873 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4874 parameter, update callers.
4875
f8c41851
SM
48762020-06-04 Simon Marchi <simon.marchi@efficios.com>
4877
4878 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4879 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4880 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4881
1c07a73f
TV
48822020-06-04 Tom de Vries <tdevries@suse.de>
4883
4884 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4885
95146b5d
TV
48862020-06-04 Tom de Vries <tdevries@suse.de>
4887
4888 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4889 exp_continue.
4890
0cfcd4f0
TV
48912020-06-04 Tom de Vries <tdevries@suse.de>
4892
4893 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4894
f9b5d5ea
TV
48952020-06-03 Tom de Vries <tdevries@suse.de>
4896
4897 PR symtab/26046
4898 * gdb.cp/breakpoint-locs-2.cc: New test.
4899 * gdb.cp/breakpoint-locs.cc: New test.
4900 * gdb.cp/breakpoint-locs.exp: New file.
4901 * gdb.cp/breakpoint-locs.h: New test.
4902
5144dfba
TV
49032020-06-03 Tom de Vries <tdevries@suse.de>
4904
4905 PR testsuite/25609
4906 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4907 value of global verbose.
4908 * gdb.base/jit-elf.exp: Same.
4909 * gdb.base/jit-reader.exp: Same.
4910
621eacdf
TV
49112020-06-02 Tom de Vries <tdevries@suse.de>
4912
4913 * gdb.dwarf2/multidictionary.exp: Don't use
4914 gdb_spawn_with_cmdline_opts.
4915
1313c56e
AB
49162020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4917
4918 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4919 use_header case.
4920 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4921 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4922 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4923 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4924 * gdb.dwarf2/dw2-inline-header.c: New file.
4925 * gdb.dwarf2/dw2-inline-header.h: New file.
4926
f68f85b5
PA
49272020-05-30 Pedro Alves <palves@redhat.com>
4928
4929 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4930 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4931
678048e8
GB
49322020-05-29 Gary Benson <gbenson@redhat.com>
4933
4934 * gdb.compile/compile-cplus.exp (additional_flags): Also
4935 set when building with clang.
4936 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4937 when building with clang.
4938
9fcafd23
GB
49392020-05-29 Gary Benson <gbenson@redhat.com>
4940
4941 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4942 building with clang.
4943 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4944
735d5a07
GB
49452020-05-29 Gary Benson <gbenson@redhat.com>
4946
4947 * gdb.cp/koenig.exp (prepare_for_testing): Add
4948 additional_flags=-Wno-unused-comparison.
4949 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4950
4ad2c6a0
GB
49512020-05-28 Gary Benson <gbenson@redhat.com>
4952
4953 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4954 statement.
4955
09fe663e
GB
49562020-05-28 Gary Benson <gbenson@redhat.com>
4957
4958 * gdb.cp/classes.exp (prepare_for_testing): Add
4959 additional_flags=-Wno-deprecated-register.
4960 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4961 * gdb.cp/misc.exp: Likewise.
4962
cee00f17
GB
49632020-05-28 Gary Benson <gbenson@redhat.com>
4964
4965 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4966 (test_op_new::operator new): Add return statement.
4967 (test_op_new_array::operator new[]): Likewise.
4968
636edd00
PA
49692020-05-27 Pedro Alves <palves@redhat.com>
4970
4971 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4972 check. Use test_gdb_complete_unique instead of
4973 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4974 test_gdb_complete_multiple instead of
4975 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4976
c2b75043
LM
49772020-05-27 Luis Machado <luis.machado@linaro.org>
4978
4979 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4980 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4981 * gdb.arch/arm-disassembler-options.exp: Likewise.
4982 * gdb.arch/arm-disp-step.exp: Likewise.
4983 * gdb.arch/thumb-prologue.exp: Likewise.
4984 * gdb.base/async.exp: Likewise.
4985 * gdb.base/auxv.exp: Likewise.
4986 * gdb.base/complex-parts.exp: Likewise.
4987 * gdb.base/ena-dis-br.exp: Likewise.
4988 * gdb.base/foll-exec.exp: Likewise.
4989 * gdb.base/permissions.exp: Likewise.
4990 * gdb.base/relocate.exp: Likewise.
4991 * gdb.base/return2.exp: Likewise.
4992 * gdb.base/sigbpt.exp: Likewise.
4993 * gdb.base/siginfo-obj.exp: Likewise.
4994 * gdb.cp/converts.exp: Likewise.
4995 * gdb.cp/exceptprint.exp: Likewise.
4996 * gdb.cp/inherit.exp: Likewise.
4997 * gdb.cp/nsnoimports.exp: Likewise.
4998 * gdb.cp/virtbase2.exp: Likewise.
4999 * gdb.mi/mi-var-cmd.exp: Likewise.
5000 * gdb.mi/var-cmd.c: Likewise.
5001
53a47a3e
TT
50022020-05-26 Tom Tromey <tromey@adacore.com>
5003
5004 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
5005
0bc2354b
TT
50062020-05-26 Tom Tromey <tromey@adacore.com>
5007
5008 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
5009 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
5010 type.
5011 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
5012 variable.
5013
0db49895
CBG
50142020-05-26 Christian Biesinger <cbiesinger@google.com>
5015
5016 * Makefile.in: Use = instead of == for the test command
5017 for portability.
5018
40d22035
TV
50192020-05-26 Tom de Vries <tdevries@suse.de>
5020
5021 * gdb.base/gold-gdb-index-2.c: New test.
5022 * gdb.base/gold-gdb-index.c: New test.
5023 * gdb.base/gold-gdb-index.exp: New file.
5024 * gdb.base/gold-gdb-index.h: New test.
5025
043e2e02
TV
50262020-05-25 Tom de Vries <tdevries@suse.de>
5027
5028 * boards/gold-gdb-index.exp: New file.
5029
462f72c5
SM
50302020-05-25 Simon Marchi <simon.marchi@efficios.com>
5031
5032 * boards/simavr.exp: New file.
5033
6cf66e76
SM
50342020-05-25 Simon Marchi <simon.marchi@efficios.com>
5035
5036 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
5037 * gdb.base/inferior-args.exp: New file.
5038 * gdb.base/inferior-args.c: New file.
5039
75d04512
SM
50402020-05-25 Simon Marchi <simon.marchi@efficios.com>
5041
5042 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
5043 inferior_args. Pass it to gdb_reload.
5044 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
5045 inferior_args.
5046 (gdb_reload): Add inferior_args argument.
5047 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
5048 pass it to gdbserver_run.
5049 * boards/native-gdbserver.exp: Do not set noargs.
5050 * boards/native-extended-gdbserver.exp (gdb_reload): Add
5051 inferior_args argument.
5052 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
5053 * gdb.base/a2-run.exp: Check for use_gdb_stub.
5054 * gdb.base/args.exp: Likewise.
5055
42cf1844
TV
50562020-05-25 Tom de Vries <tdevries@suse.de>
5057
5058 * lib/gdb.exp (exec_is_pie): Add comment.
5059
8f7d38ef
TV
50602020-05-25 Tom de Vries <tdevries@suse.de>
5061
5062 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
5063 instead of $binfile in the untested message.
5064
465e1b0f
TV
50652020-05-25 Tom de Vries <tdevries@suse.de>
5066
5067 PR testsuite/26031
5068 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
5069
3c5a0e02
TV
50702020-05-25 Tom de Vries <tdevries@suse.de>
5071
5072 * boards/gold.exp: New file.
5073
0a4f5f8c
TT
50742020-05-23 Tom Tromey <tom@tromey.com>
5075
5076 * gdb.base/style.exp: Remove completion styling test.
5077 * lib/gdb-utils.exp (style): Remove completion styles.
5078
eca1f90c
TT
50792020-05-23 Tom Tromey <tom@tromey.com>
5080
5081 * gdb.base/style.exp: Add completion styling test.
5082 * lib/gdb-utils.exp (style): Add completion styles.
5083
7c13f4e8
AB
50842020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
5085
5086 * gdb.base/annota1.exp: Update expected results.
5087 * gdb.cp/annota2.exp: Update expected results, remove duplicate
5088 test name.
5089 * gdb.cp/annota3.exp: Update expected results.
5090
41977d16
SM
50912020-05-20 Simon Marchi <simon.marchi@efficios.com>
5092
5093 PR gdb/26016
5094 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
5095 against MAP_FAILED.
5096 * gdb.base/coremaker.c (mmapdata): Likewise.
5097 * gdb.base/jit-reader-host.c (main): Likewise.
5098 * gdb.base/sym-file-loader.c (load): Likewise.
5099 (load_shlib): Likewise.
5100
b4757f2e
TT
51012020-05-20 Tom Tromey <tromey@adacore.com>
5102
5103 * gdb.ada/array_char_idx.exp: Recognize initialized array.
5104
9a0bacfb
TV
51052020-05-20 Tom de Vries <tdevries@suse.de>
5106
5107 PR symtab/25833
5108 * gdb.base/with-mf-inc.c: New test.
5109 * gdb.base/with-mf-main.c: New test.
5110 * gdb.base/with-mf.exp: New file.
5111
76571211
TT
51122020-05-19 Tom Tromey <tromey@adacore.com>
5113
5114 * gdb.rust/simple.exp: Restore missing test result.
5115
4cd9f3d5
TV
51162020-05-19 Tom de Vries <tdevries@suse.de>
5117
5118 * gdb.base/gdb-caching-proc.exp: Fix typo.
5119
7d874253
TT
51202020-05-19 Tom Tromey <tromey@adacore.com>
5121
5122 * gdb.rust/simple.exp: Add some test descriptions.
5123 (test_one_slice): Use with_test_prefix.
5124
1d727695
TV
51252020-05-18 Tom de Vries <tdevries@suse.de>
5126
5127 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
5128
7f32a4d5
PA
51292020-05-17 Pedro Alves <palves@redhat.com>
5130
5131 PR gdb/25741
5132 * gdb.base/hw-sw-break-same-address.exp: New file.
5133
7cfd74cf
PA
51342020-05-16 Pedro Alves <palves@redhat.com>
5135
5136 * gdb.multi/multi-re-run.exp (test_re_run): Switch
5137 LAST_LOADED_FILE accordingly.
5138
57b4f16e
PW
51392020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5140
5141 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
5142
7c05caf7
PW
51432020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5144
5145 * gdb.base/help.exp: Test apropos and help for commands
5146 having aliases. Fixed comments not starting with an
5147 upper-case letter or not finishing with a dot.
5148
7aa1b46f
PW
51492020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5150
3b3aaacb
PW
5151 * gdb.base/alias.exp: Update help output check.
5152
57b4f16e 51532020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 5154
7aa1b46f
PW
5155 * gdb.base/default.exp: Update output following fixes.
5156
0605465f
PW
51572020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5158
5159 * gdb.base/alias.exp: Test aliases starting with a prefix of
5160 another alias.
5161
86e4e63d
GB
51622020-05-15 Gary Benson <gbenson@redhat.com>
5163
5164 * gdb.base/info-os.c (main): Add return statement.
5165 * gdb.base/info_minsym.c (minsym_fun): Likewise.
5166 * gdb.base/large-frame-2.c (func): Likewise.
5167 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
5168 * gdb.base/pr10179-b.c (foo2): Likewise.
5169 * gdb.base/valgrind-disp-step.c (foo): Likewise.
5170 * gdb.base/watch-cond.c (func): Likewise.
5171 * gdb.multi/goodbye.c (verylongfun): Likewise.
5172 * gdb.multi/hello.c (commonfun): Likewise.
5173 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
5174 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
5175 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5176 Likewise.
5177 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
5178 * gdb.threads/interrupt-while-step-over.c (child_function):
5179 Likewise.
5180 * gdb.trace/actions-changed.c (end): Likewise.
5181
163df4df
GB
51822020-05-15 Gary Benson <gbenson@redhat.com>
5183
5184 * gdb.opencl/callfuncs.exp: Report when test skipped.
5185 * gdb.opencl/convs_casts.exp: Likewise.
5186 * gdb.opencl/datatypes.exp: Likewise.
5187 * gdb.opencl/operators.exp: Likewise.
5188 * gdb.opencl/vec_comps.exp: Likewise.
5189
6dbc505a
TV
51902020-05-15 Tom de Vries <tdevries@suse.de>
5191
5192 * gdb.base/align.exp.in: Rename to ...
5193 * gdb.base/align.exp.tcl: ... this.
5194 * gdb.base/align-c++.exp: Update.
5195 * gdb.base/align-c.exp: Update.
5196 * gdb.base/all-architectures.exp.in: Rename to ...
5197 * gdb.base/all-architectures.exp: ... this.
5198 * gdb.base/all-architectures-0.exp: Update.
5199 * gdb.base/all-architectures-1.exp: Update.
5200 * gdb.base/all-architectures-2.exp: Update.
5201 * gdb.base/all-architectures-3.exp: Update.
5202 * gdb.base/all-architectures-4.exp: Update.
5203 * gdb.base/all-architectures-5.exp: Update.
5204 * gdb.base/all-architectures-6.exp: Update.
5205 * gdb.base/all-architectures-7.exp: Update.
5206 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
5207 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
5208 * gdb.base/infcall-nested-structs-c++.exp: Update.
5209 * gdb.base/infcall-nested-structs-c.exp: Update.
5210 * gdb.base/info-types.exp.in: Rename to ...
5211 * gdb.base/info-types.exp.tcl: ... this.
5212 * gdb.base/info-types-c++.exp: Update.
5213 * gdb.base/info-types-c.exp: Update.
5214 * gdb.base/max-depth.exp.in: Rename to ...
5215 * gdb.base/max-depth.exp.tcl: ... this.
5216 * gdb.base/max-depth-c++.exp: Update.
5217 * gdb.base/max-depth-c.exp: Update.
5218 * gdb.cp/cpexprs.exp.in: Rename to ...
5219 * gdb.cp/cpexprs.exp.tcl: ... this.
5220 * gdb.cp/cpexprs-debug-types.exp: Update.
5221 * gdb.cp/cpexprs.exp: Update.
5222 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
5223 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
5224 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
5225 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
5226 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
5227 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
5228 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
5229 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
5230 * gdb.dwarf2/clang-debug-names-2.exp: Update.
5231 * gdb.dwarf2/clang-debug-names.exp: Update.
5232
d1034d78
AB
52332020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
5234
5235 * lib/check-test-names.exp: Remove code that prevents this file
5236 loading when tests are run in parallel.
5237
3c5c3649
PA
52382020-05-15 Pedro Alves <palves@redhat.com>
5239
5240 * gdb.multi/multi-kill.exp (start_inferior): Remove
5241 'testpid' parameter. Refer to namespace variable directly.
5242 (testpid): Declare as namespace variable.
5243
272c36b8
PA
52442020-05-15 Pedro Alves <palves@redhat.com>
5245
5246 * gdb.multi/multi-kill.exp: Wrap in namespace.
5247 (start_inferior): Add TESTPID parameter. Use it instead of the
5248 testpid global.
5249 (top level): Define empty TESTPID array, and pass it down to
5250 start_inferior.
5251
02eba61a
TV
52522020-05-14 Tom de Vries <tdevries@suse.de>
5253
5254 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
5255 output.
5256
971a3747
TV
52572020-05-14 Tom de Vries <tdevries@suse.de>
5258
5259 * gdb.base/align.exp: Split into ...
5260 * gdb.base/align.exp.in: ...
5261 * gdb.base/align-c++.exp: ...
5262 * gdb.base/align-c.exp: ... these.
5263 * gdb.base/infcall-nested-structs.exp: Split into ...
5264 * gdb.base/infcall-nested-structs.exp.in: ...
5265 * gdb.base/infcall-nested-structs-c++.exp: ...
5266 * gdb.base/infcall-nested-structs-c.exp: ... these.
5267 * gdb.base/info-types.exp: Split into ...
5268 * gdb.base/info-types.exp.in: ...
5269 * gdb.base/info-types-c++.exp: ...
5270 * gdb.base/info-types-c.exp: ... these.
5271 * gdb.base/max-depth.exp: Split into ...
5272 * gdb.base/max-depth.exp.in: ...
5273 * gdb.base/max-depth-c++.exp: ...
5274 * gdb.base/max-depth-c.exp: ... these.
5275 * gdb.cp/infcall-nodebug.exp: Split into ...
5276 * gdb.cp/infcall-nodebug.exp.in: ...
5277 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
5278 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
5279 * gdb.cp/infcall-nodebug-c-d0.exp: ...
5280 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
5281
a05575d3
TBA
52822020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5283 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.multi/multi-exit.c: New file.
5286 * gdb.multi/multi-exit.exp: New file.
5287 * gdb.multi/multi-kill.c: New file.
5288 * gdb.multi/multi-kill.exp: New file.
5289
6ad82919
TBA
52902020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5291
5292 * gdb.base/annota1.exp: Update the expected output.
5293 * gdb.cp/annota2.exp: Ditto.
5294
843f4d93
AB
52952020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
5296
5297 * lib/check-test-names.exp: Disable when testing is being run in
5298 parallel.
5299
c7c66341
TV
53002020-05-12 Tom de Vries <tdevries@suse.de>
5301
5302 * gdb.base/jit-elf.exp: Fix string concat.
5303
1b59ca1c
TV
53042020-05-12 Tom de Vries <tdevries@suse.de>
5305
5306 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
5307 messages.
5308
b4991d29
TV
53092020-05-12 Tom de Vries <tdevries@suse.de>
5310
5311 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
5312
dbb0ab10
TV
53132020-05-12 Tom de Vries <tdevries@suse.de>
5314
5315 * gdb.ada/catch_ex.exp: Use with_test_prefix.
5316 * gdb.ada/mi_catch_ex.exp: Same.
5317 * gdb.ada/mi_catch_ex_hand.exp: Same.
5318
7549fed8
TV
53192020-05-12 Tom de Vries <tdevries@suse.de>
5320
5321 * gdb.fortran/complex.exp: Use with_test_prefix.
5322
af2d5cd8
TV
53232020-05-12 Tom de Vries <tdevries@suse.de>
5324
5325 * gdb.trace/passcount.exp: Fix test-names.
5326
7c121311
TV
53272020-05-12 Tom de Vries <tdevries@suse.de>
5328
5329 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
5330
c9f3b40e
TV
53312020-05-12 Tom de Vries <tdevries@suse.de>
5332
5333 * gdb.gdb/complaints.exp: Use with_test_prefix.
5334 * gdb.xml/tdesc-regs.exp: Same.
5335 * gdb.opt/inline-locals.exp: Fix test name.
5336
111b33f0
TV
53372020-05-12 Tom de Vries <tdevries@suse.de>
5338
5339 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
5340 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
5341 * gdb.dwarf2/implref-struct.exp: Same.
5342 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
5343 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
5344
ebf47080
SM
53452020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
5346
5347 * gdb.base/jit-so.exp (one_jit_test): Change test name.
5348
d30dcd12
AB
53492020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
5350
5351 * lib/check-test-names.exp (all_test_names): New module variable.
5352 (counts): Add 'duplicates' field.
5353 (_check_duplicates): New procedure.
5354 (check): Also check for duplicates.
5355 (do_log_summary): Print duplicates count.
5356 (do_reset_vars): Reset counter for duplicate test names, and
5357 discard all know test names.
5358
34584c09
AB
53592020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
5360
5361 * lib/gdb.exp: Include check-test-names.exp library.
5362 * lib/check-test-names.exp: New file.
5363
e0002117
TV
53642020-05-11 Tom de Vries <tdevries@suse.de>
5365
5366 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
5367
53f539a3
KS
53682020-05-11 Keith Seitz <keiths@redhat.com>
5369
5370 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
5371
113ee09a
TV
53722020-05-11 Tom de Vries <tdevries@suse.de>
5373
5374 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
5375 * gdb.cp/cpexprs.exp.in: .. here.
5376 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
5377 cpexprs.exp.
5378
ba3e70b0
KS
53792020-05-11 Keith Seitz <keiths@redhat.com>
5380
5381 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
5382 test names.
5383 * gdb.ada/arrayptr.exp: Likewise.
5384 * gdb.ada/assign_arr.exp: Likewise.
5385 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
5386 * gdb.ada/bp_on_var.exp: Likewise.
5387 * gdb.ada/call_pn.exp: Likewise.
5388 * gdb.ada/complete.exp: Likewise.
5389 * gdb.ada/fun_overload_menu.exp: Likewise.
5390 * gdb.ada/funcall_param.exp: Likewise.
5391 * gdb.ada/funcall_ref.exp: Likewise.
5392 * gdb.ada/packed_array_assign.exp: Likewise.
5393 * gdb.ada/same_component_name.exp: Likewise.
5394 * gdb.ada/type_coercion.exp: Likewise.
5395 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
5396 * gdb.ada/variant_record_packed_array.exp: Likewise.
5397
3ee6bb11
TV
53982020-05-11 Tom de Vries <tdevries@suse.de>
5399
5400 PR symtab/25941
5401 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
5402 out of ...
5403 * gdb.dwarf2/clang-debug-names.exp: ... here.
5404 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
5405 clang-debug-names.exp.in.
5406 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
5407 * gdb.dwarf2/clang-debug-names-2.c: New test.
5408
86cd6bc8
AKS
54092020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5410
5411 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
5412 (fortran_runto_main): New Proc, fortran version of runto_main.
5413 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
5414 * gdb.fortran/array-bounds.exp: Likewise.
5415 * gdb.fortran/array-slices.exp: Likewise.
5416 * gdb.fortran/block-data.exp: Likewise.
5417 * gdb.fortran/charset.exp: Likewise.
5418 * gdb.fortran/common-block.exp: Likewise.
5419 * gdb.fortran/complex.exp: Likewise.
5420 * gdb.fortran/derived-type-function.exp: Likewise.
5421 * gdb.fortran/derived-type.exp: Likewise.
5422 * gdb.fortran/info-modules.exp: Likewise.
5423 * gdb.fortran/info-types.exp: Likewise.
5424 * gdb.fortran/intrinsics.exp: Likewise.
5425 * gdb.fortran/library-module.exp: Likewise.
5426 * gdb.fortran/logical.exp: Likewise.
5427 * gdb.fortran/max-depth.exp: Likewise.
5428 * gdb.fortran/module.exp: Likewise.
5429 * gdb.fortran/multi-dim.exp: Likewise.
5430 * gdb.fortran/nested-funcs.exp: Likewise.
5431 * gdb.fortran/print-formatted.exp: Likewise.
5432 * gdb.fortran/print_type.exp: Likewise.
5433 * gdb.fortran/printing-types.exp: Likewise.
5434 * gdb.fortran/ptr-indentation.exp: Likewise.
5435 * gdb.fortran/ptype-on-functions.exp: Likewise.
5436 * gdb.fortran/subarray.exp: Likewise.
5437 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
5438 * gdb.fortran/vla-datatypes.exp: Likewise.
5439 * gdb.fortran/vla-history.exp: Likewise.
5440 * gdb.fortran/vla-ptr-info.exp: Likewise.
5441 * gdb.fortran/vla-ptype-sub.exp: Likewise.
5442 * gdb.fortran/vla-ptype.exp: Likewise.
5443 * gdb.fortran/vla-sizeof.exp: Likewise.
5444 * gdb.fortran/vla-type.exp: Likewise.
5445 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
5446 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
5447 * gdb.fortran/vla-value-sub.exp: Likewise.
5448 * gdb.fortran/vla-value.exp: Likewise.
5449 * gdb.fortran/whatis_type.exp: Likewise.
5450 * gdb.mi/mi-var-child-f.exp: Likewise.
5451
6dc55ce9 54522020-05-09 Tom de Vries <tdevries@suse.de>
5453
5454 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
5455
283cb58c
TV
54562020-05-08 Tom de Vries <tdevries@suse.de>
5457
5458 * gdb.dwarf2/clang-debug-names.c: New test.
5459 * gdb.dwarf2/clang-debug-names.exp: New file.
5460
ac4a4f1c
SM
54612020-05-06 Simon Marchi <simon.marchi@efficios.com>
5462
5463 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
5464 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
5465
24fe640b
TV
54662020-05-06 Tom de Vries <tdevries@suse.de>
5467
5468 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
5469 breakpoint is at a "recommended breakpoint location".
5470 * gdb.reverse/consecutive-reverse.exp: Same.
5471
0d8683a3
TV
54722020-05-06 Tom de Vries <tdevries@suse.de>
5473
5474 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
5475 address.
5476
b8983c46
TV
54772020-05-06 Tom de Vries <tdevries@suse.de>
5478
5479 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
5480
abf6d805
TV
54812020-05-06 Tom de Vries <tdevries@suse.de>
5482
5483 * gdb.base/store.exp (check_set, up_set): Allowing missing location
5484 info for r.
5485
0fc2a808
TV
54862020-05-06 Tom de Vries <tdevries@suse.de>
5487
5488 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
5489 necessary.
5490
873dd427
TV
54912020-05-06 Tom de Vries <tdevries@suse.de>
5492
5493 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
5494 void.
5495
7c99e7e2
TV
54962020-05-06 Tom de Vries <tdevries@suse.de>
5497
5498 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
5499 of ...
5500 * gdb.base/async.exp: ... here.
5501 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
5502 "recommended breakpoint location".
5503
6173d6a6
TV
55042020-05-06 Tom de Vries <tdevries@suse.de>
5505
5506 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
5507
6015a067
TV
55082020-05-04 Tom de Vries <tdevries@suse.de>
5509
5510 * gdb.base/async.exp: Check whether instruction addresses are a
5511 "recommended breakpoint location".
5512
3b6acaee
TT
55132020-05-03 Tom Tromey <tom@tromey.com>
5514
5515 * gdb.base/sepdebug.exp: Remove "catch" test.
5516 * gdb.base/break.exp: Remove "catch" test.
5517 * gdb.base/default.exp: Update expected output.
5518
5beb4d17
TV
55192020-05-02 Tom de Vries <tdevries@suse.de>
5520
5521 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
5522 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
5523 * gdb.arch/i386-mpx-map.exp: Same.
5524 * gdb.arch/i386-mpx-sigsegv.exp: Same.
5525 * gdb.arch/i386-mpx-simple_segv.exp: Same.
5526 * gdb.arch/i386-mpx.exp: Same.
5527
8caf140d
TV
55282020-05-02 Tom de Vries <tdevries@suse.de>
5529
5530 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
5531
693196cb
TV
55322020-05-01 Tom de Vries <tdevries@suse.de>
5533
5534 * gdb.ada/operator_bp.exp: Allow more than required amount of
5535 breakpoint.
5536
53ae0aa9
TV
55372020-05-01 Tom de Vries <tdevries@suse.de>
5538
5539 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
5540
ee9d1e5f
HD
55412020-04-30 Hannes Domani <ssbssa@yahoo.de>
5542
5543 PR gdb/18706
5544 * gdb.cp/stub-array-size.cc: New test.
5545 * gdb.cp/stub-array-size.exp: New file.
5546 * gdb.cp/stub-array-size.h: New test.
5547 * gdb.cp/stub-array-size2.cc: New test.
5548
d5cf82c0
HD
55492020-04-30 Hannes Domani <ssbssa@yahoo.de>
5550
5551 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
5552 output to the new format.
5553
42e165c3
SM
55542020-04-29 Simon Marchi <simon.marchi@efficios.com>
5555
5556 * gdb.base/break.exp: Use with_test_prefix.
5557
6e4e3fe1
TV
55582020-04-29 Tom de Vries <tdevries@suse.de>
5559
5560 * lib/gdb.exp (debug_types): New proc.
5561 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
5562 * gdb.python/py-symtab.exp: Same.
5563
d642b692
HD
55642020-04-29 Hannes Domani <ssbssa@yahoo.de>
5565
5566 PR gdb/17320
5567 * gdb.base/pretty-array.c: New test.
5568 * gdb.base/pretty-array.exp: New file.
5569
ea90f227
TV
55702020-04-29 Tom de Vries <tdevries@suse.de>
5571
5572 PR symtab/25889
5573 * gdb.cp/cpexprs.exp: Adapt for inclusion.
5574 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
5575 and include cpexprs.exp.
5576
a65189c9
TV
55772020-04-28 Mark Williams <mark@myosotissp.com>
5578
5579 PR gdb/24480
5580 * dw4-toplevel-types.exp: Test for top level types.
5581 * dw4-toplevel-types.cc: Test for top level types.
5582
32d1f47a
TBA
55832020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5584
5585 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5586 (theads -> threads).
5587
56a4f5a1
TV
55882020-04-28 Tom de Vries <tdevries@suse.de>
5589
5590 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5591
0b2f8a3b
TV
55922020-04-28 Tom de Vries <tdevries@suse.de>
5593
5594 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5595
5390c717
TV
55962020-04-28 Tom de Vries <tdevries@suse.de>
5597
5598 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5599
15cd93d0
TV
56002020-04-28 Tom de Vries <tdevries@suse.de>
5601
5602 * gdb.dwarf2/main-foo.c: New test.
5603 * gdb.dwarf2/struct-with-sig.exp: New file.
5604
d472f0fb
TV
56052020-04-25 Tom de Vries <tdevries@suse.de>
5606
5607 * boards/debug-types.exp: New file.
5608
8d840e05
AB
56092020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5610
5611 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5612
bcfe6157
TT
56132020-04-24 Tom Tromey <tom@tromey.com>
5614
5615 PR symtab/12707:
5616 * gdb.python/py-symbol.exp: Update expected results for
5617 linkage_name test.
5618 * gdb.cp/print-demangle.exp: New file.
5619 * gdb.base/c-linkage-name.exp: Fix test.
5620 * gdb.guile/scm-symbol.exp: Update expected results for
5621 linkage_name test.
5622
f049a313
TT
56232020-04-24 Tom Tromey <tom@tromey.com>
5624
5625 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5626 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5627 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5628 assembler.
5629
7cf28874
TV
56302020-04-24 Tom de Vries <tdevries@suse.de>
5631
5632 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5633 C++.
5634
dac2fef7
TT
56352020-04-24 Tom Tromey <tromey@adacore.com>
5636
5637 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5638 values.
5639 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5640 values. Update test for minimal encodings.
5641 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5642 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5643 values. Update test for minimal encodings.
5644
1acda803
TT
56452020-04-24 Tom Tromey <tromey@adacore.com>
5646
5647 PR python/23662:
5648 * gdb.ada/variant.exp: Add Python checks.
5649 * gdb.rust/simple.exp: Add dynamic type checks.
5650
adfb9815
TT
56512020-04-24 Tom Tromey <tromey@adacore.com>
5652
5653 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5654 Make array type matching more lax.
5655 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5656 * gdb.ada/mi_variant.exp: New file.
5657 * gdb.ada/mi_variant/pck.ads: New file.
5658 * gdb.ada/mi_variant/pkg.adb: New file.
5659 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5660 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5661
7d79de9a
TT
56622020-04-24 Tom Tromey <tromey@adacore.com>
5663
5664 * gdb.ada/variant.exp: Add dynamic field offset tests.
5665 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5666 * gdb.ada/variant/pkg.adb: Add new variables.
5667
f8e89861
TT
56682020-04-24 Tom Tromey <tromey@adacore.com>
5669
5670 * gdb.ada/variant.exp: New file
5671 * gdb.ada/variant/pkg.adb: New file
5672 * gdb.ada/variant/pck.adb: New file
5673
86e887ae
TV
56742020-04-24 Tom de Vries <tdevries@suse.de>
5675
5676 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5677
88428775
TV
56782020-04-24 Tom de Vries <tdevries@suse.de>
5679
5680 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5681 flags.
5682
4e86f6e7
TV
56832020-04-24 Tom de Vries <tdevries@suse.de>
5684
5685 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5686
2016d3e6
TV
56872020-04-24 Tom de Vries <tdevries@suse.de>
5688
5689 * lib/gdb.exp (default_gdb_start): Handle eof.
5690 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5691 failure.
5692 * gdb.base/readnever.exp: Handle clean_restart failure.
5693
70bc38f5
TV
56942020-04-23 Tom de Vries <tdevries@suse.de>
5695
5696 * gdb.base/decl-before-def.exp: Run to main and print a again.
5697
de82891c
TV
56982020-04-23 Tom de Vries <tdevries@suse.de>
5699
5700 * gdb.base/decl-before-def-decl.c: New test.
5701 * gdb.base/decl-before-def-def.c: New test.
5702 * gdb.base/decl-before-def.exp: New file.
5703
96038148
TV
57042020-04-23 Tom de Vries <tdevries@suse.de>
5705
5706 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5707
54ac3df1
TV
57082020-04-22 Tom de Vries <tdevries@suse.de>
5709
5710 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5711 debug_info_offset.
5712 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5713 before $objsfile in the line line.
5714
714534e1
TV
57152020-04-22 Tom de Vries <tdevries@suse.de>
5716
5717 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5718
16a7dbf4
MS
57192020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5720
5721 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5722 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5723 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5724 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5725 * gdb.base/jit-protocol.h: Update definitions to match all usage
5726 contexts.
5727
57282020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5729
5730 * gdb.base: Rename all jit related test and source files.
5731
57322020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5733
5734 * gdb.base/jit-reader.exp: Relax register output check.
5735
317d2668
TV
57362020-04-22 Tom de Vries <tdevries@suse.de>
5737
5738 PR symtab/25764
5739 * gdb.base/psym-external-decl-2.c: New test.
5740 * gdb.base/psym-external-decl.c: New test.
5741 * gdb.base/psym-external-decl.exp: New file.
5742 * gdb.threads/tls.exp: Add PR25807 kfail.
5743
eea9e357
TV
57442020-04-22 Tom de Vries <tdevries@suse.de>
5745
5746 PR symtab/25801
5747 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5748 in "info source" output.
5749
3d5afab3
TV
57502020-04-22 Tom de Vries <tdevries@suse.de>
5751
5752 PR symtab/25700
5753 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5754 symtab for imported_unit.c.
5755
b32102f6
GB
57562020-04-21 Gary Benson <gbenson@redhat.com>
5757
5758 * gdb.base/advance.c (func): New argument, to match call site.
5759 (func2, func3): Add return statements.
5760
d43b7a2d
TBA
57612020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5762
5763 * gdb.multi/run-only-second-inf.c: New file.
5764 * gdb.multi/run-only-second-inf.exp: New file.
5765
d89edf9b
MM
57662020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5767
5768 * gdb.btrace/multi-inferior.c: New test.
5769 * gdb.btrace/multi-inferior.exp: New file.
5770
1a476b6d
MM
57712020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5772
5773 * gdb.btrace/enable-new-thread.c: New test.
5774 * gdb.btrace/enable-new-thread.exp: New file.
5775
4778a5f8
TV
57762020-04-21 Tom de Vries <tdevries@suse.de>
5777
5778 PR gdb/25471
5779 * gdb.threads/killed-outside.c: New test.
5780 * gdb.threads/killed-outside.exp: New file.
5781
9b2c992c
GB
57822020-04-20 Gary Benson <gbenson@redhat.com>
5783
5784 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5785 * gdb.base/nested-subp2.exp: Likewise.
5786 * gdb.base/nested-subp3.exp: Likewise.
5787
b5d1d6f7
GB
57882020-04-20 Gary Benson <gbenson@redhat.com>
5789
5790 * gdb.base/nested-subp1.exp: Disable test when using clang.
5791 * gdb.base/nested-subp2.exp: Likewise.
5792 * gdb.base/nested-subp3.exp: Likewise.
5793
25230285
GB
57942020-04-20 Gary Benson <gbenson@redhat.com>
5795
5796 * gdb.cp/exception.cc: Fix compilation error with clang.
5797
fa93cc8f
GB
57982020-04-20 Gary Benson <gbenson@redhat.com>
5799
809730f3 5800 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 5801
e0c45f30
GB
58022020-04-20 Gary Benson <gbenson@redhat.com>
5803
5804 * gdb.base/jit-main.c: Fix compilation error with clang.
5805
4ddfec93
KR
58062020-04-17 Kamil Rytarowski <n54@gmx.com>
5807
5808 * gdb.base/attach-twice.c: Include "sys/types.h".
5809 (PTRACE_ATTACH): Add fallback definition.
5810 (main): Pass `0' to the 4th argument of `ptrace'.
5811
2bed205e
KR
58122020-04-17 Kamil Rytarowski <n54@gmx.com>
5813
5814 * gdb.base/fork-running-state.c: Include "signal.h".
5815
0743fc83
TT
58162020-04-17 Tom Tromey <tromey@adacore.com>
5817
5818 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5819 Update tests.
5820 * gdb.btrace/cpu.exp: Update tests.
5821 * gdb.base/maint.exp: Update tests.
5822 * gdb.base/default.exp: Update tests.
5823 * gdb.base/completion.exp: Update tests.
5824
efba5c23
TV
58252020-04-16 Tom de Vries <tdevries@suse.de>
5826
5827 PR symtab/25791
5828 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5829 (ensure_gdb_index): and factor out and move ...
5830 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5831 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5832
d191d716
TV
58332020-04-16 Tom de Vries <tdevries@suse.de>
5834
5835 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5836 loading exec.
5837
99f1bc6a
AB
58382020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5839
5840 * gdb.base/many-completions.exp: New file.
5841
194d088f
TV
58422020-04-14 Tom de Vries <tdevries@suse.de>
5843
5844 PR symtab/25718
5845 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5846
c1a66c06
TV
58472020-04-14 Tom de Vries <tdevries@suse.de>
5848
5849 PR symtab/25720
5850 * gdb.base/maint-expand-symbols-header-file.c: New test.
5851 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5852 * gdb.base/maint-expand-symbols-header-file.h: New test.
5853
21b0982c
AB
58542020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5855
5856 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5857 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5858 get_func_info.
5859 (get_func_info): Delete.
5860 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5861 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5862 * lib/dwarf.exp (get_func_info): New function.
5863
dd1cab06
TV
58642020-04-13 Tom de Vries <tdevries@suse.de>
5865
5866 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5867 to what find_gnatmake does.
5868
71ea2b6b
TV
58692020-04-10 Tom de Vries <tdevries@suse.de>
5870
5871 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5872 -readnow.
5873
bdfc1e8a
TV
58742020-04-10 Tom de Vries <tdevries@suse.de>
5875
5876 PR cli/25808
5877 * gdb.base/style.c: Add leading newlines.
5878 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5879 Check listing of main's one-line body.
5880
14ca8ecf
TV
58812020-04-08 Tom de Vries <tdevries@suse.de>
5882
5883 * lib/gdb.exp (psymtabs_p): New proc.
5884 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5885 importing unit" unsupported if there are no partial symbols.
5886
e21d048f
TV
58872020-04-08 Tom de Vries <tdevries@suse.de>
5888
5889 PR testsuite/25760
5890 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5891
25c11aca
TV
58922020-04-07 Tom de Vries <tdevries@suse.de>
5893
5894 PR symtab/25796
5895 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5896
5707e24b
TV
58972020-04-07 Tom de Vries <tdevries@suse.de>
5898
5899 * gdb.base/check-psymtab.c: New test.
5900 * gdb.base/check-psymtab.exp: New file.
5901
6ee448cc
TT
59022020-04-06 Tom Tromey <tromey@adacore.com>
5903
5904 * gdb.ada/variant-record/proc.adb: New file.
5905 * gdb.ada/variant-record/value.adb: New file.
5906 * gdb.ada/variant-record/value.s: New file.
5907 * gdb.ada/variant-record.exp: New file.
5908
9e7c9a03
HD
59092020-04-03 Hannes Domani <ssbssa@yahoo.de>
5910
5911 PR gdb/25325
5912 * gdb.cp/typed-enum.cc: New test.
5913 * gdb.cp/typed-enum.exp: New file.
5914
c90d28ac
AB
59152020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5916
5917 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5918 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5919 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5920 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5921 * gdb.opt/inline-small-func.c: New file.
5922 * gdb.opt/inline-small-func.exp: New file.
5923 * gdb.opt/inline-small-func.h: New file.
5924
34e9a9fa
AB
59252020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5926
5927 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5928 function.
5929
6a354911
AB
59302020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5931
5932 * lib/dwarf.exp (function_range): Allow compiler options to be
5933 specified.
5934
880d9777
TV
59352020-04-02 Tom de Vries <tdevries@suse.de>
5936
5937 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5938 __attribute__((always_inline)).
5939 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5940
f32682ea
TV
59412020-04-02 Tom de Vries <tdevries@suse.de>
5942
5943 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5944 (gdbserver_gdb_exit): ... here. Add timeout warning.
5945 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5946 (connect_target_extended_remote): Append new server_spawn_id to
5947 server_spawn_ids.
5948 (cleanup): New proc.
5949 (setup, <toplevel>): Call cleanup.
5950
d3214198
TV
59512020-04-02 Tom de Vries <tdevries@suse.de>
5952
5953 * gdb.base/main-psymtab.exp: New file.
5954
cc77ed24
TV
59552020-04-02 Tom de Vries <tdevries@suse.de>
5956
5957 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5958
3638a098
TT
59592020-04-01 Tom Tromey <tom@tromey.com>
5960
5961 * gdb.base/complex-parts.exp: Add type tests.
5962
c34e8714
TT
59632020-04-01 Tom Tromey <tom@tromey.com>
5964
5965 * gdb.base/complex-parts.exp: Add arithmetic tests.
5966
981c08ce
TT
59672020-04-01 Tom Tromey <tom@tromey.com>
5968
5969 * gdb.compile/compile.exp: Update.
5970 * gdb.compile/compile-cplus.exp: Update.
5971 * gdb.base/varargs.exp: Update.
5972 * gdb.base/floatn.exp: Update.
5973 * gdb.base/endianity.exp: Update.
5974 * gdb.base/callfuncs.exp (do_function_calls): Update.
5975 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5976 (complex_float_integral_args): Update.
5977 * gdb.base/complex.exp: Update.
5978 * gdb.base/complex-parts.exp: Update.
5979
3d1cfd43
TT
59802020-04-01 Tom Tromey <tromey@adacore.com>
5981
5982 * gdb.rust/union.rs: New file.
5983 * gdb.rust/union.exp: New file.
5984 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5985 (main): Update.
5986 * gdb.rust/simple.exp: Move union tests to union.exp.
5987
e033dfa9
TT
59882020-04-01 Tom Tromey <tromey@adacore.com>
5989
5990 * gdb.rust/simple.rs (main): Remove "y0".
5991
53cccef1
TBA
59922020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5993
5994 * gdb.multi/stop-all-on-exit.c: New test.
5995 * gdb.multi/stop-all-on-exit.exp: New file.
5996
60e22c1e
HD
59972020-04-01 Hannes Domani <ssbssa@yahoo.de>
5998
5999 PR gdb/24789
6000 * gdb.cp/misc.cc: Add integer reference variable.
6001 * gdb.cp/misc.exp: Add test.
6002
e139a727
TBA
60032020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6004
6005 * gdb.server/stop-reply-no-thread.exp: Enhance the test
6006 scenario to cover execution until the end and also the case
6007
16b0db75
TV
60082020-03-31 Tom de Vries <tdevries@suse.de>
6009
6010 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
6011 c. Use "maint info symtabs" to check symtab expansion.
6012
c0502da6
TV
60132020-03-30 Tom de Vries <tdevries@suse.de>
6014
6015 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
6016 unsupported.
6017 (verify_psymtab_expanded): Move ...
6018 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
6019 test.
6020 (readnow): New proc.
6021
5935fd15
AB
60222020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6023
6024 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
6025 with $hex.
6026
1773be9e
TT
60272020-03-20 Tom Tromey <tromey@adacore.com>
6028
6029 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
6030
70304be9
TT
60312020-03-20 Tom Tromey <tromey@adacore.com>
6032
6033 * gdb.ada/sub_variant/subv.adb: New file.
6034 * gdb.ada/sub_variant.exp: New file.
6035
0dd7b8f7
TV
60362020-03-20 Tom de Vries <tdevries@suse.de>
6037
6038 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
6039 first break fails.
6040 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
6041
cada5fc9
AB
60422020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
6043
6044 * gdb.server/exit-multiple-threads.c: New file.
6045 * gdb.server/exit-multiple-threads.exp: New file.
6046
6b8c53f2
AB
60472020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
6048
6049 * gdb.fortran/mixed-lang-stack.c: New file.
6050 * gdb.fortran/mixed-lang-stack.cpp: New file.
6051 * gdb.fortran/mixed-lang-stack.exp: New file.
6052 * gdb.fortran/mixed-lang-stack.f90: New file.
6053
19a2740f
AB
60542020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
6055
6056 * gdb.linespec/cp-completion-aliases.cc: New file.
6057 * gdb.linespec/cp-completion-aliases.exp: New file.
6058
d8c8b848
TV
60592020-03-19 Tom de Vries <tdevries@suse.de>
6060
6061 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
6062 more precise.
6063
a9933ccf
TV
60642020-03-18 Tom de Vries <tdevries@suse.de>
6065
6066 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
6067 * gdb.dwarf2/break-inline-psymtab.c: New test.
6068 * gdb.dwarf2/break-inline-psymtab.exp: New file.
6069
2f89101f
TV
60702020-03-16 Tom de Vries <tdevries@suse.de>
6071
6072 * lib/cache.exp (gdb_do_cache): Add and handle local variables
6073 cache_verify and cache_verify_proc.
6074
6b9374f1
TV
60752020-03-15 Tom de Vries <tdevries@suse.de>
6076
6077 * gdb.server/solib-list.exp: Handle
6078 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
6079
eaeaf44c
TV
60802020-03-15 Tom de Vries <tdevries@suse.de>
6081
6082 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
6083 objfiles".
6084
3293bbaf
TT
60852020-03-14 Tom Tromey <tom@tromey.com>
6086
6087 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
6088
ab44624c
TV
60892020-03-14 Tom de Vries <tdevries@suse.de>
6090
6091 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
6092
54c43825
TV
60932020-03-14 Tom de Vries <tdevries@suse.de>
6094
6095 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
6096 result in line-by-line fashion.
6097
2ac70237
TV
60982020-03-14 Tom de Vries <tdevries@suse.de>
6099
6100 * lib/gdb.exp (supports_statement_frontiers): New proc.
6101 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
6102
09546b56
TV
61032020-03-14 Tom de Vries <tdevries@suse.de>
6104
6105 * gdb.base/printcmds.exp: Add missing quoting for "print
6106 teststring2".
6107
a1f6a07c
TT
61082020-03-13 Tom Tromey <tom@tromey.com>
6109
6110 * gdb.base/printcmds.exp (test_print_strings): Add regression
6111 test.
6112 * gdb.base/printcmds.c (charptr): New typedef.
6113 (teststring2): New global.
6114
1b83d09c
AB
61152020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
6116
6117 * gdb.base/break-interp.exp: Use the tail of the filename, not the
6118 full path in the test name.
6119 (test_ld): Add some with_test_prefix blocks to make test names
6120 unique.
6121
2d61316c
TV
61222020-03-13 Tom de Vries <tdevries@suse.de>
6123
6124 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
6125
2e9145ac
TV
61262020-03-13 Tom de Vries <tdevries@suse.de>
6127
6128 * gdb.mi/mi-sym-info.exp: Make matching more precise.
6129
96c7f873
TV
61302020-03-13 Tom de Vries <tdevries@suse.de>
6131
6132 PR symtab/25646
6133 * gdb.dwarf2/imported-unit.exp: Add test.
6134
49ba92c0
TV
61352020-03-13 Tom de Vries <tdevries@suse.de>
6136
6137 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
6138 (var1, var2): New variable.
6139 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
6140 matching symbols.
6141
301b21e0
TV
61422020-03-13 Tom de Vries <tdevries@suse.de>
6143
6144 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
6145 (Term::command): Use prompt prefix.
6146 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
6147 * gdb.tui/tui-layout-asm-short-prog.exp: Use
6148 command_no_prompt_prefix instead of prefix.
6149 * gdb.tui/tui-layout-asm.exp: Same.
6150
3f512721
SM
61512020-03-12 Simon Marchi <simon.marchi@efficios.com>
6152
6153 * gdb.base/break-interp.exp: Use foreach_with_prefix.
6154
40310f30
SM
61552020-03-12 Simon Marchi <simon.marchi@efficios.com>
6156
6157 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
6158 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
6159 on" while stepping over the test instruction, match printed
6160 message.
6161
09252140
TV
61622020-03-12 Tom de Vries <tdevries@suse.de>
6163
6164 * gdb.base/info-types.exp: Use exp_continue during matching of output
6165 of "info types".
6166
14e9c72c
TV
61672020-03-12 Tom de Vries <tdevries@suse.de>
6168
6169 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
6170
e515d67e
TV
61712020-03-12 Tom de Vries <tdevries@suse.de>
6172
6173 * gdb.fortran/module.exp: Use exp_continue during matching of output
6174 of "info variable -n".
6175
307eafd8
TV
61762020-03-12 Tom de Vries <tdevries@suse.de>
6177
6178 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
6179 gdb.dwarf2/dw2-ranges-base.c.
6180
9a2de3fc
TV
61812020-03-12 Tom de Vries <tdevries@suse.de>
6182
6183 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
6184 in presence of GLIBC debuginfo.
6185
3217502e
TV
61862020-03-12 Tom de Vries <tdevries@suse.de>
6187
6188 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
6189 $core.
6190
1281424c
TV
61912020-03-12 Tom de Vries <tdevries@suse.de>
6192
6193 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
6194 more precise.
6195
038b97fc
SM
61962020-03-11 Simon Marchi <simon.marchi@efficios.com>
6197
6198 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
6199 from Unix to Windows path.
6200
5308d1e7
TV
62012020-03-11 Tom de Vries <tdevries@suse.de>
6202
6203 * gdb.ada/minsyms.exp: Set language to ada.
6204
f870f78f
TV
62052020-03-11 Tom de Vries <tdevries@suse.de>
6206
6207 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
6208
5a13315d
TV
62092020-03-11 Tom de Vries <tdevries@suse.de>
6210
6211 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
6212
976862ed
TT
62132020-03-11 Tom Tromey <tromey@adacore.com>
6214
6215 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
6216
7462c383
TV
62172020-03-11 Tom de Vries <tdevries@suse.de>
6218
6219 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
6220
1c6c46a0
TV
62212020-03-11 Tom de Vries <tdevries@suse.de>
6222
6223 * gdb.base/break-interp.exp: Limit verbose scope.
6224
44f41bb7
TV
62252020-03-11 Tom de Vries <tdevries@suse.de>
6226
6227 * gdb.fortran/logical.f90: Define variable with character type.
6228 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
6229
b76f3a42
TV
62302020-03-11 Tom de Vries <tdevries@suse.de>
6231
6232 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
6233
1c33af77
TV
62342020-03-11 Tom de Vries <tdevries@suse.de>
6235
6236 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
6237 symtabs.
6238
8c95582d
AB
62392020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
6240 Bernd Edlinger <bernd.edlinger@hotmail.de>
6241
6242 * gdb.cp/step-and-next-inline.cc: New file.
6243 * gdb.cp/step-and-next-inline.exp: New file.
6244 * gdb.cp/step-and-next-inline.h: New file.
6245 * gdb.dwarf2/dw2-is-stmt.c: New file.
6246 * gdb.dwarf2/dw2-is-stmt.exp: New file.
6247 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
6248 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
6249 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
6250
cecf8547
AB
62512020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
6252
6253 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
6254 is-stmt flag in the line table.
6255
0ba678c9
TV
62562020-03-09 Tom de Vries <tdevries@suse.de>
6257
6258 * lib/gdb.exp (cached_file): Create cache dir.
6259
72fbdf83
TV
62602020-03-07 Tom de Vries <tdevries@suse.de>
6261
6262 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
6263 * gdb.cp/rvalue-ref-params.exp: Same.
6264
436b5e99
TV
62652020-03-06 Tom de Vries <tdevries@suse.de>
6266
6267 * lib/gdb.exp (tentative_rename, cached_file): New proc.
6268 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
6269
09f2921c
TV
62702020-03-06 Tom de Vries <tdevries@suse.de>
6271
6272 * README: Fix "the the".
6273 * gdb.base/dprintf.exp: Same.
6274
50a3cc5d
TV
62752020-03-05 Tom de Vries <tdevries@suse.de>
6276
6277 * gdb.base/maint.exp: Update "main print statistics" expected output.
6278
0a709cba
AKS
62792020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6280
6281 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
6282 (fortran_int8): Likewise.
6283 (fortran_real4): Likewise.
6284 (fortran_real8): Likewise.
6285 (fortran_complex4): Likewise.
6286 (fortran_logical4): Likewise.
6287 (fortran_character1): Likewise.
6288
5e5d66b6
AB
62892020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
6290
6291 * gdb.fortran/logical.exp: Add tests that any non-zero value is
6292 printed as true.
6293
7b973adc
SDJ
62942020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
6295
6296 * gdb.base/printcmds.exp: Add test to verify printf of a
6297 variable holding an address.
6298
478e490a
TV
62992020-03-03 Tom de Vries <tdevries@suse.de>
6300
6301 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
6302
1ef44e86
TV
63032020-03-03 Tom de Vries <tdevries@suse.de>
6304
6305 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
6306 gdb_test_multiple call.
6307
b98cc2cf
TV
63082020-03-03 Tom de Vries <tdevries@suse.de>
6309
6310 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
6311 gdb_test_multiple calls.
6312
63e163f2
AB
63132020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
6314
6315 * gdb.base/default.exp: Remove test of 'set history filename'.
6316 * gdb.base/gdbinit-history.exp: Add tests for setting the history
6317 filename to the empty string.
6318 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
6319 and GDBHISTSIZE.
6320
24ed6739
AB
63212020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
6322
6323 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
6324 disabled.
6325
590003dc 63262020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 6327 Tom de Vries <tdevries@suse.de>
590003dc
TV
6328
6329 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
6330 -prompt prefix, before user_code argument. Add -lbl option likewise.
6331 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
6332 (gdb_is_target_1): Add -prompt prefix and move to before user_code
6333 argument.
6334 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
6335 have "\r\n" at start-of-line, instead of at end-of-line.
6336
f5e46084
SM
63372020-02-28 Simon Marchi <simon.marchi@efficios.com>
6338
6339 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
6340 libinproctrace.so.
6341
f7a7000d
LM
63422020-02-28 Luis Machado <luis.machado@linaro.org>
6343
6344 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
6345 to "p/x".
6346
718e0816
LM
63472020-02-28 Luis Machado <luis.machado@linaro.org>
6348
6349 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
6350 asm/ptrace.h and error.h.
6351
13c3a74a
TV
63522020-02-28 Tom de Vries <tdevries@suse.de>
6353
6354 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
6355 (struct wrapper, do_something, mundane/symada__cS): Move ...
6356 * gdb.base/c-linkage-name-2.c: ... here. New source file.
6357 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
6358 Update "print symada__cS before partial symtab expansion" regexp.
6359 Update breakpoint location. Flush symbol cache after expansion.
6360
85d2d5bb
LM
63612020-02-28 Luis Machado <luis.machado@linaro.org>
6362
6363 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
6364
3608f86c
TV
63652020-02-27 Tom de Vries <tdevries@suse.de>
6366
6367 * config/sid.exp: Remove unused globals.
6368 * gdb.base/attach.exp: Same.
6369 * gdb.base/catch-load.exp: Same.
6370 * gdb.base/dbx.exp: Same.
6371 * lib/gdb.exp: Same.
6372 * lib/mi-support.exp: Same.
6373 * lib/prompt.exp: Same.
6374
c8d4f6df
TV
63752020-02-27 Tom de Vries <tdevries@suse.de>
6376
6377 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
6378 not set.
6379
0d79cdc4
AM
63802020-02-26 Aaron Merey <amerey@redhat.com>
6381
6382 * gdb.debuginfod: New directory for debuginfod tests.
6383 * gdb.debuginfod/main.c: New test file.
6384 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
6385
0dce4280
TV
63862020-02-26 Tom de Vries <tdevries@suse.de>
6387
6388 PR gdb/25603
6389 * gdb.base/persistent-lang.cc: New test.
6390 * gdb.base/persistent-lang.exp: New file.
6391
9e80cfa1
AB
63922020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
6393
6394 * gdb.fortran/derived-type-striding.exp: Add a new test.
6395 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
6396 new test.
6397
2078dbb2
AB
63982020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
6399
6400 * gdb.base/cached-source-file.exp: Avoid source file paths in test
6401 names.
6402
70d49700
TV
64032020-02-25 Tom de Vries <tdevries@suse.de>
6404
6405 PR go/18926
6406 * gdb.go/methods.exp: Remove gcc/93866 xfail.
6407
a88ef40d
TV
64082020-02-24 Tom de Vries <tdevries@suse.de>
6409
6410 PR gdb/25592
6411 * gdb.base/info-locals-unused-static-var.c: New test.
6412 * gdb.base/info-locals-unused-static-var.exp: New file.
6413
01b1af32
TT
64142020-02-22 Tom Tromey <tom@tromey.com>
6415
6416 * gdb.python/tui-window.exp: New file.
6417 * gdb.python/tui-window.py: New file.
6418
7c043ba6
TT
64192020-02-22 Tom Tromey <tom@tromey.com>
6420
6421 PR tui/17850:
6422 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
6423 tests.
6424
c22fef7e
TT
64252020-02-22 Tom Tromey <tom@tromey.com>
6426
6427 * gdb.tui/new-layout.exp: Add sub-layout tests.
6428
ee325b61
TT
64292020-02-22 Tom Tromey <tom@tromey.com>
6430
6431 * gdb.tui/new-layout.exp: New file.
6432
3f0cbb04
TT
64332020-02-22 Tom Tromey <tom@tromey.com>
6434
6435 * gdb.rust/rust-style.rs: New file.
6436 * gdb.rust/rust-style.exp: New file.
6437 * gdb.base/style.exp: Test structure printing.
6438 * gdb.base/style.c (struct some_struct): New type.
6439 (enum etype): New type.
6440 (struct_value): New global.
6441
75525152
TV
64422020-02-21 Tom de Vries <tdevries@suse.de>
6443
6444 PR go/18926
6445 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
6446 Remove blanket xfails. Use message argument for gdb_breakpoint.
6447 Make continuing to breakpoint test conditional on setting breakpoint.
6448 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
6449 DW_AT_name attribute. Add xfail for GCC PR93866.
6450
bd360d30
AB
64512020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
6452
6453 * gdb.dwarf2/cpp-linkage-name.c: New file.
6454 * gdb.dwarf2/cpp-linkage-name.exp: New file.
6455
c7adb09f 64562020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
6457
6458 * lib/gdb.exp (gdb_wrapper_init): Reset
6459 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
6460 not exist.
6461
a9c79803
TV
64622020-02-20 Tom de Vries <tdevries@suse.de>
6463
6464 PR go/17018
6465 * gdb.go/hello.exp: Copy ...
6466 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
6467 print of st to print value of global definition. Add xfail for GCC
6468 PR93844.
6469 * gdb.go/hello.exp: Remove printing of st before definition.
6470 * gdb.go/hello.go: Copy ...
6471 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
6472 to st.
6473 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
6474
d7445728
TV
64752020-02-20 Tom de Vries <tdevries@suse.de>
6476
6477 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
6478 (gdb_simple_compile): Handle compile_flags go by using .go extension
6479 for source file.
6480 * gdb.go/chan.exp: Use support_go_compile.
6481 * gdb.go/handcall.exp: Same.
6482 * gdb.go/hello.exp: Same.
6483 * gdb.go/integers.exp: Same.
6484 * gdb.go/max-depth.exp: Same.
6485 * gdb.go/methods.exp: Same.
6486 * gdb.go/package.exp: Same.
6487 * gdb.go/strings.exp: Same.
6488 * gdb.go/types.exp: Same.
6489 * gdb.go/unsafe.exp: Same.
6490
c9c41e6d
TV
64912020-02-19 Tom de Vries <tdevries@suse.de>
6492
6493 * gdb.python/lib-types.exp: Make xfail more strict.
6494
f20ff837
TV
64952020-02-19 Tom de Vries <tdevries@suse.de>
6496
6497 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
6498
08410482
DE
64992020-02-19 Doug Evans <dje@google.com>
6500
6501 PR rust/25535
6502 * gdb.rust/simple.exp: Add test.
6503 * gdb.rust/simple.rs: Add test.
6504
623563f7
TV
65052020-02-19 Tom de Vries <tdevries@suse.de>
6506
6507 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
6508 output line-by-line.
6509
d3308cfd
TV
65102020-02-19 Tom de Vries <tdevries@suse.de>
6511
6512 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
6513
86cbc5dc
TV
65142020-02-19 Tom de Vries <tdevries@suse.de>
6515
6516 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
6517 prelink.
6518
9db2b96b
TV
65192020-02-19 Tom de Vries <tdevries@suse.de>
6520
6521 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
6522 (gdb_do_cache): Use gdb_do_cache_wrap.
6523 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
6524
89e2fdc5
TV
65252020-02-19 Tom de Vries <tdevries@suse.de>
6526
6527 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
6528 gdb_compile option.
6529
373d7ac0
SM
65302020-02-18 Simon Marchi <simon.marchi@efficios.com>
6531
6532 * gdb.base/printcmds.exp (test_print_enums): Update expected
6533 output.
6534
b29a2df0
SM
65352020-02-18 Simon Marchi <simon.marchi@efficios.com>
6536
6537 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
6538 for "unknown".
6539
6740f0cc
SM
65402020-02-18 Simon Marchi <simon.marchi@efficios.com>
6541
6542 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
6543 enumerator.
6544
edd45eb0
SM
65452020-02-18 Simon Marchi <simon.marchi@efficios.com>
6546
6547 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
6548 FE_, add FE_NONE.
6549 (three): Update.
6550 (enum flag_enum_without_zero): New enum.
6551 (flag_enum_without_zero): New variable.
6552 (enum not_flag_enum): New enum.
6553 (three_not_flag): New variable.
6554 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
6555 (test_print_enums): Add more tests for printing flag enums.
6556
d4295de4
TV
65572020-02-18 Tom de Vries <tdevries@suse.de>
6558
6559 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
6560 (gdb_compile_ada): ... here.
6561 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
6562 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
6563
f251f505
TT
65642020-02-14 Tom Tromey <tom@tromey.com>
6565
6566 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
6567 build directory.
6568 * boards/gdbserver-base.exp: Update path to gdbserver.
6569
8f432634
TV
65702020-02-13 Tom de Vries <tdevries@suse.de>
6571
6572 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
6573
92b6eaf7
TV
65742020-02-13 Tom de Vries <tdevries@suse.de>
6575
6576 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
6577 are missing.
6578
f3b0f7fe
TV
65792020-02-13 Tom de Vries <tdevries@suse.de>
6580
6581 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6582 call.
6583
f6be8713
SDJ
65842020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6585
6586 PR tui/25126
6587 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6588 * gdb.base/cached-source-file.c: New file.
6589 * gdb.base/cached-source-file.exp: New file.
6590
b2770d5e
TV
65912020-02-11 Tom de Vries <tdevries@suse.de>
6592
6593 PR testsuite/25488
6594 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6595
44f6938e
TV
65962020-02-10 Tom de Vries <tdevries@suse.de>
6597
6598 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6599
5f0e2eb7
MR
66002020-02-10 Maciej W. Rozycki <macro@wdc.com>
6601
6602 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6603 and $after_addr are both integers before making a comparison.
6604
46ce2b6f
TV
66052020-02-09 Tom de Vries <tdevries@suse.de>
6606
6607 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6608 command output and paste it into gdb.log. If any, paste catch message
6609 to gdb.log.
6610
5abbbe1d
TT
66112020-02-07 Tom Tromey <tromey@adacore.com>
6612
6613 PR breakpoints/24915:
6614 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6615
1d5d29e7
SV
66162020-02-06 Shahab Vahedi <shahab@synopsys.com>
6617
6618 * gdb.tui/tui-missing-src.exp: Add the "missing source
6619 file" test for the TUI.
6620
b0999b9b
AB
66212020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6622
6623 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6624 including a port number in the output.
6625
c3b149eb
AKS
66262020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6627
6628 * lib/fortran.exp (fortran_int4): Handle clang.
6629 (fortran_int8): Likewise.
6630 (fortran_real4): Likewise.
6631 (fortran_real8): Likewise.
6632 (fortran_complex4): Likewise.
6633 (fortran_logical4): Likewise.
6634 (fortran_character1): Likewise.
6635
f8dcc90b
TV
66362020-02-04 Tom de Vries <tdevries@suse.de>
6637
6638 * README (Race detection): Add note.
6639
f90ac7c2
TV
66402020-02-04 Tom de Vries <tdevries@suse.de>
6641
6642 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6643
780636ae
TV
66442020-02-04 Tom de Vries <tdevries@suse.de>
6645
6646 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6647
5d2e1193
RA
66482020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6649
6650 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6651 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6652 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6653 blttar, bnetarl.
6654 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6655 binary for blttar, bnetarl.
6656 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6657 wait instruction. Delete ldmx test.
6658 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6659
e409c542
AKS
66602020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6661
6662 * gdb.fortran/array-bounds-high.exp: New file.
6663 * gdb.fortran/array-bounds-high.f90: New file.
6664
b0029748
LD
66652020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6666
6667 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6668 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6669
195a8287
TV
66702020-02-01 Tom de Vries <tdevries@suse.de>
6671
6672 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6673
42330a68
AB
66742020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6675
6676 PR tui/9765
6677 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6678 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6679
b62a8028
LM
66802020-01-29 Luis Machado <luis.machado@linaro.org>
6681
6682 * gdb.arch/aarch64-brk-patterns.c: New source file.
6683 * gdb.arch/aarch64-brk-patterns.exp: New test.
6684
5f440116
TBA
66852020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6686
6687 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6688 GCC/Clang version.
6689 * gdb.cp/pass-by-ref.exp: Ditto.
6690
ee2a6fc6
TV
66912020-01-29 Tom de Vries <tdevries@suse.de>
6692
6693 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6694 * gdb.threads/watchpoint-fork-mt.c: Same.
6695 * gdb.threads/watchpoint-fork-parent.c: Same.
6696 * gdb.threads/watchpoint-fork-st.c: Same.
6697 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6698
16b10d6e
LM
66992020-01-27 Luis Machado <luis.machado@linaro.org>
6700
6701 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6702 sitting at a syscall instruction when we hit the syscall function's
6703 breakpoint.
6704 Check PC against one obtained with the x command.
6705 Validate syscall number.
6706 (step_over_syscall): Don't continue to the syscall instruction if
6707 we're already there.
6708
b1468492
PW
67092020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6710
6711 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6712
7ffa82e1
AB
67132020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6714
6715 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6716 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6717
3d92a3e3
AB
67182020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6719
6720 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6721 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6722
94a72be7
AB
67232020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6724
6725 * gdb.base/maint.exp: Update line table parsing test.
6726 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6727
53af73bf
PA
67282020-01-24 Pedro Alves <palves@redhat.com>
6729
6730 PR gdb/25410
6731 * gdb.multi/multi-re-run-1.c: New.
6732 * gdb.multi/multi-re-run-2.c: New.
6733 * gdb.multi/multi-re-run.exp: New.
6734
1ba1ac88
AB
67352020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6736
6737 PR gdb/23718
6738 * gdb.server/server-kill-python.exp: New file.
6739
f3364a6d
AB
67402020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6741
6742 * gdb.server/multi-ui-errors.c: New file.
6743 * gdb.server/multi-ui-errors.exp: New file.
6744
733d0a67
AB
67452020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6746
6747 PR tui/9765
6748 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6749
4f13c1c0
TT
67502020-01-19 Tom Tromey <tom@tromey.com>
6751
6752 * gdb.tui/main.exp: Add check for plain "file".
6753
40c94099
CB
67542020-01-16 Christian Biesinger <cbiesinger@google.com>
6755
6756 * lib/gdb.exp: Fix spelling error (seperatelly).
6757
ff47f4f0
TT
67582020-01-14 Tom Tromey <tom@tromey.com>
6759
6760 PR symtab/12535:
6761 * gdb.python/python.exp: Test decode_line with empty string
6762 argument.
6763
717c684d
BE
67642020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6765
6766 * gdb.base/skip-inline.exp: Extend test.
6767
44e4c775
AB
67682020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6769
6770 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6771 * gdb.dwarf2/dw2-bad-elf.c: New file.
6772 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6773
d93c6db7
AB
67742020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6775
6776 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6777 _line_saw_file.
6778
9a6d629c
AB
67792020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6780
6781 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6782 border.
6783
d9ebdab7
TBA
67842020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6785
6786 * gdb.multi/multi-target.exp (setup): Factor out "info
6787 connections" and "info inferiors" tests to ...
6788 (test_info_inferiors): ... this new procedure.
6789 (top level): Run new "info-inferiors" tests.
6790
f3c469b9
PA
67912020-01-10 Pedro Alves <palves@redhat.com>
6792
6793 * gdb.server/bkpt-other-inferior.exp: New file.
6794
121b3efd
PA
67952020-01-10 Pedro Alves <palves@redhat.com>
6796
6797 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6798 of "add-inferior".
6799 * gdb.base/quit-live.exp: Likewise.
6800 * gdb.base/remote-exec-file.exp: Likewise.
6801 * gdb.guile/scm-progspace.exp: Likewise.
6802 * gdb.linespec/linespec.exp: Likewise.
6803 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6804 * gdb.mi/user-selected-context-sync.exp: Likewise.
6805 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6806 "info inferiors" tests.
6807 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6808 "add-inferior".
6809 * gdb.multi/watchpoint-multi.exp: Likewise.
6810 * gdb.python/py-inferior.exp: Likewise.
6811 * gdb.server/extended-remote-restart.exp: Likewise.
6812 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6813 "info inferiors".
6814 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6815 * gdb.trace/report.exp: Likewise.
6816
1dadb1dd
PA
68172020-01-10 Pedro Alves <palves@redhat.com>
6818
6819 * gdb.multi/multi-target.c: New file.
6820 * gdb.multi/multi-target.exp: New file.
6821 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6822 mode requested, but remote does not support non-stop".
6823
78f2c40a
PA
68242020-01-10 Pedro Alves <palves@redhat.com>
6825
6826 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6827 disconnect before reconnecting.
6828
e7af6c70
TBA
68292020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6830 Pedro Alves <palves@redhat.com>
6831
6832 * gdb.server/connect-without-multi-process.exp: Also test
6833 continuing to end.
6834
acdf84a6
PA
68352020-01-10 Pedro Alves <palves@redhat.com>
6836
6837 * gdb.base/remote-exec-file.exp: New file.
6838
873657b9
PA
68392020-01-10 Pedro Alves <palves@redhat.com>
6840
6841 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6842 output.
6843 * gdb.threads/async.c: New.
6844 * gdb.threads/async.exp: New.
6845 * gdb.multi/tids-gid-reset.c: New.
6846 * gdb.multi/tids-gid-reset.exp: New.
6847
7f0ae84c
GB
68482020-01-10 George Barrett <bob@bob131.so>
6849
6850 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6851 to help in finding the image relocation offset.
6852 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6853 options in arguments.
6854 (stap_test_no_debuginfo): Likewise.
6855 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6856 test variants.
6857 (stap_test): Add null semaphore relocation test.
6858
47e9d49d
GB
68592020-01-10 George Barrett <bob@bob131.so>
6860
6861 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6862 * gdb.base/stap-probe.exp: Likewise.
6863 (stap_test): Pass argument as an additional flag.
6864 (stap_test_no_debuginfo): Likewise.
6865 (stap_test): Check `info probes stap' output for semaphore
6866 addresses if the test binary is supposed to have them.
6867
f5a7c406
AB
68682020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6869
6870 * gdb.tui/basic.exp: Add more scrolling tests.
6871
9ae6bf64
TT
68722020-01-09 Tom Tromey <tom@tromey.com>
6873
6874 PR tui/18932:
6875 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6876 meangingful value.
6877 (Term::command, Term::resize): Update.
6878 * gdb.tui/basic.exp: Add scrolling test.
6879
b2efe70c
AB
68802020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6881
6882 * gdb.tui/tui-layout-asm.exp: New file.
6883
3804da7e
AB
68842020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6885
6886 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6887
b40aa28f
AB
68882020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6889
6890 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6891 (Term::enter_tui): Use Term::prepare_for_tui.
6892
63ffd7c9
AB
68932020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6894
6895 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6896 called.
6897
3be966f6
AB
68982020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6899
6900 * gdb.base/skip.exp: Fix race condition in test.
6901
153d79c4
AB
69022020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6903
6904 * gdb.base/backtrace.c: New file.
6905 * gdb.base/backtrace.exp: New file.
6906
f2302a34
AB
69072020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6908
6909 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6910
6ec1d75e
PW
69112020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6912
6913 * gdb.base/style.exp: Test that warnings are styled.
6914
c296cbe6
BE
69152019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6916
6917 * gdb.base/line65535.exp: New file.
6918 * gdb.base/line65535.c: New file.
6919
b28a729d
SM
69202019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6921
6922 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6923 * lib/gnat_debug_info_test.adb: New file.
6924 * gdb.ada/ptype_tagged_param.exp: Use
6925 gnat_runtime_has_debug_info, expect a different output if
6926 runtime does not have debug info.
6927
7f2d7a0d
SM
69282019-12-20 Simon Marchi <simon.marchi@efficios.com>
6929
6930 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6931 (another) quote in test name.
6932
f3bce483
SM
69332019-12-20 Simon Marchi <simon.marchi@efficios.com>
6934
6935 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6936 Add quote in test name.
6937
c855a912
TBA
69382019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6939
6940 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6941 directory instead.
6942 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6943 * gdb.cp/pass-by-ref-2.cc: New file.
6944 * gdb.cp/pass-by-ref-2.exp: New file.
6945
fc9d2d72
TT
69462019-12-20 Tom Tromey <tom@tromey.com>
6947
6948 * gdb.tui/list-before.exp: New file.
6949
77b97e00
TT
69502019-12-20 Tom Tromey <tom@tromey.com>
6951
6952 * gdb.tui/list.exp: Check for source on initial listing.
6953
f69656d0
TT
69542019-12-11 Tom Tromey <tromey@adacore.com>
6955
6956 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6957 Add crlf test.
6958
99a55965
SM
69592019-12-18 Simon Marchi <simon.marchi@efficios.com>
6960
6961 * gdb.base/default.exp: Update value of $_gdb_major.
6962
5024637f
BE
69632019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6964
6965 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6966
b63634be
BE
69672019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6968
6969 * gdb.base/skip.exp: Whitespace fix.
6970
45d73523
BE
69712019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6972
6973 * gdb.base/skip-inline.c: New file.
6974 * gdb.base/skip-inline.exp: New file.
6975
d043f8c8
SM
69762019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6977
6978 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6979 jit_function_00 to jit_function_stack_mangle.
6980 * gdb.base/jithost.c (jit_function_t): Rename to...
6981 (jit_function_stack_mangle_t): ... this.
6982 (jit_function_add_t): New typedef.
6983 (jit_function_00_code): Rename to...
6984 (jit_function_stack_mangle_code): ... this, make static.
6985 (jit_function_add_code): New.
6986 (main): Generate "add" function and call it. Adjust to changes
6987 in jithost_abi.
6988 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6989 (struct jithost_abi) <begin, end>: Remove fields.
6990 <object, function_stack_mangle, function_add>: New fields.
6991 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6992 code_end>: Remove fields.
6993 <func_stack_mangle>: New field.
6994 (read_debug_info): Adjust to renaming, create block for "add"
6995 function.
6996 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6997
873de05c
TT
69982019-12-11 Tom Tromey <tom@tromey.com>
6999
7000 * gdb.tui/resize.exp: Fix regexp.
7001 * gdb.tui/regs.exp: Fix regexps.
7002 * gdb.tui/main.exp: Fix regexp.
7003
3d979945
TT
70042019-12-11 Tom Tromey <tom@tromey.com>
7005
7006 * gdb.tui/resize.exp: Update.
7007 * gdb.tui/empty.exp (layouts): Update.
7008
2192a9d3
TT
70092019-12-11 Tom Tromey <tom@tromey.com>
7010
7011 * gdb.tui/regs.exp: Update.
7012 * gdb.tui/empty.exp (layouts): Update.
7013 * gdb.tui/basic.exp: Update.
7014 * lib/tuiterm.exp (_check_box): Don't check bottom border.
7015
d8edc8b7
PW
70162019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7017
7018 * gdb.base/options.exp: Add -raw-values in the print completion list.
7019 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
7020
4c12d936
KB
70212019-12-10 Kevin Buettner <kevinb@redhat.com>
7022
7023 * gdb.threads/omp-par-scope.c: New file.
7024 * gdb/threads/omp-par-scope.exp: New file.
7025
26b911fb
KB
70262019-12-10 Kevin Buettner <kevinb@redhat.com>
7027
bb47f919
KB
7028 * lib/gdb.exp (support_nested_function_tests): New proc.
7029
70302019-12-10 Kevin Buettner <kevinb@redhat.com>
7031
7032 * lib/gdb.exp (gdb_compile_openmp): New proc.
7033 (build_executable_from_specs): Add an "openmp" option.
7034 (gdb_compile_pthreads): Add non-executable case.
26b911fb 7035
6c71eb7d
TT
70362019-12-10 Tom Tromey <tromey@adacore.com>
7037
7038 * gdb.ada/unchecked_union.exp: New file.
7039 * gdb.ada/unchecked_union/pck.adb: New file.
7040 * gdb.ada/unchecked_union/pck.ads: New file.
7041 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
7042 * gdb-utils.exp (string_to_regexp): Also quote "?".
7043
bac7c5cf
GB
70442019-12-10 George Barrett <bob@bob131.so>
7045
7046 Test scripted probe breakpoints.
7047 * gdb.guile/scm-breakpoint.c (main): Add probe point.
7048 * gdb.python/py-breakpoint.c (main): Likewise.
7049 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
7050 specifier test.
7051 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
7052
330f1d38
TBA
70532019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7054
7055 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
7056 an rvalue parameter.
7057 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
7058 parameter.
7059
b43315e2
AB
70602019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
7061
7062 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
7063 modules.
7064
54f73dad
AB
70652019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
7066
7067 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
7068 broken version of GCC.
7069
d57cbee9
AB
70702019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
7071
7072 * gdb.fortran/info-modules.exp: Rewrite to make use of new
7073 sym-info-cmds library.
7074 * gdb.fortran/info-types.exp: Likewise.
7075 * lib/sym-info-cmds.exp: New file.
7076
c14aab8c
TV
70772019-12-08 Tom de Vries <tdevries@suse.de>
7078
7079 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
7080
aa2d5a42
KS
70812019-12-07 Keith Seitz <keiths@redhat.com>
7082
7083 * gdb.base/corefile-buildid-shlib-shr.c: New file.
7084 * gdb.base/corefile-buildid-shlib.c: New file.
7085 * gdb.base/corefile-buildid.c: New file.
7086 * gdb.base/corefile-buildid.exp: New file.
7087
93e55f0a
TV
70882019-12-06 Tom de Vries <tdevries@suse.de>
7089
7090 * gdb.dwarf2/varval.exp: Add decl before def test.
7091
c7d12402
TBA
70922019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7093
7094 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
7095
06acc08f
TBA
70962019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7097
7098 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
7099 CV and reference conversion for overload resolution.
7100 * gdb.cp/rvalue-ref-overload.exp: Test it.
7101
e0fad1ea
PW
71022019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7103
7104 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
7105 * gdb.base/frameapply.exp: Test faas without command.
7106
8d70a9f0
AB
71072019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7108
7109 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
7110 Fortran tests.
7111 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
7112 order.
7113
36c8fb93
AB
71142019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7115
7116 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
7117 casting to type with no kind specified.
7118 (test_basic_parsing_of_type_kinds): Additional tests for types
7119 with no kind specified, and add tests for single/double
7120 precision/complex types.
7121
4139ff00
TT
71222019-12-04 Tom Tromey <tromey@adacore.com>
7123
7124 * gdb.base/endianity.c (struct other) <x>: New field.
7125 (main): Initialize it.
7126 * gdb.base/endianity.exp: Update.
7127
a05cf17a
TT
71282019-12-04 Tom Tromey <tromey@adacore.com>
7129
7130 * gdb.ada/scalar_storage/storage.adb: New file.
7131 * gdb.ada/scalar_storage/pck.adb: New file.
7132 * gdb.ada/scalar_storage/pck.ads: New file.
7133 * gdb.ada/scalar_storage.exp: New file.
7134
103a685e
TT
71352019-12-04 Tom Tromey <tromey@adacore.com>
7136
7137 * gdb.base/endianity.c (struct otherendian) <f>: New field.
7138 (main): Initialize it.
7139 * gdb.base/endianity.exp: Update.
7140
c2512106
AB
71412019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7142
7143 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
7144
293b38d6
AB
71452019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7146
7147 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
7148 -symbol-info-module-functions and -symbol-info-module-variables.
7149
216a7e6b
AB
71502019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
7151
7152 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
7153
5bbd8269
AB
71542019-12-01 Richard Bunt <richard.bunt@arm.com>
7155 Andrew Burgess <andrew.burgess@embecosm.com>
7156
7157 * gdb.fortran/derived-type-striding.exp: New file.
7158 * gdb.fortran/derived-type-striding.f90: New file.
7159 * gdb.fortran/array-slices.exp: New file.
7160 * gdb.fortran/array-slices.f90: New file.
7161
be09caf1
PW
71622019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7163
7164 * gdb.base/define.exp: Test . in command names.
7165 * gdb.base/setshow.exp: Update test, as . is now part of
7166 command name.
7167
643c0cbe
PW
71682019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7169
7170 * gdb.base/define-prefix.exp: New file.
7171
dcdec678
AB
71722019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
7173
7174 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
7175 compile.
7176 (skip_btrace_pt_tests): Likewise.
7177
640ab947
AB
71782019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7179
7180 * gdb.fortran/info-modules.exp: Compile source files in correct
7181 order.
7182
d22670f0
KB
71832019-11-27 Kevin Buettner <kevinb@redhat.com>
7184
7185 * gdb.dwarf2/imported-unit.exp: New file.
7186 * gdb.dwarf2/imported-unit.c: New file.
7187
db5960b4
AB
71882019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7189
7190 * gdb.mi/mi-fortran-modules-2.f90: New file.
7191 * gdb.mi/mi-fortran-modules.exp: New file.
7192 * gdb.mi/mi-fortran-modules.f90: New file.
7193
7dc42066
AB
71942019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7195
7196 * gdb.mi/mi-sym-info-1.c: New file.
7197 * gdb.mi/mi-sym-info-2.c: New file.
7198 * gdb.mi/mi-sym-info.exp: New file.
7199
0dfeecca
TT
72002019-11-22 Tom Tromey <tromey@adacore.com>
7201
7202 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
7203 * gdb.ada/tasks/foo.adb: Add another stopping location.
7204
34877895
PJ
72052019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
7206
7207 * gdb.base/endianity.c: New test.
7208 * gdb.base/endianity.exp: New file.
7209
2e84f897
LD
72102019-11-21 Lukas Durfina <ldurfina@tachyum.com>
7211
7212 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
7213
65d1cd5f
TV
72142019-11-21 Tom de Vries <tdevries@suse.de>
7215
7216 PR gdb/24956
7217 * gdb.base/ui-redirect.exp: Test output of user-defined command.
7218
4f22c3f4
SDJ
72192019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7220
7221 * gdb.python/py-progspace.exp: Add missing parentheses on some
7222 'print' commands.
7223
9f6ad286
TT
72242019-11-19 Tom Tromey <tom@tromey.com>
7225
7226 * gdb.tui/winheight.exp: New file.
7227
0b8dbf3f
AB
72282019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
7229
7230 * gdb.base/ctf-whatis.c: Delete.
7231 * gdb.base/ctf-whatis.exp: Delete.
7232 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
7233
f833b7a7
AB
72342019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
7235
7236 * gdb.base/ctf-cvexpr.exp: Delete.
7237 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
7238
30d0a636
AB
72392019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
7240
7241 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
7242 the compiler. Clean up header comment a little.
7243 * gdb.base/ctf-ptype.exp: Likewise.
7244 * gdb.base/ctf-whatis.exp: Likewise.
7245 * lib/gdb.exp (skip_ctf_tests): New proc.
7246
494409bb
SDJ
72472019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
7248
7249 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
7250 * gdb.tui/corefile-run.exp: New file.
7251
55708e99
TT
72522019-11-14 Tom Tromey <tromey@adacore.com>
7253
7254 * gdb.base/gdbvars.exp (test_convenience_variables): Add
7255 regression tests.
7256
45e42163
TT
72572019-11-12 Tom Tromey <tom@tromey.com>
7258
7259 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
7260 after any command. Expect prompt after WAIT_FOR is seen.
7261 (enter_tui): Enable resize messages.
7262 (command): Expect command in output.
7263 (get_line): Avoid error when cursor appears to be off-screen.
7264 (dump_screen): Include screen size in title.
7265 (_do_resize): New proc, from "resize".
7266 (resize): Rewrite. Do resize in two steps.
7267 * gdb.tui/empty.exp (layouts): Fix entries.
7268 (check_boxes): Remove xfail.
7269 (check_text): Dump screen on failure.
7270
086baaf1
AB
72712019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
7272
7273 * gdb.python/py-symbol.exp: Add test for
7274 gdb.lookup_static_symbols.
7275
09ff83af
AB
72762019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
7277
7278 * gdb.python/py-symbol.c: Declare and call function from new
7279 py-symbol-2.c file.
7280 * gdb.python/py-symbol.exp: Compile both source files, and add new
7281 tests for gdb.lookup_static_symbol.
7282 * gdb.python/py-symbol-2.c: New file.
7283
11af934b
TV
72842019-11-02 Tom de Vries <tdevries@suse.de>
7285
7286 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
7287 * gdb.base/anon.exp: Same.
7288 * gdb.base/auto-connect-native-target.exp: Same.
7289 * gdb.base/call-ar-st.exp: Same.
7290 * gdb.base/catch-syscall.exp: Same.
7291 * gdb.base/commands.exp: Same.
7292 * gdb.base/default.exp: Same.
7293 * gdb.base/display.exp: Same.
7294 * gdb.base/float.exp: Same.
7295 * gdb.base/foll-fork.exp: Same.
7296 * gdb.base/help.exp: Same.
7297 * gdb.base/info-macros.exp: Same.
7298 * gdb.base/info-proc.exp: Same.
7299 * gdb.base/info-target.exp: Same.
7300 * gdb.base/long_long.exp: Same.
7301 * gdb.base/macscp.exp: Same.
7302 * gdb.base/memattr.exp: Same.
7303 * gdb.base/nofield.exp: Same.
7304 * gdb.base/pointers.exp: Same.
7305 * gdb.base/printcmds.exp: Same.
7306 * gdb.base/ptype.exp: Same.
7307 * gdb.base/restore.exp: Same.
7308 * gdb.base/return.exp: Same.
7309 * gdb.base/scope.exp: Same.
7310 * gdb.base/set-noassign.exp: Same.
7311 * gdb.base/setshow.exp: Same.
7312 * gdb.base/shlib-call.exp: Same.
7313 * gdb.base/signals.exp: Same.
7314 * gdb.base/sigstep.exp: Same.
7315 * gdb.base/skip.exp: Same.
7316 * gdb.base/solib-symbol.exp: Same.
7317 * gdb.base/stap-probe.exp: Same.
7318 * gdb.base/step-line.exp: Same.
7319 * gdb.base/step-test.exp: Same.
7320 * gdb.base/style.exp: Same.
7321 * gdb.base/varargs.exp: Same.
7322 * gdb.base/vla-datatypes.exp: Same.
7323 * gdb.base/vla-ptr.exp: Same.
7324 * gdb.base/vla-sideeffect.exp: Same.
7325 * gdb.base/volatile.exp: Same.
7326 * gdb.base/watch-cond-infcall.exp: Same.
7327 * gdb.base/watchpoint.exp: Same.
7328
e96ec2ba
TV
73292019-11-02 Tom de Vries <tdevries@suse.de>
7330
7331 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
7332 * gdb.cp/cpexprs.exp: Same.
7333 * gdb.cp/except-multi-location.exp: Same.
7334 * gdb.cp/exceptprint.exp: Same.
7335 * gdb.cp/gdb2384.exp: Same.
7336 * gdb.cp/inherit.exp: Same.
7337 * gdb.cp/m-static.exp: Same.
7338 * gdb.cp/meth-typedefs.exp: Same.
7339 * gdb.cp/misc.exp: Same.
7340 * gdb.cp/namespace.exp: Same.
7341 * gdb.cp/non-trivial-retval.exp: Same.
7342 * gdb.cp/overload.exp: Same.
7343 * gdb.cp/pr17132.exp: Same.
7344 * gdb.cp/re-set-overloaded.exp: Same.
7345 * gdb.cp/rvalue-ref-types.exp: Same.
7346 * gdb.cp/templates.exp: Same.
7347
bd5766ec
LM
73482019-11-01 Luis Machado <luis.machado@linaro.org>
7349
7350 PR gdb/25124
7351
7352 * gdb.arch/pr25124.S: New file.
7353 * gdb.arch/pr25124.exp: New file.
7354
165f8965
AB
73552019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7356
7357 * gdb.fortran/info-modules.exp: Update expected results, and add
7358 additional tests for 'info module functinos', and 'info module
7359 variables'.
7360 * gdb.fortran/info-types.exp: Update expected results.
7361 * gdb.fortran/info-types.f90: Extend testcase with additional
7362 module variables and functions.
7363
59c35742
AB
73642019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7365
7366 * gdb.fortran/info-modules.exp: New file.
7367 * gdb.fortran/info-types.exp: Build with new file.
7368 * gdb.fortran/info-types.f90: Include and use new module.
7369 * gdb.fortran/info-types-2.f90: New file.
7370
f3fb2519
PW
73712019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7372
7373 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
7374 * gdb.base/settings.exp: Test all settings types using
7375 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
7376 that now verifies that the value of "maint show" is the same as
7377 returned by the settings functions. Test the type of the
7378 maintenance settings.
7379 * gdb.base/default.exp: Update show_conv_list.
7380
d1e36019
TV
73812019-10-31 Tom de Vries <tdevries@suse.de>
7382
7383 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
7384 gdb_test.
7385 * gdb.arch/amd64-disp-step.exp: Same.
7386 * gdb.asm/asm-source.exp: Same.
7387 * gdb.btrace/buffer-size.exp: Same.
7388 * gdb.btrace/cpu.exp: Same.
7389 * gdb.btrace/enable.exp: Same.
7390 * gdb.dwarf2/count.exp: Same.
7391 * gdb.dwarf2/dw2-ranges-func.exp: Same.
7392 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
7393 * gdb.fortran/vla-datatypes.exp: Same.
7394 * gdb.fortran/vla-history.exp: Same.
7395 * gdb.fortran/vla-ptype.exp: Same.
7396 * gdb.fortran/vla-value.exp: Same.
7397 * gdb.fortran/whatis_type.exp: Same.
7398 * gdb.guile/guile.exp: Same.
7399 * gdb.multi/tids.exp: Same.
7400 * gdb.python/py-finish-breakpoint.exp: Same.
7401 * gdb.python/py-framefilter.exp: Same.
7402 * gdb.python/py-pp-registration.exp: Same.
7403 * gdb.python/py-xmethods.exp: Same.
7404 * gdb.python/python.exp: Same.
7405 * gdb.server/connect-with-no-symbol-file.exp: Same.
7406 * gdb.server/no-thread-db.exp: Same.
7407 * gdb.server/run-without-local-binary.exp: Same.
7408 * gdb.stabs/weird.exp: Same.
7409 * gdb.threads/attach-many-short-lived-threads.exp: Same.
7410 * gdb.threads/thread-find.exp: Same.
7411 * gdb.threads/tls-shared.exp: Same.
7412 * gdb.threads/tls.exp: Same.
7413 * gdb.threads/wp-replication.exp: Same.
7414 * gdb.trace/ax.exp: Same.
7415 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
7416
3d11e68e
TV
74172019-10-31 Tom de Vries <tdevries@suse.de>
7418
7419 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
7420 * gdb.ada/array_subscript_addr.exp: Same.
7421 * gdb.ada/arrayidx.exp: Same.
7422 * gdb.ada/arrayparam.exp: Same.
7423 * gdb.ada/arrayptr.exp: Same.
7424 * gdb.ada/boolean_expr.exp: Same.
7425 * gdb.ada/call_pn.exp: Same.
7426 * gdb.ada/complete.exp: Same.
7427 * gdb.ada/fixed_cmp.exp: Same.
7428 * gdb.ada/fun_addr.exp: Same.
7429 * gdb.ada/funcall_param.exp: Same.
7430 * gdb.ada/interface.exp: Same.
7431 * gdb.ada/mod_from_name.exp: Same.
7432 * gdb.ada/null_array.exp: Same.
7433 * gdb.ada/packed_array.exp: Same.
7434 * gdb.ada/packed_tagged.exp: Same.
7435 * gdb.ada/print_chars.exp: Same.
7436 * gdb.ada/print_pc.exp: Same.
7437 * gdb.ada/ptype_arith_binop.exp: Same.
7438 * gdb.ada/ptype_field.exp: Same.
7439 * gdb.ada/ptype_tagged_param.exp: Same.
7440 * gdb.ada/rec_return.exp: Same.
7441 * gdb.ada/ref_tick_size.exp: Same.
7442 * gdb.ada/str_ref_cmp.exp: Same.
7443 * gdb.ada/taft_type.exp: Same.
7444 * gdb.ada/tagged.exp: Same.
7445 * gdb.ada/type_coercion.exp: Same.
7446 * gdb.ada/uninitialized_vars.exp: Same.
7447
60b6ede8
TV
74482019-10-30 Tom de Vries <tdevries@suse.de>
7449
7450 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
7451
30baf67b
TV
74522019-10-26 Tom de Vries <tdevries@suse.de>
7453
7454 * gdb.base/bigcore.c: Fix typos in comments.
7455 * gdb.base/ctf-ptype.c: Same.
7456 * gdb.base/long_long.c: Same.
7457 * gdb.dwarf2/dw2-op-out-param.S: Same.
7458 * gdb.python/py-evthreads.c: Same.
7459 * gdb.reverse/i387-stack-reverse.c: Same.
7460 * gdb.trace/tfile.c: Same.
7461 * lib/compiler.c: Same.
7462 * lib/compiler.cc: Same.
7463
158da0d1
TV
74642019-10-25 Tom de Vries <tdevries@suse.de>
7465
7466 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
7467 gdb_test_multiple calls.
7468 * gdb.reverse/sigall-reverse.exp: Same.
7469 * gdb.reverse/solib-precsave.exp: Same.
7470 * gdb.reverse/solib-reverse.exp: Same.
7471 * gdb.reverse/until-precsave.exp: Same.
7472 * gdb.reverse/until-reverse.exp: Same.
7473
4ccdfbec
TV
74742019-10-24 Tom de Vries <tdevries@suse.de>
7475
7476 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
7477 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
7478 kfail using -wrap pattern flag and convenience variable
7479 gdb_test_name.
7480
33d569b7
AB
74812019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
7482
7483 * gdb.python/py-progspace.exp: Add tests for the
7484 Progspace.block_for_pc method.
7485
4d0b984b
TT
74862019-10-23 Tom Tromey <tom@tromey.com>
7487
7488 * configure: Rebuild.
7489 * aclocal.m4: Use m4_include, not sinclude.
7490
94cb3754
TV
74912019-10-21 Tom de Vries <tdevries@suse.de>
7492
7493 * gdb.base/infcall-nested-structs.c: Add
7494 __attribute__((noinline,noclone)) to all functions.
7495 (call_all): Add missing variable initialization. Simplify return value.
7496 (breakpt): Increment volatile variable, to prevent call from being
7497 optimized out.
7498 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
7499
062f1fc1
TV
75002019-10-17 Tom de Vries <tdevries@suse.de>
7501
7502 * gdb.fortran/module.exp: Allow info variables to print info for files
7503 other than module.f90.
7504
0b54364d
AB
75052019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7506
7507 * gdb.fortran/module.exp: Extend with 'info variables' test.
7508
7ff5fae7
AB
75092019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7510
7511 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
7512 F77_FOR_TARGET.
7513
d10eccaa
TV
75142019-10-16 Tom de Vries <tdevries@suse.de>
7515
7516 PR tdep/25096
7517 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
7518
745ff14e
TV
75192019-10-16 Tom de Vries <tdevries@suse.de>
7520
7521 PR tdep/24104
7522 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
7523 Add KFAIL for PR tdep/25096.
7524
03e1ab94
TV
75252019-10-16 Tom de Vries <tdevries@suse.de>
7526
7527 PR testsuite/25059
7528 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
7529
b17fcc10
TV
75302019-10-16 Tom de Vries <tdevries@suse.de>
7531
7532 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
7533 as signed.
7534
9223170f
SM
75352019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
7536
7537 * gdb.mi/list-thread-groups-available.exp: Read entries one by
7538 one instead of increasing timeout.
7539
d6e76313
TV
75402019-10-13 Tom de Vries <tdevries@suse.de>
7541
7542 PR record/25038
7543 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
7544 * gdb.reverse/sigall-reverse.exp: Same.
7545 * gdb.reverse/solib-precsave.exp: Same.
7546 * gdb.reverse/solib-reverse.exp: Same.
7547 * gdb.reverse/step-precsave.exp: Same.
7548 * gdb.reverse/until-precsave.exp: Same.
7549 * gdb.reverse/until-reverse.exp: Same.
7550 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
7551
6dfc0041
AA
75522019-10-10 Andreas Arnez <arnez@linux.ibm.com>
7553
7554 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
7555 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
7556 (cmp_struct_05_01, cmp_struct_static_02_01)
7557 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
7558 comparisons.
7559
abcf2cc8
TV
75602019-10-10 Tom de Vries <tdevries@suse.de>
7561
7562 PR testsuite/24888
7563 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7564 gnatlink.
7565
a50faaf6
TV
75662019-10-09 Tom de Vries <tdevries@suse.de>
7567
7568 PR testsuite/25048
7569 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
7570
60ff3cd7
AB
75712019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7572
7573 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
7574 exceptions due to missing debug information.
7575
dfee8566
TV
75762019-10-07 Tom de Vries <tdevries@suse.de>
7577
7578 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
7579
3d63690a
AB
75802019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7581
7582 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7583 * gdb.base/annota1.exp: Update to use gdb_test_name.
7584
30d1f018
WP
75852019-10-07 Weimin Pan <weimin.pan@oracle.com>
7586
7587 * gdb.base/ctf-whatis.exp: New file.
7588 * gdb.base/ctf-whatis.c: New file.
7589 * gdb.base/ctf-ptype.exp: New file.
7590 * gdb.base/ctf-ptype.c: New file.
7591 * gdb.base/ctf-constvars.exp: New file.
7592 * gdb.base/ctf-constvars.c: New file.
7593 * gdb.base/ctf-cvexpr.exp: New file.
7594
4dbbb47c
TV
75952019-10-04 Tom de Vries <tdevries@suse.de>
7596
7597 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7598 for loop.
7599
77c2dba3
TT
76002019-10-03 Tom Tromey <tom@tromey.com>
7601
7602 PR rust/24976:
7603 * gdb.rust/simple.rs (Union2): New type.
7604 (main): Use Union2.
7605 * gdb.rust/simple.exp: Add test.
7606
179aed7f
AB
76072019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7608
7609 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7610 nested function prefix.
7611
0a4b0913
AB
76122019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7613 Richard Bunt <richard.bunt@arm.com>
7614 Andrew Burgess <andrew.burgess@embecosm.com>
7615
7616 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7617 nested functions.
7618 * gdb.fortran/nested-funcs.f90: Update expected results.
7619 * gdb.fortran/nested-funcs-2.exp: New file.
7620 * gdb.fortran/nested-funcs-2.f90: New file.
7621
082cce05
AB
76222019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7623
7624 * gdb.python/py-parameter.exp: Make test names unique.
7625 * gdb.python/py-template.exp: Likewise.
7626 * gdb.python/py-value.exp: Likewise.
7627
2b74ba5a
AB
76282019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7629
7630 * gdb.base/break-interp.exp: Reduce test name duplication.
7631 * gdb.base/call-sc.exp: Likewise.
7632 * gdb.base/callfuncs.exp: Likewise.
7633 * gdb.base/charset.exp: Likewise.
7634 * gdb.base/dump.exp: Likewise.
7635 * gdb.base/ena-dis-br.exp: Likewise.
7636 * gdb.base/relational.exp: Likewise.
7637 * gdb.base/step-over-syscall.exp: Likewise.
7638 * gdb.base/structs.exp: Likewise.
7639
58eb20d5
AB
76402019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7641
7642 * gdb.linespec/explicit.exp: Make test names unique.
7643 * gdb.linespec/ls-errs.exp: Likewise.
7644
4d421147
AB
76452019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7646
7647 * gdb.reverse/break-precsave.exp: Make test names unique.
7648 * gdb.reverse/break-reverse.exp: Likewise.
7649 * gdb.reverse/finish-precsave.exp: Likewise.
7650 * gdb.reverse/finish-reverse.exp: Likewise.
7651 * gdb.reverse/machinestate-precsave.exp: Likewise.
7652 * gdb.reverse/machinestate.exp: Likewise.
7653 * gdb.reverse/readv-reverse.exp: Likewise.
7654 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7655 * gdb.reverse/sigall-precsave.exp: Likewise.
7656 * gdb.reverse/sigall-reverse.exp: Likewise.
7657 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7658 * gdb.reverse/watch-precsave.exp: Likewise.
7659 * gdb.reverse/watch-reverse.exp: Likewise.
7660
d8c06f22
AB
76612019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7662
7663 * gdb.threads/stop-with-handle.c: New file.
7664 * gdb.threads/stop-with-handle.exp: New file.
7665
3a56ed86
TV
76662019-10-03 Tom de Vries <tdevries@suse.de>
7667
7668 PR testsuite/25059
7669 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7670 directory" line to be missing.
7671
42275044
TV
76722019-10-03 Tom de Vries <tdevries@suse.de>
7673
7674 PR testsuite/25059
7675 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7676 type optional.
7677
9ef62df0
AA
76782019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7679
7680 * gdb.python/py-format-string.c (string.h): New include.
7681 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7682 the same value, for endianness-independence.
7683 * gdb.python/py-format-string.exp (default_regexp_dict)
7684 (test_pretty_structs, test_format): Adjust expected output to the
7685 changed initialization.
7686
37f6a7f4
TT
76872019-10-02 Tom Tromey <tromey@adacore.com>
7688
7689 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7690
1d58d6a2
PA
76912019-10-02 Pedro Alves <palves@redhat.com>
7692 Andrew Burgess <andrew.burgess@embecosm.com>
7693
7694 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7695 "print-file-var.h".
7696 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7697 (get_version_1): Print this_version_id and its address.
7698 Add extern "C" wrappers around interface functions.
7699 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7700 "print-file-var.h".
7701 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7702 (get_version_2): Print this_version_id and its address.
7703 Add extern "C" wrappers around interface functions.
7704 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7705 <stddef.h> and "print-file-var.h".
7706 Add extern "C" wrappers around interface functions.
7707 [VERSION_ID_MAIN] (this_version_id): Define.
7708 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7709 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7710 up extern "C" blocks.
7711 * gdb.base/print-file-var.exp (test): New, factored out from top
7712 level.
7713 (top level): Test all combinations of attribute hidden or not,
7714 dlopen or not, and this_version_id symbol in main file or not.
7715 Compile tests as both C++ and C, make test names unique.
7716
d770d56f
TT
77172019-10-01 Tom Tromey <tom@tromey.com>
7718
7719 * gdb.base/style.exp: Test "show logging filename".
7720
7f6aba03
TT
77212019-10-01 Tom Tromey <tom@tromey.com>
7722
7723 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7724 * gdb.base/style.exp: Add metadata style test.
7725
14309bb6
TT
77262019-10-01 Tom Tromey <tom@tromey.com>
7727
7728 * gdb.base/style.exp: Test "pwd".
7729
2a3c1174
PA
77302019-10-01 Tom Tromey <tom@tromey.com>
7731
7732 * gdb.base/style.exp: Update tests.
7733
53d666ec
AA
77342019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7735
7736 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7737 'six' to unsigned.
7738 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7739 'five'. Use an all-ones bit pattern for each.
7740 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7741 to its changed values.
7742
4a56a520
TT
77432019-09-30 Tom Tromey <tromey@adacore.com>
7744
7745 * gdb.rust/traits.rs: Disable all warnings.
7746
0df0352a
TV
77472019-09-29 Tom de Vries <tdevries@suse.de>
7748
aac66a4c 7749 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 7750
73d9a918
TV
77512019-09-29 Tom de Vries <tdevries@suse.de>
7752
7753 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7754
060b3ab4
TV
77552019-09-27 Tom de Vries <tdevries@suse.de>
7756
7757 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7758
68f7d34d
TV
77592019-09-27 Tom de Vries <tdevries@suse.de>
7760
7761 PR record/23188
7762 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7763
5d63b30a
TT
77642019-09-26 Tom Tromey <tromey@adacore.com>
7765
7766 * gdb.ada/py_taft.exp: New file.
7767 * gdb.ada/py_taft/main.adb: New file.
7768 * gdb.ada/py_taft/pkg.adb: New file.
7769 * gdb.ada/py_taft/pkg.ads: New file.
7770
3d435220
TV
77712019-09-24 Tom de Vries <tdevries@suse.de>
7772
7773 PR gdb/24598
7774 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7775
77d03678
TV
77762019-09-22 Tom de Vries <tdevries@suse.de>
7777
7778 * gdb.base/restore.exp: Allow register variables to be optimized out at
7779 -O0.
7780
abf516c6
UW
77812019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7782
7783 * gdb.arch/spu-info.exp: Remove file.
7784 * gdb.arch/spu-info.c: Remove file.
7785 * gdb.arch/spu-ls.exp: Remove file.
7786 * gdb.arch/spu-ls.c: Remove file.
7787
7788 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7789 * gdb.asm/spu.inc: Remove file.
7790
7791 * gdb.base/dump.exp: Remove support for spu*-*-*.
7792 * gdb.base/stack-checking.exp: Likewise.
7793 * gdb.base/overlays.exp: Likewise.
7794 * gdb.base/ovlymgr.c: Likewise.
7795 * gdb.base/spu.ld: Remove file.
7796
7797 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7798 * gdb.cp/cpexprs.exp: Likewise.
7799 * gdb.cp/exception.exp: Likewise.
7800 * gdb.cp/gdb2495.exp: Likewise.
7801 * gdb.cp/mb-templates.exp: Likewise.
7802 * gdb.cp/pr9167.exp: Likewise.
7803 * gdb.cp/userdef.exp: Likewise.
7804
7805 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7806
7807 * gdb.cell: Remove directory.
7808 * lib/cell.exp: Remove file.
7809
e452e88f
TV
78102019-09-19 Tom de Vries <tdevries@suse.de>
7811
7812 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7813
8a625130
TV
78142019-09-19 Tom de Vries <tdevries@suse.de>
7815
7816 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7817
81dc3ab5
TV
78182019-09-19 Tom de Vries <tdevries@suse.de>
7819
7820 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7821 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7822 (gdb_target_cmd): ... here.
7823 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7824 value 2.
7825
b078f3ac
AB
78262019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7827
7828 * gdb.base/source-dir.exp: Avoid having directory names in test
7829 names.
7830
f1b620e9
MG
78312019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7832
7833 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7834 directory.
7835
67f3ed6a
AB
78362019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7837
7838 * gdb.base/list-missing-source.exp: New file.
7839
d1b70248
TV
78402019-09-14 Tom de Vries <tdevries@suse.de>
7841
7842 PR teststuite/24599
7843 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7844 * lib/ada.exp (gnatmake_version_at_least): New proc.
7845
5fabdcd6
AB
78462019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7847
7848 * gdb.base/maint.exp: Use exec_has_index_section.
7849
aa17805f
AB
78502019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7851
7852 * gdb.base/maint.exp: Add test for 'maint info sections'.
7853
25e5c209
TV
78542019-09-12 Tom de Vries <tdevries@suse.de>
7855
7856 * gdb.base/store.exp: Allow register variables to be optimized out at
7857 -O0.
7858
4993045d
PW
78592019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7860
7861 * gdb.ada/rdv_wait.exp: Update to new task names.
7862 * gdb.base/task_switch_in_core.exp: Likewise.
7863 * gdb.base/info_sources_base.c: Likewise.
7864
8a516164
TT
78652019-09-10 Tom Tromey <tromey@adacore.com>
7866
7867 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7868
aa391654
TT
78692019-09-10 Tom Tromey <tromey@adacore.com>
7870
7871 * gdb.ada/dgopt.exp: New file.
7872 * gdb.ada/dgopt/x.adb: New file.
7873
8634b462
TT
78742019-09-08 Tom Tromey <tom@tromey.com>
7875
7876 * gdb.tui/resize.exp: Remove setup_xfail.
7877 * gdb.tui/regs.exp: Remove setup_xfail.
7878 * gdb.tui/basic.exp: Remove setup_xfail.
7879
736b0f76
DB
78802019-09-06 David Blaikie <dblaikie@gmail.com>
7881
7882 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7883 * gdb.cp/cplabel.exp: Ditto.
7884 * gdb.linespec/ls-errs.exp: Ditto.
7885
30331a6c
TV
78862019-09-05 Tom de Vries <tdevries@suse.de>
7887
7888 * lib/gdb.exp (cmp_file_string): New proc.
7889 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7890 runto_main. Verify save breakpoints output.
7891
98b0ebab
PW
78922019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7893
7894 * gdb.base/info-var.exp: Test info variables without running
7895 to main, to avoid expect's buffer overflow.
7896
4e962e74
TT
78972019-09-03 Tom Tromey <tromey@adacore.com>
7898
7899 * gdb.ada/bias.exp: New file.
7900 * gdb.ada/bias/bias.adb: New file.
7901 * gdb.ada/print_chars.exp: Add regression test.
7902 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7903 (MC): New variable.
7904
2ea1a07a
SL
79052019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7906
7907 * gdb.base/argv0-symlink.exp: Run only on native target
7908 and local host.
7909
8077c50d
TV
79102019-08-29 Tom de Vries <tdevries@suse.de>
7911
7912 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7913 diverse debug info.
7914 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7915
48352473
TV
79162019-08-28 Tom de Vries <tdevries@suse.de>
7917
7918 * gdb.base/info-var.exp: Allow info variables to print info for files
7919 other than info-var-f1.c and info-var-f2.c.
7920
d8f27c60
AB
79212019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7922
7923 * gdb.fortran/info-types.exp: Add module.
7924 * gdb.fortran/info-types.f90: Update expected results.
7925
1f20c35e
AB
79262019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7927
7928 * gdb.fortran/info-types.exp: New file.
7929 * gdb.fortran/info-types.f90: New file.
7930 * lib/fortran.exp (fortran_character1): New proc.
7931
4acfdd20
AB
79322019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7933
7934 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7935 functions'. Reindent as needed.
7936 * gdb.base/info-var-f1.c: New file.
7937 * gdb.base/info-var-f2.c: New file.
7938 * gdb.base/info-var.exp: New file.
7939 * gdb.base/info-var.h: New file.
7940
5c31b358
TV
79412019-08-26 Tom de Vries <tdevries@suse.de>
7942
7943 PR c++/24852
7944 * gdb.cp/no-libstdcxx-probe.exp: New test.
7945
b694989f
TV
79462019-08-26 Tom de Vries <tdevries@suse.de>
7947
7948 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7949 * tests need to be skipped.
7950 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7951 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7952 mi_skip_libstdcxx_probe_tests.
7953
d9c4ba53
SDJ
79542019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7955
7956 * gdb.python/py-xmethods.exp: Use raw strings when passing
7957 arguments to SimpleXMethodMatcher.
7958
395fad09
TV
79592019-08-22 Tom de Vries <tdevries@suse.de>
7960
7961 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7962 more informative.
7963
26c957f1
PA
79642019-08-21 Pedro Alves <palves@redhat.com>
7965
7966 * gdb.base/with.exp: Test "with" with no arguments.
7967
61f80d5d
TV
79682019-08-21 Tom de Vries <tdevries@suse.de>
7969
7970 * gdb.base/gdb-caching-proc.exp: Sort files.
7971
d7a11d13
TV
79722019-08-20 Tom de Vries <tdevries@suse.de>
7973
7974 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7975 compilation.
7976
34dafe9f
TV
79772019-08-16 Tom de Vries <tdevries@suse.de>
7978
7979 * gdb.base/compare-sections.exp ("after run to main"): Allow
7980 mismatched read-only sections for PIE executables.
7981
398fdd60
TT
79822019-08-16 Tom Tromey <tom@tromey.com>
7983
7984 * lib/tuiterm.exp (_csi_Z): New proc.
7985 * gdb.tui/basic.exp: Update window positions.
7986 * gdb.tui/empty.exp: Update window positions.
7987
d8f9e51c
SL
79882019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7989
7990 * gdb.base/examine-backward.exp: Correct regexp for
7991 "examine 3 bytes backward from ${address_zero}".
7992
3df505f6
TT
79932019-08-15 Tom Tromey <tom@tromey.com>
7994
7995 * gdb.tui/empty.exp: Enable resizing tests.
7996
272560b5
TT
79972019-08-15 Tom Tromey <tromey@adacore.com>
7998
7999 * gdb.ada/char_enum.exp: Add regression tests.
8000 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
8001 and '0'.
8002 (Char, Gchar): Update.
8003 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
8004
08235187
CB
80052019-08-15 Christian Biesinger <cbiesinger@google.com>
8006
8007 * gdb.python/python.exp: Expect a leading underscore on
8008 GdbOutput{,Error}File.
8009
22a2ab04
SL
80102019-08-15 Sandra Loosemore <sandra@codesourcery.com>
8011
8012 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
8013 Windows host.
8014
835b995b
SL
80152019-08-15 Sandra Loosemore <sandra@codesourcery.com>
8016
8017 * gdb.base/batch-preserve-term-settings.exp
8018 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
8019
97dd8e07
CB
80202019-08-15 Christian Biesinger <cbiesinger@google.com>
8021
8022 * lib/gdb.exp: When running on a mingw target, replace
8023 /x/ with x:/.
8024
75faf5c4
AH
80252019-08-14 Alan Hayward <alan.hayward@arm.com>
8026
8027 * gdb.arch/aarch64-prologue.c: New test.
8028 * gdb.arch/aarch64-prologue.exp: New file.
8029
abc6c00f
TV
80302019-08-13 Tom de Vries <tdevries@suse.de>
8031
8032 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
8033 Thread.
8034
74c2c1f4
SL
80352019-08-13 Sandra Loosemore <sandra@codesourcery.com>
8036
8037 * gdb.python/py-completion.exp: Download the .py file to the host
8038 and use its host pathname. Conditionalize tests that use
8039 tab completion and manipulate files on the build machine.
8040 * gdb.python/py-events.exp: Download the .py file to the host
8041 and use its host pathname.
8042 * gdb.python/py-evsignal.exp: Likewise.
8043 * gdb.python/py-evthreads.exp: Likewise.
8044 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
8045 pathname syntax.
8046 * gdb.python/py-framefilter.exp: Download the .py file to the right
8047 place on the host. Match Windows pathname syntax.
8048 * gdb.python/py-mi-var-info-path-expression.exp: Download the
8049 .py file to the host and use its host pathname.
8050 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
8051 * gdb.python/py-objfile.exp: Expect a host pathname, not a
8052 build pathname. Skip symlink test on Windows host. Add missing
8053 newline at end of file.
8054 * gdb.python/py-pp-maint.exp: Download the .py file to the host
8055 and use its host pathname.
8056 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
8057 * gdb.python/py-section-script.exp: Use host location of binfile
8058 on safe-path. Use correct path separator on Windows host.
8059 Reorder alternatives in gdb_test_multiple to prevent matching
8060 the wrong alternative on success.
8061 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
8062
ca2589f3
PP
80632019-08-12 Patrick Palka <patrick@parcs.ath.cx>
8064
8065 * gdb.gdb/selftest.exp (test_with_self): Update test to now
8066 expect the GDB inferior to no longer immediately stop after
8067 being resumed with "signal SIGINT".
8068
020a839d
SL
80692019-08-09 Sandra Loosemore <sandra@codesourcery.com>
8070
8071 * gdb.linespec/break-ask.exp: Generalize regexps to match
8072 Windows pathnames too.
8073
128d6509
TV
80742019-08-08 Tom de Vries <tdevries@suse.de>
8075
8076 PR testsuite/24862
8077 * lib/tuiterm.exp (_accept): Fix CSI regexp.
8078
590042fc
PW
80792019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8080
8081 * gdb.base/style.exp: Update tests for help doc new invariants.
8082 * gdb.base/help.exp: Likewise.
8083
046bebe1
TT
80842019-08-06 Tom Tromey <tom@tromey.com>
8085
8086 * gdb.base/style.exp: Add disassemble test.
8087 * gdb.base/style.c (some_called_function): New function.
8088 (main): Use it.
8089
0b27c27d
CB
80902019-08-05 Christian Biesinger <cbiesinger@google.com>
8091
8092 * gdb.python/py-block.exp: Test dictionary access on blocks.
8093
580f1034
SM
80942019-08-05 Simon Marchi <simon.marchi@efficios.com>
8095
8096 PR gdb/24863
8097 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
8098 -list-thread-groups --available test when running under
8099 check-read1.
8100
d86bd7cb
TV
81012019-08-05 Tom de Vries <tdevries@suse.de>
8102
8103 PR testsuite/24863
8104 * lib/gdb.exp (with_read1_timeout_factor): New proc.
8105 * gdb.base/help.exp: Use with_read1_timeout_factor.
8106 * gdb.base/info-macros.exp: Same.
8107 * gdb.cp/nested-types.exp: Same.
8108
a80cf5d8
TV
81092019-08-05 Tom de Vries <tdevries@suse.de>
8110
8111 * lib/gdb.exp (version_at_least): Factor out of ...
8112 (tcl_version_at_least): ... here.
8113 (gdb_compile): Fail if pie results in non-PIE executable.
8114 (readelf_version, readelf_prints_pie): New proc.
8115 (exec_is_pie): Return -1 if unknown.
8116
d0962838
TV
81172019-08-05 Tom de Vries <tdevries@suse.de>
8118
8119 * lib/gdb.exp (tcl_version_at_least): Fix typo.
8120
2252ff3d
SL
81212019-08-04 Sandra Loosemore <sandra@codesourcery.com>
8122
8123 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
8124
26655f53
SL
81252019-08-04 Sandra Loosemore <sandra@codesourcery.com>
8126
8127 * lib/completion-support.exp (test_gdb_complete_none): Skip
8128 tab completion tests if no readline support.
8129 (test_gdb_complete_unique_re): Likewise.
8130 (test_gdb_complete_multiple): Likewise.
8131
db4dc13e
PW
81322019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8133
8134 * gdb.base/info_sources.exp: New file.
8135 * gdb.base/info_sources.c: New file.
8136 * gdb.base/info_sources_base.c: New file.
8137
0eba165a
PFC
81382019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8139
8140 * gdb.base/batch-exit-status.exp: Call test_exit_status with
8141 prefix argument.
8142 (test_exit_status): Add prefix argument.
8143
59bd512b
TV
81442019-08-01 Tom de Vries <tdevries@suse.de>
8145
8146 PR testsuite/24863
8147 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
8148 calling exp_continue for new thread and thread exited messages.
8149
2a3ad588
TV
81502019-08-01 Tom de Vries <tdevries@suse.de>
8151
8152 PR testsuite/24863
8153 * gdb.base/structs.exp: Fix check-read1 timeout using
8154 gdb_test_sequence.
8155 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
8156
117eb594
TV
81572019-08-01 Tom de Vries <tdevries@suse.de>
8158
8159 PR testsuite/24863
8160 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
8161 line.
8162
ed591340
TV
81632019-08-01 Tom de Vries <tdevries@suse.de>
8164
8165 PR testsuite/24863
8166 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
8167
aa3b6533
TT
81682019-07-30 Tom Tromey <tromey@adacore.com>
8169
8170 * gdb.ada/display_nested.exp: New file.
8171 * gdb.ada/display_nested/foo.adb: New file.
8172 * gdb.ada/display_nested/pack.adb: New file.
8173 * gdb.ada/display_nested/pack.ads: New file.
8174
2906593f
CB
81752019-07-30 Christian Biesinger <cbiesinger@google.com>
8176
8177 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
8178 namespace.
8179 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
8180
0f575925
TV
81812019-07-30 Tom de Vries <tdevries@suse.de>
8182
8183 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
8184 instead.
8185
b13057d9
TV
81862019-07-30 Tom de Vries <tdevries@suse.de>
8187
8188 PR testsuite/24834
8189 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
8190 (exec_is_pie): New proc.
8191
5c4dde85
CB
81922019-07-29 Christian Biesinger <cbiesinger@google.com>
8193
8194 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
8195
c620ed88
CB
81962019-07-29 Christian Biesinger <cbiesinger@google.com>
8197
8198 * gdb.python/py-objfile.c: Add global and static vars.
8199 * gdb.python/py-objfile.exp: Test new functions Objfile.
8200 lookup_global_symbol and lookup_static_symbol.
8201
3d235706
TT
82022019-07-29 Tom Tromey <tom@tromey.com>
8203
8204 * lib/tuiterm.exp (Term::_csi_@): New proc.
8205 (Term::_csi_X): Don't move cursor.
8206
c7e4c0a6
PW
82072019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8208
8209 * gdb.base/options.exp: Update backtrace - completion to
8210 new option -frame-info.
8211 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
8212 Test new 'set print frame-info'. Test backtrace -frame-info
8213 overriding 'set print frame-info'.
8214 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
8215 Test new 'set print frame-info'.
8216 Verify consistency of backtrace with and without filters, with and
8217 without -no-filters.
8218 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
8219 default.
8220
de28a3b7
TV
82212019-07-29 Tom de Vries <tdevries@suse.de>
8222
8223 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
8224 no arguments".
8225
507dd60e
TV
82262019-07-29 Tom de Vries <tdevries@suse.de>
8227
8228 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
8229 is a substring of the first for "complete non-unique file name".
8230
5beafce9
TV
82312019-07-29 Tom de Vries <tdevries@suse.de>
8232
8233 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
8234 with ".*".
8235
2d274232
TV
82362019-07-29 Tom de Vries <tdevries@suse.de>
8237
8238 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
8239 Pass prompt_regexp parameter to gdb_test_multiple calls.
8240
9197cd8b
TV
82412019-07-29 Tom de Vries <tdevries@suse.de>
8242
8243 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 8244 print registers" regexps.
9197cd8b 8245
b528dae0
TV
82462019-07-29 Tom de Vries <tdevries@suse.de>
8247
8248 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
8249
d17725d7
TV
82502019-07-29 Tom de Vries <tdevries@suse.de>
8251
8252 PR gdb/24855
8253 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
8254 (skip_python_tests_prompt): Add prompt_regexp argument to
8255 gdb_test_multiple calls.
8256
52b75bf1
TT
82572019-07-27 Tom Tromey <tom@tromey.com>
8258
8259 * gdb.tui/main.exp: New file.
8260
2b1d00c2
TT
82612019-07-27 Tom Tromey <tom@tromey.com>
8262
8263 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
8264 optional.
8265 * gdb.tui/empty.exp: New file.
8266
ded631d5
TT
82672019-07-27 Tom Tromey <tom@tromey.com>
8268
8269 * lib/tuiterm.exp (spawn): New proc.
8270 (Term::resize): New proc.
8271 * gdb.tui/resize.exp: New file.
8272
58ac439d
TT
82732019-07-27 Tom Tromey <tom@tromey.com>
8274
8275 * gdb.tui/list.exp: New file.
8276
fe1f56ee
TT
82772019-07-27 Tom Tromey <tom@tromey.com>
8278
8279 * gdb.tui/regs.exp: New file.
8280
f790b310
TT
82812019-07-27 Tom Tromey <tom@tromey.com>
8282
8283 * gdb.tui/basic.exp: Add "layout split" test.
8284
d95fc6ee
TT
82852019-07-27 Tom Tromey <tom@tromey.com>
8286
8287 * gdb.tui/basic.exp: Add "layout asm" test.
8288
c3786b3a
TT
82892019-07-27 Tom Tromey <tom@tromey.com>
8290
8291 * lib/tuiterm.exp: New file.
8292 * gdb.tui/basic.exp: New file.
8293
98a617f8
KB
82942019-07-27 Kevin Buettner <kevinb@redhat.com>
8295
8296 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
8297 Enable tests associated with this flag. Adjust regex
8298 referencing "foo_low" to now refer to "foo_cold" instead.
8299
5c076da4
KB
83002019-07-27 Kevin Buettner <kevinb@redhat.com>
8301
8302 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
8303 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
8304 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
8305 foo_cold. Revise comments to match.
8306 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
8307 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
8308 were wrapped into this proc; Call do_test in loop from outermost
8309 level.
8310 (foo_low): Rename all occurrences to "foo_cold".
8311 (backtrace from baz): New test.
8312 (x2/i foo_cold): New test.
8313 (info line *foo_cold): New test.
8314
1512d3b7
TV
83152019-07-26 Tom de Vries <tdevries@suse.de>
8316
8317 * gdb.arch/i386-pkru.exp: Fix unterminated string.
8318
297989a1
TV
83192019-07-25 Tom de Vries <tdevries@suse.de>
8320
8321 PR testsuite/24830
8322 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
8323 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
8324 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
8325 (skip_libstdcxx_probe_tests): ... here.
8326 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
8327
b3b965fb
TV
83282019-07-24 Tom de Vries <tdevries@suse.de>
8329
8330 PR testsuite/24807
8331 * gdb.objc/basicclass.m: Include stdio.h.
8332 * gdb.objc/nondebug.m: Same.
8333 * gdb.objc/objcdecode.m: Same.
8334
4625b4d0
TV
83352019-07-24 Tom de Vries <tdevries@suse.de>
8336
8337 PR testsuite/24612
8338 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
8339 additional_flags.
8340
024a5840
TV
83412019-07-24 Tom de Vries <tdevries@suse.de>
8342
8343 PR testsuite/24831
8344 * gdb.multi/tids.exp: Update error messages for info threads.
8345
c76ddaa3
TV
83462019-07-24 Tom de Vries <tdevries@suse.de>
8347
8348 * gdb.base/info-types.exp: Allow info types to print info for more than
8349 one file.
8350
9a618ef6
TV
83512019-07-23 Tom de Vries <tdevries@suse.de>
8352
8353 PR testsuite/24842
8354 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
8355 gdb_spawn_with_cmdline_opts.
8356
40eadf04
SP
83572019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
8358
8359 * gdb.arch/arm-cmse-sgstubs.c: New test.
8360 * gdb.arch/arm-cmse-sgstubs.exp: New file.
8361
5ba29434
TV
83622019-07-23 Tom de Vries <tdevries@suse.de>
8363
8364 PR testsuite/24711
8365 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
8366 issuing next command.
8367
a8e9d247
AB
83682019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
8369
8370 * gdb.ada/info_auto_lang.exp: Update expected results.
8371 * gdb.base/info-types.c: Add additional types to check.
8372 * gdb.base/info-types.exp: Update expected results.
8373
eb86c5e2
AB
83742019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
8375
8376 * gdb.base/info-types.c: New file.
8377 * gdb.base/info-types.exp: New file.
8378
01e175fe
AB
83792019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
8380
8381 * gdb.arch/riscv-bp-infcall.c: New file.
8382 * gdb.arch/riscv-bp-infcall.exp: New file.
8383
6b78c3f8
AB
83842019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
8385
8386 PR breakpoints/24541
8387 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
8388
da738167
TV
83892019-07-14 Tom de Vries <tdevries@suse.de>
8390
8391 PR testsuite/24760
8392 * gdb.objc/basicclass.exp: Fix unterminated string.
8393
0d4e84ed
AB
83942019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
8395 Andrew Burgess <andrew.burgess@embecosm.com>
8396
8397 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
8398 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
8399 negative bounds.
8400 * gdb.fortran/vla-value.exp: Print elements of an array with
8401 negative bounds.
8402 * gdb.fortran/vla.f90: Setup an array with negative bounds for
8403 testing.
8404
021d8588
AB
84052019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
8406
8407 * gdb.base/options.exp (expect_string): Dequote strings in
8408 results.
8409 (test-string): Test strings with different quoting and reindent.
8410
f06f1252
TT
84112019-07-10 Tom Tromey <tromey@adacore.com>
8412
8413 * gdb.ada/mi_ex_cond.exp: Update expected results.
8414 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
8415 * gdb.ada/mi_catch_ex.exp: Update expected results.
8416 * gdb.ada/mi_catch_assert.exp: Update expected results.
8417 * gdb.ada/catch_ex.exp (catch_exception_info)
8418 (catch_exception_entry, catch_assert_entry)
8419 (catch_unhandled_entry): Update.
8420 * gdb.ada/catch_assert_if.exp: Update expected results.
8421
b863685d
RB
84222019-07-10 Richard Bunt <richard.bunt@arm.com>
8423 Stephen Roberts <stephen.roberts@arm.com>
8424
8425 * gdb.base/define.exp: Restore original prompt.
8426
cb1e4e32
PA
84272019-07-09 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
8430 breakpoints" output.
8431 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
8432 * gdb.python/py-breakpoint.exp: No longer expect that "catch
8433 throw" creates breakpoint.
8434 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
8435 'type="catchpoint"'.
8436
b58a68fe
PA
84372019-07-09 Pedro Alves <palves@redhat.com>
8438
8439 PR c++/15468
8440 * gdb.cp/except-multi-location-lib.cc: New.
8441 * gdb.cp/except-multi-location-main.cc: New.
8442 * gdb.cp/except-multi-location.exp: New.
8443
0826779b
PW
84442019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
8445
8446 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
8447 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
8448 argument and update callers.
8449
5b0e2db4
AB
84502019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8451
8452 * gdb.arch/amd64-break-on-asm-line.S: New file.
8453 * gdb.arch/amd64-break-on-asm-line.exp: New file.
8454
1f6f6e21
PW
84552019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8456
8457 * gdb.base/printcmds.exp: Test printing C string and
8458 C wide string convenience vars without transiting via the inferior.
8459 Also make test names unique.
8460
ea142fbf
AH
84612019-07-08 Alan Hayward <alan.hayward@arm.com>
8462
5862c886 8463 PR breakpoints/25011
ea142fbf
AH
8464 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
8465
213fd9fa
PA
84662019-07-04 Pedro Alves <palves@redhat.com>
8467
8468 * lib/gdb.exp (foreach_with_prefix): Don't return early if
8469 body returned ok(0), break(3) or continue(4).
8470 * gdb.testsuite/foreach_with_prefix.exp: New file.
8471
2b40fda7
AH
84722019-07-04 Alan Hayward <alan.hayward@arm.com>
8473
8474 * gdb.server/unittest.exp: Allow 0 unit tests to run.
8475
a26c8de0
PA
84762019-07-03 Pedro Alves <palves@redhat.com>
8477
8478 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
8479 "return -code".
8480
5f4ba3e7
PA
84812019-07-03 Pedro Alves <palves@redhat.com>
8482
8483 PR cli/24732
8484 * gdb.base/shell.exp: Load completion-support.exp.
8485 Adjust expected error output. Add completion tests.
8486
a994424f
PA
84872019-07-03 Pedro Alves <palves@redhat.com>
8488
8489 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
8490 string_to_regexp.
8491
3d9be6f5
PA
84922019-07-03 Pedro Alves <palves@redhat.com>
8493
8494 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
8495 (expect_integer): Adjust to expect "-string".
8496 (expect_string): New.
8497 (all_options): Expect "-string".
8498 (test-flag, test-boolean): Adjust to expect "-string".
8499 (test-string): New proc.
8500 (top level): Call it.
8501
41fc454c
PA
85022019-07-03 Pedro Alves <palves@redhat.com>
8503
8504 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
8505 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
8506 the expected output in the success.
8507
b2b2a215
PA
85082019-07-03 Pedro Alves <palves@redhat.com>
8509
8510 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8511 Split one gdb_test_multiple call in two to avoid a race.
8512
fdbc9870
PA
85132019-07-03 Pedro Alves <palves@redhat.com>
8514
8515 * gdb.base/with.c: New file.
8516 * gdb.base/with.exp: New file.
8517
c6ac8931
PA
85182019-07-03 Pedro Alves <palves@redhat.com>
8519
8520 * gdb.base/settings.exp: Replace all references to "maint
8521 test-settings set" with references to "maint set test-settings",
8522 and all references to "maint test-settings show" with references
8523 to "maint show test-settings".
8524
970f9d09
PA
85252019-07-03 Pedro Alves <palves@redhat.com>
8526
8527 * gdb.base/settings.exp (test-string): Adjust expected out when
8528 testing "maint test-settings show filename"
8529
54d66006
PA
85302019-07-02 Pedro Alves <palves@redhat.com>
8531
8532 * gdb.base/options.exp (test-info-threads): New procedure.
8533 (top level): Call it.
8534
10d06d82
TT
85352019-06-28 Tom Tromey <tromey@adacore.com>
8536
8537 * gdb.dwarf2/ada-linkage-name.c: New file.
8538 * gdb.dwarf2/ada-linkage-name.exp: New file.
8539
3d507ff2
TT
85402019-06-27 Tom Tromey <tromey@adacore.com>
8541
d039f014 8542 PR c++/20020:
3d507ff2
TT
8543 * gdb.cp/constexpr-field.exp: Use setup_xfail.
8544
8af58ffe
TV
85452019-06-26 Tom de Vries <tdevries@suse.de>
8546
8547 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
8548
22e21752
TV
85492019-06-26 Tom de Vries <tdevries@suse.de>
8550
8551 * gdb.base/index-cache.exp: Add back missing debug option.
8552
b65b566c
PW
85532019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8554
8555 * gdb.base/alias.exp: Test non matching/non existing prefixes.
8556
5c2c8c69
TV
85572019-06-25 Tom de Vries <tdevries@suse.de>
8558
8559 PR testsuite/24727
8560 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
8561
164e3873
TV
85622019-06-24 Tom de Vries <tdevries@suse.de>
8563
8564 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
8565
824eacee
TV
85662019-06-24 Tom de Vries <tdevries@suse.de>
8567
8568 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
8569 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
8570 * gdb.trace/unavailable-dwarf-piece.exp: Same.
8571
385b97d3
TV
85722019-06-24 Tom de Vries <tdevries@suse.de>
8573
8574 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
8575
c596f180
TV
85762019-06-21 Tom de Vries <tdevries@suse.de>
8577
8578 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
8579
b13a7d03
TV
85802019-06-21 Tom de Vries <tdevries@suse.de>
8581
8582 PR testsuite/24518
8583 PR ada/24713
8584 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8585 index.
8586
899277ae
TT
85872019-06-19 Tom Tromey <tromey@adacore.com>
8588
8589 * gdb.ada/length_cond.exp: Add intro comment.
8590
680e1bee
TT
85912019-06-19 Tom Tromey <tromey@adacore.com>
8592
8593 * gdb.ada/length_cond.exp: New file.
8594 * gdb.ada/length_cond/length_cond.adb: New file.
8595 * gdb.ada/length_cond/pck.adb: New file.
8596 * gdb.ada/length_cond/pck.ads: New file.
8597
0ed4690a
TV
85982019-06-18 Tom de Vries <tdevries@suse.de>
8599
8600 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8601
d20ed5fd
TT
86022019-06-18 Tom Tromey <tromey@adacore.com>
8603
8604 * gdb.base/list0.h: Add comment explaining control character.
8605
86e04673
TV
86062019-06-18 Tom de Vries <tdevries@suse.de>
8607
8608 * boards/fission.exp: Break up long debug_flags line.
8609
c4973306
SM
86102019-06-16 Tom de Vries <tdevries@suse.de>
8611
8612 PR gdb/24445
8613 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8614 generated index.
8615
93cb9841
AB
86162019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8617
8618 PR gdb/24686
8619 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8620 improve detection of bug gdb/24541.
8621
399aaebd
SM
86222019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8623
8624 PR gdb/24669
8625 * gdb.base/index-cache.exp (uses_readnow,
8626 expecting_index_cache_use): Define global variable.
8627 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8628 expecting_index_cache_use.
8629
584a927c
AB
86302019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8631 Andrew Burgess <andrew.burgess@embecosm.com>
8632
8633 * gdb.fortran/pointers.f90: New file.
8634 * gdb.fortran/print_type.exp: New file.
8635 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8636 * gdb.fortran/vla-type.exp: Likewise.
8637 * gdb.fortran/vla-value.exp: Likewise.
8638 * gdb.mi/mi-vla-fortran.exp: Likewise.
8639
30056ea0
AB
86402019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8641
8642 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8643 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8644 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8645 as a stop reason.
8646
ec8e2b6d
AB
86472019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8648
8649 * gdb.base/annota1.exp: Update expected results.
8650 * gdb.cp/annota2.exp: Likewise.
8651 * gdb.cp/annota3.exp: Likewise.
8652
09e4c4e1
AB
86532019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8654
8655 * gdb.base/style-logging.exp: Remove path from test name.
8656
0735b091
TT
86572019-06-14 Tom Tromey <tromey@adacore.com>
8658
8659 PR gdb/24502:
8660 * gdb.base/style-logging.exp: New file.
8661
f5686554
TT
86622019-06-14 Tom Tromey <tromey@adacore.com>
8663
8664 * gdb.base/symfile-warn.exp: New file.
8665 * gdb.base/symfile-warn.c: New file.
8666
a0c1ffed
TT
86672019-06-14 Tom Tromey <tromey@adacore.com>
8668
8669 * gdb.base/annotate-symlink.exp: New file.
8670
f411722c
TT
86712019-06-14 Tom Tromey <tromey@adacore.com>
8672
8673 * gdb.ada/set_wstr.exp: Add reassignment test.
8674
4268ec18
TT
86752019-06-14 Tom Tromey <tromey@adacore.com>
8676
8677 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8678 'unchecked_access and 'unrestricted_access as well.
8679
9a9e394b
TT
86802019-06-14 Tom Tromey <tromey@adacore.com>
8681
8682 PR ada/24539:
8683 * gdb.ada/vla.exp: Update tests.
8684 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8685 pragma.
8686
4c048731
PA
86872019-06-13 Pedro Alves <palves@redhat.com>
8688
8689 * gdb.base/settings.exp (test-integer): Test junk after
8690 "unlimited".
8691
6665660a
PA
86922019-06-13 Pedro Alves <palves@redhat.com>
8693
8694 * gdb.base/options.exp (test-thread-apply): New.
8695 (top level): Call it.
8696
5d707134
PA
86972019-06-13 Pedro Alves <palves@redhat.com>
8698
8699 * gdb.base/options.exp (test-frame-apply): New.
8700 (top level): Test print commands with different "frame apply"
8701 prefixes.
8702
e2a689da
PA
87032019-06-13 Pedro Alves <palves@redhat.com>
8704
e79be6e5 8705 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
8706 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8707 'max_completions' parameter and handle it.
8708 (test_gdb_completion_offers_commands): New.
8709
90a1ef87
PA
87102019-06-13 Pedro Alves <palves@redhat.com>
8711
8712 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8713
d4c16835
PA
87142019-06-13 Pedro Alves <palves@redhat.com>
8715
8716 * gdb.base/options.exp (test-backtrace): New.
8717 (top level): Call it.
8718
2daf894e
PA
87192019-06-13 Pedro Alves <palves@redhat.com>
8720
8721 * gdb.guile/scm-frame-args.exp: Use "set print
8722 raw-frame-arguments" instead of "set print raw frame-arguments".
8723 * gdb.python/py-frame-args.exp: Likewise.
8724
e6ed716c
PA
87252019-06-13 Pedro Alves <palves@redhat.com>
8726
8727 * gdb.compile/compile.exp: Adjust expected output to option
8728 processing changes.
8729
7d8062de
PA
87302019-06-13 Pedro Alves <palves@redhat.com>
8731
8732 * gdb.base/options.exp: Build executable.
8733 (test-print): New procedure.
8734 (top level): Call it, once for "print" and another for "compile
8735 print".
8736
9d0faba9
PA
87372019-06-13 Pedro Alves <palves@redhat.com>
8738
8739 * gdb.base/options.c: New file.
8740 * gdb.base/options.exp: New file.
8741
dee7b4c8
PA
87422019-06-13 Pedro Alves <palves@redhat.com>
8743
8744 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8745 that "o" is ambiguous.
8746
dca0f6c0
PA
87472019-06-13 Pedro Alves <palves@redhat.com>
8748
8749 * gdb.base/settings.c: New file.
8750 * gdb.base/settings.exp: New file.
8751
ccf46844
PA
87522019-06-13 Pedro Alves <palves@redhat.com>
8753
8754 * gdb.base/completion.exp: Fix comment typo.
8755
b9a3f842
PA
87562019-06-13 Pedro Alves <palves@redhat.com>
8757
8758 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8759 foo --1" test.
8760
d106773e
PA
87612019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8762
8763 * gdb.fortran/block-data.f: New.
8764 * gdb.fortran/block-data.exp: New.
8765
fea82da0
TV
87662019-06-11 Tom de Vries <tdevries@suse.de>
8767
8768 PR testsuite/24521
8769 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8770 message.
8771
8c2e74f1
TV
87722019-06-11 Tom de Vries <tdevries@suse.de>
8773
8774 PR testsuite/24521
8775 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8776
b49851c8
TV
87772019-06-11 Tom de Vries <tdevries@suse.de>
8778
8779 * boards/readnow.exp: New file.
8780
a7067863
AB
87812019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8782
8783 * gdb.fortran/vla-sizeof.exp: Update expected results.
8784
1a3da2cd
AB
87852019-06-06 Amos Bird <amosbird@gmail.com>
8786
8787 * gdb.base/annota1.exp (thread_switch): Add test for
8788 thread-exited annotation.
8789
3847a7bf
TT
87902019-06-06 Tom Tromey <tromey@adacore.com>
8791
8792 * gdb.base/maint.exp: Expect command started/finished output.
8793
0088ba59
AB
87942019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8795
8796 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8797 comment.
8798 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8799
312617a3
AB
88002019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8801
8802 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8803 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8804 * gdb.arch/riscv-unwind-long-insn.c: New file.
8805 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8806
e1f2e1a2
CB
88072019-06-04 Christian Biesinger <cbiesinger@google.com>
8808
d3238f7d 8809 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 8810
206584bd
PW
88112019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8812
8813 * lib/gdb.exp (help_list_trailer): New regexp variable
8814 factorizing the help trailer message.
8815 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8816 arg to allow to better factorize various tests.
8817 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8818 (test_prefix_command_help): Use help_list_trailer.
8819 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8820 * gdb.guile/scm-cmd.exp: Likewise.
8821 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8822 * gdb.base/help.exp: Use test_user_defined_class_help.
8823 * gdb.base/style.exp: Add tests for styling of help and apropos.
8824 * lib/gdb-utils.exp (style): Add title and highlight styles.
8825
708dc93e
PW
88262019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8827
8828 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8829 $_shell_exitsignal.
8830 * gdb.base/default.exp: Update for new convenience variables.
8831
f49055a5
TT
88322019-05-29 Tom Tromey <tromey@adacore.com>
8833
8834 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8835 to "break complete ada" test case's regexp.
8836
4330d61d
TT
88372019-05-29 Tom Tromey <tromey@adacore.com>
8838
8839 PR c++/20020:
8840 * gdb.cp/constexpr-field.exp: New file.
8841 * gdb.cp/constexpr-field.cc: New file.
8842
000439d5
TT
88432019-05-29 Tom Tromey <tromey@adacore.com>
8844
8845 * gdb.base/finish.exp (finish_no_print): New proc.
8846 (finish_tests): Call it.
8847
5a01c34c
TV
88482019-05-24 Tom de Vries <tdevries@suse.de>
8849
8850 * gdb.dwarf2/gdb-add-index.exp: New file.
8851
18125b16
TT
88522019-05-22 Tom Tromey <tromey@adacore.com>
8853
8854 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8855 * gdb.base/style.exp: Use "style".
8856 * lib/gdb-utils.exp (style): New proc.
8857
af1a8d03
TV
88582019-05-22 Tom de Vries <tdevries@suse.de>
8859
8860 * gdb.base/align.exp: Require c++11.
8861
e7fe496b
TV
88622019-05-22 Tom de Vries <tdevries@suse.de>
8863
8864 PR testsuite/24586
8865 * gdb.python/py-mi-var-info-path-expression.exp: Call
8866 mi_skip_python_tests to check if python is supported.
8867
8fca4da0
AH
88682019-05-22 Alan Hayward <alan.hayward@arm.com>
8869
8870 * gdb.arch/aarch64-pauth.c: New test.
8871 * gdb.arch/aarch64-pauth.exp: New file.
8872
b7060614
AH
88732019-05-22 Alan Hayward <alan.hayward@arm.com>
8874
8875 * README (Re-running Tests Outside The Testsuite): New section.
8876
669d0468
TV
88772019-05-21 Tom de Vries <tdevries@suse.de>
8878
8879 * gdb.arch/amd64-eval.exp: Require c++11.
8880 * gdb.base/max-depth.exp: Same.
8881 * gdb.compile/compile-cplus-array-decay.exp: Same.
8882 * gdb.cp/meth-typedefs.exp: Same.
8883 * gdb.cp/subtypes.exp: Same.
8884 * gdb.cp/temargs.exp: Same.
8885
ce3ebcaa
AH
88862019-05-21 Alan Hayward <alan.hayward@arm.com>
8887
8888 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8889
34d11c68
AB
88902019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8891
8892 PR gdb/18644
8893 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8894 * gdb.fortran/printing-types.exp: Add new test.
8895 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8896 testing.
8897 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8898 setup_kfail call.
8899
87781e84
AH
89002019-05-17 Alan Hayward <alan.hayward@arm.com>
8901
8902 * README (Running the Testsuite): Change example.
8903 (Testsuite Parameters): Remove TRANSCRIPT.
8904 * lib/gdb.exp: Remove TRANSCRIPT check.
8905
b420b89e
AH
89062019-05-17 Alan Hayward <alan.hayward@arm.com>
8907
8908 * README (Testsuite Parameters): Add replay logging to
8909 GDBSERVER_DEBUG.
8910 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8911 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8912 as a comma separated list.
8913 (gdb_debug_init): Override procedure.
8914
408e9b8b
AH
89152019-05-17 Alan Hayward <alan.hayward@arm.com>
8916
8917 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8918 (gdb_write_cmd_file): New procedure.
8919 * lib/gdbserver-support.exp (gdbserver_start): Call
8920 gdbserver_write_cmd_file.
8921 (gdbserver_write_cmd_file): New procedure.
8922
f9e2e39d
AH
89232019-05-17 Alan Hayward <alan.hayward@arm.com>
8924
8925 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8926 (delete_breakpoints): Likewise.
8927 (gdb_run_cmd): Likewise.
8928 (gdb_start_cmd): Likewise.
8929 (gdb_starti_cmd): Likewise.
8930 (gdb_internal_error_resync): Likewise.
8931 (gdb_test_multiple): Likewise.
8932 (gdb_reinitialize_dir): Likewise.
8933 (default_gdb_exit): Likewise.
8934 (gdb_file_cmd): Mark kill as optional.
8935 (default_gdb_start): Call gdb_stdin_log_init.
8936 (send_gdb): Call gdb_stdin_log_write.
8937 (rerun_to_main): Mark Y as an answer.
8938 (gdb_stdin_log_init): New function.
8939 (gdb_stdin_log_write): Likewise.
8940
81f47ac2
AH
89412019-05-17 Alan Hayward <alan.hayward@arm.com>
8942
8943 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8944 * gdb.base/debug-expr.exp: Likewise.
8945 * gdb.base/foll-fork.exp: Likewise.
8946 * gdb.base/foll-vfork.exp: Likewise.
8947 * gdb.base/fork-print-inferior-events.exp: Likewise.
8948 * gdb.base/gdb-sigterm.exp: Likewise.
8949 * gdb.base/gdbinit-history.exp: Likewise.
8950 * gdb.base/osabi.exp: Likewise.
8951 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8952 * gdb.base/ui-redirect.exp: Likewise.
8953 * gdb.gdb/unittest.exp: Likewise.
8954 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8955 * gdb.mi/mi-watch.exp: Likewise.
8956 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8957 * gdb.mi/user-selected-context-sync.exp: Likewise.
8958 * gdb.python/python.exp: Disable debug test when debugging.
8959 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8960 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8961 Likewise.
8962 * gdb.threads/stepi-random-signal.exp: Likewise.
8963
29b52314
AH
89642019-05-17 Alan Hayward <alan.hayward@arm.com>
8965
8966 * Makefile.in: Pass through GDB_DEBUG.
8967 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8968 (gdb,debug): Add board setting.
8969 * lib/gdb.exp (default_gdb_start): Start debugging.
8970 (gdb_debug_enabled): New procedure.
8971 (gdb_debug_init): Likewise.
29b52314
AH
8972
89732019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8974
29b52314
AH
8975 * Makefile.in: Pass through GDB_DEBUG.
8976 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8977 (gdb,debug): Add board setting.
8978 * lib/gdb.exp (default_gdb_start): Start debugging.
8979 (gdb_debug_enabled): New procedure.
8980 (gdb_debug_init): Likewise.
29b52314 8981
ca1285d1
AH
89822019-05-17 Alan Hayward <alan.hayward@arm.com>
8983
8984 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8985
f3a09c80
AH
89862019-05-17 Alan Hayward <alan.hayward@arm.com>
8987
8988 * gdb.base/ui-redirect.exp: Test redirection.
8989
26648588
JV
89902019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8991
8992 * gdb.mi/mi-complete.exp: New file.
8993 * gdb.mi/mi-complete.cc: Likewise.
8994
14237686
AB
89952019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8996
8997 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8998 indexed and sliced arrays, and pointers to arrays.
8999
e7bd7fba
TT
90002019-05-14 Tom Tromey <tromey@adacore.com>
9001
9002 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
9003 styling test.
9004
2764128d
TV
90052019-05-14 Tom de Vries <tdevries@suse.de>
9006
9007 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
9008 selection entry encoding.
9009
71bed2db
TT
90102019-05-10 Tom Tromey <tromey@adacore.com>
9011
9012 * gdb.ada/info_exc.exp: Add "complete" test.
9013
63b667ad
TV
90142019-05-09 Tom de Vries <tdevries@suse.de>
9015
9016 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
9017 CU-relative.
9018
9cfd2b89
TV
90192019-05-09 Tom de Vries <tdevries@suse.de>
9020
9021 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
9022 CU-relative.
9023
2228ef77
XR
90242019-05-08 Joel Brobecker <brobecker@adacore.com>
9025
9026 * gdb.ada/frame_arg_lang.exp: New testcase.
9027 * gdb.ada/frame_arg_lang/bla.adb: New file.
9028 * gdb.ada/frame_arg_lang/pck.ads: New file.
9029 * gdb.ada/frame_arg_lang/pck.adb: New file.
9030 * gdb.ada/frame_arg_lang/foo.c: New file.
9031
80e55b13
TT
90322019-05-08 Tom Tromey <tromey@adacore.com>
9033
9034 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
9035
9d3421af
TT
90362019-05-08 Tom Tromey <tromey@adacore.com>
9037
9038 * gdb.base/ptype-offsets.exp: Update tests.
9039
844333e2
TT
90402019-05-08 Tom Tromey <tromey@adacore.com>
9041
9042 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
9043 cases.
9044 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
9045 "short".
9046
988915ee
TT
90472019-05-08 Tom Tromey <tromey@adacore.com>
9048
9049 * gdb.ada/vla.exp: New file.
9050 * gdb.ada/vla/vla.adb: New file.
9051
7bd55dac
TV
90522019-05-07 Tom de Vries <tdevries@suse.de>
9053
9054 * gdb.base/index-cache.exp (ls_host): Fix return statement.
9055
75f06e9d
TV
90562019-05-07 Tom de Vries <tdevries@suse.de>
9057
9058 PR testsuite/24522
9059 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
9060 section.
9061
77e7aaa4
TV
90622019-05-07 Tom de Vries <tdevries@suse.de>
9063
9064 PR testsuite/24522
9065 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
9066 .debug_aranges section.
9067
456ba0fa
TV
90682019-05-07 Tom de Vries <tdevries@suse.de>
9069
9070 PR testsuite/24159
9071 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
9072
5a56d6a6
TV
90732019-05-06 Tom de Vries <tdevries@suse.de>
9074
9075 * lib/gdb.exp (exec_has_index_section): New proc.
9076 * gdb.base/index-cache.exp: Handle case that binfile contains an index
9077 section.
9078
9d6d4be8
TV
90792019-05-04 Tom de Vries <tdevries@suse.de>
9080
9081 * boards/cc-with-debug-names.exp: New file.
9082
222a8d25
TT
90832019-05-03 Tom Tromey <tromey@adacore.com>
9084
9085 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
9086 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
9087 * gdb.ada/char_enum.exp: Add test.
9088
0fdfd794
TV
90892019-05-03 Tom de Vries <tdevries@suse.de>
9090
9091 * boards/cc-with-gdb-index.exp: New file.
9092
80062eb9
AB
90932019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
9094
9095 * gdb.rust/simple.exp: Add new test case.
9096 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
9097 (main): Initialise an instance of the new struct.
9098
4504bbde
TT
90992019-05-01 Tom Tromey <tromey@adacore.com>
9100
9101 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
9102 record.
9103 (NPR): New variable.
9104 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
9105 test.
9106
d48e62f4
TT
91072019-05-01 Tom Tromey <tromey@adacore.com>
9108
9109 * gdb.ada/packed_array_assign.exp: Add packed assignment
9110 regression test.
9111
f59f30f5
TV
91122019-05-01 Tom de Vries <tdevries@suse.de>
9113
9114 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
9115
b70bfc54
TV
91162019-05-01 Tom de Vries <tdevries@suse.de>
9117
9118 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
9119
15f18d14
AT
91202019-04-30 Ali Tamur <tamur@google.com>
9121
9122 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
9123
2ff0a947
TT
91242019-04-30 Tom Tromey <tromey@adacore.com>
9125
9126 * lib/ada.exp (find_ada_tool): New proc.
9127 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
9128 * gdb.ada/catch_ex_std.exp: New file.
9129 * gdb.ada/catch_ex_std/foo.adb: New file.
9130 * gdb.ada/catch_ex_std/some_package.adb: New file.
9131 * gdb.ada/catch_ex_std/some_package.ads: New file.
9132
a776957c
TT
91332019-04-30 Tom Tromey <tromey@adacore.com>
9134
9135 PR c++/24470:
9136 * gdb.cp/temargs.cc: Add test code from PR.
9137
bc68014d
AB
91382019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9139
9140 * gdb.fortran/vla-datatypes.exp: Update expected results.
9141 * gdb.fortran/vla-ptype.exp: Likewise.
9142 * gdb.fortran/vla-type.exp: Likewise.
9143 * gdb.fortran/vla-value.exp: Likewise.
9144
f1fdc960
AB
91452019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9146
9147 * gdb.fortran/ptr-indentation.exp: Update expected results.
9148 * gdb.fortran/ptype-on-functions.exp: Likewise.
9149 * gdb.fortran/vla-ptr-info.exp: Likewise.
9150 * gdb.fortran/vla-value.exp: Likewise.
9151
bf7a4de1
AB
91522019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9153
9154 * gdb.fortran/ptype-on-functions.exp: New file.
9155 * gdb.fortran/ptype-on-functions.f90: New file.
9156
bbe75b9d
AB
91572019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9158
9159 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
9160 case void string.
9161
1db455a7
AB
91622019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9163
9164 * gdb.fortran/complex.exp: Expand.
9165 * gdb.fortran/complex.f: Renamed to...
9166 * gdb.fortran/complex.f90: ...this, and extended to add more
9167 complex values.
9168
b6d03bb2
AB
91692019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9170
9171 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
9172 MODULO, CMPLX.
9173
2e62ab40
AB
91742019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
9175 Richard Bunt <richard.bunt@arm.com>
9176
9177 * gdb.base/max-depth.c: New file.
9178 * gdb.base/max-depth.exp: New file.
9179 * gdb.python/py-nested-maps.c: New file.
9180 * gdb.python/py-nested-maps.exp: New file.
9181 * gdb.python/py-nested-maps.py: New file.
9182 * gdb.python/py-format-string.exp (test_max_depth): New proc.
9183 (test_all_common): Call test_max_depth.
9184 * gdb.fortran/max-depth.exp: New file.
9185 * gdb.fortran/max-depth.f90: New file.
9186 * gdb.go/max-depth.exp: New file.
9187 * gdb.go/max-depth.go: New file.
9188 * gdb.modula2/max-depth.exp: New file.
9189 * gdb.modula2/max-depth.c: New file.
9190 * lib/gdb.exp (get_print_expr_at_depths): New proc.
9191
d2b584a5
TV
91922019-04-29 Tom de Vries <tdevries@suse.de>
9193
9194 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
9195
136afab8
PW
91962019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9197
9198 * gdb.base/callexit.exp: Test may-call-functions off.
9199
725cbb63
KS
92002019-04-25 Keith Seitz <keiths@redhat.com>
9201
9202 PR c++/24367
9203 * gdb.cp/meth-typedefs.cc (incomplete_struct)
9204 (another_incomplete_struct, test_incomplete): New definitions.
9205 (main): Use new definitions.
9206 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
9207 functions.
9208
701adfb0
PA
92092019-04-25 Ali Tamur <tamur@google.com>
9210
9211 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
9212
82433e3e
SDJ
92132019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
9214
9215 PR corefiles/11608
9216 PR corefiles/18187
9217 * gdb.base/coredump-filter-build-id.exp: New file.
9218
dd06d4d6
AH
92192019-04-25 Alan Hayward <alan.hayward@arm.com>
9220
e79be6e5
SM
9221 * Makefile.in: Pass through GDBSERVER_DEBUG.
9222 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
9223 (gdbserver,debug): Add board setting.
9224 * gdb.trace/tspeed.exp: Skip when debugging.
9225 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
9226 * lib/gdbserver-support.exp: Likewise
dd06d4d6 9227
1670072e
TT
92282019-04-24 Tom Tromey <tromey@adacore.com>
9229
9230 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
9231 Rust.
9232
a59240a4
TT
92332019-04-24 Tom Tromey <tromey@adacore.com>
9234
9235 * gdb.arch/amd64-eval.exp: Test bitfield return.
9236 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
9237 (class Foo) <return_bitfields>: New method.
9238 (main): Call it.
9239
b907456c
AB
92402019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
9241
9242 * gdb.cp/many-args.cc: New file.
9243 * gdb.cp/many-args.exp: New file.
9244
5c565afd
TV
92452019-04-23 Tom de Vries <tdevries@suse.de>
9246
9247 PR gdb/24433
9248 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
9249
ba22ff86
AH
92502019-04-23 Alan Hayward <alan.hayward@arm.com>
9251
9252 * gdb.trace/backtrace.exp: Use nopie flag.
9253 * gdb.trace/circ.exp: Likewise.
9254 * gdb.trace/collection.exp: Likewise.
9255 * gdb.trace/ftrace.exp: Likewise.
9256 * gdb.trace/mi-trace-unavailable.exp: Likewise.
9257 * gdb.trace/mi-traceframe-changed.exp: Likewise.
9258 * gdb.trace/qtro.exp: Likewise.
9259 * gdb.trace/read-memory.exp: Likewise.
9260 * gdb.trace/report.exp: Likewise.
9261 * gdb.trace/tfile.exp: Likewise.
9262 * gdb.trace/tfind.exp: Likewise.
9263 * gdb.trace/unavailable.exp: Likewise.
9264
7905fc35
PA
92652019-04-22 Pedro Alves <palves@redhat.com>
9266
9267 * gdb.base/solib-probes-nosharedlibrary.c,
9268 gdb.base/solib-probes-nosharedlibrary.exp: New files.
9269
8ecb59f8
TT
92702019-04-19 Tom Tromey <tromey@adacore.com>
9271
9272 * gdb.ada/ptype_union.c: New file.
9273 * gdb.ada/ptype_union.exp: New file.
9274
62160ec9
TT
92752019-04-19 Tom Tromey <tromey@adacore.com>
9276
9277 PR symtab/24423:
9278 * gdb.base/list0.h (foo): Add a control-l character.
9279
36cd4ba5
TV
92802019-04-18 Tom de Vries <tdevries@suse.de>
9281
9282 PR gdb/24433
9283 * boards/local-board.exp: Set sysroot to "".
9284
b73715df
TV
92852019-04-18 Tom de Vries <tdevries@suse.de>
9286 Pedro Alves <palves@redhat.com>
9287
9288 PR gdb/24454
9289 * gdb.threads/vfork-follow-child-exec.c: New file.
9290 * gdb.threads/vfork-follow-child-exec.exp: New file.
9291 * gdb.threads/vfork-follow-child-exit.c: New file.
9292 * gdb.threads/vfork-follow-child-exit.exp: New file.
9293
4aa866af
LS
92942019-04-15 Leszek Swirski <leszeks@google.com>
9295
9296 * gdb.arch/amd64-eval.cc: New file.
9297 * gdb.arch/amd64-eval.exp: New file.
9298
e5a1a79a
AH
92992019-04-11 Alan Hayward <alan.hayward@arm.com>
9300
9301 * gdb.server/sysroot.c: New test.
9302 * gdb.server/sysroot.exp: New file.
9303 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
9304 matching param.
9305
41077b66
AB
93062019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
9307
9308 * gdb.base/align.exp: Extend test to cover structures containing
9309 only static fields.
9310
c30391f8
TV
93112019-04-11 Tom de Vries <tdevries@suse.de>
9312
9313 * boards/cc-with-dwz-m.exp: New file.
9314 * boards/cc-with-dwz.exp: New file.
9315 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
9316
e242fd12
SM
93172019-04-09 Simon Marchi <simon.marchi@efficios.com>
9318
9319 * gdb.base/start-cpp.exp: New file.
9320 * gdb.base/start-cpp.cc: New file.
9321
2b0c8b01
KB
93222019-04-08 Kevin Buettner <kevinb@redhat.com>
9323
9324 * gdb.python/py-thrhandle.exp: Adjust tests to call
9325 thread_from_handle instead of thread_from_thread_handle.
9326
947210e5
KB
93272019-04-08 Kevin Buettner <kevinb@redhat.com>
9328
9329 * gdb.python/py-thrhandle.exp: Add tests for
9330 gdb.InferiorThread.handle.
9331
d7df6549
AB
93322019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
9333
9334 * gdb.python/py-function.exp: Check calling helper function from
9335 all languages.
9336 * lib/gdb.exp (gdb_supported_languages): New proc.
9337
8bdc1658
AB
93382019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
9339
9340 * gdb.base/complex-parts.c: New file.
9341 * gdb.base/complex-parts.exp: New file.
9342
05caa1d2
TT
93432019-04-01 Tom Tromey <tromey@adacore.com>
9344
9345 PR symtab/23331:
9346 * gdb.dwarf2/dw2-ranges-main.c: New file.
9347 * gdb.dwarf2/dw2-ranges-psym.c: New file.
9348 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
9349
7734102d
EZ
93502019-03-30 Simon Marchi <simark@simark.ca>
9351
9352 * gdb.base/default.exp: Add values for $_gdb_major and
9353 $_gdb_minor.
9354
188e1fa9
TT
93552019-03-29 Tom Tromey <tromey@adacore.com>
9356
9357 * gdb.base/help.exp: Tighten apropos regexp.
9358
2880242d
KS
93592019-03-29 Keith Seitz <keiths@redhat.com>
9360
9361 * gdb.fortran/array-bounds.exp: New file.
9362 * gdb.fortran/array-bounds.f90: New file.
9363
077cad8e
PW
93642019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9365
9366 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
9367
80047cfc
PW
93682019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9369
9370 * gdb.multi/hello.c (main): Increase alarm timer.
9371
f489207e
SL
93722019-03-28 Sandra Loosemore <sandra@codesourcery.com>
9373
9374 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
9375 factor when no hardware watchpoint support.
9376
c92df149
AH
93772019-03-28 Alan Hayward <alan.hayward@arm.com>
9378 Pedro Alves <palves@redhat.com>
9379
9380 * boards/local-board.exp: set sysroot to /.
9381
933aebfa
AH
93822019-03-27 Alan Hayward <alan.hayward@arm.com>
9383
9384 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
9385 in child.
9386
9f9aa852
AB
93872019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9388
9389 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
9390 field.
9391 (make_container): Initialise new field.
9392 * gdb.python/py-prettyprint.exp: Add new tests.
9393 * gdb.python/py-prettyprint.py (class ContainerPrinter)
9394 <display_hint>: New method.
9395
3714a195
AB
93962019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9397
9398 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
9399 gdb_continue_to_breakpoint more throughout this test.
9400 (run_lang_tests) Supply unique test names, and use
9401 gdb_test_no_output.
9402
18c77628
AB
94032019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9404
9405 * gdb.base/finish-pretty.exp: Update expected results.
9406 * gdb.base/pretty-print.c: New file.
9407 * gdb.base/pretty-print.exp: New file.
9408
9a93502f
PA
94092019-03-25 Pedro Alves <palves@redhat.com>
9410
9411 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
9412 move comments outside list. Append '-i "" eof' section.
9413
968aa7ae
AH
94142019-03-22 Alan Hayward <alan.hayward@arm.com>
9415
34a7f2a4 9416 PR testsuite/25016
968aa7ae
AH
9417 * README: Add pie options.
9418 * gdb.base/break-interp.exp: Ensure pie is disabled.
9419 * gdb.base/dump.exp: Likewise.
9420 * lib/gdb.exp (gdb_compile): Add pie option.
9421
4c7d57e7
TT
94222019-03-19 Tom Tromey <tromey@adacore.com>
9423
9424 * gdb.mi/mi2-cli-display.c: New file.
9425 * gdb.mi/mi2-cli-display.exp: New file.
9426
bff8c71f
TT
94272019-03-18 Joel Brobecker <brobecker@adacore.com>
9428 Tom Tromey <tromey@adacore.com>
9429
9430 * gdb.ada/ptype_array/pck.adb: New file.
9431 * gdb.ada/ptype_array/pck.ads: New file.
9432 * gdb.ada/ptype_array/foo.adb: New file.
9433 * gdb.ada/ptype_array.exp: New file.
9434
d085f989
TT
94352019-03-14 Tom Tromey <tromey@adacore.com>
9436
9437 * gdb.base/style.exp: Add "set style sources" test.
9438
b4be1b06
SM
94392019-03-13 Simon Marchi <simon.marchi@ericsson.com>
9440
9441 * mi-breakpoint-location-ena-dis.exp: Rename to ...
9442 * mi-breakpoint-multiple-locations.exp: ... this.
9443 (make_breakpoints_pattern): New proc.
9444 (do_test): Add mi_version parameter, test -break-insert,
9445 -break-info and =breakpoint-created.
9446
7cde5fc2
AB
94472019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
9448
9449 * config/default.exp: Remove 'load_lib gdb.exp'.
9450 * config/monitor.exp: Likewise.
9451 * config/sid.exp: Likewise.
9452 * config/sim.exp: Likewise.
9453 * config/slite.exp: Likewise.
9454 * config/unix.exp: Likewise.
9455 * gdb.base/default.exp: Remove unhelpful comment.
9456
efbecbc1
AB
94572019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9458
9459 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
9460
0841c79a
AB
94612019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9462
9463 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
9464
4a270568
AB
94652019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9466
9467 * gdb.fortran/type-kinds.exp: Update expected results.
9468
067630bd
AB
94692019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9470
9471 * gdb.fortran/type-kinds.exp: Test new integer type kind.
9472
3be47f7a
AB
94732019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9474
9475 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
9476 function.
9477 (test_basic_parsing_of_type_kinds): Expand types tested.
9478 (test_parsing_invalid_type_kinds): New function.
9479
4d00f5d8
AB
94802019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9481
9482 * gdb.fortran/intrinsics.exp: New file.
9483 * gdb.fortran/intrinsics.f90: New file.
9484 * gdb.fortran/type-kinds.exp: New file.
9485
c8f91604
AB
94862019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9487
9488 * gdb.fortran/dot-ops.exp: New file.
9489
dd9f2c76
AB
94902019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9491
9492 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
9493 Check upper and lower case logical literals.
9494
84ec9724
AB
94952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9496
9497 * gdb.fortran/types.exp (test_float_literal_types_accepted):
9498 Remove duplicate tests.
9499
c3734e09
AH
95002019-03-06 Alan Hayward <alan.hayward@arm.com>
9501
9502 * lib/gdb.exp (builtin_cd): rename of cd.
9503 (cd): Override builtin.
9504
aa3cfbda
RB
95052019-03-06 Richard Bunt <richard.bunt@arm.com>
9506
9507 * gdb.fortran/function-calls.exp: New file.
9508 * gdb.fortran/function-calls.f90: New test.
9509
7b63ad86
RB
95102019-03-04 Richard Bunt <richard.bunt@arm.com>
9511
9512 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
9513 on user program standard output.
9514 * gdb.fortran/short-circuit-argument-list.f90: Record function
9515 calls.
9516
01abb042
AH
95172019-02-28 Alan Hayward <alan.hayward@arm.com>
9518
c3734e09
AH
9519 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
9520 failure.
01abb042 9521
92137da0
RO
95222019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9523
9524 PR gdb/8527
9525 * gdb.base/interrupt-daemon-attach.c,
9526 gdb.base/interrupt-daemon-attach.exp: New test.
9527
5862844d
PA
95282019-02-27 Pedro Alves <palves@redhat.com>
9529
9530 * gdb.base/page.exp: Add tests for "set width/height -1".
9531
8ed25214
PA
95322019-02-27 Pedro Alves <palves@redhat.com>
9533
9534 * gdb.base/page.exp: Add tests for "set/show width/height" with
9535 "infinite" values.
9536
6c28e44a
TT
95372019-02-27 Tom Tromey <tromey@adacore.com>
9538
9539 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
9540 2.4.
9541 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
9542 workaround.
9543
bf9a735e
AB
95442019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
9545
9546 * gdb.base/align.exp: Extend to compile in both C and C++, and add
9547 tests for structs with static members.
9548
8791793c
TT
95492019-02-26 Tom Tromey <tromey@adacore.com>
9550
9551 * gdb.python/py-value.exp (test_value_from_buffer): Check for
9552 ValueError, not TypeError.
9553
bc2a507e
KB
95542019-02-26 Kevin Buettner <kevinb@redhat.com>
9555
9556 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
9557 call from main program.
9558
e0e7d3bd
JB
95592019-02-23 Joel Brobecker <brobecker@adacore.com>
9560
9561 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
9562 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
9563 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
9564 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
9565 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
9566
9600246d
KS
95672019-02-22 Keith Seitz <keiths@redhat.com>
9568
9569 PR symtab/23853
9570 * gdb.base/symlink-sourcefile.c: New file.
9571 * gdb.base/symlink-sourcefile.exp: New file.
9572
0c95f9ed
TT
95732019-02-20 Tom Tromey <tom@tromey.com>
9574
9575 * gdb.base/info_qt.exp: Update.
9576
6caa91b6
SM
95772019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
9578
9579 * gdb.base/source.exp: Move "error in sourced script" code to
9580 the end.
9581 * gdb.base/source-error.gdb: Move contents to
9582 source-error-1.gdb. Add new code to source source-error-1.gdb.
9583 * gdb.base/source-error-1.gdb: New file, from previous
9584 source-error.gdb.
9585
6506371f
TT
95862019-02-17 Tom Tromey <tom@tromey.com>
9587
9588 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9589 for macro styling.
9590 * gdb.base/style.c (SOME_MACRO): New macro.
9591
a0087920
TT
95922019-02-17 Tom Tromey <tom@tromey.com>
9593
9594 * gdb.base/style.exp: Add line-wrapping tests.
9595 * gdb.base/page.exp: Add test for quitting during pagination.
9596
a2cd4f14
JB
95972019-02-17 Joel Brobecker <brobecker@adacore.com>
9598
9599 * gdb.ada/big_packed_array: New testcase.
9600 * gdb.ada/homonym.exp: Fix incorrect expected output for
9601 "break <homonym__get_value>" test.
9602
9d70ffbc
WP
96032019-02-13 Weimin Pan <weimin.pan@oracle.com>
9604
9605 PR breakpoints/21870
9606 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9607 and prepare_for_testing. Add comment.
9608 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9609 redundant cleanup call. Clean up comment.
9610
01c7ae81
WP
96112019-02-12 Weimin Pan <weimin.pan@oracle.com>
9612
9613 PR breakpoints/21870
9614 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9615 * gdb.arch/aarch64-dbreg-contents.c: New file.
9616
aff29d1c
JB
96172019-02-10 Joel Brobecker <brobecker@adacore.com>
9618
9619 * gdb.ada/mi_ref_changeable: New testcase.
9620
df0da8a2
AH
96212019-02-07 Alan Hayward <alan.hayward@arm.com>
9622
9623 * gdb.base/attach.exp: Add double attach test.
9624
bd447abb
SM
96252019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9626
9627 * lib/gdb.exp (default_gdb_start): Don't match pagination
9628 prompt.
9629 (gdb_init): Set stty_init.
9630
1dbc40b9
TT
96312019-01-27 Tom Tromey <tom@tromey.com>
9632
9633 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9634 skip_python_tests.
9635
353229bf
AH
96362019-01-24 Alan Hayward <alan.hayward@arm.com>
9637
9638 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9639 New structure.
9640 (struct struct_static_02_02): Likewise.
9641 (struct struct_static_02_03): Likewise.
9642 (struct struct_static_02_04): Likewise.
9643 (struct struct_static_04_01): Likewise.
9644 (struct struct_static_04_02): Likewise.
9645 (struct struct_static_04_03): Likewise.
9646 (struct struct_static_04_04): Likewise.
9647 (struct struct_static_06_01): Likewise.
9648 (struct struct_static_06_02): Likewise.
9649 (struct struct_static_06_03): Likewise.
9650 (struct struct_static_06_04): Likewise.
9651 (cmp_struct_static_02_01): Likewise.
9652 (cmp_struct_static_02_02): Likewise.
9653 (cmp_struct_static_02_03): Likewise.
9654 (cmp_struct_static_02_04): Likewise.
9655 (cmp_struct_static_04_01): Likewise.
9656 (cmp_struct_static_04_02): Likewise.
9657 (cmp_struct_static_04_03): Likewise.
9658 (cmp_struct_static_04_04): Likewise.
9659 (cmp_struct_static_06_01): Likewise.
9660 (cmp_struct_static_06_02): Likewise.
9661 (cmp_struct_static_06_03): Likewise.
9662 (cmp_struct_static_06_04): Likewise.
9663 (call_all): Test new structs.
9664 * gdb.base/infcall-nested-structs.exp: Likewise.
9665
73021deb
AH
96662019-01-21 Alan Hayward <alan.hayward@arm.com>
9667 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9668
fc65c7db
AH
96692019-01-21 Alan Hayward <alan.hayward@arm.com>
9670 * gdb.base/stack-protector.c: New test.
9671 * gdb.base/stack-protector.exp: New file.
9672 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9673 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9674 option.
9675 (gdb_compile): Remove stack protector for GCC and prevent
9676 recursion.
9677
c24bdb02
KS
96782019-01-16 Keith Seitz <keiths@redhat.com>
9679
9680 PR gdb/23773
9681 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9682
6f072a10
PFC
96832019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9684
9685 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9686 aliases.
9687 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9688 tests.
9689 * gdb.arch/powerpc-vector-regs.c: New file.
9690 * gdb.arch/powerpc-vector-regs.exp: New file.
9691
a7b8d682
PFC
96922019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9693
9694 * gdb.arch/altivec-regs.exp: Fix the list passed to
9695 gdb_expect_list when testing "info vector".
9696
6eb6fb67
AB
96972019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9698
9699 * gdb.base/style.exp: Don't include path in testname.
9700
b56f80d8
KS
97012019-01-10 Keith Seitz <keiths@redhat.com>
9702
9703 PR gdb/23712
9704 PR symtab/23010
9705 * gdb.dwarf2/multidictionary.exp: New file.
9706
041be526
SM
97072019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9708
9709 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9710 (test_gnuv3_style_demangling): ... this.
9711 (test_lucid_style_demangling): Remove.
9712 (test_arm_style_demangling): Remove.
9713 (test_hp_style_demangling): Remove.
9714 (do_tests): Remove calls to the above.
9715
d820d0c3
AB
97162019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9717
9718 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9719 case.
9720
f097f5ad
TT
97212019-01-06 Tom Tromey <tom@tromey.com>
9722
9723 PR gdb/28155:
9724 * gdb.dwarf2/typedef-void-finish.exp: New file.
9725
2cd8cc0b
TT
97262018-12-28 Tom Tromey <tom@tromey.com>
9727 Simon Marchi <simark@simark.ca>
9728
9729 * gdb.base/jit-exec.exp: New file.
9730 * gdb.base/jit-exec.c: New file.
9731 * gdb.base/jit-execd.c: New file.
9732
35fb8261
TT
97332018-12-28 Tom Tromey <tom@tromey.com>
9734
9735 * gdb.base/style.exp: Update test to check for address styling.
9736
47fd17cd
TT
97372018-12-28 Tom Tromey <tom@tromey.com>
9738
9739 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9740 message.
9741
d47032b7
TT
97422018-12-28 Tom Tromey <tom@tromey.com>
9743
9744 * gdb.base/style.exp: Add test for version number styling.
9745
af79b68d
TT
97462018-12-28 Tom Tromey <tom@tromey.com>
9747
9748 * gdb.base/style.exp: Add test for print_address_symbolic.
9749
0bb296cb
TT
97502018-12-28 Tom Tromey <tom@tromey.com>
9751
9752 * gdb.base/style.exp: Add test for breakpoint setting.
9753
80ae2043
TT
97542018-12-28 Tom Tromey <tom@tromey.com>
9755
9756 * gdb.base/style.exp: Add test for variable names.
9757
cbe56571
TT
97582018-12-28 Tom Tromey <tom@tromey.com>
9759
9760 * gdb.base/style.exp: New file.
9761 * gdb.base/style.c: New file.
9762
9162a27c
TT
97632018-12-28 Tom Tromey <tom@tromey.com>
9764
9765 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9766 "dumb".
9767 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9768 the TERM environment variable.
9769
bc543c90
TT
97702018-12-27 Tom Tromey <tom@tromey.com>
9771
9772 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9773 pagination test.
9774
6f0ffe50
AB
97752018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9776
9777 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9778 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9779
b5a1e557
PW
97802018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9781
9782 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9783 Filename a.adb changed to bp_fun_addr.adb.
9784 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9785
6e8b1ab2
JV
97862018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9787
9788 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9789 non-PIE executables.
9790 * README: Mention the gdb,nopie_flag board setting.
9791 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9792 non-PIE executable.
9793 * gdb.arch/amd64-entry-value.exp: Likewise.
9794 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9795 * gdb.arch/i386-float.exp: Likewise.
9796 * gdb.arch/i386-signal.exp: Likewise.
9797 * gdb.mi/mi-reg-undefined.exp: Likewise.
9798
d00a27c5
PM
97992018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9800
9801 PR gdb/23974
9802 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9803
161d081c
PW
98042018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9805
9806 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9807 Update order of results accordingly.
9808
b001de23
AB
98092018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9810
9811 * gdb.base/annota1.exp: Update a test regexp.
9812
99e1a184
AB
98132018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9814
9815 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9816
7a81c1e2
PW
98172018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9818
9819 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9820 (reuse_time): Initialize to REUSE_TIME_CAP.
9821 (check_rc): New function.
9822 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9823 Check pthread_create rc.
9824 (spawner_thread_func): Check pthread_create and pthread_join rc.
9825
73e8dc90
PA
98262018-12-08 Pedro Alves <palves@redhat.com>
9827
9828 * gdb.base/list.exp (test_forward_search): Rename to ...
9829 (test_forward_reverse_search): ... this. Also test reverse-search
9830 and the forward-search alias.
9831
13f2ed32
AB
98322018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9833
9834 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9835 local timeout variable before return, and remove all local timeout
9836 variable entirely.
9837 (gdb_load): Likewise.
9838
64d27cfc
TV
98392018-12-01 Tom de Vries <tdevries@suse.de>
9840
9841 * gdb.base/gdb-caching-proc.exp: New file.
9842
f63c03b4
SDJ
98432018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9844
9845 * Makefile.in (TIMESTAMP): New variable.
9846 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9847 command.
9848 (check-single-racy): Likewise.
9849 (check/%.exp): Likewise.
9850 (check-racy/%.exp): Likewise.
9851 (workers/%.worker): Likewise.
9852 (build-perf): Likewise.
9853 (check-perf): Likewise.
9854 * README: Describe new "TS" and "TS_FORMAT" variables.
9855 * print-ts.py: New file.
9856
1c97054b
BF
98572018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9858
9859 PR python/23714
9860 * gdb.python/python.exp: Test command repetition after
9861 gdb.execute.
9862
1871a62d
AB
98632018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9864
9865 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9866 is correctly aligned.
9867
fb5e1ed9
PW
98682018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9869
9870 * gdb.ada/info_auto_lang.exp: New testcase.
9871 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9872 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9873 * gdb.ada/info_auto_lang/some_c.c: New file.
9874
43d397ca
PW
98752018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9876
9877 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9878 FUNC_lang language syntax.
9879
beddd671
PW
98802018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9881
9882 * gdb.base/info_minsym.c: New file.
9883 * gdb.base/info_minsym.exp: New file.
9884
73fc52c4
TT
98852018-11-19 Tom Tromey <tom@tromey.com>
9886
9887 PR rust/23625:
9888 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9889 * gdb.rust/expr.exp: Update expected output. Change one test.
9890
994b876a
TT
98912018-11-19 Tom Tromey <tom@tromey.com>
9892
9893 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9894
6769f276
PA
98952018-11-19 Pedro Alves <palves@redhat.com>
9896
9897 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9898 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9899 see the expected warning.
9900
38a72da0
AH
99012018-11-16 Alan Hayward <alan.hayward@arm.com>
9902
9903 PR gdb/22736:
9904 * gdb.cp/infcall-nodebug-lib.c: New test.
9905 * gdb.cp/infcall-nodebug-main.c: New test.
9906 * gdb.cp/infcall-nodebug.exp: New file.
9907
53a89d6e
SM
99082018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9909
9910 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9911 completer tests.
9912
9325300d
TV
99132018-11-09 Tom de Vries <tdevries@suse.de>
9914
9915 * gdb.base/msym-lang.c: New test.
9916 * gdb.base/msym-lang.exp: New file.
9917 * gdb.base/msym-lang-main.c: New test.
9918
20f0d60d
TT
99192018-11-08 Tom Tromey <tom@tromey.com>
9920
9921 PR gdb/23555:
9922 PR gdb/23838:
9923 * gdb.base/warning.exp: New file.
9924
b5420128
JB
99252018-11-08 Jan Beulich <jbeulich@suse.com>
9926
9927 * testsuite/gdb.arch/i386-avx512.c,
9928 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9929
cd115d61
AB
99302018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9931
9932 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9933 point hardware.
9934
35ee2dc2
AB
99352018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9936
9937 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9938 * gdb.dwarf2/missing-type-name.exp: New file.
9939
31aceee8
TV
99402018-11-06 Tom de Vries <tdevries@suse.de>
9941
9942 * gdb.base/many-headers.c: New test.
9943 * gdb.base/many-headers.exp: New file.
9944
109be305
JW
99452018-11-06 Jim Wilson <jimw@sifive.com>
9946
9947 * gdb.base/code_elim.exp: For riscv, set additional_flags
9948 to include -msmall-data-limit=0.
9949
e2b7af72
JB
99502018-11-01 Joel Brobecker <brobecker@adacore.com>
9951
9952 * gdb.ada/watch_minus_l: New testcase.
9953
cdcda965
SM
99542018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9955
9956 * gdb.arch/aix-sighandle.c: New file.
9957 * gdb.arch/aix-sighandle.exp: New file.
9958
92dcebf3
AB
99592018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9960
9961 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9962 registers being unions.
9963
68b9ac18
TV
99642018-10-31 Tom de Vries <tdevries@suse.de>
9965
9966 * lib/valgrind.exp: New file.
9967 (vgdb_start, vgdb_stop): New procs, factored out of ...
9968 * gdb.base/valgrind-bt.exp: ... here, ...
9969 * gdb.base/valgrind-disp-step.exp: ... here and ...
9970 * gdb.base/valgrind-infcall.exp: ... here.
9971
1443936e
TV
99722018-10-31 Tom de Vries <tdevries@suse.de>
9973
9974 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9975
eb77c9df
AB
99762018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9977
9978 * gdb.dwarf2/void-type.c: New file.
9979 * gdb.dwarf2/void-type.exp: New file.
9980
82b5e646
PW
99812018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9982
9983 * gdb.base/info_qt.c: New file.
9984 * gdb.base/info_qt.exp: New file.
9985
8d619c01
EBM
99862018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9987
9988 * gdb.arch/powerpc-htm-regs.c: New file.
9989 * gdb.arch/powerpc-htm-regs.exp: New file.
9990
f2cf6173
EBM
99912018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9992
9993 * gdb.arch/powerpc-tar.c: New file.
9994 * gdb.arch/powerpc-tar.exp: New file.
9995
7ca18ed6
EBM
99962018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9997
9998 * gdb.arch/powerpc-ppr-dscr.c: New file.
9999 * gdb.arch/powerpc-ppr-dscr.exp: New file.
10000
bfcc0eba
TV
100012018-10-25 Tom de Vries <tdevries@suse.de>
10002
10003 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
10004
fe1a5cad
TV
100052018-10-24 Tom de Vries <tdevries@suse.de>
10006
10007 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
10008 longer exists error.
10009
a76dc3b7
TV
100102018-10-24 Tom de Vries <tdevries@suse.de>
10011
10012 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
10013
4df46df7
TV
100142018-10-24 Tom de Vries <tdevries@suse.de>
10015
10016 * gdb.base/valgrind-db-attach.exp: Handle removed support for
10017 --db-attach in valgrind.
10018
0dbfcfff
AB
100192018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
10020
10021 * gdb.arch/riscv-reg-aliases.c: New file.
10022 * gdb.arch/riscv-reg-aliases.exp: New file.
10023
b04480b1
AH
100242018-10-19 Alan Hayward <alan.hayward@arm.com>
10025
10026 * gdb.python/py-cmd.exp: Check for gdb_prompt.
10027
2c6ac8d7
AH
100282018-10-19 Alan Hayward <alan.hayward@arm.com>
10029
10030 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
10031
2bc69f25
AH
100322018-10-19 Alan Hayward <alan.hayward@arm.com>
10033
10034 * gdb.cp/ovldbreak.exp: Fix regexps.
10035
1f1ae3a3
AH
100362018-10-19 Alan Hayward <alan.hayward@arm.com>
10037
10038 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
10039
94c18618
SDJ
100402018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
10041
10042 PR cli/23785
10043 * gdb.base/restore.exp: New test to check if "restore" with an
10044 invalid file doesn't segfault.
10045
812cd6eb
TV
100462018-10-18 Tom de Vries <tdevries@suse.de>
10047
10048 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
10049 * gdb.ada/excep_handle.exp: Same.
10050 * gdb.ada/mi_string_access.exp: Same.
10051 * gdb.ada/mi_var_union.exp: Same.
10052 * gdb.arch/arc-analyze-prologue.exp: Same.
10053 * gdb.arch/arc-decode-insn.exp: Same.
10054 * gdb.base/readnever.exp: Same.
10055 * gdb.fortran/printing-types.exp: Same.
10056 * gdb.guile/scm-lazy-string.exp: Same.
10057
c4b90788
TV
100582018-10-16 Tom de Vries <tdevries@suse.de>
10059
10060 PR gdb/23730
10061 * gdb.base/catch-follow-exec.c: Add copyright notice.
10062 * gdb.base/catch-follow-exec.exp: Rewrite to use
10063 gdb_spawn_with_cmdline_opts. Require gdb-native.
10064
8bca2978
SL
100652018-10-12 Sandra Loosemore <sandra@codesourcery.com>
10066
10067 * gdb.trace/actions-changed.exp: Check for arch support.
10068 * gdb.trace/actions.exp: Likewise.
10069 * gdb.trace/ax.exp: Likewise.
10070 * gdb.trace/backtrace.exp: Likewise.
10071 * gdb.trace/change-loc.exp: Likewise.
10072 * gdb.trace/deltrace.exp: Likewise.
10073 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
10074 * gdb.trace/ftrace.exp: Likewise.
10075 * gdb.trace/infotrace.exp: Check for arch support.
10076 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
10077 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
10078 * gdb.trace/mi-tsv-changed.exp: Likewise.
10079 * gdb.trace/packetlen.exp: Likewise.
10080 * gdb.trace/passc-dyn.exp: Likewise.
10081 * gdb.trace/passcount.exp: Likewise.
10082 * gdb.trace/pending.exp: Likewise.
10083 * gdb.trace/range-stepping.exp: Check for shlib support.
10084 * gdb.trace/report.exp: Check for arch support.
10085 * gdb.trace/save-trace.exp: Likewise.
10086 * gdb.trace/signal.exp: Check for signal support.
10087 * gdb.trace/tfind.exp: Check for arch support.
10088 * gdb.trace/trace-break.exp: Check for arch and shlib support.
10089 * gdb.trace/trace-common.h: Add comment.
10090 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
10091 * gdb.trace/trace-enable-disable.exp: Likewise.
10092 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
10093 * gdb.trace/tracecmd.exp: Check for arch support.
10094 * gdb.trace/tspeed.exp: Check for shlib and target support.
10095 * gdb.trace/tstatus.exp: Check for arch support.
10096 * gdb.trace/tsv.exp: Likewise.
10097 * gdb.trace/while-dyn.exp: Likewise.
10098 * gdb.trace/while-stepping.exp: Likewise.
10099 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
10100
f9c49bff
SM
101012018-10-12 Simon Marchi <simon.marchi@ericsson.com>
10102
10103 * gdb.trace/tspeed.exp: Remove nowarnings.
10104 (prepare_for_trace_test): Declare "global ipalib".
10105 * gdb.trace/tspeed.c: Include unistd.h.
10106 (main): Remove superfluous printf argument.
10107
d4330bde
SL
101082018-10-11 Sandra Loosemore <sandra@codesourcery.com>
10109
10110 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
10111 directory prefix on the filename.
10112
8ecfd7bd
SDJ
101132018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
10114
10115 * gdb.gdb/unittest.exp: Update expected message informing that
10116 selftests have been disabled.
10117 * gdb.server/unittest.exp: Likewise.
10118
58bbcd02
TV
101192018-10-09 Tom de Vries <tdevries@suse.de>
10120
10121 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
10122 with runto_main.
10123
9f6b697b
WP
101242018-10-08 Weimin Pan <weimin.pan@oracle.com>
10125
10126 PR c++/16841
10127 * gdb.cp/virtbase2.cc: New file.
10128 * gdb.cp/virtbase2.exp: New file.
10129
add5ded5
TT
101302018-10-06 Tom Tromey <tom@tromey.com>
10131
10132 PR python/19399:
10133 * gdb.python/py-inferior.exp: Add architecture test.
10134
f9e48344
TT
101352018-10-06 Tom Tromey <tom@tromey.com>
10136
10137 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
10138 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
10139
2a8be203
TT
101402018-10-06 Tom Tromey <tom@tromey.com>
10141
10142 * gdb.python/py-breakpoint.exp (check_last_event): Check location
10143 of a "throw" catchpoint.
10144
e04caa70
SDJ
101452018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
10146
10147 * gdb.base/info-proc.exp: Update string expected from "help info
10148 proc".
10149
5ca8c39f
TT
101502018-10-04 Tom Tromey <tom@tromey.com>
10151
10152 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
10153 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
10154 (test_initial_complaints, test_empty_complaints): Update.
10155 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
10156
3453e7e4
TT
101572018-10-04 Tom Tromey <tom@tromey.com>
10158
10159 PR cli/19551:
10160 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
10161 * lib/gdb.exp (gdb_file_cmd): Update.
10162 * gdb.stabs/weird.exp (print_weird_var): Update.
10163 * gdb.server/solib-list.exp: Update.
10164 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
10165 * gdb.mi/mi-cli.exp: Update.
10166 * gdb.linespec/linespec.exp: Update.
10167 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
10168 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
10169 * gdb.cp/cp-relocate.exp: Update.
10170 * gdb.base/sym-file.exp: Update.
10171 * gdb.base/relocate.exp: Update.
10172 * gdb.base/readnever.exp: Update.
10173 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10174 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
10175 * gdb.base/dbx.exp (gdb_file_cmd): Update.
10176 * gdb.base/code_elim.exp: Update.
10177 * gdb.base/break-unload-file.exp (test_break): Update.
10178 * gdb.base/break-interp.exp (test_attach_gdb): Update.
10179 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
10180 Update.
10181 * gdb.base/attach.exp (do_attach_tests): Update.
10182 * gdb.base/sepdebug.exp: Update.
10183 * gdb.python/py-section-script.exp: Update.
10184
6afcf761
TT
101852018-10-04 Tom Tromey <tom@tromey.com>
10186
10187 PR cli/22234:
10188 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
10189 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
10190 output.
10191
fef1b293
TT
101922018-10-04 Tom Tromey <tom@tromey.com>
10193
10194 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
10195 set width and height to 0.
10196 (test_command_line_attach_run): Use -quiet.
10197
ca98345e
SL
101982018-10-03 Sandra Loosemore <sandra@codesourcery.com>
10199
10200 * lib/gdb.exp (skip_ifunc_tests): New.
10201 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
10202 other compile failures.
10203 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
10204
ff34e6ae
SM
102052018-10-01 Simon Marchi <simon.marchi@ericsson.com>
10206
10207 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
10208 is_amd64_regs_target.
10209
6bb8890e
AH
102102018-10-01 Alan Hayward <alan.hayward@arm.com>
10211
10212 * gdb.arch/aarch64-sighandler-regs.c: New test.
10213 * gdb.arch/aarch64-sighandler-regs.exp: New file.
10214 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
10215
224d30d3
MM
102162018-10-01 Markus Metzger <markus.t.metzger@intel.com>
10217
10218 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
10219 assembly.
10220
f67ffa6a
AB
102212018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
10222
10223 * gdb.base/frame-selection.exp: New file.
10224 * gdb.base/frame-selection.c: New file.
10225
9fc3183f
AH
102262018-09-27 Alan Hayward <alan.hayward@arm.com>
10227
10228 * gdb.threads/check-libthread-db.c (thread_routine): Use a
10229 pthread barrier.
10230 (main): Likewise.
10231
d354055e
AB
102322018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
10233
10234 * gdb.base/large-frame-1.c: New file.
10235 * gdb.base/large-frame-2.c: New file.
10236 * gdb.base/large-frame.exp: New file.
10237 * gdb.base/large-frame.h: New file.
10238
db727370
JL
102392018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
10240
10241 PR gdb/20948
10242 * gdb.base/write_mem.exp: New test.
10243 * gdb.base/write_mem.c: Likewise.
10244
ae778caf
TT
102452018-09-23 Tom Tromey <tom@tromey.com>
10246
10247 PR python/18852:
10248 * gdb.python/py-parameter.exp: Add test for parameter that throws
10249 on "set".
10250
fd3ba736
TT
102512018-09-23 Tom Tromey <tom@tromey.com>
10252
10253 PR python/17284:
10254 * gdb.python/py-template.exp (test_template_arg): Add test for
10255 negative template argument number.
10256
39a24317
TT
102572018-09-23 Tom Tromey <tom@tromey.com>
10258
10259 PR python/14062:
10260 * gdb.python/python.exp: Add test for post_event error.
10261
f5769a2c
TT
102622018-09-23 Tom Tromey <tom@tromey.com>
10263
10264 PR python/18170:
10265 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
10266 convert pointers to int and long.
10267
1c1e54f6
TT
102682018-09-23 Tom Tromey <tom@tromey.com>
10269
10270 PR python/20126:
10271 * gdb.python/py-value.exp (test_value_numeric_ops): Add
10272 signed-ness conversion tests.
10273
fb4fa946
TT
102742018-09-23 Tom Tromey <tom@tromey.com>
10275
10276 PR python/18352;
10277 * gdb.python/py-value.exp (test_float_conversion): New proc.
10278 Use it.
10279
a466edac
HAQ
102802018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
10281
10282 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
10283
4ee9b0c5
SL
102842018-09-18 Sandra Loosemore <sandra@codesourcery.com>
10285
10286 * gdb.base/complete-empty.exp: Skip tab-completion tests if
10287 no readline.
10288 * gdb.base/utf8-identifiers.exp: Likewise.
10289 * gdb.cp/cpcompletion.exp: Likewise.
10290 * gdb.linespec/cpcompletion.exp: Likewise.
10291 * gdb.linespec/cpls-abi-tag.exp: Likewise.
10292 * gdb.linespec/cpls-ops.exp: Likewise.
10293
23be8da7
RB
102942018-09-19 Richard Bunt <richard.bunt@arm.com>
10295 Chris January <chris.january@arm.com>
10296
10297 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
10298 * gdb.fortran/short-circuit-argument-list.exp: New file.
10299 * gdb.fortran/short-circuit-argument-list.f90: New test.
10300
5031d0ae
SDJ
103012018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
10302
10303 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
10304 "arch=" keyword when executing "-stack-list-frames".
10305
b4c0d1a4
SDJ
103062018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
10307
10308 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
10309 "arch=" keyword when executing "-stack-list-frames".
10310
7a6d2b45
SDJ
103112018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
10312
10313 * gdb.ada/complete.exp: Expect for "@" when doing "complete
10314 break ada".
10315
8588b356
SM
103162018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
10317
10318 PR python/23669
10319 * gdb.python/python.exp: Test gdb.execute("show commands").
10320
65e65158
TT
103212018-09-16 Tom Tromey <tom@tromey.com>
10322
10323 * gdb.base/new-ui.exp (do_execution_tests): Update.
10324 * gdb.base/dbx.exp (test_breakpoints): Update.
10325
bf326452
AH
103262018-09-14 Alan Hayward <alan.hayward@arm.com>
10327
10328 * lib/gdb.exp (gdb_simple_compile): Add proc.
10329 (is_elf_target): Use gdb_simple_compile.
10330 (skip_altivec_tests): Likewise.
10331 (skip_vsx_tests): Likewise.
10332 (skip_tsx_tests): Likewise.
10333 (skip_btrace_tests): Likewise.
10334 (skip_btrace_pt_tests): Likewise.
10335 (gdb_can_simple_compile): Likewise.
10336 (gdb_has_argv0): Likewise.
10337 (gdb_target_symbol_prefix): Likewise.
10338 (target_supports_scheduler_locking): Likewise.
10339
2361b0fb
TT
103402018-09-13 Tom Tromey <tom@tromey.com>
10341
10342 * Makefile.in (TAGS): Recognize proc_with_prefix and
10343 gdb_caching_proc.
10344
0ae1a321
SM
103452018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10346
10347 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
10348 method.
10349
a40bf0c2
SM
103502018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10351
10352 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
10353 and a few other Inferior properties when the Inferior is no
10354 longer valid.
10355
4a3fe98f
TT
103562018-09-13 Tom Tromey <tom@tromey.com>
10357
10358 PR rust/23650:
10359 * gdb.rust/simple.exp: Add test for enum field access error.
10360
098b2108
TT
103612018-09-13 Tom Tromey <tom@tromey.com>
10362
10363 PR rust/23626:
10364 * gdb.rust/simple.rs (EmptyEnum): New type.
10365 (main): Use it.
10366 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
10367
1256af7d
SM
103682018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10369
10370 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
10371 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
10372 * gdb.python/py-symtab.exp: Update test printing an objfile.
10373
4aa8e6c2
SM
103742018-09-12 Simon Marchi <simon.marchi@ericsson.com>
10375
10376 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
10377 object.
10378
c221b2f7
AH
103792018-09-12 Alan Hayward <alan.hayward@arm.com>
10380
10381 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
10382 (support_complex_tests): Use gdb_can_simple_compile.
10383 (is_ilp32_target): Likewise.
10384 (is_lp64_target): Likewise.
10385 (is_64_target): Likewise.
10386 (is_amd64_regs_target): Likewise.
10387 (is_aarch32_target): Likewise.
10388 (gdb_int128_helper): Likewise.
10389
6f1107b5
JK
103902018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10391
10392 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
10393
1f5d1570
JG
103942018-09-10 Jerome Guitton <guitton@adacore.com>
10395
10396 * gdb.ada/same_component_name: Add test for case of tagged record
10397 with variable-length fields.
10398
cc330e39
XR
103992018-09-10 Xavier Roirand <roirand@adacore.com>
10400
10401 * gdb.ada/access_to_unbounded_array.exp: New testcase.
10402 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
10403 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
10404 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
10405
b9c50e9a
XR
104062018-09-10 Xavier Roirand <roirand@adacore.com>
10407
10408 * gdb.ada/mi_string_access.exp: New testcase.
10409 * gdb.ada/mi_string_access/bar.adb: New file.
10410 * gdb.ada/mi_string_access/pck.adb: New file.
10411 * gdb.ada/mi_string_access/pck.asd: New file.
10412
2963898f
XR
104132018-09-10 Xavier Roirand <roirand@adacore.com>
10414
10415 * gdb.ada/mi_var_union.exp: New testcase.
10416 * gdb.ada/mi_var_union/bar.adb: New file.
10417 * gdb.ada/mi_var_union/pck.adb: New file.
10418 * gdb.ada/mi_var_union/pck.asd: New file.
10419
1aac008f
TT
104202018-09-08 Tom Tromey <tom@tromey.com>
10421
10422 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
10423
332cf4c9
TT
104242018-09-08 Tom Tromey <tom@tromey.com>
10425
10426 PR python/16047:
10427 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
10428 (register_pretty_printers): Register new printer.
10429 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
10430 test.
10431 * gdb.python/py-prettyprint.c (int_type3): New typedef.
10432 (an_int_type3): New global.
10433
424da6cf
JB
104342018-09-08 Joel Brobecker <brobecker@adacore.com>
10435
10436 * gdb.ada/expr_with_funcall: New testcase.
10437
2a62dfa9
JB
104382018-09-08 Joel Brobecker <brobecker@adacore.com>
10439
10440 * gdb.ada/packed_array_assign: New testcase.
10441
96b6697f
AB
104422018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
10443
10444 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
10445 names, and add test prefixes to make test names unique.
10446
e4a62c65
TV
104472018-09-05 Tom de Vries <tdevries@suse.de>
10448
10449 * gdb.dwarf2/varval.exp: Add test.
10450
dd083ee2
GB
104512018-09-04 Gary Benson <gbenson@redhat.com>
10452
10453 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
10454 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
10455
aef9346c
TT
104562018-08-31 Tom Tromey <tom@tromey.com>
10457
10458 * gdb.rust/simple.rs: Rename second variable "v".
10459
c67f2e15
AB
104602018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
10461
10462 * gdb.base/funcargs.c (use_a): New function.
10463 (recurse): Call use_a.
10464
078a0207
KS
104652018-08-29 Keith Seitz <keiths@redhat.com>
10466
10467 * gdb.compile/compile-cplus-anonymous.cc: New file.
10468 * gdb.compile/compile-cplus-anonymous.exp: New file.
10469 * gdb.compile/compile-cplus-array-decay.cc: New file.
10470 * gdb.compile/compile-cplus-array-decay.exp: New file.
10471 * gdb.compile/compile-cplus-inherit.cc: New file.
10472 * gdb.compile/compile-cplus-inherit.exp: New file.
10473 * gdb.compile/compile-cplus-member.cc: New file.
10474 * gdb.compile/compile-cplus-member.exp: New file.
10475 * gdb.compile/compile-cplus-method.cc: New file.
10476 * gdb.compile/compile-cplus-method.exp: New file.
10477 * gdb.compile/compile-cplus-mod.c: "New" file.
10478 * gdb.compile/compile-cplus-namespace.cc: New file.
10479 * gdb.compile/compile-cplus-namespace.exp: New file.
10480 * gdb.compile/compile-cplus-nested.cc: New file.
10481 * gdb.compile/compile-cplus-nested.exp: New file.
10482 * gdb.compile/compile-cplus-print.c: "New" file.
10483 * gdb.compile/compile-cplus-print.exp: "New" file.
10484 * gdb.compile/compile-cplus-virtual.cc: New file.
10485 * gdb.compile/compile-cplus-virtual.exp: New file.
10486 * gdb.compile/compile-cplus.c: "New" file.
10487 * gdb.compile/compile-cplus.exp: "New" file.
10488 * lib/compile-support.exp: New file.
10489
b0f492b9
GB
104902018-08-16 Gary Benson <gbenson@redhat.com>
10491
10492 PR gdb/13000:
10493 * gdb.base/batch-exit-status.exp: New file.
10494 * gdb.base/batch-exit-status.good-commands: Likewise.
10495 * gdb.base/batch-exit-status.bad-commands: Likewise.
10496
36eb4c5f
AH
104972018-08-29 Alan Hayward <alan.hayward@arm.com>
10498
10499 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
10500 (struct struct02): Likewise.
10501 (struct struct03): Likewise.
10502 (struct struct04): Likewise.
10503 (struct struct_01_01): New struct.
10504 (struct struct_01_02): Likewise.
10505 (struct struct_01_03): Likewise.
10506 (struct struct_01_04): Likewise.
10507 (struct struct_02_01): Likewise.
10508 (struct struct_02_02): Likewise.
10509 (struct struct_02_03): Likewise.
10510 (struct struct_02_04): Likewise.
10511 (struct struct_04_01): Likewise.
10512 (struct struct_04_02): Likewise.
10513 (struct struct_04_03): Likewise.
10514 (struct struct_04_04): Likewise.
10515 (struct struct_05_01): Likewise.
10516 (struct struct_05_02): Likewise.
10517 (struct struct_05_03): Likewise.
10518 (struct struct_05_04): Likewise.
10519 (cmp_struct01): Remove function.
10520 (cmp_struct02): Likewise.
10521 (cmp_struct03): Likewise.
10522 (cmp_struct04): Likewise.
10523 (cmp_struct_01_01): Add Function.
10524 (cmp_struct_01_02): Likewise.
10525 (cmp_struct_01_03): Likewise.
10526 (cmp_struct_01_04): Likewise.
10527 (cmp_struct_02_01): Likewise.
10528 (cmp_struct_02_02): Likewise.
10529 (cmp_struct_02_03): Likewise.
10530 (cmp_struct_02_04): Likewise.
10531 (cmp_struct_04_01): Likewise.
10532 (cmp_struct_04_02): Likewise.
10533 (cmp_struct_04_03): Likewise.
10534 (cmp_struct_04_04): Likewise.
10535 (cmp_struct_05_01): Likewise.
10536 (cmp_struct_05_02): Likewise.
10537 (cmp_struct_05_03): Likewise.
10538 (cmp_struct_05_04): Likewise.
10539 (call_all): Add new structs.
10540 * gdb.base/infcall-nested-structs.exp: Likewise.
10541
3bf9c013
JV
105422018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
10543
10544 * gdb.python/py-framefilter-mi.exp: Update regexp to
10545 check for "arch" field in frame output.
10546
450d1e88
KB
105472018-08-23 Kevin Buettner <kevinb@redhat.com>
10548
10549 * gdb.dwarf2/dw2-ranges-func.c: New file.
10550 * gdb.dwarf2/dw2-ranges-func.exp: New file.
10551
ae739fe7
SM
105522018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
10553
10554 * gdb.base/term.exp: Compare terminal settings with values from
10555 the inferior.
10556 * gdb.base/term.c: Get and set terminal settings.
10557
6d52907e
JV
105582018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
10559
10560 * lib/mi-support.exp (mi_expect_stop): Update regexp to
10561 accommodate new "arch" field in frame output.
10562 * gdb.mi/mi-return.exp: Likewise.
10563 * gdb.mi/mi-stack.exp: Likewise.
10564 * gdb.mi/mi-syn-frame.exp: Likewise.
10565 * gdb.mi/user-selected-context-sync.exp: Likewise.
10566
be2d111a
MS
105672018-08-19 Michael Spang <spang@google.com>
10568
10569 PR gdb/11786
10570 * gdb.base/gcore-tls-pie.c: New file.
10571 * gdb.base/gcore-tls-pie.exp: New file.
10572
ae3a7c47
KB
105732018-08-18 Kevin Buettner <kevinb@redhat.com>
10574
10575 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
10576 * gdb.dwarf2/varval.c: New file.
10577 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 10578
2ecae92e
AH
105792018-08-17 Alan Hayward <alan.hayward@arm.com>
10580
10581 PR gdb/18931
10582 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10583
c1854f1d
KS
105842018-08-16 Keith Seitz <keiths@redhat.com>
10585
10586 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10587 tests expected to pass.
10588
26fb3983
JV
105892018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10590
10591 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10592 -data-disassemble -a.
10593 (test_disassembly_bogus_args): Likewise.
10594
67943c00
AB
105952018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10596
10597 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10598
5ff2bbae
AB
105992018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10600
10601 * gdb.base/vla-optimized-out.exp: Add new test.
10602
e5bbcd0f
AB
106032018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10604
10605 * gdb.base/vla-optimized-out-o3.exp: Delete.
10606 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10607 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10608 deleted tests.
10609
9d4a934c
AB
106102018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10611
10612 PR gdb/18050:
10613 * gdb.server/extended-remote-restart.c: New file.
10614 * gdb.server/extended-remote-restart.exp: New file.
10615
045cf012
SM
106162018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10617
10618 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10619 "set variable index = 42".
10620
87d6a7aa
SM
106212018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10622
10623 * boards/index-cache-gdb.exp: New file.
10624 * gdb.dwarf2/index-cache.exp: New file.
10625 * gdb.dwarf2/index-cache.c: New file.
10626 * gdb.base/maint.exp: Check if we are using the index cache.
10627
96d68bd4
RO
106282018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10629
10630 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10631 MAKEFLAGS.
10632
5a699617
RO
106332018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10634
10635 * dg-extract-results.sh: Move to toplevel contrib.
10636 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10637 * Makefile.in (check-parallel-racy): Likewise.
10638
5bd18990
AB
106392018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10640
10641 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10642 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10643 tests if the target supports scheduler locking.
10644
3fbbcf47
TV
106452018-08-04 Tom de Vries <tdevries@suse.de>
10646
10647 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10648
3e1d3d8c
TT
106492018-08-02 Tom Tromey <tom@tromey.com>
10650
10651 PR symtab/16842.
10652 * gdb.cp/temargs.exp: Test "info address" of a template
10653 parameter.
10654
5abe0f0c
JV
106552018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10656
10657 * gdb.python/py-mi-var-info-path-expression.c: New file.
10658 * gdb.python/py-mi-var-info-path-expression.py: New file.
10659 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10660
fb66cde8
SDJ
106612018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10662
10663 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10664 error after "cannot resolve name" string.
10665
c708f4d2
AB
106662018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10667
10668 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10669 started.
10670 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10671
37cc0cae
TV
106722018-07-28 Tom de Vries <tdevries@suse.de>
10673
10674 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10675
63b4ecf7
TV
106762018-07-26 Tom de Vries <tdevries@suse.de>
10677
10678 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10679
3c3bb058
AB
106802018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10681
10682 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10683 is visible.
10684
9e7f3bbb
TV
106852018-07-26 Tom de Vries <tdevries@suse.de>
10686
10687 PR breakpoints/23366
10688 * gdb.base/catch-follow-exec.c: New test.
10689 * gdb.base/catch-follow-exec.exp: New file.
10690
16f808ec
TV
106912018-07-25 Tom de Vries <tdevries@suse.de>
10692
10693 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10694 vla-optimized-out.c.
10695
d7154a8d
JV
106962018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10697
10698 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10699 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10700
232a0032
TV
107012018-07-20 Tom de Vries <tdevries@suse.de>
10702
10703 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10704 NOCLONE macro.
10705 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10706
fbb1d502
TV
107072018-07-19 Tom de Vries <tdevries@suse.de>
10708
10709 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10710 regular expression.
10711
42dc7699
TV
107122018-07-18 Tom de Vries <tdevries@suse.de>
10713
10714 * gdb.base/vla-optimized-out.c: New test.
10715 * gdb.base/vla-optimized-out.exp: New file.
10716
7f1f7e23
SDJ
107172018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10718
10719 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10720 message "No address associated with hostname" when gdbserver
10721 cannot resolve the hostname.
10722
5759ebb3
PW
107232018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10724
10725 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10726 Add some test prefixes to make tests unique.
10727
3606ccab
PW
107282018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10729
10730 * gdb.base/frameapply.c: New file.
10731 * gdb.base/frameapply.exp: New file.
10732
529c08b2
PW
107332018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10734
10735 * gdb.base/skip.exp: Update expected error message.
10736
c7ab0aef
SDJ
107372018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10738 Jan Kratochvil <jan.kratochvil@redhat.com>
10739 Paul Fertser <fercerpav@gmail.com>
10740 Tsutomu Seki <sekiriki@gmail.com>
10741
10742 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10743 parameter.
10744 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10745 by default.
10746 * boards/native-gdbserver.exp: Likewise.
10747 * gdb.server/run-without-local-binary.exp: Improve regexp used
10748 for detecting when a remote debugging connection succeeds.
10749 * gdb.server/server-connect.exp: New file.
10750 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10751 Do not prefix the port number with ":".
10752 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10753 support for detecting and using it. Add '$debughost_gdbserver'
10754 to the list of arguments used to start gdbserver. Handle case
10755 when gdbserver cannot resolve a network name.
10756
16ff70dd
SDJ
107572018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10758
10759 PR c++/23373
10760 * gdb.base/ptype-offsets.cc (struct static_member): New
10761 struct.
10762 (main) <stmember>: New variable.
10763 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10764 with a static member in it.
10765
3541979f
AB
107662018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10767
10768 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10769 watchpoints enabled and disabled.
10770
c8ad9b9a
AB
107712018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10772
10773 * gdb.base/examine-backward.exp: Still run tests around address
10774 0x0, even if address 0x0 is not readable. Update the pattern for
10775 matching address 0x0 in expected output.
10776
e0e5e971
AB
107772018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10778
10779 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10780 malloc/free.
10781
1ea5da02
TV
107822018-07-04 Tom de Vries <tdevries@suse.de>
10783
10784 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10785
471b9d15
MR
107862018-07-02 Maciej W. Rozycki <macro@mips.com>
10787
10788 PR tdep/8282
10789 * gdb.arch/mips-disassembler-options.exp: New test.
10790 * gdb.arch/mips-disassembler-options.s: New test source.
10791
75acb486
PA
107922018-06-29 Pedro Alves <palves@redhat.com>
10793
10794 * gdb.threads/names.exp: Adjust expected "info threads" output.
10795
cd2bb709
PA
107962018-06-29 Pedro Alves <palves@redhat.com>
10797
10798 * gdb.opt/inline-break.exp (line number, address): Add "info
10799 break" tests.
10800
991ff292
PA
108012018-06-29 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10804 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10805 number and address and running to them.
10806
356819b6 108072018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
10808
10809 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10810
2512d7ef
JK
108112018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10812
10813 * lib/compiler.c: Remove executable permission flag.
10814
be1b6474
RB
108152018-06-28 Richard Bunt <richard.bunt@arm.com>
10816
10817 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10818 code.
10819 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10820
291f9a96
PT
108212018-06-28 Petr Tesarik <ptesarik@suse.cz>
10822
10823 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10824
ed6dfe51
PT
108252018-06-28 Petr Tesarik <ptesarik@suse.cz>
10826
10827 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10828 address argument is omitted.
10829
d4d429d5
PT
108302018-06-28 Petr Tesarik <ptesarik@suse.cz>
10831
10832 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10833
7ab6656f
OJ
108342018-06-27 Omair Javaid <omair.javaid@linaro.org>
10835
10836 PR gdb/21695
10837 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10838 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10839
a33ccfc7
TT
108402018-06-26 Tom Tromey <tom@tromey.com>
10841
10842 PR rust/22574:
10843 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10844 * gdb.rust/simple.rs (struct SimpleLayout): New.
10845
6d72d289
SM
108462018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10847
10848 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10849 "info registers" output.
10850
8363f9d5
RB
108512018-06-21 Richard Bunt <richard.bunt@arm.com>
10852
10853 * gdb.base/watchpoint-hw-attach.c: New test.
10854 * gdb.base/watchpoint-hw-attach.exp: New file.
10855
f00674fe
SM
108562018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10857
10858 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10859 through /bin/sh.
10860 * boards/dwarf4-gdb-index.exp: Likewise.
10861 * boards/fission-dwp.exp: Likewise.
10862
1d554008
UW
108632018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10864
10865 * gdb.base/float128.exp: Add comment and improved fail message
10866 to the failure case of "print large128" test.
10867
d0ac1c44
SM
108682018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10869
10870 * configure.ac: Remove AC_PREREQ.
10871 * configure: Re-generate.
10872
61b04dd0
PA
108732018-06-19 Pedro Alves <palves@redhat.com>
10874
10875 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10876 (func_extern_caller): New.
10877 (main): Call func_extern_caller.
10878 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10879 logic change.
10880
f63b508a
SM
108812018-06-18 Weimin Pan <weimin.pan@oracle.com>
10882
10883 PR gdb/16841
10884 * gdb.cp/typedef-base.cc: New file.
10885 * gdb.cp/typedef-base.exp: New file.
10886
0fe3a558
TV
108872018-06-18 Tom de Vries <tdevries@suse.de>
10888
10889 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10890
7010835a
AB
108912018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10892 Richard Bunt <Richard.Bunt@arm.com>
10893
10894 * gdb.threads/attach-slow-waitpid.c: New file.
10895 * gdb.threads/attach-slow-waitpid.exp: New file.
10896 * gdb.threads/slow-waitpid.c: New file.
10897
14897d65
PA
108982018-06-14 Pedro Alves <palves@redhat.com>
10899
10900 * gdb.base/fork-running-state.c: Include <errno.h>.
10901 (exit_if_relative_exits): New.
10902 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10903 exits.
10904 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10905 child exits.
10906
5d9a0608
TV
109072018-06-14 Tom de Vries <tdevries@suse.de>
10908
10909 PR cli/22573
10910 * gdb.base/finish-pretty.c: New test.
10911 * gdb.base/finish-pretty.exp: New file.
10912
11ae5818
PA
109132018-06-14 Pedro Alves <palves@redhat.com>
10914
10915 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10916 gdb's expected startup output.
10917
1d39de44
PA
109182018-06-14 Pedro Alves <palves@redhat.com>
10919
10920 * lib/selftest-support.exp (selftest_setup): Remove inlined
10921 function handling.
10922
70ee0000
TV
109232018-06-14 Tom de Vries <tdevries@suse.de>
10924
10925 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10926 matching of breakpoint printing.
10927
11f4b608
TV
109282018-06-13 Tom de Vries <tdevries@suse.de>
10929
10930 PR testsuite/23269
10931 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10932 (fork_child): ... here, and ...
10933 (fork_parent): ... here.
10934
109352018-06-12 Tom de Vries <tdevries@suse.de>
10936
10937 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10938
9516f85a
AB
109392018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10940 Stephen Roberts <stephen.roberts@arm.com>
10941
10942 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10943 rewrite test to describe action performed, rather than possible
10944 failure.
10945
5045b3d7
GB
109462018-06-08 Gary Benson <gbenson@redhat.com>
10947
10948 * gdb.threads/check-libthread-db.exp: New file.
10949 * gdb.threads/check-libthread-db.c: Likewise.
10950
c61b06a1
TT
109512018-06-05 Tom Tromey <tom@tromey.com>
10952
10953 * gdb.base/default.exp: Update expected "show version" output.
10954
eb6af809
TT
109552018-06-05 Tom Tromey <tom@tromey.com>
10956
10957 PR cli/12326:
10958 * gdb.cp/static-print-quit.exp: Update.
10959 * lib/gdb.exp (pagination_prompt): Update.
10960 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10961 * gdb.python/python.exp: Update.
10962
178d6a63
JB
109632018-06-04 Joel Brobecker <brobecker@adacore.com>
10964
10965 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10966
8e817061
JB
109672018-06-01 Joel Brobecker <brobecker@adacore.com>
10968
10969 * gdb.ada/bp_fun_addr: New testcase.
10970
e86ca25f
TT
109712018-06-01 Tom Tromey <tom@tromey.com>
10972
10973 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10974 results.
10975 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10976 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10977 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10978 * gdb.base/maint.exp (maint_pass_if): Update.
10979
4b2dfa9d
MR
109802018-05-31 Maciej W. Rozycki <macro@mips.com>
10981
10982 * gdb.base/endian.exp: New test.
10983 * gdb.base/endian.c: New test source.
10984
45f25d6c
AB
109852018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10986
10987 PR gdb/23203
10988 * gdb.base/bt-selected-frame.c: New file.
10989 * gdb.base/bt-selected-frame.exp: New file.
10990 * lib/gdb.exp (get_current_frame_number): New function.
10991
d9f6d7f8
MR
109922018-05-24 Maciej W. Rozycki <macro@mips.com>
10993 Pedro Alves <palves@redhat.com>
10994
10995 * gdb.threads/tls-core.c: Include <stdlib.h>
10996 (thread_proc): Call `abort'.
10997 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10998 (tls_core_test): New procedure, bits factored out from ...
10999 (top level): ... here. Test both native cores and gcore cores.
11000
ff1cf532
TT
110012018-05-23 Tom Tromey <tom@tromey.com>
11002
11003 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
11004
b98664d3
TT
110052018-05-23 Tom Tromey <tom@tromey.com>
11006
11007 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
11008 symfile_complaints.
11009 (test_short_complaints): Likewise.
11010 (test_empty_complaints): Likewise.
11011 (test_initial_complaints): Update.
11012
4e9668d0
TT
110132018-05-23 Tom Tromey <tom@tromey.com>
11014
11015 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
11016
43ba33c7
TT
110172018-05-23 Tom Tromey <tom@tromey.com>
11018
11019 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
11020 (test_short_complaints): Update.
11021
035522c0
PA
110222018-05-22 Pedro Alves <palves@redhat.com>
11023
11024 * gdb.base/remote.exp: Only gdb_start after compiling the
11025 testcase. Issue "disconnect" before testing "set remote" command
11026 defaults. Issue clean_restart before running to main.
11027
cc0be08f
PA
110282018-05-22 Pedro Alves <palves@redhat.com>
11029
11030 * gdb.base/remote.exp: Adjust expected output of "show remote
11031 memory-write-packet-size". Add tests for "set remote
11032 memory-write-packet-size 0" and "set remote
11033 memory-write-packet-size fixed/limit".
11034
b1b60145
PA
110352018-05-22 Pedro Alves <palves@redhat.com>
11036
11037 PR gdb/22973
11038 * gdb.base/utf8-identifiers.c: New file.
11039 * gdb.base/utf8-identifiers.exp: New file.
11040
0ec848ad
PFC
110412018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
11042
11043 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
11044
2c3305f6
PFC
110452018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
11046
11047 * gdb.arch/powerpc-vsx-gcore.exp: New file.
11048
ce1e8424
TT
110492018-05-18 Tom Tromey <tom@tromey.com>
11050
11051 * gdb.base/ptype-offsets.exp: Update.
11052
ddfe970e
KS
110532018-05-17 Keith Seitz <keiths@redhat.com>
11054
11055 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
11056 in expected breakpoint stop locations.
11057 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
11058 move to proper scope to test variable values.
11059 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
11060 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
11061 New functions.
11062 (main): Call not_inline_func3.
11063 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
11064 inline_func1, inline_func2, and inline_func3. Test that when each
11065 breakpoint is hit, GDB properly reports both the stop location
11066 and the backtrace. Repeat tests for temporary breakpoints.
11067
0726fcc6
MR
110682018-05-15 Maciej W. Rozycki <macro@mips.com>
11069
11070 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
11071 rather then trying to access it in determining whether the PID
11072 of `gdbserver' could have been retrieved.
11073
8ee22052
AB
110742018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
11075
11076 * gdb.arch/amd64-init-x87-values.S: New file.
11077 * gdb.arch/amd64-init-x87-values.exp: New file.
11078
7785df48
JK
110792018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11080
11081 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
11082
56bcdbea
TT
110832018-05-04 Tom Tromey <tom@tromey.com>
11084
11085 PR python/22730:
11086 * gdb.python/python.exp: Test multi-line execute.
11087
a913fffb
TT
110882018-05-04 Tom Tromey <tom@tromey.com>
11089
11090 PR python/22731:
11091 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
11092
7a2c85f2
TT
110932018-05-04 Tom Tromey <tom@tromey.com>
11094
11095 PR gdb/11750:
11096 * gdb.base/define.exp: Test defining a user command inside a user
11097 command.
11098 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
11099
a3b60e45
JK
111002018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11101 Pedro Alves <palves@redhat.com>
11102
11103 PR breakpoints/19806 and support for PR external/20207.
11104 * gdb.base/watchpoint-unaligned.c: New file.
11105 * gdb.base/watchpoint-unaligned.exp: New file.
11106
45fe4a03
AB
111072018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
11108
11109 * gdb.base/maint.exp: Make test names unique, use
11110 test_prefix_command_help to test 'help maint info', and remove
11111 repeated test of 'help maint'.
11112
9be2ae8f
TT
111132018-05-04 Tom Tromey <tom@tromey.com>
11114
11115 PR gdb/22619:
11116 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
11117 behavior.
11118
11859c31
AB
111192018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
11120
11121 * gdb.base/maint.exp: Process output from 'maint print registers'
11122 line at a time.
11123
089a9490
AB
111242018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
11125
11126 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
11127 timeout.
11128
9b0797e2
AB
111292018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
11130
11131 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
11132 filter pattern.
11133
f6ac5f3d
PA
111342018-05-02 Pedro Alves <palves@redhat.com>
11135
11136 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
11137 to_log_command renames.
11138 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
11139
77d3c63b
TT
111402018-05-02 Tom Tromey <tom@tromey.com>
11141
11142 * gdb.python/py-parameter.exp: Set test message.
11143
0489430a
TT
111442018-05-02 Tom Tromey <tom@tromey.com>
11145
11146 PR python/20084:
11147 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
11148 PARAM_ZUINTEGER_UNLIMITED tests.
11149
1632f8ba
DR
111502018-04-28 Dan Robertson <danlrobertson89@gmail.com>
11151
11152 PR rust/23124
11153 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
11154 when casting.
11155
6d7bb824
TT
111562018-04-30 Tom Tromey <tom@tromey.com>
11157
11158 * gdb.python/py-type.exp: Check align attribute.
11159 * gdb.python/py-type.c: New "aligncheck" global.
11160
007e1530
TT
111612018-04-30 Tom Tromey <tom@tromey.com>
11162
11163 PR exp/17095:
11164 * gdb.dwarf2/dw2-align.exp: New file.
11165 * gdb.cp/align.exp: New file.
11166 * gdb.base/align.exp: New file.
11167 * lib/gdb.exp (gdb_int128_helper): New proc.
11168 (has_int128_c, has_int128_cxx): New caching procs.
11169
6873858b
TT
111702018-04-27 Tom Tromey <tom@tromey.com>
11171
11172 PR rust/22545:
11173 * gdb.rust/simple.exp: Add inclusive range tests.
11174
79188d8d
PA
111752018-04-26 Pedro Alves <palves@redhat.com>
11176
11177 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
11178 ifunc breakpoint locations correctly of ifunc breakpoints set
11179 while the program resolves the ifunc.
11180
c7075ad5
PA
111812018-04-26 Pedro Alves <palves@redhat.com>
11182
11183 * gdb.base/gnu-ifunc-final.c: New file.
11184 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
11185 * gdb.base/gnu-ifunc.exp (executable): Delete.
11186 (staticexecutable): Adjust.
11187 (lib_opts, exec_opts): Delete.
11188 (make_binsuffix, build, set-break): New procedures.
11189 (misc_tests): New, with tests factored out from the top level.
11190 (top level): Test different combinations of ifunc resolver name,
11191 resolver with and with debug info, and ifunc target with and
11192 without debug info. Wrap static tests with with_target_prefix.
11193
8388016d
PA
111942018-04-26 Pedro Alves <palves@redhat.com>
11195
11196 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
11197 return type" warnings.
11198
249b5733
PA
111992018-04-25 Pedro Alves <palves@redhat.com>
11200
11201 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
11202 killed".
11203 * gdb.base/kill-after-signal.exp: Likewise.
11204 * gdb.threads/kill.exp: Likewise.
11205
f67c0c91
SDJ
112062018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11207 Sergio Durigan Junior <sergiodj@redhat.com>
11208 Pedro Alves <palves@redhat.com>
11209
11210 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
11211 regexps to expect for '[Inferior ... detached]' as well.
11212 * gdb.base/attach.exp: Likewise.
11213 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
11214 "gdb_continue_to_end".
11215 (test_catch_syscall_with_wrong_args): Likewise.
11216 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
11217 ']'. Don't set 'verbose' on.
11218 * gdb.base/foll-vfork.exp: Likewise.
11219 * gdb.base/fork-print-inferior-events.c: New file.
11220 * gdb.base/fork-print-inferior-events.exp: New file.
11221 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
11222 '[Inferior ... has been killed]' message.
11223 * gdb.base/kill-after-signal.exp: Likewise.
11224 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
11225 detach message.
11226 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
11227 message.
11228 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
11229 regexps to expect for '[Inferior ... detached]' as well.
11230 * gdb.threads/process-dies-while-detaching.exp: Likewise.
11231
0a8ddac4
SM
112322018-04-24 Simon Marchi <simon.marchi@ericsson.com>
11233
11234 PR gdb/23104
11235 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
11236
701adfb0
PA
112372018-04-22 Rajendra SY <rajendra.sy@gmail.com>
11238
11239 PR gdb/23095
11240 * gdb.base/break-probes.exp: Pass shlib_load to
11241 prepare_for_testing. Set normal_bp to r_debug_state if target is
11242 bsd.
11243
d27d16bf
RB
112442018-04-19 Richard Bunt <richard.bunt@arm.com>
11245
11246 * gdb.threads/multiple-successive-infcall.c: New test.
11247 * gdb.threads/multiple-successive-infcall.exp: New file.
11248
a037790e
TT
112492018-04-17 Tom Tromey <tom@tromey.com>
11250
11251 * gdb.rust/simple.rs (Union): New type.
11252 (main): New local "u".
11253 * gdb.rust/simple.exp (test_one_slice): Add new test case.
11254
e3a91079
AA
112552018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11256
11257 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
11258 number information in output of "whereis" command.
11259 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
11260
b744723f
AA
112612018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11262
11263 * gdb.ada/info_types.exp: Adjust expected output to the line
11264 numbers now printed by "info var/func/type".
11265 * gdb.base/completion.exp: Likewise.
11266 * gdb.base/included.exp: Likewise.
11267 * gdb.cp/cp-relocate.exp: Likewise.
11268 * gdb.cp/cplusfuncs.exp: Likewise.
11269 * gdb.cp/namespace.exp: Likewise.
11270 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
11271
4a4495d6
MM
112722018-04-13 Markus Metzger <markus.t.metzger@intel.com>
11273
11274 * gdb.btrace/cpu.exp: New.
11275
1d509aa6
MM
112762018-04-13 Markus Metzger <markus.t.metzger@intel.com>
11277
11278 * gdb.base/step-indirect-call-thunk.exp: New.
11279 * gdb.base/step-indirect-call-thunk.c: New.
11280 * gdb.reverse/step-indirect-call-thunk.exp: New.
11281 * gdb.reverse/step-indirect-call-thunk.c: New.
11282
6295b6da
SM
112832018-04-11 Simon Marchi <simon.marchi@ericsson.com>
11284
11285 * gdb.base/pie-fork.c: New file.
11286 * gdb.base/pie-fork.exp: New file.
11287
50146e70
TT
112882018-04-11 Tom Tromey <tom@tromey.com>
11289
11290 * gdb.rust/simple.exp: Add test for ".." struct initializer.
11291
f50d8a2e
PA
112922018-04-10 Pedro Alves <palves@redhat.com>
11293
11294 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
11295 exits. Instead loop running forever.
11296 (fork_parent): Run forever too.
11297
a0be7a36
SM
112982018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
11299
11300 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
11301 mi_continue_to_line.
11302 * gdb.mi/mi-stack.c (callee4): Add comment.
11303
9b73db36
SM
113042018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
11305
11306 * gdb.mi/mi-stack.exp: Fix indentation.
11307
c912f608
SM
113082018-04-07 Simon Marchi <simon.marchi@ericsson.com>
11309
11310 PR gdb/22979
11311 * gdb.arch/amd64-osabi.exp: New file.
11312
26540402
SM
113132018-04-07 Simon Marchi <simon.marchi@ericsson.com>
11314
11315 PR gdb/22980
11316 * gdb.base/osabi.exp: New file.
11317
121ad66c 113182018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
11319
11320 * gdb.cp/static-typedef-print.exp: New file.
11321 * gdb.cp/static-typedef-print.cc: New file.
11322
3fcded8f
JB
113232018-03-27 Joel Brobecker <brobecker@adacore.com>
11324
11325 * gdb.ada/varsize_limit: New testcase.
11326
59cc4834
JB
113272018-03-27 Joel Brobecker <brobecker@adacore.com>
11328
11329 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
11330
11331 * gdb.ada/notcplusplus: New testcase.
11332
11333 * gdb.base/c-linkage-name.c: New file.
11334 * gdb.base/c-linkage-name.exp: New testcase.
11335
4ca59a9f
TT
113362018-03-26 Tom Tromey <tom@tromey.com>
11337
11338 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
11339 * gdb.python/py-framefilter.py (name_error): New global.
11340 (ErrorInName.function): Use name_error.
11341
978d6c75
TT
113422018-03-26 Tom Tromey <tom@tromey.com>
11343
11344 PR backtrace/15582:
11345 * gdb.python/py-framefilter.exp: Add "bt hide" test.
11346
b7fee5a3
KS
113472018-03-23 Keith Seitz <keiths@redhat.com>
11348
11349 PR c++/22968
11350 * gdb.cp/subtypes.exp: New file.
11351 * gdb.cp/subtypes.h: New file.
11352 * gdb.cp/subtypes.cc: New file.
11353 * gdb.cp/subtypes-2.cc: New file.
11354
376be529
AB
113552018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
11356
11357 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
11358 (done): Call '_exit' not 'exit' to avoid atexit handlers.
11359 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
11360 -nostartfiles when compiling the test. Confirm that all registers
11361 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
11362
066cfa98
AB
113632018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
11364
11365 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
11366 option, syntax was wrong anyway.
11367 * gdb.arch/arm-disp-step.exp: Likewise.
11368 * gdb.arch/sparc64-regs.exp: Likewise.
11369 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
11370 option, syntax was wrong anyway, switch to use
11371 prepare_for_testing.
11372 * gdb.arch/i386-disp-step.exp: Likewise.
11373
079670b9
AA
113742018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
11375
11376 * gdb.ada/exec_changed.exp: Replace "target_info exists
11377 use_gdb_stub" by "use_gdb_stub".
11378 * gdb.ada/start.exp: Likewise.
11379 * gdb.base/async-shell.exp: Likewise.
11380 * gdb.base/attach-pie-misread.exp: Likewise.
11381 * gdb.base/attach-wait-input.exp: Likewise.
11382 * gdb.base/break-entry.exp: Likewise.
11383 * gdb.base/break-interp.exp: Likewise.
11384 * gdb.base/dprintf-detach.exp: Likewise.
11385 * gdb.base/nostdlib.exp: Likewise.
11386 * gdb.base/solib-nodir.exp: Likewise.
11387 * gdb.base/statistics.exp: Likewise.
11388 * gdb.base/testenv.exp: Likewise.
11389 * gdb.mi/mi-exec-run.exp: Likewise.
11390 * gdb.mi/mi-start.exp: Likewise.
11391 * gdb.multi/dummy-frame-restore.exp: Likewise.
11392 * gdb.multi/multi-arch-exec.exp: Likewise.
11393 * gdb.multi/multi-arch.exp: Likewise.
11394 * gdb.multi/tids.exp: Likewise.
11395 * gdb.multi/watchpoint-multi.exp: Likewise.
11396 * gdb.python/py-events.exp: Likewise.
11397 * gdb.threads/attach-into-signal.exp: Likewise.
11398 * gdb.threads/attach-stopped.exp: Likewise.
11399 * gdb.threads/threadapply.exp: Likewise.
11400 * lib/selftest-support.exp: Likewise.
11401
26d6cec4
AA
114022018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
11403
11404 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
11405
4ee89e90
SR
114062018-03-20 Stephen Roberts <stephen.roberts@arm.com>
11407
11408 * gdb.perf/template-breakpoints.cc: New file.
11409 * gdb.perf/template-breakpoints.exp: New file.
11410 * gdb.perf/template-breakpoints.py: New file.
11411
92630041
TT
114122018-03-19 Tom Tromey <tom@tromey.com>
11413
11414 * gdb.rust/simple.rs (main): Add local variables field1, field2,
11415 y0.
11416 * gdb.rust/simple.exp: Test bare identifier form of struct
11417 initializer.
11418
76727919
TT
114192018-03-19 Tom Tromey <tom@tromey.com>
11420
11421 * gdb.gdb/observer.exp: Remove.
11422
194ed413
AA
114232018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11424
11425 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
11426 "qualified" option when setting breakpoints.
11427 * gdb.trace/backtrace.exp: Likewise.
11428 * gdb.trace/circ.exp: Likewise.
11429 * gdb.trace/collection.exp: Likewise.
11430 * gdb.trace/disconnected-tracing.exp: Likewise.
11431 * gdb.trace/ftrace-lock.exp: Likewise.
11432 * gdb.trace/ftrace.exp: Likewise.
11433 * gdb.trace/infotrace.exp: Likewise.
11434 * gdb.trace/packetlen.exp: Likewise.
11435 * gdb.trace/passc-dyn.exp: Likewise.
11436 * gdb.trace/qtro.exp: Likewise.
11437 * gdb.trace/read-memory.exp: Likewise.
11438 * gdb.trace/report.exp: Likewise.
11439 * gdb.trace/signal.exp: Likewise.
11440 * gdb.trace/status-stop.exp: Likewise.
11441 * gdb.trace/strace.exp: Likewise.
11442 * gdb.trace/tfind.exp: Likewise.
11443 * gdb.trace/trace-break.exp: Likewise.
11444 * gdb.trace/trace-condition.exp: Likewise.
11445 * gdb.trace/trace-mt.exp: Likewise.
11446 * gdb.trace/tstatus.exp: Likewise.
11447 * gdb.trace/tsv.exp: Likewise.
11448 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11449 * gdb.trace/unavailable.exp: Likewise.
11450 * gdb.trace/while-dyn.exp: Likewise.
11451
8b067d2c
AA
114522018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11453
11454 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
11455 that libinproctrace is copied to the target.
11456
3ae9ce5d
TT
114572018-03-14 Tom Tromey <tom@tromey.com>
11458
11459 PR cli/14977:
11460 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
11461 a null pointer.
11462 * gdb.base/wchar.exp: Likewise.
11463
b8c2339b
TT
114642018-03-14 Tom Tromey <tom@tromey.com>
11465
11466 PR cli/19918:
11467 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
11468 flag.
11469
4872dc46
SM
114702018-03-08 Simon Marchi <simon.marchi@ericsson.com>
11471
11472 PR gdb/22841
11473 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
11474 "target" to remote_exec.
11475
e4fe3756
SM
114762018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
11477
11478 PR gdb/22841
11479 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
11480 ${board}_upload): Remove.
11481
e95a97d4
AA
114822018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
11483
11484 * gdb.cp/watch-cp.cc: New test.
11485 * gdb.cp/watch-cp.exp: New file.
11486
dbbb1059
AB
114872018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
11488
11489 * gdb.base/infcall-nested-structs.exp: New file.
11490 * gdb.base/infcall-nested-structs.c: New file.
11491 * gdb.base/float.exp: Add riscv support.
11492
ecc054c0
TP
114932018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
11494
11495 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
11496 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
11497
25e3c82c
SDJ
114982018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
11499
11500 * gdb.server/abspath.exp: New file.
11501 * lib/gdb.exp (with_cwd): New procedure.
11502
3083294d
SM
115032018-02-28 Simon Marchi <simon.marchi@ericsson.com>
11504
11505 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
11506 use it.
11507 (gdb_is_target_remote_prompt): New proc.
11508 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
11509 (gdb_is_target_native): Pass prompt parameter to
11510 gdb_is_target_1.
11511
3275ef47
SM
115122018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
11513
11514 * gdb.base/load-command.c: New file.
11515 * gdb.base/load-command.exp: New file.
11516 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
11517 (gdb_is_target_1): ...this, and generalize for other targets
11518 than just remote.
11519 (gdb_is_target_remote): Use gdb_is_target_1.
11520 (gdb_is_target_native): use gdb_is_target_1.
11521
6893c19a
TT
115222018-02-26 Tom Tromey <tom@tromey.com>
11523
11524 PR python/16497:
11525 * gdb.python/py-framefilter.exp: Update test.
11526
2ddeaf8a
TT
115272018-02-26 Tom Tromey <tom@tromey.com>
11528
11529 * gdb.dwarf2/variant.c: New file.
11530 * gdb.dwarf2/variant.exp: New file.
11531
c9317f21
TT
115322018-02-26 Tom Tromey <tom@tromey.com>
11533
11534 * gdb.rust/simple.exp: Accept more possible results in enum test.
11535
6f6d0c26
SM
115362018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
11537
11538 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
11539 parentheses.
11540
11b03145
MR
115412018-02-23 Maciej W. Rozycki <macro@mips.com>
11542
11543 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
11544 name of a variable: $actual_linejj -> $actual_line.
11545
54a27fe5
JB
115462018-02-21 John Baldwin <jhb@FreeBSD.org>
11547
11548 * gdb.arch/amd64-i386-address.exp: Fix a typo.
11549
de65820c
MM
115502018-02-20 Markus Metzger <markus.t.metzger@intel.com>
11551
11552 * gdb.btrace/buffer-size.exp: Do not force BTS.
11553
980548fd
PA
115542018-02-14 Pedro Alves <palves@redhat.com>
11555
11556 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
11557 getting a "Quit".
11558
c4e12631
MM
115592018-02-09 Markus Metzger <markus.t.metzger@intel.com>
11560
11561 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
11562 Fix test name.
11563
c2e0e465
SM
115642018-02-07 Simon Marchi <simon.marchi@ericsson.com>
11565
11566 * gdb.cp/m-static.exp: Check type of optimized out static
11567 member.
11568
f7216783
AB
115692018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
11570
11571 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
11572 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
11573
0625771b
LS
115742018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
11575 Leszek Swirski <leszeks@google.com>
11576
11577 * gdb.python/py-prettyprint.c
11578 (struct to_string_returns_value_inner,
11579 struct to_string_returns_value_wrapper): New.
11580 (main): Add tsrvw variable.
11581 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11582 ToStringReturnsValueWrapper): New classes.
11583 (register_pretty_printers): Register new pretty-printers.
11584 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11585 recursive pretty printer.
11586 * gdb.python/py-mi.exp: Likewise.
11587
59498c30
LS
115882018-02-01 Leszek Swirski <leszeks@google.com>
11589
11590 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11591 functions with the same name as an include file are parsed
11592 correctly.
11593
d4d38844
YQ
115942018-02-01 Yao Qi <yao.qi@linaro.org>
11595
11596 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11597 "\[^\r\n\]*".
11598
07e5f5cf
NP
115992018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11600
11601 * gdb.arch/powerpc-prologue-frame.s: New file.
11602 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11603 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11604
929b5ad4
JB
116052018-01-31 Joel Brobecker <brobecker@adacore.com>
11606
11607 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11608
e671cd59
PA
116092018-01-30 Pedro Alves <palves@redhat.com>
11610
11611 PR gdb/13211
11612 * gdb.base/interrupt-daemon.c: New.
11613 * gdb.base/interrupt-daemon.exp: New.
11614 * gdb.multi/multi-term-settings.c: New.
11615 * gdb.multi/multi-term-settings.exp: New.
11616
fc413dc4
JB
116172018-01-30 Joel Brobecker <brobecker@adacore.com>
11618
11619 * gdb.base/break.exp: Save the location where the breakpoint
11620 on break.c:47 was actually inserted when debugging the version
11621 compiled at -O2 and use it in the expected output of the "info
11622 break" test performed soon after.
11623
5c319bb2
PA
116242018-01-22 Pedro Alves <palves@redhat.com>
11625 Sergio Durigan Junior <sergiodj@redhat.com>
11626
11627 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11628 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11629
a9e40818
JB
116302018-01-22 Joel Brobecker <brobecker@adacore.com>
11631
11632 * gdb.base/break-include.c, gdb.base/break-include.inc,
11633 gdb.base/break-include.exp: New files.
11634 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11635 line number now being the actual line number where the breakpoint
11636 was inserted.
11637 * gdb.mi/mi-break.exp: Likewise.
11638 * gdb.mi/mi-reverse.exp: Likewise.
11639 * gdb.mi/mi-simplerun.exp: Ditto.
11640
e707fc44
AB
116412018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11642
11643 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11644 varobj.
11645 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11646
ae451627
AB
116472018-01-21 Don Breazeal <donb@codesourcery.com>
11648 Andrew Burgess <andrew.burgess@embecosm.com>
11649
11650 * gdb.mi/basics.c: Add new global.
11651 * gdb.mi/mi-frame-regs.exp: New file.
11652 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11653 case.
11654
b1b189e0
AB
116552018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11656
11657 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11658 non-parameter, and on an unknown symbol.
11659
fcfcc376
TT
116602018-01-19 Tom Tromey <tom@tromey.com>
11661
11662 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11663 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11664
634c1c31
AA
116652018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11666
11667 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11668 setrlimit and chdir to int.
11669
d6ad07fd
AA
116702018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11671
11672 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11673 function.
11674 (my_tend): Likewise.
11675 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11676 rationale of avoiding FP- and vector instructions.
11677
adf8243b
RK
116782018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11679
11680 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11681 "info reg" with "\[ \t\]*".
11682 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11683 "\[ \t\]+".
11684 * gdb.arch/s390-multiarch.exp: Ditto.
11685 * gdb.base/pc-fp.exp: Ditto.
11686 * gdb.reverse/i386-precsave.exp: Ditto.
11687 * gdb.reverse/i386-reverse.exp: Ditto.
11688 * gdb.reverse/i387-env-reverse.exp: Ditto.
11689 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11690
dcc06925
AA
116912018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11692
11693 * lib/gdb.exp (gdb_compile): Re-enable use of
11694 universal_compile_options for languages other than Rust.
11695
25d4fd80
AA
116962018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11697
11698 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11699
ee7f689e 117002018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
11701
11702 PR gdb/16577
11703 * gdb.base/solib-vanish.exp: New.
11704 * gdb.base/solib-vanish-main.c: New.
11705 * gdb.base/solib-vanish-lib1.c: New.
11706 * gdb.base/solib-vanish-lib2.c: New.
11707
d8447b6b
YQ
117082018-01-17 Yao Qi <yao.qi@linaro.org>
11709
11710 * gdb.compile/compile.exp: Match the address printed for
11711 frame in the output of command "bt".
11712
86d6a90c
TT
117132018-01-15 Tom Tromey <tom@tromey.com>
11714
11715 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11716 compute sp_reg.
11717
cbcdb1aa
AB
117182018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11719
11720 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11721 to prepare.
11722 (prepare): Return 0 on error, 1 on success.
11723
eea61984
PA
117242018-01-12 Pedro Alves <palves@redhat.com>
11725
11726 * gdb.base/continue-after-aborted-step-over.c: New.
11727 * gdb.base/continue-after-aborted-step-over.exp: New.
11728
6181e9c2
SM
117292018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11730
11731 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11732 options when not creating an executable.
11733
3cada740
PA
117342018-01-11 Pedro Alves <palves@redhat.com>
11735
11736 PR remote/22597
11737 * gdb.server/stop-reply-no-thread.c: New file.
11738 * gdb.server/stop-reply-no-thread.exp: New file.
11739
c63d3e8d
PA
117402018-01-10 Pedro Alves <palves@redhat.com>
11741
11742 PR gdb/22670
11743 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11744 functions too. Test setting breakpoints and printing C functions
11745 with no debug info too.
11746 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11747
d4c2a405
PA
117482018-01-10 Pedro Alves <palves@redhat.com>
11749
11750 PR gdb/22670
11751 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11752 a fail.
11753
8825213e
PA
117542018-01-10 Pedro Alves <palves@redhat.com>
11755
11756 PR gdb/22670
11757 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11758
605fd3c6
YQ
117592018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11760
11761 * gdb.server/unittest.exp: Match the output in non-development
11762 mode.
11763
1e5ded6c
YQ
117642018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11765
11766 * gdb.gdb/unittest.exp: Match output in non-development mode.
11767
30066b0b
JB
117682018-01-08 Joel Brobecker <brobecker@adacore.com>
11769
11770 * gdb.ada/access_tagged_param.exp: Relax expected output
11771 for value of "ObjL" in "continue" to pck.inspect breakpoint
11772 test.
11773
04bafb1e
XR
117742018-01-08 Joel Brobecker <brobecker@adacore.com>
11775
9f86398b
JB
11776 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11777 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 11778
e379cee6
PA
117792018-01-05 Pedro Alves <palves@redhat.com>
11780
11781 PR gdb/18653
11782 * gdb.base/libsegfault.exp: New.
11783
de63c46b
PA
117842018-01-05 Joel Brobecker <brobecker@adacore.com>
11785
11786 PR gdb/22670
11787 * gdb.ada/access_tagged_param.exp: New file.
11788 * gdb.ada/access_tagged_param/foo.adb: New file.
11789
f98fc17b
PA
117902018-01-05 Pedro Alves <palves@redhat.com>
11791
11792 PR gdb/22670
11793 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11794 exercise lower case too, and to exercise both full matching and
11795 wild matching.
11796
342f8240
JB
117972018-01-05 Joel Brobecker <brobecker@adacore.com>
11798
11799 * gdb.ada/rename_subscript_param: New testcase.
11800
7150d33c
JG
118012018-01-05 Jerome Guitton <guitton@adacore.com>
11802
11803 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11804
cc0e770c
JB
118052018-01-05 Joel Brobecker <brobecker@adacore.com>
11806
11807 * gdb.ada/convvar_comp: New testcase.
11808
672a41aa 118092018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
11810
11811 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11812 (My_Table): New global variable.
11813 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11814
7365ec2f
JB
118152018-01-04 Joel Brobecker <brobecker@adacore.com>
11816
11817 PR gdb/22670
11818 * gdb.ada/maint_with_ada: New testcase.
11819
289483b6
JB
118202018-01-04 Joel Brobecker <brobecker@adacore.com>
11821
11822 PR gdb/22670
11823 * gdb.ada/bp_c_mixed_case: New testcase.
11824
344420da
JB
118252018-01-04 Joel Brobecker <brobecker@adacore.com>
11826
11827 PR gdb/22670
11828 * gdb.ada/complete.exp: Add "complete break ada" test.
11829
66fc87a0
JB
118302018-01-04 Joel Brobecker <brobecker@adacore.com>
11831
11832 PR gdb/22670
11833 * gdb.ada/info_addr_mixed_case: New testcase.
11834
9f757bf7
XR
118352018-01-03 Xavier Roirand <roirand@adacore.com>
11836
11837 * gdb.ada/excep_handle.exp: New testcase.
11838 * gdb.ada/excep_handle/foo.adb: New file.
11839 * gdb.ada/excep_handle/pck.ads: New file.
11840
bd570f80
JB
118412018-01-03 Joel Brobecker <brobecker@adacore.com>
11842
11843 * gdb.base/step-line.c: Add extra empty line in copyright header.
11844 * gdb.base/step-line.inp: Likewise.
11845
9fe561ab
JB
118462018-01-02 Joel Brobecker <brobecker@adacore.com>
11847
11848 * gdb.ada/dyn_stride.exp: Add slice test.
11849
a405673c
JB
118502018-01-02 Joel Brobecker <brobecker@adacore.com>
11851
11852 * gdb.ada/dyn_stride: New testcase.
11853
cef0f868
SH
118542017-12-27 Stafford Horne <shorne@gmail.com>
11855
11856 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11857 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11858
b67d92b0
SH
118592017-12-27 Stafford Horne <shorne@gmail.com>
11860
11861 * gdb.base/reggroups.c: New file.
11862 * gdb.base/reggroups.exp: New file.
11863
eccab96d
JB
118642017-12-18 Joel Brobecker <brobecker@adacore.com>
11865
11866 * gdb.dwarf2/ada-valprint-error.c: New file.
11867 * gdb.dwarf2/ada-valprint-error.exp: New file.
11868
0e2da9f0
JB
118692017-12-18 Joel Brobecker <brobecker@adacore.com>
11870
11871 * gdb.ada/assign_arr: New testcase.
11872
cb923fcc
XR
118732017-12-18 Xavier Roirand <roirand@adacore.com>
11874
11875 * gdb.ada/funcall_ptr: New testcase.
11876
7c161838
SDJ
118772017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11878
11879 PR cli/16224
11880 * gdb.base/ptype-offsets.cc: New file.
11881 * gdb.base/ptype-offsets.exp: New file.
11882
1af17fd9
YQ
118832017-12-15 Yao Qi <yao.qi@linaro.org>
11884
11885 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11886 if XML is disabled.
11887
828d5846
XR
118882017-12-15 Xavier Roirand <roirand@adacore.com>
11889
11890 * gdb.ada/same_component_name: New testcase.
11891
79e8fcaa
JB
118922017-12-14 Joel Brobecker <brobecker@adacore.com>
11893
11894 * gdb.ada/str_binop_equal: New testcase.
11895
e05fa6f9
JB
118962017-12-14 Joel Brobecker <brobecker@adacore.com>
11897
11898 * gdb.ada/task_switch_in_core: New testcase.
11899
b89641ba
SM
119002017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11901
11902 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11903 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11904 call test_bkpt_qualified.
11905 (test_bkpt_qualified): New proc.
11906
6892d2e4
PA
119072017-12-13 Pedro Alves <palves@redhat.com>
11908
11909 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11910 Tighten regexp by matching with an anchor.
11911
a22ecf70
PA
119122017-12-13 Pedro Alves <palves@redhat.com>
11913
11914 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11915 ("expression with namespace"): New set of tests.
11916 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11917 (Nested::Test_NS::qux): New.
11918 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11919 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11920
9937536c
JB
119212017-12-13 Joel Brobecker <brobecker@adacore.com>
11922
11923 * gdb.base/server-del-break.c: New file.
11924 * gdb.base/server-del-break.exp: New file.
11925
fe49c6f5
SH
119262017-12-12 Stafford Horne <shorne@gmail.com>
11927
11928 * gdb.xml/tdesc-regs.exp: Add or1k support.
11929
c3d18620
SH
119302017-12-12 Stafford Horne <shorne@gmail.com>
11931
11932 * gdb.base/bp-permanent.c: Define nop of or1k.
11933
c5f9cfc8
JB
119342017-12-11 Joel Brobecker <brobecker@adacore.com>
11935
11936 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11937 output with components being reordered.
11938
a9c135fc
JB
119392017-12-11 Joel Brobecker <brobecker@adacore.com>
11940
11941 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11942 output with components being reordered.
11943
927aa2e7
JK
119442017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11945 Pedro Alves <palves@redhat.com>
11946
11947 * gdb.base/maint.exp (check for .gdb_index): Check also for
11948 .debug_names.
11949 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11950 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11951 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11952 (.gdb_index used after symbol reloading): Support also .debug_names.
11953 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11954
f17d9474
YQ
119552017-12-08 Yao Qi <yao.qi@linaro.org>
11956
11957 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11958 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11959
a0de8c21
YQ
119602017-12-08 Yao Qi <yao.qi@linaro.org>
11961
11962 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11963 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11964
a738ea1d
YQ
119652017-12-08 Yao Qi <yao.qi@linaro.org>
11966
11967 * gdb.arch/aarch64-tagged-pointer.c: New file.
11968 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11969
1cd9a73b
SDJ
119702017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11971
11972 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11973 "int".
11974
fa6eb693
KS
119752017-12-07 Keith Seitz <keiths@redhat.com>
11976
11977 PR breakpoints/22569
11978 * gdb.linespec/ls-errs.exp: Change expected result of "break
11979 -source this file has spaces.c -line 3".
11980 Check that an explicit source file followed by whitespace is
11981 identified as an invalid explicit location.
11982
883fd55a
KS
119832017-12-07 Keith Seitz <keiths@redhat.com>
11984
11985 * gdb.cp/nested-types.cc: New file.
11986 * gdb.cp/nested-types.exp: New file.
11987 * lib/cp-support.exp: Load data-structures.exp library.
11988 (debug_cp_test_ptype_class): New global.
11989 (cp_ptype_class_verbose, next_line): New procedures.
11990 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11991 Add and document new return value.
11992 Switch the list of lines to a queue.
11993 Add support for new `type' key for nested type definitions.
11994 Add debugging/troubleshooting messages.
11995 * lib/data-structures.exp: New file.
11996
ec72db3e
SM
119972017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11998
11999 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
12000 with proc_with_prefix, don't use with_test_prefix.
12001
99598d71
TT
120022017-12-07 Tom Tromey <tom@tromey.com>
12003
12004 * gdb.base/break.exp: Add test for empty "commands".
12005
a8806230
YQ
120062017-12-07 Yao Qi <yao.qi@linaro.org>
12007
12008 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
12009 malloc and catch syscall.
12010
824cc835
PM
120112017-12-07 Phil Muldoon <pmuldoon@redhat.com>
12012
e79be6e5 12013 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
12014 tests for explicit locations.
12015
7cc244de
PA
120162017-12-06 Pedro Alves <palves@redhat.com>
12017
12018 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
12019 force-disabling XML descriptions.
12020
50a1fdd5
PA
120212017-12-04 Pedro Alves <palves@redhat.com>
12022
12023 PR gdb/22499
12024 * gdb.arch/amd64-disp-step-avx.S: New file.
12025 * gdb.arch/amd64-disp-step-avx.exp: New file.
12026
f0fb2488
PA
120272017-12-03 Pedro Alves <palves@redhat.com>
12028
12029 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
12030 and <string.h>.
12031 (parent_function): Print distinct messages when waitpid fails, or
12032 the child exits with a signal, or the child exits for an unhandled
12033 reason.
12034 * gdb.threads/process-dies-while-detaching.exp
12035 (detach_and_expect_exit): New 'inf_output_re' parameter and use
12036 it. Wait for both inferior output and GDB's prompt. Use an
12037 indirect spawn id list.
12038 (do_detach): New parameter 'child_exit'. Use it to compute
12039 expected inferior output.
12040 (test_detach, test_detach_watch, test_detach_killed_outside):
12041 Adjust to pass down the expected child exit kind.
12042
97cbe998
SDJ
120432017-12-01 Joel Brobecker <brobecker@adacore.com>
12044 Sergio Durigan Junior <sergiodj@redhat.com>
12045 Pedro Alves <palves@redhat.com>
12046
12047 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
12048
40fc416f
SDJ
120492017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
12050
12051 * gdb.base/relocate.exp: Add tests to guarantee that arguments
12052 to 'symbol-file' and 'add-symbol-file' can be
12053 position-independent.
12054
1cc75e92
YQ
120552017-12-01 Yao Qi <yao.qi@linaro.org>
12056
12057 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
12058 the URL in copyright header.
12059 * gdb.arch/aarch64-fp.exp: Likewise.
12060 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
12061 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
12062 * gdb.base/expand-psymtabs.exp: Likewise.
12063 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
12064 * gdb.fortran/common-block.exp: Likewise.
12065 * gdb.fortran/common-block.f90: Likewise.
12066 * gdb.fortran/logical.exp: Likewise.
12067 * gdb.fortran/vla-datatypes.f90: Likewise.
12068 * gdb.fortran/vla-sub.f90: Likewise.
12069
875fb7a7
JB
120702017-11-30 Joel Brobecker <brobecker@adacore.com>
12071
12072 * gdb.ada/repeat_dyn: New testcase.
12073
6f14765f
UW
120742017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
12075
12076 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
12077 Update for changed thread numbering.
12078 * gdb.cell/bt.exp: Update for changed GDB output.
12079
f1af7b94
SM
120802017-11-30 Simon Marchi <simon.marchi@ericsson.com>
12081
12082 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
12083 setting isremote by hand.
12084 * boards/dwarf4-gdb-index.exp: Likewise.
12085 * boards/fission.exp: Likewise.
12086 * boards/stabs.exp: Likewise.
12087
e3919f3e
PA
120882017-11-30 Pedro Alves <palves@redhat.com>
12089
12090 * gdb.linespec/cpls-ops.exp
12091 (check_explicit_skips_function_argument): Extract the underlying
12092 type of size_t instead of hardcoding it.
12093
bd69330d
PA
120942017-11-29 Pedro Alves <palves@redhat.com>
12095
12096 PR c++/19436
12097 * gdb.linespec/cpls-abi-tag.cc: New file.
12098 * gdb.linespec/cpls-abi-tag.exp: New file.
12099
a20714ff
PA
121002017-11-29 Pedro Alves <palves@redhat.com>
12101
12102 * gdb.base/langs.exp: Use -qualified.
12103 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
12104 it.
12105 * gdb.cp/namespace.exp: Use -qualified.
12106 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
12107 (overload-3, template-overload, template-ret-type, const-overload)
12108 (const-overload-quoted, anon-ns, ambiguous-prefix): New
12109 procedures.
12110 (test_driver): Call them.
12111 * gdb.cp/save-bp-qualified.cc: New.
12112 * gdb.cp/save-bp-qualified.exp: New.
12113 * gdb.linespec/explicit.exp: Test -qualified.
12114 * lib/completion-support.exp (completion::explicit_opts_list): Add
12115 "-qualified".
12116 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
12117
f6f1d339
PM
121182017-11-29 Phil Muldoon <pmuldoon@redhat.com>
12119
12120 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
12121
02ca603a
TT
121222017-11-29 Tom Tromey <tom@tromey.com>
12123
12124 * gdb.base/relocate.exp: Update invalid argument test.
12125 Add new tests for invalid arguments.
12126
ed6c0bfb
TP
121272017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
12128
12129 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
12130 Return 0 as a long.
12131 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
12132
f106e10e
TP
121332017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
12134
12135 * gdb.cp/breakpoint.cc (bar): Set return type to void.
12136 * gdb.cp/psymtab-parameter.cc (func): Likewise.
12137 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
12138 func ().
12139 * gdb.cp/shadow.cc (B.func): Return 0.
12140
10329bb2
JB
121412017-11-27 Joel Brobecker <brobecker@adacore.com>
12142
12143 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
12144 expected output in gdb_expect call to allow the exception
12145 message to be present as well. Fix syntax confusion to avoid
12146 TCL thinking that exception_name is an array.
12147
617cd4bc
UW
121482017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
12149
12150 * gdb.arch/spu-info.c: Include <unistd.h>.
12151 (do_signal_test): Fix broken calls to write.
12152 * gdb.arch/spu-info.exp: Use prepare_for_testing.
12153 Fix checks for empty mailboxes. Update signal tests for corrected
12154 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
12155 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
12156 * gdb.cell/arch.exp: Use standard_output_file.
12157 * gdb.cell/break.exp: Likewise.
12158 * gdb.cell/bt.exp: Likewise.
12159 * gdb.cell/core.exp: Likewise.
12160 * gdb.cell/dwarfaddr.exp: Likewise.
12161 * gdb.cell/ea-cache.exp: Likewise.
12162 * gdb.cell/ea-standalone.exp: Likewise.
12163 * gdb.cell/f-regs.exp: Likewise.
12164 * gdb.cell/fork.exp: Likewise.
12165 * gdb.cell/gcore.exp: Likewise.
12166 * gdb.cell/mem-access.exp: Likewise.
12167 * gdb.cell/ptype.exp: Likewise.
12168 * gdb.cell/registers.exp: Likewise.
12169 * gdb.cell/sizeof.exp: Likewise.
12170 * gdb.cell/solib-symbol.exp: Likewise.
12171 * gdb.cell/solib.exp: Likewise.
617cd4bc 12172
a81aaca0
PA
121732017-11-25 Pedro Alves <palves@redhat.com>
12174
12175 * gdb.base/complete-empty.exp: New file.
12176 * gdb.base/completion.exp: Adjust.
12177
6a3c6ee4
PA
121782017-11-25 Pedro Alves <palves@redhat.com>
12179
12180 * gdb.linespec/cpls-ops.cc: New file.
12181 * gdb.linespec/cpls-ops.exp: New file.
12182 * lib/completion-support.exp (test_complete_prefix_range_re): New,
12183 factored out from ...
12184 (test_complete_prefix_range): ... this.
12185
8955eb2d
PA
121862017-11-24 Pedro Alves <palves@redhat.com>
12187
12188 * gdb.linespec/cpcompletion.exp: New file.
12189 * gdb.linespec/cpls-hyphen.cc: New file.
12190 * gdb.linespec/cpls.cc: New file.
12191 * gdb.linespec/cpls2.cc: New file.
12192 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
12193 test to use test_gdb_complete_unique. Add label completion,
12194 keyword completion and explicit location completion tests.
12195 * lib/completion-support.exp: New file.
12196
e547c119
JB
121972017-11-24 Joel Brobecker <brobecker@adacore.com>
12198
12199 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
12200 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
12201 when hitting an exception catchpoint.
12202
7c3c1aa8
YQ
122032017-11-22 Yao Qi <yao.qi@linaro.org>
12204
12205 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
12206
41bd68f5
SM
122072017-11-22 Simon Marchi <simon.marchi@ericsson.com>
12208
12209 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
12210 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
12211 * gdb.dwarf2/info-locals-optimized-out.c: New file.
12212
1daad298
YQ
122132017-11-22 Yao Qi <yao.qi@linaro.org>
12214
12215 * gdb.base/info-os.exp: Pass pthreads.
12216 * gdb.multi/multi-attach.exp: Likewise.
12217
88465e87
YQ
122182017-11-22 Yao Qi <yao.qi@linaro.org>
12219
12220 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
12221 compiler.
12222
dc196b23
YQ
122232017-11-22 Yao Qi <yao.qi@linaro.org>
12224
12225 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
12226 * gdb.base/break-interp.exp: Likewise.
12227 * gdb.base/jit-attach-pie.exp: Likewise.
12228
2400729e
UW
122292017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
12230
12231 * gdb.base/float128.c (large128): New variable.
12232 * gdb.base/float128.exp: Add test to print largest __float128 value.
12233
7a26362d
UW
122342017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
12235
12236 * gdb.arch/vsx-regs.exp: Update register content checks.
12237
ed0f4273
UW
122382017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
12239
12240 * gdb.arch/ppc-longdouble.exp: New file.
12241 * gdb.arch/ppc-longdouble.c: Likewise.
12242
a25d69c6
PA
122432017-11-21 Pedro Alves <palves@redhat.com>
12244
12245 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
12246
73fcf641
PA
122472017-11-20 Pedro Alves <palves@redhat.com>
12248
12249 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
12250 (long_double_typedef): New typedefs.
12251 Use DEF on double and long double.
12252 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
12253 cases.
12254 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
12255 and 'long_double_ptr_same_size' locals. Use them to decide
12256 whether cast from array/function to float is valid/invalid.
12257
71a3c369
TT
122582017-11-17 Tom Tromey <tom@tromey.com>
12259
12260 * gdb.rust/traits.rs: New file.
12261 * gdb.rust/traits.exp: New file.
12262
ced9779b
JB
122632017-11-17 Joel Brobecker <brobecker@adacore.com>
12264
12265 * gdb.ada/minsyms: New testcase.
12266
a0922d80
PA
122672017-11-16 Pedro Alves <palves@redhat.com>
12268
12269 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
12270 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
12271
ea04e54c
PA
122722017-11-16 Pedro Alves <palves@redhat.com>
12273
12274 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
12275 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
12276
e849ea89
PA
122772017-11-16 Pedro Alves <palves@redhat.com>
12278
12279 * gdb.server/reconnect-ctrl-c.c: New file.
12280 * gdb.server/reconnect-ctrl-c.exp: New file.
12281
d8ae99a7
PM
122822017-11-16 Phil Muldoon <pmuldoon@redhat.com>
12283
12284 * gdb.python/py-rbreak.exp: New file.
12285 * gdb.python/py-rbreak.c: New file.
12286 * gdb.python/py-rbreak-func2.c: New file.
12287
968a13f8
PA
122882017-11-16 Pedro Alves <palves@redhat.com>
12289
12290 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
12291 pattern.
12292 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
12293 GDB.
12294
71774bc9
SM
122952017-11-15 Simon Marchi <simon.marchi@ericsson.com>
12296
12297 * gdb.tui/completionn.exp (test_tab_completion): Add space in
12298 regex.
12299
ddbb44cf
SM
123002017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
12301
12302 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
12303 test names.
12304
584a564f
PA
123052017-11-09 Pedro Alves <palves@redhat.com>
12306
12307 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
12308 factored out from ...
12309 (top level): ... here, and adjusted to avoid expecting beyond the
12310 prompt in a single gdb_test_multiple.
12311
5ed7a928
PA
123122017-11-09 Pedro Alves <palves@redhat.com>
12313
12314 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
12315 output.
12316 * gdb.server/ext-attach.exp ("kill" test): Likewise.
12317 * gdb.server/ext-restart.exp ("kill" test): Likewise.
12318 * gdb.server/ext-run.exp ("kill" test): Likewise.
12319 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
12320
a60e0738
PA
123212017-11-09 Pedro Alves <palves@redhat.com>
12322
12323 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
12324 match till end of line.
12325
2c88253f
PA
123262017-11-09 Pedro Alves <palves@redhat.com>
12327
12328 * gdb.base/memattr.exp: Tighten regexes to match the end line.
12329
c7a38517
PA
123302017-11-09 Pedro Alves <palves@redhat.com>
12331
12332 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
12333 New procedures, factored out from ...
12334 (top level): ... here, and adjusted to avoid expecting beyond the
12335 prompt in one go.
12336
f29f4b6b
PA
123372017-11-09 Pedro Alves <palves@redhat.com>
12338
12339 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
12340 output. Fix '?' match.
12341
286acbb5
JB
123422017-11-08 Joel Brobecker <brobecker@adacore.com>
12343
12344 * gdb.ada/scoped_watch: New testcase.
12345 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
12346 which is actually correct.
12347 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
12348 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
12349
62d7ae92
PA
123502017-11-08 Pedro Alves <palves@redhat.com>
12351
12352 * gdb.gdb/complaints.exp (test_initial_complaints)
12353 (test_serial_complaints, test_short_complaints): Call
12354 complaint_internal instead of complaint.
12355
280ca31f
DT
123562017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
12357
12358 * gdb.threads/tls-core.c: New file.
12359 * gdb.threads/tls-core.exp: Likewise.
12360
b5ec771e
PA
123612017-11-08 Pedro Alves <palves@redhat.com>
12362
12363 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
12364 (p Exported_Capitalized): New test.
12365 (p exported_capitalized): New test.
12366
a02b41a7
PA
123672017-11-07 Pedro Alves <palves@redhat.com>
12368
12369 * gdb.cp/ena-dis-br-range.exp: Add more tests.
12370
95e95a6d
PA
123712017-11-07 Pedro Alves <palves@redhat.com>
12372
12373 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
12374 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
12375 (disable_invalid, disable_inverted, disable_negative): New
12376 procedures.
12377 ("bad numbers"): New set of tests.
12378
cee62dbd
PA
123792017-11-07 Pedro Alves <palves@redhat.com>
12380
12381 * gdb.cp/ena-dis-br-range.exp: Add tests.
12382
cc638e86
PA
123832017-11-07 Pedro Alves <palves@redhat.com>
12384
12385 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
12386
d0fe4701
XR
123872017-11-07 Xavier Roirand <roirand@adacore.com>
12388 Pedro Alves <palves@redhat.com>
12389
12390 * gdb.base/ena-dis-br.exp: Add reference to
12391 gdb.cp/ena-dis-br-range.exp.
12392 * gdb.cp/ena-dis-br-range.exp: New file.
12393 * gdb.cp/ena-dis-br-range.cc: New file.
12394
46f67f80
PA
123952017-11-06 Pedro Alves <palves@redhat.com>
12396
12397 * gdb.base/attach-non-pgrp-leader.c: New.
12398 * gdb.base/attach-non-pgrp-leader.exp: New.
12399
726e1356
PA
124002017-11-06 Pedro Alves <palves@redhat.com>
12401
12402 * configure.ac: No longer check for termio.h and sgtty.h.
12403 * configure: Regenerate.
12404 * remote-utils.c: Include termios.h instead of gdb_termios.h.
12405 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
12406 Remove termio and sgtty code.
12407
50ab6ace
YQ
124082017-11-03 Yao Qi <yao.qi@linaro.org>
12409
12410 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
12411 in GDB is disabled.
12412
8e68731c
YQ
124132017-11-03 Yao Qi <yao.qi@linaro.org>
12414
12415 * gdb.python/py-thrhandle.exp: Skip it if python is not
12416 enabled.
12417
3a87ae65
SM
124182017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
12419
12420 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
12421 as a breakpoint command.
12422
484d8d36
MD
124232017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
12424
12425 PR python/21213
12426 * gdb.python/py-infthread.exp: Test calling
12427 InferiorThread.inferior () multiple times in a row.
12428
4a27f119
KS
124292017-10-27 Keith Seitz <keiths@redhat.com>
12430
12431 * gdb.opt/inline-break.exp (break_info_1): New procedure.
12432 Test "info break" for every inlined function breakpoint.
12433
bb11dd58
YQ
124342017-10-27 Yao Qi <yao.qi@linaro.org>
12435
12436 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
12437
a43f3893
PF
124382017-10-26 Patrick Frants <osscontribute@gmail.com>
12439
12440 * gdb.cp/classes.exp (test_static_members): Test printing
12441 Outer::instance.
12442 * gdb.cp/classes.c (struct Inner, struct Outer): New.
12443 (Inner::instance, Outer::instance): New.
12444
792ccf00
PA
124452017-10-24 Pedro Alves <palves@redhat.com>
12446
12447 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
12448 extra console" test in two stages.
12449
eb2bfbad
PA
124502017-10-24 Pedro Alves <palves@redhat.com>
12451
12452 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
12453
1f75a651
PA
124542017-10-24 Pedro Alves <palves@redhat.com>
12455
12456 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
12457 loop.
12458
779990d9
PA
124592017-10-24 Pedro Alves <palves@redhat.com>
12460
12461 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
12462 $attempt" and "stoppedtry $stoppedtry" test prefixes.
12463
ad9b8f5d
PA
124642017-10-24 Pedro Alves <palves@redhat.com>
12465
12466 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
12467 parameter and handle it. Don't output read value in test name.
12468
fee6da6e
PA
124692017-10-24 Pedro Alves <palves@redhat.com>
12470
12471 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
12472 custom test name.
12473
10389c2c
PA
124742017-10-24 Pedro Alves <palves@redhat.com>
12475
12476 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
12477 include the unstable output directory name in the test's name.
12478 (initial_setup_simple) <'set args'>: Use custom test name.
12479
a80e65a9
PA
124802017-10-24 Pedro Alves <palves@redhat.com>
12481
12482 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
12483 with explicit test name.
12484
15763a09
PA
124852017-10-20 Pedro Alves <palves@redhat.com>
12486
12487 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
12488 'wait -i'. Use gdb_assert and remote_close.
12489
49a4ce2e
AB
124902017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
12491
12492 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
12493 number from variable rather than hard-coded.
12494
a75868f5
PA
124952017-10-19 Pedro Alves <palves@redhat.com>
12496
12497 * gdb.base/long-inferior-output.c: New file.
12498 * gdb.base/long-inferior-output.exp: New file.
12499
c8ba13ad
KS
125002017-11-18 Keith Seitz <keiths@redhat.com>
12501
12502 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
12503 method.
12504 (main): Call it.
12505 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
12506 Add additional user-defined conversion operator tests.
12507
b27de576
PA
125082017-10-17 Pedro Alves <palves@redhat.com>
12509
12510 * boards/native-stdio-gdbserver.exp: Load "local-board".
12511
8484c955
PA
125122017-10-17 Pedro Alves <palves@redhat.com>
12513
12514 * gdb.base/quit-live.c: New file.
12515 * gdb.base/quit-live.exp: New file.
12516
83d5a34d
KS
125172017-10-16 Keith Seitz <keiths@redhat.com>
12518
12519 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
12520 (class_with_protected_typedef, class_with_private_typedef)
12521 (struct_with_public_typedef, struct_with_protected_typedef)
12522 (struct_with_private_typedef): New classes/structs.
12523 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
12524 typedefs and access specifiers.
12525
739b3f1d
PA
125262017-10-16 Pedro Alves <palves@redhat.com>
12527 Simon Marchi <simon.marchi@polymtl.ca>
12528
12529 * README (Local vs Remote vs Native): New section.
12530 * boards/local-board.exp: New file, with bits factored out from
12531 ...
12532 * boards/native-extended-gdbserver.exp: ... here. Load
12533 "local-board".
12534 * boards/native-gdbserver.exp: Load "local-board".
12535 (${board}_spawn, ${board}_exec): Delete.
12536 * boards/native-stdio-gdbserver.exp: Most contents factored out to
12537 ...
12538 * boards/stdio-gdbserver-base.exp: ... this new file.
12539 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
12540 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
12541 procedure.
12542 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
12543 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
12544 stdio_gdbserver_command.
12545 (${board}_get_remote_address, ${board}_get_comm_port)
12546 (${board}_download, ${board}_upload): Delete.
12547 (get_target_remote_pipe_cmd): New.
12548
fe68b953
SM
125492017-10-16 Simon Marchi <simon.marchi@ericsson.com>
12550
12551 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
12552 test_bkpt_deletion, test_bkpt_cond_and_cmds,
12553 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
12554 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
12555 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
12556 remove with_test_prefix.
12557
300b6685
PA
125582017-10-13 Pedro Alves <palves@redhat.com>
12559
12560 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
12561 * gdb.base/annota1.exp: Use it instead of is_remote.
12562 * gdb.base/annota3.exp: Use it instead of is_remote.
12563 * gdb.cp/annota2.exp: Use it instead of is_remote.
12564 * gdb.cp/annota3.exp: Use it instead of is_remote.
12565 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
12566
50500caf
PA
125672017-10-13 Pedro Alves <palves@redhat.com>
12568
12569 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
12570 (test_num_test_vars, run_and_count_vars, find_env)
12571 (test_set_unset_env, test_inherit_env_var): New procedures.
12572 (top level): Use them.
12573
dad0c6d2
PA
125742017-10-13 Pedro Alves <palves@redhat.com>
12575
12576 * lib/selftest-support.exp (selftest_setup): Extend comments, and
12577 also skip on stub-like targets.
12578
8b0553c1
PA
125792017-10-13 Pedro Alves <palves@redhat.com>
12580
12581 PR gdb/22293
12582 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12583 (top level): Move some tests to ...
12584 (test_not_found): ... this new procedure.
12585 (top level): Call it.
12586
7594f623
PA
125872017-10-13 Pedro Alves <palves@redhat.com>
12588
12589 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12590 expect different "info terminal" output if testing with a
12591 non-native target.
12592
ebe3b402
PA
125932017-10-13 Pedro Alves <palves@redhat.com>
12594 Simon Marchi <simon.marchi@polymtl.ca>
12595
12596 PR python/12966
12597 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12598
42f1b161
PA
125992017-10-13 Pedro Alves <palves@redhat.com>
12600
12601 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12602 already.
12603
8d6ef72b
PA
126042017-10-13 Pedro Alves <palves@redhat.com>
12605
12606 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12607 is_remote.
12608
d7bcd5b8
PA
126092017-10-13 Pedro Alves <palves@redhat.com>
12610
12611 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12612 is_remote.
12613
df479dc6
PA
126142017-10-13 Pedro Alves <palves@redhat.com>
12615
12616 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12617 is set.
12618 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12619 instead of is_remote.
12620
23fb630a
PA
126212017-10-13 Pedro Alves <palves@redhat.com>
12622
12623 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12624 (top level): Add comment.
12625
cc77b1dc
PA
126262017-10-13 Pedro Alves <palves@redhat.com>
12627
12628 * gdb.base/remote.exp (top level): Fix comment typo and add
12629 missing return.
12630
27c9e813
PA
126312017-10-13 Pedro Alves <palves@redhat.com>
12632 Simon Marchi <simon.marchi@polymtl.ca>
12633
12634 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12635 calls and add comments. Skip test if use_gdb_stub is set.
12636 (top level): Use "set cwd" command instead of "cd" command.
12637
5e830d98
PA
126382017-10-13 Pedro Alves <palves@redhat.com>
12639
12640 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12641 is_remote target check.
12642
f5ca0032
PA
126432017-10-13 Pedro Alves <palves@redhat.com>
12644
12645 * gdb.base/scope.exp: Use build_executable + clean_restart +
12646 gdb_file_cmd instead of prepare_for_testing and no longer skip
12647 "before run" tests on is_remote target boards. Update comments.
12648 * boards/native-extended-gdbserver.exp
12649 (extended_gdbserver_load_last_file): New, factored out from ...
12650 (gdb_load): ... this. Move further below and add comment.
12651 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12652
8aed1c0d
PA
126532017-10-12 Pedro Alves <palves@redhat.com>
12654
12655 * gdb.base/attach.exp: Remove references to gdb64.
12656 * gdb.base/dbx.exp: Remove references to gdb64.
12657
cfa34c87
SM
126582017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12659 Pedro Alves <palves@redhat.com>
12660
12661 * gdb.base/label.exp: Remove is_remote target check.
12662
9192b7de
PA
126632017-10-12 Pedro Alves <palves@redhat.com>
12664
12665 * gdb.base/auvx.exp (coredir): Update comment.
12666 (top level) <core_works>: Use "set cwd" command instead of "cd"
12667 command.
12668
6bf0052d
PA
126692017-10-12 Pedro Alves <palves@redhat.com>
12670 Simon Marchi <simon.marchi@polymtl.ca>
12671
12672 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12673 target boards.
12674
e48ef82d
PA
126752017-10-12 Pedro Alves <palves@redhat.com>
12676 Simon Marchi <simon.marchi@polymtl.ca>
12677
12678 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12679 Instead skip if there's any gdb_protocol set.
12680
8d7aea57
SM
126812017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12682 Pedro Alves <palves@redhat.com>
12683
12684 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12685
30440677
PA
126862017-10-12 Pedro Alves <palves@redhat.com>
12687 Simon Marchi <simon.marchi@polymtl.ca>
12688
12689 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12690 instead of on dejagnu remote boards.
12691
4e04f045 126922017-10-12 Pedro Alves <palves@redhat.com>
175654b9 12693 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
12694
12695 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12696 checks. Use build_executable + clean_restart instead of
12697 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12698 of enabling non-stop after starting gdb.
12699
871a186e
PA
127002017-10-12 Pedro Alves <palves@redhat.com>
12701
12702 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12703 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12704 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12705 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12706
56d704da
AK
127072017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12708
12709 * gdb.arch/arc-tdesc-cpu.exp: New file.
12710 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12711
2f20e312
SM
127122017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12713
12714 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12715
65630365
PA
127162017-10-10 Pedro Alves <palves@redhat.com>
12717
12718 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12719 expect CLI output.
12720
bf469271
PA
127212017-10-10 Pedro Alves <palves@redhat.com>
12722
12723 * lib/selftest-support.exp (selftest_setup): Update for
12724 captured_command_loop's prototype change.
12725
777a42f1
PA
127262017-10-09 Pedro Alves <palves@redhat.com>
12727
12728 Test both arch1=>arch2 and arch2=>arch1.
12729
12730 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12731 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12732 factored out to...
12733 (append_arch1_options, append_arch2_options, append_arch_options)
12734 (build_executables): New procedures.
12735 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12736 local.
12737 (top level): Add new 'first_arch' testing axis.
12738
cbd2b4e3
PA
127392017-10-09 Pedro Alves <palves@redhat.com>
12740
12741 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12742 (barrier): New.
12743 (thread_start, all_started): New functions.
12744 (main): Spawn new thread and wait until it is scheduled.
12745 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12746 option.
12747 (do_test): Add 'selected_thread' parameter. Run to all_started
12748 instead of main. Explicitly set the breakpoint at main. Switch
12749 to the SELECTED_THREAD thread.
12750 (top level): Test handling the exec event with either the main
12751 thread or the second thread selected.
12752
5c9e4427
PA
127532017-10-09 Pedro Alves <palves@redhat.com>
12754
12755 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12756 logic. Move STOP marker after the value checks.
12757 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12758 regexp.
12759
b3b7c423
SL
127602017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12761
12762 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12763
3b4b2f16
UW
127642017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12765
12766 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12767 integer-to-dfp conversion.
12768 * gdb.base/dfp-test.exp: Likewise.
12769
5cd63fda
PA
127702017-10-04 Pedro Alves <palves@redhat.com>
12771
12772 * gdb.multi/hangout.c: Include <unistd.h>.
12773 (hangout_loop): New function.
12774 (main): Call alarm. Call hangout_loop in a loop.
12775 * gdb.multi/hello.c: Include <unistd.h>.
12776 (hello_loop): New function.
12777 (main): Call alarm. Call hangout_loop in a loop.
12778 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12779 inferior with the other selected.
12780
4c71c105
SM
127812017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12782
12783 * gdb.mi/list-thread-groups-available.exp: New file.
12784 * gdb.mi/list-thread-groups-available.c: New file.
12785
bc3b087d
SDJ
127862017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12787
12788 * gdb.base/set-cwd.exp: Make it available on
12789 native-extended-gdbserver.
12790
d092c5a2
SDJ
127912017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12792
12793 * gdb.base/set-cwd.c: New file.
12794 * gdb.base/set-cwd.exp: Likewise.
12795
45320ffa
TT
127962017-10-02 Tom Tromey <tom@tromey.com>
12797
12798 PR rust/22236:
12799 * gdb.rust/simple.rs (main): New variable "fslice".
12800 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12801
b3e3859b
TT
128022017-10-02 Tom Tromey <tom@tromey.com>
12803
12804 * gdb.rust/simple.exp: Test ptype of a slice.
12805
01af5e0d
TT
128062017-10-02 Tom Tromey <tom@tromey.com>
12807
12808 * gdb.rust/simple.exp: Test index of slice.
12809
a9bbfbd8
TT
128102017-09-27 Tom Tromey <tom@tromey.com>
12811
12812 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12813
df8899e5
TP
128142017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12815 Pedro Alves <palves@redhat.com>
12816
12817 * gdb.base/compare-sections.exp (get value of read-only section): Read
12818 as unsigned value.
12819 (corrupt read-only section): Likewise and don't set written if patching
12820 failed.
12821
757bf54b
KB
128222017-09-21 Kevin Buettner <kevinb@redhat.com>
12823
12824 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12825 files.
12826
06871ae8
PA
128272017-09-20 Pedro Alves <palves@redhat.com>
12828
12829 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12830 symbol names in gdb's output.
12831 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12832
e5f25bc5
PA
128332017-09-20 Pedro Alves <palves@redhat.com>
12834
12835 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12836 Rename to ...
12837 (test_list_ambiguous_symbol): ... this and add a symbol name
12838 parameter. Adjust.
12839 (test_list_ambiguous_function): Reimplement on top of
12840 test_list_ambiguous_symbol and also test listing ambiguous
12841 variables.
12842 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12843 (ambiguous_fun): ... this.
12844 (ambiguous_var): New.
12845 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12846 (ambiguous_fun): ... this.
12847 (ambiguous_var): New.
12848
4e5a4f58
JB
128492017-09-19 John Baldwin <jhb@FreeBSD.org>
12850
12851 * gdb.base/starti.c: New file.
12852 * gdb.base/starti.exp: New file.
12853 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12854
26e53f3e
PA
128552017-09-14 Pedro Alves <palves@redhat.com>
12856
12857 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12858 (top level): Use it instead of runto.
12859
cb791d59
TT
128602017-09-11 Tom Tromey <tom@tromey.com>
12861
12862 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12863
7c96f8c1
TT
128642017-09-11 Tom Tromey <tom@tromey.com>
12865
12866 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12867 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12868
469412dd
CW
128692017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12870
12871 * gdb.fortran/printing-types.exp: New file.
12872 * gdb.fortran/printing-types.exp: New file.
12873
e0f86435
BH
128742017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12875
12876 * gdb.fortran/vla-ptype.exp: Fix typos.
12877 * gdb.fortran/vla-value.exp: Same.
12878
9e9af4be
BH
128792017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12880
12881 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12882 * gdb.mi/mi-var-child-f.exp: Likewise.
12883 * gdb.mi/mi-vla-fortran.exp: Likewise.
12884
a5ad232b 128852017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
12886 Christoph Weinmann <christoph.t.weinmann@intel.com>
12887 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
12888
12889 * gdb.fortran/ptr-indentation.f90: New file.
12890 * gdb.fortran/ptr-indentation.exp: New file.
12891
5aec60eb
TT
128922017-09-05 Tom Tromey <tom@tromey.com>
12893
12894 PR gdb/22010:
12895 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12896
8f8f8152
TP
128972017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12898
12899 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12900
fbd1b771
JK
129012017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12902
12903 * gdb.threads/tls-nodebug-pie.c: New file.
12904 * gdb.threads/tls-nodebug-pie.exp: New file.
12905
5eb5f850
TT
129062017-09-05 Tom Tromey <tom@tromey.com>
12907
12908 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12909 for rust.
12910
ae780a21
SM
129112017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12912
12913 * gdb.multi/multi-arch-exec.exp: Test with different
12914 "follow-exec-mode" settings.
12915 (do_test): New procedure.
12916
3693fdb3
PA
129172017-09-04 Pedro Alves <palves@redhat.com>
12918
12919 * gdb.base/func-static.c (S::method const, S::method volatile)
12920 (S::method volatile const): New methods.
12921 (c_s, v_s, cv_s): New instances.
12922 (main): Call method() on them.
12923 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12924 (cannot_resolve): New procedure.
12925 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12926 print-quote-unquoted columns.
12927 (do_test): Test printing each scope too.
12928
e68cb8e0
PA
129292017-09-04 Pedro Alves <palves@redhat.com>
12930
12931 * gdb.base/local-static.exp: Also test with
12932 class::method::variable wholly quoted.
12933 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12934
858be34c
PA
129352017-09-04 Pedro Alves <palves@redhat.com>
12936
12937 * gdb.base/local-static.c: New.
12938 * gdb.base/local-static.cc: New.
12939 * gdb.base/local-static.exp: New.
12940
46a4882b
PA
129412017-09-04 Pedro Alves <palves@redhat.com>
12942
12943 * gdb.asm/asm-source.exp: Add casts to int.
12944 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12945 (dataglobal64_1, dataglobal64_2): New globals.
12946 * gdb.base/nodebug.exp: Test different expressions involving the
12947 new globals, with print, whatis and ptype. Add casts to int.
12948 * gdb.base/solib-display.exp: Add casts to int.
12949 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12950 * gdb.cp/m-static.exp: Add cast to int.
12951 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12952 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12953 tls variable with no debug info without a cast. Test with a cast
12954 to int too.
12955 * gdb.trace/entry-values.exp: Add casts.
12956
2c5a2be1
PA
129572017-09-04 Pedro Alves <palves@redhat.com>
12958
12959 * gdb.base/nodebug.exp: Test that ptype's error about functions
12960 with unknown return type includes the function name too.
12961
7022349d
PA
129622017-09-04 Pedro Alves <palves@redhat.com>
12963
12964 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12965 return type of munmap in infcall.
12966 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12967 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12968 type of ftell in infcall.
12969 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12970 type of getpid in infcall.
12971 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12972 infcall.
12973 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12974 Bail on failure to extract the pid.
12975 * gdb.base/nodebug.c: #include <stdint.h>.
12976 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12977 New functions.
12978 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12979 Change expected output of print/whatis/ptype with functions with
12980 no debug info. Test all supported languages. Call
12981 test_call_promotion.
12982 * gdb.compile/compile.exp: Adjust expected output to expect
12983 warning.
12984 * gdb.threads/siginfo-threads.exp: Likewise.
12985
54990598
PA
129862017-09-04 Pedro Alves <palves@redhat.com>
12987
12988 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12989 "prototypes". Test calling float functions via prototyped and
12990 unprototyped function pointers.
12991 (perform_all_tests): New parameter "prototypes". Pass it down.
12992 (top level): Pass down "prototypes" parameter to
12993 perform_all_tests.
12994
34d16ea2
SM
129952017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12996
12997 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12998 Test with nested loops.
12999
9521ecda
SM
130002017-09-04 Simon Marchi <simon.marchi@ericsson.com>
13001
13002 * gdb.base/commands.exp: Call the new procedures.
13003 (loop_break_test, loop_continue_test): New procedures.
13004
80a65e9b
SM
130052017-09-04 Simon Marchi <simon.marchi@ericsson.com>
13006
13007 * gdb.base/commands.exp: Call new procedure.
13008 (define_if_without_arg_test): New procedure.
13009
e439fa14
PA
130102017-09-04 Pedro Alves <palves@redhat.com>
13011
13012 * gdb.base/list-ambiguous.exp: New file.
13013 * gdb.base/list-ambiguous0.c: New file.
13014 * gdb.base/list-ambiguous1.c: New file.
13015 * gdb.base/list.exp (test_list_range): Adjust expected output.
13016
0a2dde4a
SDJ
130172017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
13018
13019 * gdb.base/share-env-with-gdbserver.c: New file.
13020 * gdb.base/share-env-with-gdbserver.exp: Likewise.
13021
5e89eb3a
SM
130222017-08-28 Simon Marchi <simon.marchi@ericsson.com>
13023
13024 * gdb.base/commands.exp (gdbvar_simple_if_test,
13025 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
13026 progvar_simple_if_test, progvar_simple_while_test,
13027 progvar_complex_if_while_test, user_defined_command_test,
13028 user_defined_command_args_eval,
13029 user_defined_command_args_stack_test,
13030 user_defined_command_manyargs_test, bp_deleted_in_command_test,
13031 temporary_breakpoint_commands,
13032 gdb_test_no_prompt, redefine_hook_test,
13033 redefine_backtrace_test): Remove "global gdb_prompt".
13034
fd437cbc
SM
130352017-08-28 Simon Marchi <simon.marchi@ericsson.com>
13036
13037 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
13038 New proc, call it from toplevel.
13039
87215ad1
SDJ
130402017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
13041
13042 PR remote/21852
13043 * gdb.server/normal.c: New file, copied from gdb.base.
13044 * gdb.server/run-without-local-binary.exp: New file.
13045
58afddc6
WP
130462017-08-07 Weimin Pan <weimin.pan@oracle.com>
13047
13048 * gdb.arch/sparc64-adi.exp: New file.
13049 * gdb.arch/sparc64-adi.c: New file.
13050
5277199a
PA
130512017-08-22 Pedro Alves <palves@redhat.com>
13052
13053 * gdb.cp/overload.exp (line_range_pattern): New procedure.
13054 (top level): Add "list all overloads" tests.
13055
14278e1f
TT
130562017-08-22 Tom Tromey <tom@tromey.com>
13057
13058 * gdb.gdb/xfullpath.exp: Remove.
13059
bf223d3e
PA
130602017-08-21 Pedro Alves <palves@redhat.com>
13061
13062 PR gdb/19487
13063 * gdb.base/symbol-alias.c: New.
13064 * gdb.base/symbol-alias2.c: New.
13065 * gdb.base/symbol-alias.exp: New.
13066
c973d0aa
PA
130672017-08-21 Pedro Alves <palves@redhat.com>
13068
13069 * gdb.base/dfp-test.c
13070 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
13071 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
13072 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
13073 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
13074 * gdb.base/whatis-ptype-typedefs.c: New.
13075 * gdb.base/whatis-ptype-typedefs.exp: New.
13076 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
13077 (an_int, an_int_type, an_int_type2): New globals.
13078 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
13079 involving typedefs and cast expressions.
13080 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
13081 (lookup_typedefs_function): New.
13082 (typedefs_pretty_printers_dict): New.
13083 (top level): Register lookup_typedefs_function in
13084 gdb.pretty_printers.
13085
6d580b63
YQ
130862017-08-18 Yao Qi <yao.qi@linaro.org>
13087
13088 * gdb.server/unittest.exp: New.
13089
206726fb
SDJ
130902017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
13091
13092 PR gdb/21954
13093 * gdb.base/environ.exp: Add test to check if 'unset environment'
13094 works.
13095
bf0ec4c2
AA
130962017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13097
13098 * lib/gdb.exp (universal_compile_options): New caching proc.
13099 (gdb_compile): Suppress GCC's coloring of messages.
13100
d6382fff
TT
131012017-08-14 Tom Tromey <tom@tromey.com>
13102
13103 PR gdb/21675:
13104 * gdb.base/printcmds.exp (test_radices): New function.
13105 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
13106 * gdb.base/sizeof.exp (check_valueof): Use p/d.
13107 * lib/gdb.exp (get_integer_valueof): Use p/d.
13108
c2c2dd9f
SM
131092017-08-12 Simon Marchi <simon.marchi@ericsson.com>
13110
13111 * lib/gdb.exp (get_valueof): Don't capture end-of-line
13112 characters.
13113
fdffd6f4
TT
131142017-08-05 Tom Tromey <tom@tromey.com>
13115
13116 * gdb.rust/simple.exp: Allow String to appear in a different
13117 namespace.
13118
27d41eac
YQ
131192017-07-26 Yao Qi <yao.qi@linaro.org>
13120
13121 * gdb.gdb/unittest.exp: Invoke command
13122 "maintenance check xml-descriptions".
13123
031ed05d
AA
131242017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13125
13126 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
13127 calling context.
13128 (hex128): Drop erroneous calculation of parameters.
13129
dcd27ddf
SM
131302017-07-22 Simon Marchi <simon.marchi@ericsson.com>
13131
13132 * gdb.python/py-unwind.exp: Disable stack protection when
13133 building test file.
13134
47e77640
PA
131352017-07-20 Pedro Alves <palves@redhat.com>
13136
13137 * gdb.base/default.exp (set language): Adjust expected output.
13138
62d2a18a
PA
131392017-07-20 Pedro Alves <palves@redhat.com>
13140
13141 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
13142 (test_minsym): ... this, and make static.
13143 (get_pck__foo__bar__minsym): Rename to ...
13144 (get_test_minsym): ... this.
13145 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
13146 symbol names and comments.
13147 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
13148 (get_test_minsym): ... this.
13149 (pck__foo__bar__minsym__2): Rename to ...
13150 (test_minsym): ... this.
13151 (main): Adjust.
13152
c45ec17c
PA
131532017-07-17 Pedro Alves <palves@redhat.com>
13154
13155 * gdb.base/completion.exp: Adjust expected output.
13156 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
13157 the completer works.
13158
c6756f62
PA
131592017-07-17 Pedro Alves <palves@redhat.com>
13160
13161 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
13162
5bd68487
AB
131632017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
13164
13165 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
13166
8880f2a9
TT
131672017-07-14 Tom Tromey <tom@tromey.com>
13168
13169 PR rust/21764:
13170 * gdb.rust/simple.exp: Add tests.
13171
65547233
TT
131722017-07-14 Tom Tromey <tom@tromey.com>
13173
13174 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
13175
8f14146e
PA
131762017-07-14 Pedro Alves <palves@redhat.com>
13177
13178 * gdb.linespec/base/one/thefile.cc (z1): New function.
13179 * gdb.linespec/base/two/thefile.cc (z2): New function.
13180 * gdb.linespec/linespec.exp: Add tests.
13181
b4365d02
AB
131822017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
13183
13184 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
13185 to mi_create_breakpoint.
13186
5d2cbaa5
AB
131872017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
13188
13189 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
13190 mi_create_breakpoint.
13191
11cb5716
IB
131922017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
13193
13194 * gdb.dlang/demangle.exp: Update for demangling changes.
13195
03278692
TT
131962017-07-09 Tom Tromey <tom@tromey.com>
13197
13198 * gdb.dwarf2/shortpiece.exp: New file.
13199
33c5cd75
DB
132002017-07-06 David Blaikie <dblaikie@gmail.com>
13201
13202 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
13203 built from fissiont-multi-cu{1,2}.c.
13204 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
13205 except putting 'main' and 'func' in separate CUs in the same DWO file.
13206 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
13207 test.
13208 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
13209 test.
13210
8455d262
PA
132112017-07-06 Pedro Alves <palves@redhat.com>
13212
13213 * gdb.python/py-unwind.exp: Test flushregs.
13214
dc4bde35
SDJ
132152017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
13216
13217 PR cli/21688
13218 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
13219 tests for alias commands and trailing whitespace.
13220
51ed89aa
SDJ
132212017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
13222
13223 PR cli/21688
13224 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
13225 procedure. Call it.
13226
eb17d413
PA
132272017-06-29 Pedro Alves <palves@redhat.com>
13228
13229 * gdb.base/printcmds.exp: Add tests.
13230
41664b45
DG
132312017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
13232
13233 PR gdb/21337
13234 * gdb.base/reread-readsym.exp: New file.
13235 * gdb.base/reread-readsym.c: New file.
13236
75312ae3
KB
132372017-06-21 Kevin Buettner <kevinb@redhat.com>
13238
13239 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
13240 subpattern.
13241
66953522
PB
132422017-06-19 Peter Bergner <bergner@vnet.ibm.com>
13243
13244 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
13245 extended mnemonic.
13246 * gdb.arch/powerpc-power9.s: Likewise.
13247
5524b525
AA
132482017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13249
13250 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
13251 on 32-bit x86 targets. Exploit is_*_target macros where
13252 appropriate.
13253
03c8af18
AA
132542017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13255
13256 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
13257 register pieces.
13258
3bf31011
AA
132592017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13260
13261 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
13262 located in one or more DWARF pieces.
13263
805acca0
AA
132642017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13265
13266 * lib/gdb.exp (get_endianness): New proc.
13267 * gdb.arch/aarch64-fp.exp: Use it.
13268 * gdb.arch/altivec-regs.exp: Likewise.
13269 * gdb.arch/e500-regs.exp: Likewise.
13270 * gdb.arch/vsx-regs.exp: Likewise.
13271 * gdb.base/dump.exp: Likewise.
13272 * gdb.base/funcargs.exp: Likewise.
13273 * gdb.base/gnu_vector.exp: Likewise.
13274 * gdb.dwarf2/formdata16.exp: Likewise.
13275 * gdb.dwarf2/implptrpiece.exp: Likewise.
13276 * gdb.dwarf2/nonvar-access.exp: Likewise.
13277 * gdb.python/py-inferior.exp: Likewise.
13278 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
13279
e9352324
AA
132802017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13281
13282 PR gdb/21226
13283 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
13284 stack value pieces are taken from the LSB end.
13285
d5d1163e
AA
132862017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13287
13288 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
13289 variable at nonzero offset.
13290
0567c986
AA
132912017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13292
13293 * gdb.dwarf2/var-access.c: New file.
13294 * gdb.dwarf2/var-access.exp: New test.
13295 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
13296
973e9aab
TT
132972017-06-12 Tom Tromey <tom@tromey.com>
13298
13299 * gdb.dwarf2/formdata16.exp: Add tests.
13300
d9109c80
TT
133012017-06-12 Tom Tromey <tom@tromey.com>
13302
13303 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
13304
30a25466
TT
133052017-06-12 Tom Tromey <tom@tromey.com>
13306
13307 PR exp/16225:
13308 * gdb.reverse/i386-sse-reverse.exp: Update tests.
13309 * gdb.arch/vsx-regs.exp: Update tests.
13310 * gdb.arch/s390-vregs.exp (hex128): New proc.
13311 Update test.
13312 * gdb.arch/altivec-regs.exp: Update tests.
13313
aefd8b33
SDJ
133142017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
13315
13316 * gdb.base/startup-with-shell.c: New file.
13317 * gdb.base/startup-with-shell.exp: Likewise.
13318
2090129c
SDJ
133192017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
13320
13321 * gdb.server/non-existing-program.exp: Update regex in order to
13322 reflect the fact that gdbserver is now using fork_inferior (with a
13323 shell) to startup the inferior.
13324
8e86a419
SM
133252017-05-30 Simon Marchi <simon.marchi@ericsson.com>
13326
13327 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
13328 support function calls from GDB.
13329
e6cf65f2
TT
133302017-05-21 Tom Tromey <tom@tromey.com>
13331
13332 PR rust/21466:
13333 * gdb.rust/unsized.exp: New file.
13334 * gdb.rust/unsized.rs: New file.
13335
43cc5389
TT
133362017-05-19 Tom Tromey <tom@tromey.com>
13337
13338 PR rust/21484:
13339 * gdb.rust/watch.exp: New file.
13340 * gdb.rust/watch.rs: New file.
13341
ec8df234
TT
133422017-05-18 Tom Tromey <tom@tromey.com>
13343
13344 * gdb.rust/simple.exp: Allow Box to be qualified.
13345
3e3e7fae
TP
133462017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
13347
13348 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
13349
59cc050d
PA
133502017-05-18 Pedro Alves <palves@redhat.com>
13351
13352 * gdb.base/fileio.c (test_write, test_read, test_close)
13353 (test_fstat): Don't print 'ret' in the fail path.
13354
c8f6abd1
PA
133552017-05-18 Pedro Alves <palves@redhat.com>
13356
13357 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
13358 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
13359 (test_system, test_rename, test_unlink, test_time): Change
13360 prototypes.
13361 * gdb.base/fileio.exp (stop_msg): Adjust.
13362
d2a03b77
PA
133632017-05-18 Pedro Alves <palves@redhat.com>
13364
13365 * gdb.base/fileio.c (null_str): New global.
13366 (test_stat): Use it.
13367 * gdb.base/fileio.exp: Remove nowarnings.
13368
0d5c6999
YQ
133692017-05-17 Yao Qi <yao.qi@linaro.org>
13370
13371 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
13372
21873064
YQ
133732017-05-17 Simon Marchi <simon.marchi@ericsson.com>
13374
13375 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
13376 argument command.
13377 (top-level): Invoke test_set_inferior_tty.
13378
d512d31c
PA
133792017-05-04 Pedro Alves <palves@redhat.com>
13380
13381 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
13382 Add parens to print call for Python 3.
13383
90cef2ed
KS
133842017-05-03 Keith Seitz <keiths@redhat.com>
13385
13386 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
13387 (main): Call it.
13388
14f819c8
TW
133892017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13390
13391 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
13392 to prev and next.
13393
913aeadd
TW
133942017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13395
13396 * gdb.python/py-record-btrace.exp: Remove test for
13397 gdb.BtraceInstruction.error.
13398
a3be24ad
TW
133992017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13400
13401 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
13402
ae20e79a
TW
134032017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13404
13405 * gdb.python/py-record-btrace-threads.c: New file.
13406 * gdb.python/py-record-btrace-threads.exp: New file.
13407
45ce1b47
SDJ
134082017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
13409
13410 PR testsuite/8595
13411 * gdb.base/environ.exp: Make test available in all architectures.
13412 Move bits related to "info program" testing to
13413 gdb.base/info-program.exp. Rewrite tests to use the two new
13414 procedures mentione below.
13415 (test_set_show_env_var) New procedure.
13416 (test_set_show_env_var_equal): Likewise.
13417 * gdb.base/info-program.exp: New file.
13418
e15c3eb4
KS
134192017-04-27 Keith Seitz <keiths@redhat.com>
13420
13421 * gdb.cp/oranking.cc (test15): New function.
13422 (main): Call test15 and declare additional variables for testing.
13423 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
13424 "p foo101('abc')" tests.
13425 Add tests for cv qualifier overloads.
13426 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
13427 "lvalue reference overload" test.
13428 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
13429 "print value of f1 on Child&& in f2" test.
13430
3a3fd0fd
PA
134312017-04-19 Pedro Alves <palves@redhat.com>
13432
13433 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
13434 procedure.
13435 (top level): Call it.
13436 * lib/gdb.exp (gdb_define_cmd): New procedure.
13437
53375380
PA
134382017-04-12 Pedro Alves <palves@redhat.com>
13439
13440 PR gdb/21323
13441 * gdb.cp/wide_char_types.c: Include <wchar.h>.
13442 (wchar): New global.
13443 * gdb.cp/wide_char_types.exp (wide_char_types_program)
13444 (do_test_wide_char, wide_char_types_no_program, top level): Add
13445 wchar_t testing.
13446
53e710ac
PA
134472017-04-12 Pedro Alves <palves@redhat.com>
13448
13449 PR c++/21323
13450 * gdb.cp/wide_char_types.c: New file.
13451 * gdb.cp/wide_char_types.exp: New file.
13452
0ad9d8c7
SDJ
134532017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
13454
13455 PR gdb/21352
13456 * gdb.trace/tsv.exp: Add test for "tsave -r".
13457
b1b45502
IB
134582017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
13459
13460 * gdb.dlang/watch-loc.c: New file.
13461 * gdb.dlang/watch-loc.exp: New file.
13462
ec13808e
JK
134632017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13464
13465 * gdb.python/py-section-script.exp (sepdebug): New testcases.
13466
fe5f7374
AK
134672017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13468
13469 * gdb.arch/arc-analyze-prologue.S: New file.
13470 * gdb.arch/arc-analyze-prologue.exp: Likewise.
13471
eea78757
AK
134722017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13473
13474 * gdb.arch/arc-decode-insn.S: New file.
13475 * gdb.arch/arc-decode-insn.exp: Likewise.
13476
5badf10a
IR
134772017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
13478
13479 PR tdep/20928
13480 * gdb.arch/sparc64-regs.exp: New file.
13481 * gdb.arch/sparc64-regs.S: Likewise.
13482
cee59b3f
TW
134832017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
13484
13485 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
13486 and memory view on Python 3.
13487
c0f55cc6
AV
134882017-03-20 Artemiy Volkov <artemiyv@acm.org>
13489 Keith Seitz <keiths@redhat.com>
13490
13491 PR gdb/14441
13492 * gdb.cp/demangle.exp: Add rvalue reference tests.
13493 * gdb.cp/rvalue-ref-casts.cc: New file.
13494 * gdb.cp/rvalue-ref-casts.exp: New file.
13495 * gdb.cp/rvalue-ref-overload.cc: New file.
13496 * gdb.cp/rvalue-ref-overload.exp: New file.
13497 * gdb.cp/rvalue-ref-params.cc: New file.
13498 * gdb.cp/rvalue-ref-params.exp: New file.
13499 * gdb.cp/rvalue-ref-sizeof.cc: New file.
13500 * gdb.cp/rvalue-ref-sizeof.exp: New file.
13501 * gdb.cp/rvalue-ref-types.cc: New file.
13502 * gdb.cp/rvalue-ref-types.exp: New file.
13503 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
13504 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
13505
51457a05
MAL
135062017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13507
13508 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
13509 New procedure.
13510
5b291c04
MAL
135112017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13512
13513 * lib/mi-support.exp (mi_gdb_test): Add additional message
13514 for unexpected output.
13515
59a56148
AA
135162017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13517
13518 * gdb.base/examine-backward.c (Barrier): New character array
13519 constant, to ensure that TestStrings is preceded by a string
13520 terminator.
13521
7942e96e
AA
135222017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13523
13524 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
13525 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
13526 and implicit pointer into such a location.
13527
6ebac3fb
DE
135282017-03-16 Doug Evans <dje@google.com>
13529
13530 * gdb.python/py-lazy-string (pointer): Really add new typedef.
13531
ec3b243d
TP
135322017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
13533
13534 * gdb.cp/m-static.exp: Fix expectation for prototype of
13535 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
13536
135372017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
13538
13539 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
13540 * gdb.guile/scm-lazy-string.c: New file.
13541 * gdb.guile/scm-value.exp: Move lazy string tests to ...
13542 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
13543 for pointer, array, typedef lazy strings.
13544
2cc36e25 135452017-03-16 Doug Evans <dje@google.com>
34b43320
DE
13546
13547 PR python/17728, python/18439, python/18779
13548 * gdb.python/py-value.c (main) Delete locals sptr, sn.
13549 * gdb.python/py-lazy-string.c (pointer): New typedef.
13550 (main): New locals ptr, array, typedef_ptr.
13551 * gdb.python/py-value.exp: Move lazy string tests to ...
13552 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
13553 array, typedef lazy strings.
ec3b243d 13554
0efcde63
AK
135552017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
13556
13557 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
13558 Add optional 'test' parameter.
13559
7978d7c3
SM
135602017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13561
13562 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13563 Skip for versions of DejaGnu < 1.5.
13564
896c0c1e
SM
135652017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13566
13567 * lib/gdb.exp (dejagnu_version): New proc.
13568 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13569 Use dejagnu_version.
13570
5f4d1085
KS
135712017-03-10 Keith Seitz <keiths@redhat.com>
13572
13573 PR c++/8128
13574 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
13575 type from destructor regexps.
13576 Add a branch which actually passes the test.
13577 Adjust "ptype t5i" test names.
13578
1de05205
PA
135792017-03-08 Pedro Alves <palves@redhat.com>
13580
13581 * gdb.base/step-over-exit.exp: Add explicit test message.
13582
c65d6b55
PA
135832017-03-08 Pedro Alves <palves@redhat.com>
13584
13585 PR gdb/18360
13586 * gdb.threads/interrupt-while-step-over.c: New file.
13587 * gdb.threads/interrupt-while-step-over.exp: New file.
13588
2e86a283
PA
135892017-03-08 Pedro Alves <palves@redhat.com>
13590
13591 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13592 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13593
25dcbff6
PA
135942017-03-08 Pedro Alves <palves@redhat.com>
13595
13596 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13597 PKRU as not supported as a PASS.
13598
dc9366eb
PA
135992017-03-08 Pedro Alves <palves@redhat.com>
13600
13601 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13602 prefix instead of $binfile1/$binfile2.
13603 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13604 in test message.
13605 * gdb.python/py-completion.exp: Use "load python file" as test
13606 messages instead of unstable path names.
13607
6e5d74e7
PA
136082017-03-08 Pedro Alves <palves@redhat.com>
13609 Jan Kratochvil <jan.kratochvil@redhat.com>
13610
13611 PR cli/21218
13612 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13613 New proc.
13614 (top level): Call it.
13615
9753a2f6
PA
136162017-03-08 Pedro Alves <palves@redhat.com>
13617
13618 PR tui/21216
13619 * gdb.tui/tui-nl-filtered-output.exp: New file.
13620
1a4dd9dd
PA
136212017-03-08 Pedro Alves <palves@redhat.com>
13622
13623 * gdb.base/completion.exp: Move TUI completion tests to ...
13624 * gdb.tui/completion.exp: ... this new file.
13625
7cbbff33
PA
136262017-03-08 Pedro Alves <palves@redhat.com>
13627
13628 * gdb.base/tui-disasm-long-lines.c,
13629 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13630 gdb.base/tui-layout.exp: Move to ...
13631 * gdb.tui/: ... this new directory.
13632
5f6fd321
PA
136332017-03-07 Pedro Alves <palves@redhat.com>
13634
13635 * gdb.base/tui-layout.c: New file.
13636 * gdb.base/tui-layout.exp: New file.
13637
44959fa8
PA
136382017-03-07 Pedro Alves <palves@redhat.com>
13639
13640 * gdb.base/tui-layout.c: Rename to ...
13641 * gdb.base/tui-disasm-long-lines.c: ... this.
13642 * gdb.base/tui-layout.exp: Rename to ...
13643 * gdb.base/tui-disasm-long-lines.exp: ... this.
13644
f8c4e718
PA
136452017-03-07 Pedro Alves <palves@redhat.com>
13646
13647 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13648
6dbb839a 136492017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
13650
13651 * i386-mpx-call.c: New file.
13652 * i386-mpx-call.exp: New file.
13653
65b48a81
PB
136542017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13655
13656 * gdb.arch/powerpc-power.exp: Delete test.
13657 * gdb.arch/powerpc-power.s: Likewise.
13658 * gdb.disasm/disassembler-options.exp: New test.
13659 * gdb.arch/powerpc-altivec.exp: Likewise.
13660 * gdb.arch/powerpc-altivec.s: Likewise.
13661 * gdb.arch/powerpc-altivec2.exp: Likewise.
13662 * gdb.arch/powerpc-altivec2.s: Likewise.
13663 * gdb.arch/powerpc-altivec3.exp: Likewise.
13664 * gdb.arch/powerpc-altivec3.s: Likewise.
13665 * gdb.arch/powerpc-power7.exp: Likewise.
13666 * gdb.arch/powerpc-power7.s: Likewise.
13667 * gdb.arch/powerpc-power8.exp: Likewise.
13668 * gdb.arch/powerpc-power8.s: Likewise.
13669 * gdb.arch/powerpc-power9.exp: Likewise.
13670 * gdb.arch/powerpc-power9.s: Likewise.
13671 * gdb.arch/powerpc-vsx.exp: Likewise.
13672 * gdb.arch/powerpc-vsx.s: Likewise.
13673 * gdb.arch/powerpc-vsx2.exp: Likewise.
13674 * gdb.arch/powerpc-vsx2.s: Likewise.
13675 * gdb.arch/powerpc-vsx3.exp: Likewise.
13676 * gdb.arch/powerpc-vsx3.s: Likewise.
13677 * gdb.arch/arm-disassembler-options.exp: Likewise.
13678 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13679 * gdb.arch/s390-disassembler-options.exp: Likewise.
13680
17cd4947
LM
136812017-02-23 Luis Machado <lgustavo@codesourcery.com>
13682
13683 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13684 (check_supported_features): ... this. Changed return type to void.
13685 (supports_rdseed): New static global.
13686 (rdseed): Check supports_rdseed.
13687 (initialize): Call check_supported_features.
13688
2039d74e
EBM
136892017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13690
13691 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13692 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13693 and lqarx/stqcx.
13694 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13695 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13696
a51d7ecf
EBM
136972017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13698
13699 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13700 uppercase.
13701
0224619f
JK
137022017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13703
13704 * gdb.dwarf2/formdata16.c: New file.
13705 * gdb.dwarf2/formdata16.exp: New file.
13706 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13707
216f72a1
JK
137082017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13709
13710 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13711 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13712 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13713 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13714 DW_AT_GNU_*.
13715
43988095
JK
137162017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13717
13718 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13719
99e8a4f9
SDJ
137202017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13721
13722 PR gdb/21164
13723 * gdb.base/maint.exp: Add testcases for when the commands do
13724 not have arguments.
13725
b58a8c0c
TP
137262017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13727
13728 * gdb.cp/chained-calls.exp: Use p instead of P.
13729
4e746bb6
TW
137302017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13731
13732 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13733 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13734
3f77c769
TT
137352017-02-14 Tom Tromey <tom@tromey.com>
13736
13737 PR python/13598:
13738 * gdb.python/py-events.exp: Add before_prompt event tests.
13739
075beec0
AA
137402017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13741
13742 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13743
bf5f525c
LM
137442017-02-13 Luis Machado <lgustavo@codesourcery.com>
13745
13746 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13747 (main): Call my_unique_function_name.
13748 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13749 completion of patterns with a single match.
13750 Add missing -re switches to gdb_test_multiple calls.
13751
13a66184
LM
137522017-02-13 Luis Machado <lgustavo@codesourcery.com>
13753
13754 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13755 return if core file is not recognized.
13756
26a06916
SM
137572017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13758
13759 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13760 and extra UIs.
13761
b761ca9e
SM
137622017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13763
13764 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13765 proc_with_prefix.
13766
b964bee0
TT
137672017-02-10 Tom Tromey <tom@tromey.com>
13768
13769 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13770
18da0c51
MG
137712017-02-10 Martin Galvan <martingalvan@sourceware.org>
13772
13773 PR gdb/21122
13774 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13775
604c4576
JG
137762017-02-08 Jerome Guitton <guitton@adacore.com>
13777
13778 * gdb.base/define.exp: Add test for command abbreviations
13779 in define.
13780
20b477a7
LM
137812017-02-06 Luis Machado <lgustavo@codesourcery.com>
13782
13783 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13784 * gdb.reverse/insn-reverse-x86.c: New file.
13785
3f7b46f2
IR
137862017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13787
13788 PR tdep/20936
13789 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13790
f0fd41c1
TT
137912017-02-03 Tom Tromey <tom@tromey.com>
13792
13793 PR rust/21097:
13794 * gdb.rust/simple.exp: Add new tests.
13795
5be5dbf0
PA
137962017-02-02 Pedro Alves <palves@redhat.com>
13797
13798 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13799 tests.
13800
7346ef59
AA
138012017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13802
13803 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13804 taking a 2-byte value out of a 4-byte DWARF implicit value on
13805 big-endian targets.
13806 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13807 logic. Add test cases for DW_OP_implicit.
13808
787f0025
MM
138092017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13810
13811 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13812
68777c29
MM
138132017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13814
13815 * gdb.btrace/enable.exp: Call gdb_exit before
13816 skip_gdbserver_tests.
13817
0a1c7e28
MM
138182017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13819
13820 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13821 GDBFLAGS.
13822
b5ac99b0
MM
138232017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13824
13825 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13826 the test is skipped.
13827 * gdb.btrace/data.exp: Likewise.
13828 * gdb.btrace/delta.exp: Likewise.
13829 * gdb.btrace/dlopen.exp: Likewise.
13830 * gdb.btrace/enable-running.exp: Likewise.
13831 * gdb.btrace/enable.exp: Likewise.
13832 * gdb.btrace/exception.exp: Likewise.
13833 * gdb.btrace/function_call_history.exp: Likewise.
13834 * gdb.btrace/gcore.exp: Likewise.
13835 * gdb.btrace/instruction_history.exp: Likewise.
13836 * gdb.btrace/multi-thread-step.exp: Likewise.
13837 * gdb.btrace/nohist.exp: Likewise.
13838 * gdb.btrace/non-stop.exp: Likewise.
13839 * gdb.btrace/reconnect.exp: Likewise.
13840 * gdb.btrace/record_goto-step.exp: Likewise.
13841 * gdb.btrace/record_goto.exp: Likewise.
13842 * gdb.btrace/rn-dl-bind.exp: Likewise.
13843 * gdb.btrace/segv.exp: Likewise.
13844 * gdb.btrace/step.exp: Likewise.
13845 * gdb.btrace/stepi.exp: Likewise.
13846 * gdb.btrace/tailcall-only.exp: Likewise.
13847 * gdb.btrace/tailcall.exp: Likewise.
13848 * gdb.btrace/tsx.exp: Likewise.
13849 * gdb.btrace/unknown_functions.exp: Likewise.
13850 * gdb.btrace/vdso.exp: Likewise.
13851
cd4007e4
MM
138522017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13853
13854 * gdb.btrace/enable-running.c: New.
13855 * gdb.btrace/enable-running.exp: New.
13856
2735833d
WT
138572017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13858
13859 * gdb.arch/amd64-gs_base.c: New file.
13860 * gdb.arch/amd64-gs_base.exp: New file.
13861
b51e1e94
LM
138622017-01-26 Luis Machado <lgustavo@codesourcery.com>
13863
13864 * lib/memory.exp: Remove spurious empty newlines.
13865
72ca0410
SM
138662017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13867
13868 * gdb.python/py-bad-printers.exp: Load python file using "source".
13869 * gdb.python/py-events.exp: Likewise.
13870 * gdb.python/py-evsignal.exp: Likewise.
13871 * gdb.python/py-evthreads.exp: Likewise.
13872 * gdb.python/py-frame-args.exp: Likewise.
13873 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13874 * gdb.python/py-framefilter-mi.exp: Likewise.
13875 * gdb.python/py-framefilter.exp: Likewise.
13876 * gdb.python/py-mi.exp: Likewise.
13877 * gdb.python/py-pp-maint.exp: Likewise.
13878 * gdb.python/py-pp-registration.exp: Likewise.
13879 * gdb.python/py-prettyprint.exp: Likewise.
13880 (run_lang_tests): Likewise.
13881 * gdb.python/py-typeprint.exp: Likewise.
13882
e309aa65
LM
138832017-01-26 Luis Machado <lgustavo@codesourcery.com>
13884
13885 * lib/memory.exp: New file.
13886 * lib/gdb.exp: Load memory.exp.
13887 * gdb.base/memattr.exp (delete_memory): Move proc to
13888 lib/memory.exp and rename to delete_memory_regions.
13889 Replace delete_memory with delete_memory_regions.
13890 Cleanup memory regions before tests.
13891 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13892 before tests.
13893
515aff23
LM
138942017-01-26 Luis Machado <lgustavo@codesourcery.com>
13895
13896 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13897 files.
13898 (initialize): New function conditionally defined.
13899 (testcases): Move within conditional block.
13900 (main): Call initialize.
13901 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13902 of gdb.reverse/insn-reverse.c.
13903 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13904 gdb.reverse/insn-reverse.c.
13905
d8b49cf0
YQ
139062017-01-26 Yao Qi <yao.qi@linaro.org>
13907
13908 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13909 disassemble on address 0.
13910
f13a9a0c
YQ
139112017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13912 Yao Qi <yao.qi@linaro.org>
13913
13914 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13915 * gdb.dwarf2/implptr-64bit.S: Remove.
13916 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13917 variables in caller's context. Add DW_OP_implicit_value.
13918
5ac95241
YQ
139192017-01-25 Yao Qi <yao.qi@linaro.org>
13920
13921 * lib/dwarf.exp (Dwarf::_location): Handle
13922 DW_OP_GNU_implicit_pointer with proper size.
13923
23e82930
LM
139242017-01-20 Luis Machado <lgustavo@codesourcery.com>
13925
13926 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13927 and add untested calls.
13928
d334ae25
LM
139292017-01-20 Luis Machado <lgustavo@codesourcery.com>
13930
13931 * gdb.python/python.exp: Check line number against what GDB thinks
13932 the line number is for func1.
13933
f5e6296e
IB
139342017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13935
13936 * gdb.dlang/debug-expr.exp: New file.
13937
5b362f04
LM
139382016-12-23 Luis Machado <lgustavo@codesourcery.com>
13939
13940 Fix test names for the following files:
13941
13942 * gdb.ada/exec_changed.exp
13943 * gdb.ada/info_types.exp
13944 * gdb.arch/aarch64-atomic-inst.exp
13945 * gdb.arch/aarch64-fp.exp
13946 * gdb.arch/altivec-abi.exp
13947 * gdb.arch/altivec-regs.exp
13948 * gdb.arch/amd64-byte.exp
13949 * gdb.arch/amd64-disp-step.exp
13950 * gdb.arch/amd64-dword.exp
13951 * gdb.arch/amd64-entry-value-inline.exp
13952 * gdb.arch/amd64-entry-value-param.exp
13953 * gdb.arch/amd64-entry-value-paramref.exp
13954 * gdb.arch/amd64-entry-value.exp
13955 * gdb.arch/amd64-i386-address.exp
13956 * gdb.arch/amd64-invalid-stack-middle.exp
13957 * gdb.arch/amd64-invalid-stack-top.exp
13958 * gdb.arch/amd64-optimout-repeat.exp
13959 * gdb.arch/amd64-prologue-skip.exp
13960 * gdb.arch/amd64-prologue-xmm.exp
13961 * gdb.arch/amd64-stap-special-operands.exp
13962 * gdb.arch/amd64-stap-wrong-subexp.exp
13963 * gdb.arch/amd64-tailcall-cxx.exp
13964 * gdb.arch/amd64-tailcall-noret.exp
13965 * gdb.arch/amd64-tailcall-ret.exp
13966 * gdb.arch/amd64-tailcall-self.exp
13967 * gdb.arch/amd64-word.exp
13968 * gdb.arch/arm-bl-branch-dest.exp
13969 * gdb.arch/arm-disp-step.exp
13970 * gdb.arch/arm-neon.exp
13971 * gdb.arch/arm-single-step-kernel-helper.exp
13972 * gdb.arch/avr-flash-qualifier.exp
13973 * gdb.arch/disp-step-insn-reloc.exp
13974 * gdb.arch/e500-abi.exp
13975 * gdb.arch/e500-regs.exp
13976 * gdb.arch/ftrace-insn-reloc.exp
13977 * gdb.arch/i386-avx512.exp
13978 * gdb.arch/i386-bp_permanent.exp
13979 * gdb.arch/i386-byte.exp
13980 * gdb.arch/i386-cfi-notcurrent.exp
13981 * gdb.arch/i386-disp-step.exp
13982 * gdb.arch/i386-dr3-watch.exp
13983 * gdb.arch/i386-float.exp
13984 * gdb.arch/i386-gnu-cfi.exp
13985 * gdb.arch/i386-mpx-map.exp
13986 * gdb.arch/i386-mpx-sigsegv.exp
13987 * gdb.arch/i386-mpx-simple_segv.exp
13988 * gdb.arch/i386-mpx.exp
13989 * gdb.arch/i386-permbkpt.exp
13990 * gdb.arch/i386-prologue.exp
13991 * gdb.arch/i386-signal.exp
13992 * gdb.arch/i386-size-overlap.exp
13993 * gdb.arch/i386-unwind.exp
13994 * gdb.arch/i386-word.exp
13995 * gdb.arch/mips-fcr.exp
13996 * gdb.arch/powerpc-d128-regs.exp
13997 * gdb.arch/powerpc-stackless.exp
13998 * gdb.arch/ppc64-atomic-inst.exp
13999 * gdb.arch/s390-stackless.exp
14000 * gdb.arch/s390-tdbregs.exp
14001 * gdb.arch/s390-vregs.exp
14002 * gdb.arch/sparc-sysstep.exp
14003 * gdb.arch/thumb-bx-pc.exp
14004 * gdb.arch/thumb-singlestep.exp
14005 * gdb.arch/thumb2-it.exp
14006 * gdb.arch/vsx-regs.exp
14007 * gdb.asm/asm-source.exp
14008 * gdb.base/a2-run.exp
14009 * gdb.base/advance.exp
14010 * gdb.base/all-bin.exp
14011 * gdb.base/anon.exp
14012 * gdb.base/args.exp
14013 * gdb.base/arithmet.exp
14014 * gdb.base/async-shell.exp
14015 * gdb.base/async.exp
14016 * gdb.base/attach-pie-noexec.exp
14017 * gdb.base/attach-twice.exp
14018 * gdb.base/auto-load.exp
14019 * gdb.base/bang.exp
14020 * gdb.base/bitfields.exp
14021 * gdb.base/break-always.exp
14022 * gdb.base/break-caller-line.exp
14023 * gdb.base/break-entry.exp
14024 * gdb.base/break-inline.exp
14025 * gdb.base/break-on-linker-gcd-function.exp
14026 * gdb.base/break-probes.exp
14027 * gdb.base/break.exp
14028 * gdb.base/breakpoint-shadow.exp
14029 * gdb.base/call-ar-st.exp
14030 * gdb.base/call-sc.exp
14031 * gdb.base/call-signal-resume.exp
14032 * gdb.base/call-strs.exp
14033 * gdb.base/callfuncs.exp
14034 * gdb.base/catch-fork-static.exp
14035 * gdb.base/catch-gdb-caused-signals.exp
14036 * gdb.base/catch-load.exp
14037 * gdb.base/catch-signal-fork.exp
14038 * gdb.base/catch-signal.exp
14039 * gdb.base/catch-syscall.exp
14040 * gdb.base/charset.exp
14041 * gdb.base/checkpoint.exp
14042 * gdb.base/chng-syms.exp
14043 * gdb.base/code-expr.exp
14044 * gdb.base/code_elim.exp
14045 * gdb.base/commands.exp
14046 * gdb.base/completion.exp
14047 * gdb.base/complex.exp
14048 * gdb.base/cond-expr.exp
14049 * gdb.base/condbreak.exp
14050 * gdb.base/consecutive.exp
14051 * gdb.base/continue-all-already-running.exp
14052 * gdb.base/coredump-filter.exp
14053 * gdb.base/corefile.exp
14054 * gdb.base/dbx.exp
14055 * gdb.base/debug-expr.exp
14056 * gdb.base/define.exp
14057 * gdb.base/del.exp
14058 * gdb.base/disabled-location.exp
14059 * gdb.base/disasm-end-cu.exp
14060 * gdb.base/disasm-optim.exp
14061 * gdb.base/display.exp
14062 * gdb.base/duplicate-bp.exp
14063 * gdb.base/ena-dis-br.exp
14064 * gdb.base/ending-run.exp
14065 * gdb.base/enumval.exp
14066 * gdb.base/environ.exp
14067 * gdb.base/eu-strip-infcall.exp
14068 * gdb.base/eval-avoid-side-effects.exp
14069 * gdb.base/eval-skip.exp
14070 * gdb.base/exitsignal.exp
14071 * gdb.base/expand-psymtabs.exp
14072 * gdb.base/filesym.exp
14073 * gdb.base/find-unmapped.exp
14074 * gdb.base/finish.exp
14075 * gdb.base/float.exp
14076 * gdb.base/foll-exec-mode.exp
14077 * gdb.base/foll-exec.exp
14078 * gdb.base/foll-fork.exp
14079 * gdb.base/fortran-sym-case.exp
14080 * gdb.base/freebpcmd.exp
14081 * gdb.base/func-ptr.exp
14082 * gdb.base/func-ptrs.exp
14083 * gdb.base/funcargs.exp
14084 * gdb.base/gcore-buffer-overflow.exp
14085 * gdb.base/gcore-relro-pie.exp
14086 * gdb.base/gcore-relro.exp
14087 * gdb.base/gcore.exp
14088 * gdb.base/gdb1090.exp
14089 * gdb.base/gdb11530.exp
14090 * gdb.base/gdb11531.exp
14091 * gdb.base/gdb1821.exp
14092 * gdb.base/gdbindex-stabs.exp
14093 * gdb.base/gdbvars.exp
14094 * gdb.base/hbreak.exp
14095 * gdb.base/hbreak2.exp
14096 * gdb.base/included.exp
14097 * gdb.base/infcall-input.exp
14098 * gdb.base/inferior-died.exp
14099 * gdb.base/infnan.exp
14100 * gdb.base/info-macros.exp
14101 * gdb.base/info-os.exp
14102 * gdb.base/info-proc.exp
14103 * gdb.base/info-shared.exp
14104 * gdb.base/info-target.exp
14105 * gdb.base/infoline.exp
14106 * gdb.base/interp.exp
14107 * gdb.base/interrupt.exp
14108 * gdb.base/jit-reader.exp
14109 * gdb.base/jit-simple.exp
14110 * gdb.base/kill-after-signal.exp
14111 * gdb.base/kill-detach-inferiors-cmd.exp
14112 * gdb.base/label.exp
14113 * gdb.base/langs.exp
14114 * gdb.base/ldbl_e308.exp
14115 * gdb.base/line-symtabs.exp
14116 * gdb.base/linespecs.exp
14117 * gdb.base/list.exp
14118 * gdb.base/long_long.exp
14119 * gdb.base/longest-types.exp
14120 * gdb.base/maint.exp
14121 * gdb.base/max-value-size.exp
14122 * gdb.base/memattr.exp
14123 * gdb.base/mips_pro.exp
14124 * gdb.base/morestack.exp
14125 * gdb.base/moribund-step.exp
14126 * gdb.base/multi-forks.exp
14127 * gdb.base/nested-addr.exp
14128 * gdb.base/nextoverexit.exp
14129 * gdb.base/noreturn-finish.exp
14130 * gdb.base/noreturn-return.exp
14131 * gdb.base/nostdlib.exp
14132 * gdb.base/offsets.exp
14133 * gdb.base/opaque.exp
14134 * gdb.base/pc-fp.exp
14135 * gdb.base/permissions.exp
14136 * gdb.base/print-symbol-loading.exp
14137 * gdb.base/prologue-include.exp
14138 * gdb.base/psymtab.exp
14139 * gdb.base/ptype.exp
14140 * gdb.base/random-signal.exp
14141 * gdb.base/randomize.exp
14142 * gdb.base/range-stepping.exp
14143 * gdb.base/readline-ask.exp
14144 * gdb.base/recpar.exp
14145 * gdb.base/recurse.exp
14146 * gdb.base/relational.exp
14147 * gdb.base/restore.exp
14148 * gdb.base/return-nodebug.exp
14149 * gdb.base/return.exp
14150 * gdb.base/run-after-attach.exp
14151 * gdb.base/save-bp.exp
14152 * gdb.base/scope.exp
14153 * gdb.base/sect-cmd.exp
14154 * gdb.base/set-lang-auto.exp
14155 * gdb.base/set-noassign.exp
14156 * gdb.base/setvar.exp
14157 * gdb.base/sigall.exp
14158 * gdb.base/sigbpt.exp
14159 * gdb.base/siginfo-addr.exp
14160 * gdb.base/siginfo-infcall.exp
14161 * gdb.base/siginfo-obj.exp
14162 * gdb.base/siginfo.exp
14163 * gdb.base/signals-state-child.exp
14164 * gdb.base/signest.exp
14165 * gdb.base/sigstep.exp
14166 * gdb.base/sizeof.exp
14167 * gdb.base/skip.exp
14168 * gdb.base/solib-corrupted.exp
14169 * gdb.base/solib-nodir.exp
14170 * gdb.base/solib-search.exp
14171 * gdb.base/stack-checking.exp
14172 * gdb.base/stale-infcall.exp
14173 * gdb.base/stap-probe.exp
14174 * gdb.base/start.exp
14175 * gdb.base/step-break.exp
14176 * gdb.base/step-bt.exp
14177 * gdb.base/step-line.exp
14178 * gdb.base/step-over-exit.exp
14179 * gdb.base/step-over-syscall.exp
14180 * gdb.base/step-resume-infcall.exp
14181 * gdb.base/step-test.exp
14182 * gdb.base/store.exp
14183 * gdb.base/structs3.exp
14184 * gdb.base/sym-file.exp
14185 * gdb.base/symbol-without-target_section.exp
14186 * gdb.base/term.exp
14187 * gdb.base/testenv.exp
14188 * gdb.base/ui-redirect.exp
14189 * gdb.base/until.exp
14190 * gdb.base/unwindonsignal.exp
14191 * gdb.base/value-double-free.exp
14192 * gdb.base/vla-datatypes.exp
14193 * gdb.base/vla-ptr.exp
14194 * gdb.base/vla-sideeffect.exp
14195 * gdb.base/volatile.exp
14196 * gdb.base/watch-cond-infcall.exp
14197 * gdb.base/watch-cond.exp
14198 * gdb.base/watch-non-mem.exp
14199 * gdb.base/watch-read.exp
14200 * gdb.base/watch-vfork.exp
14201 * gdb.base/watchpoint-cond-gone.exp
14202 * gdb.base/watchpoint-delete.exp
14203 * gdb.base/watchpoint-hw-hit-once.exp
14204 * gdb.base/watchpoint-hw.exp
14205 * gdb.base/watchpoint-stops-at-right-insn.exp
14206 * gdb.base/watchpoints.exp
14207 * gdb.base/wchar.exp
14208 * gdb.base/whatis-exp.exp
14209 * gdb.btrace/buffer-size.exp
14210 * gdb.btrace/data.exp
14211 * gdb.btrace/delta.exp
14212 * gdb.btrace/dlopen.exp
14213 * gdb.btrace/enable.exp
14214 * gdb.btrace/exception.exp
14215 * gdb.btrace/function_call_history.exp
14216 * gdb.btrace/gcore.exp
14217 * gdb.btrace/instruction_history.exp
14218 * gdb.btrace/nohist.exp
14219 * gdb.btrace/reconnect.exp
14220 * gdb.btrace/record_goto-step.exp
14221 * gdb.btrace/record_goto.exp
14222 * gdb.btrace/rn-dl-bind.exp
14223 * gdb.btrace/segv.exp
14224 * gdb.btrace/step.exp
14225 * gdb.btrace/stepi.exp
14226 * gdb.btrace/tailcall-only.exp
14227 * gdb.btrace/tailcall.exp
14228 * gdb.btrace/tsx.exp
14229 * gdb.btrace/unknown_functions.exp
14230 * gdb.btrace/vdso.exp
14231 * gdb.compile/compile-ifunc.exp
14232 * gdb.compile/compile-ops.exp
14233 * gdb.compile/compile-print.exp
14234 * gdb.compile/compile-setjmp.exp
14235 * gdb.cp/abstract-origin.exp
14236 * gdb.cp/ambiguous.exp
14237 * gdb.cp/annota2.exp
14238 * gdb.cp/annota3.exp
14239 * gdb.cp/anon-ns.exp
14240 * gdb.cp/anon-struct.exp
14241 * gdb.cp/anon-union.exp
14242 * gdb.cp/arg-reference.exp
14243 * gdb.cp/baseenum.exp
14244 * gdb.cp/bool.exp
14245 * gdb.cp/breakpoint.exp
14246 * gdb.cp/bs15503.exp
14247 * gdb.cp/call-c.exp
14248 * gdb.cp/casts.exp
14249 * gdb.cp/chained-calls.exp
14250 * gdb.cp/class2.exp
14251 * gdb.cp/classes.exp
14252 * gdb.cp/cmpd-minsyms.exp
14253 * gdb.cp/converts.exp
14254 * gdb.cp/cp-relocate.exp
14255 * gdb.cp/cpcompletion.exp
14256 * gdb.cp/cpexprs.exp
14257 * gdb.cp/cplabel.exp
14258 * gdb.cp/cplusfuncs.exp
14259 * gdb.cp/cpsizeof.exp
14260 * gdb.cp/ctti.exp
14261 * gdb.cp/derivation.exp
14262 * gdb.cp/destrprint.exp
14263 * gdb.cp/dispcxx.exp
14264 * gdb.cp/enum-class.exp
14265 * gdb.cp/exception.exp
14266 * gdb.cp/exceptprint.exp
14267 * gdb.cp/expand-psymtabs-cxx.exp
14268 * gdb.cp/expand-sals.exp
14269 * gdb.cp/extern-c.exp
14270 * gdb.cp/filename.exp
14271 * gdb.cp/formatted-ref.exp
14272 * gdb.cp/fpointer.exp
14273 * gdb.cp/gdb1355.exp
14274 * gdb.cp/gdb2495.exp
14275 * gdb.cp/hang.exp
14276 * gdb.cp/impl-this.exp
14277 * gdb.cp/infcall-dlopen.exp
14278 * gdb.cp/inherit.exp
14279 * gdb.cp/iostream.exp
14280 * gdb.cp/koenig.exp
14281 * gdb.cp/local.exp
14282 * gdb.cp/m-data.exp
14283 * gdb.cp/m-static.exp
14284 * gdb.cp/mb-ctor.exp
14285 * gdb.cp/mb-inline.exp
14286 * gdb.cp/mb-templates.exp
14287 * gdb.cp/member-name.exp
14288 * gdb.cp/member-ptr.exp
14289 * gdb.cp/meth-typedefs.exp
14290 * gdb.cp/method.exp
14291 * gdb.cp/method2.exp
14292 * gdb.cp/minsym-fallback.exp
14293 * gdb.cp/misc.exp
14294 * gdb.cp/namelessclass.exp
14295 * gdb.cp/namespace-enum.exp
14296 * gdb.cp/namespace-nested-import.exp
14297 * gdb.cp/namespace.exp
14298 * gdb.cp/nextoverthrow.exp
14299 * gdb.cp/no-dmgl-verbose.exp
14300 * gdb.cp/non-trivial-retval.exp
14301 * gdb.cp/noparam.exp
14302 * gdb.cp/nsdecl.exp
14303 * gdb.cp/nsimport.exp
14304 * gdb.cp/nsnested.exp
14305 * gdb.cp/nsnoimports.exp
14306 * gdb.cp/nsrecurs.exp
14307 * gdb.cp/nsstress.exp
14308 * gdb.cp/nsusing.exp
14309 * gdb.cp/operator.exp
14310 * gdb.cp/oranking.exp
14311 * gdb.cp/overload-const.exp
14312 * gdb.cp/overload.exp
14313 * gdb.cp/ovldbreak.exp
14314 * gdb.cp/ovsrch.exp
14315 * gdb.cp/paren-type.exp
14316 * gdb.cp/parse-lang.exp
14317 * gdb.cp/pass-by-ref.exp
14318 * gdb.cp/pr-1023.exp
14319 * gdb.cp/pr-1210.exp
14320 * gdb.cp/pr-574.exp
14321 * gdb.cp/pr10687.exp
14322 * gdb.cp/pr12028.exp
14323 * gdb.cp/pr17132.exp
14324 * gdb.cp/pr17494.exp
14325 * gdb.cp/pr9067.exp
14326 * gdb.cp/pr9167.exp
14327 * gdb.cp/pr9631.exp
14328 * gdb.cp/printmethod.exp
14329 * gdb.cp/psmang.exp
14330 * gdb.cp/psymtab-parameter.exp
14331 * gdb.cp/ptype-cv-cp.exp
14332 * gdb.cp/ptype-flags.exp
14333 * gdb.cp/re-set-overloaded.exp
14334 * gdb.cp/ref-types.exp
14335 * gdb.cp/rtti.exp
14336 * gdb.cp/scope-err.exp
14337 * gdb.cp/shadow.exp
14338 * gdb.cp/smartp.exp
14339 * gdb.cp/static-method.exp
14340 * gdb.cp/static-print-quit.exp
14341 * gdb.cp/temargs.exp
14342 * gdb.cp/templates.exp
14343 * gdb.cp/try_catch.exp
14344 * gdb.cp/typedef-operator.exp
14345 * gdb.cp/typeid.exp
14346 * gdb.cp/userdef.exp
14347 * gdb.cp/using-crash.exp
14348 * gdb.cp/var-tag.exp
14349 * gdb.cp/virtbase.exp
14350 * gdb.cp/virtfunc.exp
14351 * gdb.cp/virtfunc2.exp
14352 * gdb.cp/vla-cxx.exp
14353 * gdb.disasm/t01_mov.exp
14354 * gdb.disasm/t02_mova.exp
14355 * gdb.disasm/t03_add.exp
14356 * gdb.disasm/t04_sub.exp
14357 * gdb.disasm/t05_cmp.exp
14358 * gdb.disasm/t06_ari2.exp
14359 * gdb.disasm/t07_ari3.exp
14360 * gdb.disasm/t08_or.exp
14361 * gdb.disasm/t09_xor.exp
14362 * gdb.disasm/t10_and.exp
14363 * gdb.disasm/t11_logs.exp
14364 * gdb.disasm/t12_bit.exp
14365 * gdb.disasm/t13_otr.exp
14366 * gdb.dlang/circular.exp
14367 * gdb.dwarf2/arr-stride.exp
14368 * gdb.dwarf2/arr-subrange.exp
14369 * gdb.dwarf2/atomic-type.exp
14370 * gdb.dwarf2/bad-regnum.exp
14371 * gdb.dwarf2/bitfield-parent-optimized-out.exp
14372 * gdb.dwarf2/callframecfa.exp
14373 * gdb.dwarf2/clztest.exp
14374 * gdb.dwarf2/corrupt.exp
14375 * gdb.dwarf2/data-loc.exp
14376 * gdb.dwarf2/dup-psym.exp
14377 * gdb.dwarf2/dw2-anon-mptr.exp
14378 * gdb.dwarf2/dw2-anonymous-func.exp
14379 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
14380 * gdb.dwarf2/dw2-bad-unresolved.exp
14381 * gdb.dwarf2/dw2-basic.exp
14382 * gdb.dwarf2/dw2-canonicalize-type.exp
14383 * gdb.dwarf2/dw2-case-insensitive.exp
14384 * gdb.dwarf2/dw2-common-block.exp
14385 * gdb.dwarf2/dw2-compdir-oldgcc.exp
14386 * gdb.dwarf2/dw2-compressed.exp
14387 * gdb.dwarf2/dw2-const.exp
14388 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
14389 * gdb.dwarf2/dw2-cu-size.exp
14390 * gdb.dwarf2/dw2-dup-frame.exp
14391 * gdb.dwarf2/dw2-entry-value.exp
14392 * gdb.dwarf2/dw2-icycle.exp
14393 * gdb.dwarf2/dw2-ifort-parameter.exp
14394 * gdb.dwarf2/dw2-inline-break.exp
14395 * gdb.dwarf2/dw2-inline-param.exp
14396 * gdb.dwarf2/dw2-intercu.exp
14397 * gdb.dwarf2/dw2-intermix.exp
14398 * gdb.dwarf2/dw2-lexical-block-bare.exp
14399 * gdb.dwarf2/dw2-linkage-name-trust.exp
14400 * gdb.dwarf2/dw2-minsym-in-cu.exp
14401 * gdb.dwarf2/dw2-noloc.exp
14402 * gdb.dwarf2/dw2-op-call.exp
14403 * gdb.dwarf2/dw2-op-out-param.exp
14404 * gdb.dwarf2/dw2-opt-structptr.exp
14405 * gdb.dwarf2/dw2-param-error.exp
14406 * gdb.dwarf2/dw2-producer.exp
14407 * gdb.dwarf2/dw2-ranges-base.exp
14408 * gdb.dwarf2/dw2-ref-missing-frame.exp
14409 * gdb.dwarf2/dw2-reg-undefined.exp
14410 * gdb.dwarf2/dw2-regno-invalid.exp
14411 * gdb.dwarf2/dw2-restore.exp
14412 * gdb.dwarf2/dw2-restrict.exp
14413 * gdb.dwarf2/dw2-single-line-discriminators.exp
14414 * gdb.dwarf2/dw2-strp.exp
14415 * gdb.dwarf2/dw2-undefined-ret-addr.exp
14416 * gdb.dwarf2/dw2-unresolved.exp
14417 * gdb.dwarf2/dw2-var-zero-addr.exp
14418 * gdb.dwarf2/dw4-sig-types.exp
14419 * gdb.dwarf2/dwz.exp
14420 * gdb.dwarf2/dynarr-ptr.exp
14421 * gdb.dwarf2/enum-type.exp
14422 * gdb.dwarf2/gdb-index.exp
14423 * gdb.dwarf2/implptr-64bit.exp
14424 * gdb.dwarf2/implptr-optimized-out.exp
14425 * gdb.dwarf2/implptr.exp
14426 * gdb.dwarf2/implref-array.exp
14427 * gdb.dwarf2/implref-const.exp
14428 * gdb.dwarf2/implref-global.exp
14429 * gdb.dwarf2/implref-struct.exp
14430 * gdb.dwarf2/mac-fileno.exp
14431 * gdb.dwarf2/main-subprogram.exp
14432 * gdb.dwarf2/member-ptr-forwardref.exp
14433 * gdb.dwarf2/method-ptr.exp
14434 * gdb.dwarf2/missing-sig-type.exp
14435 * gdb.dwarf2/nonvar-access.exp
14436 * gdb.dwarf2/opaque-type-lookup.exp
14437 * gdb.dwarf2/pieces-optimized-out.exp
14438 * gdb.dwarf2/pieces.exp
14439 * gdb.dwarf2/pr10770.exp
14440 * gdb.dwarf2/pr13961.exp
14441 * gdb.dwarf2/staticvirtual.exp
14442 * gdb.dwarf2/subrange.exp
14443 * gdb.dwarf2/symtab-producer.exp
14444 * gdb.dwarf2/trace-crash.exp
14445 * gdb.dwarf2/typeddwarf.exp
14446 * gdb.dwarf2/valop.exp
14447 * gdb.dwarf2/watch-notconst.exp
14448 * gdb.fortran/array-element.exp
14449 * gdb.fortran/charset.exp
14450 * gdb.fortran/common-block.exp
14451 * gdb.fortran/complex.exp
14452 * gdb.fortran/derived-type-function.exp
14453 * gdb.fortran/derived-type.exp
14454 * gdb.fortran/logical.exp
14455 * gdb.fortran/module.exp
14456 * gdb.fortran/multi-dim.exp
14457 * gdb.fortran/nested-funcs.exp
14458 * gdb.fortran/print-formatted.exp
14459 * gdb.fortran/subarray.exp
14460 * gdb.fortran/vla-alloc-assoc.exp
14461 * gdb.fortran/vla-datatypes.exp
14462 * gdb.fortran/vla-history.exp
14463 * gdb.fortran/vla-ptr-info.exp
14464 * gdb.fortran/vla-ptype-sub.exp
14465 * gdb.fortran/vla-ptype.exp
14466 * gdb.fortran/vla-sizeof.exp
14467 * gdb.fortran/vla-type.exp
14468 * gdb.fortran/vla-value-sub-arbitrary.exp
14469 * gdb.fortran/vla-value-sub-finish.exp
14470 * gdb.fortran/vla-value-sub.exp
14471 * gdb.fortran/vla-value.exp
14472 * gdb.fortran/whatis_type.exp
14473 * gdb.go/chan.exp
14474 * gdb.go/handcall.exp
14475 * gdb.go/hello.exp
14476 * gdb.go/integers.exp
14477 * gdb.go/methods.exp
14478 * gdb.go/package.exp
14479 * gdb.go/strings.exp
14480 * gdb.go/types.exp
14481 * gdb.go/unsafe.exp
14482 * gdb.guile/scm-arch.exp
14483 * gdb.guile/scm-block.exp
14484 * gdb.guile/scm-breakpoint.exp
14485 * gdb.guile/scm-cmd.exp
14486 * gdb.guile/scm-disasm.exp
14487 * gdb.guile/scm-equal.exp
14488 * gdb.guile/scm-frame-args.exp
14489 * gdb.guile/scm-frame-inline.exp
14490 * gdb.guile/scm-frame.exp
14491 * gdb.guile/scm-iterator.exp
14492 * gdb.guile/scm-math.exp
14493 * gdb.guile/scm-objfile.exp
14494 * gdb.guile/scm-ports.exp
14495 * gdb.guile/scm-symbol.exp
14496 * gdb.guile/scm-symtab.exp
14497 * gdb.guile/scm-value-cc.exp
14498 * gdb.guile/types-module.exp
14499 * gdb.linespec/break-ask.exp
14500 * gdb.linespec/cpexplicit.exp
14501 * gdb.linespec/explicit.exp
14502 * gdb.linespec/keywords.exp
14503 * gdb.linespec/linespec.exp
14504 * gdb.linespec/ls-dollar.exp
14505 * gdb.linespec/ls-errs.exp
14506 * gdb.linespec/skip-two.exp
14507 * gdb.linespec/thread.exp
14508 * gdb.mi/mi-async.exp
14509 * gdb.mi/mi-basics.exp
14510 * gdb.mi/mi-break.exp
14511 * gdb.mi/mi-catch-load.exp
14512 * gdb.mi/mi-cli.exp
14513 * gdb.mi/mi-cmd-param-changed.exp
14514 * gdb.mi/mi-console.exp
14515 * gdb.mi/mi-detach.exp
14516 * gdb.mi/mi-disassemble.exp
14517 * gdb.mi/mi-eval.exp
14518 * gdb.mi/mi-file-transfer.exp
14519 * gdb.mi/mi-file.exp
14520 * gdb.mi/mi-fill-memory.exp
14521 * gdb.mi/mi-inheritance-syntax-error.exp
14522 * gdb.mi/mi-linespec-err-cp.exp
14523 * gdb.mi/mi-logging.exp
14524 * gdb.mi/mi-memory-changed.exp
14525 * gdb.mi/mi-read-memory.exp
14526 * gdb.mi/mi-record-changed.exp
14527 * gdb.mi/mi-reg-undefined.exp
14528 * gdb.mi/mi-regs.exp
14529 * gdb.mi/mi-return.exp
14530 * gdb.mi/mi-reverse.exp
14531 * gdb.mi/mi-simplerun.exp
14532 * gdb.mi/mi-solib.exp
14533 * gdb.mi/mi-stack.exp
14534 * gdb.mi/mi-stepi.exp
14535 * gdb.mi/mi-syn-frame.exp
14536 * gdb.mi/mi-until.exp
14537 * gdb.mi/mi-var-block.exp
14538 * gdb.mi/mi-var-child.exp
14539 * gdb.mi/mi-var-cmd.exp
14540 * gdb.mi/mi-var-cp.exp
14541 * gdb.mi/mi-var-display.exp
14542 * gdb.mi/mi-var-invalidate.exp
14543 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
14544 * gdb.mi/mi-vla-fortran.exp
14545 * gdb.mi/mi-watch.exp
14546 * gdb.mi/mi2-var-child.exp
14547 * gdb.mi/user-selected-context-sync.exp
14548 * gdb.modula2/unbounded-array.exp
14549 * gdb.multi/dummy-frame-restore.exp
14550 * gdb.multi/multi-arch-exec.exp
14551 * gdb.multi/multi-arch.exp
14552 * gdb.multi/tids.exp
14553 * gdb.multi/watchpoint-multi.exp
14554 * gdb.opencl/callfuncs.exp
14555 * gdb.opencl/convs_casts.exp
14556 * gdb.opencl/datatypes.exp
14557 * gdb.opencl/operators.exp
14558 * gdb.opencl/vec_comps.exp
14559 * gdb.opt/clobbered-registers-O2.exp
14560 * gdb.opt/inline-break.exp
14561 * gdb.opt/inline-bt.exp
14562 * gdb.opt/inline-cmds.exp
14563 * gdb.opt/inline-locals.exp
14564 * gdb.pascal/case-insensitive-symbols.exp
14565 * gdb.pascal/floats.exp
14566 * gdb.pascal/gdb11492.exp
14567 * gdb.python/lib-types.exp
14568 * gdb.python/py-arch.exp
14569 * gdb.python/py-as-string.exp
14570 * gdb.python/py-bad-printers.exp
14571 * gdb.python/py-block.exp
14572 * gdb.python/py-breakpoint-create-fail.exp
14573 * gdb.python/py-breakpoint.exp
14574 * gdb.python/py-caller-is.exp
14575 * gdb.python/py-cmd.exp
14576 * gdb.python/py-explore-cc.exp
14577 * gdb.python/py-explore.exp
14578 * gdb.python/py-finish-breakpoint.exp
14579 * gdb.python/py-finish-breakpoint2.exp
14580 * gdb.python/py-frame-args.exp
14581 * gdb.python/py-frame-inline.exp
14582 * gdb.python/py-frame.exp
14583 * gdb.python/py-framefilter-mi.exp
14584 * gdb.python/py-infthread.exp
14585 * gdb.python/py-lazy-string.exp
14586 * gdb.python/py-linetable.exp
14587 * gdb.python/py-mi-events.exp
14588 * gdb.python/py-mi-objfile.exp
14589 * gdb.python/py-mi.exp
14590 * gdb.python/py-objfile.exp
14591 * gdb.python/py-pp-integral.exp
14592 * gdb.python/py-pp-maint.exp
14593 * gdb.python/py-pp-re-notag.exp
14594 * gdb.python/py-pp-registration.exp
14595 * gdb.python/py-recurse-unwind.exp
14596 * gdb.python/py-strfns.exp
14597 * gdb.python/py-symbol.exp
14598 * gdb.python/py-symtab.exp
14599 * gdb.python/py-sync-interp.exp
14600 * gdb.python/py-typeprint.exp
14601 * gdb.python/py-unwind-maint.exp
14602 * gdb.python/py-unwind.exp
14603 * gdb.python/py-value-cc.exp
14604 * gdb.python/py-xmethods.exp
14605 * gdb.reverse/amd64-tailcall-reverse.exp
14606 * gdb.reverse/break-precsave.exp
14607 * gdb.reverse/break-reverse.exp
14608 * gdb.reverse/consecutive-precsave.exp
14609 * gdb.reverse/consecutive-reverse.exp
14610 * gdb.reverse/finish-precsave.exp
14611 * gdb.reverse/finish-reverse-bkpt.exp
14612 * gdb.reverse/finish-reverse.exp
14613 * gdb.reverse/fstatat-reverse.exp
14614 * gdb.reverse/getresuid-reverse.exp
14615 * gdb.reverse/i386-precsave.exp
14616 * gdb.reverse/i386-reverse.exp
14617 * gdb.reverse/i386-sse-reverse.exp
14618 * gdb.reverse/i387-env-reverse.exp
14619 * gdb.reverse/i387-stack-reverse.exp
14620 * gdb.reverse/insn-reverse.exp
14621 * gdb.reverse/machinestate-precsave.exp
14622 * gdb.reverse/machinestate.exp
14623 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14624 * gdb.reverse/pipe-reverse.exp
14625 * gdb.reverse/readv-reverse.exp
14626 * gdb.reverse/recvmsg-reverse.exp
14627 * gdb.reverse/rerun-prec.exp
14628 * gdb.reverse/s390-mvcle.exp
14629 * gdb.reverse/step-precsave.exp
14630 * gdb.reverse/step-reverse.exp
14631 * gdb.reverse/time-reverse.exp
14632 * gdb.reverse/until-precsave.exp
14633 * gdb.reverse/until-reverse.exp
14634 * gdb.reverse/waitpid-reverse.exp
14635 * gdb.reverse/watch-precsave.exp
14636 * gdb.reverse/watch-reverse.exp
14637 * gdb.rust/generics.exp
14638 * gdb.rust/methods.exp
14639 * gdb.rust/modules.exp
14640 * gdb.rust/simple.exp
14641 * gdb.server/connect-with-no-symbol-file.exp
14642 * gdb.server/ext-attach.exp
14643 * gdb.server/ext-restart.exp
14644 * gdb.server/ext-wrapper.exp
14645 * gdb.server/file-transfer.exp
14646 * gdb.server/server-exec-info.exp
14647 * gdb.server/server-kill.exp
14648 * gdb.server/server-mon.exp
14649 * gdb.server/wrapper.exp
14650 * gdb.stabs/exclfwd.exp
14651 * gdb.stabs/gdb11479.exp
14652 * gdb.threads/clone-new-thread-event.exp
14653 * gdb.threads/corethreads.exp
14654 * gdb.threads/current-lwp-dead.exp
14655 * gdb.threads/dlopen-libpthread.exp
14656 * gdb.threads/gcore-thread.exp
14657 * gdb.threads/sigstep-threads.exp
14658 * gdb.threads/watchpoint-fork.exp
14659 * gdb.trace/actions-changed.exp
14660 * gdb.trace/backtrace.exp
14661 * gdb.trace/change-loc.exp
14662 * gdb.trace/circ.exp
14663 * gdb.trace/collection.exp
14664 * gdb.trace/disconnected-tracing.exp
14665 * gdb.trace/ftrace.exp
14666 * gdb.trace/mi-trace-frame-collected.exp
14667 * gdb.trace/mi-trace-unavailable.exp
14668 * gdb.trace/mi-traceframe-changed.exp
14669 * gdb.trace/mi-tsv-changed.exp
14670 * gdb.trace/no-attach-trace.exp
14671 * gdb.trace/passc-dyn.exp
14672 * gdb.trace/qtro.exp
14673 * gdb.trace/range-stepping.exp
14674 * gdb.trace/read-memory.exp
14675 * gdb.trace/save-trace.exp
14676 * gdb.trace/signal.exp
14677 * gdb.trace/status-stop.exp
14678 * gdb.trace/tfile.exp
14679 * gdb.trace/trace-break.exp
14680 * gdb.trace/trace-buffer-size.exp
14681 * gdb.trace/trace-condition.exp
14682 * gdb.trace/tracefile-pseudo-reg.exp
14683 * gdb.trace/tstatus.exp
14684 * gdb.trace/unavailable.exp
14685 * gdb.trace/while-dyn.exp
14686 * gdb.trace/while-stepping.exp
14687
34c41c68
DE
146882016-12-22 Doug Evans <xdje42@gmail.com>
14689
14690 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14691 and msymbols.
14692
16e69324
YQ
146932016-12-19 Yao Qi <yao.qi@linaro.org>
14694
14695 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14696 (test_with_self): Don't call do_steps_and_nexts, and remove
14697 code about stepping into xmalloc.
14698
f94f411b
YQ
146992016-12-09 Yao Qi <yao.qi@linaro.org>
14700
14701 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14702
147032016-12-09 Yao Qi <yao.qi@linaro.org>
14704
14705 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14706
f1b5deee
PA
147072016-12-09 Pedro Alves <palves@redhat.com>
14708
14709 * gdb.base/all-architectures-0.exp: New file.
14710 * gdb.base/all-architectures-1.exp: New file.
14711 * gdb.base/all-architectures-2.exp: New file.
14712 * gdb.base/all-architectures-3.exp: New file.
14713 * gdb.base/all-architectures-4.exp: New file.
14714 * gdb.base/all-architectures-5.exp: New file.
14715 * gdb.base/all-architectures-6.exp: New file.
14716 * gdb.base/all-architectures-7.exp: New file.
14717 * gdb.base/all-architectures.exp.in: New file.
14718
364ca42e
YQ
147192016-12-09 Yao Qi <yao.qi@linaro.org>
14720
14721 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14722
107c2d62
LM
147232016-12-02 Luis Machado <lgustavo@codesourcery.com>
14724
14725 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14726 possible.
14727 Remove useless pattern-matching code.
14728
df3ee9ca
PA
147292016-12-02 Pedro Alves <palves@redhat.com>
14730
14731 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14732 procedure.
14733 (top level): Call it.
14734
ec835369
PA
147352016-12-02 Pedro Alves <palves@redhat.com>
14736
14737 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14738 New procedure.
14739 (top level): Call it.
14740
01770bbd
PA
147412016-12-02 Pedro Alves <palves@redhat.com>
14742
14743 PR cli/20559
14744 * gdb.base/commands.exp (user_defined_command_args_eval): New
14745 procedure.
14746 (top level): Call it.
14747
008459ea
LM
147482016-12-02 Luis Machado <lgustavo@codesourcery.com>
14749
14750 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14751 timeout handling.
14752
0c1b455e
TT
147532016-12-02 Tom Tromey <tom@tromey.com>
14754
14755 * gdb.dwarf2/main-subprogram.c: New file.
14756 * gdb.dwarf2/main-subprogram.exp: New file.
14757
018572b8
LM
147582016-12-01 Luis Machado <lgustavo@codesourcery.com>
14759
14760 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14761 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14762 gdb_test_no_output for a couple of cases.
14763 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14764
84c93cd5
LM
147652016-12-01 Luis Machado <lgustavo@codesourcery.com>
14766
14767 Fix test names and standardize compilation error messages throughout
14768 the following files:
14769
14770 * gdb.ada/start.exp
14771 * gdb.arch/alpha-step.exp
14772 * gdb.arch/e500-prologue.exp
14773 * gdb.arch/ftrace-insn-reloc.exp
14774 * gdb.arch/gdb1291.exp
14775 * gdb.arch/gdb1431.exp
14776 * gdb.arch/gdb1558.exp
14777 * gdb.arch/i386-dr3-watch.exp
14778 * gdb.arch/i386-sse-stack-align.exp
14779 * gdb.arch/ia64-breakpoint-shadow.exp
14780 * gdb.arch/pa-nullify.exp
14781 * gdb.arch/powerpc-aix-prologue.exp
14782 * gdb.arch/thumb-bx-pc.exp
14783 * gdb.base/annota1.exp
14784 * gdb.base/annota3.exp
14785 * gdb.base/arrayidx.exp
14786 * gdb.base/assign.exp
14787 * gdb.base/attach.exp
14788 * gdb.base/auxv.exp
14789 * gdb.base/bang.exp
14790 * gdb.base/bfp-test.exp
14791 * gdb.base/bigcore.exp
14792 * gdb.base/bitfields2.exp
14793 * gdb.base/break-fun-addr.exp
14794 * gdb.base/break-probes.exp
14795 * gdb.base/call-rt-st.exp
14796 * gdb.base/callexit.exp
14797 * gdb.base/catch-fork-kill.exp
14798 * gdb.base/charset.exp
14799 * gdb.base/checkpoint.exp
14800 * gdb.base/comprdebug.exp
14801 * gdb.base/constvars.exp
14802 * gdb.base/coredump-filter.exp
14803 * gdb.base/cursal.exp
14804 * gdb.base/cvexpr.exp
14805 * gdb.base/detach.exp
14806 * gdb.base/display.exp
14807 * gdb.base/dmsym.exp
14808 * gdb.base/dprintf-pending.exp
14809 * gdb.base/dso2dso.exp
14810 * gdb.base/dtrace-probe.exp
14811 * gdb.base/dump.exp
14812 * gdb.base/enum_cond.exp
14813 * gdb.base/exe-lock.exp
14814 * gdb.base/exec-invalid-sysroot.exp
14815 * gdb.base/execl-update-breakpoints.exp
14816 * gdb.base/exprs.exp
14817 * gdb.base/fileio.exp
14818 * gdb.base/find.exp
14819 * gdb.base/finish.exp
14820 * gdb.base/fixsection.exp
14821 * gdb.base/foll-vfork.exp
14822 * gdb.base/frame-args.exp
14823 * gdb.base/gcore.exp
14824 * gdb.base/gdb1250.exp
14825 * gdb.base/global-var-nested-by-dso.exp
14826 * gdb.base/gnu-ifunc.exp
14827 * gdb.base/hashline1.exp
14828 * gdb.base/hashline2.exp
14829 * gdb.base/hashline3.exp
14830 * gdb.base/hbreak-in-shr-unsupported.exp
14831 * gdb.base/huge.exp
14832 * gdb.base/infcall-input.exp
14833 * gdb.base/info-fun.exp
14834 * gdb.base/info-shared.exp
14835 * gdb.base/jit-simple.exp
14836 * gdb.base/jit-so.exp
14837 * gdb.base/jit.exp
14838 * gdb.base/jump.exp
14839 * gdb.base/label.exp
14840 * gdb.base/lineinc.exp
14841 * gdb.base/logical.exp
14842 * gdb.base/longjmp.exp
14843 * gdb.base/macscp.exp
14844 * gdb.base/miscexprs.exp
14845 * gdb.base/new-ui-echo.exp
14846 * gdb.base/new-ui-pending-input.exp
14847 * gdb.base/new-ui.exp
14848 * gdb.base/nodebug.exp
14849 * gdb.base/nofield.exp
14850 * gdb.base/offsets.exp
14851 * gdb.base/overlays.exp
14852 * gdb.base/pending.exp
14853 * gdb.base/pointers.exp
14854 * gdb.base/pr11022.exp
14855 * gdb.base/printcmds.exp
14856 * gdb.base/prologue.exp
14857 * gdb.base/ptr-typedef.exp
14858 * gdb.base/realname-expand.exp
14859 * gdb.base/relativedebug.exp
14860 * gdb.base/relocate.exp
14861 * gdb.base/remote.exp
14862 * gdb.base/reread.exp
14863 * gdb.base/return2.exp
14864 * gdb.base/savedregs.exp
14865 * gdb.base/sep.exp
14866 * gdb.base/sepdebug.exp
14867 * gdb.base/sepsymtab.exp
14868 * gdb.base/set-inferior-tty.exp
14869 * gdb.base/setshow.exp
14870 * gdb.base/shlib-call.exp
14871 * gdb.base/sigaltstack.exp
14872 * gdb.base/siginfo-addr.exp
14873 * gdb.base/signals.exp
14874 * gdb.base/signull.exp
14875 * gdb.base/sigrepeat.exp
14876 * gdb.base/so-impl-ld.exp
14877 * gdb.base/solib-display.exp
14878 * gdb.base/solib-overlap.exp
14879 * gdb.base/solib-search.exp
14880 * gdb.base/solib-symbol.exp
14881 * gdb.base/structs.exp
14882 * gdb.base/structs2.exp
14883 * gdb.base/symtab-search-order.exp
14884 * gdb.base/twice.exp
14885 * gdb.base/unload.exp
14886 * gdb.base/varargs.exp
14887 * gdb.base/watchpoint-solib.exp
14888 * gdb.base/watchpoint.exp
14889 * gdb.base/whatis.exp
14890 * gdb.base/wrong_frame_bt_full.exp
14891 * gdb.btrace/dlopen.exp
14892 * gdb.cell/ea-standalone.exp
14893 * gdb.cell/ea-test.exp
14894 * gdb.cp/dispcxx.exp
14895 * gdb.cp/gdb2384.exp
14896 * gdb.cp/method2.exp
14897 * gdb.cp/nextoverthrow.exp
14898 * gdb.cp/pr10728.exp
14899 * gdb.disasm/am33.exp
14900 * gdb.disasm/h8300s.exp
14901 * gdb.disasm/mn10300.exp
14902 * gdb.disasm/sh3.exp
14903 * gdb.dwarf2/dw2-dir-file-name.exp
14904 * gdb.fortran/complex.exp
14905 * gdb.fortran/library-module.exp
14906 * gdb.guile/scm-pretty-print.exp
14907 * gdb.guile/scm-symbol.exp
14908 * gdb.guile/scm-type.exp
14909 * gdb.guile/scm-value.exp
14910 * gdb.linespec/linespec.exp
14911 * gdb.mi/gdb701.exp
14912 * gdb.mi/gdb792.exp
14913 * gdb.mi/mi-breakpoint-changed.exp
14914 * gdb.mi/mi-dprintf-pending.exp
14915 * gdb.mi/mi-dprintf.exp
14916 * gdb.mi/mi-exit-code.exp
14917 * gdb.mi/mi-pending.exp
14918 * gdb.mi/mi-solib.exp
14919 * gdb.mi/new-ui-mi-sync.exp
14920 * gdb.mi/pr11022.exp
14921 * gdb.mi/user-selected-context-sync.exp
14922 * gdb.opt/solib-intra-step.exp
14923 * gdb.python/py-events.exp
14924 * gdb.python/py-finish-breakpoint.exp
14925 * gdb.python/py-mi.exp
14926 * gdb.python/py-prettyprint.exp
14927 * gdb.python/py-shared.exp
14928 * gdb.python/py-symbol.exp
14929 * gdb.python/py-template.exp
14930 * gdb.python/py-type.exp
14931 * gdb.python/py-value.exp
14932 * gdb.reverse/solib-precsave.exp
14933 * gdb.reverse/solib-reverse.exp
14934 * gdb.server/solib-list.exp
14935 * gdb.stabs/weird.exp
14936 * gdb.threads/reconnect-signal.exp
14937 * gdb.threads/stepi-random-signal.exp
14938 * gdb.trace/actions.exp
14939 * gdb.trace/ax.exp
14940 * gdb.trace/backtrace.exp
14941 * gdb.trace/change-loc.exp
14942 * gdb.trace/deltrace.exp
14943 * gdb.trace/ftrace-lock.exp
14944 * gdb.trace/ftrace.exp
14945 * gdb.trace/infotrace.exp
14946 * gdb.trace/mi-tracepoint-changed.exp
14947 * gdb.trace/packetlen.exp
14948 * gdb.trace/passcount.exp
14949 * gdb.trace/pending.exp
14950 * gdb.trace/range-stepping.exp
14951 * gdb.trace/report.exp
14952 * gdb.trace/stap-trace.exp
14953 * gdb.trace/tfind.exp
14954 * gdb.trace/trace-break.exp
14955 * gdb.trace/trace-condition.exp
14956 * gdb.trace/trace-enable-disable.exp
14957 * gdb.trace/trace-mt.exp
14958 * gdb.trace/tracecmd.exp
14959 * gdb.trace/tspeed.exp
14960 * gdb.trace/tsv.exp
14961 * lib/perftest.exp
14962
fb9feb35
LM
149632016-12-01 Luis Machado <lgustavo@codesourcery.com>
14964
14965 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14966 with gdb_test_no_output.
14967 Use command as test name.
14968
cd2ddb6c
LM
149692016-12-01 Luis Machado <lgustavo@codesourcery.com>
14970
14971 Fix test names starting with uppercase throughout the files.
14972
14973 * gdb.ada/assign_1.exp
14974 * gdb.ada/boolean_expr.exp
14975 * gdb.base/arrayidx.exp
14976 * gdb.base/del.exp
14977 * gdb.base/gcore-buffer-overflow.exp
14978 * gdb.base/testenv.exp
14979 * gdb.compile/compile.exp
14980 * gdb.python/py-framefilter-invalidarg.exp
14981 * gdb.python/py-framefilter.exp
14982
bb95117e
LM
149832016-12-01 Luis Machado <lgustavo@codesourcery.com>
14984
14985 Fix test names starting with uppercase throughout the files.
14986
14987 * gdb.ada/array_return.exp
14988 * gdb.ada/expr_delims.exp
14989 * gdb.ada/mi_dyn_arr.exp
14990 * gdb.ada/mi_interface.exp
14991 * gdb.ada/mi_var_array.exp
14992 * gdb.ada/watch_arg.exp
14993 * gdb.arch/alpha-step.exp
14994 * gdb.arch/altivec-regs.exp
14995 * gdb.arch/e500-regs.exp
14996 * gdb.arch/powerpc-d128-regs.exp
14997 * gdb.base/arrayidx.exp
14998 * gdb.base/break.exp
14999 * gdb.base/checkpoint.exp
15000 * gdb.base/debug-expr.exp
15001 * gdb.base/dmsym.exp
15002 * gdb.base/radix.exp
15003 * gdb.base/sepdebug.exp
15004 * gdb.base/testenv.exp
15005 * gdb.base/watch_thread_num.exp
15006 * gdb.base/watchpoint-cond-gone.exp
15007 * gdb.cell/break.exp
15008 * gdb.cell/ea-cache.exp
15009 * gdb.compile/compile.exp
15010 * gdb.cp/gdb2495.exp
15011 * gdb.gdb/selftest.exp
15012 * gdb.gdb/xfullpath.exp
15013 * gdb.go/hello.exp
15014 * gdb.go/integers.exp
15015 * gdb.objc/basicclass.exp
15016 * gdb.pascal/hello.exp
15017 * gdb.pascal/integers.exp
15018 * gdb.python/py-breakpoint.exp
15019 * gdb.python/py-cmd.exp
15020 * gdb.python/py-linetable.exp
15021 * gdb.python/py-xmethods.exp
15022 * gdb.python/python.exp
15023 * gdb.reverse/consecutive-precsave.exp
15024 * gdb.reverse/finish-precsave.exp
15025 * gdb.reverse/i386-precsave.exp
15026 * gdb.reverse/machinestate-precsave.exp
15027 * gdb.reverse/sigall-precsave.exp
15028 * gdb.reverse/solib-precsave.exp
15029 * gdb.reverse/step-precsave.exp
15030 * gdb.reverse/until-precsave.exp
15031 * gdb.reverse/watch-precsave.exp
15032 * gdb.threads/leader-exit.exp
15033 * gdb.threads/pthreads.exp
15034 * gdb.threads/wp-replication.exp
15035 * gdb.trace/actions.exp
15036 * gdb.trace/mi-tsv-changed.exp
15037 * gdb.trace/tsv.exp
15038
de97fdd4
LM
150392016-12-01 Luis Machado <lgustavo@codesourcery.com>
15040
15041 Fix test names starting with uppercase throughout the files.
15042
15043 * gdb.arch/i386-bp_permanent.exp
15044 * gdb.arch/i386-gnu-cfi.exp
15045 * gdb.base/disasm-end-cu.exp
15046 * gdb.base/macscp.exp
15047 * gdb.base/pending.exp
15048 * gdb.base/watch_thread_num.exp
15049 * gdb.cp/exception.exp
15050 * gdb.cp/gdb2495.exp
15051 * gdb.cp/local.exp
15052 * gdb.python/py-evsignal.exp
15053 * gdb.python/python.exp
15054 * gdb.trace/tracecmd.exp
15055
9f058c10
LM
150562016-12-01 Luis Machado <lgustavo@codesourcery.com>
15057
15058 Fix test names starting with uppercase throughout the files.
15059
15060 * gdb.base/charset.exp
15061 * gdb.base/eval.exp
15062 * gdb.base/multi-forks.exp
15063 * gdb.guile/scm-progspace.exp
15064 * gdb.opencl/datatypes.exp
15065 * gdb.python/py-block.exp
15066 * gdb.python/py-function.exp
15067 * gdb.python/py-symbol.exp
15068 * gdb.python/py-symtab.exp
15069 * gdb.python/py-xmethods.exp
15070 * gdb.reverse/break-precsave.exp
15071 * gdb.reverse/break-reverse.exp
15072 * gdb.reverse/consecutive-precsave.exp
15073 * gdb.reverse/consecutive-reverse.exp
15074 * gdb.reverse/finish-precsave.exp
15075 * gdb.reverse/finish-reverse-bkpt.exp
15076 * gdb.reverse/finish-reverse.exp
15077 * gdb.reverse/fstatat-reverse.exp
15078 * gdb.reverse/getresuid-reverse.exp
15079 * gdb.reverse/i386-precsave.exp
15080 * gdb.reverse/i386-reverse.exp
15081 * gdb.reverse/i386-sse-reverse.exp
15082 * gdb.reverse/i387-stack-reverse.exp
15083 * gdb.reverse/insn-reverse.exp
15084 * gdb.reverse/machinestate-precsave.exp
15085 * gdb.reverse/machinestate.exp
15086 * gdb.reverse/next-reverse-bkpt-over-sr.exp
15087 * gdb.reverse/pipe-reverse.exp
15088 * gdb.reverse/readv-reverse.exp
15089 * gdb.reverse/recvmsg-reverse.exp
15090 * gdb.reverse/rerun-prec.exp
15091 * gdb.reverse/s390-mvcle.exp
15092 * gdb.reverse/sigall-precsave.exp
15093 * gdb.reverse/sigall-reverse.exp
15094 * gdb.reverse/solib-precsave.exp
15095 * gdb.reverse/solib-reverse.exp
15096 * gdb.reverse/step-precsave.exp
15097 * gdb.reverse/step-reverse.exp
15098 * gdb.reverse/time-reverse.exp
15099 * gdb.reverse/until-precsave.exp
15100 * gdb.reverse/until-reverse.exp
15101 * gdb.reverse/waitpid-reverse.exp
15102 * gdb.reverse/watch-precsave.exp
15103 * gdb.reverse/watch-reverse.exp
15104
cdc7edd7
LM
151052016-12-01 Luis Machado <lgustavo@codesourcery.com>
15106
15107 Fix test names starting with uppercase throughout the files.
15108
15109 * gdb.arch/i386-mpx-simple_segv.exp
15110 * gdb.arch/i386-mpx.exp
15111 * gdb.arch/i386-permbkpt.exp
15112 * gdb.arch/pa-nullify.exp
15113 * gdb.arch/powerpc-d128-regs.exp
15114 * gdb.arch/vsx-regs.exp
15115 * gdb.base/bfp-test.exp
15116 * gdb.base/break.exp
15117 * gdb.base/breakpoint-shadow.exp
15118 * gdb.base/callfuncs.exp
15119 * gdb.base/charset.exp
15120 * gdb.base/commands.exp
15121 * gdb.base/completion.exp
15122 * gdb.base/dfp-test.exp
15123 * gdb.base/echo.exp
15124 * gdb.base/ending-run.exp
15125 * gdb.base/eval.exp
15126 * gdb.base/expand-psymtabs.exp
15127 * gdb.base/float128.exp
15128 * gdb.base/floatn.exp
15129 * gdb.base/foll-exec-mode.exp
15130 * gdb.base/gdb1056.exp
15131 * gdb.base/gdb11531.exp
15132 * gdb.base/kill-after-signal.exp
15133 * gdb.base/multi-forks.exp
15134 * gdb.base/overlays.exp
15135 * gdb.base/pending.exp
15136 * gdb.base/sepdebug.exp
15137 * gdb.base/testenv.exp
15138 * gdb.base/valgrind-db-attach.exp
15139 * gdb.base/watch_thread_num.exp
15140 * gdb.base/watchpoint-cond-gone.exp
15141 * gdb.base/watchpoint.exp
15142 * gdb.base/watchpoints.exp
15143 * gdb.cp/arg-reference.exp
15144 * gdb.cp/baseenum.exp
15145 * gdb.cp/operator.exp
15146 * gdb.cp/shadow.exp
15147 * gdb.dwarf2/dw2-op-out-param.exp
15148 * gdb.dwarf2/dw2-reg-undefined.exp
15149 * gdb.go/chan.exp
15150 * gdb.go/hello.exp
15151 * gdb.go/integers.exp
15152 * gdb.go/methods.exp
15153 * gdb.go/package.exp
15154 * gdb.guile/scm-parameter.exp
15155 * gdb.guile/scm-progspace.exp
15156 * gdb.guile/scm-value.exp
15157 * gdb.mi/mi-pending.exp
15158 * gdb.mi/user-selected-context-sync.exp
15159 * gdb.multi/multi-attach.exp
15160 * gdb.multi/tids.exp
15161 * gdb.opt/clobbered-registers-O2.exp
15162 * gdb.pascal/floats.exp
15163 * gdb.pascal/integers.exp
15164 * gdb.python/py-block.exp
15165 * gdb.python/py-events.exp
15166 * gdb.python/py-parameter.exp
15167 * gdb.python/py-symbol.exp
15168 * gdb.python/py-symtab.exp
15169 * gdb.python/py-type.exp
15170 * gdb.python/py-value.exp
15171 * gdb.python/py-xmethods.exp
15172 * gdb.python/python.exp
15173 * gdb.reverse/break-precsave.exp
15174 * gdb.reverse/consecutive-precsave.exp
15175 * gdb.reverse/finish-precsave.exp
15176 * gdb.reverse/i386-precsave.exp
15177 * gdb.reverse/machinestate-precsave.exp
15178 * gdb.reverse/sigall-precsave.exp
15179 * gdb.reverse/solib-precsave.exp
15180 * gdb.reverse/step-precsave.exp
15181 * gdb.reverse/until-precsave.exp
15182 * gdb.reverse/watch-precsave.exp
15183 * gdb.server/ext-attach.exp
15184 * gdb.server/ext-restart.exp
15185 * gdb.server/ext-run.exp
15186 * gdb.server/ext-wrapper.exp
15187 * gdb.stabs/gdb11479.exp
15188 * gdb.stabs/weird.exp
15189 * gdb.threads/attach-many-short-lived-threads.exp
15190 * gdb.threads/kill.exp
15191 * gdb.threads/watchpoint-fork.exp
15192
bc6c7af4
LM
151932016-12-01 Luis Machado <lgustavo@codesourcery.com>
15194
15195 Fix test names starting with uppercase throughout all the files below.
15196
15197 * gdb.ada/array_return.exp
15198 * gdb.ada/catch_ex.exp
15199 * gdb.ada/info_exc.exp
15200 * gdb.ada/mi_catch_ex.exp
15201 * gdb.ada/mi_dyn_arr.exp
15202 * gdb.ada/mi_ex_cond.exp
15203 * gdb.ada/mi_exc_info.exp
15204 * gdb.ada/mi_interface.exp
15205 * gdb.ada/mi_task_arg.exp
15206 * gdb.ada/mi_task_info.exp
15207 * gdb.ada/mi_var_array.exp
15208 * gdb.arch/alpha-step.exp
15209 * gdb.arch/amd64-disp-step.exp
15210 * gdb.arch/arm-disp-step.exp
15211 * gdb.arch/disp-step-insn-reloc.exp
15212 * gdb.arch/e500-prologue.exp
15213 * gdb.arch/ftrace-insn-reloc.exp
15214 * gdb.arch/gdb1558.exp
15215 * gdb.arch/i386-bp_permanent.exp
15216 * gdb.arch/i386-disp-step.exp
15217 * gdb.arch/i386-float.exp
15218 * gdb.arch/i386-gnu-cfi.exp
15219 * gdb.arch/ia64-breakpoint-shadow.exp
15220 * gdb.arch/mips16-thunks.exp
15221 * gdb.arch/pa-nullify.exp
15222 * gdb.arch/powerpc-aix-prologue.exp
15223 * gdb.arch/powerpc-power.exp
15224 * gdb.arch/ppc-dfp.exp
15225 * gdb.arch/s390-tdbregs.exp
15226 * gdb.arch/spu-info.exp
15227 * gdb.arch/spu-ls.exp
15228 * gdb.arch/thumb-bx-pc.exp
15229 * gdb.base/advance.exp
15230 * gdb.base/annota-input-while-running.exp
15231 * gdb.base/arrayidx.exp
15232 * gdb.base/asmlabel.exp
15233 * gdb.base/async.exp
15234 * gdb.base/attach-wait-input.exp
15235 * gdb.base/auto-connect-native-target.exp
15236 * gdb.base/batch-preserve-term-settings.exp
15237 * gdb.base/bfp-test.exp
15238 * gdb.base/bigcore.exp
15239 * gdb.base/bp-permanent.exp
15240 * gdb.base/break-always.exp
15241 * gdb.base/break-fun-addr.exp
15242 * gdb.base/break-idempotent.exp
15243 * gdb.base/break-main-file-remove-fail.exp
15244 * gdb.base/break-probes.exp
15245 * gdb.base/break-unload-file.exp
15246 * gdb.base/break.exp
15247 * gdb.base/call-ar-st.exp
15248 * gdb.base/call-rt-st.exp
15249 * gdb.base/call-sc.exp
15250 * gdb.base/call-signal-resume.exp
15251 * gdb.base/call-strs.exp
15252 * gdb.base/callexit.exp
15253 * gdb.base/callfuncs.exp
15254 * gdb.base/catch-gdb-caused-signals.exp
15255 * gdb.base/catch-signal-siginfo-cond.exp
15256 * gdb.base/catch-syscall.exp
15257 * gdb.base/compare-sections.exp
15258 * gdb.base/cond-eval-mode.exp
15259 * gdb.base/condbreak-call-false.exp
15260 * gdb.base/consecutive-step-over.exp
15261 * gdb.base/cursal.exp
15262 * gdb.base/disabled-location.exp
15263 * gdb.base/disasm-end-cu.exp
15264 * gdb.base/display.exp
15265 * gdb.base/double-prompt-target-event-error.exp
15266 * gdb.base/dprintf-bp-same-addr.exp
15267 * gdb.base/dprintf-detach.exp
15268 * gdb.base/dprintf-next.exp
15269 * gdb.base/dprintf-non-stop.exp
15270 * gdb.base/dprintf-pending.exp
15271 * gdb.base/dso2dso.exp
15272 * gdb.base/ending-run.exp
15273 * gdb.base/enum_cond.exp
15274 * gdb.base/examine-backward.exp
15275 * gdb.base/exe-lock.exp
15276 * gdb.base/exec-invalid-sysroot.exp
15277 * gdb.base/execl-update-breakpoints.exp
15278 * gdb.base/execution-termios.exp
15279 * gdb.base/fileio.exp
15280 * gdb.base/fixsection.exp
15281 * gdb.base/foll-exec-mode.exp
15282 * gdb.base/foll-exec.exp
15283 * gdb.base/fork-running-state.exp
15284 * gdb.base/frame-args.exp
15285 * gdb.base/fullpath-expand.exp
15286 * gdb.base/func-ptr.exp
15287 * gdb.base/gcore-relro-pie.exp
15288 * gdb.base/gdb1090.exp
15289 * gdb.base/gdb1555.exp
15290 * gdb.base/global-var-nested-by-dso.exp
15291 * gdb.base/gnu-ifunc.exp
15292 * gdb.base/hbreak-in-shr-unsupported.exp
15293 * gdb.base/hbreak-unmapped.exp
15294 * gdb.base/hook-stop.exp
15295 * gdb.base/infcall-input.exp
15296 * gdb.base/info-fun.exp
15297 * gdb.base/info-shared.exp
15298 * gdb.base/interrupt-noterm.exp
15299 * gdb.base/jit-so.exp
15300 * gdb.base/jit.exp
15301 * gdb.base/line-symtabs.exp
15302 * gdb.base/list.exp
15303 * gdb.base/longjmp.exp
15304 * gdb.base/macscp.exp
15305 * gdb.base/max-value-size.exp
15306 * gdb.base/nodebug.exp
15307 * gdb.base/nofield.exp
15308 * gdb.base/overlays.exp
15309 * gdb.base/paginate-after-ctrl-c-running.exp
15310 * gdb.base/paginate-bg-execution.exp
15311 * gdb.base/paginate-inferior-exit.exp
15312 * gdb.base/pending.exp
15313 * gdb.base/pr11022.exp
15314 * gdb.base/printcmds.exp
15315 * gdb.base/ptr-typedef.exp
15316 * gdb.base/ptype.exp
15317 * gdb.base/randomize.exp
15318 * gdb.base/range-stepping.exp
15319 * gdb.base/realname-expand.exp
15320 * gdb.base/relativedebug.exp
15321 * gdb.base/remote.exp
15322 * gdb.base/savedregs.exp
15323 * gdb.base/sepdebug.exp
15324 * gdb.base/set-noassign.exp
15325 * gdb.base/shlib-call.exp
15326 * gdb.base/shreloc.exp
15327 * gdb.base/sigaltstack.exp
15328 * gdb.base/sigbpt.exp
15329 * gdb.base/siginfo-addr.exp
15330 * gdb.base/siginfo-obj.exp
15331 * gdb.base/siginfo-thread.exp
15332 * gdb.base/signest.exp
15333 * gdb.base/signull.exp
15334 * gdb.base/sigrepeat.exp
15335 * gdb.base/skip.exp
15336 * gdb.base/so-impl-ld.exp
15337 * gdb.base/solib-corrupted.exp
15338 * gdb.base/solib-disc.exp
15339 * gdb.base/solib-display.exp
15340 * gdb.base/solib-overlap.exp
15341 * gdb.base/solib-search.exp
15342 * gdb.base/solib-symbol.exp
15343 * gdb.base/source-execution.exp
15344 * gdb.base/sss-bp-on-user-bp-2.exp
15345 * gdb.base/sss-bp-on-user-bp.exp
15346 * gdb.base/stack-checking.exp
15347 * gdb.base/stale-infcall.exp
15348 * gdb.base/step-break.exp
15349 * gdb.base/step-line.exp
15350 * gdb.base/step-over-exit.exp
15351 * gdb.base/step-test.exp
15352 * gdb.base/structs.exp
15353 * gdb.base/sym-file.exp
15354 * gdb.base/symtab-search-order.exp
15355 * gdb.base/term.exp
15356 * gdb.base/type-opaque.exp
15357 * gdb.base/unload.exp
15358 * gdb.base/until-nodebug.exp
15359 * gdb.base/until.exp
15360 * gdb.base/unwindonsignal.exp
15361 * gdb.base/watch-cond.exp
15362 * gdb.base/watch-non-mem.exp
15363 * gdb.base/watch_thread_num.exp
15364 * gdb.base/watchpoint-reuse-slot.exp
15365 * gdb.base/watchpoint-solib.exp
15366 * gdb.base/watchpoint.exp
15367 * gdb.btrace/dlopen.exp
15368 * gdb.cell/arch.exp
15369 * gdb.cell/break.exp
15370 * gdb.cell/bt.exp
15371 * gdb.cell/core.exp
15372 * gdb.cell/data.exp
15373 * gdb.cell/dwarfaddr.exp
15374 * gdb.cell/ea-cache.exp
15375 * gdb.cell/ea-standalone.exp
15376 * gdb.cell/ea-test.exp
15377 * gdb.cell/f-regs.exp
15378 * gdb.cell/fork.exp
15379 * gdb.cell/gcore.exp
15380 * gdb.cell/mem-access.exp
15381 * gdb.cell/ptype.exp
15382 * gdb.cell/registers.exp
15383 * gdb.cell/sizeof.exp
15384 * gdb.cell/solib-symbol.exp
15385 * gdb.cell/solib.exp
15386 * gdb.compile/compile-tls.exp
15387 * gdb.cp/exception.exp
15388 * gdb.cp/gdb2495.exp
15389 * gdb.cp/local.exp
15390 * gdb.cp/mb-inline.exp
15391 * gdb.cp/mb-templates.exp
15392 * gdb.cp/pr10687.exp
15393 * gdb.cp/pr9167.exp
15394 * gdb.cp/scope-err.exp
15395 * gdb.cp/templates.exp
15396 * gdb.cp/virtfunc.exp
15397 * gdb.dwarf2/dw2-dir-file-name.exp
15398 * gdb.dwarf2/dw2-single-line-discriminators.exp
15399 * gdb.fortran/complex.exp
15400 * gdb.fortran/library-module.exp
15401 * gdb.guile/guile.exp
15402 * gdb.guile/scm-cmd.exp
15403 * gdb.guile/scm-frame-inline.exp
15404 * gdb.guile/scm-objfile.exp
15405 * gdb.guile/scm-pretty-print.exp
15406 * gdb.guile/scm-symbol.exp
15407 * gdb.guile/scm-type.exp
15408 * gdb.guile/scm-value.exp
15409 * gdb.linespec/keywords.exp
15410 * gdb.linespec/ls-errs.exp
15411 * gdb.linespec/macro-relative.exp
15412 * gdb.linespec/thread.exp
15413 * gdb.mi/mi-breakpoint-changed.exp
15414 * gdb.mi/mi-dprintf-pending.exp
15415 * gdb.mi/mi-fullname-deleted.exp
15416 * gdb.mi/mi-logging.exp
15417 * gdb.mi/mi-pending.exp
15418 * gdb.mi/mi-solib.exp
15419 * gdb.mi/new-ui-mi-sync.exp
15420 * gdb.mi/user-selected-context-sync.exp
15421 * gdb.multi/dummy-frame-restore.exp
15422 * gdb.multi/multi-arch-exec.exp
15423 * gdb.multi/remove-inferiors.exp
15424 * gdb.multi/watchpoint-multi-exit.exp
15425 * gdb.opt/solib-intra-step.exp
15426 * gdb.perf/backtrace.exp
15427 * gdb.perf/single-step.exp
15428 * gdb.perf/skip-command.exp
15429 * gdb.perf/skip-prologue.exp
15430 * gdb.perf/solib.exp
15431 * gdb.python/lib-types.exp
15432 * gdb.python/py-as-string.exp
15433 * gdb.python/py-bad-printers.exp
15434 * gdb.python/py-block.exp
15435 * gdb.python/py-breakpoint.exp
15436 * gdb.python/py-cmd.exp
15437 * gdb.python/py-events.exp
15438 * gdb.python/py-evthreads.exp
15439 * gdb.python/py-finish-breakpoint.exp
15440 * gdb.python/py-finish-breakpoint2.exp
15441 * gdb.python/py-frame-inline.exp
15442 * gdb.python/py-frame.exp
15443 * gdb.python/py-inferior.exp
15444 * gdb.python/py-infthread.exp
15445 * gdb.python/py-mi.exp
15446 * gdb.python/py-objfile.exp
15447 * gdb.python/py-pp-maint.exp
15448 * gdb.python/py-pp-registration.exp
15449 * gdb.python/py-prettyprint.exp
15450 * gdb.python/py-recurse-unwind.exp
15451 * gdb.python/py-shared.exp
15452 * gdb.python/py-symbol.exp
15453 * gdb.python/py-symtab.exp
15454 * gdb.python/py-template.exp
15455 * gdb.python/py-type.exp
15456 * gdb.python/py-unwind-maint.exp
15457 * gdb.python/py-unwind.exp
15458 * gdb.python/py-value.exp
15459 * gdb.python/python.exp
15460 * gdb.reverse/finish-reverse-bkpt.exp
15461 * gdb.reverse/insn-reverse.exp
15462 * gdb.reverse/next-reverse-bkpt-over-sr.exp
15463 * gdb.reverse/solib-precsave.exp
15464 * gdb.reverse/solib-reverse.exp
15465 * gdb.stabs/gdb11479.exp
15466 * gdb.stabs/weird.exp
15467 * gdb.threads/fork-child-threads.exp
15468 * gdb.threads/fork-plus-threads.exp
15469 * gdb.threads/fork-thread-pending.exp
15470 * gdb.threads/forking-threads-plus-breakpoint.exp
15471 * gdb.threads/hand-call-in-threads.exp
15472 * gdb.threads/interrupted-hand-call.exp
15473 * gdb.threads/linux-dp.exp
15474 * gdb.threads/local-watch-wrong-thread.exp
15475 * gdb.threads/next-while-other-thread-longjmps.exp
15476 * gdb.threads/non-ldr-exit.exp
15477 * gdb.threads/pending-step.exp
15478 * gdb.threads/print-threads.exp
15479 * gdb.threads/process-dies-while-detaching.exp
15480 * gdb.threads/process-dies-while-handling-bp.exp
15481 * gdb.threads/pthreads.exp
15482 * gdb.threads/queue-signal.exp
15483 * gdb.threads/reconnect-signal.exp
15484 * gdb.threads/signal-command-handle-nopass.exp
15485 * gdb.threads/signal-command-multiple-signals-pending.exp
15486 * gdb.threads/signal-delivered-right-thread.exp
15487 * gdb.threads/signal-sigtrap.exp
15488 * gdb.threads/sigthread.exp
15489 * gdb.threads/staticthreads.exp
15490 * gdb.threads/stepi-random-signal.exp
15491 * gdb.threads/thread-unwindonsignal.exp
15492 * gdb.threads/thread_check.exp
15493 * gdb.threads/thread_events.exp
15494 * gdb.threads/tid-reuse.exp
15495 * gdb.threads/tls-nodebug.exp
15496 * gdb.threads/tls-shared.exp
15497 * gdb.threads/tls-so_extern.exp
15498 * gdb.threads/tls.exp
15499 * gdb.threads/wp-replication.exp
15500 * gdb.trace/actions-changed.exp
15501 * gdb.trace/actions.exp
15502 * gdb.trace/backtrace.exp
15503 * gdb.trace/change-loc.exp
15504 * gdb.trace/collection.exp
15505 * gdb.trace/deltrace.exp
15506 * gdb.trace/disconnected-tracing.exp
15507 * gdb.trace/entry-values.exp
15508 * gdb.trace/ftrace-lock.exp
15509 * gdb.trace/ftrace.exp
15510 * gdb.trace/infotrace.exp
15511 * gdb.trace/mi-trace-frame-collected.exp
15512 * gdb.trace/mi-trace-unavailable.exp
15513 * gdb.trace/mi-traceframe-changed.exp
15514 * gdb.trace/mi-tracepoint-changed.exp
15515 * gdb.trace/mi-tsv-changed.exp
15516 * gdb.trace/no-attach-trace.exp
15517 * gdb.trace/packetlen.exp
15518 * gdb.trace/passc-dyn.exp
15519 * gdb.trace/passcount.exp
15520 * gdb.trace/pending.exp
15521 * gdb.trace/pr16508.exp
15522 * gdb.trace/qtro.exp
15523 * gdb.trace/range-stepping.exp
15524 * gdb.trace/read-memory.exp
15525 * gdb.trace/report.exp
15526 * gdb.trace/save-trace.exp
15527 * gdb.trace/signal.exp
15528 * gdb.trace/stap-trace.exp
15529 * gdb.trace/status-stop.exp
15530 * gdb.trace/strace.exp
15531 * gdb.trace/tfile.exp
15532 * gdb.trace/tfind.exp
15533 * gdb.trace/trace-break.exp
15534 * gdb.trace/trace-condition.exp
15535 * gdb.trace/trace-enable-disable.exp
15536 * gdb.trace/trace-mt.exp
15537 * gdb.trace/tracecmd.exp
15538 * gdb.trace/tracefile-pseudo-reg.exp
15539 * gdb.trace/tspeed.exp
15540 * gdb.trace/tstatus.exp
15541 * gdb.trace/tsv.exp
15542 * gdb.trace/unavailable.exp
15543 * gdb.trace/while-dyn.exp
15544 * gdb.trace/while-stepping.exp
15545 * lib/gdb-guile.exp
15546 * lib/gdb.exp
15547 * lib/mi-support.exp
15548 * lib/pascal.exp
15549 * lib/perftest.exp
15550 * lib/prelink-support.exp
15551 * lib/selftest-support.exp
15552
ad02e4fe
SM
155532016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
15554
15555 * Makefile.in: Include disable-implicit-rules.mk.
15556
22347e55
AA
155572016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15558
15559 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
15560 non-byte-aligned bit fields.
15561
da5b30da
AA
155622016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15563
15564 PR gdb/12616
15565 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
15566 respects the DW_AT_data_bit_offset attribute.
15567
b593ecca
SM
155682016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
15569
15570 * gdb.base/default.exp: Fix output of "set language".
15571
3b165252
SM
155722016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
15573
15574 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
15575 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15576 make.
15577 * configure.ac: Remove checks for the make program.
15578 * configure: Re-generate.
15579
1a2f3d7f
KB
155802016-11-16 Kevin Buettner <kevinb@redhat.com>
15581
15582 * gdb.python/py-recurse-unwind.c (main): Add loop.
15583 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15584 to read_register() and gdb.parse_and_eval(). Make each code
15585 call a separate case that can be individually tested.
15586 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15587 proc. Call cont_and_backtrace for each of the code paths that
15588 we want to test in the unwinder.
15589
b7f38fda
AA
155902016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15591
15592 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15593 the definition of struct S.
15594
1f8db343
CM
155952016-11-11 Catherine Moore <clm@codesourcery.com>
15596
15597 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15598
fad0c9fb
PA
155992016-11-09 Pedro Alves <palves@redhat.com>
15600
15601 * gdb.base/commands.exp (runto_or_return): New procedure.
15602 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15603 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15604 (progvar_simple_while_test, progvar_complex_if_while_test)
15605 (if_while_breakpoint_command_test)
15606 (infrun_breakpoint_command_test, breakpoint_command_test)
15607 (user_defined_command_test, watchpoint_command_test)
15608 (test_command_prompt_position, redefine_hook_test)
15609 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15610 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15611 multi_line_input and multi_line. Remove gdb_expect and
15612 gdb_stop_suppressing_tests uses.
15613 * lib/gdb.exp (valnum_re): New global.
15614 (multi_line_input): New procedure.
15615
8354c62c
SM
156162016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15617
15618 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15619 Remove.
15620 (test_setup): Define with proc_with_prefix.
15621 (test_cli_inferior): Likewise.
15622 (test_cli_thread): Likewise.
15623 (test_cli_frame): Likewise.
15624 (test_cli_select_frame): Likewise.
15625 (test_cli_up_down): Likewise.
15626 (test_mi_thread_select): Likewise.
15627 (test_mi_stack_select_frame): Likewise.
15628 (test_cli_in_mi_inferior): Likewise.
15629 (test_cli_in_mi_thread): Likewise.
15630 (test_cli_in_mi_frame): Likewise.
15631 (top level): Do not use with_test_prefix_procname.
15632
64f367a2
PA
156332016-11-09 Pedro Alves <palves@redhat.com>
15634
15635 * gdb.base/commands.exp (gdbvar_simple_if_test)
15636 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15637 (progvar_simple_if_test, progvar_simple_while_test)
15638 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15639 (infrun_breakpoint_command_test, breakpoint_command_test)
15640 (user_defined_command_test, watchpoint_command_test)
15641 (test_command_prompt_position, deprecated_command_test)
15642 (bp_deleted_in_command, temporary_breakpoint_commands)
15643 (stray_arg0_test, source_file_with_indented_comment)
15644 (recursive_source_test, if_commands_test)
15645 (error_clears_commands_left, redefine_hook_test)
15646 (redefine_backtrace_test): Use proc_with_prefix.
15647 * lib/gdb.exp (proc_with_prefix): New proc.
15648
0bb65f1e
AA
156492016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15650
15651 * gdb.base/tui-layout.c: New file.
15652 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15653 disassembly window contains very long lines.
15654
7353f247
TT
156552016-11-08 Tom Tromey <tom@tromey.com>
15656
15657 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15658 depend on Python 2.
15659
30a7bb83
TT
156602016-11-08 Tom Tromey <tom@tromey.com>
15661
15662 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15663 New method.
15664
cdf5a07c
MG
156652016-10-29 Manish Goregaokar <manish@mozilla.com>
15666
2806dc7e 15667 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 15668
51a789c3
MG
156692016-10-27 Manish Goregaokar <manish@mozilla.com>
15670
2806dc7e
PA
15671 * gdb.rust/simple.rs: Add test for univariant enums without
15672 discriminants and for encoded struct-like enums.
51a789c3 15673
f610ab6d
PA
156742016-10-28 Pedro Alves <palves@redhat.com>
15675
15676 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15677 gdb_test_multiple, tighten regexps and match symtabs and line
15678 tables incrementally.
15679
b129b0ca
LM
156802016-10-28 Luis Machado <lgustavo@codesourcery.com>
15681
15682 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15683 general.
15684
ecf45d2c
SL
156852016-10-25 Luis Machado <lgustavo@codesourcery.com>
15686
15687 * gdb.base/exec-invalid-sysroot.exp: New file.
15688
b8d38ee4
JK
156892016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15690
15691 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15692
f90fd8c2
JK
156932016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15694
15695 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15696
2d2476aa
MR
156972016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15698
2806dc7e
PA
15699 * gdb.base/killed-outside.exp: Remove $options from a call to
15700 `prepare_for_testing'.
2d2476aa 15701
e42b25a0
SM
157022016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15703
15704 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15705 Change test message.
15706
3ccdb432
SM
157072016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15708
15709 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15710 Update comment.
15711
5bad3170
SM
157122016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15713
15714 * gdb.trace/mi-trace-save.exp: New file.
15715
5ad9dba7
YQ
157162016-10-13 Yao Qi <yao.qi@linaro.org>
15717
15718 * gdb.base/code_elim.exp (get_var_address): Remove.
15719 * gdb.base/relocate.exp: Likewise.
15720 * gdb.base/shreloc.exp: Likewise.
15721 * lib/gdb.exp (get_var_address): New.
15722
62df7e21
YQ
157232016-10-13 Yao Qi <yao.qi@linaro.org>
15724
15725 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15726 floating point tests if $skip_float_test is false.
15727
4dac951e
LM
157282016-10-12 Luis Machado <lgustavo@codesourcery.com>
15729
15730 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15731 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15732 argc values.
15733 Add 1 to argc so we guarantee distinct initial/modified argc values.
15734
8f1a8fc4
JK
157352016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15736
15737 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15738
16c85b5d
JK
157392016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15740
15741 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15742 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15743 * gdb.arch/vsx-regs.exp: Likewise.
15744
1d0e042a
YQ
157452016-10-07 Yao Qi <yao.qi@linaro.org>
15746
15747 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15748
68dadef5
MM
157492016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15750
15751 * gdb.python/python.exp: Test decode_line("*0").
15752
33fa2c6e
DE
157532016-10-06 Doug Evans <dje@google.com>
15754
15755 * gdb.python/py-value.exp (test_value_creation): Add test for large
15756 unsigned 64-bit value.
15757
9c37b5ae
TT
157582016-10-06 Tom Tromey <tom@tromey.com>
15759
15760 * gdb.compile/compile.exp: Change java tests to rust.
15761 * gdb.base/setshow.exp: Change java tests to rust.
15762 * gdb.base/default.exp: Remove java from language list.
15763 * README (Examples): Update language example.
15764 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15765 test.
15766 * lib/gdb.exp (skip_java_tests): Remove.
15767 * lib/java.exp: Remove.
15768 * gdb.java: Remove.
15769
78b86327
MR
157702016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15771
15772 * gdb.arch/mips-fcr.exp: New test.
15773 * gdb.arch/mips-fcr.c: Source for the new test.
15774
7470adbb
MR
157752016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15776
15777 * gdb.base/solib-disc.exp: Use `standard_output_file'
15778 throughout.
15779
4a556533
PA
157802016-10-06 Pedro Alves <palves@redhat.com>
15781
15782 * gdb.base/jit-simple-dl.c: New file.
15783 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15784 * gdb.base/jit-simple.c: ... this.
15785 * gdb.base/jit-simple.exp (jit_run): Delete.
15786 (build_jit): New proc.
15787 (jit_test_reread): Recompile either the main program or the shared
15788 library, depending on what is being tested. Skip changing address
15789 if caller wants to. Compare before/after addresses. If testing
15790 standalone, explicitly load the binary. Test "maint info
15791 breakpoints".
15792 (top level): Add "standalone vs shared lib" and "change address"
15793 vs "same address" axes.
15794
5a122fbc
PA
157952016-10-06 Pedro Alves <palves@redhat.com>
15796
15797 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15798 call.
15799 (jit_run): Delete.
15800 (jit_test_reread): Use with_test_prefix. Reload the main binary
15801 explicitly. Compare the before/after addresses of the JIT
15802 descriptor.
15803
ee8da4b8
DE
158042016-08-15 Doug Evans <dje@google.com>
15805
15806 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15807 for single bitfields is bool.
15808 * gdb.xml/tdesc-regs.exp: Ditto.
15809
f389f6fe
JK
158102016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15811
15812 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15813
fdebf1a4
YQ
158142016-10-05 Yao Qi <yao.qi@linaro.org>
15815
15816 * lib/gdb.exp (support_complex_tests): Return zero if
15817 gdb_skip_float_test return true.
15818
9c36d954 158192016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15820 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
15821
15822 PR gdb/20487
15823 * gdb.mi/user-selected-context-sync.exp: New file.
15824 * gdb.mi/user-selected-context-sync.c: New file.
15825
4034d0ff 158262016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15827 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
15828
15829 PR gdb/20487
15830 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15831 =thread-select-event check.
15832
a4297203
PB
158332016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15834
15835 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15836 the compulsory L operand changes.
15837 * gdb.arch/powerpc-power.s: Likewise.
15838
bb805577
JK
158392016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15840
15841 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15842 * gdb.base/jit-attach-pie.c: New file.
15843 * gdb.base/jit-attach-pie.exp: New file.
15844
6d61dee5
PA
158452016-09-28 Pedro Alves <palves@redhat.com>
15846
15847 * gdb.base/infcall-input.c: New file.
15848 * gdb.base/infcall-input.exp: New file.
15849
f73842fc
YQ
158502016-09-22 Yao Qi <yao.qi@linaro.org>
15851
15852 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15853 (gdb_exit): Rename it to ...
15854 (gdbserver_gdb_exit): ... Close GDBserver.
15855 (gdb_exit): New proc, call gdbserver_gdb_exit.
15856 (mi_gdb_exit): Likewise.
15857
90681dab
YQ
158582016-09-22 Yao Qi <yao.qi@linaro.org>
15859
15860 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15861 path.
15862 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15863 Remove duplication.
15864
9c211fd8
YQ
158652016-09-22 Yao Qi <yao.qi@linaro.org>
15866
15867 * lib/gdbserver-support.exp: Check the existence of
15868 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15869
ad0a504f
AK
158702016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15871
15872 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15873
36cf1806
TT
158742016-09-21 Tom Tromey <tom@tromey.com>
15875
15876 PR gdb/20604:
15877 * gdb.base/quit.exp: New file.
15878
74172ecf
SM
158792016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15880
15881 * .gitignore: New file.
15882
3d0ec882
MR
158832016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15884
15885 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15886 throughout.
15887
8193adea
AA
158882016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15889
15890 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15891
d41a5c09
JK
158922016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15893
15894 * gdb.cp/casts.cc (decltype): Move it ...
15895 (main): ... with its call to ...
15896 * gdb.cp/casts03.cc: ... a new file.
15897 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15898
d2dfe700
JK
158992016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15900
15901 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15902
e2a92b16
PB
159032016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15904
15905 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15906 and sync up the test with tests in gas/testsuite/gas/ppc.
15907 * gdb.arch/powerpc-power.exp: Likewise.
15908
49b4de64
JK
159092016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15910
15911 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15912
2c29df25
SDJ
159132016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15914 Jan Kratochvil <jan.kratochvil@redhat.com>
15915
15916 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15917 make m1's definition to be different from m2's. Use 'dummy' as an
15918 argument for probe 'two'.
15919
cc3c2846
JB
159202016-09-10 Jon Beniston <jon@beniston.com>
15921
15922 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15923 for sim target.
15924
e1b2624a
AA
159252016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15926
15927 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15928 variable declaration.
15929 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15930 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15931 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15932 received HWCAP as its argument.
15933
4295e285
PA
159342016-09-06 Pedro Alves <palves@redhat.com>
15935
15936 * gdb.base/new-ui-pending-input.c: New file.
15937 * gdb.base/new-ui-pending-input.exp: New file.
15938 * gdb.exp (clear_gdb_spawn_id): New procedure.
15939 (with_spawn_id): Check whether gdb_spawn_id exists before
15940 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15941 on exit.
15942
00d5215e
UW
159432016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15944
15945 * gdb.base/float128.c: New file.
15946 * gdb.base/float128.exp: Likewise.
15947 * gdb.base/floatn.c: Likewise.
15948 * gdb.base/floatn.exp: Likewise.
15949
a9ff5f12
UW
159502016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15951
15952 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15953
f245535c
PA
159542016-09-05 Pedro Alves <palves@redhat.com>
15955
15956 PR backtrace/19927
15957 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15958 unwinders are immediately called as side effect of "source" or
15959 "disable unwinder" commands.
15960 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15961
ae9cf263
YQ
159622016-09-02 Yao Qi <yao.qi@linaro.org>
15963
15964 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15965 is true and $type is "float" or "double".
15966
27aba047
YQ
159672016-09-02 Yao Qi <yao.qi@linaro.org>
15968
15969 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15970 true.
15971 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15972 * gdb.base/call-rt-st.exp: Likewise.
15973 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15974 return value instead of gdb,skip_float_test.
15975 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15976 (do_function_calls): Use its return value instead of
15977 gdb,skip_float_test.
15978 * gdb.base/finish.exp: Likewise.
15979 * gdb.base/funcargs.exp: Likewise.
15980 * gdb.base/return.exp: Likewise.
15981 * gdb.base/return2.exp: Likewise.
15982 * gdb.base/varargs.exp: Likewise.
15983 * lib/gdb.exp (gdb_skip_float_test): Change it to
15984 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15985
5af962df
AA
159862016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15987
15988 * gdb.multi/tids.exp: Test "thread apply all".
15989
7fac6910
JK
159902016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15991
15992 * gdb.base/default.exp (tty): Remove.
15993
bb1fe4ac
KB
159942016-08-24 Kevin Buettner <kevinb@redhat.com>
15995
2806dc7e
PA
15996 * gdb.python/py-recurse-unwind.c: New file.
15997 * gdb.python/py-recurse-unwind.py: New file.
15998 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15999
0a1ddfa6
SM
160002016-08-24 Simon Marchi <simon.marchi@ericsson.com>
16001
16002 * gdb.base/set-inferior-tty.exp: New file.
16003 * gdb.base/set-inferior-tty.c: New file.
16004
d9de1fe3
PA
160052016-08-23 Pedro Alves <palves@redhat.com>
16006
16007 PR gdb/20494
16008 * gdb.base/new-ui-echo.c: New file.
16009 * gdb.base/new-ui-echo.exp: New file.
16010
e9d9abd7
YQ
160112016-08-23 Yao Qi <yao.qi@linaro.org>
16012
16013 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
16014 gdbserver_spawn.
16015 * gdb.server/connect-without-multi-process.exp (do_test):
16016 Likewise.
16017
3589529e
YQ
160182016-08-23 Yao Qi <yao.qi@linaro.org>
16019
16020 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
16021 standalone_txt. Delete gdb_txt and standalone_txt on host
16022 and target. Spawn the binary on target. Copy files from
16023 target to host.
16024
6bb90213
PA
160252016-08-22 Pedro Alves <palves@redhat.com>
16026
16027 PR gdb/20505
16028 * gdb.base/vdso-warning.exp: Test core dumps too. Use
16029 with_test_prefix. Factor out bits to ...
16030 (test_no_vdso): ... this new procedure.
16031
20c2c024
CL
160322016-08-19 Carl Love <cel@us.ibm.com>
16033
16034 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
16035 maintaining separate logic for constructing the output path.
16036 * gdb.arch/powerpc-d128-regs.exp: Likewise.
16037 * gdb.arch/ppc-dfp.exp: Likewise.
16038 * gdb.arch/ppc-fp.exp: Likewise.
16039 * gdb.arch/vsx-regs.exp: Likewise.
16040 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
16041 binprefix for generating the additional binary files.
16042
0646e07d
PA
160432016-08-19 Pedro Alves <palves@redhat.com>
16044
16045 * gdb.trace/mi-trace-frame-collected.exp
16046 (test_trace_frame_collected): On x32, expect two registers.
16047
46da9242
CL
160482016-08-18 Carl Love <cel@us.ibm.com>
16049
16050 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
16051 and sync up the test with tests in gas/testsuite/gas/ppc.
16052 * gdb.arch/powerpc-power.exp: Likewise.
16053
eb2332d7
SM
160542016-08-17 Simon Marchi <simon.marchi@ericsson.com>
16055
16056 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
16057 expected error message.
16058
63c61e04
SM
160592016-08-17 Simon Marchi <simon.marchi@ericsson.com>
16060
16061 * gdb.multi/remove-inferiors.exp: New file.
16062 * gdb.multi/remove-inferiors.c: New file.
16063
7b17065f
YQ
160642016-08-12 Yao Qi <yao.qi@linaro.org>
16065
16066 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
16067 argument list.
16068
01d3dedf
PA
160692016-08-10 Pedro Alves <palves@redhat.com>
16070
16071 PR gdb/19187
16072 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
16073 setup_kfails.
16074
3eb7562a
PA
160752016-08-09 Pedro Alves <palves@redhat.com>
16076 Simon Marchi <simon.marchi@ericsson.com>
16077
16078 PR gdb/20418
16079 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
16080 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
16081
80614914
PA
160822016-08-09 Pedro Alves <palves@redhat.com>
16083
16084 PR mi/20431
16085 * gdb.mi/mi-cmd-error.exp: New file.
16086
f348d89a
PA
160872016-08-09 Pedro Alves <palves@redhat.com>
16088
16089 PR gdb/18653
16090 * gdb.base/signals-state-child.c: New file.
16091 * gdb.base/signals-state-child.exp: New file.
16092 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
16093
e5ca03b4
PA
160942016-08-09 Pedro Alves <palves@redhat.com>
16095
16096 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
16097
282a0691
TT
160982016-08-03 Tom Tromey <tom@tromey.com>
16099
16100 PR python/18565:
16101 * gdb.python/py-frame-inline.exp: Add Frame.function test.
16102
41bfcd63
YQ
161032016-08-01 Yao Qi <yao.qi@linaro.org>
16104
16105 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
16106 variable mode to "multi-process" if $multi_process is 1, otherwise
16107 set it to "single-process".
16108
e3465b24
YQ
161092016-08-01 Yao Qi <yao.qi@linaro.org>
16110
16111 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
16112 * gdb.cp/cpexprs.exp: Likewise.
16113 * gdb.cp/m-static.exp: Likewise.
16114
0b31a4bc
TT
161152016-07-26 Tom Tromey <tom@tromey.com>
16116
16117 PR python/20190:
16118 * gdb.threads/tls.exp (check_thread_local): Add python symbol
16119 test.
16120
e0461dbb
MM
161212016-07-26 Markus Metzger <markus.t.metzger@intel.com>
16122
16123 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
16124 selecting assembly source files.
16125 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
16126 assembly source files.
16127 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
16128 assembly source files.
16129 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
16130 selecting assembly source files.
16131
8194e927
SM
161322016-07-25 Simon Marchi <simon.marchi@ericsson.com>
16133
16134 * gdb.base/new-ui.exp (do_test_invalid_args): New
16135 procedure.
16136
c0272db5
TW
161372016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
16138
16139 * gdb.btrace/reconnect.c: New file.
16140 * gdb.btrace/reconnect.exp: New file.
16141
e3487908
GKB
161422016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
16143
16144 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
16145 to test_catch_syscall_group.
16146 (test_catch_syscall_group): New.
16147
12df5c00
TT
161482016-07-21 Tom Tromey <tom@tromey.com>
16149
16150 * gdb.rust/simple.rs (main): Use empty struct expression.
16151 * gdb.rust/simple.exp: Add tests for empty struct expression.
16152
bae62ee2
YQ
161532016-07-21 Yao Qi <yao.qi@linaro.org>
16154
16155 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
16156 if gdb_skip_xml_test is true on some targets.
16157
b1b53fb3
YQ
161582016-07-21 Yao Qi <yao.qi@linaro.org>
16159
16160 * gdb.server/solib-list.exp: Unset last_loaded_file.
16161
027d97f8
JK
161622016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16163
16164 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
16165 "step into captured_main (args)".
16166
7674d381
JK
161672016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16168
16169 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
16170
72b5d099
JK
161712016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16172
16173 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
16174
1f960ced
PA
161752016-07-19 Pedro Alves <palves@redhat.com>
16176
16177 * gdb.opt/inline-break.exp: Remove optimize=-O2.
16178 * gdb.opt/inline-bt.exp: Likewise.
16179 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
16180 additional_flags=-Winline.
16181 * gdb.opt/inline-locals.exp: Likewise.
16182 * gdb.opt/inline-markers.c (ATTR): Define.
16183 (inlined_fn): Use it.
16184
f25827c1
YQ
161852016-07-19 Yao Qi <yao.qi@linaro.org>
16186
16187 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
16188 (test_with_self): Remove some code. Remove argument executable.
16189 (top-level): Use do_self_tests.
16190
37539ebe
DB
161912016-07-15 Zachary Welch <zwelch@codesourcery.com>
16192 Don Breazeal <donb@codesourcery.com>
16193
16194 * gdb.base/maint.exp: Escape paths used in regular expressions.
16195 * gdb.stabs/weird.exp: Likewise.
16196
dac790e1
TT
161972016-07-13 Tom Tromey <tom@tromey.com>
16198
16199 PR python/15620, PR python/18620:
16200 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
16201 (test_bkpt_events): New procs.
16202
93daf339
TT
162032016-07-13 Tom Tromey <tom@tromey.com>
16204
16205 PR python/17698:
16206 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
16207 test.
16208 (test_watchpoints): Likewise.
16209 (test_bkpt_pending): New proc.
16210
6571a381
TT
162112016-07-13 Tom Tromey <tom@tromey.com>
16212
16213 PR cli/18053:
16214 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
16215 completion test.
16216
e8732474
JK
162172016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16218
16219 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
16220 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
16221 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
16222 f_label.
16223 (g): Rename g_end_lbl to g_label.
16224 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
16225 low_pc and high_pc.
16226 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
16227
e0f3fd7c
TT
162282016-07-12 Tom Tromey <tom@tromey.com>
16229
16230 PR python/19293:
16231 * gdb.python/py-unwind-maint.exp: Update tests.
16232
3cfe46b6
YQ
162332016-07-12 Yao Qi <yao.qi@linaro.org>
16234
16235 * lib/selftest-support.exp (selftest_setup): Match the output
16236 when captured_main is inlined.
16237
4f19a0e6
WT
162382016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
16239
16240 * gdb.fortran/derived-types.exp (result_line, result_line_2):
16241 New variables.
16242 (print this%a, print this%b, print this): New tests.
16243 * gdb.fortran/derived-types.f90 (this): New object and
16244 initialization.
16245
986cf455
SM
162462016-07-06 Simon Marchi <simon.marchi@ericsson.com>
16247
16248 * gdb.ada/arraydim.exp: Remove extra directory level in build
16249 directory.
16250
f0464b23
SM
162512016-07-06 Simon Marchi <simon.marchi@ericsson.com>
16252
16253 * lib/ada.exp: Remove extra directory level in build directory.
16254 * gdb.ada/cond_lang.exp: Likewise.
16255 * gdb.ada/exec_changed.exp: Likewise.
16256 * gdb.ada/lang_switch.exp: Likewise.
16257
42d94011
MG
162582016-07-06 Manish Goregaokar <manish@mozilla.com>
16259
2806dc7e
PA
16260 * simple.rs: Add test for raw pointer subscripting.
16261 * simple.exp: Add test expectations.
42d94011 16262
647c264c
YQ
162632016-07-05 Yao Qi <yao.qi@linaro.org>
16264
16265 * gdb.mi/mi-reverse.exp: Match =record-started output.
16266
20aa2c60
PA
162672016-07-01 Pedro Alves <palves@redhat.com>
16268
16269 * gdb.base/jit-reader.exp (info_registers_current_frame): New
16270 procedure.
16271 (jit_reader_test): Test the jit reader's unwinder.
16272 * gdb.base/jithost.c (jit_function_00_code): New global.
16273 (main): Use memcpy to fill in the mmapped code, instead of poking
16274 bytes manually here.
16275 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
16276 value.
16277 (read_debug_info): Save the function's range.
16278 (read_sp): New function.
16279 (unwind_frame): Use it. Also unwind RBP.
16280 (get_frame_id): Use read_sp.
16281 (gdb_init_reader): Use calloc instead of malloc.
16282 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
16283 parameter. Use gdb_test_multiple.
16284
ced2dffb
PA
162852016-07-01 Pedro Alves <palves@redhat.com>
16286 Antoine Tremblay <antoine.tremblay@ericsson.com>
16287
16288 * gdb.threads/process-dies-while-detaching.c: New file.
16289 * gdb.threads/process-dies-while-detaching.exp: New file.
16290
63000888
PA
162912016-07-01 Pedro Alves <palves@redhat.com>
16292
16293 * gdb.multi/watchpoint-multi-exit.c: New file.
16294 * gdb.multi/watchpoint-multi-exit.exp: New file.
16295
038d4868
PA
162962016-06-30 Pedro Alves <palves@redhat.com>
16297
16298 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
16299 unset inferior_spawn_id.
16300
994e9c83
PA
163012016-06-30 Pedro Alves <palves@redhat.com>
16302
16303 * lib/mi-support.exp (default_mi_gdb_start): Declare global
16304 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
16305
e5653468
YQ
163062016-06-29 Yao Qi <yao.qi@linaro.org>
16307
16308 * gdb.base/return.c: Add copyright header.
16309
803b47e5
TT
163102016-06-29 Tom Tromey <tom@tromey.com>
16311
16312 PR python/20129:
16313 * gdb.python/py-framefilter.exp: Add tests for setting priority
16314 and disabling of non-existent frame filter.
16315
28244707
YQ
163162016-06-29 Yao Qi <yao.qi@linaro.org>
16317
16318 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
16319 0x0f07ff.
16320
a31d2f06
YQ
163212016-06-28 Yao Qi <yao.qi@linaro.org>
16322
16323 * gdb.base/catch-syscall.exp: Remove check on isnative and target
16324 triplets. Start gdb, execute catch syscall, and continue. Check
16325 gdb's output to determine catch syscall is supported.
16326
921d8f54
MG
163272016-06-27 Manish Goregaokar <manish@mozilla.com>
16328
25d49b86
PA
16329 * gdb.rust/simple.rs: Add test for returning unit in a function.
16330 * gdb.rust/simple.exp: Add expectation for functions returning
16331 unit.
921d8f54 16332
f4952523
PMR
163332016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
16334
16335 * gdb.python/py-breakpoint-create-fail.c,
16336 gdb.python/py-breakpoint-create-fail.exp,
16337 gdb.python/py-breakpoint-create-fail.py: New testcase.
16338
fccb08f8
MG
163392016-06-25 Manish Goregaokar <manish@mozilla.com>
16340
16341 PR gdb/20239
16342 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
16343 * gdb.rust/simple.exp: Add test expectations for new NonZero
16344 tests.
fccb08f8 16345
6b850546
DT
163462016-06-24 David Taylor <dtaylor@emc.com>
16347
16348 * gdb.base/offsets.exp: New file.
16349 * gdb.base/offsets.c: New file.
16350
17621150
TT
163512016-06-23 Tom Tromey <tom@tromey.com>
16352
16353 PR gdb/16483:
16354 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
16355 before any filters are loaded.
16356
04d59df6
WT
163572016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
16358
16359 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
16360 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
16361 structs.
16362 * gdb.fortran/derived-type-function.exp: New file.
16363 * gdb.fortran/derived-type-function.f90: New file.
16364
16365
ac69f786
PA
163662016-06-21 Pedro Alves <palves@redhat.com>
16367
16368 * gdb.base/new-ui.exp: New file.
16369 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
16370 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
16371 (with_spawn_id): New procedure.
16372
49940788
PA
163732016-06-21 Pedro Alves <palves@redhat.com>
16374
16375 * gdb.mi/mi-exec-run.exp: New file.
16376
ef274d26
PA
163772016-06-21 Pedro Alves <palves@redhat.com>
16378
16379 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
16380 breakpoint command's output on the main UI.
16381 (test_break): New procedure, factored out from calls in the top
16382 level.
16383 (top level): Use foreach_with_prefix to test MI as main UI and as
16384 separate UI.
16385
468afe6c
PA
163862016-06-21 Pedro Alves <palves@redhat.com>
16387
16388 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
16389 (test_awatch_creation_and_listing)
16390 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
16391 Remove 'type' parameter.
16392 (test_watchpoint_all): New parameter mi_mode. Remove
16393 with_test_prefix.
16394 (top level): Use foreach_with_prefix, and add main/separate UI MI
16395 testing axis.
16396
51f77c37
PA
163972016-06-21 Pedro Alves <palves@redhat.com>
16398
16399 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
16400 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
16401 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
16402 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
16403 (gdb_main_spawn_id, mi_spawn_id): Declare and
16404 comment.
16405 (mi_create_inferior_pty): New procedure,
16406 factored out from default_mi_gdb_start.
16407 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
16408 procedures.
16409 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
16410 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
16411 Use mi_create_inferior_pty.
16412 (mi_gdb_start): Use eval to pass down args list.
16413
8980e177
PA
164142016-06-21 Pedro Alves <palves@redhat.com>
16415
16416 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
16417 * gdb.opt/inline-cmds.exp: Add MI tests.
16418
f38d3ad1
PA
164192016-06-21 Pedro Alves <palves@redhat.com>
16420
16421 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
16422
45db7c09
PA
164232016-06-21 Pedro Alves <palves@redhat.com>
16424
16425 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
16426 (top level): Use it instead of mi_execute_to.
16427
5a069ab3
PA
164282016-06-21 Pedro Alves <palves@redhat.com>
16429
16430 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
16431 (cont_handler_str): New.
16432 (signal_stop_handler): Set stop_handler_str instead of printing to
16433 stdout.
16434 (continue_handler): Set cont_handler_str instead of printing to
16435 stdout.
16436 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
16437 mi_send_resuming_command. Print stop_handler_str and
16438 cont_handler_str instead of expecting the python events print
16439 directly.
16440
2838cc1d
SD
164412016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
16442
16443 * gdb.base/jit-reader.exp: New file.
16444 * gdb.base/jithost.c: New file.
16445 * gdb.base/jithost.h: New file.
16446 * gdb.base/jitreader.c : New file.
16447 * gdb.base/jit-protocol.h: New file.
16448
21a77091
YQ
164492016-06-17 Yao Qi <yao.qi@linaro.org>
16450
16451 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
16452 parameters follow_fork and detach_on_fork. Set follow-fork-mode
16453 and detach-on-fork. Adjust tests.
16454 (top level): Invoke break_cond_on_syscall with combinations of
16455 syscall, follow-fork-mode and detach-on-fork.
16456
f50bf8e5
YQ
164572016-06-17 Yao Qi <yao.qi@linaro.org>
16458
16459 * gdb.base/step-over-exit.c: New.
16460 * gdb.base/step-over-exit.exp: New.
16461
a28d8e50
YTL
164622016-06-17 Yan-Ting Lin <currygt52@gmail.com>
16463
16464 * gdb.base/float.exp: Add target check for nds32*-*-*.
16465 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
16466
cad8e26d
AB
164672016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
16468
16469 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
16470 for unsupported target features.
16471 * gdb.base/call-rt-st.exp: Likewise.
16472 * gdb.base/call-sc.exp: Likewise.
16473 * gdb.base/call-signal-resume.exp: Likewise.
16474 * gdb.base/call-strs.exp: Likewise.
16475 * gdb.base/callexit.exp: Likewise.
16476 * gdb.base/callfuncs.exp: Likewise.
16477 * gdb.base/nodebug.exp: Likewise.
16478 * gdb.base/printcmds.exp: Likewise.
16479 * gdb.base/ptype.exp: Likewise.
16480 * gdb.base/structs.exp: Likewise.
16481 * gdb.base/unwindonsignal.exp: Likewise.
16482 * gdb.cp/gdb2495.exp: Likewise.
16483 * gdb.cp/templates.exp: Likewise.
16484 * gdb.cp/virtfunc.exp: Likewise.
16485 * gdb.threads/hand-call-in-threads.exp: Likewise.
16486 * gdb.threads/interrupted-hand-call.exp: Likewise.
16487 * gdb.threads/thread-unwindonsignal.exp: Likewise.
16488
347dc102
TT
164892016-06-10 Tom Tromey <tom@tromey.com>
16490
16491 PR rust/20110:
16492 * gdb.rust/expr.exp: Add test for integer constant larger than
16493 i32.
16494
5e13cf25
BH
164952016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
16496
16497 * gdb.fortran/nested-funcs.exp: New.
16498 * gdb.fortran/nested-funcs.f90: New.
16499
bb556f1f
TK
165002016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
16501
16502 * gdb.base/examine-backward.c: New file.
16503 * gdb.base/examine-backward.exp: New file.
16504
38b022b4
SM
165052016-06-06 Simon Marchi <simon.marchi@ericsson.com>
16506
16507 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
16508 matching.
16509
1b40ec05
TT
165102016-06-02 Tom Tromey <tom@tromey.com>
16511
16512 PR python/18984:
16513 * gdb.python/py-shared.exp: Add solib_name test.
16514
193bd378
SM
165152016-06-02 Simon Marchi <simon.marchi@ericsson.com>
16516
16517 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
16518
3326303b
MG
165192016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
16520
16521 PR c++/19893
16522 * gdb.dwarf2/implref.exp: Rename to...
16523 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
16524 * gdb.dwarf2/implref-array.c: New file.
16525 * gdb.dwarf2/implref-array.exp: Likewise.
16526 * gdb.dwarf2/implref-global.c: Likewise.
16527 * gdb.dwarf2/implref-global.exp: Likewise.
16528 * gdb.dwarf2/implref-struct.c: Likewise.
16529 * gdb.dwarf2/implref-struct.exp: Likewise.
16530
825c8ef2
AT
165312016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16532
16533 * gdb.trace/trace-condition.exp: Add 64bit tests.
16534
2320162a
AT
165352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16536
16537 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
16538 bits types.
16539 (main): Adapt to 8 to 64 bits types.
16540 * gdb.trace/trace-condition.exp: Add new tests.
16541
a7818233
AT
165422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16543
16544 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
16545
0d336466
AT
165462016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16547
16548 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
16549 Move condition tests...
16550 * gdb.trace/trace-condition.exp: Here.
16551
7faeb45a
AT
165522016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16553
16554 * gdb.trace/trace-condition.exp: Add counter-case tests.
16555
e385593e
JK
165562016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16557
16558 PR c++/15231
16559 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
16560 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
16561
744608cc
PA
165622016-05-27 Pedro Alves <palves@redhat.com>
16563
16564 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
16565 New procedure.
16566 (top level): Call it, and bail out of DejaGnu is known to be bad.
16567
ac775bf4
AB
165682016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
16569
16570 * gdb.base/whatis.c: Extend the test case.
16571 * gdb.base/whatis.exp: Add additional tests.
16572
2bbad2ea
BH
165732016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16574
16575* gdb.fortran/type.f90: Add pointer variable.
16576* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
16577
8b70175d
BH
165782016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16579
16580 * gdb.fortran/vla-type.exp: Fix testcase name.
16581
86d8a848
BH
165822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16583
16584 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16585
e188eb36
BH
165862016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16587
16588 * gdb.fortran/type.f90: Add nested structures.
16589 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16590 * gdb.fortran/derived-type.exp: Adapt expected output.
16591 * gdb.fortran/vla-type.exp: Adapt expected output.
16592
9b2db1fd
BH
165932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16594
16595 * gdb.fortran/whatis_type.exp: Adapt expected output.
16596
72b17055
BH
165972016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16598
16599 * gdb.fortran/print_type.exp: Fix expected output.
16600 * gdb.fortran/whatis_type.exp: Fix expected output.
16601
3cd81d8d
BH
166022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16603
16604 * gdb.fortran/whatis_type.exp: Use multi_line.
16605
ddae9462
TT
166062016-05-24 Tom Tromey <tom@tromey.com>
16607
16608 PR python/17386:
16609 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16610 use value as an index.
16611
1957f6b8
TT
166122016-05-23 Tom Tromey <tom@tromey.com>
16613
16614 PR python/17981:
16615 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16616 no-breakpoint case.
16617
026a9174
PA
166182016-05-24 Pedro Alves <palves@redhat.com>
16619
16620 PR gdb/19828
16621 * gdb.threads/clone-attach-detach.c: New file.
16622 * gdb.threads/clone-attach-detach.exp: New file.
16623
e70a7231
FR
166242016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16625
16626 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16627
0f6ed0e0
TT
166282016-05-23 Tom Tromey <tom@tromey.com>
16629
16630 PR python/19438, PR python/18393:
16631 * gdb.python/py-progspace.exp: Add "dir" test.
16632 * gdb.python/py-objfile.exp: Add "dir" test.
16633
ffd19d61
YQ
166342016-05-23 Yao Qi <yao.qi@linaro.org>
16635
16636 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16637 * gdb.arch/thumb2-it.exp: Likewise.
16638
9e8f9b05
SM
166392016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16640
16641 * gdb.mi/mi-threads-interrupt.c: New file.
16642 * gdb.mi/mi-threads-interrupt.exp: New file.
16643
61c6156d
SM
166442016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16645
16646 PR gdb/18077
16647 * gdb.mi/mi-async-run.exp: New file.
16648 * gdb.mi/mi-async-run.c: New file.
16649
67218854
TT
166502016-05-17 Tom Tromey <tom@tromey.com>
16651 Manish Goregaokar <manishsmail@gmail.com>
16652
16653 * lib/rust-support.exp: New file.
16654 * lib/gdb.exp (skip_rust_tests): New proc.
16655 (build_executable_from_specs): Handle rust.
16656 * lib/future.exp (gdb_find_rustc): New proc.
16657 (gdb_default_target_compile): Handle rust.
16658 * gdb.rust/expr.exp: New file.
16659 * gdb.rust/generics.exp: New file.
16660 * gdb.rust/generics.rs: New file.
16661 * gdb.rust/methods.exp: New file.
16662 * gdb.rust/methods.rs: New file.
16663 * gdb.rust/modules.exp: New file.
16664 * gdb.rust/modules.rs: New file.
16665 * gdb.rust/simple.exp: New file.
16666 * gdb.rust/simple.rs: New file.
16667
c44af4eb
TT
166682016-05-17 Tom Tromey <tom@tromey.com>
16669
16670 * gdb.base/default.exp (set language): Add rust.
16671
dcd1f979
TT
166722016-05-17 Tom Tromey <tom@tromey.com>
16673
16674 * gdb.gdb/unittest.exp: New file.
16675
155b7f57
YQ
166762016-05-16 Yao Qi <yao.qi@linaro.org>
16677
16678 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16679 shell_prompt. Update shell_prompt_re.
16680
8ddd5a6c
DE
166812016-05-12 Doug Evans <dje@google.com>
16682
16683 PR symtab/19999
16684 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16685 $options when building executable.
16686 * gdb.dwarf2/fission-loclists-pie.S: New file.
16687 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16688
02e370d9
SM
166892016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16690
16691 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16692 of [is_remote target],
16693
8929ad8b
SM
166942016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16695
16696 * lib/gdb.exp (use_gdb_stub): New procedure.
16697
6c447423
DE
166982016-05-03 Yunlian Jiang <yunlian@google.com>
16699 Doug Evans <dje@google.com>
16700
16701 PR symtab/19914
16702 * gdb.dwarf2/dwp-sepdebug.c: New file.
16703 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16704
444e826c
SM
167052016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16706
16707 * gdb.base/detach.exp: Remove is_remote check.
16708
740feeaa
SM
167092016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16710
16711 * gdb.base/annota-input-while-running.exp: Don't check for
16712 [is_remote target]. Enable annotations after running to main.
16713 Remove unused "set test..." line.
16714
9080ac9d
SM
167152016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16716
16717 * gdb.trace/trace-enable-disable.exp: New file.
16718 * gdb.trace/trace-enable-disable.c: New file.
16719
952ebca5
SM
167202016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16721
16722 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16723 use it in info sharedlibrary test.
16724 * gdb.trace/ftrace-lock.exp: Likewise.
16725 * gdb.trace/ftrace.exp: Likewise.
16726 * gdb.trace/range-stepping.exp: Likewise.
16727 * gdb.trace/trace-break.exp: Likewise.
16728 * gdb.trace/trace-condition.exp: Likewise.
16729 * gdb.trace/trace-mt.exp: Likewise.
16730
d9019901
SM
167312016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16732
16733 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16734 (gdb_load_shlib): ... this.
16735 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16736 gdb_load_shlib.
16737 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16738 * gdb.base/ctxobj.exp: Likewise.
16739 * gdb.base/dprintf-pending.exp: Likewise.
16740 * gdb.base/dso2dso.exp: Likewise.
16741 * gdb.base/fixsection.exp: Likewise.
16742 * gdb.base/gcore-relro.exp: Likewise.
16743 * gdb.base/gdb1555.exp: Likewise.
16744 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16745 * gdb.base/gnu-ifunc.exp: Likewise.
16746 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16747 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16748 * gdb.base/pending.exp: Likewise.
16749 * gdb.base/print-file-var.exp: Likewise.
16750 * gdb.base/print-symbol-loading.exp: Likewise.
16751 * gdb.base/shlib-call.exp: Likewise.
16752 * gdb.base/shreloc.exp: Likewise.
16753 * gdb.base/so-impl-ld.exp: Likewise.
16754 * gdb.base/solib-disc.exp: Likewise.
16755 * gdb.base/solib-nodir.exp: Likewise.
16756 * gdb.base/solib-overlap.exp: Likewise.
16757 * gdb.base/solib-symbol.exp: Likewise.
16758 * gdb.base/solib-weak.exp (do_test): Likewise.
16759 * gdb.base/sym-file.exp: Likewise.
16760 * gdb.base/symtab-search-order.exp: Likewise.
16761 * gdb.base/type-opaque.exp: Likewise.
16762 * gdb.base/unload.exp: Likewise.
16763 * gdb.base/watchpoint-solib.exp: Likewise.
16764 * gdb.compile/compile.exp: Likewise.
16765 * gdb.cp/gdb2384.exp: Likewise.
16766 * gdb.cp/infcall-dlopen.exp: Likewise.
16767 * gdb.cp/re-set-overloaded.exp: Likewise.
16768 * gdb.fortran/library-module.exp: Likewise.
16769 * gdb.opt/solib-intra-step.exp: Likewise.
16770 * gdb.python/py-finish-breakpoint.exp: Likewise.
16771 * gdb.python/py-shared.exp: Likewise.
16772 * gdb.reverse/solib-precsave.exp: Likewise.
16773 * gdb.reverse/solib-reverse.exp: Likewise.
16774 * gdb.server/solib-list.exp: Likewise.
16775 * gdb.threads/dlopen-libpthread.exp: Likewise.
16776 * gdb.threads/tls-shared.exp: Likewise.
16777 * gdb.threads/tls-so_extern.exp: Likewise.
16778 * gdb.trace/change-loc.exp: Likewise.
16779 * gdb.trace/ftrace-lock.exp: Likewise.
16780 * gdb.trace/ftrace.exp: Likewise.
16781 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16782 * gdb.trace/pending.exp: Likewise.
16783 * gdb.trace/range-stepping.exp: Likewise.
16784 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16785 (strace_info_marker): Likewise.
16786 (strace_probe_marker): Likewise.
16787 (strace_trace_on_same_addr): Likewise.
16788 (strace_trace_on_diff_addr): Likewise.
16789 * gdb.trace/trace-break.exp: Likewise.
16790 * gdb.trace/trace-condition.exp: Likewise.
16791 * gdb.trace/trace-mt.exp: Likewise.
16792
fca4cfd9
SM
167932016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16794
16795 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16796 result of gdb_remote_download.
16797 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16798 * gdb.base/dso2dso.exp: Likewise.
16799 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16800 * gdb.base/print-file-var.exp: Likewise.
16801 * gdb.base/shlib-call.exp: Likewise.
16802 * gdb.base/shreloc.exp: Likewise.
16803 * gdb.base/solib-overlap.exp: Likewise.
16804 * gdb.base/solib-weak.exp (do_test): Likewise.
16805 * gdb.base/unload.exp: Likewise.
16806
11cf4ffb
YQ
168072016-04-27 Yao Qi <yao.qi@linaro.org>
16808
16809 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16810 exists.
16811
3e2e34f8
KB
168122016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16813
16814 * vla-type.exp: Print structure from toplevel.
16815
8f07e298
BH
168162016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16817
16818 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16819 of dynamic types.
16820 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16821 of dynamic types.
16822
9920b434
BH
168232016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16824
16825 * gdb.fortran/vla-type.f90: New file.
16826 * gdb.fortran/vla-type.exp: New file.
16827
f3abeff5
YQ
168282016-04-25 Yao Qi <yao.qi@linaro.org>
16829
16830 * gdb.base/branch-to-self.c: New file.
16831 * gdb.base/branch-to-self.exp: New file.
16832
0a5d52f0
YQ
168332016-04-22 Yao Qi <yao.qi@linaro.org>
16834
16835 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16836 more after $hex.
16837
495346f6
YQ
168382016-04-22 Yao Qi <yao.qi@linaro.org>
16839
16840 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16841 * gdb.base/annota3.exp: Likewise.
16842
4a7e075c
YQ
168432016-04-22 Yao Qi <yao.qi@linaro.org>
16844
16845 * gdb.reverse/step-precsave.exp: Do one step and test program
16846 stops in "callee" and do multiple steps until program goes out
16847 of "callee".
16848 * gdb.reverse/step-reverse.exp: Likewise.
16849
5b061e98
YQ
168502016-04-22 Yao Qi <yao.qi@linaro.org>
16851
16852 * gdb.trace/signal.exp: Also pass if
16853 $tracepoint_hits($i) > $iterations.
16854
5c5dc57f
YQ
168552016-04-22 Yao Qi <yao.qi@linaro.org>
16856
16857 * gdb.trace/signal.c: New file.
16858 * gdb.trace/signal.exp: New file.
16859
a55411b9
DE
168602016-04-19 Doug Evans <xdje42@gmail.com>
16861
16862 * gdb.base/bad-file.exp: New file.
16863
a22df60a
MG
168642016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16865
16866 * gdb.dwarf2/implref.exp: New file.
16867
0c13f7e5
BH
168682016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16869
16870 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16871 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16872 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16873 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16874 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16875 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16876 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16877 * lib/fortran.exp (fortran_int4): New procedure.
16878 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16879 (fortran_logical4): Likewise.
16880
9b9b09e9
BH
168812016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16882
16883 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16884
a14d1f4d
BH
168852016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16886
16887 * lib/compiler.c: Add Intel specific preprocessor macros.
16888 * lib/compiler.cc: Likewise.
25d49b86 16889
7d49b1d0
LM
168902016-04-13 Luis Machado <lgustavo@codesourcery.com>
16891
16892 * gdb.server/connect-with-no-symbol-file.c: New file.
16893 * gdb.server/connect-with-no-symbol-file.exp: New file.
16894
8392fa22
SM
168952016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16896
16897 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16898
8c4c4aeb
SM
168992016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16900
16901 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16902 standard output directory.
16903
45e3745e
AT
169042016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16905
16906 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16907
e26b7e41
MM
169082016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16909
16910 * gdb.btrace/instruction_history.c (loop): Add declaration.
16911
8ce09462
AT
169122016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16913
16914 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16915
2e88a1ea
SM
169162016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16917
16918 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16919 parentheses to print.
16920 (continue_handler): Likewise.
16921
f48e22e3
SM
169222016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16923
16924 * gdb.server/solib-list.exp: Remove is_remote check.
16925 Pass shlib= to gdb_compile. Don't link shared library with
16926 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16927 Run binary filename through "readlink -f" on the target.
16928
096be756
PA
169292016-04-08 Pedro Alves <palves@redhat.com>
16930
16931 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16932 interpreter filename as argument to gdbserver_spawn.
16933 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16934 Return empty if $last_loaded_file does not exist.
16935
06500533
JK
169362016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16937
16938 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16939 * gdb.base/jit-main.c: Use exit after usage.
16940
2d35e871
JK
169412016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16942
16943 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16944 GDBHISTSIZE prior to the tests.
16945 * gdb.base/gdbinit-history.exp: Likewise.
16946
169472016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16948
16949 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16950 instead of build_executable. Use gdb_load_shlibs.
16951
c8064e7e
YQ
169522016-04-07 Yao Qi <yao.qi@linaro.org>
16953
16954 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16955 Execute "si" command.
16956
bde47561
YQ
169572016-04-07 Yao Qi <yao.qi@linaro.org>
16958
16959 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16960 number instead of the comments on some line.
16961
b16f8a3b
DB
169622016-04-06 Don Breazeal <donb@codesourcery.com>
16963
16964 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16965 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16966
c2f901df
SM
169672016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16968
16969 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16970 standard_output_file. Remove unused binfile variable.
16971
ac17fda0
CU
169722016-04-05 Catalin Udma <catalin.udma@freescale.com>
16973
16974 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16975 * gdb.python/py-mi-objfile.exp: Match "list main" output
16976 in console format.
16977
03a8c4df
SM
169782016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16979
16980 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16981 absolute.
16982
6e774b13
SM
169832016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16984
16985 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16986 absolute.
16987 * gdb.trace/ftrace.exp: Likewise.
16988 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16989 targets as well.
16990 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16991 (gdb_load_shlibs): Copy libraries to test directory when testing
16992 natively. Only set solib-search-path if testing remotely.
16993 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16994
7817ea46
SM
169952016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16996
16997 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16998 gdb_download. Use it even if the target is not remote.
16999 * gdb.base/jit.exp (compile_jit_test): Likewise.
17000 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
17001 output directory if the destination board is local, otherwise use
17002 the standard remote_download from DejaGnu.
17003 (gdb_download): Remove.
17004 (gdb_load_shlibs): Use gdb_remote_download instead of
17005 gdb_download.
17006 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
17007 Use gdb_remote_download instead of gdb_download. Use it even if
17008 the target is not remote.
17009 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
17010 instead of gdb_download.
17011
7beb7f68
SM
170122016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
17013
17014 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
17015 (test_insert_delete_modify): Call mi_load_shlibs before trying to
17016 run.
17017
cc63428a
AV
170182016-04-01 Artemiy Volkov <artemiyv@acm.org>
17019
17020 PR gdb/19820
17021 * gdb.base/printcmds.exp: Add artificial arrays tests.
17022
64cdf930
PA
170232016-03-31 Pedro Alves <palves@redhat.com>
17024
17025 PR gdb/19858
17026 * gdb.base/jit-main.c: Include unistd.h.
17027 (ATTACH): Define to 0 if not already defined.
17028 (wait_for_gdb, mypid): New globals.
17029 (WAIT_FOR_GDB): New macro.
17030 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
17031 some breakpoint locations.
17032 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
17033 New procedures.
17034 (one_jit_test): Add REATTACH parameter, and handle it. Use
17035 continue_to_test_location.
17036 (top level): Test attach, and adjusts calls to one_jit_test.
17037
40dea8cb
PA
170382016-03-31 Pedro Alves <palves@redhat.com>
17039
17040 PR gdb/19858
17041 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
17042 BINSUFFIX parameter, and handle it.
17043 (top level): Adjust calls compile_jit_test.
17044
e7ea3ec7
CU
170452016-03-31 Catalin Udma <catalin.udma@freescale.com>
17046
17047 PR python/19743
17048 * gdb.python/py-mi-events-gdb.py: New file.
17049 * gdb.python/py-mi-events.c: New file.
17050 * gdb.python/py-mi-events.exp: New file.
17051
e6359af3
YQ
170522016-03-30 Yao Qi <yao.qi@linaro.org>
17053
17054 * gdb.reverse/until-precsave.exp: Match function name only.
17055 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
17056 Move malloc to a condition block.
17057 * gdb.reverse/until-reverse.exp: Match function name only.
17058
a4105d04
MK
170592016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
17060
17061 * gdb.trace/ftrace.exp: Set arg0exp for s390.
17062 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
17063 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
17064 variable for GPR 0 instead of assuming it is register 0.
17065 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
17066 * lib/trace-support.exp: Add s390 registers.
17067
bfa6adb9
YQ
170682016-03-29 Yao Qi <yao.qi@linaro.org>
17069
17070 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
17071
1e6697ea
YQ
170722016-03-24 Yao Qi <yao.qi@linaro.org>
17073
17074 * gdb.reverse/break-reverse.exp: Add quotation mark in the
17075 test message.
17076
64bcd522
AA
170772016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17078
17079 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
17080 maintaining separate logic for constructing the output path.
17081
7868401b
DB
170822016-03-16 Don Breazeal <donb@codesourcery.com>
17083
17084 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
17085 Retry fork and waitpid on interrupted system call errors.
17086 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17087 Use with_timeout_factor to increase timeout by factor of 10.
17088
1cafadb4
DB
170892016-03-15 Don Breazeal <donb@codesourcery.com>
17090
17091 * gdb.cp/scope-err.cc: New test program.
17092 * gdb.cp/scope-err.exp: New test script.
17093 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
17094 lines and "set breakpoint here" comment.
17095 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
17096 Fixed some whitespace and format issues.
17097 * gdb.mi/mi-linespec-err-cp.cc: New test program.
17098 * gdb.mi/mi-linespec-err-cp.exp: New test script.
17099
81516450
DE
171002016-03-15 Doug Evans <dje@google.com>
17101
17102 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
17103 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
17104 All callers updated. Add tests for enums, mixed flags register.
17105
aa52b601
DE
171062016-03-15 Doug Evans <dje@google.com>
17107
17108 * gdb.base/skip.c (main): Call test_skip_file_and_function.
17109 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
17110
fa4ff313
SM
171112016-03-14 Simon Marchi <simon.marchi@ericsson.com>
17112
17113 * gdb.base/default.exp: Add $_as_string to the list of expected
17114 convenience functions.
17115
f2403c39
AB
171162016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
17117
17118 * gdb.base/maint.exp: New tests for 'maint info line-table'.
17119
f2f3ccb9
SM
171202016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
17121
17122 * gdb.python/py-as-string.exp: New file.
17123 * gdb.python/py-as-string.c: New file.
17124
00dbd492
PA
171252016-03-09 Pedro Alves <palves@redhat.com>
17126
17127 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
17128 signal" -> "Thread NN received signal" output change.
17129 * gdb.threads/ia64-sigill.exp: Likewise.
17130 * gdb.threads/linux-dp.exp: Likewise.
17131 * gdb.threads/manythreads.exp: Likewise.
17132 * gdb.threads/pending-step.exp: Likewise.
17133 * gdb.threads/print-threads.exp: Likewise.
17134 * gdb.threads/sigstep-threads.exp: Likewise.
17135 * gdb.threads/staticthreads.exp: Likewise.
17136 * gdb.threads/tls.exp: Likewise.
17137
1e6697ea
YQ
171382016-03-09 Pedro Alves <palves@redhat.com>
17139
17140 * gdb.base/command-line-input.exp: New file.
17141
b04fd3be
MK
171422016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17143
17144 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
17145 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
17146 * gdb.trace/pending.exp: Accept leading dot before function name.
17147 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
17148 * lib/trace-support.exp: Set registers for ppc.
17149
98fa59e9
MK
171502016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17151
17152 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
17153 use it for disassembly; accept .main in addition to main in backtrace.
17154
f77198c8
MK
171552016-03-09 Wei-cheng Wang <cole945@gmail.com>
17156 Marcin Kościelnicki <koriakin@0x04.net>
17157
17158 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
17159 (gdb_recursion_test_ptr): New global variable.
17160 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
17161 gdb_recursion_test.
17162 (gdb_c_test): Ditto.
17163
ba84e0da
MK
171642016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17165
17166 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
17167 ordering.
17168
4366d36e
MK
171692016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17170
17171 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
17172 (bar): Add bar_start_lbl label.
17173 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
17174 of foo/bar for emitting DWARF and tracing.
17175
5eb264df
SDJ
171762016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
17177
17178 * analyze-racy-logs.py: Set executable bit.
17179
fb6a751f
SDJ
171802016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
17181
17182 * Makefile.in (DEFAULT_RACY_ITER): New variable.
17183 (CHECK_TARGET_TMP): Likewise.
17184 (check-single-racy): New rule.
17185 (check-parallel-racy): Likewise.
17186 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
17187 (do-check-parallel-racy): New rule.
17188 (check-racy/%.exp): Likewise.
17189 * README (Racy testcases): New section.
17190 * analyze-racy-logs.py: New file.
17191
bdf7e230
DE
171922016-03-03 Doug Evans <dje@google.com>
17193
17194 * gdb.base/skip.exp: Use with_test_prefix.
17195
4719d415
YQ
171962016-03-03 Yao Qi <yao.qi@linaro.org>
17197
17198 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
17199 Invoke step_over_syscall "clone" and break_cond_on_syscall
17200 "clone".
17201 * gdb.base/step-over-clone.c: New file.
17202
ea507862
YQ
172032016-03-03 Yao Qi <yao.qi@linaro.org>
17204
17205 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
17206 code format.
17207
8fc8cbda
YQ
172082016-03-03 Yao Qi <yao.qi@linaro.org>
17209
17210 * gdb.base/disp-step-fork.c: Rename to ...
17211 * gdb.base/step-over-fork.c: ... it. New file.
17212 * gdb.base/disp-step-vfork.c: Rename to ...
17213 * gdb.base/step-over-vfork.c: ... it. New file.
17214 * gdb.base/disp-step-syscall.exp: Rename to ...
17215 * gdb.base/step-over-syscall.exp: ... it. New file.
17216 (disp_step_cross_syscall): Rename to ...
17217 (step_over_syscall): ... it.
17218
92fa70b0
YQ
172192016-03-03 Yao Qi <yao.qi@linaro.org>
17220
17221 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
17222 If target supports condition evaluation on target, invoke
17223 break_cond_on_syscall for fork and vfork.
17224
e197ad3c
YQ
172252016-03-03 Yao Qi <yao.qi@linaro.org>
17226
17227 * gdb.base/disp-step-syscall.exp: Don't invoke
17228 support_displaced_stepping.
17229 (disp_step_cross_syscall): Test with displaced stepping off and
17230 on if supported.
17231
0b47da9f
YQ
172322016-03-03 Yao Qi <yao.qi@linaro.org>
17233
17234 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
17235 proc.
17236 (setup): New proc.
17237 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
17238 and setup.
17239
065ab6dc
BH
172402016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17241
17242 * gdb.fortran/vla-history.exp: Remove breakpoint.
17243
07e448ad 172442016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17245
25d49b86
PA
17246 * gdb.fortran/vla-history.exp: Lookup array elements and printing
17247 exceeds timeout.
07e448ad 17248
9ac2d526 172492016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17250
25d49b86
PA
17251 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
17252 breakpoint.
9ac2d526 17253
17807369
BH
172542016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17255
17256 * gdb.mi/vla.f90: Nullify pointer after declaration.
17257
86e501af
PA
172582016-03-01 Pedro Alves <palves@redhat.com>
17259
17260 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
17261
1e903e32
PA
172622016-03-01 Pedro Alves <palves@redhat.com>
17263
17264 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
17265 before anything else.
17266 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
17267 _GNU_SOURCE here.
17268 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
17269 before anything else.
17270 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
17271
6ccb54e2
PA
172722016-03-01 Pedro Alves <palves@redhat.com>
17273
17274 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
17275
30ca9da1
YQ
172762016-03-01 Yao Qi <yao.qi@linaro.org>
17277
17278 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
17279 prepare_for_testing.
17280
dc856b38
YQ
172812016-03-01 Yao Qi <yao.qi@linaro.org>
17282
17283 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
17284
4a932159
AA
172852016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
17286
17287 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
17288 manually constructing the output path.
17289
f2489477
AA
172902016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
17291
17292 * gdb.arch/s390-stackless.S: New.
17293 * gdb.arch/s390-stackless.exp: New.
17294
38899f16
IB
172952016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
17296
17297 * gdb.dlang/circular.c: New file.
17298 * gdb.dlang/circular.exp: New file.
17299
9fde51ed
YQ
173002016-02-26 Yao Qi <yao.qi@linaro.org>
17301
17302 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
17303 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
17304 (testcases): Update.
17305
ce90fefe
YQ
173062016-02-26 Yao Qi <yao.qi@linaro.org>
17307
17308 * gdb.reverse/aarch64.c: Rename to ...
17309 * gdb.reverse/insn-reverse.c: ... it.
17310 * gdb.reverse/aarch64.exp: Rename to ...
17311 * gdb.reverse/insn-reverse.exp: ... it.
17312
3263bceb
YQ
173132016-02-26 Yao Qi <yao.qi@linaro.org>
17314
17315 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
17316 (testcase_ftype): New.
17317 (testcases): New array.
17318 (n_testcases): New.
17319 (main): Call each element in testcases.
17320 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
17321 (read_testcase): New.
17322 Do the tests in a loop.
17323
6cb59ff1
YQ
173242016-02-25 Yao Qi <yao.qi@linaro.org>
17325
17326 * gdb.base/branches.c: Remove.
17327
ae91f625
MK
173282016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
17329
17330 PR gdb/13808
17331 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
17332
678b48b7
MK
173332016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
17334
17335 * gdb.trace/ftrace.exp: Remove unnecessary target check.
17336
7337a6f2
MK
173372016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
17338
17339 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
17340 change x86_64 call_insn to 'callq'.
17341
861ca91f
AT
173422016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17343
17344 * gdb.trace/tfile-avx.c: Move to...
17345 * gdb.trace/tracefile-pseudo-reg.c: Here.
17346 * gdb.trace/tfile-avx.exp: Move to...
17347 * gdb.trace/tracefile-pseudo-reg.exp: Here.
17348
bf74e428
GB
173492016-02-24 Gary Benson <gbenson@redhat.com>
17350
17351 * gdb.base/attach-pie-noexec.exp: Do not expect an error
17352 message on attach.
17353
cce0e923
DE
173542016-02-23 Doug Evans <dje@google.com>
17355
17356 * gdb.base/skip.c (test_skip): New function.
17357 (end_test_skip_file_and_function): New function.
17358 (test_skip_file_and_function): New function.
17359 * gdb.base/skip1.c (test_skip): New function.
17360 (skip1_test_skip_file_and_function): New function.
17361 * gdb.base/skip.exp: Add tests for new skip options.
17362 * gdb.base/skip-solib.exp: Update expected output.
17363 * gdb.perf/skip-command.cc: New file.
17364 * gdb.perf/skip-command.exp: New file.
17365 * gdb.perf/skip-command.py: New file.
17366
4000e47e
MK
173672016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
17368
17369 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
17370 info registers pattern.
17371
24f75ead
IB
173722016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
17373
17374 * lib/future.exp: Add D support.
17375 (gdb_find_gdc): New proc.
17376 (gdb_default_target_compile): Add D support.
17377
fbb7bcbe
WW
173782016-02-18 Wei-cheng Wang <cole945@gmail.com>
17379
17380 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
17381 user+system time.
17382 (trace_speed_test): Determine the iteration count for a time
17383 between 15..30 seconds.
17384
012b3a21
WT
173852016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
17386
17387 * gdb.arch/i386-mpx-sigsegv.c: New file.
17388 * gdb.arch/i386-mpx-sigsegv.exp: New file.
17389 * gdb.arch/i386-mpx-simple_segv.c: New file.
17390 * gdb.arch/i386-mpx-simple_segv.exp: New file.
17391
2d5189bd
YQ
173922016-02-18 Yao Qi <yao.qi@linaro.org>
17393
17394 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17395 Don't call setup_kfail.
17396
40fb20d0
YQ
173972016-02-18 Yao Qi <yao.qi@linaro.org>
17398
17399 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17400 Set "set breakpoint condition-evaluation" per $cond_bp_target.
17401
21b1f8d2
DE
174022016-02-16 Doug Evans <dje@google.com>
17403
17404 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
17405 * gdb.base/skip1.c: Ditto.
17406 * gdb.base/skip.exp: Whitespace cleanup.
17407
4041ed77
DB
174082016-02-16 Don Breazeal <donb@codesourcery.com>
17409
17410 PR remote/19496
17411 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17412 Remove kfail for PR remote/19496.
17413
c4ef31bf
SM
174142016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17415
17416 * lib/gdb.exp (standard_temp_file): Return a path specific to
17417 the runtest invocation.
17418
266b65b3
SM
174192016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17420
17421 * gdb.trace/save-trace.exp: Change relative path to be in the
17422 standard output directory.
17423
a7a0a6a9
JK
174242016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17425
17426 * gdb.arch/i386-prologue.c: Add missing prototypes.
17427
c99dbb42
JK
174282016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17429
17430 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
17431 * gdb.arch/i386-prologue.exp: Likewise.
17432 * gdb.arch/i386-size.exp: Likewise.
17433
aa480355
SM
174342016-02-15 Simon Marchi <simon.marchi@ericsson.com>
17435
17436 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
17437 define object file path.
17438 * gdb.btrace/gcore.exp: Use standard_output_file to define core
17439 file path.
17440 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
17441 standard_output_file to define binfile.
17442
ba881f50
JK
174432016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17444
17445 Fix compatibility with recent gfortran-5.3.1.
17446 * gdb.fortran/vla-history.exp (print vla1 allocated)
17447 (print vla2 allocated, print $2, print $3): Remove
17448 (print $4): Rename to ...
17449 (print $2): ... here.
17450 (print $9): Rename to ...
17451 (print $5): ... here.
17452 (print $10): Rename to ...
17453 (print $6): ... here.
17454 * gdb.fortran/vla.f90: Add pvla initialization.
17455
e9fb005c
JK
174562016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17457
17458 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
17459 New test.
17460 * gdb.fortran/vla-value-sub.exp: Likewise.
17461
e44e00ff
MK
174622016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
17463
17464 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
17465
97e94151
SM
174662016-02-12 Simon Marchi <simon.marchi@ericsson.com>
17467
17468 * i386-biarch-core.exp: Define corefile using
17469 standard_output_file.
17470
01113bc1
YQ
174712016-02-12 Yao Qi <yao.qi@linaro.org>
17472
17473 * gdb.arch/arm-single-step-kernel-helper.c: New.
17474 * gdb.arch/arm-single-step-kernel-helper.exp: New.
17475
33b4777c
MM
174762016-02-12 Markus Metzger <markus.t.metzger@intel.com>
17477
17478 * gdb.btrace/tailcall-only.exp: New.
17479 * gdb.btrace/tailcall-only.c: New.
17480 * gdb.btrace/x86_64-tailcall-only.S: New.
17481 * gdb.btrace/i686-tailcall-only.S: New.
17482
acc23c11
PA
174832016-02-11 Pedro Alves <palves@redhat.com>
17484
17485 * README (Parallel testing): Add missing double quotes.
17486
e352bf0a
PA
174872016-02-11 Pedro Alves <palves@redhat.com>
17488
17489 * README (Parallel testing): New section.
17490 (GDB_PARALLEL): Rewrite.
17491 (FORCE_PARALLEL): Document.
17492
9f5fed78
MK
174932016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
17494
17495 * gdb.trace/tfile-avx.c: New test.
17496 * gdb.trace/tfile-avx.exp: New test.
17497
9ef9e6a6
KS
174982016-02-09 Keith Seitz <keiths@redhat.com>
17499
17500 PR breakpoints/19546
17501 * gdb.base/infcall-exec.c: New file.
17502 * gdb.base/infcall-exec2.c: New file.
17503 * gdb.base/infcall-exec.exp: New file.
17504
a96e36da
KS
175052016-02-09 Keith Seitz <keiths@redhat.com>
17506
17507 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
17508 (toplevel): Call test_bkpt_address.
17509
9f61929f
KS
175102016-02-09 Keith Seitz <keiths@redhat.com>
17511
17512 PR python/19506
17513 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
17514 (toplevel): Call test_bkpt_address.
17515
1e94266c
SM
175162016-02-09 Simon Marchi <simon.marchi@ericsson.com>
17517
17518 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
17519 to AC_OUTPUT.
17520 * configure: Regenerate.
17521
2a7f3dff
PA
175222016-02-09 Pedro Alves <palves@redhat.com>
17523
17524 PR breakpoints/19548
17525 * gdb.base/execl-update-breakpoints.c (some_function): New
17526 function.
17527 (main): Call it.
17528 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
17529 Tighten expected GDB output.
17530
2151ccc5
SM
175312016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17532
17533 * Makefile.in (ALL_SUBDIRS): Remove.
17534 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
17535 (distclean maintainer-clean realclean): Likewise.
17536 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
17537 * configure: Regenerate.
17538 * gdb.ada/Makefile.in: Delete.
17539 * gdb.arch/Makefile.in: Likewise.
17540 * gdb.asm/Makefile.in: Likewise.
17541 * gdb.base/Makefile.in: Likewise.
17542 * gdb.btrace/Makefile.in: Likewise.
17543 * gdb.cell/Makefile.in: Likewise.
17544 * gdb.compile/Makefile.in: Likewise.
17545 * gdb.cp/Makefile.in: Likewise.
17546 * gdb.disasm/Makefile.in: Likewise.
17547 * gdb.dlang/Makefile.in: Likewise.
17548 * gdb.dwarf2/Makefile.in: Likewise.
17549 * gdb.fortran/Makefile.in: Likewise.
17550 * gdb.gdb/Makefile.in: Likewise.
17551 * gdb.go/Makefile.in: Likewise.
17552 * gdb.guile/Makefile.in: Likewise.
17553 * gdb.java/Makefile.in: Likewise.
17554 * gdb.linespec/Makefile.in: Likewise.
17555 * gdb.mi/Makefile.in: Likewise.
17556 * gdb.modula2/Makefile.in: Likewise.
17557 * gdb.multi/Makefile.in: Likewise.
17558 * gdb.objc/Makefile.in: Likewise.
17559 * gdb.opencl/Makefile.in: Likewise.
17560 * gdb.opt/Makefile.in: Likewise.
17561 * gdb.pascal/Makefile.in: Likewise.
17562 * gdb.perf/Makefile.in: Likewise.
17563 * gdb.python/Makefile.in: Likewise.
17564 * gdb.reverse/Makefile.in: Likewise.
17565 * gdb.server/Makefile.in: Likewise.
17566 * gdb.stabs/Makefile.in: Likewise.
17567 * gdb.threads/Makefile.in: Likewise.
17568 * gdb.trace/Makefile.in: Likewise.
17569 * gdb.xml/Makefile.in: Likewise.
17570 * lib/gdb.exp (make_gdb_parallel_path): Add check for
17571 GDB_PARALLEL.
17572 (standard_output_file): Remove check for GDB_PARALLEL, always
17573 return path in outputs/$subdir/$testname.
17574
437277d4
SM
175752016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17576
17577 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
17578 (site.exp): Assign abs_srcdir to tcl's srcdir.
17579
31d913c7
YQ
175802016-02-04 Yao Qi <yao.qi@linaro.org>
17581
17582 * gdb.base/foll-exec-mode.c: Include limits.h.
17583 (main): Add parameters argc and argv. Get directory from
17584 argv[0].
17585 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17586 compilation.
17587 * gdb.base/foll-exec.c: Include limits.h.
17588 (main): Add parameters argc and argv.
17589 Get directory from argv[0].
17590 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17591 Adjust tests on the number of lines as source code changed.
17592 * gdb.base/foll-vfork-exit.c: Include limits.h.
17593 (main): Add one line of statement before vfork.
17594 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17595 (main): Add parameters argc and argv. Get directory from
17596 argv[0].
17597 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17598 (setup_gdb): Set tbreak to skip some source lines.
17599 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17600 (main): Add parameters argc and argv. Get directory from
17601 argv[0].
17602 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17603 compilation.
17604 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17605 (main): Add parameters argc and argv. Get directory from
17606 argv[0].
17607 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17608 compilation.
17609
9482b9fb
DE
176102016-02-01 Doug Evans <dje@google.com>
17611
17612 * gdb.base/skip.exp: Clean up multiple references to same test name.
17613
6b2e4f10
PA
176142016-02-01 Pedro Alves <palves@redhat.com>
17615
ccb6afd6 17616 PR remote/19496
6b2e4f10
PA
17617 * gdb.threads/forking-threads-plus-breakpoint.exp
17618 (displaced_stepping_supported): New global.
17619 (probe_displaced_stepping_support): New procedure.
17620 (do_test): Add 'displaced' parameter, and use it.
17621 (top level): Check for displaced stepping support. Add displaced
17622 stepping on/off testing axis.
17623
37a8db1a
AB
176242016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17625
17626 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17627 pointer. Don't perform further tests on the unassociated pointer
17628 if the first test fails.
17629
5fdf6324
AB
176302016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17631
17632 * gdb.base/max-value-size.c: New file.
17633 * gdb.base/max-value-size.exp: New file.
17634 * gdb.base/huge.exp: Disable max-value-size for this test.
17635
935c6144
IB
176362016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17637
17638 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17639
7fe8399d
YQ
176402016-01-28 Yao Qi <yao.qi@linaro.org>
17641
17642 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17643
a2077e25
PA
176442016-01-25 Pedro Alves <palves@redhat.com>
17645
17646 PR threads/19461
17647 * gdb.base/fork-running-state.c: New file.
17648 * gdb.base/fork-running-state.exp: New file.
17649
1d2736d4
PA
176502016-01-25 Pedro Alves <palves@redhat.com>
17651
17652 PR gdb/19494
17653 * gdb.base/catch-fork-kill.c: New file.
17654 * gdb.base/catch-fork-kill.exp: New file.
17655
f1da4b11
PA
176562016-01-25 Pedro Alves <palves@redhat.com>
17657
17658 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17659 Delete, moved to lib/gdb.exp.
17660 * gdb.threads/forking-threads-plus-breakpoint.exp
17661 (foreach_with_prefix): Likewise.
17662 * gdb.threads/process-dies-while-handling-bp.exp
17663 (foreach_with_prefix): Likewise.
17664 * lib/gdb.exp (foreach_with_prefix): New procedure.
17665
45f38546
MK
176662016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17667
17668 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17669 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17670
dc29a1ce
MK
176712016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17672
17673 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17674 endian targets.
17675
092127d7
JK
176762016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17677 Pedro Alves <palves@redhat.com>
17678
17679 Fix testsuite compatibility with Guile.
17680 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17681 number.
17682
31d765d3
JK
176832016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17684
17685 Fix testsuite compatibility with Guile.
17686 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17687 (thread 1): New test for backtrace through signal handler.
17688
1ac78c04
YQ
176892016-01-22 Yao Qi <yao.qi@linaro.org>
17690
17691 PR testsuite/19491
17692 * gdb.base/multi-forks.c: Include
17693 ../lib/unbuffer_output.c
17694 (main): Call gdb_unbuffer_output.
17695
4f5946a8
DE
176962016-01-21 Doug Evans <dje@google.com>
17697
17698 * lib/ada.exp (gdb_compile_ada): Fix typo.
17699
305e13e6
JB
177002016-01-21 Joel Brobecker <brobecker@adacore.com>
17701
17702 * gdb.base/break-fun-addr.exp: New file.
17703 * gdb.base/break-fun-addr1.c: New file.
17704 * gdb.base/break-fun-addr2.c: New file.
17705
5f5dfff6
SM
177062016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17707
17708 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17709 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17710 enum flag values.
17711
fd356fa2
AA
177122016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17713
17714 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17715 when GDB can not set the vector return value. Add more comments
17716 for clarification.
17717
9df22175
AT
177182016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17719
17720 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17721 command.
17722
41d1845e
SM
177232016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17724
17725 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17726
01ac6840
SM
177272016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17728
17729 * Makefile.in (check-single): Pass --status to runtest.
17730 (check/%.exp): Likewise.
17731
177322016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17733
17734 * Makefile.in (check-parallel): Propagate return code from make
17735 do-check-parallel.
17736
bd0a71fa
MK
177372016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17738
17739 * gdb.trace/ftrace.exp: Fix expected message on continue.
17740 * gdb.trace/pending.exp: Fix expected message on continue.
17741 * gdb.trace/trace-break.exp: Fix expected message on continue.
17742
8bcbad33
SM
177432016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17744
17745 * lib/gdb.exp (gdb_test): Remove unused global references.
17746
f303dbd6
PA
177472016-01-18 Pedro Alves <palves@redhat.com>
17748
17749 * gdb.base/async-shell.exp: Adjust expected output.
17750 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17751 * gdb.base/siginfo-thread.exp: Adjust expected output.
17752 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17753 * gdb.java/jnpe.exp: Adjust expected output.
17754 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17755 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17756 * gdb.threads/leader-exit.exp: Adjust expected output.
17757 * gdb.threads/manythreads.exp: Adjust expected output.
17758 * gdb.threads/pthreads.exp: Adjust expected output.
17759 * gdb.threads/schedlock.exp: Adjust expected output.
17760 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17761 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17762 expected output.
17763 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17764 output.
17765 * gdb.threads/sigthread.exp: Adjust expected output.
17766 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17767
b2789696
YQ
177682016-01-18 Yao Qi <yao.qi@linaro.org>
17769
17770 * gdb.guile/scm-section-script.c: Replace @progbits with
17771 %progbits.
17772 * gdb.python/py-section-script.c: Likewise.
17773
71ef29a8
PA
177742016-01-15 Pedro Alves <palves@redhat.com>
17775
17776 * gdb.multi/tids.exp: Test star wildcard ranges.
17777
3f5b7598
PA
177782016-01-15 Pedro Alves <palves@redhat.com>
17779
17780 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17781 command from "thread apply" invocation.
17782 (thr_apply_info_thr_invalid): Default the expected output to the
17783 input tid list.
17784 (top level): Add tests that use convenience variables. Add tests
17785 for "thread apply" with a valid TID list, but missing the command.
17786
663f6d42
PA
177872016-01-13 Pedro Alves <palves@redhat.com>
17788
17789 * gdb.base/default.exp: Expect $_gthread as well.
17790 * gdb.multi/tids.exp: Test $_gthread.
17791 * gdb.threads/thread-specific.exp: Test $_gthread.
17792
c84f6bbf
PA
177932016-01-13 Pedro Alves <palves@redhat.com>
17794
17795 * gdb.multi/tids.exp: Test "info threads -gid".
17796
22a02324
PA
177972016-01-13 Pedro Alves <palves@redhat.com>
17798
17799 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17800 Breakpoint.thread.
17801 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17802
5d5658a1
PA
178032016-01-07 Pedro Alves <palves@redhat.com>
17804
17805 * gdb.base/break.exp: Adjust to output changes.
17806 * gdb.base/hbreak2.exp: Likewise.
17807 * gdb.base/sepdebug.exp: Likewise.
17808 * gdb.base/watch_thread_num.exp: Likewise.
17809 * gdb.linespec/keywords.exp: Likewise.
17810 * gdb.multi/info-threads.exp: Likewise.
17811 * gdb.threads/thread-find.exp: Likewise.
17812 * gdb.multi/tids.c: New file.
17813 * gdb.multi/tids.exp: New file.
17814
84654457
PA
178152016-01-13 Pedro Alves <palves@redhat.com>
17816
17817 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17818
e3940304
PA
178192016-01-13 Pedro Alves <palves@redhat.com>
17820
17821 * gdb.base/default.exp: Expect $_inferior as well.
17822 * gdb.multi/base.exp: Test $_inferior.
17823
a911d87a
PA
178242016-01-13 Pedro Alves <palves@redhat.com>
17825
17826 PR breakpoints/19388
17827 * gdb.base/catch-signal-siginfo-cond.c: New file.
17828 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17829
82075af2
JS
178302016-01-12 Josh Stone <jistone@redhat.com>
17831 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17832
17833 * gdb.base/catch-syscall.c (do_execve): New variable.
17834 (main): Conditionally trigger an execve.
17835 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17836 (test_catch_syscall_execve): New, check entry/return across execve.
17837 (do_syscall_tests): Call test_catch_syscall_execve.
17838
e46eeedd
PA
178392016-01-12 Pedro Alves <palves@redhat.com>
17840
17841 * gdb.base/random-signal.exp (do_test): New procedure, with body
17842 of testcase moved in.
17843
01d8c27e
JK
178442016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17845 Pedro Alves <palves@redhat.com>
17846
17847 * gdb.base/funcargs.exp (finish from indirectly called function):
17848 Reintroduce the case for 'First'.
17849
9a706302
JK
178502016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17851 Pedro Alves <palves@redhat.com>
17852
17853 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17854 (tcatch_vfork_then_child_follow_exec)
17855 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17856 identification.
17857
c0ecb95f
JK
178582016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17859
17860 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17861 and repeats to unlimited.
17862 * gdb.python/py-value.exp: Likewise.
17863 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17864 and repeats to unlimited.
17865
6cfc1fcb
JK
178662016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17867
17868 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17869 and reordering the functions.
17870 * gdb.multi/hangout.c: Likewise.
17871 * gdb.multi/hello.c: Likewise.
17872
582a1b00
SM
178732016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17874
17875 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17876 absolute.
17877 (SingleStatisticTestResult.report): Use dict.keys instead of
17878 dict.iterkeys.
17879
79bc59cb
PA
178802016-01-06 Pedro Alves <palves@redhat.com>
17881
17882 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17883
43368e1d
MM
178842016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17885
17886 * gdb.btrace/dlopen.exp: New.
17887 * gdb.btrace/dlopen.c: New.
17888 * gdb.btrace/dlopen-dso.c: New.
17889
79fad5b8
SL
178902015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17891
17892 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17893 PATTERN argument is optional.
17894
ab8314b3
JB
178952015-12-24 Joel Brobecker <brobecker@adacore.com>
17896
17897 * lib/ada.exp (target_compile_ada_from_dir): New function.
17898 (gdb_compile_ada): Reimplement avoiding the use of project files.
17899 * gdb.ada/gnat_ada.gpr: Delete.
17900 * gdb.ada/cond_lang.exp: Adjust test to make path before
17901 filename optional.
17902 * gdb.ada/small_reg_param.exp: Likewise.
17903
fe33faff
SM
179042015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17905
17906 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17907
6d265cb4
TP
179082015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17909
17910 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17911 case.
17912
10125099
SM
179132015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17914
17915 * gdb.base/break.exp: Remove dead code.
17916 * gdb.base/sepdebug.exp: Likewise.
17917
3ca22649
SM
179182015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17919
17920 * gdb.asm/asm-source.exp: Remove HP-UX references.
17921 * gdb.base/annota1.exp: Likewise.
17922 * gdb.base/annota3.exp: Likewise.
17923 * gdb.base/attach.exp: Likewise.
17924 * gdb.base/bigcore.exp: Likewise.
17925 * gdb.base/break.exp: Likewise.
17926 * gdb.base/call-ar-st.exp: Likewise.
17927 * gdb.base/callfuncs.exp: Likewise.
17928 * gdb.base/catch-fork-static.exp: Likewise.
17929 * gdb.base/display.exp: Likewise.
17930 * gdb.base/foll-exec-mode.exp: Likewise.
17931 * gdb.base/foll-exec.exp: Likewise.
17932 * gdb.base/foll-fork.exp: Likewise.
17933 * gdb.base/foll-vfork.exp: Likewise.
17934 * gdb.base/funcargs.exp: Likewise.
17935 * gdb.base/hbreak2.exp: Likewise.
17936 * gdb.base/inferior-died.exp: Likewise.
17937 * gdb.base/interrupt.exp: Likewise.
17938 * gdb.base/multi-forks.exp: Likewise.
17939 * gdb.base/nodebug.exp: Likewise.
17940 * gdb.base/sepdebug.exp: Likewise.
17941 * gdb.base/solib1.c: Likewise.
17942 * gdb.base/step-test.exp: Likewise.
17943 * gdb.mi/non-stop.c: Likewise.
17944 * gdb.mi/pthreads.c: Likewise.
17945 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17946 * gdb.threads/pthreads.c: Likewise.
17947 * gdb.threads/staticthreads.exp: Likewise.
17948 * lib/future.exp: Likewise.
17949 * lib/gdb.exp: Likewise.
17950 * gdb.base/so-indr-cl.c: Remove.
17951 * gdb.base/so-indr-cl.exp: Likewise.
17952 * gdb.base/solib.c: Likewise.
17953 * gdb.base/solib.exp: Likewise.
17954 * gdb.base/solib2.c: Likewise.
17955
b6304613
SM
179562015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17957
17958 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17959 * gdb.base/call-ar-st.exp: Likewise.
17960 * gdb.base/callfuncs.exp: Likewise.
17961 * gdb.base/condbreak.exp: Likewise.
17962 * gdb.base/constvars.exp: Likewise.
17963 * gdb.base/hbreak2.exp: Likewise.
17964 * gdb.base/langs.exp: Likewise.
17965 * gdb.base/list.exp: Likewise.
17966 * gdb.base/long_long.exp: Likewise.
17967 * gdb.base/ptype.exp: Likewise.
17968 * gdb.base/scope.exp: Likewise.
17969 * gdb.base/signals.exp: Likewise.
17970 * gdb.base/so-impl-ld.exp: Likewise.
17971 * gdb.base/varargs.exp: Likewise.
17972 * gdb.base/volatile.exp: Likewise.
17973 * gdb.base/whatis.exp: Likewise.
17974 * gdb.cp/cplusfuncs.exp: Likewise.
17975 * gdb.cp/inherit.exp: Likewise.
17976 * gdb.cp/local.exp: Likewise.
17977 * gdb.cp/member-ptr.exp: Likewise.
17978 * gdb.cp/method.exp: Likewise.
17979 * gdb.cp/overload.exp: Likewise.
17980 * gdb.cp/templates.exp: Likewise.
17981 * gdb.stabs/weird.exp: Likewise.
17982 * lib/compiler.c: Likewise.
17983 * lib/compiler.cc: Likewise.
17984 * lib/cp-support.exp: Likewise.
17985 * lib/gdb.exp: Likewise.
17986
bf401b07
SM
179872015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17988
17989 * configure.ac: Remove HP-UX case.
17990 * configure: Regenerate.
17991
aff9c0f8
SM
179922015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17993
17994 * lib/gdb.exp (gdb_compile): Add function doc.
17995
a6904d5a
PA
179962015-12-17 Pedro Alves <palves@redhat.com>
17997
17998 PR threads/19354
17999 * gdb.multi/info-threads.exp: New file.
18000
a22279dd
YQ
180012015-12-15 Yao Qi <yao.qi@linaro.org>
18002
18003 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
18004 is aarch64*-*-*.
18005
0588c796
SL
180062015-12-14 Sandra Loosemore <sandra@codesourcery.com>
18007
18008 * gdb.base/history-duplicates.exp: Skip if no readline support.
18009
5d978e17
SL
180102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
18011
18012 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
18013
7e763b86
SL
180142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
18015
18016 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
18017
87a3a92c
SL
180182015-12-14 Sandra Loosemore <sandra@codesourcery.com>
18019
18020 * gdb.base/completion.exp: Skip tests that interrupt GDB with
18021 ctrl-C if nointerrupts target property is set.
18022 * gdb.base/double-prompt-target-event-error.exp: Likewise.
18023 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
18024 * gdb.base/paginate-bg-execution.exp: Likewise.
18025 * gdb.base/paginate-execution-startup.exp: Likewise.
18026 * gdb.base/random-signal.exp: Likewise.
18027 * gdb.base/range-stepping.exp: Likewise.
18028 * gdb.cp/annota2.exp: Likewise.
18029 * gdb.cp/annota3.exp: Likewise.
18030 * gdb.gdb/selftest.exp: Likewise.
18031 * gdb.threads/continue-pending-status.exp: Likewise.
18032 * gdb.threads/leader-exit.exp: Likewise.
18033 * gdb.threads/manythreads.exp: Likewise.
18034 * gdb.threads/pthreads.exp: Likewise.
18035 * gdb.threads/schedlock.exp: Likewise.
18036 * gdb.threads/sigthread.exp: Likewise.
18037
a8f077dc
DB
180382015-12-11 Don Breazeal <donb@codesourcery.com>
18039
18040 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
18041 remote.
18042 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
18043 * gdb.base/foll-exec.exp (main): Enable for target remote.
18044 * gdb.base/foll-fork.exp (main): Likewise.
18045 * gdb.base/foll-vfork.exp (main): Likewise.
18046 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
18047 (proc continue_to_exit_bp_loc): Use clean_restart.
18048 * gdb.base/pie-execl.exp (main): Disable for target remote.
18049 * gdb.base/watch-vfork.exp (main): Enable for target remote.
18050 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
18051 * gdb.threads/execl.exp (main): Likewise.
18052 * gdb.threads/fork-child-threads.exp (main): Likewise.
18053 * gdb.threads/fork-plus-threads.exp (main): Disable for target
18054 remote.
18055 * gdb.threads/fork-thread-pending.exp (main): Enable for target
18056 remote.
18057 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
18058 pid.tid style ptids, instead of just tid.
18059 * gdb.threads/thread-execl.exp (main): Enable for target remote.
18060 * gdb.threads/watchpoint-fork.exp (main): Likewise.
18061 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
18062 ptids, instead of just tid.
18063
3b2464a8
AB
180642015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
18065
18066 * gdb.base/list.exp (test_list_forward): Add end of file error
18067 test.
18068 (test_repeat_list_command): Add end of file error test.
18069 (test_list_backwards): Add beginning of file error test.
18070
a0def019
AB
180712015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
18072
18073 * gdb.base/list.exp (test_list_invalid_args): New function,
18074 defined, and called.
18075
5c000dff
AB
180762015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
18077
18078 * gdb.base/list.exp (test_list): Make test names unique.
18079
f1637ebe
YQ
180802015-12-11 Yao Qi <yao.qi@linaro.org>
18081
18082 * gdb.base/coremaker2.c: Remove.
18083
36d6fc0a
PA
180842015-12-10 Pedro Alves <palves@redhat.com>
18085
18086 * gdb.multi/base.exp: Remove stale "spaces" references.
18087
762f7747
PA
180882015-12-10 Pedro Alves <palves@redhat.com>
18089
18090 * gdb.multi/base.exp: Don't use nowarnings.
18091 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
18092 * gdb.multi/hangout.c: Include stdio.h.
18093 * gdb.multi/hello.c: Include stdlib.h.
18094 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
18095 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
18096 * gdb.multi/multi-arch.exp: Don't use nowarnings.
18097
28d2bfb9
AB
180982015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
18099
18100 * gdb.dwarf2/dw2-ranges-base.c: New file.
18101 * gdb.dwarf2/dw2-ranges-base.exp: New file.
18102 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
18103 support additional line table, and debug ranges generation.
18104 (Dwarf::ranges): New function, generate .debug_ranges.
18105 (Dwarf::lines): Support generating simple line table programs.
18106 (Dwarf::assemble): Initialise new namespace variables.
18107
5fc2beac
KB
181082015-12-09 Kevin Buettner <kevinb@redhat.com>
18109
18110 * gdb.base/async.exp (proc test_background): Add case for
18111 asynchronous execution not supported.
18112
1c35a88f
LM
181132015-12-09 Luis Machado <lgustavo@codesourcery.com>
18114
18115 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
18116 format and change test names to make them unique.
18117
b593e3d9
RK
181182015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
18119 Pedro Alves <pedro@redhat.com>
18120
18121 PR gdb/18702
18122 Add checking of floatformats setup on x86_64 hosts.
18123 * gdb.arch/i386-float.S (main): Load bigval and smallval.
18124 (smallval, bigval): New labels/constants.
18125 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
18126 float" after loading bigval and smallval.
18127
d72413e6
PMR
181282015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
18129
18130 * gdb.ada/fun_overload_menu.exp: New testcase.
18131 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
18132
ece66d65
JS
181332015-12-04 Josh Stone <jistone@redhat.com>
18134
18135 * gdb.base/catch-fork-static.exp: New.
18136
41d0efca
YQ
181372015-12-03 Yao Qi <yao.qi@linaro.org>
18138
18139 * gdb.base/sizeof.c: Don't include stdio.h and
18140 ../lib/unbuffer_output.c.
18141 (main): New variable 'size' and 'value'. Remove printf and
18142 gdb_unbuffer_output. Assign return value to size and value.
18143 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
18144 at the beginning.
18145 (check_sizeof): Check the result by printing variable 'size'.
18146 (check_valueof): Check the result by printing variable 'value'.
18147
99fd02d9
YQ
181482015-12-01 Yao Qi <yao.qi@linaro.org>
18149
18150 * gdb.base/disp-step-syscall.exp: Define syscall instruction
18151 for aarch64*-*-linux* target.
18152
f2faf941
PA
181532015-11-30 Pedro Alves <palves@redhat.com>
18154
18155 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
18156
04bf20c5
PA
181572015-11-30 Pedro Alves <palves@redhat.com>
18158
18159 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
18160 Handle non-stop mode vCont replies.
18161
09df4675
PA
181622015-11-30 Pedro Alves <palves@redhat.com>
18163
18164 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
18165 prepare_for_testing. Start gdb with "set non-stop on" appended to
18166 GDBFLAGS. Lax expected stop output.
18167
58b584af
YQ
181682015-11-27 Yao Qi <yao.qi@linaro.org>
18169
18170 * gdb.arch/arm-neon.exp: New.
18171 * gdb.arch/arm-neon.c: New.
18172
dfcb77a8
YQ
181732015-11-27 Yao Qi <yao.qi@linaro.org>
18174
18175 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
18176
88e8ec1b
YQ
181772015-11-27 Yao Qi <yao.qi@linaro.org>
18178
18179 * gdb.cp/annota2.exp: Allow multiple occurrences of the
18180 frames-invalid annotation.
18181
bfde72c2
YQ
181822015-11-27 Yao Qi <yao.qi@linaro.org>
18183
18184 * gdb.cp/annota2.exp: Use ${frames_invalid}.
18185
f6512a69
SM
181862015-11-26 Simon Marchi <simon.marchi@ericsson.com>
18187
18188 * gdb.threads/names.exp: New file.
18189 * gdb.threads/names.c: New file.
18190 * README: Mention gdb,no_thread_names.
18191
46a3515b
MM
181922015-11-26 Markus Metzger <markus.t.metzger@intel.com>
18193
18194 PR 19297
18195 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
18196 support" error.
18197
62147a22
PA
181982015-11-24 Pedro Alves <palves@redhat.com>
18199
18200 PR 17539
18201 * gdb.base/display.exp: Expect displays to be sorted in ascending
18202 order. Use multi_line.
18203 * gdb.base/solib-display.exp: Likewise.
18204
2f341b6e
PA
182052015-11-24 Pedro Alves <palves@redhat.com>
18206
18207 PR 17539
25d49b86
PA
18208 * gdb.base/display.exp: Expect displays to be sorted in ascending
18209 order. Use multi_line.
18210 * gdb.base/solib-display.exp: Likewise.
2f341b6e 18211
7e0aa6aa
PA
182122015-11-24 Pedro Alves <palves@redhat.com>
18213
18214 PR 17539
18215 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
18216 threads in ascending order.
18217 * gdb.base/foll-fork.exp: Likewise.
18218 * gdb.base/foll-vfork.exp: Likewise.
18219 * gdb.base/multi-forks.exp: Likewise.
18220 * gdb.mi/mi-nonstop.exp: Likewise.
18221 * gdb.mi/mi-nsintrall.exp: Likewise.
18222 * gdb.multi/base.exp: Likewise.
18223 * gdb.multi/multi-arch.exp: Likewise.
18224 * gdb.python/py-inferior.exp: Likewise.
18225 * gdb.threads/break-while-running.exp: Likewise.
18226 * gdb.threads/execl.exp: Likewise.
18227 * gdb.threads/gcore-thread.exp: Likewise.
18228 * gdb.threads/info-threads-cur-sal.exp: Likewise.
18229 * gdb.threads/kill.exp: Likewise.
18230 * gdb.threads/linux-dp.exp: Likewise.
18231 * gdb.threads/multiple-step-overs.exp: Likewise.
18232 * gdb.threads/next-bp-other-thread.exp: Likewise.
18233 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
18234 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
18235 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
18236 * gdb.threads/thread-find.exp: Likewise.
18237 * gdb.threads/tls.exp: Likewise.
18238 * lib/mi-support.exp (mi_reverse_list): Delete.
18239 (mi_check_thread_states): No longer reverse list.
18240
2cc57ad8
PA
182412015-11-24 Pedro Alves <palves@redhat.com>
18242
18243 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
18244 use lowercase.
18245
c93e8391
SM
182462015-11-23 Simon Marchi <simon.marchi@ericsson.com>
18247
18248 * gdb.trace/actions.c: Include trace-common.h.
18249 (main): Add a location for a fast tracepoint.
18250 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
18251 the normal tracepoints.
18252 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
18253
045ccf91
SM
182542015-11-23 Simon Marchi <simon.marchi@ericsson.com>
18255
18256 * save-trace.exp: Factor out code to these...
18257 (gdb_save_tracepoints): New.
18258 (gdb_load_tracepoints): New.
18259 (do_save_load_test): New.
18260
5506f9f6
KB
182612015-11-23 Kevin Buettner <kevinb@redhat.com>
18262
18263 * gdb.base/asmlabel.exp: New test.
18264 * gdb.base/asmlabel.c: New test case.
18265
16c3b12f
JB
182662015-11-23 Joel Brobecker <brobecker@adacore.com>
18267
18268 * gdb.base/wrong_frame_bt_full-main.c: New file.
18269 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
18270 * gdb.base/wrong_frame_bt_full.exp: New file.
18271
155bfbd3
JB
182722015-11-23 Joel Brobecker <brobecker@adacore.com>
18273
18274 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
18275
bb097445
JM
182762015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
18277
206853a0 18278 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
18279 pstate register when comparing registers values in
18280 sparc64-*-linux-gnu targets to avoid spurious differences.
18281
9c88ed8f
JM
182822015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
18283
206853a0 18284 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 18285
96161e25
SL
182862015-11-19 Sandra Loosemore <sandra@codesourcery.com>
18287
18288 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
18289 as type argument to gdb_compile.
18290 * gdb.base/nested-subp2.exp: Likewise.
18291 * gdb.base/nested-subp3.exp: Likewise.
18292
340c2830
DV
182932015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
18294
18295 * lib/dwarf.exp (_note): Fix left shift of negative value.
18296 * gdb.trace/trace-condition.exp: Likewise.
18297
c1862d0f
YQ
182982015-11-13 Yao Qi <yao.qi@linaro.org>
18299
18300 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
18301 comments about d10v.
18302 (test_scalar_returns): Likewise.
18303 * gdb.base/d10v.ld: Remove.
18304 * gdb.base/overlays.exp: Remove the target triplet checking for
18305 d10v-*-*.
18306 * gdb.base/structs.exp (test_struct_returns): Remove the
18307 comments about d10v.
18308 (test_struct_calls): Likewise.
18309
77ae9c19
YQ
183102015-11-13 Yao Qi <yao.qi@linaro.org>
18311
18312 * gdb.base/gnu_vector.exp: Check the return value by "p res".
18313 * gdb.base/gnu_vector.c: Don't include stdio.h.
18314 (main): Don't print res and call add_some_intvecs.
18315
430e004e
MK
183162015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
18317
18318 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
18319 macro.
18320 (func5): Removed.
18321 (func4): Use FAST_TRACEPOINT_LABEL.
18322 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
18323 macro.
18324 (func): Removed.
18325 (thread_function): Use FAST_TRACEPOINT_LABEL.
18326 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
18327 (func): Remove.
18328 (marker): Use FAST_TRACEPOINT_LABEL.
18329 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
18330 (pendfunc1): Remove.
18331 (pendfunc): Use FAST_TRACEPOINT_LABEL.
18332 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
18333 (foo): Remove.
18334 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
18335 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
18336 macro.
18337 (func): Remove.
18338 (marker): Use FAST_TRACEPOINT_LABEL.
18339 * gdb.trace/trace-common.h: New header.
18340 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
18341 macro.
18342 (func): Remove.
18343 (marker): Use FAST_TRACEPOINT_LABEL.
18344 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
18345 (func): Remove.
18346 (thread_function): Use FAST_TRACEPOINT_LABEL.
18347
6e7675a7
MK
183482015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
18349
18350 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
18351 in front.
18352 * gdb.trace/change-loc.exp: Use global pcreg definition.
18353 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
18354 * gdb.trace/entry-values.exp: Use global spreg definition, add $
18355 in front.
18356 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
18357 * gdb.trace/pending.exp: Likewise.
18358 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
18359 * gdb.trace/trace-break.exp: Likewise.
18360 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
18361 in front.
18362 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
18363 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
18364 in front.
18365 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
18366
dddc0e16
JB
183672015-11-09 Joel Brobecker <brobecker@adacore.com>
18368
18369 * gdb.ada/fin_fun_out: New testcase.
18370
c6f0b406
KB
183712015-11-07 Kevin Buettner <kevinb@redhat.com>
18372
18373 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
18374 value associated with DW_AT_byte_size.
18375 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
18376 constants for DW_AT_byte_size, DW_AT_lower_bound, and
18377 DW_AT_upper_bound.
18378
f01dcfd9
KB
183792015-11-07 Kevin Buettner <kevinb@redhat.com>
18380
18381 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
18382 (gdb_target_symbol_prefix_flags): Define in terms of _asm
18383 version.
18384 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
18385 gdb.dwarf2/dw2-canonicalize-type.exp,
18386 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
18387 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
18388 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
18389 provided by gdb_target_symbol_prefix_flags_asm.
18390 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
18391 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
18392 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
18393 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
18394 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
18395 macros where needed). Use this macro for symbols which require
18396 the prefix provided by SYMBOL_PREFIX.
18397
2223449a
KB
183982015-11-05 Kevin Buettner <kevinb@redhat.com>
18399
18400 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
18401 New procs.
18402 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
18403 representing expressions, of more than one list element.
18404 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
18405 to prepend linker symbol prefix to f.
18406 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
18407 table_1 and table_2.
18408 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
18409 Likewise, for f and g.
18410 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
18411 for ptr.
18412 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
18413 for main.
18414 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
18415 table_1_ptr and table_2_ptr.
18416
6f2f1a3a
JK
184172015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18418 Joel Brobecker <brobecker@adacore.com>
18419
18420 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
18421
566c56c9
MK
184222015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
18423
18424 * gdb.reverse/s390-mvcle.c: New test.
18425 * gdb.reverse/s390-mvcle.exp: New file.
18426 * lib/gdb.exp: Enable reverse tests on s390*-linux.
18427
d5f0636b
MK
184282015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18429
18430 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
18431
7ad8b86c
MK
184322015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18433
18434 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
18435 reaching marker2.
18436 * gdb.reverse/getresuid-reverse.exp: Likewise.
18437 * gdb.reverse/pipe-reverse.exp: Likewise.
18438 * gdb.reverse/readv-reverse.exp: Likewise.
18439 * gdb.reverse/recvmsg-reverse.exp: Likewise.
18440 * gdb.reverse/time-reverse.exp: Likewise.
18441 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
18442
4081c0f1
YQ
184432015-10-30 Yao Qi <yao.qi@linaro.org>
18444
18445 * gdb.threads/wp-replication.c (watch_count_done): Remove.
18446 (empty_cycle): Remove.
18447 (main): Don't call empty_cycle. Don't use watch_count_done.
18448 * gdb.threads/wp-replication.exp: Don't set breakpoint on
18449 empty_cycle. Rewrite the code counting HW watchpoints.
18450
452b4ba5
MK
184512015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
18452
18453 * gdb.reverse/fstatat-reverse.c: New test.
18454 * gdb.reverse/fstatat-reverse.exp: New file.
18455 * gdb.reverse/getresuid-reverse.c: New test.
18456 * gdb.reverse/getresuid-reverse.exp: New file.
18457 * gdb.reverse/pipe-reverse.c: New test.
18458 * gdb.reverse/pipe-reverse.exp: New file.
18459 * gdb.reverse/readv-reverse.c: New test.
18460 * gdb.reverse/readv-reverse.exp: New file.
18461 * gdb.reverse/recvmsg-reverse.c: New test.
18462 * gdb.reverse/recvmsg-reverse.exp: New file.
18463 * gdb.reverse/time-reverse.c: New test.
18464 * gdb.reverse/time-reverse.exp: New file.
18465 * gdb.reverse/waitpid-reverse.c: New test.
18466 * gdb.reverse/waitpid-reverse.exp: New file.
18467
5e2e7507
JK
184682015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
18469
18470 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
18471
0fde2c53
DE
184722015-10-26 Doug Evans <dje@google.com>
18473
18474 PR symtab/17391
18475 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
18476 * gdb.dwarf2/bad-regnum.c: New file.
18477 * gdb.dwarf2/bad-regnum.exp: New file.
18478
1a70ae97
DE
184792015-10-26 Doug Evans <dje@google.com>
18480
18481 PR python/18938
18482 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
18483 file.
18484
27dc26ab
JK
184852015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18486
18487 * gdb.compile/compile.exp (compile code globalvar): Update expectation
18488 for a change by "Mention language in compile error message".
18489
bed91f4d
SM
184902015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
18491
18492 PR python/18073
18493 * gdb.python/py-type.c (C::a_method): New.
18494 (C::a_const_method): New.
18495 (C::a_static_method): New.
18496 (a_function): New.
18497 * gdb.python/py-type.exp (test_fields): Test getting fields
18498 from function and method.
18499
3f2f83dd
KB
185002015-10-21 Keven Boell <keven.boell@intel.com>
18501
18502 * gdb.fortran/vla-alloc-assoc.exp: New file.
18503 * gdb.fortran/vla-datatypes.exp: New file.
18504 * gdb.fortran/vla-datatypes.f90: New file.
18505 * gdb.fortran/vla-history.exp: New file.
18506 * gdb.fortran/vla-ptype-sub.exp: New file.
18507 * gdb.fortran/vla-ptype.exp: New file.
18508 * gdb.fortran/vla-sizeof.exp: New file.
18509 * gdb.fortran/vla-sub.f90: New file.
18510 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
18511 * gdb.fortran/vla-value-sub-finish.exp: New file.
18512 * gdb.fortran/vla-value-sub.exp: New file.
18513 * gdb.fortran/vla-value.exp: New file.
18514 * gdb.fortran/vla-ptr-info.exp: New file.
18515 * gdb.mi/mi-vla-fortran.exp: New file.
18516 * gdb.mi/vla.f90: New file.
18517
27145d50
SL
185182015-10-21 Sandra Loosemore <sandra@codesourcery.com>
18519
18520 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
18521 of hardwired timeout value.
18522
5f3ff4f8
JK
185232015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18524 Pedro Alves <palves@redhat.com>
18525
18526 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
18527 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
18528
bfd09d20
JS
185292015-10-19 Josh Stone <jistone@redhat.com>
18530
18531 * gdb.base/catch-syscall.c: Include <sched.h>.
18532 (unknown_syscall): New variable.
18533 (main): Trigger a vfork and an unknown syscall.
18534 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
18535 (unknown_syscall_number): Likewise.
18536 (check_call_to_syscall): Accept an optional syscall pattern.
18537 (check_return_from_syscall): Likewise.
18538 (check_continue): Likewise.
18539 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
18540 (test_catch_syscall_skipping_return): New test toggling off 'catch
18541 syscall' to step over the syscall return, then toggling back on.
18542 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
18543 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
18544 (do_syscall_tests): Call test_catch_syscall_without_args and
18545 test_catch_syscall_mid_vfork.
18546 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
18547 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
18548
b32b93c6
AS
185492015-10-19 Andrew Stubbs <ams@codesourcery.com>
18550
18551 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
18552 print g_vE): Add new pass patterns.
18553 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
18554 print various symbol names for vptr fields.
18555
9d622bda
AB
185562015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
18557
18558 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
18559 results.
18560
0fd8ac1c
YQ
185612015-10-12 Yao Qi <yao.qi@linaro.org>
18562
18563 * gdb.arch/disp-step-insn-reloc.exp: New test case.
18564
34240514
YQ
185652015-10-12 Yao Qi <yao.qi@linaro.org>
18566
18567 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
18568 is aarch64*-*-linux*.
18569
8240f442
YQ
185702015-10-12 Yao Qi <yao.qi@linaro.org>
18571
18572 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
18573 (can_relocate_bcond_true): ... it.
18574 (can_relocate_bcond_false): New function.
18575 (foo): Likewise.
18576 (can_relocate_bl): Likewise.
18577 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
18578 can_relocate_bl.
18579
2520f728
PMR
185802015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18581
18582 * gdb.base/nested-addr.c: New file.
18583 * gdb.base/nested-addr.exp: New testcase.
18584
abcef95a
MM
185852015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18586
18587 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18588 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18589 its output. Ignore the output of "record goto begin" and instead
18590 check that GDB is replaying.
18591
145e3ddb
PA
185922015-10-09 Pedro Alves <palves@redhat.com>
18593
18594 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18595 (top level): Use it in the run with no args test.
18596
d5d8c4e1
IB
185972015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18598
18599 * gdb.dlang/properties.exp: New file.
18600
06e635ef
SL
186012015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18602
18603 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18604 whether or not address 0x1000 is mapped on the target.
18605
e019fd1d
SM
186062015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18607
18608 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18609 build.
18610
77ba2a67
MM
186112015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18612
18613 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18614 instruction-history test.
18615
c60eb31f
DE
186162015-09-28 Doug Evans <dje@google.com>
18617
18618 * gdb.base/gcore.c (array_func): Add reference to static_array.
18619
9a3c8263
SM
186202015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18621
18622 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18623 source line.
18624
9720e656
SL
186252015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18626
18627 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18628 short or char as base type.
18629
938d3bf2
SL
186302015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18631
18632 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18633 to allow any size enum.
18634
e6c2c623
PMR
186352015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18636
18637 * gdb.ada/array_ptr_renaming.exp: New testcase.
18638 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18639 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18640
06da0f77
PL
186412015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18642
18643 * gdb.trace/ftrace-lock.c: New file.
18644 * gdb.trace/ftrace-lock.exp: New file.
18645
4f51c22a
PL
186462015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18647
18648 * gdb.arch/insn-reloc.c: New file.
18649 * gdb.arch/ftrace-insn-reloc.exp: New file.
18650
7041adf4
PL
186512015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18652
18653 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18654 instruction.
18655 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18656 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18657 * gdb.trace/range-stepping.c: Likewise.
18658 * gdb.trace/trace-break.c: Likewise.
18659 * gdb.trace/trace-mt.c (thread_function): Likewise.
18660 * gdb.trace/ftrace.c (marker): Likewise.
18661 * gdb.trace/trace-condition.c (marker): Likewise.
18662 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18663 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18664 is_aarch64_target.
18665
015d2e7e
DE
186662015-09-18 Doug Evans <xdje42@gmail.com>
18667
18668 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18669 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18670
26b188a2
SL
186712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18672
18673 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18674 the breakpoint.
18675
79dc332b
SL
186762015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18677
18678 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18679 the pending breakpoint. Remove timeout override for "Run till
18680 MI pending breakpoint on pendfunc3 on thread 2" test.
18681
f57929f2
SL
186822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18683
18684 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18685 filename pattern.
18686
3f469b17
SL
186872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18688
18689 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18690 in breakpoint filename pattern.
18691
515b89b3
SL
186922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18693
7800dbe4
SL
18694 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18695
186962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18697
515b89b3
SL
18698 * gdb.linespec/explicit.exp: Check for readline support for
18699 tab-completion tests. Fix obvious typo.
18700
d2939ba2
MM
187012015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18702
18703 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18704 and replay.
18705
cbb55fa7
MM
187062015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18707
18708 * gdb.btrace/non-stop.c: New.
18709 * gdb.btrace/non-stop.exp: New.
18710
43691ca1
PL
187112015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18712 Yao Qi <yao.qi@linaro.org>
18713
18714 * gdb.trace/trace-condition.c: New file.
18715 * gdb.trace/trace-condition.exp: New file.
18716
d78908cf
WW
187172015-09-16 Wei-cheng Wang <cole945@gmail.com>
18718
18719 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18720 for testing bytecode compilation.
18721
1ed415e2
PA
187222015-09-16 Pedro Alves <palves@redhat.com>
18723 Sandra Loosemore <sandra@codesourcery.com>
18724
18725 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18726 (SECONDS): Redefine.
18727 (main): Call pthread_kill and alarm early.
18728 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18729 support.
18730 (test): If the target can't hardware step and doesn't support
18731 displaced stepping, increase the timeout.
18732
d136eff5
PA
187332015-09-16 Pedro Alves <palves@redhat.com>
18734
18735 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18736 (enable_debug): New procedures.
18737 (test): Use them. Bail out if waiting for threads fails.
18738 (top level): Bail out if a test fails.
18739
991f019c
YQ
187402015-09-16 Yao Qi <yao.qi@linaro.org>
18741
18742 * gdb.asm/asm-source.exp: Set asm-arch for
18743 aarch64*-*-* target.
18744 * gdb.asm/aarch64.inc: New file.
18745
bfca584f
PMR
187462015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18747
18748 * gdb.ada/array_of_variable_length.exp: New testcase.
18749 * gdb.ada/array_of_variable_length/foo.adb: New file.
18750 * gdb.ada/array_of_variable_length/pck.adb: New file.
18751 * gdb.ada/array_of_variable_length/pck.ads: New file.
18752
b326e587
DE
187532015-09-15 Doug Evans <dje@google.com>
18754
18755 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18756 of function static local variable.
18757
5382cfab
PW
187582015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18759
18760 * gdb.threads/tls-so_extern.exp: New test file.
18761 * gdb.threads/tls-so_extern.c: New test file.
18762 * gdb.threads/tls-so_extern_main.c: New test file.
18763
141c5cc4
JK
187642015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18765
18766 * gdb.opt/solib-intra-step-lib.c: New file.
18767 * gdb.opt/solib-intra-step-main.c: New file.
18768 * gdb.opt/solib-intra-step.exp: New file.
18769
d15dcecd
PA
187702015-09-15 Pedro Alves <palves@redhat.com>
18771
18772 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18773 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18774
4c2f2a79
PA
187752015-09-14 Pedro Alves <palves@redhat.com>
18776
18777 * gdb.base/hook-stop-continue.c: Delete.
18778 * gdb.base/hook-stop-continue.exp: Delete.
18779 * gdb.base/hook-stop-frame.c: Delete.
18780 * gdb.base/hook-stop-frame.exp: Delete.
18781 * gdb.base/hook-stop.c: New file.
18782 * gdb.base/hook-stop.exp: New file.
18783
919e6dbe
PMR
187842015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18785
18786 * gdb.ada/access_to_packed_array.exp: New testcase.
18787 * gdb.ada/access_to_packed_array/foo.adb: New file.
18788 * gdb.ada/access_to_packed_array/pack.adb: New file.
18789 * gdb.ada/access_to_packed_array/pack.ads: New file.
18790
157280a4
MM
187912015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18792
18793 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18794 buffer size test.
18795
2fd33e94
DB
187962015-09-11 Don Breazeal <donb@codesourcery.com>
18797
18798 * gdb.base/foll-exec.c: Add copyright header. Fix
18799 formatting issues.
18800 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18801 (do_exec_tests): Use clean_restart in place of zap_session,
18802 and for test initialization. Fix formatting issues. Use
18803 fail in place of perror.
18804 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18805 an expect statement to match an expression with output from
18806 the program under debug.
18807 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18808 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18809 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18810 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18811 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18812
e70b6e8e
DE
188132015-09-09 Doug Evans <dje@google.com>
18814
18815 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18816
7a551a51
DE
188172015-09-09 Doug Evans <dje@google.com>
18818
18819 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18820
4c666f84
DE
188212015-09-09 Doug Evans <dje@google.com>
18822
18823 * gdb.base/savedregs.exp: Fix typo.
18824
243a9253
PA
188252015-09-09 Pedro Alves <palves@redhat.com>
18826
18827 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18828
c0fa8fbd
SL
188292015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18830
18831 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18832 command actually switches threads. Give up on remaining
18833 tests if target fails to stop at breakpoint.
18834
cd7c1778
PMR
188352015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18836
18837 * gdb.ada/funcall_char.exp: New testcase.
18838 * gdb.ada/funcall_char/foo.adb: New file.
18839
dc5c8746
PMR
188402015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18841
18842 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18843 expected outputs. Add two testcases for completing ambiguous
18844 functions.
18845 * gdb.ada/complete/aux_pck.adb: New file.
18846 * gdb.ada/complete/aux_pck.ads: New file.
18847 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18848 Ambiguous_Func functions.
18849 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18850 * gdb.ada/complete/pck.adb: Likewise.
18851
4e83a1e7
UW
188522015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18853
18854 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18855 failures to run the test program under GDB.
18856
8ce74153
LM
188572015-08-26 Luis Machado <lgustavo@codesourcery.com>
18858
18859 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18860 to C.
18861
e9756d52
PP
188622015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18863
18864 * gdb.base/run-after-attach.exp: New test file.
18865 * gdb.base/run-after-attach.c: New test file.
18866
8d37573b
DB
188672015-08-26 Don Breazeal <donb@codesourcery.com>
18868
18869 * gdb.base/foll-exec-2.c: New test program.
18870 * gdb.base/foll-exec-2.exp: New test.
18871
63e43d3a
PMR
188722015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18873
18874 * gdb.base/nested-subp1.exp: New file.
18875 * gdb.base/nested-subp1.c: New file.
18876 * gdb.base/nested-subp2.exp: New file.
18877 * gdb.base/nested-subp2.c: New file.
18878 * gdb.base/nested-subp3.exp: New file.
18879 * gdb.base/nested-subp3.c: New file.
18880
3d40fbb5
PA
188812015-08-24 Pedro Alves <palves@redhat.com>
18882
18883 * gdb.server/connect-without-multi-process.c: New file.
18884 * gdb.server/connect-without-multi-process.exp: New file.
18885
4422ac93
LM
188862015-08-24 Luis Machado <lgustavo@codesourcery.com>
18887
18888 * gdb.opt/inline-markers.c: Make z int.
18889
91dddb86
LM
188902015-08-24 Luis Machado <lgustavo@codesourcery.com>
18891
18892 * gdb.opt/inline-markers.c: Make z volatile.
18893
a48847ee
LM
188942015-08-24 Luis Machado <lgustavo@codesourcery.com>
18895
18896 * gdb.opt/inline-bt.c: New volatile global z.
18897 * gdb.opt/inline-cmds.c: Likewise.
18898 * gdb.opt/inline-locals.c: Likewise.
18899 * gdb.opt/inline-markers.c: New extern global z.
18900 (marker): Use z.
18901 (inline_fn): Likewise.
18902
0ebbc52b
PA
189032015-08-24 Pedro Alves <palves@redhat.com>
18904
18905 * config/m32r-stub.exp: Remove file.
18906 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18907 * gdb.base/call-rt-st.exp: Likewise.
18908 * gdb.base/call-strs.exp: Likewise.
18909 * gdb.base/default.exp: Remove references to h8300-*-hms and
18910 *-*-udi*.
18911 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18912
77c365df
AA
189132015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18914
18915 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18916 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18917 and "return" use KFAIL when GDB can not read/write the vector
18918 return value.
18919
4313b8c0
GB
189202015-08-21 Gary Benson <gbenson@redhat.com>
18921
18922 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18923
0e433b32
PA
189242015-08-20 Pedro Alves <palves@redhat.com>
18925
18926 * gdb.server/solib-list.exp: No longer expect an interior stop in
18927 non-stop mode.
18928
221e1a37
PA
189292015-08-20 Pedro Alves <palves@redhat.com>
18930
18931 * gdb.server/connect-stopped-target.c: New file.
18932 * gdb.server/connect-stopped-target.exp: New file.
18933
40e3ad0e
PA
189342015-08-20 Pedro Alves <palves@redhat.com>
18935
18936 * gdb.dwarf2/comp-unit-lang.exp: New file.
18937 * gdb.dwarf2/comp-unit-lang.c: New file.
18938
af39b327
PMR
189392015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18940
18941 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18942 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18943
7d45c7c3 189442015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18945
7d45c7c3
KB
18946 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18947 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18948
4d6cceb4
DE
189492015-08-18 Doug Evans <dje@google.com>
18950 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18951
18952 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18953 skip_python_tests. New arg prompt_regexp.
18954 (skip_python_tests): New function.
18955 * lib/mi-support.exp (mi_skip_python_tests): New function.
18956 * gdb.python/py-mi-objfile-gdb.py: New file.
18957 * gdb.python/py-mi-objfile.c: New file.
18958 * gdb.python/py-mi-objfile.exp: New file.
18959
ad89c2aa
KS
189602015-08-17 Keith Seitz <keiths@redhat.com>
18961
18962 * gdb.linespec/explicit.exp: Move strace test from here ...
18963 * gdb.trace/strace.exp: ... to here.
18964
e3ae3c43
PP
189652015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18966
18967 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18968 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18969
604b2636
DE
189702015-08-14 Doug Evans <xdje42@gmail.com>
18971
18972 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18973 inferior before selecting a new file.
18974
6ff0ba5f
DE
189752015-08-14 Doug Evans <xdje42@gmail.com>
18976
18977 * gdb.mi/mi-disassemble.exp: Update.
18978 * gdb.base/disasm-optim.S: New file.
18979 * gdb.base/disasm-optim.c: New file.
18980 * gdb.base/disasm-optim.h: New file.
18981 * gdb.base/disasm-optim.exp: New file.
18982
9ca98f92
KS
189832015-08-14 Keith Seitz <keiths@redhat.com>
18984
18985 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18986 "evaluated-by".
18987
52bbc560
JB
189882015-08-13 Joel Brobecker <brobecker@adacore.com>
18989
18990 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18991
5d8c3ed3
PMR
189922015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18993
18994 * gdb.ada/fun_renaming.exp: New testcase.
18995 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18996 * gdb.ada/fun_renaming/pack.adb: New file.
18997 * gdb.ada/fun_renaming/pack.ads: New file.
18998
ea8812bc
KS
189992015-08-12 Keith Seitz <keiths@redhat.com>
19000
19001 * gdb.base/dso2dso.exp: Pass basename of source file in call to
19002 gdb_get_line_number.
19003
4dafcdeb
JB
190042015-08-12 Joel Brobecker <brobecker@adacore.com>
19005
19006 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
19007 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
19008 gdb.base/dso2dso.exp: New files.
19009
5ba32597
SDJ
190102015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
19011 Pedro Alves <palves@redhat.com>
19012 Keith Seitz <keiths@redhat.com>
19013
19014 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
19015 GDBFLAGS.
19016
b6dafabf
PP
190172015-08-12 Patrick Palka <patrick@parcs.ath.cx>
19018
19019 * gdb.base/gdbhistsize-history.exp
19020 (test_histsize_history_setting): Use save_vars.
19021 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19022 Use save_vars.
19023 (test_no_truncation_of_unlimited_history_file): Use save_vars.
19024 * gdb.base/readline.exp: Use save_vars.
19025
abe8e607
PP
190262015-08-12 Patrick Palka <patrick@parcs.ath.cx>
19027
19028 * lib/gdb.exp (save_vars): New proc.
19029
629500fa
KS
190302015-08-11 Keith Seitz <keiths@redhat.com>
19031
19032 * gdb.base/help.exp: Update help_breakpoint_text.
19033
eb8c4e2e
KS
190342015-08-11 Keith Seitz <keiths@redhat.com>
19035
19036 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
19037 (at toplevel): Call test_explicit_breakpoints.
19038 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
19039 breakpoints.
19040 * lib/mi-support.exp (mi_make_breakpoint): Add support for
19041 breakpoint conditions, "-cond".
19042
87f0e720
KS
190432015-08-11 Keith Seitz <keiths@redhat.com>
19044
19045 * gdb.linespec/3explicit.c: New file.
19046 * gdb.linespec/cpexplicit.cc: New file.
19047 * gdb.linespec/cpexplicit.exp: New file.
19048 * gdb.linespec/explicit.c: New file.
19049 * gdb.linespec/explicit.exp: New file.
19050 * gdb.linespec/explicit2.c: New file.
19051 * gdb.linespec/ls-errs.exp: Add explicit location tests.
19052 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
19053 before using in the matching pattern.
19054 Clarify that `prefix' is a regular expression.
19055
f00aae0f
KS
190562015-08-11 Keith Seitz <keiths@redhat.com>
19057
19058 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
19059 test.
19060 Add tests for missing ",FMT" and ",".
19061
e27852be
DE
190622015-08-10 Doug Evans <dje@google.com>
19063 Keith Seitz <keiths@redhat.com>
19064
19065 PR gdb/17960
19066 * gdb.base/completion.exp: Add location completer tests.
19067
7f03bd92
PA
190682015-08-07 Pedro Alves <palves@redhat.com>
19069
19070 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
19071 tests here.
19072 (top level): Run do_test with and without displaced stepping.
19073
3fc8eb30
PA
190742015-08-07 Pedro Alves <palves@redhat.com>
19075
19076 * gdb.base/valgrind-disp-step.c: New file.
19077 * gdb.base/valgrind-disp-step.exp: New file.
19078
d4569d7b
PA
190792015-08-07 Pedro Alves <palves@redhat.com>
19080
19081 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
19082 Delete function.
19083 (main): Add alarm. Run an infinite loop instead of calling
19084 wait_threads.
19085 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
19086 comment.
19087 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
19088 Delete function.
19089 (main): Add alarm. Run an infinite loop instead of calling
19090 wait_threads.
19091 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
19092 comment.
19093
e1316e60
PA
190942015-08-07 Pedro Alves <palves@redhat.com>
19095
19096 * gdb.base/checkpoint-ns.exp: New file.
19097 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
19098 standard_testfile.
19099
da8c46d2
MM
191002015-08-07 Markus Metzger <markus.t.metzger@intel.com>
19101
19102 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
19103 * gdb.btrace/instruction_history.exp: Update.
19104 * gdb.btrace/tsx.exp: New.
19105 * gdb.btrace/tsx.c: New.
19106
de1c2c52
PA
191072015-08-06 Pedro Alves <palves@redhat.com>
19108
19109 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
19110 increase timeout.
19111 * gdb.reverse/until-precsave.exp: Bump timeouts.
19112
782e0bf4
PA
191132015-08-06 Pedro Alves <palves@redhat.com>
19114
19115 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
19116
83e97ed0
PA
191172015-08-06 Pedro Alves <palves@redhat.com>
19118
19119 PR gdb/18749
19120 * gdb.threads/process-dies-while-handling-bp.c: New file.
19121 * gdb.threads/process-dies-while-handling-bp.exp: New file.
19122
863d01bd
PA
191232015-08-06 Pedro Alves <palves@redhat.com>
19124
19125 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
19126 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
19127
0a39bb32
PA
191282015-08-05 Pedro Alves <palves@redhat.com>
19129
19130 * gdb.threads/next-while-other-thread-longjmps.c: New file.
19131 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
19132
ee2d2b10
SL
191332015-08-03 Sandra Loosemore <sandra@codesourcery.com>
19134
19135 * gdb.base/bp-permanent.exp: Report test as unsupported if
19136 the target cannot stop at the permanent breakpoint.
19137
4e1bdb00
DE
191382015-08-03 Doug Evans <dje@google.com>
19139
19140 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
19141 10000.
19142
3d338901
DE
191432015-08-03 Doug Evans <dje@google.com>
19144
19145 * Makefile.in (workers/%.worker, build-perf): New rule.
19146 (GDB_PERFTEST_MODE): New variable.
19147 (check-perf): Use it.
19148 (clean): Clean up gdb.perf parallel build subdirs.
19149 * lib/build-piece.exp: New file.
19150 * lib/gdb.exp (make_gdb_parallel_path): New function
19151 (standard_output_file, standard_temp_file): Call it.
19152 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19153 of $GDB_PARALLEL.
19154 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
19155
af061d3e
DE
191562015-08-03 Doug Evans <dje@google.com>
19157
8e1afc81 19158 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
19159 (LOG_FILE_NAME): New global.
19160 (TextReporter.__init__): Initialize self.txt_sum.
19161 (TextReporter.report): Add support for multiple data-points.
19162 Move report to perftest.sum, put raw data in perftest.log.
19163 (TextReporter.start): Open sum and log files.
19164 (TextReporter.end): Close sum and log files.
8e1afc81
DE
19165 * gdb.perf/lib/perftest/testresult.py
19166 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 19167
2c8c5d37
PA
191682015-07-31 Pedro Alves <palves@redhat.com>
19169
19170 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
19171 Use spawn_id_get_pid. Wait for spawn id after eof. Use
19172 kill_wait_spawned_process instead of explicit "kill -9".
19173 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
19174 returning a spawn id instead of a pid. Use spawn_id_get_pid and
19175 kill_wait_spawned_process.
19176 * gdb.base/attach-twice.exp: Likewise.
19177 * gdb.base/attach.exp: Likewise.
19178 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
19179 gdb_test_multiple.
19180 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
19181 returning a spawn id instead of a pid. Use spawn_id_get_pid and
19182 kill_wait_spawned_process.
19183 * gdb.base/valgrind-infcall.exp: Likewise.
19184 * gdb.multi/multi-attach.exp: Likewise.
19185 * gdb.python/py-prompt.exp: Likewise.
19186 * gdb.python/py-sync-interp.exp: Likewise.
19187 * gdb.server/ext-attach.exp: Likewise.
19188 * gdb.threads/attach-into-signal.exp (corefunc): Use
19189 spawn_wait_for_attach, spawn_id_get_pid and
19190 kill_wait_spawned_process.
19191 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
19192 spawn_wait_for_attach returning a spawn id instead of a pid. Use
19193 spawn_id_get_pid and kill_wait_spawned_process.
19194 * gdb.threads/attach-stopped.exp (corefunc): Use
19195 spawn_wait_for_attach, spawn_id_get_pid and
19196 kill_wait_spawned_process.
19197 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
19198 Use spawn_id_get_pid. Wait for spawn id after eof. Use
19199 kill_wait_spawned_process instead of explicit "kill -9".
19200 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
19201 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
19202 (spawn_wait_for_attach): Use spawn instead of exec to spawn
19203 processes. Don't map cygwin/windows pids here. Now returns a
19204 spawn id list.
19205
032a0fca
SL
192062015-07-30 Sandra Loosemore <sandra@codesourcery.com>
19207
19208 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
19209 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
19210 correct patch.
19211
61a934ca
SL
192122015-07-30 Sandra Loosemore <sandra@codesourcery.com>
19213
19214 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
19215
4bc4d428
SL
192162015-07-30 Sandra Loosemore <sandra@codesourcery.com>
19217
19218 Reapply:
19219 2014-05-21 Mark Wielaard <mjw@redhat.com>
19220
19221 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19222
998d452a
PA
192232015-07-30 Pedro Alves <palves@redhat.com>
19224
19225 * linux-low.c (handle_extended_wait): Set the child's last
19226 reported status to TARGET_WAITKIND_STOPPED.
19227
69dde7dc
PA
192282015-07-30 Pedro Alves <palves@redhat.com>
19229
19230 PR threads/18600
19231 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
19232 only shows inferior 1.
19233
4dd63d48
PA
192342015-07-30 Simon Marchi <simon.marchi@ericsson.com>
19235 Pedro Alves <palves@redhat.com>
19236
19237 PR threads/18600
19238 * gdb.threads/fork-plus-threads.c: New file.
19239 * gdb.threads/fork-plus-threads.exp: New file.
19240
d618e4c5
PP
192412015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19242
19243 * gdb.base/batch-preserve-term-settings.exp
19244 (test_terminal_settings_preserved_after_cli_exit): Use
19245 send_quit_command.
19246
1eef6428
PA
192472015-07-29 Pedro Alves <palves@redhat.com>
19248 Don Breazeal <donb@codesourcery.com>
19249
19250 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
19251 output from both inferior_spawn_id and gdb_spawn_id.
19252
7da5b897
SDJ
192532015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
19254
19255 * gdb.threads/attach-into-signal.exp (corefunc): Use
19256 with_test_prefix on nested loops, uniquefying the test messages.
19257
dac804df
SDJ
192582015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
19259
19260 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
19261 commit.
19262
06265e53
PP
192632015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19264
19265 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
19266 New proc.
19267 (test_terminal_settings_preserved_after_sigterm): New test.
19268
18206ca3
PP
192692015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19270
19271 * gdb.base/batch-preserve-term-settings.exp
19272 (test_terminal_settings_preserved_after_cli_exit): New test.
19273
90074d11
PP
192742015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19275
19276 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
19277 manipulation of saved_gdbflags.
19278 (test_terminal_settings_preserved): Remove global declaration of
19279 the unused variable pagination_prompt. Remove manipulation of
19280 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
19281 GDBFLAGS.
19282
eb1a7902
PA
192832015-07-29 Pedro Alves <palves@redhat.com>
19284
19285 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
19286
8b75dd3b
PA
192872015-07-29 Pedro Alves <palves@redhat.com>
19288
19289 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
19290 at the top.
19291
dedad4e3
PA
192922015-07-29 Pedro Alves <palves@redhat.com>
19293
19294 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
19295 (main): Call gdb_unbuffer_output.
19296 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
19297 (main): Call gdb_unbuffer_output.
19298 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
19299 (main): Call gdb_unbuffer_output.
19300 * gdb.base/call-strs.exp: Adjust to step over the
19301 gdb_unbuffer_output call.
19302 * gdb.base/catch-gdb-caused-signals.c: Include
19303 "../lib/unbuffer_output.c".
19304 (main): Call gdb_unbuffer_output.
19305 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
19306 (main): Call gdb_unbuffer_output.
19307 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
19308 (main): Call gdb_unbuffer_output.
19309 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
19310 (main): Call gdb_unbuffer_output.
19311 * gdb.base/shlib-call.exp: Adjust to step over the
19312 gdb_unbuffer_output call.
19313 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
19314 (main): Call gdb_unbuffer_output.
19315 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
19316 (main): Call gdb_unbuffer_output.
19317 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
19318 (main): Rename to ...
19319 (test): ... this.
19320 (main): Reimplement.
19321 * gdb.base/varargs.exp: Run to test instead of to main.
19322 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
19323 (main): Call gdb_unbuffer_output.
19324
58789a91
PA
193252015-07-29 Pedro Alves <palves@redhat.com>
19326
19327 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
19328 factore out from mi_continue_dprintf. For call-style dprintfs,
19329 expect dprintf output out of $inferior_spawn_id.
19330 (mi_continue_dprintf): Use mi_expect_dprintf.
19331 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
19332 (main): Call gdb_unbuffer_output.
19333
e8376742
PA
193342015-07-29 Pedro Alves <palves@redhat.com>
19335
19336 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
19337 (default_mi_gdb_start): Set inferior_spawn_id instead of
19338 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
19339 gdb_spawn_id.
19340 (mi_gdb_test): Always expect inferior output from both
19341 $inferior_spawn_id and $gdb_spawn_id.
19342
08280010
PA
193432015-07-29 Pedro Alves <palves@redhat.com>
19344
19345 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
19346 send_inferior and $inferior_spawn_id.
19347
4d30e432
PA
193482015-07-29 Pedro Alves <palves@redhat.com>
19349
19350 * gdb.gdb/complaints.exp (test_initial_complaints)
19351 (test_serial_complaints, test_short_complaints): Use
19352 gdb_test_stdio.
19353 (test_empty_complaint): Handle $inferior_spawn_id !=
19354 $gdb_spawn_id.
19355
0d30a335
PA
193562015-07-29 Pedro Alves <palves@redhat.com>
19357
19358 * gdb.base/varargs.exp: Use gdb_test_stdio.
19359
39413b29
PA
193602015-07-29 Pedro Alves <palves@redhat.com>
19361
19362 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
19363
7cb000a9
PA
193642015-07-29 Pedro Alves <palves@redhat.com>
19365
19366 * gdb.base/ending-run.exp: Use gdb_test_stdio.
19367
d7b8ac82
PA
193682015-07-29 Pedro Alves <palves@redhat.com>
19369
19370 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
19371 parameter into two new parameters, "inf_result" and "gdb_result".
19372 Expect inferior output and gdb output from $inferior_spawn_id and
19373 $gdb_spawn_id, respectively. Adjust all callers.
19374
789c3a0c
PA
193752015-07-29 Pedro Alves <palves@redhat.com>
19376
19377 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
19378 of gdb_test_sequence.
19379
77e760c3
PA
193802015-07-29 Pedro Alves <palves@redhat.com>
19381
19382 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
19383 (saw_spurious_output): Expect inferior output from
19384 $inferior_spawn_id. Use gdb_test_stdio.
19385
8396d2cd
PA
193862015-07-29 Pedro Alves <palves@redhat.com>
19387
19388 * gdb.base/dprintf.exp: Use standard_testfile. Change
19389 prepare_for_testing call.
19390 (srcfile): Don't set.
19391 (restart): New procedure.
19392 (test_dprintf): New procecure, use to continue over dprintfs.
19393 (test_call, test_agent): New procedures, tests moved here.
19394 Restart gdb and recreate dprintfs. Adjust expected output.
19395
2051d61f
PA
193962015-07-29 Pedro Alves <palves@redhat.com>
19397
19398 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
19399
452397af
PA
194002015-07-29 Pedro Alves <palves@redhat.com>
19401
19402 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
19403
8aed9555
PA
194042015-07-29 Pedro Alves <palves@redhat.com>
19405
19406 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
19407 gdb_test_stdio.
19408
188a61b4
PA
194092015-07-29 Pedro Alves <palves@redhat.com>
19410
19411 * lib/gdb.exp (gdb_test_stdio): New procedure.
19412
12264a45
PA
194132015-07-29 Pedro Alves <palves@redhat.com>
19414
19415 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
19416
23ffc893
PA
194172015-07-29 Pedro Alves <palves@redhat.com>
19418
19419 * gdb.base/call-signal-resume.exp: Remove check for
19420 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
19421 * gdb.base/unwindonsignal.exp: Likewise.
19422 * gdb.base/call-signals.c (gen_signal): Remove printf call.
19423 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
19424
65566918
PA
194252015-07-29 Pedro Alves <palves@redhat.com>
19426
19427 * gdb.base/siginfo-addr.c (pass): New function.
19428 (handler): Call it iff si_addr is correct.
19429 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
19430 Set a breakpoint at "pass" and continue to it.
19431
d60a9221
SDJ
194322015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
19433
19434 * gdb.python/py-objfile.exp: Make some tests have unique names.
19435 * gdb.python/py-pp-registration.exp: Likewise.
19436
bde40b8f
PA
194372015-07-28 Pedro Alves <palves@redhat.com>
19438
19439 * gdb.server/server-exec-info.exp: Issue a "disconnect".
19440
13e1dec8
SM
194412015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19442
19443 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
19444
da33c9a7
SM
194452015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19446
19447 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
19448
077836f7
PP
194492015-07-27 Patrick Palka <patrick@parcs.ath.cx>
19450
19451 * gdb.base/gdb-sigterm-2.exp: New test.
19452
b8cc7b2e
DE
194532015-07-25 Doug Evans <xdje42@gmail.com>
19454
19455 Revert:
19456 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19457 (workers/%.worker, build-perf): New rule.
19458 (GDB_PERFTEST_MODE): New variable.
19459 (check-perf): Use it.
19460 (clean): Clean up gdb.perf parallel build subdirs.
19461 * lib/build-piece.exp: New file.
19462 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19463 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19464 name.
19465 (standard_temp_file): Ditto.
19466 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19467 of $GDB_PARALLEL.
19468
c8bd4544
DE
194692015-07-24 Doug Evans <dje@google.com>
19470
19471 * gdb.perf/lib/perftest/utils.py: New file.
19472 * gdb.perf/gm-hello.cc: New file.
19473 * gdb.perf/gm-pervasive-typedef.cc: New file.
19474 * gdb.perf/gm-pervasive-typedef.h: New file.
19475 * gdb.perf/gm-std.cc: New file.
19476 * gdb.perf/gm-std.h: New file.
19477 * gdb.perf/gm-use-cerr.cc: New file.
19478 * gdb.perf/gm-utils.h: New file.
19479 * gdb.perf/gmonster-null-lookup.py: New file.
19480 * gdb.perf/gmonster-pervasive-typedef.py: New file.
19481 * gdb.perf/gmonster-print-cerr.py: New file.
19482 * gdb.perf/gmonster-ptype-string.py: New file.
19483 * gdb.perf/gmonster-runto-main.py: New file.
19484 * gdb.perf/gmonster-select-file.py: New file.
19485 * gdb.perf/gmonster1-null-lookup.exp: New file.
19486 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
19487 * gdb.perf/gmonster1-print-cerr.exp: New file.
19488 * gdb.perf/gmonster1-ptype-string.exp: New file.
19489 * gdb.perf/gmonster1-runto-main.exp: New file.
19490 * gdb.perf/gmonster1-select-file.exp: New file.
19491 * gdb.perf/gmonster1.cc: New file.
19492 * gdb.perf/gmonster1.exp: New file.
19493 * gdb.perf/gmonster2-null-lookup.exp: New file.
19494 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
19495 * gdb.perf/gmonster2-print-cerr.exp: New file.
19496 * gdb.perf/gmonster2-ptype-string.exp: New file.
19497 * gdb.perf/gmonster2-runto-main.exp: New file.
19498 * gdb.perf/gmonster2-select-file.exp: New file.
19499 * gdb.perf/gmonster2.cc: New file.
19500 * gdb.perf/gmonster2.exp: New file.
19501
6eab34f3
DE
195022015-07-24 Doug Evans <dje@google.com>
19503
19504 * gdb.perf/README: New file.
19505 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
19506 * lib/gen-perf-test.exp: New file.
19507
63738bfd
DE
195082015-07-24 Doug Evans <dje@google.com>
19509
19510 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
19511 (PerfTest::startup): New function.
19512 (PerfTest::run): Return result of calling body.
19513 (PerfTest::assemble): Rewrite.
19514 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
19515 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
19516 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
19517 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
19518 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
19519
7b606f95
DE
195202015-07-24 Doug Evans <dje@google.com>
19521
19522 * lib/gdb.exp (clean_restart): Make executable optional.
19523
a97b16b8
DE
195242015-07-24 Doug Evans <dje@google.com>
19525
19526 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
19527 compiler_info references.
19528 * gdb.cp/temargs.exp: Ditto.
19529 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
19530 (get_compiler_info): Early exit if already computed. Set compiler_info
19531 to "unknown" if there was a problem.
19532 (test_compiler_info): Add function comment. Call get_compiler_info.
19533
35baa57f
DE
195342015-07-24 Doug Evans <dje@google.com>
19535
19536 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19537 (workers/%.worker, build-perf): New rule.
19538 (GDB_PERFTEST_MODE): New variable.
19539 (check-perf): Use it.
19540 (clean): Clean up gdb.perf parallel build subdirs.
19541 * lib/build-piece.exp: New file.
19542 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19543 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19544 name.
19545 (standard_temp_file): Ditto.
19546 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19547 of $GDB_PARALLEL.
19548
6ebea266
DE
195492015-07-24 Doug Evans <dje@google.com>
19550
19551 * lib/future.exp (gdb_default_target_compile): New option
19552 "early_flags".
19553 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
19554 --as-needed.
19555
1e76a7e9
SDJ
195562015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
19557
19558 * gdb.base/catch-syscall.exp: Call gdb_exit before
19559 gdb_skip_xml_test.
19560
5068630a
PA
195612015-07-24 Pedro Alves <palves@redhat.com>
19562
19563 * gdb.python/py-events.exp: Accept output between the stop event
19564 and the prompt.
19565 * gdb.python/py-evsignal.exp: Likewise.
19566 * gdb.python/py-evthreads.exp: Likewise.
19567
77598427
PA
195682015-07-24 Pedro Alves <palves@redhat.com>
19569
19570 PR gdb/18717
19571 * gdb.threads/non-ldr-exit.c: New file.
19572 * gdb.threads/non-ldr-exit.exp: New file.
19573
11e6c98f
YQ
195742015-07-24 Yao Qi <yao.qi@linaro.org>
19575
19576 * gdb.server/ext-wrapper.exp: Test --wrapper option when
19577 restarting process.
19578
51aee833
YQ
195792015-07-24 Yao Qi <yao.qi@linaro.org>
19580
19581 * gdb.server/ext-restart.exp: New file.
19582
8cfe207c
YQ
195832015-07-24 Yao Qi <yao.qi@linaro.org>
19584
19585 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19586 argument options.
19587 * gdb.server/ext-wrapper.exp: New file.
19588
cc12ce38
DE
195892015-07-23 Doug Evans <dje@google.com>
19590
19591 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19592 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19593
d0d84780
PMR
195942015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19595
19596 * gdb.ada/var_arr_typedef.exp: New testcase.
19597 * gdb.ada/var_arr_typedef/pack.adb: New file.
19598 * gdb.ada/var_arr_typedef/pack.ads: New file.
19599 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19600
8b558f79
JB
196012015-07-20 Joel Brobecker <brobecker@adacore.com>
19602
19603 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19604
775a3298
JK
196052015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19606
19607 * gdb.arch/i386-biarch-core.exp: Replace istarget
19608 by "complete set gnutarget". Remove expectation for the "core-file"
19609 command.
19610
db1ff28b
JK
196112015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19612
19613 Revert the previous commit:
19614 Tests for validate symbol file using build-id.
19615
0a94970d
JK
196162015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19617
19618 Tests for validate symbol file using build-id.
19619 * gdb.base/solib-mismatch-lib.c: New file.
19620 * gdb.base/solib-mismatch-libmod.c: New file.
19621 * gdb.base/solib-mismatch.c: New file.
19622 * gdb.base/solib-mismatch.exp: New file.
19623
03346981
SL
196242015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19625
19626 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19627 nios2-*-linux*.
19628 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19629 * gdb.base/siginfo.exp: Likewise.
19630 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19631
42422cc7
PL
196322015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19633
19634 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19635 Move it to ...
19636 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19637 ... here.
19638 * gdb.trace/range-stepping.exp: Check that the target supports
19639 range stepping.
19640
cfa68bae
JK
196412015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19642
19643 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19644
8ffdba26
PA
196452015-07-14 Pedro Alves <palves@redhat.com>
19646
19647 * gdb.base/killed-outside.exp: New file.
19648 * gdb.base/killed-outside.c: New file.
19649
218a5a11
JK
196502015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19651
19652 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19653 (n at main): New.
19654 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19655
e03ed3c6
AA
196562015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19657
19658 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19659 infcall tests instead of setting up for KFAIL.
19660
485668e5
MM
196612015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19662
19663 * gdb.btrace/record_goto-step.exp: New.
19664
08464196
JK
196652015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19666
19667 PR compile/18484
19668 * gdb.compile/compile.c (struct struct_type): Add volatile to
19669 selffield's type.
19670 * gdb.compile/compile.exp
19671 (compile code struct_object.selffield = &struct_object): Skip further
19672 struct_object tests if this one xfails.
19673
bcf5c1d9
RC
196742015-07-08 Robert O'Callahan <robert@ocallahan.org>
19675
19676 PR exp/18617
19677 * gdb.trace/ax.exp: Add test.
19678
4931af25
YQ
196792015-07-07 Yao Qi <yao.qi@linaro.org>
19680
19681 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19682 instead of istarget "aarch64*-*-*".
19683 * gdb.arch/aarch64-fp.exp: Likewise.
19684 * gdb.base/float.exp: Likewise.
19685 * gdb.reverse/aarch64.exp: Likewise.
19686 * lib/gdb.exp (is_aarch64_target): New proc.
19687
9fcf688e
YQ
196882015-07-07 Yao Qi <yao.qi@linaro.org>
19689
19690 * lib/gdb.exp (is_aarch32_target): New proc.
19691 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19692 instead of "istarget "arm*-*-*"".
19693 * gdb.arch/arm-disp-step.exp: Likewise.
19694 * gdb.arch/thumb-bx-pc.exp: Likewise.
19695 * gdb.arch/thumb-prologue.exp: Likewise.
19696 * gdb.arch/thumb-singlestep.exp: Likewise.
19697 * gdb.base/disp-step-syscall.exp: Likewise.
19698 * gdb.base/float.exp: Likewise.
19699
fbd8d50d
YQ
197002015-07-07 Yao Qi <yao.qi@linaro.org>
19701
19702 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19703 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19704
71be1fdc
YQ
197052015-07-07 Yao Qi <yao.qi@linaro.org>
19706
19707 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19708 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19709 if it exists.
19710 * gdb.multi/multi-arch.exp: Likewise.
19711
3e221d36
SM
197122015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19713
19714 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19715 print.
19716
d441430b
YQ
197172015-07-07 Yao Qi <yao.qi@linaro.org>
19718
19719 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19720
06f810bd
MG
197212015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19722
19723 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19724 '[' and ']' characters.
19725
5e61e7c0
IB
197262015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19727
19728 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19729
28bf096c
PA
197302015-06-29 Pedro Alves <palves@redhat.com>
19731
19732 PR threads/18127
19733 * gdb.threads/hand-call-new-thread.c: New file.
19734 * gdb.threads/hand-call-new-thread.c: New file.
19735
ee93cd5e
KS
197362015-06-26 Keith Seitz <keiths@redhat.com>
19737 Doug Evans <dje@google.com>
19738
19739 PR 16253
19740 * gdb.cp/var-tag-2.cc: New file.
19741 * gdb.cp/var-tag-3.cc: New file.
19742 * gdb.cp/var-tag-4.cc: New file.
19743 * gdb.cp/var-tag.cc: New file.
19744 * gdb.cp/var-tag.exp: New file.
19745
fc637f04
PP
197462015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19747
19748 * gdb.base/history-duplicates.exp: New test.
19749
2e52ae68
PP
197502015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19751
19752 * gdb.base/completion.exp: Test the completion of the "focus"
19753 command.
19754
6e22494e
JK
197552015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19756
19757 * gdb.arch/amd64-prologue-skip.S: New file.
19758 * gdb.arch/amd64-prologue-skip.exp: New file.
19759
bf7b9cd9
SM
197602015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19761
19762 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19763 is_address_zero_readable check.
19764
201e8dfd
PB
197652015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19766
19767 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19768 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19769
5cd867b4
YQ
197702015-06-24 Yao Qi <yao.qi@linaro.org>
19771
19772 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19773 linux targets.
19774
4d7be007
YQ
197752015-06-24 Yao Qi <yao.qi@linaro.org>
19776
19777 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19778 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19779 * gdb.base/siginfo-thread.exp: Likewise.
19780
07fcd301
YQ
197812015-06-22 Yao Qi <yao.qi@linaro.org>
19782
19783 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19784
52042a00
YQ
197852015-06-22 Yao Qi <yao.qi@linaro.org>
19786
19787 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19788 aarch64*-*-*.
19789 (skip_hw_watchpoint_tests): Likewise.
19790
74bd41ce
PP
197912015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19792
19793 * gdb.base/gdbinit-history.exp: Test the interaction between
19794 setting GDBHISTSIZE and setting the history size via .gdbinit.
19795
bc460514
PP
197962015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19797
19798 PR gdb/16999
19799 * gdb.base/gdbhistsize-history.exp: New test.
19800
b58c513b
PP
198012015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19802
19803 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19804 with GDBHISTSIZE.
19805 * gdb.base/readline.exp: Likewise.
19806
92046791
YQ
198072015-06-17 Yao Qi <yao.qi@linaro.org>
19808
19809 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19810 line.
19811
2093d2d3
PP
198122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19813
19814 * gdb.base/gdbinit-history.exp: Add test case to check that
19815 an unlimited history file does not get truncated on exit.
19816
e6c693af
AA
198172015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19818
19819 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19820 (VECTOR): New macro. Use it...
19821 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19822 ...for these typedefs.
19823 (int8, char1, int1, double1): New typedefs.
19824 (struct just_int2, struct two_int2): New structures.
19825 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19826 (add_structvecs, add_singlevecs): New functions.
19827 (main): Call add_some_intvecs twice.
19828 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19829 the compile and exit upon failure. Try compiling for the "native"
19830 architecture. Test inferior function calls with vector arguments
19831 and vector return value handling with "finish" and "return".
19832
c74f7d1c
JT
198332015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19834
19835 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19836 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19837 PE file.
19838 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19839
98aa42ee
AT
198402015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19841
19842 PR breakpoints/16465
19843 * gdb.mi/mi-dprintf-pending.c: New file.
19844 * gdb.mi/mi-dprintf-pending.exp: New test.
19845 * gdb.mi/mi-dprintf-pendshr.c: New file.
19846
7d73c23c 198472015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 19848 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
19849
19850 * gdb.arch/i386-mpx-map.c: New file.
19851 * gdb.arch/i386-mpx-map.exp: New File.
19852
198532015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19854
19855 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19856 * gdb.arch/i386-mpx.exp: Indentation fixed.
19857
198582015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19859
19860 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19861 function and improved indentation.
19862 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19863 gdb_test_multiple. Added additional tests to skip the test.
19864
198652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19866
19867 * gdb.arch/i386-avx512.c: Change path in include file.
19868 * gdb.arch/i386-avx512.exp: Change include dir path
19869 compilation flag.
19870 * gdb.arch/i386-mpx.c: Change path in include file.
19871 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19872 flag.
19873
d5eba19a
JK
198742015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19875
19876 * gdb.compile/compile-print.exp (compile print *vararray@3)
19877 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19878
7f361056
JK
198792015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19880
19881 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19882 (do not keep jit in memory): ... this.
19883 (expect 5): Change it to ...
19884 (expect no 5): ... this.
19885
3b462ec2
SM
198862015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19887
19888 PR gdb/15564
19889 * gdb.mi/mi-detach.exp: New file.
19890
e0619de6
JK
198912015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19892
19893 PR symtab/18392
19894 * gdb.arch/amd64-tailcall-self.S: New file.
19895 * gdb.arch/amd64-tailcall-self.c: New file.
19896 * gdb.arch/amd64-tailcall-self.exp: New file.
19897
e970cb34
DB
198982015-05-28 Don Breazeal <donb@codesourcery.com>
19899
19900 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19901 tests for remote targets by checking is_target_gdbserver.
19902
b2e2f908
DE
199032015-05-27 Doug Evans <dje@google.com>
19904
19905 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19906 * gdb.dwarf2/opaque-type-lookup.c: New file.
19907 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19908
82c7be31
DE
199092015-05-26 Doug Evans <dje@google.com>
19910
19911 * gdb.cp/iostream.cc: New file.
19912 * gdb.cp/iostream.exp: New file.
19913
b4f54984
DE
199142015-05-26 Doug Evans <dje@google.com>
19915
19916 * gdb.dwarf2/dw2-op-call.exp: Update.
19917 * gdb.dwarf2/dw4-sig-types.exp: Update.
19918 * gdb.dwarf2/implptr.exp: Update.
19919 * gdb.mi/mi-cmd-param-changed.exp: Update.
19920
4ea6efe9
DE
199212015-05-26 Doug Evans <dje@google.com>
19922
19923 * gdb.python/py-lazy-string.c: New file.
19924 * gdb.python/py-lazy-string.exp: New file.
19925 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19926 (main): Update. Add estring3.
19927 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19928 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19929
f6bb7db3
YQ
199302015-05-26 Omair Javaid <omair.javaid@linaro.org>
19931 Yao Qi <yao.qi@linaro.org>
19932
19933 * gdb.reverse/aarch64.c: New.
19934 * gdb.reverse/aarch64.exp: New.
19935
a81bfbd0
OJ
199362015-05-26 Omair Javaid <omair.javaid@linaro.org>
19937
25d49b86
PA
19938 * lib/gdb.exp (supports_process_record): Return true for
19939 aarch64*-linux*.
a81bfbd0
OJ
19940 (supports_reverse): Likewise.
19941
158bf1b4
PP
199422015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19943
19944 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19945 Use with_test_prefix.
19946
a0145030
AB
199472015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19948
19949 * gdb.base/completion.exp: Add test for completion of layout
19950 names.
19951
ebe3b578
AB
199522015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19953
19954 * lib/gdb.exp (skip_tui_tests): New proc.
19955 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19956
84204ed7
PA
199572015-05-19 Pedro Alves <palves@redhat.com>
19958
19959 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19960 Save the whole env array instead of just HOME. Unset HISTSIZE in
19961 the environment while testing. Restore whole environment
19962 afterwards.
19963
37442ce1
DE
199642015-05-16 Doug Evans <xdje42@gmail.com>
19965
19966 * gdb.guile/scm-ports.c: New file.
19967 * gdb.guile/scm-ports.exp: Add memory port tests.
19968
36de76f9
JK
199692015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19970
19971 * gdb.compile/compile-print.c: New file.
19972 * gdb.compile/compile-print.exp: New file.
19973
3a9558c4
JK
199742015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19975
19976 * gdb.compile/compile-ops.exp: Cast param to void.
19977 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19978 (compile code struct_object.selffield = &struct_object): Add xfail.
19979
aa715135
JG
199802015-05-15 Joel Brobecker <brobecker@adacore.com>
19981
19982 * gdb.ada/arr_enum_with_gap: New testcase.
19983
931e5bc3
JG
199842015-05-15 Joel Brobecker <brobecker@adacore.com>
19985
19986 * gdb.ada/byte_packed_arr: New testcase.
19987
9cd4d857
JB
199882015-05-15 Joel Brobecker <brobecker@adacore.com>
19989
19990 * gdb.ada/pckd_neg: New testcase.
19991
ebfd00d2
PP
199922015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19993
19994 PR gdb/17820
19995 * gdb.base/gdbinit-history.exp: New test.
19996 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19997 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19998
4c082a81
SC
199992015-05-09 Siva Chandra Reddy <sivachandra@google.com>
20000
20001 * gdb.python/py-xmethods.cc: Enhance test case.
20002 * gdb.python/py-xmethods.exp: New tests.
20003 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
20004 function.
20005 (B_indexoper): Likewise.
20006 (global_dm_list) : Add new xmethod worker functions.
20007
f7797074
SDJ
200082015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
20009
20010 * gdb.base/coredump-filter.exp: Correctly unset
20011 "coredump_var_addr" array.
20012
a4674e4e
PA
200132015-05-08 Pedro Alves <palves@redhat.com>
20014
20015 * gdb.server/non-existing-program.exp: Unset spawn_id.
20016
df2eb078
SC
200172015-05-08 Siva Chandra Reddy <sivachandra@google.com>
20018
20019 PR python/18291
20020 * gdb.python/py-xmethods.exp: Add tests.
20021
422349a3
YQ
200222015-05-08 Yao Qi <yao.qi@linaro.org>
20023
20024 PR gdb/18208
20025 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
20026 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
20027 function set_coredump_filter, and remove remote_exec call.
20028 Remove argument ipid. Callers update.
20029 (top level): Don't get inferior's PID.
20030
63fc80ce
AA
200312015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
20032
20033 * gdb.base/watch_thread_num.exp: Skip test on targets without
20034 access watchpoints.
20035
80ad801e
PA
200362015-05-06 Pedro Alves <palves@redhat.com>
20037
20038 PR server/18081
20039 * gdb.server/non-existing-program.exp: New file.
20040
0fa7fe50
JB
200412015-05-05 Joel Brobecker <brobecker@adacore.com>
20042
20043 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
20044
3ea89b92
PMR
200452015-05-05 Joel Brobecker <brobecker@adacore.com>
20046
20047 * gdb.ada/out_of_line_in_inlined: New testcase.
20048
87b8eff0
JB
200492015-05-05 Joel Brobecker <brobecker@adacore.com>
20050
20051 * gdb.ada/var_rec_arr: New testcase.
20052
5fccc635
YQ
200532015-04-30 Yao Qi <yao.qi@linaro.org>
20054
20055 * gdb.base/break-idempotent.exp: If
20056 skip_hw_watchpoint_multi_tests returns true, skip the tests
20057 on "rwatch" and "awatch".
20058
42d38f42
YQ
200592015-04-30 Yao Qi <yao.qi@linaro.org>
20060
20061 * gdb.base/relativedebug.exp: Invoke gdb command
20062 "info sharedlibrary", and if libc.so doesn't have debug info,
20063 skip the test.
20064
2ce1cdbf
DE
200652015-04-29 Doug Evans <dje@google.com>
20066
20067 * gdb.python/py-xmethods.exp: Add ptype tests.
20068 * gdb.python/py-xmethods.py (E_method_char_worker): Add
20069 get_result_type method.
20070
f24a38c5
LM
200712015-04-29 Luis Machado <lgustavo@codesourcery.com>
20072
20073 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
20074 the target does not support hardware watchpoints.
20075
ecbf2b3c
LM
200762015-04-29 Luis Machado <lgustavo@codesourcery.com>
20077
20078 * gdb.base/break-always.exp: Abort testing if writing to memory
20079 causes an error.
20080
34f5f757
DE
200812015-04-28 Doug Evans <dje@google.com>
20082
20083 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
20084 * gdb.python/py-pp-registration.exp: ... here. New file.
20085 * gdb.python/py-pp-registration.c: New file.
20086 * gdb.python/py-pp-registration.py: New file.
20087
69b4374a
DE
200882015-04-28 Doug Evans <dje@google.com>
20089
20090 * gdb.python/py-bad-printers.c: New file.
20091 * gdb.python/py-bad-printers.py: New file.
20092 * gdb.python/py-bad-printers.exp: New file.
20093
59fb7612
SS
200942015-04-28 Sasha Smundak <asmundak@google.com>
20095
20096 * gdb.python/py-type.exp: New test.
20097
2631b16a
AW
200982015-04-28 Andy Wingo <wingo@igalia.com>
20099
20100 * gdb.python/py-parameter.exp:
20101 * gdb.guile/scm-parameter.exp: Escape the path that we are
20102 matching against, as it might contain characters that are special
20103 to regular expressions.
20104
460efde1
JB
201052015-04-27 Joel Brobecker <brobecker@adacore.com>
20106
20107 * gdb.ada/rec_comp: New testcase.
20108
2d369d8e
SDJ
201092015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
20110
20111 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
20112 before using it.
20113
cf75d6c3
AB
201142015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
20115
20116 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
20117 new tests for verilog output.
20118
8dbe7ca5
YQ
201192015-04-24 Yao Qi <yao.qi@linaro.org>
20120
20121 * boards/remote-gdbserver-on-localhost.exp: New file.
20122
4ef9fb2f
PA
201232015-04-23 Pedro Alves <palves@redhat.com>
20124
20125 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
20126 $inferior_spawn_id instead of $inferior_spawn_id directly. On
20127 "end of file", remove $inferior_spawn_id from the indirect list.
20128
0a803169
PA
201292015-04-23 Pedro Alves <palves@redhat.com>
20130
20131 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
20132
749ef8f8
PA
201332015-04-23 Pedro Alves <palves@redhat.com>
20134
20135 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
20136 on $any_spawn_id instead of only on $gdb_spawn_id.
20137
8aae4344
PM
201382015-04-21 Pierre Muller <muller@sourceware.org>
20139
20140 PR pascal/17815
20141 * lib/pascal.exp (gpc_compile): Add new option "class".
20142 (fpc_compile): Likewise.
20143 * gdb.pascal/case-insensitive-symbols.pas: New file.
20144 * gdb.pascal/case-insensitive-symbols.exp: New file.
20145
1586c8fb
GB
201462015-04-20 Gary Benson <gbenson@redhat.com>
20147
20148 * gdb.base/attach.exp: Fix three extended remote failures.
20149
1b6e6f5c
GB
201502015-04-17 Gary Benson <gbenson@redhat.com>
20151
20152 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
20153 the main executable over the remote protocol.
20154
e797481d
PA
201552015-04-16 Pedro Alves <palves@redhat.com>
20156
20157 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
20158 a new gdbserver if gdbserver_reconnect_p is set.
20159
1ca99c42
PA
201602015-04-16 Pedro Alves <palves@redhat.com>
20161
20162 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
20163 is set, don't exit gdbserver.
20164
af9fd6f8
AA
201652015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
20166
20167 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
20168 appropriate .insn, such that an older assembler can be used.
20169 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
20170 the z/Architecture instruction set on 31-bit targets as well.
20171
04ff1e61
AA
201722015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
20173
20174 * gdb.go/handcall.exp: Remove all logic related to the first
20175 breakpoint and rely on go_runto_main instead.
20176 * gdb.go/strings.exp: Likewise.
20177 * gdb.go/unsafe.exp: Likewise.
20178 * gdb.go/hello.exp: Likewise. Also rename the remaining
20179 breakpoint marker to "breakpoint 1".
20180 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
20181 * gdb.go/strings.go: Likewise.
20182 * gdb.go/unsafe.go: Likewise.
20183 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
20184 "set breakpoint 2 here" and rename the remaining breakpoint marker
20185 to "breakpoint 1".
20186
40d2f8d6
SM
201872015-04-15 Simon Marchi <simon.marchi@ericsson.com>
20188
20189 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
20190 if itertools.imap is not present.
20191 * gdb.python/py-objfile.exp: Add parentheses.
20192 * gdb.python/py-type.exp: Same.
20193 * gdb.python/py-unwind-maint.py: Same.
20194
8cbc97c6
YQ
201952015-04-15 Yao Qi <yao.qi@linaro.org>
20196
20197 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
20198 of ":$ptr_size" and set its form explicitly.
20199
45fd756c
YQ
202002015-04-15 Pedro Alves <palves@redhat.com>
20201 Yao Qi <yao.qi@linaro.org>
20202
20203 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
20204 timeout by factor of 4.
20205 (test_regular_watch): Likewise.
20206 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
20207 * gdb.reverse/sigall-reverse.exp: Likewise.
20208 * gdb.reverse/until-precsave.exp: Likewise.
20209 * lib/gdb.exp (with_timeout_factor): New proc.
20210 (gdb_expect): Move some code to ...
20211 (get_largest_timeout): ... here. New procedure.
20212
9e811bc3
LM
202132015-04-14 Luis Machado <lgustavo@codesourcery.com>
20214
20215 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
20216
0ff6fcb2
LM
202172015-04-13 Luis Machado <lgustavo@codesourcery.com>
20218
20219 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
20220 to write to the .text section.
20221
7578d5f7
LM
202222015-04-13 Luis Machado <lgustavo@codesourcery.com>
20223
20224 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
20225 Handle the case of targets that do not provide PID information.
20226
2efe15c4
YQ
202272015-04-13 Yao Qi <yao.qi@linaro.org>
20228
20229 * lib/gdbserver-support.exp (gdb_exit): Catch exception
20230 and use expect instead of gdb_expect.
20231
8cd8f2f8
SDJ
202322015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
20233
20234 * gdb.base/coredump-filter.exp: Rename variable "addr" to
20235 "coredump_var_addr" to avoid naming conflict with other testcases.
20236
9ee41772
PA
202372015-04-10 Pedro Alves <palves@redhat.com>
20238
20239 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
20240 gdb_test_sequence and gdb_assert.
20241
07473109
PA
202422015-04-10 Pedro Alves <palves@redhat.com>
20243
20244 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
20245 test messages that don't include the breakpoint address.
20246
de3db44c
YQ
202472015-04-10 Yao Qi <yao.qi@linaro.org>
20248
20249 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
20250 false for some offset and width combinations which aren't
20251 supported by linux kernel.
20252
c79d856c
PA
202532015-04-10 Pedro Alves <palves@redhat.com>
20254
20255 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
20256 procedure, factored out from ...
20257 (top level): ... here. Add "set displaced-stepping" testing axis.
20258 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
20259 parameter "displaced". Use it.
20260 (top level): Use foreach and add "set displaced-stepping" testing
20261 axis.
20262
ebc90b50
PA
202632015-04-10 Pedro Alves <palves@redhat.com>
20264
20265 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
20266 Remove comment.
20267 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
20268 both the address of the instruction that triggers the watchpoint
20269 and the address of the instruction immediately after, and use
20270 those addresses for the test. Fix comment.
20271
8f572e5c
PA
202722015-04-10 Pedro Alves <palves@redhat.com>
20273
20274 * gdb.base/sigstep.exp (breakpoint_to_handler)
20275 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
20276 Test "backtrace" in handler.
20277 (breakpoint_over_handler): New parameter 'displaced'. Use it.
20278 (top level): Add new "displaced" test axis to
20279 breakpoint_to_handler, breakpoint_to_handler_entry and
20280 breakpoint_over_handler.
20281
8d707a12
PA
202822015-04-10 Pedro Alves <palves@redhat.com>
20283
20284 PR gdb/18216
20285 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
20286
ef713951
YQ
202872015-04-10 Yao Qi <yao.qi@linaro.org>
20288
20289 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
20290 (test_add_rn_pc): New function.
20291 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
20292 (top level): Invoke test_add_rn_pc.
20293
906d60cf
PA
202942015-04-10 Pedro Alves <palves@redhat.com>
20295
20296 PR gdb/13858
20297 * gdb.base/step-over-no-symbols.exp: New file.
20298
f2983cc3
AW
202992015-04-09 Andy Wingo <wingo@igalia.com>
20300
20301 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
20302 after the Python tests.
20303
6d62641c
SDJ
203042015-04-08 Keith Seitz <keiths@redhat.com>
20305
20306 PR python/16699
20307 * gdb.python/py-completion.exp: New tests for completion.
20308 * gdb.python/py-completion.py (CompleteLimit1): New class.
20309 (CompleteLimit2): Likewise.
20310 (CompleteLimit3): Likewise.
20311 (CompleteLimit4): Likewise.
20312 (CompleteLimit5): Likewise.
20313 (CompleteLimit6): Likewise.
20314 (CompleteLimit7): Likewise.
20315
f3770638
PA
203162015-04-08 Pedro Alves <palves@redhat.com>
20317
20318 PR gdb/18214
20319 PR gdb/18216
20320 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
20321 function.
20322 (main): Install it as SIGUSR1 handler.
20323 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
20324 parameter. Always use "setup" as prefix. Toggle "set
20325 displaced-stepping" off/on depending on global. Don't switch to
20326 thread 1 here.
20327 (top level): Add displaced stepping "off/on" test axis. Update
20328 "setup" calls. Wrap each subtest with with_test_prefix. Test
20329 continuing with a queued signal in each thread.
20330
4496bed7
PA
203312015-04-08 Pedro Alves <palves@redhat.com>
20332
20333 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
20334 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
20335 gdb_breakpoint instead of gdb_test that doesn't expect anything.
20336 Return early if running to main fails.
20337 * gdb.trace/while-stepping.exp: Likewise.
20338
b97fde92
PA
203392015-04-07 Pedro Alves <palves@redhat.com>
20340
20341 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
20342 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
20343 interact with inferior program.
20344
f71c18e7
PA
203452015-04-07 Pedro Alves <palves@redhat.com>
20346
20347 * lib/gdb.exp (inferior_spawn_id): New global.
20348 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
20349 spawn id after processing the user code.
20350 (default_gdb_start): Set inferior_spawn_id.
20351 (send_inferior): New procedure.
20352 * lib/gdbserver-support.exp (gdbserver_start): Set
20353 inferior_spawn_id.
20354 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
20355
6423214f
PA
203562015-04-07 Pedro Alves <palves@redhat.com>
20357
20358 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
20359 * lib/gdbserver-support.exp (gdbserver_start): Make
20360 $server_spawn_id global.
20361 (gdbserver_start): Don't wait for gdbserver's spawn id with
20362 expect_background.
20363 (close_gdbserver): New procedure.
20364 (gdb_exit): Rename the default version and reimplement.
20365
71c0ee8c
PA
203662015-04-07 Pedro Alves <palves@redhat.com>
20367
72f4393d 20368 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
20369 append the substituted item, not the original item.
20370
203bc29b
PA
203712015-04-07 Pedro Alves <palves@redhat.com>
20372
20373 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
20374 gdb_expect.
20375
508a3ddf
PA
203762015-04-07 Pedro Alves <palves@redhat.com>
20377
20378 * gdb.base/interrupt.exp: Don't handle the case of the inferior
20379 output appearing once only.
20380
9f6dbe2b
PA
203812015-04-07 Pedro Alves <palves@redhat.com>
20382
20383 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
20384 that doesn't expect anything. Return early if running to main
20385 fails.
20386
337532fa
YQ
203872015-04-07 Yao Qi <yao.qi@linaro.org>
20388
20389 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
20390 (child_function): Call alarm.
20391 (main): Move call to alarm into the loop.
20392 * gdb.threads/non-stop-fair-events.exp: Build program with
20393 -DTIMEOUT=$timeout.
20394
01b622d4
DE
203952015-04-06 Doug Evans <xdje42@gmail.com>
20396
20397 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
20398 Fix dest parameter to board_info.
20399 (fpc_compile): Ditto.
20400 (gdb_compile_pascal): Rename dest arg to destfile.
20401
961f4160
PMR
204022015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
20403
20404 * gdb.ada/funcall_ref.exp: New file.
20405 * gdb.ada/funcall_ref/foo.adb: New file.
20406
cafda597
YQ
204072015-04-02 Yao Qi <yao.qi@linaro.org>
20408
20409 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
20410 is remote.
20411
fed040c6
GB
204122015-04-02 Gary Benson <gbenson@redhat.com>
20413
20414 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
20415
d11916aa
SS
204162015-04-01 Sasha Smundak <asmundak@google.com>
20417
20418 * gdb.python/py-unwind-maint.c: New file.
20419 * gdb.python/py-unwind-maint.exp: New test.
20420 * gdb.python/py-unwind-maint.py: New file.
20421 * gdb.python/py-unwind.c: New file.
20422 * gdb.python/py-unwind.exp: New test.
20423 * gdb.python/py-unwind.py: New test.
20424
a1471180
PA
204252015-04-01 Pedro Alves <palves@redhat.com>
20426
20427 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
20428 to fail instead of non-existent $test.
20429
0bbeccb1
PA
204302015-04-01 Pedro Alves <palves@redhat.com>
20431
20432 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
20433 GDBFLAGS if not empty.
20434
3c724c8c
PMR
204352015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
20436
20437 * gdb.ada/complete.exp: Remove "multi_line".
20438 * gdb.ada/info_exc.exp: Remove "multi_line".
20439 * gdb.ada/packed_tagged.exp: Remove "multi_line".
20440 * gdb.ada/ptype_field.exp: Remove "multi_line".
20441 * gdb.ada/sym_print_name.exp: Remove "multi_line".
20442 * gdb.ada/tagged.exp: Remove "multi_line".
20443 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
20444 [multi_line ...]
20445 * gdb.btrace/delta.exp: Likewise.
20446 * gdb.btrace/exception.exp: Likewise.
20447 * gdb.btrace/function_call_history.exp: Likewise.
20448 * gdb.btrace/instruction_history.exp: Likewise.
20449 * gdb.btrace/nohist.exp: Likewise.
20450 * gdb.btrace/record_goto.exp: Likewise.
20451 * gdb.btrace/segv.exp: Likewise.
20452 * gdb.btrace/stepi.exp: Likewise.
20453 * gdb.btrace/tailcall.exp: Likewise.
20454 * gdb.btrace/unknown_functions.exp: Likewise.
20455 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
20456 * lib/gdb.exp: Add the "multi_line" helper.
20457
4eec2deb
PA
204582015-04-01 Pedro Alves <palves@redhat.com>
20459
20460 * gdb.threads/tid-reuse.c: New file.
20461 * gdb.threads/tid-reuse.exp: New file.
20462
df8411da
SDJ
204632015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
20464
20465 PR corefiles/16092
20466 * gdb.base/coredump-filter.c: New file.
20467 * gdb.base/coredump-filter.exp: Likewise.
20468
6ef37366
PM
204692015-03-27 Petr Machata <pmachata@redhat.com>
20470
20471 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
20472 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
20473 (Dwarf::assemble): Initialize them.
20474 (Dwarf::lines): New function.
20475
7ec911b0
JT
204762015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
20477
20478 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
20479 SYMBOL_PREFIX for x86_64-*-cygwin.
20480
ff908ebf
AW
204812015-03-26 Andy Wingo <wingo@igalia.com>
20482
20483 PR symtab/18148
20484 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
20485 const_value but not a location.
20486 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
20487 location defined in non-main CUs are visible.
20488
6d5f0679
YQ
204892015-03-26 Yao Qi <yao.qi@linaro.org>
20490
20491 PR testsuite/18139
20492 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
20493 Add a line number entry for the same line.
20494 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
20495 Add a line number entry for the same line.
20496
2898689b
YQ
204972015-03-26 Yao Qi <yao.qi@linaro.org>
20498
20499 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
20500 .int 0.
20501 (func): Likewise. Add .Lfunc_1 label.
20502 Use .Lfunc_1 label.
20503 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
20504 .int 0.
20505 (func): Likewise.
20506 Use .Lfunc_1 label.
20507
85180498
YQ
205082015-03-26 Yao Qi <yao.qi@linaro.org>
20509
20510 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
20511 Call gdb_compile instead to compile each .s files without debug
20512 information.
20513
8aa08a8d
YQ
205142015-03-26 Yao Qi <yao.qi@linaro.org>
20515
20516 * gdb.base/savedregs.exp (process_saved_regs): Make
20517 "Saved registers:" optional in the pattern.
20518
66849923
MM
205192015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20520
20521 * gdb.btrace/next.exp: Merged into step.exp.
20522 * gdb.btrace/finish.exp: Merged into step.exp.
20523 * gdb.btrace/nexti.exp: Merged into stepi.exp.
20524 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
20525 "record goto" and checking the exact replay position.
20526 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
20527 check for "Recording format" in "info record" output.
20528 * gdb.btrace/record_goto.exp: Choose test file based on target.
20529 * gdb.btrace/x86-record_goto.S: Renamed into ...
20530 * gdb.btrace/x86_64-record_goto.S: ... this.
20531 * gdb.btrace/i686-record_goto.S: New.
20532 * gdb.btrace/x86-tailcall.S: Renamed into ...
20533 * gdb.btrace/x86_64-tailcall.S: ... this.
20534 * gdb.btrace/i686-tailcall.S: New.
20535 * gdb.btrace/x86-tailcall.c: Renamed into ...
20536 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
20537 separate statements. Update test.
20538 * gdb.btrace/delta.exp: Use record_goto.c as test file.
20539 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
20540 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
20541 * gdb.btrace/tailcall.exp: Choose test file based on target.
20542 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
20543
11cc1b74
MM
205442015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20545
20546 * gdb.btrace/exception.exp: Increase BTS buffer size.
20547
a25d8bf9
PA
205482015-03-24 Pedro Alves <palves@redhat.com>
20549
20550 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
20551
856e7dd6
PA
205522015-03-24 Pedro Alves <palves@redhat.com>
20553
20554 * gdb.threads/schedlock.exp (test_step): No longer expect that
20555 "set scheduler-locking step" with "next" over a function call runs
20556 threads unlocked.
20557
ad235a41
AT
205582015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20559
20560 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
20561
15630549
AT
205622015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20563
20564 PR breakpoints/16466
20565 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
20566 * gdb.mi/mi-pending.c (thread_func): New function.
20567 (int main): Add threading support required.
20568 * gdb.mi/mi-pending.exp: Add tests for this issue.
20569 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
20570 (pendfunc2): Remove stdio dependency.
20571 * gdb.mi/mi-pendshr2.c: New file.
20572
693dca06
KS
205732015-03-23 Keith Seitz <keiths@redhat.com>
20574
20575 * gdb.linespec/keywords.c: New file.
20576 * gdb.linespec/keywords.exp: New file.
20577
7e993ebf
KS
205782015-03-23 Keith Seitz <keiths@redhat.com>
20579
20580 PR gdb/18021
20581 * gdb.dwarf2/staticvirtual.exp: New test.
20582
bc23328c
JK
205832015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20584
20585 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20586 * README: Remove HP-UX and gdb.hp.
20587 (configuration):
20588 * configure: Regenerate.
20589 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20590 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20591 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20592 gdb.hp/gdb.defects/Makefile.
20593 * gdb.hp/Makefile.in: File deleted.
20594 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20595 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20596 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20597 * gdb.hp/gdb.aCC/run.c: File deleted.
20598 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20599 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20600 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20601 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20602 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20603 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20604 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20605 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20606 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20607 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20608 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20609 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20610 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20611 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20612 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20613 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20614 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20615 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20616 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20617 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20618 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20619 * gdb.hp/gdb.compat/average.c: File deleted.
20620 * gdb.hp/gdb.compat/sum.c: File deleted.
20621 * gdb.hp/gdb.compat/xdb.c: File deleted.
20622 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20623 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20624 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20625 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20626 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20627 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20628 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20629 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20630 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20631 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20632 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20633 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20634 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20635 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20636 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20637 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20638 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20639 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20640 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20641 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20642 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20643 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20644 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20645 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20646 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20647 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20648 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20649 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20650 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20651 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20652 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20653 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20654 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20655 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20656 * gdb.hp/tools/odump: File deleted.
20657
8bf3b159
PA
206582015-03-19 Pedro Alves <palves@redhat.com>
20659
20660 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20661 (saw_thread_3): New globals.
20662 (top level): Increment them when an event for the corresponding
20663 thread is seen.
20664 (no thread starvation): New test.
20665
eb54c8bf
PA
206662015-03-19 Pedro Alves <palves@redhat.com>
20667
20668 * gdb.threads/continue-pending-status.c: New file.
20669 * gdb.threads/continue-pending-status.exp: New file.
20670
32d2e5d6
PA
206712015-03-18 Pedro Alves <palves@redhat.com>
20672
20673 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20674 Use gdb_is_target_remote instead of is_remote. Use
20675 gdb_test_multiple instead of gdb_expect. Exit early if
20676 gdb_test_multiple hits its internal matches. Tighten stepi tests
20677 expected output. Fail on exit with any signal, instead of just
20678 SIGILL.
20679
f68f11b7
YQ
206802015-03-18 Yao Qi <yao.qi@linaro.org>
20681
20682 PR tdep/18107
20683 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20684 variable.
20685 * gdb.base/catch-syscall.exp: Don't skip it on
20686 aarch64*-*-linux* target. Remove elements in all_syscalls.
20687 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20688 target.
20689 (setup_all_syscalls): New proc.
20690
ca5fd19b
YQ
206912015-03-16 Yao Qi <yao.qi@linaro.org>
20692
20693 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20694 (top level): Skip tests if valid_addr_p returns false for
20695 $cmd1 or $cmd2.
20696
85642ba0
AW
206972015-03-11 Andy Wingo <wingo@igalia.com>
20698
20699 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20700
e03f9645
YQ
207012015-03-11 Yao Qi <yao.qi@linaro.org>
20702
20703 * gdb.base/catch-syscall.exp: Fix typo in comments.
20704
5d0962b2
YQ
207052015-03-11 Yao Qi <yao.qi@linaro.org>
20706
20707 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20708
b2df3cef
PA
207092015-03-09 Pedro Alves <palves@redhat.com>
20710
20711 * dg-extract-results.py: Delete.
20712
ef878e53
PA
207132015-03-09 Pedro Alves <palves@redhat.com>
20714
20715 Merge dg-extract-results.sh from GCC upstream (r218843).
20716
20717 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20718 * dg-extract-results.sh: Use --text with grep to avoid issues with
20719 binary files. Fall back to cat -v, if that doesn't work.
20720
9494d219
PA
207212015-03-05 Pedro Alves <palves@redhat.com>
20722
20723 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20724
a8d9763a
SM
207252015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20726
20727 * lib/mi-support.exp (mi_expect_interrupt): Accept
20728 alternative event for when in all-stop mode.
20729
be9957b8
PA
207302015-03-04 Pedro Alves <palves@redhat.com>
20731
20732 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20733
d57be0f4 207342015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
20735
20736 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20737
c214c7cf
AA
207382015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20739
20740 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20741 regexps for GDB's current line display, accept a hex address
20742 preceding the line number.
20743
6d74a497
AA
207442015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20745
20746 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20747 the 'arch1' variable for "s390*-linux*" targets.
20748
511aee7c
PA
207492015-03-04 Pedro Alves <palves@redhat.com>
20750
20751 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20752 (main): Pass missing retval argument to pthread_join call.
20753
95e50b27
PA
207542015-03-02 Pedro Alves <palves@redhat.com>
20755
20756 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20757 (top level): Call do_test with non-stop as well.
20758
28054d69
PA
207592015-03-02 Pedro Alves <palves@redhat.com>
20760
20761 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20762 -1.
20763
4fa5d7b4
AA
207642015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20765
20766 * gdb.arch/s390-vregs.exp: New test.
20767 * gdb.arch/s390-vregs.S: New file.
20768
97c18565
PA
207692015-02-27 Pedro Alves <palves@redhat.com>
20770
20771 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20772 call to catch_command_errors.
20773 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20774 catch_command_errors.
20775
a37bfa30
PA
207762015-02-27 Pedro Alves <palves@redhat.com>
20777
20778 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20779 "true" for boolean result.
20780 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20781 prototype of main.
20782
6f98576f
PA
207832015-02-27 Pedro Alves <palves@redhat.com>
20784
20785 * lib/unbuffer_output.c: New file.
20786 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20787 (main): Call gdb_unbuffer_output.
20788
eba5ab56
YQ
207892015-02-27 Yao Qi <yao.qi@linaro.org>
20790
20791 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20792 target.
20793
0def5aaa
DE
207942015-02-26 Doug Evans <dje@google.com>
20795
20796 * gdb.cp/class2.cc (Dbase, D): New classes.
20797 (main): New local delta.
20798 * gdb.cp/class2.exp: Test printing delta.
20799 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20800 (dynbar): New global.
20801 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20802
081a1c2c
JK
208032015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20804
20805 * gdb.compile/compile-ifunc.c: New file.
20806 * gdb.compile/compile-ifunc.exp: New file.
20807
2f41223f
AT
208082015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20809
20810 * gdb.base/structs.exp: Check for correct struct on finish.
20811
03eddd80
YQ
208122015-02-26 Yao Qi <yao.qi@linaro.org>
20813
20814 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20815 is zero.
20816
80c57053
JK
208172015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20818
20819 * gdb.arch/cordic.ko.bz2: New file.
20820 * gdb.arch/cordic.ko.debug.bz2: New file.
20821 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20822
21613c12
YQ
208232015-02-25 Yao Qi <yao.qi@linaro.org>
20824
20825 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20826 aarch64*-*-* target.
20827
d8b901ed
PA
208282015-02-23 Pedro Alves <palves@redhat.com>
20829
20830 * lib/gdb.exp (delete_breakpoints): Rewrite using
20831 gdb_test_multiple.
20832
e5b85ead
PA
208332015-02-23 Pedro Alves <palves@redhat.com>
20834
20835 * gdb.base/info-os.c: Include stdlib.h.
20836
85c3a371
DE
208372015-02-22 Doug Evans <xdje42@gmail.com>
20838
20839 PR symtab/17855
20840 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20841 is read after symbols have been re-read.
20842 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20843 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20844
96553a0c
DE
208452015-02-21 Doug Evans <dje@google.com>
20846
20847 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20848
97a0c697
JK
208492015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20850
20851 PR corefiles/17808
20852 * gdb.arch/i386-biarch-core.core.bz2: New file.
20853 * gdb.arch/i386-biarch-core.exp: New file.
20854
a47cd6e9
PA
208552015-02-21 Pedro Alves <palves@redhat.com>
20856
20857 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20858 runto_main fails.
20859
c5facdc4
PA
208602015-02-20 Pedro Alves <palves@redhat.com>
20861
20862 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20863 info probes.
20864
2db9a427
PA
208652015-02-20 Pedro Alves <palves@redhat.com>
20866
20867 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20868
60fb7e9e
PA
208692015-02-20 Pedro Alves <palves@redhat.com>
20870
20871 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20872 clean_restart before gdb_target_supports_trace.
20873
5c5019c2
PA
208742015-02-20 Pedro Alves <palves@redhat.com>
20875
20876 PR threads/18006
20877 * gdb.threads/clone-thread_db.c: New file.
20878 * gdb.threads/clone-thread_db.exp: New file.
20879
c9587f88
AT
208802015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20881
20882 PR breakpoints/16812
20883 * gdb.base/catch-gdb-caused-signals.c: New file.
20884 * gdb.base/catch-gdb-caused-signals.exp: New file.
20885
f6a88844
JM
208862015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20887
20888 * configure: Regenerated.
20889 * configure.ac: Use GDB_AC_TRANSFORM.
20890 * aclocal.m4: sinclude ../transform.m4.
20891
497c491b
JM
208922015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20893
20894 * lib/dtrace.exp: New file.
20895 * gdb.base/dtrace-probe.exp: Likewise.
20896 * gdb.base/dtrace-probe.d: Likewise.
20897 * gdb.base/dtrace-probe.c: Likewise.
20898 * lib/pdtrace.in: Likewise.
20899 * configure.ac: Output variables with the transformed names of
20900 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20901 * configure: Regenerated.
20902
03e98035
JM
209032015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20904
20905 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20906 expected message when trying to access $_probe_* convenience
20907 variables while not on a probe.
20908
63cc30e9
JK
209092015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20910
20911 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20912
0703599a
PA
209132015-02-11 Pedro Alves <pedro@codesourcery.com>
20914
20915 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20916 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20917
7e60a48e
DE
209182015-02-10 Doug Evans <xdje42@gmail.com>
20919
20920 * lib/gdb.exp (gdb_load): Always return a result.
20921
01b088bc
PA
209222015-02-10 Pedro Alves <palves@redhat.com>
20923
20924 * gdb.threads/signal-sigtrap.c: New file.
20925 * gdb.threads/signal-sigtrap.exp: New file.
20926
b05ec7a5
AT
209272015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20928
20929 * gdb.trace/no-attach-trace.c: New file.
20930 * gdb.trace/no-attach-trace.exp: New file.
20931
a2c2acaf
MW
209322015-02-09 Mark Wielaard <mjw@redhat.com>
20933
20934 * gdb.dwarf2/atomic.c: New file.
20935 * gdb.dwarf2/atomic-type.exp: Likewise.
20936
31fd9caa
MM
209372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20938
20939 * gdb.btrace/buffer-size.exp: Update "info record" output.
20940 * gdb.btrace/delta.exp: Update "info record" output.
20941 * gdb.btrace/enable.exp: Update "info record" output.
20942 * gdb.btrace/finish.exp: Update "info record" output.
20943 * gdb.btrace/instruction_history.exp: Update "info record" output.
20944 * gdb.btrace/next.exp: Update "info record" output.
20945 * gdb.btrace/nexti.exp: Update "info record" output.
20946 * gdb.btrace/step.exp: Update "info record" output.
20947 * gdb.btrace/stepi.exp: Update "info record" output.
20948 * gdb.btrace/nohist.exp: Update "info record" output.
20949
d33501a5
MM
209502015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20951
20952 * gdb.btrace/buffer-size: New.
20953
f4abbc16
MM
209542015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20955
20956 * gdb.btrace/delta.exp: Update "info record" output.
20957 * gdb.btrace/enable.exp: Update "info record" output.
20958 * gdb.btrace/finish.exp: Update "info record" output.
20959 * gdb.btrace/instruction_history.exp: Update "info record" output.
20960 * gdb.btrace/next.exp: Update "info record" output.
20961 * gdb.btrace/nexti.exp: Update "info record" output.
20962 * gdb.btrace/step.exp: Update "info record" output.
20963 * gdb.btrace/stepi.exp: Update "info record" output.
20964 * gdb.btrace/nohist.exp: Update "info record" output.
20965
b9d61307
SM
209662015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20967
20968 PR gdb/15678
20969 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20970
e584fdbc
PA
209712015-02-06 Pedro Alves <palves@redhat.com>
20972
20973 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20974 macro.
20975 (seconds_left, again): New globals.
20976 (main): Wait seconds_left in a 1-second sleep loop instead of
20977 sleeping 180 seconds. If 'again' is set, reset the seconds
20978 counter.
20979 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20980 'again' in the inferior before detaching. Print the seconds left.
20981 (options): New global.
20982 (top level): Build program with -DTIMEOUT=$timeout.
20983
77f41761
PA
209842015-02-06 Pedro Alves <palves@redhat.com>
20985
20986 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20987 determine how many seconds to pass to 'alarm'.
20988 * gdb.base/gdb-sigterm.exp (top level): Build program with
20989 -DTIMEOUT=$timeout.
20990 (do_test): Return success/failure indication. Add more verbose
20991 logging. Don't fail if 200 single steps are seen. Instead, fail
20992 when the test times out.
20993 (passes): New global.
20994 (top level): Break the testing loop if testing fails on any
20995 iteration. Use gdb_assert.
20996
b9394193
DB
209972015-02-04 Don Breazeal <donb@codesourcery.com>
20998
20999 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
21000 and initialize them.
21001 (ipc_cleanup): New function.
21002 (main): Don't declare shmid, semid, and msqid. Add a call to
21003 atexit so that we call ipc_cleanup on exit.
21004
42d9e528
PA
210052015-02-04 Pedro Alves <palves@redhat.com>
21006
21007 * boards/native-extended-gdbserver.exp: Remove any target variant
21008 specifications from the board name before clearing the isremote
21009 flag from board_info.
21010
ae6ae975
DE
210112015-01-31 Doug Evans <xdje42@gmail.com>
21012
21013 * gdb.base/maint.exp <maint print type argc>: Update expected output.
21014
cfb069a8
GB
210152015-01-31 Gary Benson <gbenson@redhat.com>
21016
21017 * gdb.base/completion.exp: Disable completion limiting for
21018 existing tests. Add new tests to check completion limiting.
21019 * gdb.linespec/ls-errs.exp: Disable completion limiting.
21020
5dd31d79
DE
210212015-01-31 Doug Evans <xdje42@gmail.com>
21022
21023 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
21024
9f050062
DE
210252015-01-31 Doug Evans <xdje42@gmail.com>
21026
21027 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
21028 entries. Duplicate file section script entries.
21029 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
21030 inlined entries. Add test for safe-path rejection.
21031 * gdb.python/py-section-script.c: Add duplicate inlined section script
21032 entries. Duplicate file section script entries.
21033 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
21034 inlined entries. Add test for safe-path rejection.
21035
df25ebbd
JB
210362015-01-29 Joel Brobecker <brobecker@adacore.com>
21037
21038 * gdb.ada/disc_arr_bound: New testcase.
21039
4a0ca9ec
JB
210402015-01-29 Joel Brobecker <brobecker@adacore.com>
21041
21042 * gdb.ada/mi_var_array: New testcase.
21043
3a8b707a
DE
210442015-01-27 Doug Evans <dje@google.com>
21045
21046 * gdb.python/py-objfile.exp: Add tests for objfile.username.
21047 Add test for objfile.filename, objfile.username after objfile
21048 has been unloaded.
21049
f8313f6e
JB
210502015-01-26 Joel Brobecker <brobecker@adacore.com>
21051
21052 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
21053 the second test to print the name attribute of value
21054 returned by the call to gdb.lookup_type, and adjust
21055 the expected output accordingly.
21056
37bc665e
MW
210572015-01-25 Mark Wielaard <mjw@redhat.com>
21058
21059 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
21060 * gdb.base/disp-step-fork.c: Include unistd.h.
21061 * gdb.base/siginfo-obj.c: Include stdio.h.
21062 * gdb.base/siginfo-thread.c: Likewise.
21063 * gdb.mi/non-stop.c: Include unistd.h.
21064 * gdb.mi/nsthrexec.c: Include stdio.h.
21065 * gdb.mi/pthreads.c: Include unistd.h.
21066 * gdb.modula2/unbounded1.c (main): Declare returns int.
21067 * gdb.reverse/consecutive-reverse.c: Likewise.
21068 * gdb.threads/create-fail.c: Include unistd.h.
21069 * gdb.threads/killed.c: Likewise.
21070 * gdb.threads/linux-dp.c: Likewise.
21071 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
21072 * gdb.threads/non-ldr-exc-2.c: Likewise.
21073 * gdb.threads/non-ldr-exc-3.c: Likewise.
21074 * gdb.threads/non-ldr-exc-4.c: Likewise.
21075 * gdb.threads/pthreads.c: Include unistd.h.
21076 (main): Declare returns int.
21077 * gdb.threads/tls-main.c (foo): New declaration.
21078 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
21079
f7e5394d
SM
210802015-01-23 Simon Marchi <simon.marchi@ericsson.com>
21081
21082 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
21083 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
21084
743649fd
MW
210852015-01-15 Mark Wielaard <mjw@redhat.com>
21086
21087 * gdb.base/noreturn-return.c: New file.
21088 * gdb.base/noreturn-return.exp: New file.
21089 * gdb.base/noreturn-finish.c: New file.
21090 * gdb.base/noreturn-finish.exp: New file.
21091
198297aa
PA
210922015-01-23 Pedro Alves <palves@redhat.com>
21093
21094 * gdb.threads/continue-pending-after-query.c: New file.
21095 * gdb.threads/continue-pending-after-query.exp: New file.
21096
717cf30c
AG
210972015-01-22 Anders Granlund <anders.granlund@ericsson.com>
21098 Simon Marchi <simon.marchi@ericsson.com>
21099
21100 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
21101 * gdb.base/valgrind-db-attach.exp: Same.
21102 * gdb.base/valgrind-infcall.exp: Same.
21103 * lib/mi-support.exp (default_mi_gdb_start): Same.
21104 * lib/prompt.exp (default_prompt_gdb_start): Same.
21105 * lib/gdb.exp (default_gdb_spawn): Same.
21106 (gdb_interact): New.
21107
21108
4b62a76e
JK
211092015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21110
21111 * gdb.compile/compile.exp (pointer to jit function): New test.
21112
b4cdae6f
WW
211132015-01-17 Wei-cheng Wang <cole945@gmail.com>
21114
21115 * lib/gdb.exp (supports_process_record): Return true for
21116 powerpc*-*-linux*.
21117 (supports_reverse): Likewise.
21118
d221e7ef
DB
211192015-01-15 Don Breazeal <donb@codesourcery.com>
21120
21121 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
21122 instead of checking whether the target board is remote and
21123 use spawn_wait_for_attach instead of exec/sleep.
21124 * gdb.base/attach-twice.exp: Likewise.
21125
bafffb51
JB
211262015-01-15 Joel Brobecker <brobecker@adacore.com>
21127
21128 * gdb.ada/var_arr_attrs: New testcase.
21129
5589af0e
PA
211302015-01-14 Pedro Alves <palves@redhat.com>
21131 Joel Brobecker <brobecker@adacore.com>
21132
21133 PR gdb/17525
21134 * gdb.base/bp-cmds-execution-x-script.c: New file.
21135 * gdb.base/bp-cmds-execution-x-script.exp: New file.
21136 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
21137
6c400b59
PA
211382015-01-14 Pedro Alves <palves@redhat.com>
21139
21140 PR cli/17828
21141 * gdb.base/batch-preserve-term-settings.c: New file.
21142 * gdb.base/batch-preserve-term-settings.exp: New file.
21143
e02c96a7
DE
211442015-01-13 Doug Evans <dje@google.com>
21145
21146 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
21147 binary.
21148
576fd14c
JB
211492015-01-13 Joel Brobecker <brobecker@adacore.com>
21150
21151 * Makefile.in (clean mostlyclean): Do not delete *.py.
21152
04dccad0
JB
211532015-01-13 Joel Brobecker <brobecker@adacore.com>
21154
21155 * gdb.python/py-lookup-type.exp: New file.
21156
3d230f71
PA
211572015-01-12 Pedro Alves <palves@redhat.com>
21158
21159 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
21160 restore GDBFLAGS before returning.
21161
7e67715d
JK
211622015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21163
21164 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
21165 is_amd64_regs_target and is_x86_like_target.
21166
f2e0d4b4
DE
211672015-01-11 Doug Evans <xdje42@gmail.com>
21168
21169 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
21170 is given without an explicit form.
21171 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
21172 attributes.
21173 * gdb.dwarf/corrupt.exp: Ditto.
21174 * gdb.dwarf2/enum-type.exp: Ditto.
21175 * gdb.trace/entry-values.exp: Ditto.
21176 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
21177
439250fb
DE
211782015-01-11 Doug Evans <xdje42@gmail.com>
21179
21180 PR gdb/15830
21181 * gdb.base/maint.exp: Remove references to "maint demangle".
21182 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
21183 Add tests for explicitly specifying language to demangle.
21184 * gdb.dlang/demangle.exp: Ditto.
21185
ede9f622
PA
211862015-01-09 Pedro Alves <palves@redhat.com>
21187
21188 * gdb.threads/non-stop-fair-events.c: New file.
21189 * gdb.threads/non-stop-fair-events.exp: New file.
21190
a7b796db
PA
211912015-01-09 Pedro Alves <palves@redhat.com>
21192
21193 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
21194 the global scope. Set a breakpoint after all threads are started
21195 rather than stepping over two source lines. Expect the prompt.
21196 * gdb.base/watch_thread_num.c (threads_started_barrier): New
21197 global.
21198 (NUM): Now 15.
21199 (main): Use threads_started_barrier to wait for all threads to
21200 start. Main thread no longer calls thread_function. Exit after
21201 180 seconds.
21202 (loop): New function.
21203 (thread_function): Wait on threads_started_barrier barrier. Call
21204 'loop' at each iteration.
21205 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
21206 threads have started, instead of hardcoding number of "next"
21207 steps. Use an access watchpoint instead of a write watchpoint.
21208
9665ffdd
PA
212092015-01-09 Pedro Alves <palves@redhat.com>
21210
21211 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
21212 (thread_func): Wait on barrier.
21213 (main): Wait for all threads to start before stopping GDB.
21214 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
21215 global.
21216 (thread1_func, thread2_func): Wait on barrier.
21217 (main): Wait for all threads to start before stopping GDB.
21218 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
21219 New global.
21220 (thread1_func, thread2_func): Wait on barrier.
21221 (main): Wait for all threads to start before stopping GDB.
21222
c945a99f
PA
212232015-01-09 Pedro Alves <palves@redhat.com>
21224
21225 * gdb.threads/attach-many-short-lived-threads.c: New file.
21226 * gdb.threads/attach-many-short-lived-threads.exp: New file.
21227
c1a747c1
PA
212282014-01-09 Pedro Alves <palves@redhat.com>
21229
21230 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
21231 instead of to thread 2.
21232 * gdb.threads/signal-command-multiple-signals-pending.c (main):
21233 Add barrier around each pthread_create call instead of around all
21234 calls.
21235 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
21236 Set a break on thread_function and have the child threads hit it
21237 one at at a time.
21238
60b3033e
PA
212392015-01-09 Pedro Alves <palves@redhat.com>
21240
21241 * lib/gdb.exp (can_spawn_for_attach): New procedure.
21242 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
21243 false.
21244 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
21245 checking whether the target board is remote.
21246 * gdb.multi/multi-attach.exp: Likewise.
21247 * gdb.python/py-sync-interp.exp: Likewise.
21248 * gdb.server/ext-attach.exp: Likewise.
21249 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
21250 tests that need to attach, instead of checking whether the target
21251 board is remote at the top of the file.
21252
acc018ac
YQ
212532015-01-08 Yao Qi <yao@codesourcery.com>
21254
21255 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
21256
50a18af8
JK
212572015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21258
21259 Fix testcase compilation.
21260 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
21261
8503d6e1
JB
212622015-01-06 Joel Brobecker <brobecker@adacore.com>
21263
21264 * gdb.python/py-type.exp: Add a couple test about empty
21265 array creation, and negative-length array creation.
21266
cc73dbcc
DE
212672015-01-02 Doug Evans <xdje42@gmail.com>
21268
21269 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
21270
0300bbc7
DE
212712015-01-02 Doug Evans <dje@google.com>
21272
21273 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
21274
9d85a0ec
YQ
212752014-12-29 Yao Qi <yao@codesourcery.com>
21276
21277 * gdb.trace/entry-values.exp: Update comments. Rename variable
21278 bar_call_foo to returned_from_foo.
21279
87186c6a
MMN
212802014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
21281
21282 PR gdb/17394
21283 * gdb.linespec/break-asm-file.c: New file.
21284 * gdb.linespec/break-asm-file.exp: New file.
21285 * gdb.linespec/break-asm-file0.s: New file.
21286 * gdb.linespec/break-asm-file1.s: New file.
21287
1bab7383
YQ
212882014-12-18 Nigel Stephens <nigel@mips.com>
21289 Maciej W. Rozycki <macro@codesourcery.com>
21290
21291 * gdb.base/float.exp: Handle the new output from "info float" on
21292 MIPS targets.
21293
1bc1068a
JK
212942014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21295
21296 Fix MinGW compilation.
21297 * gdb.compile/compile-ops.exp: Update untested message if
21298 !skip_compile_feature_tests.
21299 * gdb.compile/compile-setjmp.exp: Likewise.
21300 * gdb.compile/compile-tls.exp: Likewise.
21301 * gdb.compile/compile.exp: Likewise.
21302 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
21303 supported on this host".
21304
b6615d10
DE
213052014-12-16 Doug Evans <xdje42@gmail.com>
21306
21307 * boards/stabs.exp: New file.
21308
25dda427
AA
213092014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
21310
21311 * gdb.base/completion.exp: Adjust to format changes of "maint
21312 print user-registers".
21313
bf330350
CU
213142014-12-16 Catalin Udma <catalin.udma@freescale.com>
21315
21316 PR server/17457
21317 * gdb.arch/aarch64-fp.c: New file.
21318 * gdb.arch/aarch64-fp.exp: New file.
21319
395cf596
SDJ
213202014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
21321
21322 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
21323 r210637, r210913, r211666, r215400, r215817).
21324
21325 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
21326 * dg-extract-results.py: New file.
21327 * dg-extract-results.sh: Use it if the environment seems
21328 suitable.
21329
21330 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
21331
21332 * dg-extract-results.py (parse_run): Handle warnings that
21333 are printed before a test harness is run.
21334
21335 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
21336
21337 * dg-extract-results.py (Named): Remove __cmp__ method.
21338 (output_variation): Use a key to sort variation.harnesses.
21339
21340 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
21341
21342 * dg-extract-results.py: For Python 3, force sys.stdout to
21343 handle surrogate escape sequences.
21344 (safe_open): New function.
21345 (output_segment, main): Use it.
21346
21347 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
21348
21349 * dg-extract-results.py (Prog.result_re): Include options
21350 in test name.
21351
21352 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
21353
21354 * dg-extract-results.py (output_variation): Always sort if
21355 do_sum.
21356
e882ef3c
SM
213572014-12-15 Simon Marchi <simon.marchi@ericsson.com>
21358
21359 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
21360 as long as we get pagination notifications.
21361
4992aa20
JM
213622014-12-15 Jason Merrill <jason@redhat.com>
21363
21364 * Makefile.in (check-gdb.%): Restore.
21365 * README: Mention it.
21366
c1b5a1a6
JB
213672014-12-13 Joel Brobecker <brobecker@adacore.com>
21368
21369 * gdb.ada/str_uninit: New testcase.
21370
5537b577
JK
213712014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21372
21373 PR symtab/17642
21374 * gdb.base/vla-stub-define.c: New file.
21375 * gdb.base/vla-stub.c: New file.
21376 * gdb.base/vla-stub.exp: New file.
21377
bb2ec1b3
TT
213782014-12-12 Phil Muldoon <pmuldoon@redhat.com>
21379 Jan Kratochvil <jan.kratochvil@redhat.com>
21380 Tom Tromey <tromey@redhat.com>
21381
21382 * configure.ac: Add gdb.compile/.
21383 * configure: Regenerate.
21384 * gdb.compile/Makefile.in: New file.
21385 * gdb.compile/compile-ops.exp: New file.
21386 * gdb.compile/compile-ops.c: New file.
21387 * gdb.compile/compile-tls.c: New file.
21388 * gdb.compile/compile-tls.exp: New file.
21389 * gdb.compile/compile-constvar.S: New file.
21390 * gdb.compile/compile-constvar.c: New file.
21391 * gdb.compile/compile-mod.c: New file.
21392 * gdb.compile/compile-nodebug.c: New file.
21393 * gdb.compile/compile-setjmp-mod.c: New file.
21394 * gdb.compile/compile-setjmp.c: New file.
21395 * gdb.compile/compile-setjmp.exp: New file.
21396 * gdb.compile/compile-shlib.c: New file.
21397 * gdb.compile/compile.c: New file.
21398 * gdb.compile/compile.exp: New file.
21399 * lib/gdb.exp (skip_compile_feature_tests): New proc.
21400
4ff709eb
TT
214012014-12-12 Tom Tromey <tromey@redhat.com>
21402
21403 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
21404 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
21405
6dddd6a5
DE
214062014-12-12 Doug Evans <dje@google.com>
21407
21408 * lib/gdb-python.exp (get_python_valueof): New function.
21409 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
21410
71c24708
AA
214112014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21412
21413 * gdb.base/completion.exp: Add test for completion of "info
21414 registers ".
21415
3e29f34a
MR
214162014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
21417
21418 * gdb.base/func-ptrs.c: New file.
21419 * gdb.base/func-ptrs.exp: New file.
21420
fc126975
SM
214212014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21422
21423 PR breakpoints/17012
21424 * gdb.base/dprintf-detach.c: New file.
21425 * gdb.base/dprintf-detach.exp: New file.
21426
0a46d518
SM
214272014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21428
21429 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
21430 * lib/gdb.exp (target_is_gdbserver): New procedure.
21431
a0be3e44
DE
214322014-12-08 Doug Evans <dje@google.com>
21433
21434 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
21435
df1b803a
YQ
214362014-12-05 Yao Qi <yao@codesourcery.com>
21437
21438 * gdb.guile/scm-error.exp: Remove the third argument to
21439 gdb_remote_download.
21440 * gdb.guile/scm-frame-args.exp: Likewise.
21441 * gdb.guile/scm-section-script.exp: Likewise.
21442
ddb9f679
YQ
214432014-12-05 Yao Qi <yao@codesourcery.com>
21444
21445 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
21446
86e4ed39
DE
214472014-12-04 Doug Evans <dje@google.com>
21448
21449 * gdb.python/py-objfile.exp: Add tests for
21450 objfile.add_separate_debug_file.
21451
7c50a931
DE
214522014-12-04 Doug Evans <dje@google.com>
21453
21454 * lib/gdb.exp (get_build_id): New function.
21455 (build_id_debug_filename_get): Rewrite to use it.
21456 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
21457
621661e3
MR
214582014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
21459
21460 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
21461 `method(long)', not just 0x0.
21462 * gdb.cp/nsalias.exp: Align code labels to 4.
21463 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
21464 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
21465 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
21466 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
21467 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
21468 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
21469
29f0c3b7
DE
214702014-12-02 Doug Evans <dje@google.com>
21471
e1e061e7 21472 PR symtab/17602
29f0c3b7 21473 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 21474 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
21475 * gdb.cp/anon-ns.exp: Update.
21476
162078c8
NB
214772014-12-02 Nick Bull <nicholaspbull@gmail.com>
21478
21479 * gdb.python/py-events.py (inferior_call_handler): New.
21480 (register_changed_handler, memory_changed_handler): New.
21481 (test_events.invoke): Register new handlers.
21482 * gdb.python/py-events.exp: Add tests for inferior call,
21483 memory_changed and register_changed events.
21484
fdb09caf
AA
214852014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
21486
21487 * gdb.base/execl-update-breakpoints.exp: Specify the link address
21488 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
21489 if the linker doesn't understand this.
21490
55cfb2c4
SM
214912014-12-01 Simon Marchi <simon.marchi@ericsson.com>
21492
21493 * gdb.python/python.exp: Change expected reply to help().
21494
9e8cd6df
YQ
214952014-12-01 Yao Qi <yao@codesourcery.com>
21496
21497 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
21498 AC_CONFIG_SUBDIRS(gdb.gdbtk).
21499 * configure: Re-generated.
21500
6c659fc2
SC
215012014-11-28 Siva Chandra Reddy <sivachandra@google.com>
21502
21503 * gdb.cp/chained-calls.cc: New file.
21504 * gdb.cp/chained-calls.exp: New file.
21505 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
21506
d7fc3181
SM
215072014-11-28 Simon Marchi <simon.marchi@ericsson.com>
21508
21509 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
21510 * gdb.dwarf2/symtab-producer.exp: Same.
21511 * gdb.gdb/python-interrupts.exp: Same.
21512 * gdb.gdb/python-selftest.exp: Same.
21513 * gdb.python/py-linetable.exp: Same.
21514 * gdb.python/py-type.exp: Same.
21515 * gdb.python/py-value-cc.exp: Same.
21516 * gdb.python/py-value.exp: Same.
21517
10e79639
YQ
215182014-11-28 Yao Qi <yao@codesourcery.com>
21519
21520 * gdb.base/break-probes.exp: Match library name prefixed with
21521 sysroot.
21522
f28a0564
SM
215232014-11-27 Simon Marchi <simon.marchi@ericsson.com>
21524
21525 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
21526 test expected output. Add parentheses for the call to print.
21527 Remove L suffix from integers.
21528
3fe1ce1d
DE
215292014-11-26 Doug Evans <dje@google.com>
21530
21531 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
21532
84429e27
YQ
215332014-11-22 Yao Qi <yao@codesourcery.com>
21534
21535 * gdb.trace/entry-values.c: Remove asms.
21536 (foo): Add foo_label.
21537 (bar): Add bar_label.
21538 * gdb.trace/entry-values.exp: Remove code computing foo's
21539 length and bar's length.
21540 (Dwarf::assemble): Invoke function_range for bar and use
21541 MACRO_AT_func for foo.
21542
26741859
YQ
215432014-11-22 Yao Qi <yao@codesourcery.com>
21544
21545 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
21546 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
21547 Use .Lgcc43_procstart instead of gcc43.
21548
45e44d27
JB
215492014-11-21 Joel Brobecker <brobecker@adacore.com>
21550
21551 * gdb.ada/n_arr_bound: New testcase.
21552
458c8db8
SDJ
215532014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
21554
21555 PR breakpoints/10737
21556 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
21557 test_catch_syscall_multi_arch.
21558 (test_catch_syscall_multi_arch): New function.
21559
43f3e411
DE
215602014-11-20 Doug Evans <xdje42@gmail.com>
21561
21562 * gdb.base/maint.exp: Update expected output.
21563
0d7b2549
AA
215642014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
21565
21566 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
21567 4-byte instruction on S390.
21568
8908fca5
JB
215692014-11-19 Joel Brobecker <brobecker@adacore.com>
21570
21571 * gdb.ada/arr_arr: New testcase.
21572
4a46959e
JB
215732014-11-19 Joel Brobecker <brobecker@adacore.com>
21574
21575 * gdb.ada/pkd_arr_elem: New Testcase.
21576
470e2f4e
LM
215772014-11-18 Luis Machado <lgustavo@codesourcery.com>
21578
21579 * gdb.reverse/break-precsave: Expect completion message for
21580 core file reads.
21581 * gdb.reverse/consecutive-precsave.exp: Likewise.
21582 * gdb.reverse/finish-precsave.exp: Likewise.
21583 * gdb.reverse/i386-precsave.exp: Likewise.
21584 * gdb.reverse/machinestate-precsave.exp: Likewise.
21585 * gdb.reverse/sigall-precsave.exp: Likewise.
21586 * gdb.reverse/solib-precsave.exp: Likewise.
21587 * gdb.reverse/step-precsave.exp: Likewise.
21588 * gdb.reverse/until-precsave.exp: Likewise.
21589 * gdb.reverse/watch-precsave.exp: Likewise.
21590
a267f3ad
AA
215912014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21592
21593 * gdb.base/bp-permanent.c: Include unistd.h.
21594 * gdb.python/py-framefilter-mi.c (main): Add return type.
21595 * gdb.python/py-framefilter.c (main): Likewise.
21596 * gdb.trace/actions-changed.c (main): Likewise.
21597
12084a9a
AA
215982014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21599
21600 * gdb.mi/until.c: Add eye-catchers.
21601 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21602 line numbers.
21603
dc7e1a77
AA
216042014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21605
21606 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21607 function header variants in break1.c.
21608 * gdb.base/ena-dis-br.exp: Likewise.
21609 * gdb.base/hbreak2.exp: Likewise.
21610 * gdb.reverse/until-precsave.exp: Drop references to removed
21611 non-prototype function header variants in ur1.c.
21612 * gdb.reverse/until-reverse.exp: Likewise.
21613
41c77605
PM
216142014-11-17 Petr Machata <pmachata@redhat.com>
21615
21616 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21617 ${_cu_offset_size} bytes abbrev offset.
21618
34248c3a
DE
216192014-11-15 Doug Evans <xdje42@gmail.com>
21620
21621 PR symtab/17559
21622 * gdb.base/line-symtabs.exp: New file.
21623 * gdb.base/line-symtabs.c: New file.
21624 * gdb.base/line-symtabs.h: New file.
21625
646da059
YQ
216262014-11-14 Yao Qi <yao@codesourcery.com>
21627
21628 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21629 (func): Add label func_label.
21630 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21631 Replace low_pc and high_pc with MACRO_AT_range.
21632 Replace name, low_pc and high_pc with MACRO_AT_func.
21633
9301ebe6
YQ
216342014-11-14 Yao Qi <yao@codesourcery.com>
21635
21636 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21637 Replace name, low_pc and high_pc with MACRO_AT_func.
21638
f166b542
YQ
216392014-11-14 Yao Qi <yao@codesourcery.com>
21640
21641 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21642 produce debug information.
21643 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21644
0f6e71e3
YQ
216452014-11-14 Yao Qi <yao@codesourcery.com>
21646
21647 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21648 object and get function length.
21649 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21650 with MACRO_AT_func.
21651 (top-level): Replace gdb_compile and clean_restart with
21652 prepare_for_testing.
21653 * gdb.dwarf2/main.c (main): Add label main_label.
21654
876c4df9
YQ
216552014-11-14 Yao Qi <yao@codesourcery.com>
21656
21657 * lib/dwarf.exp (function_range): New procedure.
21658 (Dwarf::_handle_macro_at_func): New procedure.
21659 (Dwarf::_handle_macro_at_range): New procedure.
21660 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21661
02ad9cf1
YQ
216622014-11-14 Yao Qi <yao@codesourcery.com>
21663
21664 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21665 (_handle_attribute): New procedure.
21666
a59add0c
AA
216672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21668
21669 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21670 * gdb.base/call-sc.c (zed): Likewise.
21671 * gdb.base/checkpoint.c (main): Likewise.
21672 * gdb.base/dump.c (main): Likewise.
21673 * gdb.base/gcore.c (main): Likewise.
21674 * gdb.base/huge.c (main): Likewise.
21675 * gdb.base/multi-forks.c (main): Likewise.
21676 * gdb.base/pr10179-a.c (main): Likewise.
21677 * gdb.base/savedregs.c (main): Likewise.
21678 * gdb.base/sigaltstack.c (main): Likewise.
21679 * gdb.base/siginfo.c (main): Likewise.
21680 * gdb.base/structs.c (zed): Likewise.
21681 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21682 * gdb.mi/mi-syn-frame.c (main): Likewise.
21683 * gdb.mi/until.c (foo, main): Likewise.
21684 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21685 * gdb.base/solib-weak.c (foo): Declare.
21686 * gdb.base/attach-twice.c: Include stdio.h.
21687 * gdb.base/weaklib1.c: Likewise.
21688 * gdb.base/weaklib2.c: Likewise.
21689 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21690 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21691 unistd.h.
21692 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21693 * gdb.mi/mi-exit-code.c: Likewise.
21694 * gdb.base/break-interp-lib.c: Include string.h.
21695 * gdb.base/coremaker.c: Likewise.
21696 * gdb.base/testenv.c: Likewise.
21697 * gdb.python/py-finish-breakpoint.c: Likewise.
21698 * gdb.base/inferior-died.c: Include sys/wait.h.
21699 * gdb.base/fileio.c: Include time.h.
21700 * gdb.base/async-shell.c: Include unistd.h.
21701 * gdb.base/dprintf-non-stop.c: Likewise.
21702 * gdb.base/info-os.c: Likewise.
21703 * gdb.mi/mi-console.c: Likewise.
21704 * gdb.mi/watch-nonstop.c: Likewise.
21705 * gdb.python/py-events.c: Likewise.
21706 * gdb.base/async.c (baz): Move up before its invocation.
21707 * gdb.base/code_elim2.c (my_global_func): Likewise.
21708 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21709 * gdb.base/advance.c (func2): Likewise.
21710
3b5d5997
AA
217112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21712
21713 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21714 variant.
21715 * gdb.base/annota3.c: Likewise.
21716 * gdb.base/async.c: Likewise.
21717 * gdb.base/average.c: Likewise.
21718 * gdb.base/call-ar-st.c: Likewise.
21719 * gdb.base/call-rt-st.c: Likewise.
21720 * gdb.base/call-sc.c: Likewise.
21721 * gdb.base/call-strs.c: Likewise.
21722 * gdb.base/ending-run.c: Likewise.
21723 * gdb.base/execd-prog.c: Likewise.
21724 * gdb.base/exprs.c: Likewise.
21725 * gdb.base/foll-exec.c: Likewise.
21726 * gdb.base/foll-fork.c: Likewise.
21727 * gdb.base/foll-vfork.c: Likewise.
21728 * gdb.base/funcargs.c: Likewise.
21729 * gdb.base/gcore.c: Likewise.
21730 * gdb.base/jump.c: Likewise.
21731 * gdb.base/langs0.c: Likewise.
21732 * gdb.base/langs1.c: Likewise.
21733 * gdb.base/langs2.c: Likewise.
21734 * gdb.base/mips_pro.c: Likewise.
21735 * gdb.base/nodebug.c: Likewise.
21736 * gdb.base/opaque0.c: Likewise.
21737 * gdb.base/opaque1.c: Likewise.
21738 * gdb.base/recurse.c: Likewise.
21739 * gdb.base/run.c: Likewise.
21740 * gdb.base/scope0.c: Likewise.
21741 * gdb.base/scope1.c: Likewise.
21742 * gdb.base/setshow.c: Likewise.
21743 * gdb.base/setvar.c: Likewise.
21744 * gdb.base/shmain.c: Likewise.
21745 * gdb.base/shr1.c: Likewise.
21746 * gdb.base/shr2.c: Likewise.
21747 * gdb.base/sigall.c: Likewise.
21748 * gdb.base/signals.c: Likewise.
21749 * gdb.base/so-indr-cl.c: Likewise.
21750 * gdb.base/solib2.c: Likewise.
21751 * gdb.base/structs.c: Likewise.
21752 * gdb.base/sum.c: Likewise.
21753 * gdb.base/vforked-prog.c: Likewise.
21754 * gdb.base/watchpoint.c: Likewise.
21755 * gdb.reverse/shr2.c: Likewise.
21756 * gdb.reverse/until-reverse.c: Likewise.
21757 * gdb.reverse/ur1.c: Likewise.
21758 * gdb.reverse/watch-reverse.c: Likewise.
21759
066a77c5
AA
217602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21761
21762 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21763 variant.
21764 * gdb.base/sepdebug.exp: Drop references to removed code.
21765
4f204ea5
AA
217662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21767
21768 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21769 variant. Preserve original line numbering.
21770 * gdb.base/list1.c: Likewise.
21771
3b377a3a
AA
217722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21773
21774 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21775 variant.
21776 * gdb.base/break1.c: Likewise.
21777 * gdb.base/break.exp: Drop references to removed code.
21778
e444df73
AA
217792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21780
21781 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21782 variant.
21783
8008f2a7
AA
217842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21785
21786 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21787
a5a06887
AA
217882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21789
21790 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21791 logic into perform_all_tests() and invoke it with and without
21792 function header prototypes.
21793 (do_function_calls): Remove conditional XFAIL for PR 5318.
21794 (rerun_and_prepare): Remove duplicate code.
21795 (perform_all_tests): New. Main logic moved here.
21796
44dba9b9
AA
217972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21798
21799 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21800 code guarded by #ifdef NO_PROTOTYPES.
21801 (t_double_many_args): Likewise.
21802 (DEF_FUNC_MANY_ARGS_1): Likewise.
21803 (DEF_FUNC_VALUES_1): Likewise.
21804 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21805 guarded by #ifdef PROTOTYPES.
21806
d1fbcd56
AA
218072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21808
21809 * gdb.mi/mi-console.c: Add eye-catcher.
21810 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21811 instead of literal line number.
21812
b0e59b8f
AA
218132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21814
21815 * gdb.base/shr2.c: Add eye-catcher.
21816 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21817 line number.
21818
78f98cca
AA
218192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21820
21821 * gdb.base/jump.c: Add eye-catchers.
21822 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21823 numbers.
21824
58fa2af0
AA
218252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21826
21827 * gdb.base/execd-prog.c: Add eye-catchers.
21828 * gdb.base/foll-exec.c: Likewise.
21829 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21830 line numbers.
21831
04e5059b
AA
218322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21833
21834 * gdb.base/ending-run.c: Add eye-catchers.
21835 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21836 literal line numbers.
21837
dbfdb174
AA
218382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21839
21840 * gdb.base/call-rt-st.c: Add eye-catchers.
21841 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21842 literal line numbers.
21843
888a2ade
AA
218442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21845
21846 * gdb.base/call-ar-st.c: Add eye-catchers.
21847 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21848 literal line numbers.
21849
6acc2dde
AA
218502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21851
21852 * gdb.base/average.c: Add eye-catchers.
21853 * gdb.base/sum.c: Likewise.
21854 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21855 regexps dynamically.
21856
9ecfcd1d
AA
218572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21858
21859 * gdb.base/solib1.c: Add eye-catchers.
21860 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21861 literal line numbers.
21862
78708b7c
PA
218632014-11-12 Pedro Alves <palves@redhat.com>
21864
21865 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21866 leader has exited.
21867
af48d08f
PA
218682014-11-12 Pedro Alves <palves@redhat.com>
21869
21870 * gdb.arch/i386-bp_permanent.c: New file.
21871 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21872 (srcfile): Set to i386-bp_permanent.c.
21873 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21874 that stepi does not execute the 'leave' instruction, instead of
21875 testing it does execute.
21876 * gdb.base/bp-permanent.c: New file.
21877 * gdb.base/bp-permanent.exp: New file.
21878
af3768e9
DE
218792014-11-10 Doug Evans <xdje42@gmail.com>
21880
21881 PR symtab/17564
21882 * gdb.base/symtab-search-order.exp: New file.
21883 * gdb.base/symtab-search-order.c: New file.
21884 * gdb.base/symtab-search-order-1.c: New file.
21885 * gdb.base/symtab-search-order-shlib-1.c: New file.
21886
9de00a4a
PA
218872014-11-07 Pedro Alves <palves@redhat.com>
21888
21889 PR gdb/17511
21890 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21891 i?86-*-linux*.
21892
e0f52461
SC
218932014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21894
21895 PR c++/17494
21896 * gdb.cp/pr17494.cc: New file.
21897 * gdb.cp/pr17494.exp: New file.
21898
6ce8c980
YQ
218992014-11-02 Yao Qi <yao@codesourcery.com>
21900
21901 * gdb.python/python.exp: Get working directory and match the
21902 output of "set extended-prompt \\w " with it.
21903
02be9a71
DE
219042014-10-30 Doug Evans <dje@google.com>
21905
21906 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21907 in objfiles.
21908 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21909 in progspaces.
21910
3bdff46b
LM
219112014-10-30 Janis Johnson <janisjo@codesourcery.com>
21912
21913 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21914 * gdb.base/realname-expand.exp: Likewise.
21915 * gdb.linespec/macro-relative.exp: Likewise.
21916
ab917dfb
PA
219172014-10-29 Pedro Alves <palves@redhat.com>
21918
21919 PR gdb/17408
21920 * gdb.threads/schedlock.c (some_function): New function.
21921 (call_function): New global.
21922 (MAYBE_CALL_SOME_FUNCTION): New macro.
21923 (thread_function): Call it.
21924 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21925 and use it instead of a global counter. Adjust all callers.
21926 (get_current_thread): Use "find current thread" for test message
21927 here rather than having all callers pass down the same string.
21928 (goto_loop): New procedure, factored out from ...
21929 (my_continue): ... this.
21930 (step_ten_loops): Change parameter from test message to command to
21931 use. Adjust.
21932 (list_count): Delete global.
21933 (check_result): New procedure, factored out from duplicate top
21934 level code.
21935 (continue tests): Wrap in with_test_prefix.
21936 (test_step): New procedure, factored out from duplicate top level
21937 code.
21938 (top level): Test "step" in combination with all scheduler-locking
21939 modes. Test "next" in combination with all scheduler-locking
21940 modes, and in combination with stepping over a function call or
21941 not.
21942 * gdb.threads/next-bp-other-thread.c: New file.
21943 * gdb.threads/next-bp-other-thread.exp: New file.
21944
d3d4baed
PA
219452014-10-29 Pedro Alves <palves@redhat.com>
21946
21947 PR python/17372
21948 * gdb.python/python.exp: Test a multi-line command that spawns
21949 interactive Python.
21950 * gdb.base/multi-line-starts-subshell.exp: New file.
21951
563e8d85
YQ
219522014-10-29 Yao Qi <yao@codesourcery.com>
21953
21954 * gdb.base/fileio.exp: Make directories on host.
21955
0ea4d52e
YQ
219562014-10-29 Yao Qi <yao@codesourcery.com>
21957
21958 * gdb.base/fileio.c (test_write): Close the file.
21959
7f5ef605
PA
219602014-10-28 Pedro Alves <palves@redhat.com>
21961
21962 PR gdb/12623
21963 * gdb.base/sigstep.c (no_handler): New global.
21964 (main): If 'no_handler is true, set the signal handlers to
21965 SIG_IGN.
21966 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21967 with_sw_watch and no_handler parameters. Handle them.
21968 (top level) <stepping over handler when stopped at a breakpoint
21969 test>: Add a test axis for testing with a software watchpoint, and
21970 another for testing with the signal handler set to SIG_IGN.
21971 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21972 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21973
abbdbd03
PA
219742014-10-28 Pedro Alves <palves@redhat.com>
21975
21976 PR gdb/17511
21977 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21978 * gdb.base/sigstep.exp (other_handler_location): New global.
21979 (advance): Support stepping into the signal handler, and running
21980 commands while in the handler.
21981 (in_handler_map): New global.
21982 (top level): In the advance test, add combinations for getting
21983 into the handler with stepping commands, and for running commands
21984 in the handler. Add comment descripting the advancei tests.
21985
1df4399f
PA
219862014-10-28 Pedro Alves <palves@redhat.com>
21987
21988 * gdb.base/sigstep.exp: Use build_executable instead of
21989 prepare_for_testing.
21990 (top level): Move code that starts GDB, runs to main and creates a
21991 display to ...
21992 (restart): ... this new procedure.
21993 (top level): Move backtrace from signal handler test to ...
21994 (validate_backtrace): ... this new procedure.
21995 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21996 with_test_prefix. Always restart GDB.
21997 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21998 with_test_prefix. Always restart GDB. No need to delete
21999 breakpoints after the test.
22000 (test_skip_handler): Remove prefix parameter.
22001 (skip_over_handler, breakpoint_to_handler)
22002 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
22003 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
22004 restart GDB. No need to delete breakpoints after the test.
22005 (top level): Use foreach to call the test procedures with
22006 different commands.
22007
a5b6e449
PA
220082014-10-28 Pedro Alves <palves@redhat.com>
22009
22010 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
22011 instead of GNATS numbers.
22012 * gdb.base/sigbpt.exp: Likewise.
22013 * gdb.base/siginfo.exp: Likewise.
22014 * gdb.base/sigstep.exp: Likewise.
22015
e5f8a7cc
PA
220162014-10-27 Pedro Alves <palves@redhat.com>
22017
22018 * gdb.base/sigstep.c (dummy): New global.
22019 (main): Issue a couple writes to the new global.
22020 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
22021 procedures.
22022 (skip_over_handler): Use test_skip_handler.
22023 (top level): Call skip_over_handler for stepi and nexti too.
22024 (breakpoint_over_handler): Use test_skip_handler.
22025 (top level): Call breakpoint_over_handler for stepi and nexti too.
22026
763905a3
YQ
220272014-10-27 Yao Qi <yao@codesourcery.com>
22028
22029 * gdb.trace/tfile.c (adjust_function_address)
22030 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
22031 function descriptor.
22032
6f259a23
DB
220332014-10-24 Don Breazeal <donb@codesourcery.com>
22034
22035 * gdb.base/foll-fork.exp (test_follow_fork,
22036 catch_fork_child_follow): Check for updated fork messages emitted
22037 from infrun.c.
22038 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
22039 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
22040 vfork_and_exec_child_follow_through_step): Check for updated vfork
22041 messages emitted from infrun.c.
22042
09dd9a69
PA
220432014-10-24 Pedro Alves <palves@redhat.com>
22044
22045 * gdb.base/corefile.exp: Remove references to ultrix.
22046 * gdb.base/interrupt.exp: Likewise.
22047 * gdb.base/whatis.exp: Likewise.
22048 * gdb.gdb/selftest.exp: Likewise.
22049 * gdb.threads/manythreads.exp: Likewise.
22050 * gdb.threads/print-threads.exp: Likewise.
22051 * gdb.threads/pthreads.exp:: Likewise.
22052 * gdb.threads/schedlock.exp: Likewise.
22053
3433cfa5
SC
220542014-10-24 Siva Chandra Reddy <sivachandra@google.com>
22055
22056 * gdb.cp/non-trivial-retval.cc: Add a test case.
22057 * gdb.cp/non-trivial-retval.exp: Add a test.
22058
092f880b
YQ
220592014-10-20 Yao Qi <yao@codesourcery.com>
22060
22061 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
22062 * gdb.python/py-objfile-script-gdb.py: New file.
22063 * gdb.python/py-objfile-script.exp: Update reference to
22064 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
22065 of remote_download. Remove the dest file.
22066
acbdb7f3
YQ
220672014-10-20 Yao Qi <yao@codesourcery.com>
22068
22069 * gdb.base/checkpoint.exp: Don't remove file copied on host.
22070 * gdb.base/step-line.exp: Likewise.
22071 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22072 * gdb.dwarf2/dw2-basic.exp: Likewise.
22073 * gdb.dwarf2/dw2-compressed.exp: Likewise.
22074 * gdb.dwarf2/dw2-filename.exp: Likewise.
22075 * gdb.dwarf2/dw2-intercu.exp: Likewise.
22076 * gdb.dwarf2/dw2-intermix.exp: Likewise.
22077 * gdb.dwarf2/dw2-producer.exp: Likewise.
22078 * gdb.dwarf2/mac-fileno.exp: Likewise.
22079 * gdb.python/py-frame-args.exp: Likewise.
22080 * gdb.python/py-framefilter.exp: Likewise.
22081 * gdb.python/py-mi.exp: Likewise.
22082 * gdb.python/py-objfile-script.exp: Likewise
22083 * gdb.python/py-pp-integral.exp: Likewise.
22084 * gdb.python/py-pp-re-notag.exp: Likewise.
22085 * gdb.python/py-prettyprint.exp: Likewise.
22086 * gdb.python/py-section-script.exp: Likewise.
22087 * gdb.python/py-typeprint.exp: Likewise.
22088 * gdb.python/py-xmethods.exp: Likewise.
22089 * gdb.stabs/weird.exp: Likewise.
22090 * gdb.xml/tdesc-regs.exp: Likewise.
22091
bd286a29
KCY
220922014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
22093
22094 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
22095 (out_cu): Use addr_len for the size of addresses.
22096 (out_line): Likewise. Size DW_LNE_set_address instruction
22097 according to addr_len.
22098 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
22099 (FUNC): Add START_INSNS to definition.
22100
673dc4a0
YQ
221012014-10-18 Yao Qi <yao@codesourcery.com>
22102
22103 * gdb.base/argv0-symlink.exp: Check argv[0] value if
22104 gdb_has_argv0 return true.
22105 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
22106 check [target_info exists noargs], check [gdb_has_argv0]
22107 instead.
22108 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22109 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
22110 procedures.
22111
4ffbba72
DE
221122014-10-17 Doug Evans <dje@google.com>
22113
22114 * gdb.python/py-events.exp: Update expected output for clear_objfiles
22115 event.
22116 * gdb.python/py-events.py: Add clear_objfiles event.
22117
d096d8c1
DE
221182014-10-17 Doug Evans <dje@google.com>
22119
22120 * gdb.python/py-objfile.exp: Test progspace attribute.
22121
a80db015
LM
221222014-10-17 Luis Machado <lgustavo@codesourcery.com>
22123
22124 * gdb.guile/scm-breakpoint.exp: Do not assume any
22125 directory separators when matching source file paths.
22126 * gdb.python/py-breakpoint.exp: Likewise.
22127 * gdb.reverse/break-precsave.exp: Likewise.
22128 * gdb.reverse/break-reverse.exp: Likewise.
22129 * gdb.reverse/consecutive-precsave.exp: Likewise.
22130 * gdb.reverse/finish-precsave.exp: Likewise.
22131 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
22132 * gdb.reverse/finish-reverse.exp: Likewise.
22133 * gdb.reverse/i386-precsave.exp: Likewise.
22134 * gdb.reverse/i387-env-reverse.exp: Likewise.
22135 * gdb.reverse/i387-stack-reverse.exp: Likewise.
22136 * gdb.reverse/machinestate-precsave.exp: Likewise.
22137 * gdb.reverse/machinestate.exp: Likewise.
22138 * gdb.reverse/sigall-precsave.exp: Likewise.
22139 * gdb.reverse/solib-precsave.exp: Likewise.
22140 * gdb.reverse/step-precsave.exp: Likewise.
22141 * gdb.reverse/until-precsave.exp: Likewise.
22142 * gdb.reverse/watch-precsave.exp: Likewise.
22143 * gdb.reverse/watch-reverse.exp: Likewise.
22144
b22089ab
YQ
221452014-10-17 Yao Qi <yao@codesourcery.com>
22146
22147 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
22148 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
22149
6c4486e6
PA
221502014-10-17 Pedro Alves <palves@redhat.com>
22151
22152 PR gdb/17471
22153 * gdb.base/bg-execution-repeat.c: New file.
22154 * gdb.base/bg-execution-repeat.exp: New file.
22155
0ff33695
PA
221562014-10-17 Pedro Alves <palves@redhat.com>
22157
22158 PR gdb/17300
22159 * gdb.base/continue-all-already-running.c: New file.
22160 * gdb.base/continue-all-already-running.exp: New file.
22161
6fdebc3d
PA
221622014-10-17 Pedro Alves <palves@redhat.com>
22163
22164 PR gdb/17472
22165 * gdb.base/annota-input-while-running.c: New file.
22166 * gdb.base/annota-input-while-running.exp: New file.
22167
32a8097b
PA
221682014-10-17 Pedro Alves <palves@redhat.com>
22169
22170 * gdb.base/callfuncs.exp: emove references to osf.
22171 * gdb.base/sigall.exp: Likewise.
22172 * gdb.gdb/selftest.exp: Likewise.
22173 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
22174 * gdb.mi/non-stop.c: Likewise.
22175 * gdb.mi/pthreads.c: Likewise.
22176 * gdb.reverse/sigall-precsave.exp: Likewise.
22177 * gdb.reverse/sigall-reverse.exp: Likewise.
22178 * gdb.threads/pthreads.c: Likewise.
22179 * gdb.threads/pthreads.exp: Likewise.
22180
7a3517ff
YQ
221812014-10-17 Yao Qi <yao@codesourcery.com>
22182
22183 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
22184 check 'target_info exists noargs'.
22185 (test_command_prompt_position): Likewise.
22186 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
22187 Remove "set args".
22188 (progvar_simple_while_test): Likewise.
22189 (progvar_complex_if_while_test): Likewise.
22190 (if_while_breakpoint_command_test): Likewise.
22191 (infrun_breakpoint_command_test): Likewise.
22192 (breakpoint_command_test): Likewise.
22193 (watchpoint_command_test): Likewise.
22194 (bp_deleted_in_command_test): Likewise.
22195 (temporary_breakpoint_commands): Likewise.
22196
bb99c472
YQ
221972014-10-16 Yao Qi <yao@codesourcery.com>
22198
22199 * gdb.base/remotetimeout.exp: Remove noargs checking.
22200
7c16b83e
PA
222012014-10-15 Pedro Alves <palves@redhat.com>
22202
22203 PR breakpoints/9649
22204 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
22205 * gdb.base/breakpoint-in-ro-region.exp
22206 (probe_target_hardware_step): New procedure.
22207 (top level): Probe hardware stepping and hardware breakpoint
22208 support. Test stepping through a read-only region, with both
22209 "breakpoint auto-hw" on and off and both "always-inserted" on and
22210 off.
22211
35a49624
IB
222122014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
22213
22214 * gdb.dlang/demangle.exp: Update for demangling changes.
22215
2d1c107c
SC
222162014-10-15 Siva Chandra Reddy <sivachandra@google.com>
22217
22218 * gdb.cp/non-trivial-retval.cc: Add new test cases.
22219 * gdb.cp/non-trivial-retval.exp: Add new tests.
22220
778811d5
SC
222212014-10-15 Siva Chandra Reddy <sivachandra@google.com>
22222
22223 PR c++/13403
22224 PR c++/15154
22225 * gdb.cp/non-trivial-retval.cc: New file.
22226 * gdb.cp/non-trivial-retval.exp: New file.
22227
10c5f0a8
YQ
222282014-10-15 Yao Qi <yao@codesourcery.com>
22229
22230 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
22231 remote host.
22232
65d7b369
YQ
222332014-10-15 Yao Qi <yao@codesourcery.com>
22234
22235 * gdb.python/py-symbol.exp: Match file base name if host is
22236 remote, otherwise match file name with dir name.
22237 * gdb.python/py-symtab.exp: Likewise.
22238 * gdb.python/python.exp: Likewise.
22239
46dc1394
YQ
222402014-10-15 Yao Qi <yao@codesourcery.com>
22241
22242 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
22243 pattern.
22244 * gdb.python/py-symtab.exp: Likewise.
22245 * gdb.python/python.exp: Remove trailing ".*". Fix typo
22246 locationn.
22247
c40cc657
JB
222482014-10-14 Joel Brobecker <brobecker@adacore.com>
22249
22250 * gdb.ada/addr_arith: New testcase.
22251
2abf49e1
MR
222522014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
22253
22254 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
22255 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
22256 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
22257 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
22258
f7088df3
SDJ
222592014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
22260
22261 * gdb.arch/stap-eval-lang-ada.S: Likewise.
22262 * gdb.arch/stap-eval-lang-ada.c: Likewise.
22263 * gdb.arch/stap-eval-lang-ada.exp: New file.
22264
4dc06805
YQ
222652014-10-14 Yao Qi <yao@codesourcery.com>
22266
22267 * gdb.mi/mi-var-child.c (nothing1): New function.
22268 (nothing2): New function.
22269 (do_children_tests): Set function pointers by nothing1 and
22270 nothing2.
22271 * gdb.mi/mi-var-child.exp: Step over new added statements.
22272 Update test to match the new output.
22273 * gdb.mi/var-cmd.c (nothing1): New function.
22274 (nothing2): New function.
22275 (do_children_tests): Set function pointers by nothing1 and
22276 nothing2.
22277 * gdb.mi/mi-var-display.exp: Update test to match output.
22278 Step to the line specified by $line_dct_nothing.
22279 Increase the number of lines to step.
22280
46a93de2
YQ
222812014-10-14 Yao Qi <yao@codesourcery.com>
22282
22283 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
22284 tests.
22285 * gdb.mi/mi2-var-child.exp: Likewise.
22286
14ea52ee
DE
222872014-10-13 Doug Evans <dje@google.com>
22288
22289 * gdb.python/py-objfile.exp: Change name of file name test.
22290
e5c6e92b
DE
222912014-10-13 Doug Evans <dje@google.com>
22292
22293 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
22294 from the start of the CU.
22295
c780cc2f
JK
222962014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
22297 Yao Qi <yao@codesourcery.com>
22298
22299 Fix "save breakpoints" for "catch" command.
22300 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
22301 Remove -nonewline. Match also the added "main" line.
22302
99894e11
JK
223032014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22304
22305 Fix "save breakpoints" for "disable $bpnum" command.
22306 * gdb.base/save-bp.c (main): Add label.
22307 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
22308
6e1ac5a3
JK
223092014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22310
22311 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
22312
754dd2b0
YQ
223132014-10-11 Yao Qi <yao@codesourcery.com>
22314
22315 * gdb.server/server-kill.exp: Execute command
22316 "set remote trace-status-packet on" before "tstatus".
22317
f90183d7
YQ
223182014-10-11 Yao Qi <yao@codesourcery.com>
22319
22320 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
22321 (main): Call getppid.
22322 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
22323 and continue to it. Read variable "server_pid".
22324
bf40a607
YQ
223252014-10-11 Yao Qi <yao@codesourcery.com>
22326
22327 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
22328
052ca370
YQ
223292014-10-11 Yao Qi <yao@codesourcery.com>
22330
22331 * gdb.threads/thread-find.exp: Don't execute command
22332 "info threads".
22333 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
22334 * gdb.threads/linux-dp.exp: Don't check the condition
22335 $threads_created equals to zero.
22336
3831839c
PA
223372014-10-10 Pedro Alves <palves@redhat.com>
22338
22339 * gdb.base/bigcore.exp: Remove references to IRIX.
22340 * gdb.base/funcargs.exp: Likewise.
22341 * gdb.base/interrupt.exp: Likewise.
22342 * gdb.base/mips_pro.exp: Likewise.
22343 * gdb.base/nodebug.exp: Likewise.
22344 * gdb.base/setvar.exp: Likewise.
22345 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
22346
8b9a549d
PA
223472014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
22348 Pedro Alves <palves@redhat.com>
22349
22350 PR symtab/14466
22351 * gdb.base/vdso-warning.c: New file.
22352 * gdb.base/vdso-warning.exp: New file.
22353
d48ba5e8
DE
223542014-10-02 Doug Evans <dje@google.com>
22355
22356 * gdb.base/structs.c (main): Don't run forever.
22357
2278c276
PA
223582014-10-02 Pedro Alves <palves@redhat.com>
22359
22360 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
22361 (top level) <stop threads 1, stop threads 2>: Use it.
22362
b57bacec
PA
223632014-10-02 Pedro Alves <palves@redhat.com>
22364
22365 * gdb.threads/break-while-running.exp (test): Add new
22366 'update_thread_list' argument. Skip "info threads" if false.
22367 (top level): Add new 'update_thread_list' axis.
22368
13fd3ff3
PA
223692014-10-02 Pedro Alves <palves@redhat.com>
22370
22371 PR breakpoints/17431
22372 * gdb.base/execl-update-breakpoints.c: New file.
22373 * gdb.base/execl-update-breakpoints.exp: New file.
22374
0fec99e8
PA
223752014-10-01 Pedro Alves <palves@redhat.com>
22376
22377 * gdb.base/breakpoint-in-ro-region.c: New file.
22378 * gdb.base/breakpoint-in-ro-region.exp: New file.
22379
2ddf4301
SM
223802014-10-01 Simon Marchi <simon.marchi@ericsson.com>
22381
22382 * gdb.mi/mi-exit-code.exp: New file.
22383 * gdb.mi/mi-exit-code.c: New file.
22384
6a5f3f43
YQ
223852014-09-30 Yao Qi <yao@codesourcery.com>
22386
22387 * lib/prelink-support.exp (build_executable_own_libs): Error if
22388 the target isn't native.
22389
345bcc73
YQ
223902014-09-30 Yao Qi <yao@codesourcery.com>
22391
22392 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
22393 false.
22394
a25a5a45
PA
223952014-09-22 Pedro Alves <palves@redhat.com>
22396
22397 * gdb.threads/break-while-running.exp: New file.
22398 * gdb.threads/break-while-running.c: New file.
22399
00ba3162
YQ
224002014-09-19 Yao Qi <yao@codesourcery.com>
22401
22402 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
22403 Invoke test. Restart GDB with --readnow and invoke test again.
22404
c3b7b696
YQ
224052014-09-19 Yao Qi <yao@codesourcery.com>
22406
22407 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
22408 proc set_breakpoint_on_gcd_function. Invoke
22409 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
22410 invoke set_breakpoint_on_gcd_function again.
22411
2b4fd423
DE
224122014-09-18 Doug Evans <dje@google.com>
22413
22414 * gdb.dwarf2/symtab-producer.exp: New file.
22415
a5947601
SDJ
224162014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22417
22418 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
22419 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
22420 * gdb.base/global-var-nested-by-dso.c: Likewise.
22421 * gdb.base/global-var-nested-by-dso.exp: Likewise.
22422
91c19059
SDJ
224232014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22424 Pedro Alves <palves@redhat.com>
22425
22426 * gdb.base/watch-bitfields.exp: Pass string other than test file
22427 name to prepare_for_testing.
22428 (watch): New procedure.
22429 (expect_watchpoint): Use with_test_prefix.
22430 (top level): Factor out tests to ...
22431 (test_watch_location, test_regular_watch): ... these new
22432 procedures, and use with_test_prefix and gdb_continue_to_end.
22433
bb9d5f81
PP
224342014-09-16 Patrick Palka <patrick@parcs.ath.cx>
22435
22436 PR breakpoints/12526
22437 * gdb.base/watch-bitfields.exp: New file.
22438 * gdb.base/watch-bitfields.c: New file.
22439
635856f5
PA
224402014-09-16 Pedro Alves <palves@redhat.com>
22441
22442 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
22443 software and hardware addresses, not software address against
22444 itself.
22445
7280ceea
PA
224462014-09-16 Pedro Alves <palves@redhat.com>
22447
22448 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
22449 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
22450
428b16bd
PA
224512014-09-16 Pedro Alves <palves@redhat.com>
22452
22453 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
22454 files.
22455 * gdb.base/a2-run.exp: Remove all code guarded by istarget
22456 "*-*-vxworks*" throughout.
22457 * gdb.base/break.exp: Likewise.
22458 * gdb.base/default.exp: Likewise.
22459 * gdb.base/scope.exp: Likewise.
22460 * gdb.base/sepdebug.exp: Likewise.
22461 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
22462 throughout.
22463 * gdb.base/run.c: Likewise.
22464 * gdb.base/sepdebug.c: Likewise.
22465 * gdb.hp/gdb.aCC/run.c: Likewise.
22466 * gdb.reverse/until-reverse.c: Likewise.
22467 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
22468
666d413c
YQ
224692014-09-16 Yao Qi <yao@codesourcery.com>
22470
22471 * boards/local-remote-host-native.exp: New file.
22472
57cbd724
DE
224732014-09-14 Doug Evans <xdje42@gmail.com>
22474
22475 * gdb.threads/queue-signal.c (thread_count): New variable.
22476 (thread_count_mutex, thread_count_condvar): New variables.
22477 (incr_thread_count, wait_all_threads_running): New functions.
22478 (main): Wait for all threads to be in their thread functions.
22479
81219e53
DE
224802014-09-13 Doug Evans <xdje42@gmail.com>
22481
22482 * gdb.threads/queue-signal.c: New file.
22483 * gdb.threads/queue-signal.exp: New file.
22484
3714cea7
DE
224852014-09-13 Doug Evans <xdje42@gmail.com>
22486
22487 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
22488 be consistent with what default_gdb_init uses.
22489 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
22490 the plain text of the prompt. Add some logging printfs.
22491 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
22492
fa43b1d7
PA
224932014-09-12 Pedro Alves <palves@redhat.com>
22494
22495 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
22496 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
22497 * gdb.arch/i386-size-overlap.exp: Likewise.
22498 * gdb.arch/i386-size.exp: Likewise.
22499 * gdb.arch/i386-unwind.exp: Likewise.
22500 * gdb.base/a2-run.exp: Likewise.
22501 * gdb.base/break.exp: Likewise.
22502 * gdb.base/charset.exp: Likewise.
22503 * gdb.base/chng-syms.exp: Likewise.
22504 * gdb.base/commands.exp: Likewise.
22505 * gdb.base/dbx.exp: Likewise.
22506 * gdb.base/find.exp: Likewise.
22507 * gdb.base/funcargs.exp: Likewise.
22508 * gdb.base/jit-simple.exp: Likewise.
22509 * gdb.base/reread.exp: Likewise.
22510 * gdb.base/sepdebug.exp: Likewise.
22511 * gdb.base/step-bt.exp: Likewise.
22512 * gdb.cp/mb-inline.exp: Likewise.
22513 * gdb.cp/mb-templates.exp: Likewise.
22514 * gdb.objc/basicclass.exp: Likewise.
22515 * gdb.threads/killed.exp: Likewise.
22516
9d9bf2df
EBM
225172014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22518
22519 PR tdep/17379
22520 * gdb.arch/powerpc-stackless.S: New file.
22521 * gdb.arch/powerpc-stackless.exp: New file.
22522
1cf2f1b0
JK
225232014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22524
22525 * gdb.base/attach.c: Include unistd.h.
22526 (main): Call alarm. Add label postloop.
22527 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
22528 gdb_breakpoint, gdb_continue_to_breakpoint.
22529 (test_command_line_attach_run): Kill ${testpid} in one exit path.
22530
98880d46
PA
225312014-09-11 Pedro Alves <palves@redhat.com>
22532
22533 PR gdb/17347
22534 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
22535 * gdb.base/attach.exp (test_command_line_attach_run): New
22536 procedure.
22537 (top level): Call it.
22538
4c92ff2c
PA
225392014-09-11 Pedro Alves <palves@redhat.com>
22540
22541 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
22542 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
22543 (do_command_attach_tests): Use spawn_wait_for_attach.
22544 * gdb.base/solib-overlap.exp: Likewise.
22545 * gdb.multi/multi-attach.exp: Likewise.
22546 * gdb.python/py-prompt.exp: Likewise.
22547 * gdb.python/py-sync-interp.exp: Likewise.
22548 * gdb.server/ext-attach.exp: Likewise.
22549
3adc1a7d
GKB
225502014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
22551
22552 * gdb.fortran/array-element.exp: Remove unexpected "continue"
22553 command in testcase. Simplify testcase.
22554
96334934
JB
225552014-09-10 Joel Brobecker <brobecker@adacore.com>
22556
22557 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
22558
eb479039
JB
225592014-09-10 Joel Brobecker <brobecker@adacore.com>
22560
22561 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
22562
deede10c
JB
225632014-09-10 Joel Brobecker <brobecker@adacore.com>
22564
22565 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
22566
7828a5f5
JB
225672014-09-10 Joel Brobecker <brobecker@adacore.com>
22568
22569 * gdb.dwarf2/dynarr-ptr.c: New file.
22570 * gdb.dwarf2/dynarr-ptr.exp: New file.
22571
33aeebcf
MR
225722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22573
22574 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
22575 of 30 rather than hardcoding 120 for a slow test case. Take the
22576 `gdb,timeout' target setting into account for this calculation.
22577 Don't extend the timeout for the test cases that don't need it.
22578
7b415901
MR
225792014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22580
22581 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22582 a factor of 2 for a slow test case. Take the `gdb,timeout'
22583 target setting into account for this calculation.
22584 * gdb.reverse/until-precsave.exp: Increase the timeout by
22585 a factor of 15 and 3 respectively rather than adding 120
22586 for a pair of slow test cases. Take the `gdb,timeout'
22587 target setting into account for this calculation.
22588
4a40f85a
MR
225892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22590
22591 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22592 timeout, don't pass one down to gdb_expect.
22593 (gdb_expect): Rework timeout selection.
22594
09635af7
MR
225952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22596
22597 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22598 exception on timeout.
22599 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22600 (gdbserver_start_extended): Catch any `gdbserver_start' error
22601 exceptions.
22602 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22603 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22604 `gdbserver_gdb_load' error exceptions.
22605
2bdd10b7
MR
226062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22607
22608 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22609 120 on waiting for the TCP socket to open.
22610
316935f0
DE
226112014-09-09 Doug Evans <xdje42@gmail.com>
22612
22613 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22614 _caller_matches, _any_caller_is, _any_caller_matches.
22615
83740597
DE
226162014-09-09 Doug Evans <xdje42@gmail.com>
22617
22618 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22619
4c122fc3
YQ
226202014-09-09 Yao Qi <yao@codesourcery.com>
22621
22622 * gdb.mi/mi-var-display.exp: Set print symbol off.
22623
a9f116cb
GKB
226242014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22625
22626 PR gdb/17035
22627 * gdb.base/commands.exp: Add tests to verify user-defined
22628 commands with empty bodies.
22629 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22630 python commands in `show user command`.
22631 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22632 scheme commands in `show user command`.
22633
c75bd3a2
JK
226342014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22635
22636 PR python/17355
22637 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22638 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22639 * gdb.python/py-framefilter-invalidarg.exp: New file.
22640 * gdb.python/py-framefilter-invalidarg.py: New file.
22641
faa42425
DE
226422014-09-06 Doug Evans <xdje42@gmail.com>
22643
22644 PR 15276
22645 * gdb.python/py-caller-is.c: New file.
22646 * gdb.python/py-caller-is.exp: New file.
22647
474ca4f6
SDJ
226482014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22649
22650 PR gdb/17235
22651 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22652 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22653
eb0b0463
SDJ
226542014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22655
22656 PR fortran/17237
22657 * gdb.fortran/print-formatted.exp: New file.
22658 * gdb.fortran/print-formatted.f90: Likewise.
22659
5f3b99cf
SS
226602014-09-03 Sasha Smundak <asmundak@google.com>
22661
22662 * gdb.python/py-frame.exp: Test Frame.read_register.
22663
7d793aa9
SDJ
226642014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22665
22666 PR python/16699
22667 * gdb.python/py-completion.exp: New file.
22668 * gdb.python/py-completion.py: Likewise.
22669
fb0576e9
DE
226702014-08-28 Doug Evans <dje@google.com>
22671
22672 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22673 eax,etc. are live with values set by gdb and thus the compiler can't
22674 use them.
22675 * gdb.arch/i386-pseudo.c (main): Ditto.
22676
ee92b0dd
DE
226772014-08-27 Doug Evans <dje@google.com>
22678
22679 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22680
6649db35
DE
226812014-08-25 Doug Evans <dje@google.com>
22682
22683 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22684 (main): Ditto.
22685
564b7600
DE
226862014-08-25 Doug Evans <dje@google.com>
22687
22688 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22689
3881fb67
YQ
226902014-08-24 Yao Qi <yao@codesourcery.com>
22691
22692 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22693 symbol off.
22694 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22695
a05a36a5
DE
226962014-08-22 Doug Evans <dje@google.com>
22697
22698 PR 17276
22699 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22700 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22701 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22702
7c343b48
YQ
227032014-08-22 Yao Qi <yao@codesourcery.com>
22704
22705 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22706 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22707 * gdb.python/python.exp: Likewise. Use .py file on the host
22708 instead of the build.
22709
22fd09ae
JK
227102014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22711
22712 * gdb.threads/gcore-stale-thread.c: New file.
22713 * gdb.threads/gcore-stale-thread.exp: New file.
22714
a8454a7c
PA
227152014-08-21 Pedro Alves <palves@redhat.com>
22716
22717 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22718 * gdb.base/gcore-relro-pie.exp: Likewise.
22719 * gdb.base/gcore-relro.exp: Likewise.
22720 * gdb.base/gcore.exp: Likewise.
22721 * gdb.base/print-symbol-loading.exp: Likewise.
22722 * gdb.threads/gcore-thread.exp: Likewise.
22723 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22724
2a31c623
PA
227252014-08-20 Pedro Alves <palves@redhat.com>
22726 Jan Kratochvil <jan.kratochvil@redhat.com>
22727
22728 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22729 configure.
22730 (EXPECT): Handle READ1 being set.
22731 (all): Depend on EXTRA_RULES.
22732 (check-read1, expect-read1, read1.so, read1): New rules.
22733 * README (Testsuite Parameters): Document the READ1 make variable.
22734 (Race detection): New section.
22735 * configure: Regenerate.
22736 * configure.ac: If build==host==target, and running under a
22737 GNU/glibc system, add read1 to the extra Makefile rules.
22738 (EXTRA_RULES): AC_SUBST it.
22739 * lib/read1.c: New file.
22740
d36430db
JB
227412014-08-20 Joel Brobecker <brobecker@adacore.com>
22742
22743 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22744 the handling of variables declared as a typedef to an array
22745 which a DW_AT_data_location attribute.
22746
9a0dc9e3
PA
227472014-08-19 Andrew Burgess <aburgess@broadcom.com>
22748 Pedro Alves <palves@redhat.com>
22749
22750 PR symtab/14604
22751 PR symtab/14605
22752 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22753 gdb_test.
22754
0718a8da
PA
227552014-08-19 Pedro Alves <palves@redhat.com>
22756
22757 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22758
13b448cd
YQ
227592014-08-19 Yao Qi <yao@codesourcery.com>
22760
22761 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22762 right line.
22763
1cbf5077
DB
227642014-08-18 David Blaikie <dblaikie@gmail.com>
22765
22766 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22767
bf0fae19
JB
227682014-08-18 Joel Brobecker <brobecker@adacore.com>
22769
22770 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22771 attribute in array range.
22772
3c8c5dcc
JB
227732014-08-18 Joel Brobecker <brobecker@adacore.com>
22774
22775 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22776
e66d4446
SC
227772014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22778
22779 PR c++/17132
22780 * gdb.cp/pr17132.cc: New file.
22781 * gdb.cp/pr17132.exp: New file.
22782
940df408
SC
227832014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22784
22785 * gdb.python/py-xmethods.py (A_getarrayind)
22786 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22787 Use 'print' with function call syntax.
22788 (E_method_matcher.match): Fix tab vs space indentation mixup.
22789
ebcc6c3a
YQ
227902014-08-15 Yao Qi <yao@codesourcery.com>
22791
22792 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22793 false.
22794
775e0f04
YQ
227952014-08-15 Yao Qi <yao@codesourcery.com>
22796
22797 * gdb.cp/casts.exp: Set print symbol off.
22798 * gdb.cp/class2.exp: Likewise.
22799 * gdb.cp/overload.exp: Likewise.
22800 * gdb.cp/templates.exp: Likewise.
22801
d769e349
DE
228022014-08-11 Doug Evans <dje@google.com>
22803
22804 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22805 (test_load_shlib): Update.
22806
20c6f1e1
YQ
228072014-08-09 Yao Qi <yao@codesourcery.com>
22808
22809 * gdb.base/display.exp: Invoke is_address_zero_readable.
22810 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22811 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22812 * gdb.base/hbreak-unmapped.exp: Return if
22813 is_address_zero_readable returns true.
22814 * gdb.base/signest.exp: Likewise.
22815 * gdb.base/signull.exp: Likewise.
22816 * gdb.base/sigbpt.exp: Likewise.
22817 * gdb.guile/scm-disasm.exp: Do the test if
22818 is_address_zero_readable returns false.
22819 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22820 * gdb.python/py-arch.exp: Likewise.
22821 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22822 * lib/gdb.exp (is_address_zero_readable): New proc.
22823
5792e8e3
YQ
228242014-08-09 Yao Qi <yao@codesourcery.com>
22825
22826 PR testsuite/13443
22827 * gdb.mi/mi-var-display.exp: Make test messages unique.
22828
3cecbbbe
TT
228292014-08-04 Tom Tromey <tromey@redhat.com>
22830
22831 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22832 target 0".
22833
00b51ff5
TT
228342014-08-04 Tom Tromey <tromey@redhat.com>
22835
22836 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22837 "target_resume".
22838
6908c509
JB
228392014-08-01 Joel Brobecker <brobecker@adacore.com>
22840
22841 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22842 inner_vla_struct_object_size.
22843 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22844 as xfail.
22845
cc6563d2
PA
228462014-07-30 Pedro Alves <palves@redhat.com>
22847
22848 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22849 comment.
22850
7e09a223
YQ
228512014-07-29 Yao Qi <yao@codesourcery.com>
22852
22853 PR gdb/17206
22854 * gdb.base/until-nodebug.exp: New.
22855
7ebdbe92
DE
228562014-07-28 Doug Evans <xdje42@gmail.com>
22857
22858 PR guile/17203
22859 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22860 previously existing parameter, and previously ambiguously spelled
22861 parameter.
22862
fdb1adc6
WN
228632014-07-28 Will Newton <will.newton@linaro.org>
22864
22865 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22866
186fcde0
DE
228672014-07-26 Ludovic Courtès <ludo@gnu.org>
22868 Doug Evans <xdje42@gmail.com>
22869
22870 PR guile/17146
22871 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22872
70509625
PA
228732014-07-25 Pedro Alves <palves@redhat.com>
22874
22875 * gdb.threads/signal-command-handle-nopass.c: New file.
22876 * gdb.threads/signal-command-handle-nopass.exp: New file.
22877 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22878 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22879 * gdb.threads/signal-delivered-right-thread.c: New file.
22880 * gdb.threads/signal-delivered-right-thread.exp: New file.
22881
c3f814a1
PA
228822014-07-25 Pedro Alves <palves@redhat.com>
22883
22884 * gdb.base/double-prompt-target-event-error.exp
22885 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22886 match.
22887 (cancel_pagination_in_target_event): Rework double prompt
22888 detection.
22889 * gdb.base/paginate-after-ctrl-c-running.exp
22890 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22891 <return>' match.
22892 * gdb.base/paginate-bg-execution.exp
22893 (test_bg_execution_pagination_return)
22894 (test_bg_execution_pagination_cancel): Remove '-notransfer
22895 <return>' matches.
22896 * gdb.base/paginate-execution-startup.exp
22897 (test_fg_execution_pagination_return)
22898 (test_fg_execution_pagination_cancel): Remove '-notransfer
22899 <return>' matches.
22900 * gdb.base/paginate-inferior-exit.exp
22901 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22902 match.
22903 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22904 * lib/gdb.exp (pagination_prompt): Run text through
22905 string_to_regexp.
22906 (gdb_test_multiple): Match $pagination_prompt instead of
22907 "<return>".
22908 (string_to_regexp): Move to lib/gdb-utils.exp.
22909
e214cf6c
JK
229102014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22911
22912 * gdb.arch/amd64-entry-value-paramref.S: New file.
22913 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22914 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22915 * gdb.arch/amd64-optimout-repeat.S: New file.
22916 * gdb.arch/amd64-optimout-repeat.c: New file.
22917 * gdb.arch/amd64-optimout-repeat.exp: New file.
22918
17d0c5c8
JK
229192014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22920
22921 PR gdb/17170
22922 * gdb.base/statistics.exp: New file.
22923
b8b8facf
DE
229242014-07-17 Doug Evans <dje@google.com>
22925
74b49205 22926 PR gdb/17170
b8b8facf
DE
22927 * gdb.base/maint.exp: Update testing of per-command stats.
22928
1b5d0ab3
PA
229292014-07-16 Pedro Alves <palves@redhat.com>
22930
22931 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22932 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22933 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22934 (tfile_write_buf): New functions.
22935 (add_memory_block): Rewrite using the above.
22936 (adjust_function_address): New function.
22937 (FUNCTION_ADDRESS): New macro.
22938 (write_basic_trace_file): Remove short_x local, and use
22939 tfile_write_16. Change type of func_addr local to unsigned long
22940 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22941 here. Cast argument of add_memory_block to char pointer.
22942 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22943 (main): Remove parameters.
22944 * gdb.trace/tfile.exp: Remove nowarnings.
22945
4d974e88
SM
229462014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22947
22948 * gdb.base/debug-expr.exp: Test string evaluation with
22949 "debug expression" on.
22950
41e99568
PA
229512014-07-15 Pedro Alves <palves@redhat.com>
22952
22953 * gdb.base/reread.exp: Use clean_restart.
22954
487d9753
PL
229552014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22956
22957 * gdb.arch/avr-flash-qualifer.c: New.
22958 * gdb.arch/avr-flash-qualifer.exp: New.
22959
cc1c52ad
PA
229602014-07-14 Pedro Alves <palves@redhat.com>
22961
22962 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22963 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22964
1e973570
PA
229652014-07-14 Pedro Alves <palves@redhat.com>
22966
22967 * gdb.base/double-prompt-target-event-error.c: New file.
22968 * gdb.base/double-prompt-target-event-error.exp: New file.
22969
93d6eb10
PA
229702014-07-14 Pedro Alves <palves@redhat.com>
22971
22972 PR gdb/17072
22973 * gdb.base/paginate-inferior-exit.c: New file.
22974 * gdb.base/paginate-inferior-exit.exp: New file.
22975
0017922d
PA
229762014-07-14 Pedro Alves <palves@redhat.com>
22977
22978 PR gdb/17072
22979 * gdb.base/paginate-bg-execution.c: New file.
22980 * gdb.base/paginate-bg-execution.exp: New file.
22981
94696ad3
PA
229822014-07-14 Pedro Alves <palves@redhat.com>
22983
22984 PR gdb/17072
22985 * gdb.base/paginate-execution-startup.c: New file.
22986 * gdb.base/paginate-execution-startup.exp: New file.
22987 * lib/gdb.exp (pagination_prompt): New global.
22988 (default_gdb_spawn): New procedure, factored out from
22989 default_gdb_spawn.
22990 (default_gdb_start): Adjust to call default_gdb_spawn.
22991 (gdb_spawn): New procedure.
22992
bd293940
PA
229932014-07-14 Pedro Alves <palves@redhat.com>
22994
22995 * lib/gdb.exp (gdb_assert): New procedure.
22996 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22997
c933f875
PA
229982014-07-14 Pedro Alves <palves@redhat.com>
22999
23000 * gdb.base/execution-termios.c: New file.
23001 * gdb.base/execution-termios.exp: New file.
23002
d98b7a16
TT
230032014-07-14 Tom Tromey <tromey@redhat.com>
23004
23005 * gdb.cp/vla-cxx.cc: New file.
23006 * gdb.cp/vla-cxx.exp: New file.
23007
548740d6
TT
230082014-07-14 Tom Tromey <tromey@redhat.com>
23009
23010 * gdb.reverse/rerun-prec.c: New file.
23011 * gdb.reverse/rerun-prec.exp: New file.
23012
a25eb028
MR
230132014-07-12 Maciej W. Rozycki <macro@mips.com>
23014 Maciej W. Rozycki <macro@codesourcery.com>
23015
23016 * lib/gdb-utils.exp: New file.
23017 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
23018 inline `gdb_init_command' processing.
23019 (gdb_start_cmd): Likewise.
23020 * lib/mi-support.exp (mi_run_cmd): Likewise.
23021 * README: Document `gdb_init_command' and `gdb_init_commands'.
23022
218c2655
JK
230232014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23024
23025 Fix false FAIL running under a very long directory name.
23026 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
23027 and "set print elements 10000". Twice.
23028
5401fde3
YQ
230292014-07-11 Yao Qi <yao@codesourcery.com>
23030
23031 * gdb.base/exprs.exp: "set print symbol off".
23032
e76126e8
PA
230332014-07-11 Pedro Alves <palves@redhat.com>
23034
23035 * gdb.threads/kill.c: New file.
23036 * gdb.threads/kill.exp: New file.
23037
2d6f0de6
YQ
230382014-07-10 Yao Qi <yao@codesourcery.com>
23039
23040 * gdb.trace/tfile.c (write_basic_trace_file)
23041 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
23042 address written to trace file.
23043
7180e04a
PA
230442014-07-09 Pedro Alves <palves@redhat.com>
23045
23046 * gdb.base/attach-wait-input.exp: New file.
23047 * gdb.base/attach-wait-input.c: New file.
23048
9a9a7608
AB
230492014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
23050
23051 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
23052 setting up test structures.
23053 (main): Call new test function.
23054 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
23055 test function, continue into test function and walk test
23056 structures.
23057
161ac41e
YQ
230582014-07-02 Yao Qi <yao@codesourcery.com>
23059
23060 * gdb.trace/entry-values.c: Define labels 'foo_start' and
23061 'bar_start' at the beginning of functions 'foo' and 'bar'
23062 respectively.
23063 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
23064 instead of 'foo' and 'bar'.
23065
1f267ae3
MM
230662014-07-08 Markus Metzger <markus.t.metzger@intel.com>
23067
23068 * gdb.btrace/segv.exp: New.
23069 * gdb.btrace/segv.c: New.
23070
2b239efb
LM
230712014-07-02 Luis Machado <lgustavo@codesourcery.com>
23072
23073 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
23074 instruction.
23075
cf363f18
MW
230762014-06-30 Mark Wielaard <mjw@redhat.com>
23077
23078 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
23079 vulture, vilify, villar): New volatile array constants.
23080 (vindictive, vegetation): New const volatile array constants.
23081 * gdb.base/volatile.exp: Test volatile and const volatile array
23082 types.
23083
aebf9d24
AA
230842014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
23085
23086 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
23087 target lacks support for awatch, rwatch, or hbreak.
23088
b67a2c6f
YQ
230892014-06-27 Yao Qi <yao@codesourcery.com>
23090
23091 * gdb.multi/dummy-frame-restore.exp: New.
23092 * gdb.multi/dummy-frame-restore.c: New.
23093
aef92902
MM
230942014-06-25 Markus Metzger <markus.t.metzger@intel.com>
23095
23096 * gdb.btrace/gcore.exp: New.
23097
8e9db26e
PA
230982014-06-23 Pedro Alves <palves@redhat.com>
23099
23100 * gdb.base/watchpoint-reuse-slot.c: New file.
23101 * gdb.base/watchpoint-reuse-slot.exp: New file.
23102
70afc5b7
SC
231032014-06-23 Siva Chandra Reddy <sivachandra@google.com>
23104
23105 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
23106 progspace's filename in 'info', 'enable' and 'disable' command
23107 tests.
23108
b972bd9c
JK
231092014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
23110
23111 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
23112 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23113 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
23114
125f8a3d
GB
231152014-06-20 Gary Benson <gbenson@redhat.com>
23116
23117 * gdb.arch/i386-avx.exp: Fix include file location.
23118 * gdb.arch/i386-sse.exp: Likewise.
23119
3ed9baed
IB
231202014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
23121
23122 * gdb.dlang/expression.exp: New file.
23123
034f788c
PA
231242014-06-19 Pedro Alves <palves@redhat.com>
23125
23126 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
23127 out from ...
23128 (top level): ... here. Iterate running tests under different
23129 scheduler-locking settings.
23130
45371d0c
LM
231312014-06-18 Luis Machado <lgustavo@codesourcery.com>
23132
23133 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
23134 to DW_FORM_addr and use non-zero addresses.
23135
5d376983
SC
231362014-06-18 Siva Chandra Reddy <sivachandra@google.com>
23137
23138 PR gdb/17017
23139 * gdb.python/py-xmethods.cc: Add global function call counters and
23140 increment them in their respective functions. Remove "cout"
23141 statements.
23142 * gdb.python/py-xmethods.exp: Make tests check the global function
23143 call counters instead of depending on inferior IO.
23144
a1aa2221
LM
231452014-06-18 Don Breazeal <donb@codesourcery.com>
23146
23147 * gdb.base/foll-fork.exp (default_fork_parent_follow):
23148 Deleted procedure.
23149 (explicit_fork_parent_follow): Deleted procedure.
23150 (explicit_fork_child_follow): Deleted procedure.
23151 (test_follow_fork): New procedure.
23152 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 23153 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
23154 procedure calls.
23155
0fc05997
YQ
231562014-06-17 Yao Qi <yao@codesourcery.com>
23157
23158 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
23159 CP1252.
23160
70795c52
LM
231612014-06-17 Luis Machado <lgustavo@codesourcery.com>
23162
23163 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
23164 Initialize ptr and S explicitly.
23165 (skip_type_update_when_not_use_rtti_test): Likewise.
23166
6be47f0c
KS
231672014-06-16 Keith Seitz <keiths@redhat.com>
23168
23169 PR mi/15863
23170 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
23171 the inferior is started.
23172
d03de421
PA
231732014-06-16 Pedro Alves <palves@redhat.com>
23174
23175 * gdb.base/break-main-file-remove-fail.c: New file.
23176 * gdb.base/break-main-file-remove-fail.exp: New file.
23177 * gdb.base/break-unload-file.exp: Use build_executable instead of
23178 prepare_for_testing.
23179 (test_break): New parameter "initial_load". Handle it.
23180 (top level): Add initial_load cmdline/file axis.
23181
f9579b99
TT
231822014-06-12 Tom Tromey <tromey@redhat.com>
23183
23184 * gdb.base/completion.exp: Don't use directory name in test.
23185
3657956b
GB
231862014-06-09 Gary Benson <gbenson@redhat.com>
23187
23188 * gdb.base/sigall.c [Functions to send signals]: Reorder to
23189 separate the always-available ANSI-standard signals from the
23190 signals that require checking.
23191 (main): Likewise.
23192 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
23193 Likewise.
23194 (main): Likewise.
23195
4186eb54
KS
231962014-06-07 Keith Seitz <keiths@redhat.com>
23197
23198 Revert:
23199 PR c++/16253
23200 * gdb.cp/var-tag.cc: New file.
23201 * gdb.cp/var-tag.exp: New file.
23202 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23203 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23204 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23205 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23206
25326a28 232072014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
23208
23209 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
23210
829155c9
PA
232112014-06-06 Pedro Alves <palves@redhat.com>
23212
23213 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
23214 in target debug output instead of looking at RSP packets,
23215 disabling the test on any target that uses hardware stepping.
23216 Update comments.
23217
61c8d22e
PA
232182014-06-06 Pedro Alves <palves@redhat.com>
23219
23220 * gdb.base/break-unload-file.exp: Fix typo.
23221
d9a47287
YQ
232222014-06-06 Yao Qi <yao@codesourcery.com>
23223
23224 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
23225 from "jit_function" to "^jit_function".
23226
e5e01dbf
YQ
232272014-06-06 Yao Qi <yao@codesourcery.com>
23228
23229 * gdb.base/async.c (foo): Add one statement.
23230 * gdb.base/async.exp: Get the next instruction address and
23231 match the output of "nexti" by instruction address. Match
23232 the hex address in the output of "finish".
23233
73ba372c
GB
232342014-06-06 Gary Benson <gbenson@redhat.com>
23235
23236 * gdb.base/call-signals.c: Remove preprocessor conditionals
23237 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
23238 SIGSEGV and SIGTERM.
23239 * gdb.base/sigall.c: Likewise.
23240 * gdb.base/unwindonsignal.c: Likewise.
23241 * gdb.reverse/sigall-reverse.c: Likewise.
23242
831517df
YQ
232432014-06-06 Yao Qi <yao@codesourcery.com>
23244
23245 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
23246 readable, skip the test.
23247
b8b91e98
YQ
232482014-06-06 Yao Qi <yao@codesourcery.com>
23249
23250 * gdb.threads/staticthreads.c (thread_function): Move the line
23251 setting breakpoint on forward.
23252 * gdb.threads/staticthreads.exp: Update comments.
23253
fb934770
LC
232542014-06-05 Ludovic Courtès <ludo@gnu.org>
23255
23256 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
23257 "history-append! type error".
23258
6ef284bd
SM
232592014-06-05 Simon Marchi <simon.marchi@ericsson.com>
23260
23261 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
23262 erroneous dprintf expected input.
23263
a872e241
DE
232642014-06-04 Doug Evans <xdje42@gmail.com>
23265
23266 * gdb.guile/scm-generics.exp: Delete.
23267
16f691fb
DE
232682014-06-04 Doug Evans <xdje42@gmail.com>
23269
23270 * gdb.guile/scm-breakpoint.exp: Update.
23271 Add tests for breakpoint registration.
23272
012370f6
TT
232732014-06-04 Tom Tromey <tromey@redhat.com>
23274
23275 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
23276 VLA-in-union.
23277 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
23278 inner_vla_struct, vla_union types. Initialize objects of those
23279 types and compute their sizes.
23280
9f5a4cef
HZ
232812014-06-04 Nathan Sidwell <nathan@codesourcery.com>
23282 Hui Zhu <hui@codesourcery.com>
23283
23284 * gdb.base/fileio.exp: Add test for shell not available as well as
23285 available.
23286 * gdb.base/fileio.c (test_system): Check for shell twice.
23287
90a45c4d
YQ
232882014-06-04 Yao Qi <yao@codesourcery.com>
23289
23290 * gdb.base/auto-connect-native-target.exp: Remove redundant
23291 space from the regexp pattern.
23292
70017e41
YQ
232932014-06-04 Yao Qi <yao@codesourcery.com>
23294
23295 * gdb.base/default.exp: Replace "child" with "native" in
23296 regexp pattern.
23297
883964a7
SC
232982014-06-03 Siva Chandra Reddy <sivachandra@google.com>
23299
23300 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
23301 * gdb.python/py-xmethods.exp: New tests to test xmethods.
23302 * gdb.python/py-xmethods.py: Python script supporting the
23303 new testcase and tests.
23304
ef370185
JB
233052014-06-03 Joel Brobecker <brobecker@adacore.com>
23306 Pedro Alves <palves@redhat.com>
23307
23308 PR breakpoints/17000
23309 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
23310 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
23311
1e2ccb61
BM
233122014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
23313
23314 * gdb.base/subst.exp: Add tests to verify partial path matching
23315 output.
23316
c6ec5ab2
PA
233172014-06-03 Pedro Alves <palves@redhat.com>
23318
23319 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
23320 target that doesn't use software single-stepping.
23321
835c559f
PA
233222014-06-03 Pedro Alves <palves@redhat.com>
23323
23324 PR breakpoints/17000
23325 * gdb.base/sss-bp-on-user-bp-2.c: New file.
23326 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
23327
06eb1586
DE
233282014-06-02 Doug Evans <xdje42@gmail.com>
23329
23330 * gdb.guile/scm-parameter.exp: New file.
23331
e698b8c4
DE
233322014-06-02 Doug Evans <xdje42@gmail.com>
23333
23334 * gdb.guile/scm-cmd.c: New file.
23335 * gdb.guile/scm-cmd.exp: New file.
23336
ded03782
DE
233372014-06-02 Doug Evans <xdje42@gmail.com>
23338
23339 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
23340 pretty-printer lookup.
23341 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
23342 (make-pp_s-printer): Call it.
23343 (make-pretty-printer-from-dict): New function.
23344 (lookup-pretty-printer-maker-from-dict): New function.
23345 (*pretty-printer*): Simplify.
23346 (make-objfile-pp_s-printer): New function.
23347 (install-objfile-pretty-printers!): New function.
23348 (make-progspace-pp_s-printer): New function.
23349 (install-progspace-pretty-printers!): New function.
23350 * gdb.guile/scm-progspace.c: New file.
23351 * gdb.guile/scm-progspace.exp: New file.
23352
41fac0cf
PA
233532014-06-02 Pedro Alves <palves@redhat.com>
23354
23355 * gdb.base/dprintf-bp-same-addr.c: New file.
23356 * gdb.base/dprintf-bp-same-addr.exp: New file.
23357
96ae5695
EBM
233582014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23359
23360 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
23361 * gdb.arch/powerpc-power.s: Likewise.
23362
da02b3a8
JB
233632014-06-02 Joel Brobecker <brobecker@adacore.com>
23364
23365 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
23366
c72b2e7b
YQ
233672014-06-01 Yao Qi <yao@codesourcery.com>
23368
23369 * gdb.base/watchpoint.exp (test_watch_location): Check null
23370 pointer can be dereferenced. If not, do the test, otherwise
23371 skip it.
23372
53e8a631
AB
233732014-05-30 Andrew Burgess <aburgess@broadcom.com>
23374
23375 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
23376 results.
23377 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
23378
938f0e2f
AB
233792014-05-30 Andrew Burgess <aburgess@broadcom.com>
23380
23381 * gdb.arch/amd64-invalid-stack-middle.S: New file.
23382 * gdb.arch/amd64-invalid-stack-middle.c: New file.
23383 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
23384 * gdb.arch/amd64-invalid-stack-top.c: New file.
23385 * gdb.arch/amd64-invalid-stack-top.exp: New file.
23386
9ba6657a
PA
233872014-05-30 Pedro Alves <palves@redhat.com>
23388
23389 PR breakpoints/17000
23390 * gdb.base/sss-bp-on-user-bp.c: New file.
23391 * gdb.base/sss-bp-on-user-bp.exp: New file.
23392
522c09bf
DB
233932014-05-30 David Blaikie <dblaikie@gmail.com>
23394
23395 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
23396 gnu_inline semantics via attribute.
23397 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
23398 source explicitly specifies the required semantics.
23399
bf4ef81e
MR
234002014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
23401
23402 * gdb.reverse/sigall-reverse.exp: Fix a typo.
23403
329ea579
PA
234042014-05-29 Pedro Alves <palves@redhat.com>
23405 Tom Tromey <tromey@redhat.com>
23406
23407 * gdb.base/async-shell.exp: Don't enable target-async.
23408 * gdb.base/async.exp
23409 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
23410 parameter. Adjust.
23411 (top level): Don't test with "target-async".
23412 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
23413 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
23414 * gdb.base/inferior-died.exp: Don't enable target-async.
23415 * gdb.base/interrupt-noterm.exp: Likewise.
23416 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
23417 * gdb.mi/mi-nonstop-exit.exp: Likewise.
23418 * gdb.mi/mi-nonstop.exp: Likewise.
23419 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
23420 * gdb.mi/mi-nsintrall.exp: Likewise.
23421 * gdb.mi/mi-nsmoribund.exp: Likewise.
23422 * gdb.mi/mi-nsthrexec.exp: Likewise.
23423 * gdb.mi/mi-watch-nonstop.exp: Likewise.
23424 * gdb.multi/watchpoint-multi.exp: Adjust comment.
23425 * gdb.python/py-evsignal.exp: Don't enable target-async.
23426 * gdb.python/py-evthreads.exp: Likewise.
23427 * gdb.python/py-prompt.exp: Likewise.
23428 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
23429 * gdb.server/solib-list.exp: Don't enable target-async.
23430 * gdb.threads/thread-specific-bp.exp: Likewise.
23431 * lib/mi-support.exp: Adjust to use mi-async.
23432
fd664c91
PA
234332014-05-29 Pedro Alves <palves@redhat.com>
23434
23435 PR gdb/13860
23436 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
23437 reason, even in sync mode.
23438
251bde03
PA
234392014-05-29 Pedro Alves <palves@redhat.com>
23440 Hui Zhu <hui@codesourcery.com>
23441
23442 PR PR15693
23443 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
23444 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
23445 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
23446 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
23447
7f3c0343
JB
234482014-05-28 Joel Brobecker <brobecker@adacore.com>
23449
23450 * config/monitor.exp (gdb_target_monitor): Replace use of
23451 "set remotebaud" by "set serial baud".
23452
b2715b27
AW
234532014-05-26 Andy Wingo <wingo@igalia.com>
23454
23455 * gdb.guile/scm-breakpoint.exp:
23456 * gdb.guile/scm-gsmob.exp: Update to use plain old object
23457 properties instead of gdb-object-properties.
23458
498a4489
YQ
234592014-05-26 Yao Qi <yao@codesourcery.com>
23460
23461 * gdb.server/no-thread-db.exp: Specify source file name
23462 explicitly when setting a breakpoint.
23463
589fdceb
MM
234642014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23465
23466 * gdb.btrace/vdso.c: New.
23467 * gdb.btrace/vdso.exp: New.
23468
e9089e05
MM
234692014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23470
23471 * gdb.base/gcore.exp (capture_command_output): Move ...
23472 * lib/gdb.exp (capture_command_output): ... here.
23473
67b5c0c1
MM
234742014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23475
23476 * gdb.btrace/data.exp: Test memory access during btrace replay.
23477
a2199296
SM
234782014-05-22 Simon Marchi <simon.marchi@ericsson.com>
23479
23480 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
23481
17b2616c
PA
234822014-05-21 Pedro Alves <palves@redhat.com>
23483
23484 PR gdb/13860
23485 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
23486 (top level): Test that output related to execution commands is
23487 sent to the console with CLI commands, but not with MI commands.
23488 Test that breakpoint events are always mirrored to the console.
23489 Also expect the new source line to be output after a "next" in
23490 async mode too. Make it a pass/fail test.
23491 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
23492 output.
23493 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
23494
5166082f
PA
234952014-05-21 Pedro Alves <palves@redhat.com>
23496
23497 * gdb.base/list.exp (build_pattern, test_list): New procedures.
23498 Use them to test variations of "list" after reaching a breakpoint.
23499 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
23500 Test "list" with listsize 10 after reaching a breakpoint.
23501 * gdb.python/python.exp (decode_line current location line
23502 number): Adjust expected line number.
23503
2f25d70f
SM
235042014-05-21 Simon Marchi <simon.marchi@ericsson.com>
23505
23506 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
23507 behavior for $args, pass it directly to "run".
23508
ff604a67
MR
235092014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
23510
23511 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
23512 30000 to 65536.
23513
6a3cb8e8
PA
235142014-05-21 Pedro Alves <palves@redhat.com>
23515
23516 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
23517 auto-connect-native-target off".
23518 * gdb.base/auto-connect-native-target.c: New file.
23519 * gdb.base/auto-connect-native-target.exp: New file.
23520
4ebfc96e
PA
235212014-05-21 Pedro Alves <palves@redhat.com>
23522
23523 * gdb.base/default.exp: Test "target native" instead of "target
23524 child".
23525
36d46afb
MW
235262014-05-21 Mark Wielaard <mjw@redhat.com>
23527
23528 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
23529
5876f503
JK
235302014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
23531
23532 Fix TLS access for -static -pthread.
23533 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
23534 <HAVE_TLS> (thread_function, main): Initialize it.
23535 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
23536 Add clean_restart.
23537 <$have_tls != "">: Check TLSVAR.
23538
0256a6ac
PA
235392014-05-21 Pedro Alves <palves@redhat.com>
23540
23541 * gdb.base/dcache-line-read-error.c: New.
23542 * gdb.base/dcache-line-read-error.exp: New.
23543
936d2992
PA
235442014-05-20 Pedro Alves <palves@redhat.com>
23545
23546 * gdb.base/compare-sections.c: New file.
23547 * gdb.base/compare-sections.exp: New file.
23548
802e8e6d
PA
235492014-05-20 Pedro Alves <palves@redhat.com>
23550
23551 * gdb.base/break-idempotent.c: New file.
23552 * gdb.base/break-idempotent.exp: New file.
23553
e59fa00f
MM
235542014-05-20 Markus Metzger <markus.t.metzger@intel.com>
23555
23556 * gdb.btrace/nohist.exp: New.
23557
8b696e31
YQ
235582014-05-20 Yao Qi <yao@codesourcery.com>
23559
23560 * lib/gdb.exp (gdb_init): Set timeout if test file is under
23561 gdb.reverse directory and gdb_reverse_timeout exists in board
23562 setting.
23563 * README: Document gdb_reverse_timeout.
23564
73c9764f
YQ
235652014-05-20 Yao Qi <yao@codesourcery.com>
23566
23567 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
23568 'test_file_name'. Treat args as a string instead of a list.
23569 (gdb_init): Rename argument 'args' by 'test_file_name'.
23570
f1f4348a
JK
235712014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
23572
23573 * gdb.arch/powerpc-power.exp: New file.
23574 * gdb.arch/powerpc-power.s: New file.
23575
0dbe70ce
DE
235762014-05-16 Doug Evans <dje@google.com>
23577
23578 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
23579 * gdb.base/completion.exp: Check that all expected files exist
23580 before doing file completion.
0dbe70ce 23581
8d551b02
DE
235822014-05-16 Doug Evans <dje@google.com>
23583
23584 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23585 Update.
23586 (do_syscall_tests_without_xml): Update.
23587
73eb7709
PA
235882014-05-16 Pedro Alves <palves@redhat.com>
23589
23590 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23591 instead of "unknown output after running".
23592
3fae92fc
YQ
235932014-05-16 Yao Qi <yao@codesourcery.com>
23594
23595 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23596 file1.txt from host at the end.
23597 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23598
c2b2ccc5
DE
235992014-05-15 Doug Evans <dje@google.com>
23600
23601 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23602 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23603 loading file. Add test for TU lookup.
23604
8c217a4b
SM
236052014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23606
23607 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23608 calling "-exec-arguments" or "set args" before running the
23609 inferior.
23610
3deb39c6
SM
236112014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23612
23613 * lib/mi-support.exp (mi_expect_stop): Expect message for
23614 inferiors that exit with non-zero exit code.
23615
71a79f8c
YQ
236162014-05-14 Yao Qi <yao@codesourcery.com>
23617
23618 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23619 match absolute path on remote host.
23620 (test_file_list_exec_source_files): Remove "/" from the
23621 pattern.
23622
f23fcd46
YQ
236232014-05-14 Yao Qi <yao@codesourcery.com>
23624
23625 * boards/local-remote-host-notty.exp (${board}_file): New
23626 proc.
23627
9404b58f
KM
236282014-05-07 Kyle McMartin <kyle@redhat.com>
23629
23630 Pushed by Joel Brobecker <brobecker@adacore.com>.
23631 * gdb.arch/aarch64-atomic-inst.c: New file.
23632 * gdb.arch/aarch64-atomic-inst.exp: New file.
23633
5e45f04c
YQ
236342014-05-07 Yao Qi <yao@codesourcery.com>
23635
23636 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23637 in current context" too.
23638
c888a17d
KS
236392014-05-05 Keith Seitz <keiths@redhat.com>
23640
23641 * gdb.linespec/ls-dollar.exp: Add test for linespec
23642 file:convenience_variable.
23643
290a839c
YQ
236442014-05-05 Yao Qi <yao@codesourcery.com>
23645
23646 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23647 traceframes into tfile and ctf trace files. Read data from
23648 trace file and test collected data.
23649 (gdb_collect_locals_test): Likewise.
23650 (gdb_unavailable_registers_test): Likewise.
23651 (gdb_unavailable_floats): Likewise.
23652 (gdb_collect_globals_test): Likewise.
23653 (top-level): Append "ctf" to trace_file_targets if GDB
23654 supports.
23655
b5262cd0
YQ
236562014-05-05 Yao Qi <yao@codesourcery.com>
23657
23658 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23659 code to ...
23660 (gdb_collect_args_test_1): ... it. New proc.
23661 (gdb_collect_locals_test): Move some code to ...
23662 (gdb_collect_locals_test_1): ... it. New proc.
23663 (gdb_unavailable_registers_test): Move some code to ...
23664 (gdb_unavailable_registers_test_1): ... it. New proc.
23665 (gdb_unavailable_floats): Move some code to ...
23666 (gdb_unavailable_floats_1): ... it. New proc.
23667
30a1e6cc
SDJ
236682014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23669
23670 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23671 probes to test for bitness recognition.
23672 * gdb.arch/amd64-stap-optional-prefix.exp
23673 (test_probe_value_without_reg): New procedure.
23674 Add code to test for different kinds of bitness.
23675
f33da99a
SDJ
236762014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23677
23678 PR breakpoints/16889
23679 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23680 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23681
5b80f00d
PA
236822014-05-01 Pedro Alves <palves@redhat.com>
23683
23684 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23685 gdb_file_cmd if no file is specified.
23686 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23687 last_loaded_file to set the remote exec-file.
23688
f8c2a73c
PA
236892014-05-01 Pedro Alves <palves@redhat.com>
23690
23691 * boards/local-remote-host.exp: New file.
23692
be6e8ac7
PA
236932014-05-01 Pedro Alves <palves@redhat.com>
23694
23695 * boards/local-remote-host.exp: Rename to ...
23696 * boards/local-remote-host-notty.exp: ... this.
23697
cac0dc8f
JB
236982014-04-28 Joel Brobecker <brobecker@adacore.com>
23699
23700 * gdb.ada/dyn_arrayidx: New testcase.
23701
9730e6cc
YQ
237022014-04-26 Yao Qi <yao@codesourcery.com>
23703
23704 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23705 and compute the length of function main. Save it in
23706 $main_length.
23707 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23708 (top-level): Use gdb_compile to compile objects into
23709 executable and restart GDB. Remove invocation to
23710 prepare_for_testing.
23711
7ae1a6a6
PA
237122014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23713 Pedro Alves <palves@redhat.com>
23714
23715 PR server/16255
23716 * gdb.multi/multi-attach.c: New file.
23717 * gdb.multi/multi-attach.exp: New file.
23718
4082afcc
PA
237192014-04-25 Pedro Alves <palves@redhat.com>
23720
23721 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23722 user.
23723 (top level): Test that "set remote conditional-breakpoints-packet
23724 off" works as intended.
23725 * gdb.base/dprintf.exp: Test that "set remote
23726 breakpoint-commands-packet off" works as intended.
23727 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23728 New function.
23729 (top level): Call it.
23730 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23731 remote fast-tracepoints-packet off" works as intended.
23732 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23733 * lib/gdb.exp (gdb_is_target_remote): ... here.
23734
2abc3f8d
DB
237352014-04-24 David Blaikie <dblaikie@gmail.com>
23736
23737 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23738 ensure clang would not discard them.
23739 * gdb.base/gdbvars.c: Ditto.
23740 * gdb.base/memattr.c: Ditto.
23741 * gdb.base/whatis.c: Ditto.
23742 * gdb.python/py-prettyprint.c: Ditto.
23743 * gdb.trace/actions.c: Ditto.
23744 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23745 ensure clang would not discard it.
23746
bfd39632
DB
237472014-04-24 David Blaikie <dblaikie@gmail.com>
23748
23749 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23750 clang to emit the full definition of type required by the test
23751 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23752
22842ff6
DB
237532014-04-24 David Blaikie <dblaikie@gmail.com>
23754
23755 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23756 coax Clang into emitting the definition of the type.
23757 * gdb.cp/pr10728-x.h (y): Ditto.
23758 * gdb.cp/pr10728-y.cc (y): Ditto.
23759
c2e827ad
DB
237602014-04-24 David Blaikie <dblaikie@gmail.com>
23761
23762 * gdb.base/label.exp: XFAIL label related tests under Clang.
23763 * gdb.cp/cplabel.exp: Ditto.
23764 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23765 under Clang those using labels.
23766
4c2d33e7
YQ
237672014-04-25 Yao Qi <yao@codesourcery.com>
23768
23769 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23770 double_label.
23771 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23772 partial_label and double_label.
23773
56083b99
DB
237742014-04-24 David Blaikie <dblaikie@gmail.com>
23775
23776 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23777
25d4e99d
DB
237782014-04-24 David Blaikie <dblaikie@gmail.com>
23779
23780 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23781 of the function to work across GCC and Clang.
23782 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23783 pointer types (const void ** const V void **).
23784
01f9f808
MS
237852014-04-24 Michael Sturm <michael.sturm@mintel.com>
23786 Walfred Tedeschi <walfred.tedeschi@intel.com>
23787
23788 * Makefile.in (EXECUTABLES): Added i386-avx512.
23789 * gdb.arch/i386-avx512.c: New file.
23790 * gdb.arch/i386-avx512.exp: Likewise.
23791
4b48d439
KS
237922014-04-23 Keith Seitz <keiths@redhat.com>
23793
23794 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23795 (mi_make_breakpoint_table): New procedure.
23796 (mi_create_breakpoint): Use mi_make_breakpoint
23797 and return the result.
23798 (mi_make_breakpoint): New procedure.
23799 (mi_build_kv_pairs): New procedure.
23800
23801 * gdb.mi/mi-break.exp: Remove unused globals,
23802 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23803 All callers updated.
23804 * gdb.mi/mi-dprintf.exp: Use variable to track command
23805 number.
23806 Update all callers of mi_create_breakpoint and use
23807 mi_make_breakpoint_table.
23808 Remove any unused global variables.
23809 * gdb.mi/mi-nonstop.exp: Likewise.
23810 * gdb.mi/mi-nsintrall.exp: Likewise.
23811 * gdb.mi/mi-nsmoribund.exp: Likewise.
23812 * gdb.mi/mi-nsthrexec.exp: Likewise.
23813 * gdb.mi/mi-reverse.exp: Likewise.
23814 * gdb.mi/mi-simplerun.exp: Likewise.
23815 * gdb.mi/mi-stepn.exp: Likewise.
23816 * gdb.mi/mi-syn-frame.exp: Likewise.
23817 * gdb.mi/mi-until.exp: Likewise.
23818 * gdb.mi/mi-var-cp.exp: Likewise.
23819 * gdb.mi/mi-var-display.exp: Likewise.
23820 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23821 * gdb.mi/mi2-var-child.exp: Likewise.
23822 * gdb.mi/mi-vla-c99.exp: Likewise.
23823 * lib/mi-support.exp: Likewise.
23824
23825 From Ian Lance Taylor <iant@cygnus.com>:
23826 * lib/gdb.exp (parse_args): New procedure.
23827
08351840
PA
238282014-04-23 Pedro Alves <palves@redhat.com>
23829
23830 * gdb.base/break-unload-file.c: New file.
23831 * gdb.base/break-unload-file.exp: New file.
23832 * gdb.base/sym-file-lib.c (baz): New function.
23833 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23834 field.
23835 (load): Store the segment's mapped size.
23836 (unload): New function.
23837 (unload_shlib): New function.
23838 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23839 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23840 set a breakpoint at baz, and call it.
23841 * gdb.base/sym-file.exp: New tests for stale breakpoint
23842 instructions.
23843
076855f9
PA
238442014-04-23 Pedro Alves <palves@redhat.com>
23845
23846 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23847 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23848 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23849 * gdb.base/hbreak-unmapped.c: New file.
23850 * gdb.base/hbreak-unmapped.exp: New file.
23851 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23852 * lib/gdb.exp (gdb_is_target_remote): ... here.
23853
483805cf
PA
238542014-04-22 Pedro Alves <palves@redhat.com>
23855
23856 * gdb.base/consecutive-step-over.c: New file.
23857 * gdb.base/consecutive-step-over.exp: New file.
23858
06d97543
PA
238592014-04-22 Pedro Alves <palves@redhat.com>
23860
23861 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23862 instead of send_gdb/gdb_expect.
23863
b4429ea2
YQ
238642014-04-22 Yao Qi <yao@codesourcery.com>
23865
23866 * lib/trace-support.exp (generate_tracefile): New procedure.
23867 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23868 return 0.
23869 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23870 if generate_tracefile returns 1.
23871
51d48146
PA
238722014-04-18 Tom Tromey <palves@redhat.com>
23873 Pedro alves <tromey@redhat.com>
23874
23875 PR backtrace/15558
23876 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23877 with a backtrace limit.
23878 * gdb.python/py-frame-inline.exp: Test running to an inline
23879 function with a backtrace limit, and printing the newest frame.
23880 * gdb.python/py-frame-inline.c (main): Call f.
23881
bd1dce5f
MS
238822014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23883
23884 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23885
40d1a503
MS
238862014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23887
23888 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23889 Drop prefix from unsupported source file path.
23890
389b98f7
YQ
238912014-04-17 Yao Qi <yao@codesourcery.com>
23892
23893 * lib/gdb.exp (with_target_charset): New proc.
23894 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23895 with_target_charset.
23896 (test_print_strings): Likewise.
23897 (test_repeat_bytes): Likewise.
23898 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23899 for some tests.
23900
22869d73
KS
239012014-04-16 Keith Seitz <keiths@redhat.com>
23902
23903 PR gdb/15827
23904 * gdb.dwarf2/corrupt.c: New file.
23905 * gdb.dwarf2/corrupt.exp: New file.
23906
c4f87ca6
KS
239072014-04-16 Keith Seitz <keiths@redhat.com>
23908
23909 PR c++/16597
23910 * gdb.cp/namelessclass.cc: New file.
23911 * gdb.cp/namelessclass.exp: New file.
23912 * gdb.cp/namelessclass.S: New file.
23913
ab19de87
DE
239142014-04-16 Doug Evans <dje@google.com>
23915
23916 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23917 Add comment.
23918 (gdbserver_default_get_comm_port): New function.
23919 (gdbserver_start): Check if board file provided
23920 "gdbserver,get_comm_port" and use it if so.
23921 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23922 (gdb,socketport): Set to "stdio".
23923 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23924 (stdio_gdbserver_template): Delete.
23925 (${board}_get_remote_address): Update.
23926 (${board}_build_remote_cmd): Delete.
23927 (${board}_get_comm_port): New function.
23928 (${board}_spawn): Update.
23929 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23930 Delete.
23931 (${board}_get_remote_address): Update.
23932 (${board}_get_comm_port): New function.
23933
fc98a809
AB
239342014-04-16 Andrew Burgess <aburgess@broadcom.com>
23935
23936 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23937 appearing in any order.
23938
87fd9e6e
DE
239392014-04-15 Doug Evans <dje@google.com>
23940
23941 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23942 uninitialized value of "description".
23943
099fc3ea
KS
239442014-04-15 Keith Seitz <keiths@redhat.com>
23945
23946 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23947 Remove unused globals.
23948 (test_running_the_program): Likewise.
23949 (test_controlled_execution): Likewise.
23950 (test_controlling_breakpoints): Likewise.
23951 (test_program_termination): Likewise.
23952
5da151d4
KS
239532014-04-15 Keith Seitz <keiths@redhat.com>
23954
23955 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23956 unused globals.
23957 (test_rbreak_creation_and_listing): Likewise.
23958 (test_ignore_count): Likewise.
23959 (test_error): Likewise.
23960
35e5d2f0
PA
239612014-04-15 Pedro Alves <palves@redhat.com>
23962
23963 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23964 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23965 sym-file-loader.c.
23966 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23967 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23968 to sym-file-loader.c.
23969 (struct library): Forward declare.
23970 (load_shlib, lookup_function): Change prototypes.
23971 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23972 (translate_offset): Remove declarations.
23973 (get_text_addr): New declaration.
23974 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23975 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23976 sym-file-loader.h.
23977 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23978 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23979 here from sym-file-loader.h.
23980 (struct library): New structure.
23981 (load_shlib, lookup_function): Change prototypes and adjust to
23982 work with a struct library.
23983 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23984 (translate_offset): Make static.
23985 (get_text_addr): New function.
23986 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23987
eb4c1710
PA
239882014-04-15 Pedro Alves <palves@redhat.com>
23989
23990 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23991
2d1baf52
PA
239922014-04-15 Pedro Alves <palves@redhat.com>
23993
23994 * gdb.base/sym-file-loader.c: Include <limits.h>.
23995 (SELF_LINK): New define.
23996 (get_origin): New function.
23997 (load_shlib): Use it.
23998 * gdb.base/sym-file.exp: Don't early return if the target is
23999 remote. Use runto_main, and issue fail is that fails. Use
24000 gdb_load_shlibs.
24001 (shlib_name): Delete.
24002 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
24003
7dd6df01
PA
240042014-04-15 Pedro Alves <palves@redhat.com>
24005
24006 * gdb.base/sym-file.exp: Remove regex characters from test
24007 message. Don't refer to breakpoint numbers in test messages.
24008
b50c8614
KS
240092014-04-14 Keith Seitz <keiths@redhat.com>
24010
24011 PR c++/16253
24012 * gdb.cp/var-tag.cc: New file.
24013 * gdb.cp/var-tag.exp: New file.
24014 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
24015 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
24016 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
24017 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
24018
3d567982
TT
240192014-04-14 Tom Tromey <tromey@redhat.com>
24020
24021 * gdb.cp/classes.exp (test_enums): Handle underlying type.
24022 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
24023 type.
24024 * gdb.cp/enum-class.exp: New file.
24025 * gdb.cp/enum-class.cc: New file.
24026
0626fc76
TT
240272014-04-14 Tom Tromey <tromey@redhat.com>
24028
24029 * gdb.dwarf2/enum-type.exp: New file.
24030
dca325b3
SA
240312014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24032
24033 * gdb.mi/mi-vla-c99.exp: New file.
24034 * gdb.mi/vla.c: New file.
24035
5854b38a
SA
240362014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24037
24038 * gdb.base/vla-datatypes.c: New file.
24039 * gdb.base/vla-datatypes.exp: New file.
24040
463bb957
SA
240412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24042
24043 * gdb.base/vla-ptr.c: New file.
24044 * gdb.base/vla-ptr.exp: New file.
24045
3dd170be
SA
240462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24047
24048 * gdb.dwarf2/count.exp: New file.
24049
5ecaaa66
SA
240502014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24051
24052 * gdb.base/vla-sideeffect.c: New file.
24053 * gdb.base/vla-sideeffect.exp: New file.
24054
41f1ada5
DB
240552014-04-14 David Blaikie <dblaikie@gmail.com>
24056
24057 * gdb.mi/non-stop.c: Add return value for non-void function return
24058 statement.
24059 * gdb.threads/staticthreads.c: Ditto.
24060
0be03e84
DE
240612014-04-12 Siva Chandra Reddy <sivachandra@google.com>
24062 Doug Evans <xdje42@gmail.com>
24063
24064 * gdb.guile/scm-value.c: Improve test case.
24065 * gdb.guile/scm-value.exp: Add new test.
24066
f180a1fb
DB
240672014-04-11 David Blaikie <dblaikie@gmail.com>
24068
24069 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
24070 override Clang's default.
24071
6b662e19
JB
240722014-04-11 Joel Brobecker <brobecker@adacore.com>
24073
24074 Revert the following changes (regressions):
24075
24076 * gdb.base/vla-sideeffect.c: New file.
24077 * gdb.base/vla-sideeffect.exp: New file.
24078
24079 * gdb.dwarf2/count.exp: New file.
24080
24081 * gdb.base/vla-multi.c: New file.
24082 * gdb.base/vla-multi.exp: New file.
24083
24084 * gdb.base/vla-ptr.c: New file.
24085 * gdb.base/vla-ptr.exp: New file.
24086
24087 * gdb.base/vla-datatypes.c: New file.
24088 * gdb.base/vla-datatypes.exp: New file.
24089
24090 * gdb.mi/mi-vla-c99.exp: New file.
24091 * gdb.mi/vla.c: New file.
24092
245a5f0b
KS
240932014-04-11 Keith Seitz <keiths@redhat.com>
24094
24095 PR c++/16675
24096 * gdb.cp/cpsizeof.exp: New file.
24097 * gdb.cp/cpsizeof.cc: New file.
24098
58a84dcf
SA
240992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24100
191a8a90
JB
24101 * gdb.mi/mi-vla-c99.exp: New file.
24102 * gdb.mi/vla.c: New file.
58a84dcf 24103
c8655f75
SA
241042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24105
24106 * gdb.base/vla-datatypes.c: New file.
24107 * gdb.base/vla-datatypes.exp: New file.
24108
024e13b4
SA
241092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24110
24111 * gdb.base/vla-ptr.c: New file.
24112 * gdb.base/vla-ptr.exp: New file.
24113
1a237e0e
SA
241142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24115
24116 * gdb.base/vla-multi.c: New file.
24117 * gdb.base/vla-multi.exp: New file.
24118
504f3432
SA
241192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24120
24121 * gdb.dwarf2/count.exp: New file.
24122
3bce8237
SA
241232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24124
191a8a90
JB
24125 * gdb.base/vla-sideeffect.c: New file.
24126 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 24127
322f9c21
YQ
241282014-04-11 Yao Qi <yao@codesourcery.com>
24129
24130 * gdb.base/completion.exp: Check file exists before running tests
24131 on file completion.
24132
d708bcd1
PA
241332014-04-10 Pedro Alves <palves@redhat.com>
24134
24135 * gdb.base/cond-eval-mode.c: New file.
24136 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
24137 prepare_for_testing to build the new file. Check result of
24138 runto_main.
24139 (test_break, test_watch): New procedures.
24140 (top level): Use them.
24141
ae1d2761
PM
241422014-04-08 Pierre Muller <muller@sourceware.org>
24143
24144 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
24145 Ctrl-V use for mingw hosts.
24146
7af389b8
SC
241472014-04-07 Siva Chandra Reddy <sivachandra@google.com>
24148
24149 * gdb.python/py-value.c: Improve test case.
24150 * gdb.python/py-value.exp: Add new test.
24151
5e703181
DE
241522014-04-07 David Blaikie <dblaikie@gmail.com>
24153
24154 * lib/compiler.c: Identify the clang compiler.
24155 * lib/compiler.cc: Ditto.
24156
9810b410
YQ
241572014-04-03 Yao Qi <yao@codesourcery.com>
24158
24159 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
24160
98d1b8dc
AB
241612014-04-01 Anton Blanchard <anton@samba.org>
24162
24163 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
24164 messages unique.
24165
3114cea1
AB
241662014-04-01 Anton Blanchard <anton@samba.org>
24167
24168 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
24169 prepare_for_testing.
24170
62f7182c
AB
241712014-04-01 Anton Blanchard <anton@samba.org>
24172
24173 * gdb.arch/ppc64-atomic-inst.c: Remove.
24174 * gdb.arch/ppc64-atomic-inst.S: New file.
24175 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
24176
770e7fc7
DE
241772014-03-31 Doug Evans <dje@google.com>
24178
24179 * gdb.base/print-symbol-loading-lib.c: New file.
24180 * gdb.base/print-symbol-loading-main.c: New file.
24181 * gdb.base/print-symbol-loading.exp: New file.
24182
46e2bafa
YQ
241832014-03-31 Yao Qi <yao@codesourcery.com>
24184
24185 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
24186
8776cfe9
JB
241872014-03-28 Joel Brobecker <brobecker@adacore.com>
24188
24189 * gdb.ada/mi_dyn_arr: New testcase.
24190
5d1ef361
DE
241912014-03-27 Doug Evans <dje@google.com>
24192
24193 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
24194
b5bee914
YQ
241952014-03-27 Yao Qi <yao@codesourcery.com>
24196
24197 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
24198 if target is nios2-*-*.
24199
0d4d0e77
YQ
242002014-03-26 Yao Qi <yao@codesourcery.com>
24201
24202 * lib/gdb.exp (readline_is_used): New proc.
24203 * gdb.base/completion.exp: Move tests on command complete up.
24204 Skip the rest of tests if readline is not used.
24205 * gdb.ada/complete.exp: Skp the test if readline is not
24206 used.
24207 * gdb.base/filesym.exp: Likewise.
24208 * gdb.base/macscp.exp: Likewise.
24209 * gdb.base/readline-ask.exp: Likewise.
24210 * gdb.base/readline.exp: Likewise.
24211 * gdb.python/py-cmd.exp: Likewise.
24212 * gdb.trace/tfile.exp: Likewise.
24213
29361eee
YQ
242142014-03-26 Yao Qi <yao@codesourcery.com>
24215
24216 * gdb.base/macscp.exp: Fix code format issues.
24217
bc9a5525
UW
242182014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
24219
24220 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
24221 * gdb.asm/powerpc64le.inc: New file.
24222
d3839ede
PA
242232014-03-25 Pedro Alves <palves@redhat.com>
24224 Doug Evans <dje@google.com>
24225
24226 * gdb.base/source-execution.c: New file.
24227 * gdb.base/source-execution.exp: New file.
24228 * gdb.base/source-execution.gdb: New file.
24229
01672a57
DE
242302014-03-24 Doug Evans <dje@google.com>
24231
24232 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
24233 using fission.
24234
88bbeca9
HZ
242352014-03-24 Hui Zhu <hui@codesourcery.com>
24236 Pedro Alves <palves@redhat.com>
24237
24238 PR breakpoints/16101
24239 * gdb.base/dprintf.exp: Use unsupported rather than changing the
24240 test pass/fail messages. Detect missing support for dprintf when
24241 breakpoints are actually inserted.
24242 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
24243 breakpoints are actually inserted.
24244 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
24245 fails.
24246
d2348791
JK
242472014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
24248
24249 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
24250
feef67ab
DE
242512014-03-22 Doug Evans <xdje42@gmail.com>
24252
24253 * gdb.python/python.exp (python not supported): Verify multi-line
24254 python command issues an error.
25d743f9 24255 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 24256 guile command issues an error.
feef67ab 24257
ecebef6a
MR
242582014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
24259
24260 * gdb.threads/thread-specific.exp: Handle the lack of usable
24261 $this_breakpoint and $this_thread.
24262
ccdd1909
HZ
242632014-03-21 Hui Zhu <hui@codesourcery.com>
24264
24265 * gdb.base/attach.exp (do_command_attach_tests): New.
24266
beb460e8
PA
242672014-03-20 Tom Tromey <tromey@redhat.com>
24268 Pedro Alves <palves@redhat.com>
24269
24270 PR cli/15718
24271 * gdb.base/condbreak-call-false.c: New file.
24272 * gdb.base/condbreak-call-false.exp: New file.
24273
40acf43a
PA
242742014-03-20 Pedro Alves <palves@redhat.com>
24275
24276 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
24277 Delete.
24278 (block_signals, unblock_signals): Delete.
24279 (child_function_2, main): Remove references to deleted variable
24280 and functions.
24281
9f5e1e02
PA
242822014-03-20 Pedro Alves <palves@redhat.com>
24283
24284 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
24285 Use pthread_kill to signal thread 2.
24286 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24287 Adjust to make the test send itself a signal rather than using the
24288 host's "kill" command.
24289
99619bea
PA
242902014-03-20 Pedro Alves <palves@redhat.com>
24291
24292 * gdb.threads/multiple-step-overs.c: New file.
24293 * gdb.threads/multiple-step-overs.exp: New file.
24294 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24295 Adjust expected infrun debug output.
24296
2adfaa28
PA
242972014-03-20 Pedro Alves <palves@redhat.com>
24298
24299 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
24300 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
24301
31e77af2
PA
243022014-03-20 Pedro Alves <palves@redhat.com>
24303
24304 PR breakpoints/7143
24305 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
24306 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
24307 of gdb_test_multiple.
24308 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
24309 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
24310
b9f437de
PA
243112014-03-20 Pedro Alves <palves@redhat.com>
24312
24313 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
24314 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
24315
05adc73e
PA
243162014-03-19 Pedro Alves <palves@redhat.com>
24317
24318 * gdb.base/async.exp: Remove early return.
24319
6048b950
PA
243202014-03-19 Pedro Alves <palves@redhat.com>
24321
24322 * gdb.base/async.exp (step& tests): Pass explicit test messages.
24323
8bcfb00a
PA
243242014-03-19 Pedro Alves <palves@redhat.com>
24325
24326 * gdb.base/async.exp (test_background): Expect \r\n after
24327 "completed." in the fail pattern.
24328
884e37dc
PA
243292014-03-19 Pedro Alves <palves@redhat.com>
24330
24331 * gdb.base/async.exp (test_background): New procedure.
24332 Use it for all background execution command tests.
24333
148e57e2
PA
243342014-03-19 Pedro Alves <palves@redhat.com>
24335
24336 * gdb.base/async.exp: Use prepare_for_testing.
24337
f48088c7
PA
243382014-03-19 Pedro Alves <palves@redhat.com>
24339
24340 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
24341 the same line.
24342
e2f6c966
PA
243432014-03-19 Pedro Alves <palves@redhat.com>
24344
24345 * gdb.base/async.c (main): Add "jump here" and "until here" line
24346 marker comments.
24347 * gdb.base/async.exp (jump_here): New global.
24348 (jump& test): Use it.
24349 (until_here): New global.
24350 (until& test): Use it.
24351
c30568d4
PA
243522014-03-19 Pedro Alves <palves@redhat.com>
24353
24354 * gdb.base/async.exp: Don't frob gdb_protocol.
24355
0172b6a7
DE
243562014-03-18 Doug Evans <xdje42@gmail.com>
24357
24358 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
24359 Fix spelling of exec-done-display.
24360
06c868a8
JK
243612014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
24362
24363 PR gdb/15358
24364 * gdb.base/gdb-sigterm.c: New file.
24365 * gdb.base/gdb-sigterm.exp: New file.
24366
0c7e1a46
PA
243672014-03-18 Pedro Alves <palves@redhat.com>
24368
24369 PR gdb/13860
24370 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
24371 * lib/mi-support.exp (mi_expect_stop): Add special handling for
24372 solib-event.
24373
f7c77d93
JB
243742014-03-17 Joel Brobecker <brobecker@adacore.com>
24375
24376 * gdb.ada/pckd_arr_ren: New testcase.
24377
5a1e8c7a
DE
243782014-03-13 Doug Evans <xdje42@gmail.com>
24379
24380 PR guile/16612
24381 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
24382 collect after discarding symbols.
24383
350e1a76
DE
243842014-03-13 Ludovic Courtès <ludo@gnu.org>
24385 Doug Evans <xdje42@gmail.com>
24386
24387 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
24388 to history survives a gc.
24389
a69900ae
PA
243902014-03-13 Pedro Alves <palves@redhat.com>
24391
24392 * gdb.base/default.exp: Don't test "target procfs".
24393
5db9f0bd
PA
243942014-03-13 Pedro Alves <palves@redhat.com>
24395
24396 * gdb.base/default.exp: Update "target child" and "target procfs"
24397 tests to not expect "Unix".
24398
b3ccfe11
TT
243992014-03-12 Tom Tromey <tromey@redhat.com>
24400
24401 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
24402 New procs. Add target-async tests.
24403 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
24404 Add target-async tests.
24405
646f4417
AA
244062014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24407
24408 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
24409 'func_start' and 'func_end' for the beginning and end of the
24410 function code, respectively.
24411 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
24412 'func_end' instead of 'func' and 'main'.
24413
288c211f
AA
244142014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24415
24416 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
24417 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
24418 generate the debug info assembler source.
24419
e0c0f156
AA
244202014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24421
24422 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
24423 * gdb.dwarf2/arr-subrange.exp: Likewise.
24424 * gdb.dwarf2/dwz.exp: Likewise.
24425 * gdb.dwarf2/method-ptr.exp: Likewise.
24426 * gdb.dwarf2/missing-sig-type.exp: Likewise.
24427 * gdb.dwarf2/subrange.exp: Likewise.
24428 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
24429 * gdb.dwarf2/implptrpiece.exp: Likewise.
24430 * gdb.dwarf2/nostaticblock.exp: Likewise.
24431
0e5c4555
AA
244322014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24433
24434 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
24435 directory to absolute path name arguments.
24436
5ec18f2b
JG
244372014-03-10 Joel Brobecker <brobecker@adacore.com>
24438
24439 * gdb.ada/tagged_access: New testcase.
24440
847fc4f2
MM
244412014-03-07 Markus Metzger <markus.t.metzger@intel.com>
24442
24443 * gdb.btrace/data.exp: Update expected output.
24444
cc3da688
YQ
244452014-03-06 Yao Qi <yao@codesourcery.com>
24446
24447 * gdb.trace/pr16508.exp: New file.
24448
0f26cec1
PA
244492014-03-05 Pedro Alves <palves@redhat.com>
24450
24451 PR gdb/16575
24452 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
24453 procedure.
24454 (top level): Adjust to use it. Add tests that exercise breakpoint
24455 interaction with the code-cache.
24456
7a5a839f
LC
244572014-02-26 Ludovic Courtès <ludo@gnu.org>
24458
24459 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
24460 test for 'history-append!'.
24461
31aa7e4e
JB
244622014-02-26 Joel Brobecker <brobecker@adacore.com>
24463
24464 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
24465 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
24466 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
24467 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
24468 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
24469 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
24470
1b588015
JB
244712014-02-26 Joel Brobecker <brobecker@adacore.com>
24472
24473 * testsuite/gdb.python/py-pp-re-notag.c: New file.
24474 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
24475 * testsuite/gdb.python/py-pp-re-notag.p: New file.
24476
55426c9d
JB
244772014-02-26 Joel Brobecker <brobecker@adacore.com>
24478
24479 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
24480
dc53a7ad
JB
244812014-02-26 Joel Brobecker <brobecker@adacore.com>
24482
24483 * gdb.dwarf2/arr-stride.c: New file.
24484 * gdb.dwarf2/arr-stride.exp: New file.
24485
12ab52e9
PA
244862014-02-26 Pedro Alves <palves@redhat.com>
24487
24488 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
24489 that won't ever trigger. Make sure that GDB reports the correct
24490 breakpoint that caused the stop.
24491
849c862e
JK
244922014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24493
24494 PR gdb/16626
24495 * gdb.base/auto-load-script: New file.
24496 * gdb.base/auto-load.c: New file.
24497 * gdb.base/auto-load.exp: New file.
24498
71b7d793
JK
24499 PR gdb/16626
24500 * gdb.base/auto-load.exp: Fix out-of-srctree run.
24501
e2f0d509
JK
245022014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24503
24504 Fix dw2-icycle.exp -fsanitize=address GDB crash.
24505 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
24506
50cc37c8
DE
245072014-02-24 Doug Evans <dje@google.com>
24508
24509 * lib/gdb.exp (run_on_host): Log error output if program fails.
24510
ea4758f2
PA
245112014-02-21 Pedro Alves <palves@redhat.com>
24512
24513 * gdb.threads/step-after-sr-lock.c: Rename to ...
24514 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
24515 * gdb.threads/step-after-sr-lock.exp: Rename to ...
24516 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24517 ... this.
24518
d7b30f67
SDJ
245192014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
24520
24521 PR tdep/16397
24522 * gdb.arch/amd64-stap-special-operands.exp: New file.
24523 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
24524 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
24525 * gdb.arch/amd64-stap-triplet.S: Likewise.
24526 * gdb.arch/amd64-stap-triplet.c: Likewise.
24527
83deb43f
JB
245282014-02-20 Joel Brobecker <brobecker@adacore.com>
24529
24530 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
24531 in .section pseudo-op.
24532
adde2bff
DE
245332014-02-20 lin zuojian <manjian2006@gmail.com>
24534 Joel Brobecker <brobecker@adacore.com>
24535 Doug Evans <xdje42@gmail.com>
24536
24537 PR symtab/16581
24538 * gdb.dwarf2/dw2-icycle.S: New file.
24539 * gdb.dwarf2/dw2-icycle.c: New file.
24540 * gdb.dwarf2/dw2-icycle.exp: New file.
24541
f7bd0f78
SC
245422014-02-19 Siva Chandra Reddy <sivachandra@google.com>
24543
24544 * gdb.python/py-value-cc.cc: Improve test case to enable testing
24545 operations on gdb.Value objects.
24546 * gdb.python/py-value-cc.exp: Add new test to test operations on
24547 gdb.Value objects.
24548
c17ef0d5
DE
245492014-02-18 Doug Evans <dje@google.com>
24550
24551 * Makefile.in (TESTS): New variable.
24552 (expanded_tests, expanded_tests_or_none): New variables
24553 (check-single): Pass $(expanded_tests_or_none) to runtest.
24554 (check-parallel): Only run tests in $(TESTS) if non-empty.
24555 (check/no-matching-tests-found): New rule.
24556 * README: Document TESTS makefile variable.
24557
5dd3176f
DE
245582014-02-18 Doug Evans <dje@google.com>
24559
24560 * Makefile.in (check-parallel): rm -rf outputs temp.
24561
0b10be4f
JK
245622014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24563
24564 Fix "ERROR: no fileid for" in the testsuite.
24565 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
24566
85f224e7
DE
245672014-02-12 Doug Evans <dje@google.com>
24568
24569 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
24570 (MISCELLANEOUS): New variable.
24571 (clean): rm -rf $(MISCELLANEOUS).
24572 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
24573 dwp live in the same directory as symlinks, with each symlink pointed
24574 to a differently named file in a different directory.
24575
149b30ff
DE
245762014-02-11 Doug Evans <dje@google.com>
24577
24578 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
24579 of Tcl file commands.
24580
1dfdac32
MK
245812014-02-10 Mark Kettenis <kettenis@gnu.org>
24582
24583 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24584 "kill -SIGUSR1 -1".
24585
aa4fb036
JB
245862014-02-10 Joel Brobecker <brobecker@adacore.com>
24587
24588 * gdb.ada/tick_length_array_enum_idx: New testcase.
24589
ed3ef339
DE
245902014-02-10 Doug Evans <xdje42@gmail.com>
24591
24592 * configure.ac (AC_OUTPUT): Add gdb.guile.
24593 * configure: Regenerate.
24594 * lib/gdb-guile.exp: New file.
24595 * lib/gdb.exp (get_target_charset): New function.
24596 * gdb.base/help.exp: Update expected output from "apropos apropos".
24597 * gdb.guile/Makefile.in: New file.
24598 * gdb.guile/guile.exp: New file.
24599 * gdb.guile/scm-arch.c: New file.
24600 * gdb.guile/scm-arch.exp: New file.
24601 * gdb.guile/scm-block.c: New file.
24602 * gdb.guile/scm-block.exp: New file.
24603 * gdb.guile/scm-breakpoint.c: New file.
24604 * gdb.guile/scm-breakpoint.exp: New file.
24605 * gdb.guile/scm-disasm.c: New file.
24606 * gdb.guile/scm-disasm.exp: New file.
24607 * gdb.guile/scm-equal.c: New file.
24608 * gdb.guile/scm-equal.exp: New file.
24609 * gdb.guile/scm-error.exp: New file.
24610 * gdb.guile/scm-error.scm: New file.
24611 * gdb.guile/scm-frame-args.c: New file.
24612 * gdb.guile/scm-frame-args.exp: New file.
24613 * gdb.guile/scm-frame-args.scm: New file.
24614 * gdb.guile/scm-frame-inline.c: New file.
24615 * gdb.guile/scm-frame-inline.exp: New file.
24616 * gdb.guile/scm-frame.c: New file.
24617 * gdb.guile/scm-frame.exp: New file.
24618 * gdb.guile/scm-generics.exp: New file.
24619 * gdb.guile/scm-gsmob.exp: New file.
24620 * gdb.guile/scm-iterator.c: New file.
24621 * gdb.guile/scm-iterator.exp: New file.
24622 * gdb.guile/scm-math.c: New file.
24623 * gdb.guile/scm-math.exp: New file.
24624 * gdb.guile/scm-objfile-script-gdb.in: New file.
24625 * gdb.guile/scm-objfile-script.c: New file.
24626 * gdb.guile/scm-objfile-script.exp: New file.
24627 * gdb.guile/scm-objfile.c: New file.
24628 * gdb.guile/scm-objfile.exp: New file.
24629 * gdb.guile/scm-ports.exp: New file.
24630 * gdb.guile/scm-pretty-print.c: New file.
24631 * gdb.guile/scm-pretty-print.exp: New file.
24632 * gdb.guile/scm-pretty-print.scm: New file.
24633 * gdb.guile/scm-section-script.c: New file.
24634 * gdb.guile/scm-section-script.exp: New file.
24635 * gdb.guile/scm-section-script.scm: New file.
24636 * gdb.guile/scm-symbol.c: New file.
24637 * gdb.guile/scm-symbol.exp: New file.
24638 * gdb.guile/scm-symtab-2.c: New file.
24639 * gdb.guile/scm-symtab.c: New file.
24640 * gdb.guile/scm-symtab.exp: New file.
24641 * gdb.guile/scm-type.c: New file.
24642 * gdb.guile/scm-type.exp: New file.
24643 * gdb.guile/scm-value-cc.cc: New file.
24644 * gdb.guile/scm-value-cc.exp: New file.
24645 * gdb.guile/scm-value.c: New file.
24646 * gdb.guile/scm-value.exp: New file.
24647 * gdb.guile/source2.scm: New file.
24648 * gdb.guile/types-module.cc: New file.
24649 * gdb.guile/types-module.exp: New file.
24650
7026a7c1
YQ
246512014-02-10 Yao Qi <yao@codesourcery.com>
24652
24653 PR testsuite/16543
24654 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24655 * configure: Regenerated.
24656 * Makefile.in: New file.
24657
6c466447
AS
246582014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24659
24660 * gdb.python/py-framefilter.exp: Fix typo.
24661
6e854735
YQ
246622014-02-08 Yao Qi <yao@codesourcery.com>
24663
24664 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24665 that no =breakpoint-modified is emitted when breakpoints are
24666 modified through MI commands.
24667
d137e6dc
PA
246682014-02-07 Pedro Alves <pedro@codesourcery.com>
24669 Pedro Alves <palves@redhat.com>
24670
24671 * gdb.threads/step-after-sr-lock.c: New file.
24672 * gdb.threads/step-after-sr-lock.exp: New file.
24673
b5ee5a50
PA
246742014-02-07 Pedro Alves <palves@redhat.com>
24675
24676 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24677
3c77faf3
JK
246782014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24679
24680 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24681 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24682
6dddc817
DE
246832014-02-06 Doug Evans <xdje42@gmail.com>
24684
24685 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24686 output.
24687
24688 * gdb.gdb/python-interrupts.exp: New file.
24689
de7b2893
YQ
246902014-02-05 Yao Qi <yao@codesourcery.com>
24691
24692 * gdb.trace/report.exp (use_collected_data): Test the output
24693 of "info threads" and "info inferiors".
24694
66d032ac
YQ
246952014-02-05 Yao Qi <yao@codesourcery.com>
24696
24697 Revert this patch:
24698
24699 2013-05-24 Yao Qi <yao@codesourcery.com>
24700
24701 * gdb.trace/tfile.exp: Test inferior and thread.
24702
591a12a1
UW
247032014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24704
24705 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24706 on a function.
24707 * gdb.base/step-bt.c: Call hello via function pointer to make
24708 sure its first instruction is executed on powerpc64le-linux.
24709
0ff3e01f
UW
247102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24711
24712 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24713
084ee545
UW
247142014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24715
24716 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24717 of the test patterns for use on little-endian systems.
24718
6ed14ff3
UW
247192014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24720
24721 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24722 (decimal_vector): Fix for little-endian.
24723
401e27fd
JM
247242014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24725
24726 * gdb.arch/sparc-sysstep.exp: New file.
24727 * gdb.arch/sparc-sysstep.c: Likewise.
24728
24729 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24730
8b924729
EBM
247312014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24732
24733 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24734
fb151210
JB
247352014-01-23 Tom Tromey <tromey@redhat.com>
24736
24737 * gdb.ada/array_char_idx: New testcase.
24738
0740f8d8
TT
247392014-01-23 Tom Tromey <tromey@redhat.com>
24740
24741 PR python/16487:
24742 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24743 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24744 classes.
24745
21909fa1
TT
247462014-01-23 Tom Tromey <tromey@redhat.com>
24747
24748 PR python/16491:
24749 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24750 string from an inferior frame.
24751 * gdb.python/py-framefilter-mi.exp: Update.
24752
87ce2a04
DE
247532014-01-22 Doug Evans <dje@google.com>
24754
24755 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24756
237b092b
AA
247572014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24758
24759 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24760
d674a709
AA
247612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24762
24763 * gdb.trace/entry-values.exp: Remove excess space character from
24764 regex patterns. Handle s390 call instruction.
24765
20fa3390
AA
247662014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24767
24768 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24769 define "*_start" label. Make "name" static.
24770 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24771 ${name} by references to ${name}_start.
24772
78466714
AA
247732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24774
24775 * gdb.base/info-macros.exp: Remove "debug" from the compile
24776 options.
24777
ec9f644a
IB
247782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24779
24780 * gdb.dlang/demangle.exp: New file.
24781
94b1b47e
IB
247822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24783
24784 * gdb.dlang/primitive-types.exp: New file.
24785
7f420862
IB
247862014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24787
24788 * configure.ac: Create gdb.dlang/Makefile.
24789 * configure: Regenerate.
24790 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24791 * gdb.dlang/Makefile.in: New file.
24792 * lib/d-support.exp: New file.
24793 * lib/gdb.exp (skip_d_tests): New proc.
24794
52834460
MM
247952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24796
24797 * gdb.btrace/delta.exp: Check reverse stepi.
24798 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24799 * gdb.btrace/finish.exp: New.
24800 * gdb.btrace/next.exp: New.
24801 * gdb.btrace/nexti.exp: New.
24802 * gdb.btrace/record_goto.c: Add comments.
24803 * gdb.btrace/step.exp: New.
24804 * gdb.btrace/stepi.exp: New.
24805 * gdb.btrace/multi-thread-step.c: New.
24806 * gdb.btrace/multi-thread-step.exp: New.
24807 * gdb.btrace/rn-dl-bind.c: New.
24808 * gdb.btrace/rn-dl-bind.exp: New.
24809 * gdb.btrace/data.c: New.
24810 * gdb.btrace/data.exp: New.
24811 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24812
6e07b1d2
MM
248132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24814
24815 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24816 * gdb.btrace/exception.exp: Update.
24817 * gdb.btrace/instruction_history.exp: Update.
24818 * gdb.btrace/record_goto.exp: Update.
24819 * gdb.btrace/tailcall.exp: Update.
24820 * gdb.btrace/unknown_functions.exp: Update.
24821 * gdb.btrace/delta.exp: New.
24822
0b722aec
MM
248232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24824
24825 * gdb.btrace/record_goto.exp: Add backtrace test.
24826 * gdb.btrace/tailcall.exp: Add backtrace test.
24827
066ce621
MM
248282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24829
24830 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24831 * gdb.btrace/record_goto.c: New.
24832 * gdb.btrace/record_goto.exp: New.
24833 * gdb.btrace/x86-record_goto.S: New.
24834
0688d04e
MM
248352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24836
24837 * gdb.btrace/function_call_history.exp: Update tests.
24838 * gdb.btrace/instruction_history.exp: Update tests.
24839
8710b709
MM
248402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24841
24842 * gdb.btrace/function_call_history.exp: Fix expected field
24843 order for "record function-call-history".
24844 Add new tests for "record function-call-history /c".
24845 * gdb.btrace/exception.cc: New.
24846 * gdb.btrace/exception.exp: New.
24847 * gdb.btrace/tailcall.exp: New.
24848 * gdb.btrace/x86-tailcall.S: New.
24849 * gdb.btrace/x86-tailcall.c: New.
24850 * gdb.btrace/unknown_functions.c: New.
24851 * gdb.btrace/unknown_functions.exp: New.
24852 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24853
5de9129b
MM
248542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24855
24856 * gdb.btrace/instruction_history.exp: Update.
24857 * gdb.btrace/function_call_history.exp: Update.
24858
23a7fe75
MM
248592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24860
24861 * gdb.btrace/function_call_history.exp: Fix expected function
24862 trace.
24863 * gdb.btrace/instruction_history.exp: Initialize traced.
24864 Remove traced_functions.
24865
724c7dd8
MM
248662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24867
24868 * gdb.btrace/function_call_history.exp: Update
24869 * gdb.btrace/instruction_history.exp: Update.
24870
6d78d93b
MM
248712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24872
24873 * gdb.btrace/enable.exp: Update expected text.
24874
93a360cc
OJ
248752014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24876
24877 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24878 bytes.
24879
3772b53f
MR
248802014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24881
24882 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24883
596662fa
OJ
248842014-01-15 Omair Javaid <omair.javaid@linaro.org>
24885
24886 * lib/gdb.exp (supports_process_record): Return true for
24887 arm*-linux*. (supports_reverse): Likewise.
24888
b5b08fb4
SC
248892014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24890
24891 PR python/15464
24892 PR python/16113
24893 * gdb.python/py-type.c: Enhance test case.
24894 * gdb.python/py-value-cc.cc: Likewise
24895 * gdb.python/py-type.exp: Add new tests.
24896 * gdb.python/py-value-cc.exp: Likewise
24897
52d7fb13
AA
248982014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24899 Pedro Alves <palves@redhat.com>
24900
24901 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24902 Make "name" extern.
24903 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24904 references to ${name}_start by references to ${name}.
24905
a2cd8cfe
JB
249062014-01-10 Joel Brobecker <brobecker@adacore.com>
24907
24908 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24909
4e23fced
JB
249102014-01-10 Joel Brobecker <brobecker@adacore.com>
24911
24912 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24913
c6a9e42c
PA
249142014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24915 Pedro Alves <palves@redhat.com>
24916
24917 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24918 mi_gdb_target_load.
c6a9e42c 24919
b7ea362b
PA
249202014-01-08 Pedro Alves <palves@redhat.com>
24921
24922 * gdb.threads/reconnect-signal.c: New file.
24923 * gdb.threads/reconnect-signal.exp: New file.
24924
5e3f4fab
EBM
249252014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24926
24927 * gdb.base/source-dir.exp: New file.
24928
79301218
JB
249292014-01-07 Joel Brobecker <brobecker@adacore.com>
24930
24931 * gdb.ada/mi_interface: New testcase.
24932
8e355c5d
JB
249332014-01-07 Joel Brobecker <brobecker@adacore.com>
24934
24935 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24936 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24937 gdb.ada/pp-rec-component/pck.ads: New files.
24938
c0d48811
JB
249392014-01-07 Joel Brobecker <brobecker@adacore.com>
24940
24941 * gdb.python/py-pp-integral.c: New file.
24942 * gdb.python/py-pp-integral.py: New file.
24943 * gdb.python/py-pp-integral.exp: New file.
24944
17b609c3 24945For older changes see ChangeLog-1993-2013.
c906108c 24946\f
8d8cb839
EZ
24947;; Local Variables:
24948;; mode: change-log
24949;; left-margin: 8
24950;; fill-column: 74
24951;; version-control: never
24952;; End:
902f2ccb 24953
3666a048 24954 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24955 Copying and distribution of this file, with or without modification,
24956 are permitted provided the copyright notice and this notice are preserved.
This page took 4.850188 seconds and 4 git commands to generate.