]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Change how .debug_aranges padding is skipped
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3da4c644
TT
12021-06-25 Tom Tromey <tom@tromey.com>
2
3 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): Add "style"
4 parameter.
5 * gdb.rust/dwindex.exp: New file.
6 * gdb.rust/dwindex.rs: New file.
7
6b95f5ad
AB
82021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
9
10 * gdb.python/py-breakpoint.c (do_throw): New function.
11 (main): Call do_throw.
12 * gdb.python/py-breakpoint.exp (test_catchpoints): New proc.
13
08080f97
AB
142021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
15
16 * gdb.guile/scm-breakpoint.exp (test_catchpoints): New proc.
17
81b327aa
AB
182021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
19
20 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Add new tests.
21
202054ae
CL
22gdb/testsuite/ChangeLog
232021-06-25 Carl Love <cel@us.ibm.com>
24
25 * gdb.arch/powerpc-plxv-norel.exp: Add call to skip_power_isa_3_1_tests.
26 * lib/gdb.exp(skip_power_isa_3_1_tests): New gdb_caching_proc test.
27
67470e9d
TT
282021-06-25 Tom Tromey <tromey@adacore.com>
29
30 * gdb.ada/py_range.exp: Add type name test cases.
31
013270a1
TV
322021-06-24 Tom de Vries <tdevries@suse.de>
33
34 * gdb.base/info-macros.exp: Add <EOL> after trailing whitespace in
35 test names.
36
657dcee4
TV
372021-06-24 Tom de Vries <tdevries@suse.de>
38
39 * gdb.base/argv0-symlink.exp: Use with_test_prefix.
40
2dd865d7
TV
412021-06-23 Tom de Vries <tdevries@suse.de>
42
43 * lib/gdb.exp (gdb_test_lines): Rewrite to accept single
44 multiline tcl regexp.
45 * gdb.base/info-types.exp.tcl: Update. Make empty line at end of
46 regexp optional.
47 * gdb.base/info-macros.exp: Update.
48 * gdb.cp/cplusfuncs.exp: Update.
49
80d1206d
AS
502021-06-22 Andreas Schwab <schwab@suse.de>
51
52 PR symtab/27999
53 * lib/dwarf.exp (start_end): New proc inside loclists.
54 * gdb.dwarf2/loclists-start-end.exp: New file.
55 * gdb.dwarf2/loclists-start-end.c: New file.
56
e5b77106
TV
572021-06-22 Tom de Vries <tdevries@suse.de>
58
59 * gdb.dwarf2/imported-unit-c.exp: New file.
60
80dc83fd
AB
612021-06-22 Andrew Burgess <andrew.burgess@embecosm.com>
62
63 * gdb.server/server-kill.exp: Introduce global kill_pid_of, and
64 make use of this in prepare to select which pid we should kill.
65 Run all the tests twice with a different kill_pid_of value.
66 (prepare): Make use of kill_pid_of.
67 (test_stepi): New proc.
68
d52b8007
AB
692021-06-21 Andrew Burgess <andrew.burgess@embecosm.com>
70
71 * gdb.python/py-frame.exp: Add Frame.level tests.
72 * gdb.python/py-pending-frame-level.c: New file.
73 * gdb.python/py-pending-frame-level.exp: New file.
74 * gdb.python/py-pending-frame-level.py: New file.
75
61e2dde2
AB
762021-06-21 Andrew Burgess <andrew.burgess@embecosm.com>
77
78 * gdb.python/py-unwind-user-regs.c: New file.
79 * gdb.python/py-unwind-user-regs.exp: New file.
80 * gdb.python/py-unwind-user-regs.py: New file.
81
ff5404f5
CL
822021-06-17 Carl Love <cel@us.ibm.com>
83
84 * gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics
85 to bgetar and bgetarl.
86 * gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments
87 for mnemonics to bgetar and bnstarl.
88
18263be7
SM
892021-06-17 Simon Marchi <simon.marchi@efficios.com>
90
91 * gdb.base/args.exp: Check target, KFAIL if remote.
92 (args_test): Add parameter and use it.
93
d30e3263
SM
942021-06-17 Simon Marchi <simon.marchi@efficios.com>
95
96 * gdb.base/args.exp: Remove trailing parenthesis in test names.
97
c4ddc1da
SM
982021-06-17 Simon Marchi <simon.marchi@efficios.com>
99
100 * gdb.base/args.exp: Use $old_gdbflags in all tests.
101
18b5aade
SM
1022021-06-17 Simon Marchi <simon.marchi@efficios.com>
103
104 * gdb.base/args.exp: Use save_vars.
105
c9923e71
PA
1062021-06-14 Pedro Alves <pedro@palves.net>
107
108 * gdb.base/annota1.exp: Build list using [list] instead of {}.
109 Tell [join] to join with no character. Build expected pattern in
110 separate variable instead of in the -re expression directly.
111
b8bd29a1
KB
1122021-06-11 Kevin Buettner <kevinb@redhat.com>
113
114 * gdb.mi/mi-sym-info.exp (114-symbol-info-function test): Increase
115 timeout.
116
72c4daa3
KB
1172021-06-11 Kevin Buettner <kevinb@redhat.com>
118
119 * gdb.base/print-symbol-loading.exp (proc test_load_shlib):
120 Allow "Symbols already loaded for..." messages.
121
4cc2e606
KB
1222021-06-11 Kevin Buettner <kevinb@redhat.com>
123
124 * gdb.base/execl-update-breakpoints.exp: Add regular
125 expression for optionally matching output related to
126 libthread_db.
127 * gdb.base/fork-print-inferior-events.exp: Likewise.
128
db77748b
FW
1292021-06-11 Felix Willgerodt <felix.willgerodt@intel.com>
130
131 * gdb.mi/array.f: Convert into...
132 * gdb.mi/array.f90: ...this.
133 * gdb.mi/mi-var-child-f.exp: Use array.f90.
134
48ec4c05
TT
1352021-06-11 Tom Tromey <tom@tromey.com>
136
137 PR rust/23427
138 * lib/rust-support.exp (rust_compiler_version): New caching proc.
139 * gdb.rust/rawids.exp: New file.
140 * gdb.rust/rawids.rs: New file.
141
46f263cc
SM
1422021-06-10 Simon Marchi <simon.marchi@polymtl.ca>
143
144 * lib/gdb.exp (default_gdb_exit): Unset gdb_tty_name.
145 (spawn_capture_tty_name): New, override builtin spawn.
146 (default_gdb_spawn): Capture GDB's TTY name.
147 * lib/tuiterm.exp (tuiterm_spawn): Remove.
148 (tuiterm_env_init, tuiterm_env_finish): Remove spawn override.
149 (Term) <resize>: Use new variable name.
150 (tuiterm_env_init, tuiterm_env_finish): Remove.
151 (tuiterm_env): Don't call tuiterm_env_init and register
152 tuiterm_env_finish in gdb_finish_hooks.
153 (gdb_finish_hooks): Remove.
154 (gdb_finish): Don't call finish hooks.
155
6179e5f1
TV
1562021-06-10 Tom de Vries <tdevries@suse.de>
157
158 * gdb.mi/user-selected-context-sync.c (child_sub_function, main):
159 Rewrite while (1) using dummy loop body.
160
4bdd1a06
BK
1612021-06-10 Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
162
163 * gdb.base/foll-exec.c: convert the multi-line function call into
164 single line.
165
36695cf8
TV
1662021-06-10 Tom de Vries <tdevries@suse.de>
167
168 * lib/cp-support.exp (cp_test_ptype_class): Break up regexp.
169 * gdb.cp/nested-types.exp: Remove usage of read1 timeout factor.
170
0cc809fa
TV
1712021-06-10 Tom de Vries <tdevries@suse.de>
172
173 * gdb.cp/cplusfuncs.exp (info_func_regexp): Use gdb_test_lines.
174
c70fdc45
TT
1752021-06-09 Tom Tromey <tromey@adacore.com>
176
177 * README (Example): Update read1 example.
178
d0a3c757
SM
1792021-06-09 Simon Marchi <simon.marchi@polymtl.ca>
180
181 * lib/tuiterm.exp (Term) <_check_box>: Improve logging.
182
f9e59d06
LS
1832021-06-08 Lancelot Six <lsix@lancelotsix.com>
184
185 * gdb.base/premature-dummy-frame-removal.py (TestUnwinder): Use
186 'is None' instead of '== None' and 'is not None' instead of
187 '!= None'.
188 * gdb.python/py-frame-args.py (lookup_function): Same.
189 * gdb.python/py-framefilter-invalidarg.py (Reverse_Function): Same.
190 * gdb.python/py-framefilter.py (Reverse_Function): Same.
191 * gdb.python/py-nested-maps.py (lookup_function): Same.
192 * gdb.python/py-objfile-script-gdb.py (lookup_function): Same.
193 * gdb.python/py-prettyprint.py (lookup_function): Same.
194 * gdb.python/py-section-script.py (lookup_function): Same.
195 * gdb.python/py-unwind-inline.py (dummy_unwinder): Same.
196 * gdb.python/python.exp: Same.
197 * gdb.rust/pp.py (lookup_function): Same.
198
fdae5c22
TV
1992021-06-08 Tom de Vries <tdevries@suse.de>
200
201 * lib/gdb.exp (multi_line): Require more than one argument.
202 * gdb.base/gdbinit-history.exp: Update multi_line call.
203 * gdb.base/jit-reader.exp: Remove multi_line call.
204 * gdb.fortran/dynamic-ptype-whatis.exp: Same.
205
c3cfd9eb
TV
2062021-06-08 Tom de Vries <tdevries@suse.de>
207
208 * gdb.base/info-types.exp.tcl (match_line, gdb_test_lines): Move ...
209 * lib/gdb.exp: ... here.
210 * gdb.base/info-macros.exp: Use gdb_test_lines.
211
58f076c6
TV
2122021-06-08 Tom de Vries <tdevries@suse.de>
213
214 * gdb.base/info-types.exp.tcl (match_line): Handle --any.
215 (gdb_test_lines): Factor out of ...
216 (run_test): ... here.
217
4c5d7c03
TV
2182021-06-08 Tom de Vries <tdevries@suse.de>
219
220 * gdb.base/batch-preserve-term-settings.exp (spawn_shell): Fix
221 matching of initial prompt.
222
4a11703a
TV
2232021-06-08 Tom de Vries <tdevries@suse.de>
224
225 * gdb.threads/multi-create-ns-info-thr.exp: Limit breakpoint regexp to
226 one line.
227
ac6c175e
TV
2282021-06-08 Tom de Vries <tdevries@suse.de>
229
230 * gdb.base/sect-cmd.exp: Use gdb_test. Use -wrap "". Fix
231 test name.
232
25ff4de7
TV
2332021-06-08 Tom de Vries <tdevries@suse.de>
234
235 * gdb.base/sect-cmd.exp: Fix saw_section_address_line regexp.
236
cfc75767
SM
2372021-06-07 Simon Marchi <simon.marchi@polymtl.ca>
238
239 * gdb.base/continue-all-already-running.exp: Call fail if can't
240 run to main.
241
a12a15e7
AB
2422021-06-07 Andrew Burgess <andrew.burgess@embecosm.com>
243
244 PR gdb/27847
245 * gdb.dwarf2/dw2-weird-type-len.c: New file.
246 * gdb.dwarf2/dw2-weird-type-len.exp: New file.
247
f1854e35
SM
2482021-06-07 Simon Marchi <simon.marchi@polymtl.ca>
249
250 * gdb.base/attach.exp (test_command_line_attach_run): Use
251 proc_with_prefix.
252
b0e2f96b
TV
2532021-06-07 Tom de Vries <tdevries@suse.de>
254
255 PR testsuite/27908
256 * gdb.base/run-attach-while-running.exp (test): Don't match prompt
257 after attach using '$gdb_prompt $'.
258
409cac34
TV
2592021-06-07 Tom de Vries <tdevries@suse.de>
260
261 * gdb.base/info-types.exp.tcl: Remove "File .*" matching from regexp
262 matching state machine.
263
bc37aacd
TV
2642021-06-07 Tom de Vries <tdevries@suse.de>
265
266 * gdb.base/new-ui-pending-input.exp
267 (test_command_line_new_ui_pending_input): Fix regexp for "initial
268 prompt on extra console".
269
7ee8c127
TV
2702021-06-07 Tom de Vries <tdevries@suse.de>
271
272 * gdb.base/info-types.exp.tcl (run_test): Move "random line" regexp
273 up.
274
921b2bc7
SM
2752021-06-06 Simon Marchi <simon.marchi@efficios.com>
276
277 * gdb.server/stop-reply-no-thread-multi.exp: Clear sysroot when
278 host and target are local.
279
ad4bd975
HD
2802021-06-05 Hannes Domani <ssbssa@yahoo.de>
281
282 * gdb.python/py-symbol.exp: Fix tests for Python 3.
283
ae61ef2c
SV
2842021-06-05 Shahab Vahedi <shahab@synopsys.com>
285
286 * gdb.arch/arc-disassembler-options.exp: New test.
287 * gdb.arch/arc-disassembler-options.s: New test source.
288
386de171
TT
2892021-06-04 Tom Tromey <tromey@adacore.com>
290
291 * gdb.ada/array_of_symbolic_length.exp: New file.
292 * gdb.ada/array_of_symbolic_length/foo.adb: New file.
293 * gdb.ada/array_of_symbolic_length/gl.adb: New file.
294 * gdb.ada/array_of_symbolic_length/gl.ads: New file.
295 * gdb.ada/array_of_symbolic_length/pck.adb: New file.
296 * gdb.ada/array_of_symbolic_length/pck.ads: New file.
297
df5bc734
MH
2982021-06-03 Magne Hov <mhov@undo.io>
299
300 PR python/27841
301 * gdb.python/py-events.exp: Extend inferior exit tests.
302 * gdb.python/py-events.py: Print inferior exit PID.
303
6ac5237c
HD
3042021-06-03 Hannes Domani <ssbssa@yahoo.de>
305
306 * gdb.python/py-symbol.exp: Test symbol constants.
307
60be64b3
BE
3082021-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
309
310 * gdb.dwarf2/per-bfd-sharing.exp: Fix temp-dir leakage.
311
170960e8
CL
3122021-06-02 Carl Love <cel@us.ibm.com>
313
314 * gdb.threads/threadapply.c: Add global mybarrier.
315 (main): Add pthread_barrier_init.
316 (thread_function): Replace while loop with myp increment and
317 pthread_barrier_wait.
318
f2d42111
AB
3192021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
320
321 * lib/gdb.exp (gdb_compile): Only add the -J option when using a
322 gcc based Fortran compiler, for example, flang does not support
323 this option.
324
8a222a6b
AB
3252021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
326
327 * lib/fortran.exp (fortran_int8): Escape '*' in pattern.
328
2adf1781
TT
3292021-06-01 Tom Tromey <tromey@adacore.com>
330
331 * Makefile.in (all): Don't print anything.
332 ($(abs_builddir)/site.exp site.exp): Use $(ECHO_GEN).
333 (expect-read1): Likewise.
334 (read1.so): Use $(ECHO_CC).
335 Include silent-rules.mk.
336
f99d1d37
TT
3372021-06-01 Tom Tromey <tromey@adacore.com>
338
339 * aclocal.m4, configure.ac, configure: Remove.
340 * Makefile.in (EXTRA_RULES): Remove.
341 ($(abs_builddir)/site.exp site.exp): Don't depend on
342 config.status.
343 (distclean maintainer-clean realclean, Makefile): Update.
344 (config.status): Remove target.
345 (lib/pdtrace): New target.
346 (all): Don't depend on EXTRA_RULES.
347 (check-read1): Depend on read1.so, expect-read1.
348
17d305ef
TV
3492021-06-01 Tom de Vries <tdevries@suse.de>
350
351 PR symtab/26096
352 * gdb.cp/cold-clone.cc: New test.
353 * gdb.cp/cold-clone.exp: New file.
354
b97eff8f
AB
3552021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
356
357 * gdb.gdb/unittest.c: New file.
358 * gdb.gdb/unittest.exp: Run with and without a binary file loaded
359 into GDB.
360
b4b3e2de
AB
3612021-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
362
363 * gdb.base/premature-dummy-frame-removal.c: New file.
364 * gdb.base/premature-dummy-frame-removal.exp: New file.
365 * gdb.base/premature-dummy-frame-removal.py: New file.
366
d5a6313e
SM
3672021-05-27 Simon Marchi <simon.marchi@polymtl.ca>
368
369 * gdb.base/reverse-init-functions.exp: New.
370
248f7165
TV
3712021-05-27 Tom de Vries <tdevries@suse.de>
372
373 PR symtab/27919
374 PR testsuite/27920
375 * gdb.dwarf2/dw2-dummy-cu.exp: Use maint expand-symtabs instead of
376 -readnow.
377
e453275c
TV
3782021-05-27 Tom de Vries <tdevries@suse.de>
379
380 PR testsuite/27921
381 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Rename to ...
382 (local_add_gdb_index): ... this.
383
778ae9cc
TV
3842021-05-21 Tom de Vries <tdevries@suse.de>
385
386 PR testsuite/25047
387 * boards/cc-with-gnu-debuglink.exp: New file.
388
ca43e660
TBA
3892021-05-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
390
391 * gdb.dwarf2/dw2-inline-with-lexical-scope.c (func): Replace
392 a dead code with an assignment to a global var. Fix a
393 whitespacing problem around an assignment operator.
394
7f2b8718
WS
3952021-05-19 Will Schmidt <will_schmidt@vnet.ibm.com>
396
397 * gdb.arch/powerpc64-prologue.c: New test to exercise prologues
398 for the powerpc64 LE target.
399 * gdb.arch/powerpc-prologue.exp: Test Harness.
400
d9211df2
AB
4012021-05-19 Andrew Burgess <andrew.burgess@embecosm.com>
402
403 * gdb.guile/scm-pretty-print.exp: Add test names to resolve
404 duplicate test names.
405
2129a942
TV
4062021-05-19 Tom de Vries <tdevries@suse.de>
407
408 * gdb.base/info-types.exp.tcl: Scan info types output line-by-line.
409
5277208d
SM
4102021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
411
412 * gdb.python/py-framefilter-gdb.py.in: Rename to:
413 * gdb.python/py-framefilter-gdb.py: ... this.
414 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Rename to:
415 * gdb.python/py-framefilter-invalidarg-gdb.py: ... this.
416
91e159e9
SM
4172021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
418
419 * gdb.python/py-framefilter-gdb.py.in: Re-format.
420 * gdb.python/py-framefilter-invalidarg-gdb.py.in: Re-format.
421
467f8eb2
BK
4222021-05-17 Bhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
423
424 * gdb.base/class-allocatable-array.exp: Modified test for clang.
425
ea11a98d
WP
4262021-05-16 Weimin Pan <weimin.pan@oracle.com>
427
428 * gdb.ctf/funcreturn.exp: New file.
429 * gdb.ctf/whatis.c: Copy from gdb.base.
430
887e7158
TT
4312021-05-14 Tom Tromey <tom@tromey.com>
432
433 * gdb.rust/pp.exp: New file.
434 * gdb.rust/pp.py: New file.
435 * gdb.rust/pp.rs: New file.
436
f8eec398
BE
4372021-05-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
438
439 * gdb.base/index-cache.exp: Cleanup $cache_dir/*.gdb-index and
440 remove the directory.
441 * gdb.dwarf2/per-bfd-sharing.exp: Likewise.
442
55789354
TBA
4432021-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
444
445 * gdb.python/py-inferior.exp: Add test cases for 'connection_num'.
446
ecf25064
KC
4472021-05-14 Kent Cheung <kent.cheung@arm.com>
448 Andrew Burgess <andrew.burgess@embecosm.com>
449
450 * gdb.python/py-format-string.c: Added a variable to test.
451 * gdb.python/py-format-string.exp: Check string representation is
452 printed at appropriate max_depth settings.
453 * gdb.python/py-nested-maps.exp: Likewise.
454 * gdb.guile/scm-pretty-print.exp: Add additional tests.
455
bab9eb49 4562021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
4a0a0bd2
AB
457
458 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Give some tests
459 unique names, also wrap proc body in with_test_prefix.
460
bab9eb49 4612021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
62f2f198
AB
462
463 * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve
464 duplicate test names.
465 * gdb.guile/scm-parameter.exp: Provide test names to avoid
466 duplicate names based on the command being run.
467 * gdb.guile/scm-symbol.exp: Extend test name to make it unique.
468 * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when
469 loading a support module.
470 (test_equality): Update test name to match the actual test, making
471 the name unique in the process.
472 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names
473 to resolve duplicate tests.
474 (test_inferior_function_call): Likewise.
475 (test_subscript_regression): Likewise.
476
bab9eb49 4772021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
5c6f801d
AB
478
479 * lib/guile.exp (gdb_scm_load_file): Use empty test name to
480 silence PASS lines.
481 (gdb_install_guile_module): Likewise.
482
ee35ce82
GB
4832021-05-12 George Barrett <bob@bob131.so>
484
485 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
486 value-const-value.
487
9d4fc61d
GB
4882021-05-12 George Barrett <bob@bob131.so>
489
490 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
491 value-reference-value. Add test for value-rvalue-reference-value.
492
5048549a
TV
4932021-05-11 Tom de Vries <tdevries@suse.de>
494
495 * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
496 Add "set debug infrun 1" commented out.
497
2302f963
TV
4982021-05-11 Tom de Vries <tdevries@suse.de>
499
500 * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp.
501
abb894a4
BK
5022021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com>
503
504 * gdb.fortran/array-element.exp: Breakpoint location is modified.
505
db1f6cd6
LS
5062021-05-10 Lancelot Six <lsix@lancelotsix.com>
507
508 PR gdb/27614
509 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
510
9344937b
AB
5112021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
512
513 * gdb.guile/guile.exp: Don't use the source directory as a
514 temporary HOME directory.
515
0709cf68
SM
5162021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
517
518 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
519 parameters.
520
1845e254
AB
5212021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
522
523 * gdb.guile/guile.exp: Add an extra test.
524
a3237c7c
AB
5252021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
526
527 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
528 gdb_test_no_output.
529
13123da8
SM
5302021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
531
532 * Re-format all Python files using black.
533 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
534
0618ecf6
AB
5352021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
536
537 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
538 watchpoint object before and after registering it with GDB.
539
a7ed4ea6
AB
5402021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
541
542 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
543 'proc_with_prefix', remove use of 'with_test_prefix', and
544 reindent.
545 (test_bkpt_deletion): Likewise.
546 (test_bkpt_cond_and_cmds): Likewise.
547 (test_bkpt_invisible): Likewise.
548 (test_watchpoints): Likewise.
549 (test_bkpt_internal): Likewise.
550 (test_bkpt_eval_funcs): Likewise.
551 (test_bkpt_registration): Likewise.
552 (test_bkpt_address): Convert to 'proc_with_prefix'.
553 (test_bkpt_probe): Likewise.
554
7ebbaa1c
AB
5552021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
558 names to avoid duplicates.
559 (test_bkpt_cond_and_cmds): Likewise.
560 (test_bkpt_eval_funcs): Likewise.
561
79aabb73
TBA
5622021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
563
564 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
565 for the -break-condition command's "--force" flag.
566
10e578d7
TBA
5672021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
568
569 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
570 is called by the test.
571
2f000c80
TV
5722021-05-05 Tom de Vries <tdevries@suse.de>
573
574 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
575 "Reading symbols" or "Expanding full symbols" lines. Using timeout
576 factor of 2 for attach.
577
09f83f79
TV
5782021-05-05 Tom de Vries <tdevries@suse.de>
579
580 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
581 "LWP <n> exited" messages.
582
fa94b3a7
SM
5832021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
584
585 * gdb.python/py-type.exp (test_fields): Test calling fields on
586 an int type.
587
858c8f2c
SM
5882021-05-04 Simon Marchi <simon.marchi@efficios.com>
589
590 * gdb.python/flexible-array-member.exp: Adjust expected range
591 value for member declared with 0 size. Test accessing range
592 tuple through range type.
593
d389a1a7
AB
5942021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
595
596 PR testsuite/27788
597 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
598 expected results when environment variable PYTHONDONTWRITEBYTECODE
599 is set.
600
2869ac4b
TT
6012021-04-30 Tom Tromey <tromey@adacore.com>
602
603 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
604 (Confused_Array): New types.
605 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
606 * gdb.ada/enum_idx_packed.exp: Add new tests.
607
5536f0cc
TV
6082021-04-30 Tom de Vries <tdevries@suse.de>
609
610 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
611 existing timeout factors.
612
7f7f284d
TV
6132021-04-30 Tom de Vries <tdevries@suse.de>
614
615 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
616
3f334074
TV
6172021-04-29 Tom de Vries <tdevries@suse.de>
618
619 PR testsuite/27786
620 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
621 remotetimeout to 4.
622
db2534b7
TT
6232021-04-28 Tom Tromey <tromey@adacore.com>
624
625 * gdb.ada/null_overload.exp: New file.
626 * gdb.ada/null_overload/foo.adb: New file.
627
edeaceda
AB
6282021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
629
630 * gdb.python/py-startup-opt.exp: New file.
631
b9f90c72
LM
6322021-04-27 Luis Machado <luis.machado@linaro.org>
633
634 * gdb.base/maint.exp: Drop a pattern that is not needed.
635 * lib/gdb.exp (readnow): Match line-by-line.
636
4b62a30d
LM
6372021-04-27 Luis Machado <luis.machado@linaro.org>
638
639 * gdb.xml/tdesc-reload.exp: Pass -lbl.
640
2c473def
MW
6412021-04-27 Michael Weghorn <m.weghorn@posteo.de>
642 Simon Marchi <simon.marchi@polymtl.ca>
643
644 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
645 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
646 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
647 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
648 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
649 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
650
e8b6c1da
TT
6512021-04-26 Tom Tromey <tromey@adacore.com>
652
653 PR gdb/27743:
654 * gdb.dwarf2/imported-unit-bp.exp: New file.
655 * gdb.dwarf2/imported-unit-bp-main.c: New file.
656 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
657
bea3329b
SM
6582021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
659
660 PR gdb/27773
661 * gdb.base/dump.exp: Test dump to non-existent dir.
662
21f91785
LM
6632021-04-26 Luis Machado <luis.machado@linaro.org>
664
665 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
666 comparison.
667
fbb46296
LS
6682021-04-25 Lancelot Six <lsix@lancelotsix.com>
669
670 PR gdb/22640
671 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
672 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
673 changes the default behavior of 'ptype/o'. Update to take into
674 account new horizontal layout.
675 * gdb.rust/simple.exp: Update ptype test to check new horizontal
676 layout.
677 * gdb.rust/union.exp: Same.
678
9fc29955
AB
6792021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
680
681 * gdb.base/info_sources.exp: Add new tests.
682
432ce4cf
TT
6832021-04-22 Tom Tromey <tom@tromey.com>
684
685 * gdb.base/ptype-offsets.cc (struct empty_member): New.
686 (main): Use empty_member.
687 * gdb.base/ptype-offsets.exp: Add new test.
688
a87caa6d
SM
6892021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
690
691 * gdb.python/flexible-array-member.exp: Add check for Python
692 support.
693
e25d6d93
SM
6942021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
695
696 PR gdb/27757
697 * gdb.python/flexible-array-member.c: New test.
698 * gdb.python/flexible-array-member.exp: New test.
699 * gdb.guile/scm-type.exp (test_range): Add test for flexible
700 array member.
701 * gdb.guile/scm-type.c (struct flex_member): New.
702 (main): Use it.
703
22f80c0f
TT
7042021-04-22 Tom Tromey <tom@tromey.com>
705
706 * gdb.rust/modules.exp: Add checks for syntax errors.
707 * gdb.rust/expr.exp: Add checks for syntax errors.
708 * gdb.rust/simple.exp: Add checks for syntax errors.
709
6d5702a5
CL
7102021-04-21 Carl Love <cel@us.ibm.com>
711
712 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
713 Update expected string for gdb_test "bt".
714
715 * lib/valgrind.exp: Add set remotetimeout 3.
716 Increase vgdb wait from 1 to 2.
717 Add max-invoke-ms option to vgdb command line.
718
10a636cc
TBA
7192021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
720
721 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
722 conditions.
723
98e713ab
SM
7242021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
725 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
726
727 * gdb.mi/mi-break.exp: Fix the duplicate test names.
728
525174e8
FW
7292021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
730
731 * gdb.base/address_space_qualifier.exp: New file.
732
392e0bcc
TT
7332021-04-19 Tom Tromey <tromey@adacore.com>
734
735 PR gdb/27742:
736 * gdb.opt/inline-locals.exp: Update kfail patterns.
737
da314dd3
TT
7382021-04-17 Tom Tromey <tom@tromey.com>
739
740 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
741
3cbc7ac3
TT
7422021-04-16 Tom Tromey <tom@tromey.com>
743
744 * gdb.rust/simple.exp: Change error text.
745 * gdb.rust/expr.exp: Change error text.
746
458620aa
TT
7472021-04-16 Tom Tromey <tom@tromey.com>
748
749 * gdb.rust/simple.exp: Add parens to 'as' test.
750
321d0cd7
SM
7512021-04-16 Simon Marchi <simon.marchi@efficios.com>
752
753 * boards/simavr.exp: Set debug_flags.
754
1b6b755e
LM
7552021-04-16 Luis Machado <luis.machado@linaro.org>
756
757 * gdb.dwarf2/dw2-bfloat16.exp: New file.
758
fd5c30cd
AB
7592021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
760
761 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
762 including a path in the test name.
763
41f14dc8
SM
7642021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
765
766 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
767
a15a276b
TT
7682021-04-15 Tom Tromey <tromey@adacore.com>
769
770 * gdb.dwarf2/arr-stride.exp: Add test.
771
5809fbf2
TT
7722021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
773
774 * gdb.base/startup-file.exp: Add more tests.
775
92e4e97a
AB
7762021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
777
778 PR cli/25956
779 * gdb.base/early-init-file.c: New file.
780 * gdb.base/early-init-file.exp: New file.
781 * lib/gdb-utils.exp (style): Handle style 'none'.
782
fcc99c42
TBA
7832021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
784
785 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
786 @DW_INL_declared_inlined for the inline attribute.
787
34dc0f95
TBA
7882021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
789
790 * gdb.opt/inline-locals.c (scoped): New function.
791 (main): Call 'scoped'.
792 * gdb.opt/inline-locals.exp: Update with "info locals" tests
793 for scoped variables.
794 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
795 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
796
ac4d323e
TBA
7972021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
798
799 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
800
6b142048
WS
8012021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
802
803 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
804
82d9b280 8052021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
806
807 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
808 non-relative plxv instructions.
809 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
810
8112021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 812
e3d528d7
WS
813 PR gdb/27525
814 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
815 exercise single-stepping over subpcis,lnia,addpcis instructions
816 with displacement.
817 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
818 of addpcis/lnia/subpcis instructions.
819 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
820 exercise single-stepping over lnia instructions with displacement.
821 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
822 lnia instructions.
823
8242021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
825
82d9b280
WS
826 * gdb.arch/powerpc-power10.s: New test for instructions.
827 * gdb.arch/powerpc-power10.exp: Harness to run the test.
828
6ba4cb84
CL
8292021-4-12 Carl Love <cel@us.ibm.com>
830
831 * gdb.arch/vsx-vsr-float128.c: New test file.
832 * gdb.arch/vsx-vsr-float128.exp: New expect file.
833
9d8f3022
MM
8342021-04-12 Markus Metzger <markus.t.metzger@intel.com>
835
836 * gdb.btrace/reconnect.exp: Relax expected stepi output.
837
dc2b480f
WP
8382021-04-07 Weimin Pan <weimin.pan@oracle.com>
839
840 * gdb.base/ctf-ptype.c: Add struct link containing a forward
841 reference type.
842 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
843
0a703a4c
AB
8442021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
845
846 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
847 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
848
30ab3586
AB
8492021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
850
851 * gdb.cp/rvalue-ref-params.cc (f3): New function.
852 (f4): New function.
853 (global_int): New global variable.
854 (global_float): Likeiwse.
855 (main): Call both new functions.
856 * gdb.cp/rvalue-ref-params.exp: Add new tests.
857
56d467f4
CT
8582021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
859
860 * gdb.dwarf2/fission-relative-dwo.c: New file.
861 * gdb.dwarf2/fission-relative-dwo.exp: New file.
862
61dee722
AB
8632021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
864
865 * gdb.dwarf2/fission-absolute-dwo.c: New file.
866 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
867 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
868 instead of build_executable_from_fission_assembler.
869 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
870 * gdb.dwarf2/fission-loclists.exp: Likewise.
871
872 * gdb.dwarf2/fission-multi-cu.S: Delete file.
873 * gdb.dwarf2/fission-multi-cu.c: New file based on old
874 fission-multi-cu1.c and fission-multi-cu2.c files.
875 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
876 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
877 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
878 * gdb.dwarf2/fission-reread.exp: Likewise.
879 * lib/dwarf.exp (extract_dwo_information): New proc.
880 (strip_dwo_information): New proc.
881 (build_executable_and_dwo_files): New proc.
882 (build_executable_from_fission_assembler): Delete.
883 (Dwarf::_debug_addr_index): New variable.
884 (Dwarf::_cu_is_fission): New variable.
885 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
886 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
887 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
888 if this is a fission CU.
889 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
890 (Dwarf::debug_addr_label): New proc.
891 (Dwarf::cu): Initialise _cu_is_fission.
892 (Dwarf::tu): Likewise.
893 (Dwarf::assemble): Initialise _debug_addr_index.
894
1fd999d9
AB
8952021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
896
897 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
898
79c02443
AB
8992021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
900
901 * gdb.python/py-parameter.exp: Add test for reading data-directory
902 using gdb.parameter API.
903
340d00fb
TV
9042021-04-06 Tom de Vries <tdevries@suse.de>
905
906 PR breakpoints/25884
907 * gdb.opt/inline-cmds.exp: Remove kfail.
908
043bcbaf
TV
9092021-04-06 Tom de Vries <tdevries@suse.de>
910
911 PR testsuite/27691
912 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
913 file "".
914
ac628a06
EB
9152021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
916
917 * lib/pdtrace.in: Fix obvious typo.
918
3f49d080
TT
9192021-03-31 Tom Tromey <tromey@adacore.com>
920
921 * lib/dwarf.exp (Dwarf::_get_args): New proc.
922 (Dwarf::_location): Use it.
923
cfcbd506
TV
9242021-03-31 Tom de Vries <tdevries@suse.de>
925
926 PR testsuite/27667
927 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
928
8a91fbdf
SM
9292021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
930
931 PR gdb/27541
932 * gdb.base/index-cache-load-twice.exp: Remove.
933 * gdb.base/index-cache-load-twice.c: Remove.
934 * gdb.dwarf2/per-bfd-sharing.exp: New.
935 * gdb.dwarf2/per-bfd-sharing.c: New.
936
b953e703
TV
9372021-03-30 Tom de Vries <tdevries@suse.de>
938
939 PR testsuite/27604
940 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
941
aa33ea68
TBA
9422021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
943
944 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
945 the infinite loop to avoid a Clang bug.
946
99066782
WS
9472021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
948
949 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
950 names for uniqueness.
951 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
952 uniqueness.
953
b1f3973b
AB
9542021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
955
956 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
957 member.
958 (make_container): Initialise is_array_p.
959 * gdb.python/py-prettyprint.exp: Add new tests.
960 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
961 Check is_array_p and possibly return 'array'.
962
3c2dcf90
AB
9632021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
964
965 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
966 * gdb.cp/casts.exp: Give tests unique names.
967 * gdb.cp/filename.exp: Likewise.
968 * gdb.cp/gdb2495.exp: Likewise.
969 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
970 * gdb.cp/misc.exp: Rename test to make it unique.
971 * gdb.cp/nsnested.exp: Give tests unique names.
972 * gdb.cp/ovldbreak.exp: Likewise.
973 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
974 being tested. This also removes the duplicate test name.
975 * gdb.cp/ref-types.exp: Likewise.
976 * gdb.cp/temargs.exp: Likewise.
977
6b78370d
AB
9782021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
979
980 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
981 square brackets in test.
982
baecbb3d
AB
9832021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
984
985 * gdb.cp/maint.exp (test_first_component): Run more tests with a
986 variable number of spaces, this removes the duplicate testing of
987 'operator ->' which existed before.
988
6e892297
AB
9892021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
990
991 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
992 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
993 duplicates, and also to avoid having a string inside parentheses
994 at the end of test names.
995
ac45a6ca
AB
9962021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
997
998 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
999 Avoid repeated uses of 'runto', and instread just progress once
1000 through the test stopping at different breakpoints. Give comments
1001 a capital letter and full stop. Give duplicate tests unique names.
1002
323fd5b9
PA
10032021-03-25 Pedro Alves <pedro@palves.net>
1004
1005 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
1006 "target_non_stop" parameter and use it.
1007 (top level): Add "maint set target-non-stop on/off" testing axis.
1008
ba3c61fc
AB
10092021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
1010
1011 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
1012 gdb_test_multiple.
1013
bf0aecce
LM
10142021-03-24 Luis Machado <luis.machado@linaro.org>
1015
1016 * gdb.arch/aarch64-mte.c: New file.
1017 * gdb.arch/aarch64-mte.exp: New test.
1018 * gdb.base/memtag.c: New file.
1019 * gdb.base/memtag.exp: New test.
1020 * lib/gdb.exp (supports_memtag): New function.
1021
bef382e6
LM
10222021-03-24 Luis Machado <luis.machado@linaro.org>
1023
1024 * gdb.base/options.exp: Adjust for new print options.
1025 * gdb.base/with.exp: Likewise.
1026
702cf3f5
AB
10272021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
1028
1029 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
1030 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
1031
1e7fcccb
AB
10322021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
1033
1034 * gdb.dwarf2/dw2-using-debug-str.c: New file.
1035 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
1036 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
1037 not .debug_string.
1038
4829711b
TT
10392021-03-20 Tom Tromey <tom@tromey.com>
1040
1041 * gdb.base/maint.exp: Update "maint print statistics" output.
1042
e0d6d274
KB
10432021-03-19 Kevin Buettner <kevinb@redhat.com>
1044
1045 * lib/gdbserver-support.exp (gdbserver_exit): Use the
1046 "-nowait" flag when waiting for gdbserver to exit.
1047
a088215a
SST
10482021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
1049
1050 * gdb.base/info-macros.exp: Append -fdebug-macro to
1051 additional_flags for clang.
1052 * gdb.base/macscp.exp: Likewise.
1053 * gdb.base/style.exp: Likewise.
1054 * gdb.linespec/macro-relative.exp: Likewise.
1055
d0c99a23
SM
10562021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
1057 Pedro Alves <pedro@palves.net>
1058
1059 * gdb.base/run-attach-while-running.exp: New.
1060 * gdb.base/run-attach-while-running.c: New.
1061
7807d76a
AB
10622021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
1063
1064 * gdb.python/py-framefilter-addr.c: New file.
1065 * gdb.python/py-framefilter-addr.exp: New file.
1066 * gdb.python/py-framefilter-addr.py: New file.
1067
f302f9e2
AB
10682021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
1069
1070 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
1071 Make use of $gdb_test_name instead of creating a separate $test
1072 variable.
1073 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
1074 adding a '($name)' at the end of each test. This also catches the
1075 one place where '($name)' was missing, and so caused a duplicate
1076 test name.
1077 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
1078 duplicate test names based on the command being tested.
1079 * gdb.threads/signal-command-multiple-signals-pending.exp:
1080 Likewise.
1081 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
1082 avoid duplicate testnames when a test script uses this proc and
1083 also gdb_compile_pthreads.
1084 * lib/prelink-support.exp (build_executable_own_libs): Use
1085 with_test_prefix to avoid duplicate test names when we call
1086 build_executable twice.
1087
6813ceb0
TT
10882021-03-15 Tom Tromey <tromey@adacore.com>
1089
1090 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
1091
3b5c4de0
TT
10922021-03-15 Tom Tromey <tromey@adacore.com>
1093
1094 * gdb.ada/varsize_limit.exp: Add new test.
1095 * gdb.ada/varsize_limit/vsizelim.adb: Update.
1096
c04da66c
TT
10972021-03-15 Tom Tromey <tromey@adacore.com>
1098
1099 * gdb.ada/operator_call/twovecs.ads: New file.
1100 * gdb.ada/operator_call/twovecs.adb: New file.
1101 * gdb.ada/operator_call/opcall.adb: New file.
1102 * gdb.ada/operator_call.exp: New file.
1103
1ac74522
TT
11042021-03-15 Tom Tromey <tromey@adacore.com>
1105
1106 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
1107 * gdb.ada/enums_overload/enums_overload.ads: New file.
1108 * gdb.ada/enums_overload/enums_overload.adb: New file.
1109 * gdb.ada/enums_overload.exp: New file.
1110
207582c0
TT
11112021-03-15 Tom Tromey <tromey@adacore.com>
1112
1113 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
1114 Declare.
1115 * gdb.ada/assign_arr/target_wrapper.adb: New file.
1116 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
1117 Call Put.
1118 * gdb.ada/assign_arr.exp: Update.
1119
ba6a0ef3
AB
11202021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
1121
1122 * gdb.python/py-auto-load-chaining-f1.c: New file.
1123 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
1124 * gdb.python/py-auto-load-chaining-f2.c: New file.
1125 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
1126 * gdb.python/py-auto-load-chaining.c: New file.
1127 * gdb.python/py-auto-load-chaining.exp: New file.
1128
7f99d636
AB
11292021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1130
1131 * gdb.python/py-bad-printers.exp: Extend test names to make them
1132 unique.
1133 * gdb.python/py-events.exp: Likewise.
1134 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1135 * gdb.python/py-frame-inline.exp: Likewise.
1136 * gdb.python/py-frame.exp: Likewise.
1137 * gdb.python/py-infthread.exp: Likewise.
1138
323b848c
AB
11392021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1140
1141 * gdb.python/py-value-cc.exp: Remove a duplicate test.
1142
8a4efb36
AB
11432021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1144
1145 * gdb.python/lib-types.exp: Update the test to check the correct
1146 python variable.
1147
66bb1dd9
AB
11482021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1149
1150 * gdb.python/py-explore-cc.exp: Extend test names to make them
1151 unique.
1152
0125fabc
AB
11532021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1154
1155 * gdb.python/py-lookup-type.exp: Remove duplicate test.
1156
79d04157
AB
11572021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1158
1159 * gdb.python/py-symtab.exp: Extend test names to make them
1160 unique.
1161
e3e48d8f
AB
11622021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1163
1164 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
1165 names unique.
1166
2cb60e74
AB
11672021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1168
1169 * gdb.python/py-block.exp: Give tests unique names.
1170
8b12ded4
AB
11712021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1172
1173 * gdb.python/py-pp-maint.exp: Extend test names to make them
1174 unique.
1175
93598ea4
AB
11762021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1177
1178 * gdb.python/py-explore.exp: Add with_test_prefix to make test
1179 names unique.
1180
f35d6971
AB
11812021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1182
1183 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
1184
22d3e7f6
AB
11852021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1186
1187 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
1188 names unique.
1189
5fc5a1b8
AB
11902021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1191
1192 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
1193 test names unique.
1194
e3141a4d
AB
11952021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1196
1197 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
1198 unique.
1199
ccdc02ed
TT
12002021-03-09 Tom Tromey <tromey@adacore.com>
1201
1202 * gdb.base/cast-call.exp: New file.
1203 * gdb.base/cast-call.c: New file.
1204
fbb1aace
AB
12052021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1206
1207 * gdb.gdb/python-helper.exp: New file.
1208
611aa09d
FW
12092020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
1210
1211 * gdb.fortran/intrinsics.exp: Add LOC tests.
1212
eef32f59
AB
12132021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1214
1215 * gdb.fortran/shape.exp: New file.
1216 * gdb.fortran/shape.f90: New file.
1217
7ba155b3
AB
12182021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1219
1220 * gdb.fortran/size.exp: New file.
1221 * gdb.fortran/size.f90: New file.
1222
e14816a8
AB
12232021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1224
1225 * gdb.fortran/rank.exp: New file.
1226 * gdb.fortran/rank.f90: New file.
1227
d308ba78
TT
12282021-03-08 Tom Tromey <tom@tromey.com>
1229
1230 * gdb.fortran/debug-expr.exp: Update tests.
1231
d182f279
TT
12322021-03-08 Tom Tromey <tom@tromey.com>
1233
1234 * gdb.base/debug-expr.exp: Update expected dump output.
1235
a7308ce0
TT
12362021-03-06 Tom Tromey <tom@tromey.com>
1237
1238 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
1239 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
1240 * gdb.dwarf2/dwznolink.exp: New file.
1241
b0a8c2ff
MW
12422021-03-05 Mark Wielaard <mark@klomp.org>
1243
1244 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
1245
844be3f2
WP
12462021-03-06 Weimin Pan <weimin.pan@oracle.com>
1247
1248 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
1249
82333781
MM
12502021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1251
1252 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
1253
32c52999
MM
12542021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1255
1256 * gdb.btrace/non-stop.exp: Adjust expected source lines.
1257
26ed1478
MM
12582021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1259
1260 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
1261
d2c5f24e
MM
12622021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1263
1264 * gdb.btrace/exception.cc (main): Update test source.
1265 * gdb.btrace/exception.exp: Update patterns.
1266 * gdb.btrace/function_call_history.exp: Likewise.
1267
c7c7253a
MM
12682021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1269
1270 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
1271
f0778fc1
MM
12722021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1273
1274 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
1275 reverse-continue to breakpoint.
1276
e71dbd03
MM
12772021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1278
1279 * gdb.btrace/delta.exp: Remove instruction-history and
1280 function-call-history checks.
1281
b93a3ed0
MM
12822021-03-03 Markus Metzger <markus.t.metzger@intel.com>
1283
1284 * README (Note): Add nopie_ldflag.
1285 * lib/gdb.exp (gdb_compile): Extend nopie handling.
1286
bbcdf9ab
TT
12872021-03-02 Tom Tromey <tromey@adacore.com>
1288
1289 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
1290 encodings.
1291
bb3a4efe
LS
12922021-02-27 Lancelot Six <lsix@lancelotix.com>
1293
1294 PR gdb/27393
1295 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
1296
1297
573dc0cc
TT
12982021-02-26 Tom Tromey <tom@tromey.com>
1299
1300 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
1301
f8218786
JV
13022021-02-26 Jan Vrany <jan.vrany@labware.com>
1303
1304 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1305 Remove trailing \n from expected output.
1306
cb51b708
MM
13072021-02-26 Markus Metzger <markus.t.metzger@intel.com>
1308
1309 * lib/gdb.exp (use_gdb_stub): Extend comment.
1310
64d38fdd
JM
13112021-02-25 Jan Matyas <jmatyas@codasip.com>
1312
1313 PR gdb/26819
1314 * gdb.server/stop-reply-no-thread.exp: Add two test
1315 scenarios that cover remote targets which do not have
1316 the concept of threads.
1317
d4ff3cbf
AB
13182021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1319
1320 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
1321
68337b8b
AB
13222021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1323
1324 PR fortran/26155
1325 * gdb.fortran/call-no-debug-func.f90: New file.
1326 * gdb.fortran/call-no-debug-prog.f90: New file.
1327 * gdb.fortran/call-no-debug.exp: New file.
1328
faeb9f13
AB
13292021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1330
1331 * gdb.fortran/associated.exp: New file.
1332 * gdb.fortran/associated.f90: New file.
1333
170f4b23
AB
13342021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1335
1336 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
1337
dd80d750
AB
13382021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1339
1340 * gdb.base/sect-cmd.exp: Update expected results.
1341
b91919ac
AB
13422021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1343
1344 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
1345 techniques. Enable the test for all targets.
1346
02a79309
AB
13472021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1348
1349 * gdb.base/maint-info-sections.exp: Add new tests.
1350 (check_maint_info_target_sections_output): New proc.
1351
895b7b4e
AB
13522021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1353
1354 * gdb.arch/riscv-default-tdesc.exp: New file.
1355
bc3c0632
AB
13562021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1357
1358 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
1359
acde2092
AB
13602021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
1361
1362 * gdb.arch/i386-biarch-core.exp: Add target check.
1363
7d2e5095
AKS
13642021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1365
1366 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
1367
96df3e28
AB
13682021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
1369
1370 * gdb.fortran/allocated.exp: New file.
1371 * gdb.fortran/allocated.f90: New file.
1372
a1670b72
AB
13732021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1374
1375 * gdb.fortran/lbound-ubound.exp: Remove old comment.
1376
bf3386f0
AB
13772021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1378
1379 * gdb.base/maint-info-sections.exp: Update expected output, and
1380 add additional tests. Again.
1381
4790db14
AB
13822021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1383
1384 * gdb.base/maint-info-sections.exp: Update expected output, and
1385 add additional tests.
1386
f4be6772
AB
13872021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1388
1389 * gdb.base/maint-info-sections.exp: New file, content is moved
1390 from gdb.base/maint.exp and cleaned up to use latest testsuite
1391 techniques.
1392 * gdb.base/maint.exp: Tests moved out to
1393 gdb.base/maint-info-sections.exp.
1394
25ad1e83
SM
13952021-02-10 Simon Marchi <simon.marchi@efficios.com>
1396
1397 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
1398 GDBFLAGS.
1399
e92c8eb8
AB
14002021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1401
1402 * gdb.fortran/lbound-ubound.F90: New file.
1403 * gdb.fortran/lbound-ubound.exp: New file.
1404
ee4c3d88
TV
14052021-02-10 Tom de Vries <tdevries@suse.de>
1406
1407 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
1408 "Restore saved setting of complaints".
1409
cf2b2075
TV
14102021-02-09 Tom de Vries <tdevries@suse.de>
1411
1412 PR symtab/27341
1413 * lib/gdb.exp (with_complaints): New proc, factored out of ...
1414 (gdb_load_no_complaints): ... here.
1415 * gdb.fortran/function-calls.exp: Add test-case.
1416
b61f7811
HAQ
14172021-02-09 Abid Qadeer <abidh@codesourcery.com>
1418
1419 * gdb.threads/signal-command-handle-nopass.exp: Call
1420 'standard_testfile' before using 'testfile'.
1421 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
1422 * gdb.threads/signal-delivered-right-thread.exp: Likewise
1423 * gdb.threads/signal-sigtrap.exp: Likewise
1424
3d4aae48
LM
14252021-02-08 Luis Machado <luis.machado@linaro.org>
1426
1427 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
1428
4001d90d
TV
14292021-02-08 Tom de Vries <tdevries@suse.de>
1430
1431 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
1432
29db1eb3
AB
14332021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1434
1435 * gdb.python/tui-window-disabled.c: New file.
1436 * gdb.python/tui-window-disabled.exp: New file.
1437 * gdb.python/tui-window-disabled.py: New file.
1438
e0c23e11
AB
14392021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1440
1441 * gdb.python/tui-window.exp: Add new tests.
1442 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
1443 TestWindow object into global the_window.
1444 <remote_title>: New method.
1445 (delete_window_title): New function.
1446
1cf23996
AB
14472021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1448
1449 * gdb.tui/winheight.exp: Add more tests.
1450
2708dbbd
AB
14512021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1452
1453 * gdb.python/py-framefilter.exp: Update expected results.
1454 * gdb.python/python.exp: Update expected results.
1455
cd074e04
AB
14562021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1457
1458 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
1459 about bug in GDB, update expected results, and add more tests.
1460
5fb97639
AB
14612021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1462
1463 * gdb.tui/scroll.exp: New file.
1464 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
1465 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
1466 remaining lines up.
1467 (Term::check_region_contents): New proc.
1468 (Term::check_box_contents): Use check_region_contents.
1469
c0e56745
TV
14702021-02-06 Tom de Vries <tdevries@suse.de>
1471
1472 PR testsuite/26922
1473 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
1474 scrolling.
1475
0e857c82
TV
14762021-02-05 Tom de Vries <tdevries@suse.de>
1477
1478 PR breakpoints/27313
1479 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
1480 rejected.
1481
a22ec6e8
TV
14822021-02-05 Tom de Vries <tdevries@suse.de>
1483
1484 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
1485 * gdb.fortran/mixed-lang-stack.exp: Same.
1486
ae710496
TV
14872021-02-05 Tom de Vries <tdevries@suse.de>
1488
1489 PR exp/27265
1490 * gdb.base/complex-parts.exp: Add tests.
1491
d3b54e63
TV
14922021-02-05 Tom de Vries <tdevries@suse.de>
1493
1494 PR symtab/27307
1495 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
1496
3eccb1c8
SV
14972021-02-04 Shahab Vahedi <shahab@synopsys.com>
1498
1499 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
1500
a71501e2
PA
15012021-02-03 Pedro Alves <pedro@palves.net>
1502
1503 * gdb.threads/detach-step-over.c: New file.
1504 * gdb.threads/detach-step-over.exp: New file.
1505
92234eb1
PA
15062021-02-03 Pedro Alves <pedro@palves.net>
1507
1508 * gdb.threads/attach-non-stop.c: New file.
1509 * gdb.threads/attach-non-stop.exp: New file.
1510
2e3773ff
LS
15112021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1512
1513 * gdb.base/inferior-noarg.c: New test.
1514 * gdb.base/inferior-noarg.exp: New test.
1515
e0bd9202
SM
15162021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1517
1518 * gdb.base/scope.exp: Use proc_with_prefix.
1519
9307efbe
SM
15202021-02-02 Simon Marchi <simon.marchi@efficios.com>
1521
1522 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1523 table proc.
1524 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1525 .debug_rnglists table without offset array.
1526 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1527 .debug_loclists table without offset array.
1528
2b0c7f41
SM
15292021-02-02 Simon Marchi <simon.marchi@efficios.com>
1530
1531 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1532 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1533 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1534 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1535 attribute
1536
ecfda20d
SM
15372021-02-02 Simon Marchi <simon.marchi@efficios.com>
1538
1539 PR gdb/26813
1540 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1541 (loclists): New proc.
1542 * gdb.dwarf2/loclists-multiple-cus.c: New.
1543 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1544 * gdb.dwarf2/loclists-sec-offset.c: New.
1545 * gdb.dwarf2/loclists-sec-offset.exp: New.
1546
6b0933da
SM
15472021-02-02 Simon Marchi <simon.marchi@efficios.com>
1548
1549 * lib/dwarf.exp (_location): Add parameters.
1550 (_handle_DW_FORM): Adjust.
1551
962effa7
SM
15522021-02-02 Simon Marchi <simon.marchi@efficios.com>
1553
1554 PR gdb/26813
1555 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1556 (cu): Generate header for DWARF 5.
1557 (rnglists): New proc.
1558 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1559 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1560
2bd3e4b8
TV
15612021-02-02 Tom de Vries <tdevries@suse.de>
1562
1563 PR symtab/24620
1564 * gdb.dwarf2/fission-reread.exp: Add test-case.
1565
c39c8637
TV
15662021-02-01 Tom de Vries <tdevries@suse.de>
1567
1568 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1569 * gdb.dwarf2/fission-loclists-pie.S: Same.
1570 * gdb.dwarf2/fission-loclists.S: Same.
1571 * gdb.dwarf2/fission-multi-cu.S: Same.
1572 * gdb.dwarf2/fission-reread.S: Same.
1573 * gdb.dwarf2/fission-base.exp: Use DWO.
1574 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1575 * gdb.dwarf2/fission-loclists.exp: Same.
1576 * gdb.dwarf2/fission-multi-cu.exp: Same.
1577 * gdb.dwarf2/fission-reread.exp: Same.
1578
ebde6f2d
TV
15792021-01-29 Tom de Vries <tdevries@suse.de>
1580
1581 PR breakpoints/26063
1582 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1583 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1584
620ec3ca
TV
15852021-01-29 Tom de Vries <tdevries@suse.de>
1586
1587 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1588
cdeba395
TV
15892021-01-28 Tom de Vries <tdevries@suse.de>
1590
1591 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1592 in the backtrace, and use that in the rest of the test instead of
1593 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1594
c47b145e
TV
15952021-01-28 Tom de Vries <tdevries@suse.de>
1596
1597 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1598 * gdb.arch/i386-sse-stack-align.c: Same.
1599 * gdb.arch/i386-sse-stack-align.exp: Same.
1600
47918cca
AB
16012021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1602
1603 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1604
2f985dd1
TV
16052021-01-28 Tom de Vries <tdevries@suse.de>
1606
1607 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1608
22efa3d3
TV
16092021-01-28 Tom de Vries <tdevries@suse.de>
1610
1611 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1612 "maint info line-table". Make PASS pattern more specific. Make
1613 FAIL pattern work for -m32.
1614
59b59f08
LS
16152021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1616
1617 PR gdb/27133
1618 * gdb.base/ui-redirect.exp: Add test case that ensures that
1619 redirecting both logging and debug does not cause gdb to crash.
1620
1621
807f647c
MM
16222021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1623
1624 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1625
4ca40594
TV
16262021-01-26 Tom de Vries <tdevries@suse.de>
1627
1628 * gdb.threads/killed-outside.exp: Allow regular output.
1629
d0021af3
TV
16302021-01-26 Tom de Vries <tdevries@suse.de>
1631
1632 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1633
9f6c202e
TV
16342021-01-25 Tom de Vries <tdevries@suse.de>
1635
1636 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1637 * lib/gdb.exp: Use gdb_load_no_complaints.
1638
a625a8c9
TT
16392021-01-25 Tom Tromey <tromey@adacore.com>
1640
1641 * gdb.ada/fixed_points.exp: Add regression test.
1642 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1643 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1644
19184910
TT
16452021-01-25 Tom Tromey <tromey@adacore.com>
1646
1647 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1648
acd6125f
TT
16492021-01-25 Tom Tromey <tromey@adacore.com>
1650
1651 * gdb.ada/local-enum.exp: New file.
1652 * gdb.ada/local-enum/local.adb: New file.
1653
1af4c9c4
TT
16542021-01-23 Tom Tromey <tom@tromey.com>
1655
1656 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1657
705646c0
BE
16582021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1659
1660 * gdb.base/line65535.exp: Fix test expectation.
1661
0ac85db5
SM
16622021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1663
1664 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1665 suppression.
1666 (default_gdb_exit): Likewise.
1667 (default_gdb_spawn): Likewise.
1668 (send_gdb): Likewise.
1669 (gdb_expect): Likewise.
1670 (gdb_expect_list): Likewise.
1671 (default_gdb_init): Likewise.
1672 (gdb_suppress_entire_file): Remove.
1673 (gdb_suppress_tests): Remove.
1674 (gdb_stop_suppressing_tests): Remove.
1675 (gdb_clear_suppressed): Remove.
1676 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1677 related to test suppression.
1678 (default_mi_gdb_start): Likewise.
1679 (mi_gdb_reinitialize_dir): Likewise.
1680 (mi_gdb_test): Likewise.
1681 (mi_run_cmd_full): Likewise.
1682 (mi_runto_helper): Likewise.
1683 (mi_execute_to): Likewise.
1684 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1685 * gdb.base/bitfields.exp: Likewise.
1686 * gdb.base/bitfields2.exp: Likewise.
1687 * gdb.base/break.exp: Likewise.
1688 * gdb.base/call-sc.exp: Likewise.
1689 * gdb.base/callfuncs.exp: Likewise.
1690 * gdb.base/dfp-test.exp: Likewise.
1691 * gdb.base/endian.exp: Likewise.
1692 * gdb.base/exprs.exp: Likewise.
1693 * gdb.base/funcargs.exp: Likewise.
1694 * gdb.base/hbreak2.exp: Likewise.
1695 * gdb.base/recurse.exp: Likewise.
1696 * gdb.base/scope.exp: Likewise.
1697 * gdb.base/sepdebug.exp: Likewise.
1698 * gdb.base/structs.exp: Likewise.
1699 * gdb.base/until.exp: Likewise.
1700 * gdb.cp/misc.exp: Likewise.
1701
9d2d8a16
AB
17022021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1703
1704 PR cli/25956
1705 * gdb.base/style.exp (run_style_tests): Add version string test.
1706 (test_startup_version_string): Use version style name.
1707 * lib/gdb-utils.exp (style): Handle version style name.
1708
e7b43072
AB
17092021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1710
1711 * gdb.base/style.exp (limited_style): New proc.
1712 (clean_restart_and_disable): New proc.
1713 (run_style_tests): New proc. Most of the old tests from this file
1714 are now in this proc.
1715 (test_startup_version_string): New proc. Reamining test from the
1716 old file is in this proc.
1717
2189c312
SM
17182021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1719
1720 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1721 Adjust to "set debug remote" changes.
1722
cd211c75
LM
17232021-01-21 Luis Machado <luis.machado@linaro.org>
1724
1725 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1726 message.
1727
730af663
SM
17282021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1729
1730 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1731
325d39e4
HD
17322021-01-21 Hannes Domani <ssbssa@yahoo.de>
1733
1734 PR python/19151
1735 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1736
c3e96aa7
SM
17372021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1738
1739 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1740
6571ffc6
SM
17412021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1742
1743 * lib/tuiterm.exp: Add links in comments.
1744
7c794afd
TV
17452021-01-20 Tom de Vries <tdevries@suse.de>
1746
1747 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1748 offset.
1749
1402665c
TV
17502021-01-20 Tom de Vries <tdevries@suse.de>
1751
1752 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1753
6f52fdf4
SDJ
17542021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1755
1756 * gdb.arch/amd64-stap-expressions.S: New file.
1757 * gdb.arch/amd64-stap-expressions.exp: New file.
1758
14852123
TV
17592021-01-19 Tom de Vries <tdevries@suse.de>
1760
1761 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1762 sequence.
1763
0c4e2c6c
TV
17642021-01-19 Tom de Vries <tdevries@suse.de>
1765
1766 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1767
02baa133
AB
17682021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1769
1770 * gdb.fortran/array-slices.exp (run_test): Avoid including
1771 addresses in test names.
1772
10f92414
TV
17732021-01-15 Tom de Vries <tdevries@suse.de>
1774
1775 PR testsuite/26997
1776 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1777 when adding sizeof.
1778
116d0cf1
TV
17792021-01-14 Tom de Vries <tdevries@suse.de>
1780
1781 PR testsuite/24590
1782 * gdb.base/style.exp: Handle shorter argv in frame command output.
1783
8f66807b
AB
17842021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1785
1786 PR gdb/26819
1787 * gdb.server/stop-reply-no-thread-multi.c: New file.
1788 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1789
3f94e588
TV
17902021-01-12 Tom de Vries <tdevries@suse.de>
1791
1792 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1793 (main): Remove call to have_mpx.
1794 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1795 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1796 (main): Remote call to have_mpx.
1797 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1798 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1799 (main): Remove call to have_mpx.
1800 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1801 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1802 (main): Remove call to have_mpx.
1803 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1804 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1805 (main): Remote call to have_mpx.
1806 * gdb.arch/i386-mpx.exp: Use have_mpx.
1807 * lib/gdb.exp (have_mpx): New proc.
1808
5291fe3c
SP
18092021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1810
1811 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1812
18bfb505
TV
18132021-01-12 Tom de Vries <tdevries@suse.de>
1814
1815 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1816
ce38f5ed
AB
18172021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1818
1819 * gdb.fortran/debug-expr.exp: Add new tests.
1820
7c654b71
AB
18212021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1822
1823 * gdb.fortran/dot-ops.exp: Add new tests.
1824
10dadadc
TV
18252021-01-11 Tom de Vries <tdevries@suse.de>
1826
1827 PR testsuite/26968
1828 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1829 Move insn setting $eax to before probe point.
1830
66beed02
TT
18312021-01-09 Tom Tromey <tom@tromey.com>
1832
1833 * gdb.trace/ax.exp: Do not require an "ext".
1834
8fc48b79
TT
18352021-01-08 Tom Tromey <tromey@adacore.com>
1836
1837 * gdb.ada/voidctx/pck.adb: New file.
1838 * gdb.ada/voidctx/pck.ads: New file.
1839 * gdb.ada/voidctx/voidctx.adb: New file.
1840 * gdb.ada/voidctx.exp: New file.
1841
6abd4cf2
SM
18422021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1843
1844 PR gdb/27157
1845 * gdb.base/empty-host-env-vars.exp: New test.
1846
d00f0868
AB
18472021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1848
1849 * gdb.base/completion.exp: Add a new test.
1850
3c8c6de2
AB
18512021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1852
1853 * gdb.fortran/intvar-dynamic-types.exp: New file.
1854 * gdb.fortran/intvar-dynamic-types.f90: New file.
1855
e3436813
AB
18562021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1857
1858 * gdb.fortran/intvar-array.exp: New file.
1859 * gdb.fortran/intvar-array.f90: New file.
1860
d4813f10
TT
18612021-01-07 Tom Tromey <tromey@adacore.com>
1862
1863 * gdb.ada/assign_arr.exp: Add 'others' test.
1864
b49180ac
TT
18652021-01-06 Tom Tromey <tromey@adacore.com>
1866
1867 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1868 (FP4_Type): New type.
1869 (FP4_Var): New variable.
1870 * gdb.ada/fixed_points/fixed_points.adb: Update.
1871 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1872
3c55062c
SM
18732021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1874
1875 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1876 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1877 Pass prompt containing debug print to gdb_test_sequence.
1878
e4ad960a
TV
18792021-01-04 Tom de Vries <tdevries@suse.de>
1880
1881 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1882
3ec3145c
SM
18832021-01-04 Simon Marchi <simon.marchi@efficios.com>
1884
1885
1886
8dc558a0
SM
18872021-01-04 Simon Marchi <simon.marchi@efficios.com>
1888
1889 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1890 * gdb.server/connect-without-multi-process.exp: Likewise.
1891 * gdb.server/exit-multiple-threads.exp: Likewise.
1892 * gdb.server/ext-attach.exp: Likewise.
1893 * gdb.server/ext-restart.exp: Likewise.
1894 * gdb.server/ext-run.exp: Likewise.
1895 * gdb.server/ext-wrapper.exp: Likewise.
1896 * gdb.server/multi-ui-errors.exp: Likewise.
1897 * gdb.server/no-thread-db.exp: Likewise.
1898 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1899 * gdb.server/run-without-local-binary.exp: Likewise.
1900 * gdb.server/server-kill.exp: Likewise.
1901 * gdb.server/server-run.exp: Likewise.
1902 * gdb.server/solib-list.exp: Likewise.
1903 * gdb.server/stop-reply-no-thread.exp: Likewise.
1904 * gdb.server/wrapper.exp: Likewise.
1905 * gdb.server/sysroot.exp: Increase timeout when testing the
1906 target: sysroot.
1907
d8387cc8
SM
19082021-01-04 Simon Marchi <simon.marchi@efficios.com>
1909
1910 * gdb.server/server-run.exp: Use clean_restart.
1911
5169ae34
SM
19122021-01-04 Simon Marchi <simon.marchi@efficios.com>
1913
1914 * gdb.server/ext-run.exp: Use clean_restart.
1915
7b0ff8a2
SM
19162021-01-04 Simon Marchi <simon.marchi@efficios.com>
1917
1918 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1919 instead of prepare_for_testing.
1920
a754fbdf
SM
19212021-01-04 Simon Marchi <simon.marchi@efficios.com>
1922
1923 * gdb.server/solib-list.exp: Use clean_restart.
1924
c5e71b33
TV
19252021-01-04 Tom de Vries <tdevries@suse.de>
1926
1927 * gdb.base/morestack.c: Remove printf.
1928 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1929
9b243007
TT
19302020-12-31 Tom Tromey <tom@tromey.com>
1931
1932 * gdb.rust/simple.exp: Update output for Rust 1.49.
1933
4ff509e7
BE
19342020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1935
1936 * gdb.cp/step-and-next-inline.exp: Fix test case.
1937
391750c3
SM
19382020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1939
1940 * gdb.python/py-frame-args.exp: De-duplicate test names.
1941
b7874836
AB
19422020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1943
1944 PR gdb/27059
1945 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1946 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1947
e1ff6226
PW
19482020-12-21 Peter Waller <p@pwaller.net>
1949
1950 * gdb.base/style-interp-exec-mi.exp: New.
1951 * gdb.base/style-interp-exec-mi.c: New.
1952
ca01f1bf
SM
19532020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1954
1955 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1956 gdb_test. Use proc_with_prefix.
1957
0fe69a94
MM
19582020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1959
1960 * gdb.btrace/exception.exp: Build with nopie.
1961 * gdb.btrace/function_call_history.exp: Likewise.
1962 * gdb.btrace/unknown_functions.exp: Likewise.
1963
806e7575
MM
19642020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1965
1966 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1967
493d2172
MM
19682020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1969
1970 * gdb.python/py-record-btrace.exp: Make test names unique.
1971 * gdb.python/py-record-full.exp: Likewise.
1972
1a1c0afc
MM
19732020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1974
1975 * gdb.btrace/data.exp: Make test names unique.
1976 * gdb.btrace/delta.exp: Likewise.
1977 * gdb.btrace/enable.exp: Likewise.
1978 * gdb.btrace/function_call_history.exp: Likewise.
1979 * gdb.btrace/nohist.exp: Likewise.
1980 * gdb.btrace/non-stop.exp: Likewise.
1981 * gdb.btrace/rn-dl-bind.exp: Likewise.
1982 * gdb.btrace/step.exp: Likewise.
1983 * gdb.btrace/stepi.exp: Likewise.
1984 * gdb.btrace/tailcall.exp: Likewise.
1985
98d837f0
MM
19862020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1987
1988 * gdb.btrace/enable.exp: Update error message.
1989 * gdb.btrace/multi-inferior.exp: Likewise.
1990 * gdb.btrace/reconnect.exp: Likewise.
1991 * gdb.python/py-record-btrace.exp: Likewise.
1992 * gdb.python/py-record-full.exp: Likewise.
1993
c541fa7c
TV
19942020-12-20 Tom de Vries <tdevries@suse.de>
1995
1996 * lib/gdb.exp (save_target_board_info): New proc.
1997 (gdb_compile_shlib): Use save_target_board_info.
1998
60108e47
TV
19992020-12-19 Tom de Vries <tdevries@suse.de>
2000
2001 * lib/gdb.exp (supports_scalar_storage_order_attribute)
2002 (supports_gnuc): New proc.
2003 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
2004 test_compiler_info calls. Add unsupported message.
2005 * gdb.base/endianity.c: Use TEST_SSO.
2006
fa639f55
HD
20072020-12-19 Hannes Domani <ssbssa@yahoo.de>
2008
2009 PR exp/27070
2010 * gdb.python/compare-enum-type-a.c: New test.
2011 * gdb.python/compare-enum-type-b.c: New test.
2012 * gdb.python/compare-enum-type.exp: New file.
2013 * gdb.python/compare-enum-type.h: New test.
2014
4aea001f
HD
20152020-12-18 Hannes Domani <ssbssa@yahoo.de>
2016
2017 * gdb.python/py-format-string.exp: Add tests for address keyword.
2018
b3f9469b
HD
20192020-12-18 Hannes Domani <ssbssa@yahoo.de>
2020
2021 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
2022
86ef42bd
TT
20232020-12-18 Tom Tromey <tromey@adacore.com>
2024
2025 * gdb.ada/fixed_points.exp: Also run with
2026 -fgnat-encodings=minimal. Update expected output.
2027
93df4a1d
SM
20282020-12-16 Simon Marchi <simon.marchi@efficios.com>
2029
2030 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
2031 * gdb.base/continue-all-already-running.exp: Likewise.
2032 * gdb.base/moribund-step.exp: Likewise.
2033 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
2034
592995fa
TV
20352020-12-16 Tom de Vries <tdevries@suse.de>
2036
2037 * gdb.base/batch-preserve-term-settings.exp:
2038
1e61189d
TV
20392020-12-16 Tom de Vries <tdevries@suse.de>
2040
2041 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
2042 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
2043
19007d95
LM
20442020-12-16 Luis Machado <luis.machado@linaro.org>
2045
2046 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
2047 pointer-based memory accesses.
2048 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
2049 hw watchpoint cases.
2050
a33fc9ae
RK
20512020-12-15 Rae Kim <rae.kim@gmail.com>
2052
2053 * gdb.base/document.exp: New test.
2054
0e5ad442
TT
20552020-12-15 Tom Tromey <tromey@adacore.com>
2056
2057 * gdb.base/style.exp: Add deprecation tests.
2058
60598dbd
SM
20592020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
2060
2061 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
2062
8cd6d968
MW
20632020-12-14 Mark Wielaard <mark@klomp.org>
2064
2065 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
2066 specially, set attr_form_comment to the actual FORM string used.
2067
eab9267c
MW
20682020-12-14 Mark Wielaard <mark@klomp.org>
2069
2070 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
2071 _constants(SPECIAL_expr) here, but set it...
2072 (Dwarf::cu): ...here based on _cu_version.
2073
2f413264
TV
20742020-12-14 Tom de Vries <tdevries@suse.de>
2075
2076 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
2077 pass -fPIC.
2078 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
2079 * gdb.base/break-probes.exp: Same.
2080 * gdb.base/ctxobj.exp: Same.
2081 * gdb.base/dso2dso.exp: Same.
2082 * gdb.base/global-var-nested-by-dso.exp: Same.
2083 * gdb.base/info-shared.exp: Same.
2084 * gdb.base/jit-reader-simple.exp: Same.
2085 * gdb.base/print-file-var.exp: Same.
2086 * gdb.base/skip-solib.exp: Same.
2087 * gdb.btrace/dlopen.exp: Same.
2088
18f1cb1f
TV
20892020-12-14 Tom de Vries <tdevries@suse.de>
2090
2091 PR testsuite/26963
2092 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
2093
519155c9
TV
20942020-12-14 Tom de Vries <tdevries@suse.de>
2095
2096 PR testsuite/26962
2097 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
2098 cast it to its declared type".
2099
153f6e6c
TV
21002020-12-14 Tom de Vries <tdevries@suse.de>
2101
2102 PR testsuite/26951
2103 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
2104 shell prompt.
2105
86b44259
TT
21062020-12-14 Tom Tromey <tromey@adacore.com>
2107
2108 * gdb.ada/nested.exp: Add new tests.
2109 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
2110
e26624c6
TT
21112020-12-14 Tom Tromey <tromey@adacore.com>
2112
2113 * gdb.dwarf2/ada-thick-pointer.exp: New file.
2114
a3bdae4e
TT
21152020-12-14 Tom Tromey <tromey@adacore.com>
2116
2117 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
2118
862fcbd8
TV
21192020-12-13 Tom de Vries <tdevries@suse.de>
2120
2121 PR testsuite/26953
2122 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
2123 attribute support if compiler doesn't support it.
2124
a406a98e
TV
21252020-12-13 Tom de Vries <tdevries@suse.de>
2126
2127 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
2128 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
2129 source to shared lib. Add ada to options.
2130
5d7e6ed0
TV
21312020-12-13 Tom de Vries <tdevries@suse.de>
2132
2133 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
2134 calling gnatbind and gnatlink.
2135
ee9812a0
AB
21362020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
2137
2138 * gdb.base/dcache-flush.c: New file.
2139 * gdb.base/dcache-flush.exp: New file.
2140
50a5f187
AB
21412020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
2142
2143 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
2144 commands.
2145 * gdb.base/killed-outside.exp: Likewise.
2146 * gdb.opt/inline-bt.exp: Likewise.
2147 * gdb.perf/gmonster-null-lookup.py: Likewise.
2148 * gdb.perf/gmonster-print-cerr.py: Likewise.
2149 * gdb.perf/gmonster-ptype-string.py: Likewise.
2150 * gdb.python/py-unwind.exp: Likewise.
2151
19c659f1
AB
21522020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2153
2154 * gdb.base/commands.exp: Update expected results.
2155
9ef6d4a1
AB
21562020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2157
2158 PR cli/15104
2159 * gdb.base/commands.exp: Add additional tests.
2160 * gdb.base/completion.exp: Add additional tests.
2161
1536146f
AB
21622020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2163
2164 * gdb.base/completion.exp: Add additional tests.
2165
346e7e19
TV
21662020-12-11 Tom de Vries <tdevries@suse.de>
2167
2168 PR testsuite/26991
2169 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
2170 violations by setting bounds registers if the bounds are passed in the
2171 Bounds Table.
2172
9cd7a95a
TV
21732020-12-11 Tom de Vries <tdevries@suse.de>
2174
2175 PR testsuite/26954
2176 * gdb.base/float128.exp: Detect and handle no mpfr support.
2177
4483a8e7
SM
21782020-12-10 Simon Marchi <simon.marchi@efficios.com>
2179
2180 PR gdb/24694
2181 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
2182 calls.
2183
10067028
TV
21842020-12-10 Tom de Vries <tdevries@suse.de>
2185
2186 PR testsuite/26947
2187 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
2188 braces for tcl 8.5 and earlier.
2189
5b56203a
SM
21902020-12-09 Simon Marchi <simon.marchi@efficios.com>
2191
2192 PR 26875, PR 26901
2193 * gdb.base/flexible-array-member.c: New test.
2194 * gdb.base/flexible-array-member.exp: New test.
2195
b46551b2
TV
21962020-12-08 Tom de Vries <tdevries@suse.de>
2197
2198 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
2199 using is_amd64_regs_target.
2200
8439f446
TV
22012020-12-08 Tom de Vries <tdevries@suse.de>
2202
2203 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
2204 self_id.
2205
bc545da7
PA
22062020-12-07 Pedro Alves <pedro@palves.net>
2207
2208 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
2209 'additional_flags' variable.
2210
1f58f6c2
TBA
22112020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2212
2213 * gdb.linespec/explicit.exp: Extend with a test to check completing
2214 '-' after seemingly complete options.
2215
5759831a
TBA
22162020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2217
2218 * gdb.linespec/keywords.exp: Add tests to check positional
2219 flexibility of "-force-condition".
2220
21e051b3
TBA
22212020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2222
2223 * gdb.base/bp-cmds-run-with-ex.c: New file.
2224 * gdb.base/bp-cmds-run-with-ex.exp: New file.
2225 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
2226 * gdb.gdb/python-interrupts.exp: Update the call to
2227 'catch_command_errors' with the new argument.
2228 * gdb.gdb/python-selftest.exp: Ditto.
2229
187b041e
SM
22302020-12-04 Simon Marchi <simon.marchi@efficios.com>
2231
2232 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
2233 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2234 * gdb.threads/non-stop-fair-events.exp: Likewise.
2235
3b7a962d
SM
22362020-12-04 Simon Marchi <simon.marchi@efficios.com>
2237
2238 * gdb.threads/step-over-exec.exp: New.
2239 * gdb.threads/step-over-exec.c: New.
2240 * gdb.threads/step-over-exec-execd.c: New.
2241 * lib/my-syscalls.S: New.
2242 * lib/my-syscalls.h: New.
2243
e633b117
SM
22442020-12-04 Simon Marchi <simon.marchi@efficios.com>
2245
2246 * lib/dwarf.exp (declare_labels): Use name as text if text is
2247 not provided.
2248
67748e0f
TV
22492020-12-04 Tom de Vries <tdevries@suse.de>
2250
2251 PR testsuite/26990
2252 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
2253 are unsupported.
2254
a8d13675
TV
22552020-12-04 Tom de Vries <tdevries@suse.de>
2256
2257 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
2258 clause.
2259
f17727b3
TV
22602020-12-04 Tom de Vries <tdevries@suse.de>
2261
2262 * gdb.reverse/insn-reverse.exp: Fix count handling.
2263
a1499830
TV
22642020-12-04 Tom de Vries <tdevries@suse.de>
2265
2266 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
2267 __x86_64__.
2268
9c027c2f
TV
22692020-12-04 Tom de Vries <tdevries@suse.de>
2270
2271 * gdb.reverse/insn-reverse.c (test_nr): New var.
2272 (usage, parse_args): New function.
2273 (main): Call parse_args. Only run test for test_nr.
2274 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
2275 and bail out. Run subtests individually, using an inferior arg
2276 specifying the subtest.
2277
533b2ae0
AB
22782020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
2279
2280 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
2281
e4502042
AB
22822020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
2283
2284 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
2285 update test to use this.
2286
f55a9a37
SM
22872020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2288
2289 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
2290
0a6155a0
SM
22912020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2292
2293 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
2294 (do_test): Don't use with_test_prefix.
2295 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
2296 (do_test): Don't use with_test_prefix.
2297 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
2298 (do_test): Don't use with_test_prefix.
2299 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
2300 (do_test): Don't use with_test_prefix.
2301
4d56d64a
SM
23022020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
2303
2304 * gdb.threads/non-ldr-exit.exp: Fix comment.
2305
54e75f29
AB
23062020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2307
2308 * gdb.xml/maint-xml-dump-03.xml: New file.
2309
7ce05d21
TV
23102020-11-30 Tom de Vries <tdevries@suse.de>
2311
2312 PR symtab/26905
2313 * gdb.dwarf2/count.exp: Remove kfails.
2314
50757f95
TBA
23152020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2316
2317 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
2318 indices.
2319
4afa9fd9
JB
23202020-11-24 Joel Brobecker <brobecker@adacore.com>
2321
2322 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
2323 the "ptype pck__fp1_range_var" test for the module-2 and pascal
2324 languages. Remove the associated setup_xfail.
2325
15a491af
SM
23262020-11-23 Simon Marchi <simon.marchi@efficios.com>
2327
2328 * lib/gdb.exp (gdb_assert): Show error message on error.
2329
891615f0
TV
23302020-11-23 Tom de Vries <tdevries@suse.de>
2331
2332 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
2333 * gdb.ada/mod_from_name.exp: Same.
2334 * gdb.ada/pckd_arr_ren.exp: Same.
2335
19922582
SM
23362020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2337
2338 * gdb.base/template.exp: New.
2339 * gdb.base/template.c: New.
2340
117c628d
GB
23412020-11-22 Gary Benson <gbenson@redhat.com>
2342
2343 PR gdb/26905
2344 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
2345 is defined using a DW_AT_count which references another DIE.
2346
da39d3ba
TV
23472020-11-21 Tom de Vries <tdevries@suse.de>
2348
2349 * gdb.base/vla-ptr.exp: Add XFAIL.
2350
a5c641b5
AB
23512020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2352
2353 * gdb.fortran/array-slices-bad.exp: New file.
2354 * gdb.fortran/array-slices-bad.f90: New file.
2355 * gdb.fortran/array-slices-sub-slices.exp: New file.
2356 * gdb.fortran/array-slices-sub-slices.f90: New file.
2357 * gdb.fortran/array-slices.exp: Rewrite tests.
2358 * gdb.fortran/array-slices.f90: Rewrite tests.
2359 * gdb.fortran/vla-sizeof.exp: Correct expected results.
2360
a15a5258
AB
23612020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2362
2363 * gdb.base/completion.exp: Add new completion tests.
2364
7cb2893d
SM
23652020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2366
2367 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
2368 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2369 * gdb.mi/mi-nsintrall.exp: Likewise.
2370 * gdb.mi/mi-nsmoribund.exp: Likewise.
2371 * gdb.mi/mi-nsthrexec.exp: Likewise.
2372 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2373
cf144ec8
SM
23742020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
2375
2376 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
2377 of perror.
2378
6b6a3e05
JM
23792020-11-18 Joseph Myers <joseph@codesourcery.com>
2380
2381 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
2382 $arg.exe exists but $arg does not.
2383
811bdca0
GB
23842020-11-17 Gary Benson <gbenson@redhat.com>
2385
2386 * gdb.trace/trace-common.h (x86_trace_dummy): Add
2387 __attribute__ ((used)).
2388
c72e3136
AB
23892020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2390
2391 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
2392
037d7135
AB
23932020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
2394
2395 * gdb.base/completion.exp: Add new tests.
2396
119e99bb
TT
23972020-11-16 Tom Tromey <tromey@adacore.com>
2398
2399 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
2400 tests.
2401
b74dbc20
JB
24022020-11-15 Joel Brobecker <brobecker@adacore.com>
2403
2404 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
2405 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
2406 (main): Add reference to pck__fp1_var2.
2407 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
2408
0a12719e
JB
24092020-11-15 Joel Brobecker <brobecker@adacore.com>
2410
2411 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
2412
0c9150e4
JB
24132020-11-15 Joel Brobecker <brobecker@adacore.com>
2414
2415 * gdb.ada/fixed_points.exp: Add ptype tests.
2416 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
2417
b26daff9
JB
24182020-11-15 Joel Brobecker <brobecker@adacore.com>
2419
2420 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
2421
09584414
JB
24222020-11-15 Joel Brobecker <brobecker@adacore.com>
2423
2424 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
2425 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
2426 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
2427 New files.
2428 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
2429
2430 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
2431 New files.
2432
9dd02fc0
AB
24332020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
2434
2435 PR cli/26879
2436 * gdb.fortran/completion.exp: New file.
2437 * gdb.fortran/completion.f90: New file.
2438
5643c500
JM
24392020-11-12 Joseph Myers <joseph@codesourcery.com>
2440
2441 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
2442 but $arg does not.
2443
7bea47f0
AB
24442020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
2445
2446 * gdb.fortran/types.exp: Add more tests.
2447
1f2624a3
TT
24482020-11-12 Tom Tromey <tom@tromey.com>
2449
2450 PR rust/26799:
2451 * gdb.rust/traits.exp: Remove kfails.
2452
9e74f0ae
GB
24532020-11-12 Gary Benson <gbenson@redhat.com>
2454
2455 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
2456 statement.
2457
acb994fa
SM
24582020-11-11 Simon Marchi <simon.marchi@efficios.com>
2459
2460 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
2461 always-inserted" axis.
2462 (do_test): Add breakpoint_always_inserted parameter.
2463
95016fd2
TT
24642020-11-10 Tom Tromey <tromey@adacore.com>
2465
2466 * gdb.ada/bias.exp: Update.
2467 * gdb.ada/bias/bias.adb (X): Change value.
2468
83100a74
GB
24692020-11-10 Gary Benson <gbenson@redhat.com>
2470
2471 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
2472 regexp fragment in parentheses to prevent false matching.
2473
6ff174a7
GB
24742020-11-10 Gary Benson <gbenson@redhat.com>
2475
2476 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
2477
eb24648c
GB
24782020-11-10 Gary Benson <gbenson@redhat.com>
2479
2480 * gdb.cp/step-and-next-inline.exp: Only require
2481 -gstatement-frontiers when building with GCC.
2482 Only setup KFAIL's for GCC issues when using
2483 a GCC-built executable.
2484
86775fab
AB
24852020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
2486
2487 * gdb.base/debug-expr.c: Add extra function to allow for an
2488 additional test.
2489 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
2490 to this proc with gdb_test_debug_expr. Add an extra test.
2491 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
2492 to this proc with gdb_test_debug_expr, give the tests names
2493 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
2494 calls to this proc with gdb_test_debug_expr, give the tests names
2495 * gdb.fortran/debug-expr.exp: New file.
2496 * gdb.fortran/debug-expr.f90: New file.
2497 * lib/gdb.exp (gdb_test_debug_expr): New proc.
2498
a1945bd4
SM
24992020-11-06 Simon Marchi <simon.marchi@efficios.com>
2500
2501 * lib/dwarf.exp (ranges): Handle "base" and "range" as
2502 proceduresu.
2503 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
2504 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2505 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2506 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2507 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2508 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2509 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2510 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2511
9c91c725
TT
25122020-11-04 Tom Tromey <tromey@adacore.com>
2513
2514 * gdb.ada/funcall_ref.exp: Update.
2515 * gdb.ada/var_rec_arr.exp: Update.
2516
8d9fd3a1
TT
25172020-11-04 Tom Tromey <tromey@adacore.com>
2518
2519 * gdb.ada/rec_ptype.exp: New file.
2520 * gdb.ada/rec_ptype/main.adb: New file.
2521 * gdb.ada/rec_ptype/p.ads: New file.
2522
d8f62e84
TT
25232020-11-04 Tom Tromey <tromey@adacore.com>
2524
2525 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2526 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2527 (PT_Full): New variable.
2528 * gdb.ada/tick_length_array_enum_idx/pck.adb
2529 (Full_PT): New type.
2530
7ff5b937
TT
25312020-11-04 Tom Tromey <tromey@adacore.com>
2532
2533 * gdb.ada/array_of_variant.exp: New file.
2534 * gdb.ada/array_of_variant/p.adb: New file.
2535 * gdb.ada/array_of_variant/pck.ads: New file.
2536 * gdb.ada/array_of_variant/pck.adb: New file.
2537
10f6a3ad
TT
25382020-11-04 Tom Tromey <tromey@adacore.com>
2539
2540 * gdb.ada/enum_idx_packed.exp: Add test.
2541 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2542 New variable.
2543 * gdb.ada/enum_idx_packed/pck.ads (Short)
2544 (Multi_Dimension, Multi_Dimension_Access): New types.
2545
b72795a8
TT
25462020-11-04 Tom Tromey <tromey@adacore.com>
2547
2548 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2549
24aa1b02
TT
25502020-11-04 Tom Tromey <tromey@adacore.com>
2551
2552 * gdb.ada/set_pckd_arr_elt.exp: Also test
2553 -fgnat-encodings=minimal. Add tests.
2554 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2555 Call Update_Small a second time.
2556 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2557 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2558 (Variant_Access): New types.
2559 (New_Variant): Declare.
2560
c9a28cbe
TT
25612020-11-04 Tom Tromey <tromey@adacore.com>
2562
2563 * gdb.ada/mod_from_name.exp: Test printing slice.
2564
57567375
TT
25652020-11-04 Tom Tromey <tromey@adacore.com>
2566
2567 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2568 values.
2569 * gdb.ada/access_to_unbounded_array.exp: Test different
2570 -fgnat-encodings values.
2571 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2572 values.
2573 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2574 values.
2575 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2576 values.
2577 * gdb.ada/array_of_variable_length.exp: Test different
2578 -fgnat-encodings values.
2579 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2580 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2581 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2582 change.
2583 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2584 values.
2585 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2586 * gdb.ada/out_of_line_in_inlined.exp: Test different
2587 -fgnat-encodings values.
2588 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2589 values.
2590 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2591 values.
2592 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2593 -fgnat-encodings values.
2594 * gdb.ada/variant_record_packed_array.exp: Test different
2595 -fgnat-encodings values.
2596
a7400e44
TT
25972020-11-04 Tom Tromey <tromey@adacore.com>
2598
2599 * gdb.ada/enum_idx_packed.exp: Add tests.
2600 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2601 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2602 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2603 declarations.
2604
c40907bf
TV
26052020-11-03 Tom de Vries <tdevries@suse.de>
2606
2607 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2608 terminator comments.
2609 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2610 terminator.
2611
f468977a
SM
26122020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2613
2614 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2615 integer format test with regexp.
2616
1c2bec19
GB
26172020-11-02 Gary Benson <gbenson@redhat.com>
2618
2619 * gdb.base/print-file-var.exp (test): Separate compiler and
2620 linker options, and build using build_executable_from_specs
2621 to accommodate this.
2622
6539a36d
GB
26232020-11-02 Gary Benson <gbenson@redhat.com>
2624
2625 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2626 for .c files compiled as C++ with Clang if any shared
2627 libraries are specified.
2628
7ea44a51
GB
26292020-11-02 Gary Benson <gbenson@redhat.com>
2630
2631 * lib/attributes.h: New header.
2632 * gdb.base/backtrace.c: Include the above. Replace
2633 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2634 * gdb.base/infcall-nested-structs.c: Likewise.
2635 * gdb.base/vla-optimized-out.c: Likewise.
2636
ab8f783d
TV
26372020-11-02 Tom de Vries <tdevries@suse.de>
2638
2639 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2640
d77c9224
JB
26412020-11-01 Joel Brobecker <brobecker@adacore.com>
2642
2643 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2644 System.Min_Int and System.Max_Int with smaller hardcoded
2645 constants.
2646
0e5b0dd0
SM
26472020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2648
2649 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2650 * configure: Re-generate.
2651
136821d9
SM
26522020-10-30 Simon Marchi <simon.marchi@efficios.com>
2653
2654 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2655 expected output.
2656
b78b3a29
TBA
26572020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2658
2659 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2660 behavior.
2661 * gdb.base/paginate-bg-execution.exp: Ditto.
2662 * gdb.base/paginate-inferior-exit.exp: Ditto.
2663 * gdb.base/double-prompt-target-event-error.c: Remove.
2664 * gdb.base/double-prompt-target-event-error.exp: Remove.
2665
cfaa8f76
TBA
26662020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2667
2668 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2669 inferiors' and 'detach inferiors' do not change the current
2670 inferior.
2671
0ad0e70c
TV
26722020-10-29 Tom de Vries <tdevries@suse.de>
2673
2674 * gdb.threads/tls.exp: Fix DUPLICATEs.
2675
99cc6b2a
TV
26762020-10-28 Tom de Vries <tdevries@suse.de>
2677
2678 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2679
efe9b873
TV
26802020-10-28 Tom de Vries <tdevries@suse.de>
2681
2682 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2683 * gdb.base/reread.exp: Same.
2684
6b68fd45
TV
26852020-10-28 Tom de Vries <tdevries@suse.de>
2686
2687 * lib/gdb.exp (readnow): Handle arg.
2688 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2689
32a5f98a
TV
26902020-10-28 Tom de Vries <tdevries@suse.de>
2691
2692 * gdb.base/relocate.exp: Update regexp for -readnow.
2693
f93b8760
TV
26942020-10-28 Tom de Vries <tdevries@suse.de>
2695
2696 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2697 -readnow.
2698
1b00ef06
TV
26992020-10-28 Tom de Vries <tdevries@suse.de>
2700
2701 PR symtab/26772
2702 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2703 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2704
364bb903
TV
27052020-10-28 Tom de Vries <tdevries@suse.de>
2706
2707 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2708 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2709 complaint during file command for -readnow.
2710
445a033f
TV
27112020-10-28 Tom de Vries <tdevries@suse.de>
2712
2713 * gdb.cp/nsalias.exp: Fix typo in test name.
2714
fdd67a42
TV
27152020-10-28 Tom de Vries <tdevries@suse.de>
2716
2717 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2718
706baf4c
TV
27192020-10-28 Tom de Vries <tdevries@suse.de>
2720
2721 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2722 -readnow.
2723
b448cca5
TV
27242020-10-27 Tom de Vries <tdevries@suse.de>
2725
2726 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2727
5868da03
TV
27282020-10-27 Tom de Vries <tdevries@suse.de>
2729
2730 * gdb.base/maint.exp: Update for -readnow.
2731
06db6ec3
TV
27322020-10-27 Tom de Vries <tdevries@suse.de>
2733
2734 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2735 -readnow.
2736
934a1764
GB
27372020-10-14 Gary Benson <gbenson@redhat.com>
2738
2739 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2740 "_vptr$Base" as correct, in addition to "_vptr.Base".
2741 (test_mixed): Likewise.
2742
0bf21fbd
GB
27432020-10-27 Gary Benson <gbenson@redhat.com>
2744
2745 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2746 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2747
b1d4d8d1
TBA
27482020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2749
2750 * gdb.base/condbreak.exp: Update the completion tests to
2751 consider the '-force' flag.
2752
bd24c5d6
TV
27532020-10-27 Tom de Vries <tdevries@suse.de>
2754
2755 * gdb.base/list-ambiguous-readnow.exp: New file.
2756
733d554a
TBA
27572020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2758
2759 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2760 the condition.
2761 * gdb.linespec/cpcompletion.exp: Update to consider the
2762 '-force-condition' keyword.
2763 * gdb.linespec/explicit.exp: Ditto.
2764 * lib/completion-support.exp: Ditto.
2765
b5fa468f
TBA
27662020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2767
2768 * gdb.base/condbreak-multi-context.cc: New file.
2769 * gdb.base/condbreak-multi-context.exp: New file.
2770
b3247276
TT
27712020-10-26 Tom Tromey <tom@tromey.com>
2772
2773 * lib/mi-support.exp (default_mi_gdb_start): Call
2774 gdb_stdin_log_init.
2775 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2776 subtract one from gdb_instances.
2777 (gdb_stdin_log_write): Flush in_file.
2778
1c47ec3e
TV
27792020-10-26 Tom de Vries <tdevries@suse.de>
2780
2781 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2782
6390859c
TT
27832020-10-26 Tom Tromey <tromey@adacore.com>
2784
2785 * gdb.ada/unsigned_range/foo.adb: New file.
2786 * gdb.ada/unsigned_range/pack.adb: New file.
2787 * gdb.ada/unsigned_range/pack.ads: New file.
2788 * gdb.ada/unsigned_range.exp: New file.
2789
55c3ad88
TV
27902020-10-26 Tom de Vries <tdevries@suse.de>
2791
2792 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2793
1612c4bb
TV
27942020-10-26 Tom de Vries <tdevries@suse.de>
2795
2796 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2797 for CU.
2798 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2799
7d72802b
TV
28002020-10-23 Tom de Vries <tdevries@suse.de>
2801
2802 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2803 DW_FORM_string.
2804 (Dwarf::_default_form): New proc.
2805 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2806 guessed.
2807
9476b583
TV
28082020-10-23 Tom de Vries <tdevries@suse.de>
2809
2810 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2811 * gdb.dwarf2/atomic-type.exp: Same.
2812 * gdb.dwarf2/bad-regnum.exp: Same.
2813 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2814 * gdb.dwarf2/dw2-align.exp: Same.
2815 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2816 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2817 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2818 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2819 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2820 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2821 * gdb.dwarf2/enum-type.exp: Same.
2822 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2823 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2824 * gdb.dwarf2/main-subprogram.exp: Same.
2825 * gdb.dwarf2/missing-type-name.exp: Same.
2826 * gdb.dwarf2/nonvar-access.exp: Same.
2827 * gdb.dwarf2/typedef-void-finish.exp: Same.
2828 * gdb.dwarf2/var-access.exp: Same.
2829 * gdb.dwarf2/void-type.exp: Same.
2830
4a636814
SM
28312020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2832
2833 PR gdb/26693
2834 * gdb.dwarf2/template-specification-full-name.exp: New test.
2835
557fc257
LM
28362020-10-22 Luis Machado <luis.machado@linaro.org>
2837
2838 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2839 expected an offset from the function.
2840 * gdb.base/msym-bp.exp (test): Likewise.
2841
6b4c676c
AB
28422020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2843
2844 * gdb.fortran/array-slices.exp: Add a new test.
2845
98cec4f6
GB
28462020-10-21 Gary Benson <gbenson@redhat.com>
2847
2848 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2849 fullname test with Clang. Also expand comments generally.
2850
ae86f581
TV
28512020-10-20 Tom de Vries <tdevries@suse.de>
2852
2853 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2854
8c161360
TV
28552020-10-20 Tom de Vries <tdevries@suse.de>
2856
2857 * gdb.dwarf2/arr-stride.c: Remove.
2858 * gdb.dwarf2/arr-stride.exp: Use main.c.
2859 * gdb.dwarf2/arr-subrange.c: Remove.
2860 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2861 * gdb.dwarf2/bad-regnum.c: Remove.
2862 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2863 * gdb.dwarf2/corrupt.c: Remove.
2864 * gdb.dwarf2/corrupt.exp: Use main.c.
2865 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2866 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2867 * gdb.dwarf2/dw2-icycle.c: Remove.
2868 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2869 * gdb.dwarf2/formdata16.c: Remove.
2870 * gdb.dwarf2/formdata16.exp: Use main.c.
2871 * gdb.dwarf2/implptrconst.c: Remove.
2872 * gdb.dwarf2/implptrconst.exp: Use main.c.
2873 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2874 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2875 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2876 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2877
9c2412ec
TV
28782020-10-20 Tom de Vries <tdevries@suse.de>
2879
2880 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2881 file.
2882 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2883
0cd2ad78
TV
28842020-10-20 Tom de Vries <tdevries@suse.de>
2885
2886 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2887 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2888 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2889 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2890 * gdb.dwarf2/dw2-ranges.exp: Same.
2891 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2892 * gdb.dwarf2/var-access.exp: Same.
2893
22cc388e
TT
28942020-10-19 Tom Tromey <tromey@adacore.com>
2895
2896 PR tui/26719
2897 * gdb.tui/list.exp: Check source window contents after focus
2898 change.
2899
520596f2
TV
29002020-10-17 Tom de Vries <tdevries@suse.de>
2901
2902 PR symtab/26317
2903 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2904
d1c8a76d
TV
29052020-10-17 Tom de Vries <tdevries@suse.de>
2906
2907 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2908 as suffix.
2909 * gdb.dwarf2/atomic.c: Rename to ...
2910 * gdb.dwarf2/atomic-type.c: ... this.
2911 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2912 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2913 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2914 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2915 * gdb.dwarf2/fission-mix2.c: Rename to ...
2916 * gdb.dwarf2/fission-mix-2.c: ... this.
2917 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2918 standard_testfile.
2919 * gdb.dwarf2/ada-valprint-error.exp: Same.
2920 * gdb.dwarf2/arr-stride.exp: Same.
2921 * gdb.dwarf2/arr-subrange.exp: Same.
2922 * gdb.dwarf2/atomic-type.exp: Same.
2923 * gdb.dwarf2/bad-regnum.exp: Same.
2924 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2925 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2926 * gdb.dwarf2/clang-debug-names.exp: Same.
2927 * gdb.dwarf2/comp-unit-lang.exp: Same.
2928 * gdb.dwarf2/corrupt.exp: Same.
2929 * gdb.dwarf2/count.exp: Same.
2930 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2931 * gdb.dwarf2/data-loc.exp: Same.
2932 * gdb.dwarf2/dw2-align.exp: Same.
2933 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2934 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2935 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2936 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2937 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2938 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2939 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2940 * gdb.dwarf2/dw2-inline-param.exp: Same.
2941 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2942 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2943 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2944 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2945 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2946 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2947 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2948 * gdb.dwarf2/dw2-param-error.exp: Same.
2949 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2950 * gdb.dwarf2/dw2-ranges.exp: Same.
2951 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2952 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2953 * gdb.dwarf2/dw4-sig-types.exp: Same.
2954 * gdb.dwarf2/dynarr-ptr.exp: Same.
2955 * gdb.dwarf2/enum-type.exp: Same.
2956 * gdb.dwarf2/fission-mix.exp: Same.
2957 * gdb.dwarf2/formdata16.exp: Same.
2958 * gdb.dwarf2/implptrconst.exp: Same.
2959 * gdb.dwarf2/implptrpiece.exp: Same.
2960 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2961 * gdb.dwarf2/main-subprogram.exp: Same.
2962 * gdb.dwarf2/method-ptr.exp: Same.
2963 * gdb.dwarf2/missing-sig-type.exp: Same.
2964 * gdb.dwarf2/nonvar-access.exp: Same.
2965 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2966 * gdb.dwarf2/shortpiece.exp: Same.
2967 * gdb.dwarf2/staticvirtual.exp: Same.
2968 * gdb.dwarf2/subrange.exp: Same.
2969 * gdb.dwarf2/symtab-producer.exp: Same.
2970 * gdb.dwarf2/typedef-void-finish.exp: Same.
2971 * gdb.dwarf2/var-access.exp: Same.
2972 * gdb.dwarf2/variant.exp: Same.
2973 * gdb.dwarf2/void-type.exp: Same.
2974 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2975 dw2-ranges-main.c.
2976 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2977
472d09c1
TV
29782020-10-16 Tom de Vries <tdevries@suse.de>
2979
2980 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2981
afe75f6d
TV
29822020-10-16 Tom de Vries <tdevries@suse.de>
2983
2984 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2985
8c8bd0ba
TV
29862020-10-14 Tom de Vries <tdevries@suse.de>
2987
2988 PR testsuite/26732
2989 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2990 scenario 2.
2991 * gdb.ada/mi_catch_ex_hand.exp: Same.
2992
b75d55d4
PA
29932020-10-13 Pedro Alves <pedro@palves.net>
2994
2995 * lib/mi-support.exp (mi_clean_restart): New.
2996 (mi_run_to_main): Delete.
2997 All callers adjust to use mi_clean_restart / mi_runto_main.
2998
e777225b
PA
29992020-10-13 Pedro Alves <pedro@palves.net>
3000
3001 * config/monitor.exp: Use "list -q".
3002 * gdb.arch/gdb1558.exp: Use "break -q".
3003 * gdb.arch/i386-permbkpt.exp: Use "break -q".
3004 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
3005 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
3006 * gdb.base/commands.exp: Use "break -q".
3007 * gdb.base/condbreak.exp: Use "break -q".
3008 * gdb.base/ctf-ptype.exp: Use "list -q".
3009 * gdb.base/define.exp: Use "break -q".
3010 * gdb.base/del.exp: Use "break -q".
3011 * gdb.base/fullname.exp: Use "break -q".
3012 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
3013 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
3014 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
3015 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
3016 "hbreak -q".
3017 * gdb.base/included.exp: Use "list -q".
3018 * gdb.base/label.exp: Use "break -q".
3019 * gdb.base/lineinc.exp: Use "break -q".
3020 * gdb.base/list.exp: Use "list -q".
3021 * gdb.base/macscp.exp: Use "list -q".
3022 * gdb.base/pending.exp: Use "break -q".
3023 * gdb.base/prologue-include.exp: Use "break -q".
3024 * gdb.base/ptype.exp: Use "list -q".
3025 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
3026 * gdb.base/server-del-break.exp: Use "break -q".
3027 * gdb.base/style.exp: Use "break -q".
3028 * gdb.base/symbol-without-target_section.exp: Use "list -q".
3029 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
3030 * gdb.cp/exception.exp: Use "tbreak -q".
3031 * gdb.dwarf2/dw2-error.exp: Use "break -q".
3032 * gdb.dwarf2/fission-mix.exp: Use "break -q".
3033 * gdb.dwarf2/fission-reread.exp: Use "break -q".
3034 * gdb.dwarf2/pr13961.exp: Use "break -q".
3035 * gdb.linespec/explicit.exp: Use "list -q".
3036 * gdb.linespec/linespec.exp: Use "break -q".
3037 * gdb.mi/mi-simplerun.exp: Use "--qualified".
3038 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
3039 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
3040 * gdb.server/connect-without-multi-process.exp: Use "break -q".
3041 * gdb.trace/change-loc.exp: Use "break -q".
3042 * gdb.trace/pending.exp: Use "break -q".
3043 * gdb.tui/basic.exp: Use "list -q".
3044 * gdb.tui/list-before.exp: Use "list -q".
3045 * gdb.tui/list.exp: Use "list -q".
3046 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
3047
8abd8ee8
PA
30482020-10-13 Pedro Alves <pedro@palves.net>
3049
3050 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
3051 saved breakpoints file.
3052 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
3053 inspecting breakpoint list.
3054 * lib/gdb.exp (runto_main): Add "qualified" to options.
3055 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
3056 and handle it.
3057 (mi_runto_main): Pass 1 as qualified argument.
3058
f71e6719
PA
30592020-10-13 Pedro Alves <pedro@palves.net>
3060
3061 * lib/mi-support.exp (mi_runto_main): New proc.
3062 (mi_run_to_main): Use it.
3063 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
3064 * gdb.mi/mi-var-cmd.exp: Likewise.
3065 * gdb.mi/mi-var-invalidate.exp: Likewise.
3066 * mi-var-list-children-invalid-grandchild.exp: Likewise.
3067 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3068 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3069 * gdb.mi/user-selected-context-sync.exp: Likewise.
3070 * gdb.opt/inline-cmds.exp: Likewise.
3071 * gdb.python/py-framefilter-mi.exp: Likewise.
3072 * gdb.python/py-mi.exp: Likewise.
3073
50441f0f
PA
30742020-10-13 Pedro Alves <pedro@palves.net>
3075
3076 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
3077 "runto main".
3078 * gdb.ada/small_reg_param.exp: Likewise.
3079 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3080 * gdb.base/annota1.exp: Likewise.
3081 * gdb.base/anon.exp: Likewise.
3082 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
3083 * gdb.base/dprintf-non-stop.exp: Likewise.
3084 * gdb.base/dprintf.exp: Likewise.
3085 * gdb.base/gdb11530.exp: Likewise.
3086 * gdb.base/gdb11531.exp: Likewise.
3087 * gdb.base/gnu_vector.exp: Likewise.
3088 * gdb.base/interrupt-noterm.exp: Likewise.
3089 * gdb.base/memattr.exp: Likewise.
3090 * gdb.base/step-over-syscall.exp: Likewise.
3091 * gdb.base/watch-cond-infcall.exp: Likewise.
3092 * gdb.base/watch-read.exp: Likewise.
3093 * gdb.base/watch-vfork.exp: Likewise.
3094 * gdb.base/watch_thread_num.exp: Likewise.
3095 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
3096 * gdb.guile/scm-frame-inline.exp: Likewise.
3097 * gdb.linespec/explicit.exp: Likewise.
3098 * gdb.opt/inline-break.exp: Likewise.
3099 * gdb.python/py-frame-inline.exp: Likewise.
3100 * gdb.reverse/break-precsave.exp: Likewise.
3101 * gdb.reverse/break-reverse.exp: Likewise.
3102 * gdb.reverse/consecutive-precsave.exp: Likewise.
3103 * gdb.reverse/consecutive-reverse.exp: Likewise.
3104 * gdb.reverse/finish-precsave.exp: Likewise.
3105 * gdb.reverse/finish-reverse.exp: Likewise.
3106 * gdb.reverse/fstatat-reverse.exp: Likewise.
3107 * gdb.reverse/getresuid-reverse.exp: Likewise.
3108 * gdb.reverse/i386-precsave.exp: Likewise.
3109 * gdb.reverse/i386-reverse.exp: Likewise.
3110 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3111 * gdb.reverse/i387-env-reverse.exp: Likewise.
3112 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3113 * gdb.reverse/insn-reverse.exp: Likewise.
3114 * gdb.reverse/machinestate-precsave.exp: Likewise.
3115 * gdb.reverse/machinestate.exp: Likewise.
3116 * gdb.reverse/pipe-reverse.exp: Likewise.
3117 * gdb.reverse/readv-reverse.exp: Likewise.
3118 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3119 * gdb.reverse/rerun-prec.exp: Likewise.
3120 * gdb.reverse/s390-mvcle.exp: Likewise.
3121 * gdb.reverse/solib-precsave.exp: Likewise.
3122 * gdb.reverse/solib-reverse.exp: Likewise.
3123 * gdb.reverse/step-precsave.exp: Likewise.
3124 * gdb.reverse/step-reverse.exp: Likewise.
3125 * gdb.reverse/time-reverse.exp: Likewise.
3126 * gdb.reverse/until-precsave.exp: Likewise.
3127 * gdb.reverse/until-reverse.exp: Likewise.
3128 * gdb.reverse/waitpid-reverse.exp: Likewise.
3129 * gdb.reverse/watch-precsave.exp: Likewise.
3130 * gdb.reverse/watch-reverse.exp: Likewise.
3131 * gdb.threads/kill.exp: Likewise.
3132 * gdb.threads/tid-reuse.exp: Likewise.
3133
d3a07122
SM
31342020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
3135
3136 PR gdb/26642
3137 * gdb.base/maint-target-async-off.c: New test.
3138 * gdb.base/maint-target-async-off.exp: New test.
3139
c65c6c42
AM
31402020-10-13 Alan Modra <amodra@gmail.com>
3141
3142 * gdb.arch/powerpc-altivec.s,
3143 * gdb.arch/powerpc-power7.s,
3144 * gdb.arch/powerpc-power8.s,
3145 * gdb.arch/powerpc-power9.s,
3146 * gdb.arch/powerpc-vsx.s,
3147 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
3148 * gdb.arch/powerpc-altivec.exp,
3149 * gdb.arch/powerpc-power7.exp,
3150 * gdb.arch/powerpc-power8.exp,
3151 * gdb.arch/powerpc-power9.exp,
3152 * gdb.arch/powerpc-vsx.exp,
3153 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
3154 disassembly of mfvsrd/mtvsrd.
3155
f4a0f710
AM
31562020-10-13 Alan Modra <amodra@gmail.com>
3157
3158 * gdb.arch/arm-disassembler-options.exp: Adjust expected
3159 "target architecture" output.
3160 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3161 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3162 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
3163 * gdb.arch/s390-disassembler-options.exp: Likewise.
3164
87a37e5e
PA
31652020-10-12 Pedro Alves <pedro@palves.net>
3166
3167 PR exp/26602
3168 PR c++/26550
3169 * gdb.cp/ambiguous.cc (marker1): Delete.
3170 (main): Initialize all the fields of the locals. Replace marker1
3171 call with a "set breakpoint here" marker.
3172 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
3173 instead of running to marker1. Add tests printing all the
3174 variables and all the fields of the variables.
3175 (test_ambiguous): New proc, expecting the new GDB output when a
3176 field access is ambiguous. Change all "warning: X ambiguous"
3177 tests to use it.
3178
71e1b6b0
GB
31792020-10-12 Gary Benson <gbenson@redhat.com>
3180
3181 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
3182 * gdb.base/msym-bp-2.c (foo): Likewise.
3183 * gdb.base/msym-lang.c (foo): Likewise.
3184 * gdb.base/msym-lang-main.c (foo): Likewise.
3185 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
3186 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
3187 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
3188 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
3189 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
3190 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
3191 * gdb.python/py-objfile.c (static_var): Likewise.
3192 * gdb.python/py-symbol.c (rr): Likewise.
3193 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
3194 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
3195
9370fd51
AB
31962020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
3197
3198 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
3199 output of backtrace.
3200
7c184d33
TT
32012020-10-09 Tom Tromey <tromey@adacore.com>
3202
3203 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
3204 (Rec): Add field. Fix range.
3205 * gdb.ada/scalar_storage.exp: Update.
3206
3d87245c
HD
32072020-10-09 Hannes Domani <ssbssa@yahoo.de>
3208
3209 PR exp/26714
3210 * gdb.base/printcmds.exp: Add tests for void results.
3211
f5c4b229
JV
32122020-10-09 Jan Vrany <jan.vrany@labware.com>
3213
3214 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
3215 is emmited for both 'set directories' and 'directory' commands.
3216
b2701685
TT
32172020-10-08 Tom Tromey <tom@tromey.com>
3218
3219 * gdb.base/style.exp: Check that "main"'s name is styled.
3220
e86efb33
TT
32212020-10-07 Tom Tromey <tromey@adacore.com>
3222
3223 * gdb.base/find.exp: Rename some tests.
3224
30897591
GB
32252020-10-06 Gary Benson <gbenson@redhat.com>
3226
3227 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
3228 * gdb.base/list1.c (unused): Likewise.
3229
ced4a4c1
GB
32302020-10-06 Gary Benson <gbenson@redhat.com>
3231
3232 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
3233 __attribute__ ((used)).
3234 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
3235
ed3bdac4
AB
32362020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
3237
3238 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
3239 make use of regions throughout.
3240 * gdb.base/overlays.exp: Enclose string with variableds in "..",
3241 not {...}.
3242 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
3243
cd096ec8
HD
32442020-10-05 Hannes Domani <ssbssa@yahoo.de>
3245
3246 * gdb.base/call-sc.c: Fix return struct on stack test case.
3247 * gdb.base/call-sc.exp: Likewise.
3248
3ee6f75d
GB
32492020-10-02 Gary Benson <gbenson@redhat.com>
3250
3251 * README: Fix "paralell".
3252
f65825ec
GB
32532020-09-30 Gary Benson <gbenson@redhat.com>
3254
3255 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
3256 Convert directive to lowercase.
3257 (.Labbrev1_begin): Add missing label.
3258 (abbrev code 0x1): Remove DW_AT_stmt_list.
3259 (.Ldie_b): Likewise.
3260
5f278258
TT
32612020-09-27 Tom Tromey <tom@tromey.com>
3262
3263 * gdb.tui/new-layout.exp: Use with_test_prefix.
3264
8f9929bb
GR
32652020-09-26 Gareth Rees <grees@undo.io> (tiny change)
3266
3267 PR python/26586
3268 * gdb.python/python.exp: add test cases for the from_tty
3269 argument to gdb.execute.
3270
c20c017b
GB
32712020-09-25 Gary Benson <gbenson@redhat.com>
3272
3273 * gdb.base/infcall-nested-structs.exp.tcl: Add
3274 additional_flags=-Wno-tautological-compare for C++
3275 tests when compiling using Clang.
3276
68d654af
GB
32772020-09-25 Gary Benson <gbenson@redhat.com>
3278
3279 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
3280 for .c files.
3281
b551a89f
TT
32822020-09-24 Tom Tromey <tromey@adacore.com>
3283
3284 PR tui/26638:
3285 * gdb.tui/list.exp: Check output of "focus next".
3286
20a5fcbd
TT
32872020-09-23 Tom Tromey <tom@tromey.com>
3288
3289 * gdb.dwarf2/intbits.exp: New file.
3290 * gdb.dwarf2/intbits.c: New file.
3291
b167e53f
PA
32922020-09-20 Pedro Alves <pedro@palves.net>
3293
3294 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
3295 spawn_id before calling remote_close. Close secondary MI channel.
3296
dbc49e9f
PA
32972020-09-20 Pedro Alves <pedro@palves.net>
3298
3299 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
3300 fails.
3301
c8d5abea
AB
33022020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
3303
3304 * gdb.fortran/array-slices.exp: Update expected results.
3305 * gdb.fortran/class-allocatable-array.exp: Likewise.
3306 * gdb.fortran/multi-dim.exp: Likewise.
3307 * gdb.fortran/vla-type.exp: Likewise.
3308 * gdb.mi/mi-vla-fortran.exp: Likewise.
3309
14f9473c
VC
33102020-09-18 Victor Collod <vcollod@nvidia.com>
3311
3312 PR gdb/26635
3313 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
3314 compatible with i386, and move it to...
3315 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
3316 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
3317 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
3318
e8ef12b9
PA
33192020-09-18 Pedro Alves <pedro@palves.net>
3320
3321 PR gdb/26631
3322 * gdb.multi/multi-target-thread-find.exp: New file.
3323
e11daf7a
PA
33242020-09-18 Pedro Alves <pedro@palves.net>
3325
3326 * gdb.multi/multi-target-continue.exp: New file, factored out from
3327 multi-target.exp.
3328 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
3329 multi-target.exp.
3330 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
3331 multi-target.exp.
3332 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
3333 multi-target.exp.
3334 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
3335 multi-target.exp.
3336 * gdb.multi/multi-target.exp.tcl: New file, factored out from
3337 multi-target.exp.
3338 * gdb.multi/multi-target.exp: Delete.
3339
d0edc2b8
AB
33402020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3341
3342 * gdb.fortran/array-slices.exp: Add missing message data.
3343
7474326c
PA
33442020-09-17 Pedro Alves <pedro@palves.net>
3345
3346 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
3347
dd23068d
PA
33482020-09-17 Pedro Alves <pedro@palves.net>
3349
3350 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
3351 full prototype.
3352
0640a543
PA
33532020-09-17 Pedro Alves <pedro@palves.net>
3354
3355 * gdb.python/py-as-string.c: Add cast.
3356
ef0cdbc1
PA
33572020-09-17 Pedro Alves <pedro@palves.net>
3358
3359 * gdb.base/sizeof.c (fill): Add cast.
3360
3a5eeb8b
PA
33612020-09-17 Pedro Alves <pedro@palves.net>
3362
3363 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
3364
a8129512
PA
33652020-09-17 Pedro Alves <pedro@palves.net>
3366
3367 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
3368 linkage name.
3369 * gdb.base/prologue.exp: Use print /d.
3370 * gdb.base/symbol-alias.exp: Handle C++ output.
3371 * gdb.base/symbol-alias2.c: Handle C++ output.
3372 [__cplusplus] (func): Explicitly specify linkage name.
3373
a83cdcb6
PA
33742020-09-17 Pedro Alves <pedro@palves.net>
3375
3376 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
3377 (struct my_key_t): ... this. Adjust all references.
3378 (struct value_t): Rename to ...
3379 (struct my_value_t): ... this. Adjust all references.
3380 (create_map, add_map_element, create_map_map)
3381 (add_map_map_element): Add casts.
3382
d4bcee5c
PA
33832020-09-17 Pedro Alves <pedro@palves.net>
3384
3385 * gdb.python/py-framefilter-mi.c (funca): Add casts.
3386 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
3387
81f90489
PA
33882020-09-17 Pedro Alves <pedro@palves.net>
3389
3390 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
3391
0a229804
PA
33922020-09-17 Pedro Alves <pedro@palves.net>
3393
3394 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
3395 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
3396 (charfoo, intfoo): Define full prototype.
3397 * gdb.base/ptype1.c (charfoo): Define full prototype.
3398 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
3399 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
3400
c3e5138d
PA
34012020-09-17 Pedro Alves <pedro@palves.net>
3402
3403 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
3404 Don't define.
3405 (utf_32_string): Compile for both C and C++.
3406 * gdb.base/charset.exp: Use "print /d".
3407
151fdbad
PA
34082020-09-17 Pedro Alves <pedro@palves.net>
3409
3410 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
3411 (nullptr): Rename to ...
3412 (null_ptr): ... this.
3413 * gdb.base/watchpoint.exp: Adjust to rename.
3414
18a25b64
PA
34152020-09-17 Pedro Alves <pedro@palves.net>
3416
3417 * gdb.base/printcmds.c (three, flag_enum_without_zero)
3418 (three_not_flag): Add casts.
3419
11fac337
PA
34202020-09-17 Pedro Alves <pedro@palves.net>
3421
3422 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
3423 char array.
3424 (main): Add references to Barrier, TestStrings, TestStringsH and
3425 TestStringsW.
3426 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
3427 and expect a full prototype in C++.
3428
52626c58
PA
34292020-09-17 Pedro Alves <pedro@palves.net>
3430
3431 * gdb.base/nested-addr.c (main): Add cast.
3432 * gdb.base/nested-addr.exp: Use "print /d".
3433
52bb0902
PA
34342020-09-17 Pedro Alves <pedro@palves.net>
3435
3436 * gdb.base/break.exp (func): New. Use it throughout when
3437 expecting a function name.
3438
73e18ac9
PA
34392020-09-17 Pedro Alves <pedro@palves.net>
3440
3441 * gdb.base/display.exp: Issue "set print asm-demangle on".
3442
c8b18808
PA
34432020-09-17 Pedro Alves <pedro@palves.net>
3444
3445 * gdb.base/find.c: Include <string.h>.
3446 (init_bufs): Add cast.
3447 * gdb.base/find.exp: Issue "set print asm-demangle on".
3448
fe830662
TT
34492020-09-16 Tom Tromey <tromey@adacore.com>
3450
3451 PR gdb/26598:
3452 * gdb.base/skipcxx.exp: New file.
3453 * gdb.base/skipcxx.cc: New file.
3454
945ff6e2
TV
34552020-09-16 Tom de Vries <tdevries@suse.de>
3456
3457 PR testsuite/26617
3458 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
3459 WITH_DEBUG_SECTIONS is defined.
3460 (xstr, str): New macro.
3461 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
3462 to get start and size of _Dmain.
3463 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
3464 using additional_flags.
3465
da1df1db
TBA
34662020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3467
3468 * gdb.base/bp-cmds-sourced-script.c: New file.
3469 * gdb.base/bp-cmds-sourced-script.exp: New test.
3470 * gdb.base/bp-cmds-sourced-script.gdb: New file.
3471
337882d4
TV
34722020-09-16 Tom de Vries <tdevries@suse.de>
3473
3474 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
3475 get the gdb prompt after issuing "monitor exit".
3476
7361f908
TV
34772020-09-16 Tom de Vries <tdevries@suse.de>
3478
3479 PR testsuite/26624
3480 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
3481
4d91ddd3
TV
34822020-09-16 Tom de Vries <tdevries@suse.de>
3483
3484 PR testsuite/26618
3485 * gdb.tui/new-layout.exp: Escape unbalanced braces.
3486
08cc37dd
TT
34872020-09-15 Tom Tromey <tromey@adacore.com>
3488
3489 PR rust/26197:
3490 * lib/rust-support.exp (rust_llvm_version): New proc.
3491 * gdb.rust/simple.exp: Check rust_llvm_version.
3492
ee6372f2
TV
34932020-09-14 Tom de Vries <tdevries@suse.de>
3494
3495 * gdb.rust/traits.exp: Fix PATH warning.
3496
dc3a371e
PA
34972020-09-13 Pedro Alves <pedro@palves.net>
3498
3499 * gdb.base/catch-follow-exec.c (main): Add explicit return
3500 statement.
3501 * gdb.base/catch-signal.c (main): Likewise.
3502 * gdb.base/condbreak-call-false.c (main): Likewise.
3503 * gdb.base/consecutive.c (main): Add explicit return
3504 statement and return type.
3505 * gdb.base/cursal.c (main): Add explicit return statement.
3506 * gdb.base/cvexpr.c (main): Likewise.
3507 * gdb.base/display.c (main): Add explicit return statement and
3508 return type.
3509 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3510 * gdb.base/endianity.c (main): Likewise.
3511 * gdb.base/execd-prog.c (main): Likewise.
3512 * gdb.base/gdb1090.c (main): Likewise.
3513 * gdb.base/info_qt.c (main): Likewise.
3514 * gdb.base/lineinc.c (main): Likewise.
3515 * gdb.base/load-command.c (main): Likewise.
3516 * gdb.base/macscp1.c (main): Likewise.
3517 * gdb.base/pr10179-a.c (main): Likewise.
3518 * gdb.base/quit-live.c (main): Likewise.
3519 * gdb.base/scope0.c (main): Likewise.
3520 * gdb.base/settings.c (main): Likewise.
3521 * gdb.base/stack-checking.c (main): Return int.
3522 * gdb.base/varargs.c (main): Add explicit return statement.
3523 * gdb.cp/ambiguous.cc (main): Likewise.
3524 * gdb.cp/anon-struct.cc (main): Likewise.
3525 * gdb.cp/anon-union.cc (main): Likewise.
3526 * gdb.cp/bool.cc (main): Likewise.
3527 * gdb.cp/bs15503.cc (main): Likewise.
3528 * gdb.cp/cplusfuncs.cc (main): Likewise.
3529 * gdb.cp/cttiadd.cc (main): Likewise.
3530 * gdb.cp/extern-c.cc (main): Likewise.
3531 * gdb.cp/filename.cc (main): Likewise.
3532 * gdb.cp/formatted-ref.cc (main): Likewise.
3533 * gdb.cp/mb-ctor.cc (main): Likewise.
3534 * gdb.cp/member-ptr.cc (main): Likewise.
3535 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3536 * gdb.cp/overload-const.cc (main): Likewise.
3537 * gdb.cp/paren-type.cc (main): Likewise.
3538 * gdb.cp/parse-lang.cc (main): Likewise.
3539 * gdb.cp/pr-1023.cc (main): Likewise.
3540 * gdb.cp/psmang1.cc (main): Likewise.
3541 * gdb.cp/readnow-language.cc (main): Likewise.
3542 * gdb.cp/ref-params.cc (main): Likewise.
3543 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3544 * gdb.cp/virtbase2.cc (main): Likewise.
3545 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3546 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3547 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3548 * gdb.mi/mi-console.c (main): Likewise.
3549 * gdb.mi/mi-read-memory.c (main): Likewise.
3550 * gdb.modula2/multidim.c (main): Likewise.
3551 * gdb.opt/inline-small-func.c (main): Likewise.
3552 * gdb.python/py-rbreak.c (main): Likewise.
3553 * gdb.stabs/exclfwd1.c (main): Likewise.
3554 * gdb.trace/qtro.c (main): Likewise.
3555
af26601c
PA
35562020-09-13 Pedro Alves <pedro@palves.net>
3557
3558 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3559 instead of getenv.
3560
2f4b83cd
PA
35612020-09-13 Pedro Alves <pedro@palves.net>
3562
3563 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3564 instead of spawning GDB with remote_spawn.
3565 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3566 gdb_spawn instead of spawning GDB with remote_spawn.
3567
c49da0e4
PA
35682020-09-13 Pedro Alves <pedro@palves.net>
3569
3570 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3571 file and add calls to first and second.
3572 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3573 add call to f.
3574
6791b117
PA
35752020-09-13 Pedro Alves <pedro@palves.net>
3576
3577 * gdb.mi/mi-break-qualified.cc: New file.
3578 * gdb.mi/mi-break-qualified.exp: New file.
3579 * lib/mi-support.exp (mi_create_breakpoint_multi)
3580 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3581 procedures.
3582 (mi_create_breakpoint_1): New, factored out from
3583 mi_create_breakpoint.
3584
3b8d4c5c
PA
35852020-09-13 Pedro Alves <pedro@palves.net>
3586
3587 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3588 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3589 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3590 (register_class): Delete.
3591 (main): Don't call register_class.
3592
d5f96005
PA
35932020-09-13 Pedro Alves <pedro@palves.net>
3594
3595 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3596 (do_tests): Remove "calling method for small class" test.
3597 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3598 (register_class): Delete.
3599 (main): Don't call register_class.
3600 * gdb.cp/call-method-register.exp: New file, based on bits removed
3601 from classes.exp.
3602 * gdb.cp/call-method-register.cc: New file, based on bits removed
3603 from classes.cc.
3604
77f2120b
PA
36052020-09-13 Pedro Alves <pedro@palves.net>
3606
3607 * gdb.base/msym-bp-2.c: New.
3608 * gdb.base/msym-bp-shl-lib.c: New file.
3609 * gdb.base/msym-bp-shl-main-2.c: New file.
3610 * gdb.base/msym-bp-shl-main.c: New file.
3611 * gdb.base/msym-bp-shl.exp: New file.
3612 * gdb.base/msym-bp.c: New file.
3613 * gdb.base/msym-bp.exp: New file.
3614
32aea73e
JB
36152020-09-13 Joel Brobecker <brobecker@adacore.com>
3616
3617 * gdb.base/default.exp: Change $_gdb_major to 11.
3618
2a67f09d
FW
36192020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3620 Felix Willgerodt <Felix.Willgerodt@intel.com>
3621
3622 * x86-avx512bf16.c: New file.
3623 * x86-avx512bf16.exp: Likewise.
3624 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3625
ad570dd7
TV
36262020-09-11 Tom de Vries <tdevries@suse.de>
3627
3628 PR exp/26602
3629 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3630
a56f7391
TBA
36312020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3632
3633 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3634
918619e5
AM
36352020-09-10 Alan Modra <amodra@gmail.com>
3636
3637 PR 26597
3638 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3639
cac1e71d
TV
36402020-09-08 Tom de Vries <tdevries@suse.de>
3641
3642 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3643 after gdb_starti_cmd.
3644
c5cd900e
AKS
36452020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3646
3647 * lib/fortran.exp (fortran_complex8): New proc.
3648 (fortran_complex16): New proc.
3649 * gdb.fortran/complex.exp: Use routines from fortran.exp
3650 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3651 * gdb.fortran/vla-ptr-info.exp: Likewise.
3652
8f5c6526
TV
36532020-09-03 Tom de Vries <tdevries@suse.de>
3654
3655 PR breakpoint/26546
3656 * gdb.base/label-without-address.exp: Runto main first.
3657
02c6f3f1
TT
36582020-09-02 Tom Tromey <tromey@adacore.com>
3659
3660 * gdb.ada/mi_var_access.exp: Test children of access variable.
3661 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3662 * gdb.ada/mi_var_array.exp: Update.
3663
efe24f05
KB
36642020-08-31 Kevin Buettner <kevinb@redhat.com>
3665
3666 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3667 on docker w/ AUFS storage driver.
3668
973695d6
KB
36692020-08-31 Kevin Buettner <kevinb@redhat.com>
3670
3671 * gdb.base/corefile2.exp (renamed binfile): New tests.
3672
f3bd50f1
SM
36732020-08-31 Simon Marchi <simon.marchi@efficios.com>
3674
3675 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3676
22b9b4b0
SL
36772020-08-31 Simon Marchi <simon.marchi@efficios.com>
3678
3679 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3680 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3681
8efaf6b3
SM
36822020-08-31 Simon Marchi <simon.marchi@efficios.com>
3683
3684 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3685 output, printing a "not saved" value from history and printing a
3686 convenience variable created from a "not saved" value.
3687
e840f2e3
TV
36882020-08-31 Tom de Vries <tdevries@suse.de>
3689
3690 * gdb.base/eh_return.exp: Use nopie.
3691
8f57f343
PA
36922020-08-28 Pedro Alves <pedro@palves.net>
3693
3694 * gdb.base/advance-until-multiple-locations.exp
3695 (advance_overload, until_overload): Adjust to match the
3696 frame/function header instead of the source line text.
3697
626d2320
TV
36982020-08-28 Tom de Vries <tdevries@suse.de>
3699
3700 * gdb.base/label-without-address.c: New test.
3701 * gdb.base/label-without-address.exp: New file.
3702
df631783
PA
37032020-08-27 Pedro Alves <pedro@palves.net>
3704
3705 PR gdb/26523
3706 PR gdb/26524
3707 * gdb.base/advance-until-multiple-locations.cc: New.
3708 * gdb.base/advance-until-multiple-locations.exp: New.
3709
48b076bb
SM
37102020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3711
3712 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3713
c2015ce4
AB
37142020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3715
3716 * gdb.arch/amd64-byte.exp: Make test names unique, use
3717 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3718 * gdb.arch/amd64-dword.exp: Likewise.
3719 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3720 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3721 unique.
3722 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3723 * gdb.arch/amd64-word.exp: Make test names unique, use
3724 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3725 * gdb.arch/i386-byte.exp: Make test names unique, use
3726 gdb_breakpoint.
3727 * gdb.arch/i386-word.exp: Likewise.
3728
995d3a19
SV
37292020-08-25 Shahab Vahedi <shahab@synopsys.com>
3730
3731 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3732
8cac2b31
SM
37332020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3734
3735 PR gdb/26532
3736 * gdb.threads/stepi-random-signal.exp: Update pattern.
3737
2bc19622
SM
37382020-08-25 Simon Marchi <simon.marchi@efficios.com>
3739
3740 PR gdb/26532
3741 * gdb.base/ui-redirect.exp: Update pattern.
3742
b04aa1fc
GB
37432020-08-25 Gary Benson <gbenson@redhat.com>
3744
3745 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3746 when compiling with clang.
8571e9c8 3747 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 3748
9f68b453
GB
37492020-08-25 Gary Benson <gbenson@redhat.com>
3750
3751 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3752 Add additional_flags=-Wno-inaccessible-base when compiling
3753 with GCC >= 10.1 or clang. Add additional_flags=-w when
3754 compiling with GCC < 10.
3755
3945d2d7
GM
37562020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3757
3758 PR m2/26372
fc5d6901
SM
3759 * gdb.modula2/multidim.c: New file.
3760 * gdb.modula2/multidim.exp: New file.
3945d2d7 3761
60122dbe
SM
37622020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3763
3764 * lib/gdb.exp (runto): Always emit fail on internal error.
3765
1eb8556f
SM
37662020-08-24 Simon Marchi <simon.marchi@efficios.com>
3767
3768 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3769 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3770 Likewise.
3771 * gdb.threads/stepi-random-signal.exp: Likewise.
3772
33bf4c5c
TBA
37732020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3774
3775 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3776 * gdb.trace/strace.exp: Ditto.
3777
c2fd7fae
AKS
37782020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3779
3780 * gdb.fortran/vla-type.exp: Skip commands not required for
3781 the Flang compiled binaries after prologue fix.
3782
326afb72
TT
37832020-08-17 Tom de Vries <tdevries@suse.de>
3784 Tom Tromey <tromey@adacore.com>
3785
3786 PR rust/26197:
3787 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3788
3ae7ab99
TT
37892020-08-17 Tom Tromey <tromey@adacore.com>
3790
3791 * gdb.ada/mi_var_access.exp: New file.
3792 * gdb.ada/mi_var_access/mi_access.adb: New file.
3793 * gdb.ada/mi_var_access/pck.adb: New file.
3794 * gdb.ada/mi_var_access/pck.ads: New file.
3795
f569c1c5
TV
37962020-08-16 Tom de Vries <tdevries@suse.de>
3797
3798 PR gdb/25350
3799 * gdb.base/eh_return.c: New test.
3800 * gdb.base/eh_return.exp: New file.
3801
3d11c30a
TV
38022020-08-15 Tom de Vries <tdevries@suse.de>
3803
3804 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3805 (mixed_func_1d_): Use fortran_charlen_t in decl.
3806
547ce8f0
TV
38072020-08-15 Tom de Vries <tdevries@suse.de>
3808
3809 PR backtrace/26390
3810 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3811 Update expected pattern.
3812
a54a7f13
PA
38132020-08-13 Pedro Alves <pedro@palves.net>
3814
3815 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3816 * gdb.fortran/library-module.exp: Likewise.
3817 * gdb.fortran/logical.exp: Likewise.
3818 * gdb.fortran/module.exp: Likewise.
3819 * gdb.fortran/print_type.exp: Likewise.
3820 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3821 * gdb.fortran/vla-datatypes.exp: Likewise.
3822 * gdb.fortran/vla-history.exp: Likewise.
3823 * gdb.fortran/vla-ptr-info.exp: Likewise.
3824 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3825 * gdb.fortran/vla-ptype.exp: Likewise.
3826 * gdb.fortran/vla-sizeof.exp: Likewise.
3827 * gdb.fortran/vla-type.exp: Likewise.
3828 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3829 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3830 * gdb.fortran/vla-value-sub.exp: Likewise.
3831 * gdb.fortran/vla-value.exp: Likewise.
3832
7a82e903
PA
38332020-08-13 Pedro Alves <pedro@palves.net>
3834
3835 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3836 * gdb.ada/access_to_packed_array.exp: Likewise.
3837 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3838 * gdb.ada/addr_arith.exp: Likewise.
3839 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3840 * gdb.ada/arr_arr.exp: Likewise.
3841 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3842 * gdb.ada/array_bounds.exp: Likewise.
3843 * gdb.ada/array_of_variable_length.exp: Likewise.
3844 * gdb.ada/array_ptr_renaming.exp: Likewise.
3845 * gdb.ada/array_subscript_addr.exp: Likewise.
3846 * gdb.ada/arraydim.exp: Likewise.
3847 * gdb.ada/arrayparam.exp: Likewise.
3848 * gdb.ada/arrayptr.exp: Likewise.
3849 * gdb.ada/assign_1.exp: Likewise.
3850 * gdb.ada/assign_arr.exp: Likewise.
3851 * gdb.ada/atomic_enum.exp: Likewise.
3852 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3853 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3854 * gdb.ada/bias.exp: Likewise.
3855 * gdb.ada/boolean_expr.exp: Likewise.
3856 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3857 * gdb.ada/bp_enum_homonym.exp: Likewise.
3858 * gdb.ada/bp_inlined_func.exp: Likewise.
3859 * gdb.ada/bp_on_var.exp: Likewise.
3860 * gdb.ada/bp_range_type.exp: Likewise.
3861 * gdb.ada/bp_reset.exp: Likewise.
3862 * gdb.ada/call_pn.exp: Likewise.
3863 * gdb.ada/catch_assert_if.exp: Likewise.
3864 * gdb.ada/catch_ex.exp: Likewise.
3865 * gdb.ada/catch_ex_std.exp: Likewise.
3866 * gdb.ada/char_enum.exp: Likewise.
3867 * gdb.ada/char_param.exp: Likewise.
3868 * gdb.ada/complete.exp: Likewise.
3869 * gdb.ada/cond_lang.exp: Likewise.
3870 * gdb.ada/convvar_comp.exp: Likewise.
3871 * gdb.ada/dgopt.exp: Likewise.
3872 * gdb.ada/disc_arr_bound.exp: Likewise.
3873 * gdb.ada/display_nested.exp: Likewise.
3874 * gdb.ada/dot_all.exp: Likewise.
3875 * gdb.ada/dyn_loc.exp: Likewise.
3876 * gdb.ada/dyn_stride.exp: Likewise.
3877 * gdb.ada/excep_handle.exp: Likewise.
3878 * gdb.ada/expr_delims.exp: Likewise.
3879 * gdb.ada/expr_with_funcall.exp: Likewise.
3880 * gdb.ada/exprs.exp: Likewise.
3881 * gdb.ada/fin_fun_out.exp: Likewise.
3882 * gdb.ada/fixed_cmp.exp: Likewise.
3883 * gdb.ada/formatted_ref.exp: Likewise.
3884 * gdb.ada/frame_arg_lang.exp: Likewise.
3885 * gdb.ada/frame_args.exp: Likewise.
3886 * gdb.ada/fullname_bp.exp: Likewise.
3887 * gdb.ada/fun_addr.exp: Likewise.
3888 * gdb.ada/fun_in_declare.exp: Likewise.
3889 * gdb.ada/fun_overload_menu.exp: Likewise.
3890 * gdb.ada/fun_renaming.exp: Likewise.
3891 * gdb.ada/funcall_char.exp: Likewise.
3892 * gdb.ada/funcall_param.exp: Likewise.
3893 * gdb.ada/funcall_ptr.exp: Likewise.
3894 * gdb.ada/funcall_ref.exp: Likewise.
3895 * gdb.ada/homonym.exp: Likewise.
3896 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3897 * gdb.ada/info_auto_lang.exp: Likewise.
3898 * gdb.ada/info_exc.exp: Likewise.
3899 * gdb.ada/info_types.exp: Likewise.
3900 * gdb.ada/int_deref.exp: Likewise.
3901 * gdb.ada/interface.exp: Likewise.
3902 * gdb.ada/iwide.exp: Likewise.
3903 * gdb.ada/lang_switch.exp: Likewise.
3904 * gdb.ada/length_cond.exp: Likewise.
3905 * gdb.ada/maint_with_ada.exp: Likewise.
3906 * gdb.ada/mi_catch_assert.exp: Likewise.
3907 * gdb.ada/mi_catch_ex.exp: Likewise.
3908 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3909 * gdb.ada/mi_dyn_arr.exp: Likewise.
3910 * gdb.ada/mi_ex_cond.exp: Likewise.
3911 * gdb.ada/mi_exc_info.exp: Likewise.
3912 * gdb.ada/mi_interface.exp: Likewise.
3913 * gdb.ada/mi_prot.exp: Likewise.
3914 * gdb.ada/mi_ref_changeable.exp: Likewise.
3915 * gdb.ada/mi_string_access.exp: Likewise.
3916 * gdb.ada/mi_task_arg.exp: Likewise.
3917 * gdb.ada/mi_task_info.exp: Likewise.
3918 * gdb.ada/mi_var_array.exp: Likewise.
3919 * gdb.ada/mi_var_union.exp: Likewise.
3920 * gdb.ada/mi_variant.exp: Likewise.
3921 * gdb.ada/minsyms.exp: Likewise.
3922 * gdb.ada/mod_from_name.exp: Likewise.
3923 * gdb.ada/nested.exp: Likewise.
3924 * gdb.ada/null_array.exp: Likewise.
3925 * gdb.ada/optim_drec.exp: Likewise.
3926 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3927 * gdb.ada/packed_array_assign.exp: Likewise.
3928 * gdb.ada/packed_tagged.exp: Likewise.
3929 * gdb.ada/pp-rec-component.exp: Likewise.
3930 * gdb.ada/print_chars.exp: Likewise.
3931 * gdb.ada/print_pc.exp: Likewise.
3932 * gdb.ada/ptr_typedef.exp: Likewise.
3933 * gdb.ada/ptype_arith_binop.exp: Likewise.
3934 * gdb.ada/ptype_array.exp: Likewise.
3935 * gdb.ada/ptype_field.exp: Likewise.
3936 * gdb.ada/ptype_tagged_param.exp: Likewise.
3937 * gdb.ada/ptype_union.exp: Likewise.
3938 * gdb.ada/py_range.exp: Likewise.
3939 * gdb.ada/py_taft.exp: Likewise.
3940 * gdb.ada/rdv_wait.exp: Likewise.
3941 * gdb.ada/rec_comp.exp: Likewise.
3942 * gdb.ada/rec_return.exp: Likewise.
3943 * gdb.ada/ref_param.exp: Likewise.
3944 * gdb.ada/ref_tick_size.exp: Likewise.
3945 * gdb.ada/rename_subscript_param.exp: Likewise.
3946 * gdb.ada/repeat_dyn.exp: Likewise.
3947 * gdb.ada/same_component_name.exp: Likewise.
3948 * gdb.ada/same_enum.exp: Likewise.
3949 * gdb.ada/scalar_storage.exp: Likewise.
3950 * gdb.ada/set_wstr.exp: Likewise.
3951 * gdb.ada/small_reg_param.exp: Likewise.
3952 * gdb.ada/str_binop_equal.exp: Likewise.
3953 * gdb.ada/str_ref_cmp.exp: Likewise.
3954 * gdb.ada/str_uninit.exp: Likewise.
3955 * gdb.ada/sub_variant.exp: Likewise.
3956 * gdb.ada/sym_print_name.exp: Likewise.
3957 * gdb.ada/taft_type.exp: Likewise.
3958 * gdb.ada/tagged.exp: Likewise.
3959 * gdb.ada/tagged_access.exp: Likewise.
3960 * gdb.ada/task_bp.exp: Likewise.
3961 * gdb.ada/task_switch_in_core.exp: Likewise.
3962 * gdb.ada/tasks.exp: Likewise.
3963 * gdb.ada/tick_last_segv.exp: Likewise.
3964 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3965 * gdb.ada/type_coercion.exp: Likewise.
3966 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3967 * gdb.ada/unchecked_union.exp: Likewise.
3968 * gdb.ada/uninitialized_vars.exp: Likewise.
3969 * gdb.ada/var_arr_attrs.exp: Likewise.
3970 * gdb.ada/var_arr_typedef.exp: Likewise.
3971 * gdb.ada/var_rec_arr.exp: Likewise.
3972 * gdb.ada/variant-record.exp: Likewise.
3973 * gdb.ada/variant.exp: Likewise.
3974 * gdb.ada/variant_record_packed_array.exp: Likewise.
3975 * gdb.ada/varsize_limit.exp: Likewise.
3976 * gdb.ada/whatis_array_val.exp: Likewise.
3977 * gdb.ada/widewide.exp: Likewise.
3978 * gdb.ada/win_fu_syms.exp: Likewise.
3979
39802020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3981
3982 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3983
10c381b5
AB
39842020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3985
3986 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3987 unset the array variable.
3988
8f34b746
TV
39892020-08-03 Tom de Vries <tdevries@suse.de>
3990
3991 PR symtab/26333
3992 * lib/dwarf.exp (DW_LNE_user): New proc.
3993 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3994 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3995
0245e136
KB
39962020-07-31 Kevin Buettner <kevinb@redhat.com>
3997
3998 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3999 to 'uintptr_t'
4000 (inttypes.h): Include.
4001
9ef1ec5d
KB
40022020-07-31 Kevin Buettner <kevinb@redhat.com>
4003
4004 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
4005 (C5_24k): Delete.
4006 (C5_8k, C5_64k, C5_256k): New macros.
4007 (buf_ro): Allocate 256 KiB of initialized data.
4008
4c55e970
TBA
40092020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4010
4011 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
4012 that attempt to overwrite an existing condition with a condition
4013 that fails parsing and also with a condition that parses fine
4014 but contains junk at the end.
4015
1e620590
TBA
40162020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4017
4018 * gdb.base/condbreak-bad.c: New test.
4019 * gdb.base/condbreak-bad.exp: New file.
4020
e12dcc50
TV
40212020-07-30 Tom de Vries <tdevries@suse.de>
4022
4023 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
4024 out of ...
4025 (GDBInfoModuleSymbols::check_entry): ... here.
4026 (GDBInfoModuleSymbols::check_optional_entry): New proc.
4027 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
4028 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
4029
6cc64caa
TV
40302020-07-30 Tom de Vries <tdevries@suse.de>
4031
4032 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
4033 "__class_some_module_Number_t" optional.
4034
90fd07fc
TV
40352020-07-29 Tom de Vries <tdevries@suse.de>
4036
4037 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
4038 multiple locations.
4039
f5c79e97
TV
40402020-07-29 Tom de Vries <tdevries@suse.de>
4041
4042 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
4043 rather than function name.
4044
f75a0693
AB
40452020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4046
4047 PR symtab/26270:
4048 * gdb.cp/disasm-func-name.cc: New file.
4049 * gdb.cp/disasm-func-name.exp: New file.
4050
4888741a
TT
40512020-07-28 Tom Tromey <tromey@adacore.com>
4052
4053 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
4054 'varval' location.
4055
43d5901d
AB
40562020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4057
4058 * gdb.python/py-unwind.py: Update to make use of a register
4059 descriptor.
4060
14fa8fb3
AB
40612020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4062
4063 * gdb.python/py-arch-reg-names.exp: Add additional tests.
4064
e79eb02f
AB
40652020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
4066
4067 PR fortran/23051
4068 PR fortran/26139
4069 * gdb.fortran/class-allocatable-array.exp: New file.
4070 * gdb.fortran/class-allocatable-array.f90: New file.
4071 * gdb.fortran/pointer-to-pointer.exp: New file.
4072 * gdb.fortran/pointer-to-pointer.f90: New file.
4073
876518dd
TV
40742020-07-25 Tom de Vries <tdevries@suse.de>
4075
4076 PR symtab/26243
4077 * gdb.dwarf2/dw2-line-number-zero.c: New test.
4078 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
4079
6dcfb80a
TV
40802020-07-24 Tom de Vries <tdevries@suse.de>
4081
4082 PR testsuite/26293
4083 * gdb.ada/mi_prot.exp: Require gnatmake-8.
4084
e7bc9db8
PA
40852020-07-23 Pedro Alves <pedro@palves.net>
4086
4087 * gdb.server/server-kill.exp (prepare): New, factored out from the
4088 top level.
4089 (kill_server): New.
4090 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
4091 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
4092
78344df7
AB
40932020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
4094
4095 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
4096
25dfed24
SL
40972020-07-22 Sandra Loosemore <sandra@codesourcery.com>
4098
4099 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
4100 Initialize to empty string at top level.
4101 (gdb_wrapper_init): Revert check for file existence on build.
4102 Build the wrapper in its default place, not a build-specific
4103 location. When host == build, make the pathname absolute.
4104 (gdb_compile): Delete leftover declaration of
4105 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
4106 string instead of uninitialized.
4107
7da515fd
KB
41082020-07-22 Kevin Buettner <kevinb@redhat.com>
4109
4110 * gdb.base/corefile2.exp: New file.
4111 * gdb.base/coremaker2.exp: New file.
4112
9c5ec5c2
KB
41132020-07-22 Kevin Buettner <kevinb@redhat.com>
4114
4115 * gdb.base/coredump-filter.exp: Add second
4116 non-Private-Shared-Anon-File test.
4117 (test_disasm): Rename binfile for test which is expected
4118 to fail.
4119
f9e233c9
KB
41202020-07-22 Kevin Buettner <kevinb@redhat.com>
4121
4122 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
4123 data in core file".
4124 * gdb.base/coremaker.c (buf2ro): New global.
4125 (mmapdata): Add a read-only mmap mapping.
4126
94c265d7
KB
41272020-07-22 Kevin Buettner <kevinb@redhat.com>
4128
4129 PR corefiles/25631
4130 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
4131 New test.
4132 * gdb.base/coremaker.c (buf3): New global.
4133 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
4134 flags.
4135
41362020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
4137
4138 * gdb.base/coremaker.c (filler_ro): New global constant.
4139
32fa152e
TT
41402020-07-22 Tom Tromey <tromey@adacore.com>
4141
4142 * gdb.ada/mi_prot.exp: New file.
4143 * gdb.ada/mi_prot/pkg.adb: New file.
4144 * gdb.ada/mi_prot/pkg.ads: New file.
4145 * gdb.ada/mi_prot/prot.adb: New file.
4146
c8474dc3
TBA
41472020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4148
4149 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
4150 loads two JITers.
4151
baf8791e
AB
41522020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
4153
4154 * gdb.python/py-arch-reg-groups.exp: Additional tests.
4155
f7306dac
AB
41562020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
4157
4158 * gdb.python/py-arch-reg-names.exp: Additional tests.
4159
6d3d6e4b
TV
41602020-07-21 Tom de Vries <tdevries@suse.de>
4161
4162 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
4163 breakpoint locations".
4164 * gdb.reverse/solib-reverse.exp: Same.
4165
803d0592
TV
41662020-07-21 Tom de Vries <tdevries@suse.de>
4167
4168 * gdb.reverse/step-reverse.c (callee): Merge statements.
4169
e9bdc510
TV
41702020-07-21 Tom de Vries <tdevries@suse.de>
4171
4172 * gdb.fortran/info-modules.exp (info module variables): Allow missing
4173 line numbers for some variables.
4174
f0f9e75a
TV
41752020-07-21 Tom de Vries <tdevries@suse.de>
4176
4177 * gdb.opt/inline-locals.c (init_array): New func.
4178 (func1): Use init_array.
4179 * gdb.opt/inline-locals.exp: Update pattern.
4180
bd460ecb
TV
41812020-07-21 Tom de Vries <tdevries@suse.de>
4182
4183 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
4184 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
4185
ae5369e7
LC
41862020-07-20 Ludovic Courtès <ludo@gnu.org>
4187
4188 * gdb.guile/source2.scm: Add #f first argument to 'format'.
4189 * gdb.guile/types-module.exp: Remove "ERROR:" from
4190 regexps since Guile 3.0 no longer prints that.
4191
68cf161c
LC
41922020-07-20 Ludovic Courtès <ludo@gnu.org>
4193
4194 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
4195 error regexp to match on Guile 2.2.
4196
c14b4913
GB
41972020-07-20 Gary Benson <gbenson@redhat.com>
4198
4199 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
4200 with clang.
4201
b243ba58
TV
42022020-07-20 Tom de Vries <tdevries@suse.de>
4203
4204 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
4205 (omp_set_lock_in_order): New function.
4206 (single_scope, multi_scope, nested_func, nested_parallel): Use
4207 omp_set_lock_in_order and omp_unset_lock.
4208 (main): Init and destroy lock and lock2.
4209
c06ad8b5
TV
42102020-07-20 Tom de Vries <tdevries@suse.de>
4211
4212 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
4213
6e22f117
TV
42142020-07-20 Tom de Vries <tdevries@suse.de>
4215
4216 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
4217
33176ea7
TV
42182020-07-17 Tom de Vries <tdevries@suse.de>
4219
4220 * gdb.base/valgrind-infcall-2.c: New test.
4221 * gdb.base/valgrind-infcall-2.exp: New file.
4222 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
4223
90c3ec2d
TV
42242020-07-17 Tom de Vries <tdevries@suse.de>
4225
4226 * gdb.dlang/circular.c (found): Use found_label as label name.
4227 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
4228 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
4229 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
4230 * gdb.dwarf2/ada-linkage-name.exp: Same.
4231 * gdb.dwarf2/arr-subrange.exp: Same.
4232 * gdb.dwarf2/atomic-type.exp: Same.
4233 * gdb.dwarf2/comp-unit-lang.exp: Same.
4234 * gdb.dwarf2/cpp-linkage-name.exp: Same.
4235 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
4236 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
4237 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
4238 * gdb.dwarf2/implptr-64bit.exp: Same.
4239 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
4240 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
4241 * gdb.dwarf2/imported-unit.exp: Same.
4242 * gdb.dwarf2/main-subprogram.exp: Same.
4243 * gdb.dwarf2/missing-type-name.exp: Same.
4244 * gdb.dwarf2/nonvar-access.exp: Same.
4245 * gdb.dwarf2/struct-with-sig.exp: Same.
4246 * gdb.dwarf2/typedef-void-finish.exp: Same.
4247 * gdb.dwarf2/void-type.exp: Same.
4248
10da644d
TV
42492020-07-17 Tom de Vries <tdevries@suse.de>
4250
4251 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
4252 src parameter.
4253 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
4254 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
4255 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
4256 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
4257 * gdb.dwarf2/dwz.exp: Same.
4258 * gdb.dwarf2/implptr-optimized-out.exp: Same.
4259 * gdb.dwarf2/implref-array.exp: Same.
4260 * gdb.dwarf2/implref-const.exp: Same.
4261 * gdb.dwarf2/implref-global.exp: Same.
4262 * gdb.dwarf2/implref-struct.exp: Same.
4263 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
4264 * gdb.dwarf2/opaque-type-lookup.exp: Same.
4265 * gdb.dwarf2/var-access.exp: Same.
4266 * gdb.dwarf2/varval.exp: Same.
4267 * gdb.trace/entry-values.exp: Same.
4268
315e6afc
TV
42692020-07-17 Tom de Vries <tdevries@suse.de>
4270
4271 * lib/dwarf.exp (Dwarf::extern): Remove.
4272 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
4273 * gdb.dlang/circular.exp: Same.
4274 * gdb.dwarf2/comp-unit-lang.exp: Same.
4275 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
4276 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
4277 * gdb.dwarf2/dwz.exp: Same.
4278 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
4279 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
4280 * gdb.dwarf2/imported-unit.exp: Same.
4281 * gdb.dwarf2/opaque-type-lookup.exp: Same.
4282
5597c940
SL
42832020-07-16 Sandra Loosemore <sandra@codesourcery.com>
4284
4285 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
4286 Use double quotes instead of single quotes.
4287
d0ce17d8
CT
42882020-07-16 Caroline Tice <cmtice@google.com>
4289
4290 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
4291 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
4292
853772cc
TV
42932020-07-16 Tom de Vries <tdevries@suse.de>
4294
4295 * lib/dwarf.exp (program): Initialize _line.
4296 (DW_LNE_end_sequence): Reinitialize _line.
4297 (DW_LNS_advance_line): Update _line.
4298 (line): New proc.
4299 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
4300 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
4301 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
4302 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
4303 * gdb.dwarf2/dw2-is-stmt.exp: Same.
4304 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4305
fe07b572
AB
43062020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4307
4308 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
4309 generic.
4310
52781cce
TV
43112020-07-15 Tom de Vries <tdevries@suse.de>
4312
4313 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
4314 is_amd64_regs_target.
4315
3dcc261c
AB
43162020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4317
4318 * gdb.fortran/ptype-on-functions.exp: Add more tests.
4319 * gdb.fortran/ptype-on-functions.f90: Likewise.
4320
054a0959
SM
43212020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
4322
4323 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
4324 values in documentation for addr_size to 4 and 8.
4325
ccb9eba6
AB
43262020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
4327
4328 * gdb.arch/amd64-osabi.exp: Update.
4329 * gdb.arch/arm-disassembler-options.exp: Update.
4330 * gdb.arch/powerpc-disassembler-options.exp: Update.
4331 * gdb.arch/ppc64-symtab-cordic.exp: Update.
4332 * gdb.arch/s390-disassembler-options.exp: Update.
4333 * gdb.base/all-architectures.exp.tcl: Update.
4334 * gdb.base/attach-pie-noexec.exp: Update.
4335 * gdb.base/catch-syscall.exp: Update.
4336 * gdb.xml/tdesc-arch.exp: Update.
4337
025a39a7
TV
43382020-07-14 Tom de Vries <tdevries@suse.de>
4339
4340 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
4341 (local_gettid): ... this.
4342 (fn): Update.
4343
74e4b667
SL
43442020-07-13 Sandra Loosemore <sandra@codesourcery.com>
4345
4346 * gdb.base/info_sources.exp: Skip directory match tests on
4347 remote hosts.
4348
f413dd74
GB
43492020-07-13 Gary Benson <gbenson@redhat.com>
4350
4351 * gdb.base/savedregs.exp (caller): Use parentheses to
4352 make expected expression evaluation ordering explicit.
4353
915771bb
GB
43542020-07-13 Gary Benson <gbenson@redhat.com>
4355
4356 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
4357
2a122642
GB
43582020-07-13 Gary Benson <gbenson@redhat.com>
4359
4360 * gdb.base/bigcore.c (main): Use a volatile pointer when
4361 attempting to trigger a SIGSEGV.
4362 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
4363 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
4364 * gdb.base/savedregs.c (thrower): Likewise.
4365 * gdb.mi/mi-syn-frame.c (bar): Likewise.
4366
3f00c730
GB
43672020-07-13 Gary Benson <gbenson@redhat.com>
4368
4369 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
4370 defining and using VLA structure fields into...
4371 * gdb.base/vla-struct-fields.c: New file.
4372 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
4373 tests into...
4374 * gdb.base/vla-struct-fields.exp: New file.
4375
963eeee4
TV
43762020-07-13 Tom de Vries <tdevries@suse.de>
4377
4378 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
4379 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
4380 * gdb.base/gold-gdb-index.exp: Same.
4381 * gdb.base/morestack.exp: Same.
4382
0ed35c9a
DX
43832020-07-11 Daniel Xu <dxu@dxuuu.xyz>
4384
4385 PR rust/26121
4386 * gdb.rust/modules.rs: Prevent linker from discarding test
4387 symbol.
4388
4fdba23d
PA
43892020-07-10 Pedro Alves <pedro@palves.net>
4390
4391 PR gdb/26199
4392 * gdb.multi/multi-target.c (exit_thread): New.
4393 (thread_start): Break loop if EXIT_THREAD.
4394 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
4395 (top level) Call test_no_resumed.
4396
15f3b077
TT
43972020-07-08 Tom Tromey <tromey@adacore.com>
4398
4399 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
4400 * gdb.ada/catch_ex.exp: Examine catchpoint text.
4401
9fc501fd
AB
44022020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4403
4404 PR python/22748
4405 * gdb.opt/inline-frame-tailcall.c: New file.
4406 * gdb.opt/inline-frame-tailcall.exp: New file.
4407 * gdb.python/py-unwind-inline.c: New file.
4408 * gdb.python/py-unwind-inline.exp: New file.
4409 * gdb.python/py-unwind-inline.py: New file.
4410
64cb3757
AB
44112020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4412
4413 * gdb.python/py-arch-reg-groups.exp: New file.
4414
0f767f94
AB
44152020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4416
4417 * gdb.python/py-arch-reg-names.exp: New file.
4418
87dbc774
AB
44192020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4420
4421 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
4422 gdb.PendingFrame.architecture method.
4423
d8cc8af6
TV
44242020-07-06 Tom de Vries <tdevries@suse.de>
4425
4426 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
4427
3c8ea5be
PA
44282020-07-03 Pedro Alves <palves@redhat.com>
4429
4430 * gdb.base/structs2.c (main): Adjust second parem_reg call to
4431 explicitly write negative numbers.
4432 * gdb.base/structs2.exp: Adjust expected output.
4433
bf90c83a
PA
44342020-07-03 Pedro Alves <palves@redhat.com>
4435
4436 * gdb.base/charset.c (init_string): Change all char parameters to
4437 unsigned char parameters.
4438
2eb82157
PA
44392020-07-03 Pedro Alves <palves@redhat.com>
4440
4441 * gdb.base/call-sc.exp (start_scalars_test): Use
4442 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4443 * gdb.base/overlays.c: Remove references to PARAMS.
4444 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
4445 * gdb.base/reread.exp: Don't set 'prototypes' global.
4446 * gdb.base/structs.exp (start_structs_test): Use
4447 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4448 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
4449 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4450 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
4451 call.
4452 * gdb.base/varargs.exp: Don't set 'prototypes' global.
4453
9adda7af
PA
44542020-07-03 Pedro Alves <palves@redhat.com>
4455
4456 * gdb.base/m32rovly.c: Delete.
4457 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
4458
2a17c803
PW
44592020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4460
4461 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
4462 of gdb_py_test_multiple.
4463 * gdb.python/py-cmd.exp: Likewise.
4464 * gdb.python/py-events.exp: Likewise.
4465 * gdb.python/py-function.exp: Likewise.
4466 * gdb.python/py-inferior.exp: Likewise.
4467 * gdb.python/py-infthread.exp: Likewise.
4468 * gdb.python/py-linetable.exp: Likewise.
4469 * gdb.python/py-parameter.exp: Likewise.
4470 * gdb.python/py-value.exp: Likewise.
4471
b011fe1a
TV
44722020-06-30 Tom de Vries <tdevries@suse.de>
4473
4474 PR testsuite/26175
4475 * lib/future.exp (gdb_default_target_compile): Detect and handle
4476 early_flags.
4477
df5b8876
SM
44782020-06-29 Simon Marchi <simon.marchi@efficios.com>
4479
4480 * boards/simavr.exp (gdb_load): Catch errors when closing
4481 previous connection. Close connection, wait for process and
4482 unset simavr_spawn_id on failure.
4483
a3ca48cd
TV
44842020-06-29 Tom de Vries <tdevries@suse.de>
4485
4486 * lib/gdb.exp (unknown): Make test-case unresolved.
4487
b0237c0e
TV
44882020-06-29 Tom de Vries <tdevries@suse.de>
4489
4490 PR gdb/25475
4491 * gdb.server/solib-list.exp: Verify that the symbol reload
4492 confirmation question is asked.
4493
c0b3b3bd
PW
44942020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4495
4496 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
4497 have a input seq nr in each pass message.
fe4c3d43 4498 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
4499 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
4500 * gdb.python/python.exp: Make test names unique,
4501 use gdb_test_multiline instead of gdb_py_test_multiple,
4502 use $gdb_test_name.
4503 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
4504
1776e3e5
NA
45052020-06-26 Nick Alcock <nick.alcock@oracle.com>
4506
4507 * configure.ac: Add --enable-libctf.
4508 * aclocal.m4: sinclude ../config/enable.m4.
4509 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4510 * lib/gdb.exp (skip_ctf_tests): Use it.
4511 * gdb.base/ctf-constvars.exp: Error message tweak.
4512 * gdb.base/ctf-ptype.exp: Likewise.
4513 * configure: Regenerate.
4514
f53b3eeb
GB
45152020-06-26 Gary Benson <gbenson@redhat.com>
4516
4517 * gdb.cp/try_catch.cc: Include string.h.
4518 (main): Replace comparison against string literal with
4519 strcmp, avoiding build failure with -Wstring-compare.
4520 Add "marker test-complete".
4521 * gdb.cp/try_catch.exp: Run the test to the above marker,
4522 then verify that the value of "test" is still true.
4523
6d74da72
AB
45242020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4525
4526 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4527
2e52d038
AB
45282020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4529
4530 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4531
3b9fce96
AB
45322020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4533
4534 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4535 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4536 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4537 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4538 * gdb.arch/riscv-tdesc-loading.exp: New file.
4539
ed69cbc8
AB
45402020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4541
4542 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4543
767a879e
AB
45442020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4545
4546 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4547 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4548 * gdb.arch/riscv-tdesc-regs.c: New file.
4549 * gdb.arch/riscv-tdesc-regs.exp: New file.
4550
221db974
PA
45512020-06-24 Pedro Alves <palves@redhat.com>
4552
4553 * gdb.arch/amd64-entry-value-paramref.exp: Use
4554 prepare_for_testing_full and don't pass "c++" for the .S file
4555 build spec.
4556 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4557 $options, since it's an assembly file. Remove -Wno-deprecated.
4558 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4559 compiling C++ programs.
4560
331733cd
PA
45612020-06-24 Pedro Alves <palves@redhat.com>
4562
4563 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4564 Clang, add "-Wno-unknown-warning-option" to the options.
4565
caa7fd04
AB
45662020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4567
4568 * gdb.xml/tdesc-reload.c: New file.
4569 * gdb.xml/tdesc-reload.exp: New file.
4570 * gdb.xml/maint-xml-dump-01.xml: New file.
4571 * gdb.xml/maint-xml-dump-02.xml: New file.
4572 * gdb.xml/maint-xml-dump.exp: New file.
4573
bb8d1260
SL
45742020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4575
4576 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4577 Adjust for omitted commands when TUI is disabled.
4578
7e4b9c4c
GB
45792020-06-23 Gary Benson <gbenson@redhat.com>
4580 Pedro Alves <palves@redhat.com>
4581
4582 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4583 * gdb.cp/nsimport.cc: Likewise.
4584 * gdb.cp/nsnested.cc: Likewise.
4585 * gdb.cp/nsnoimports.cc: Likewise.
4586 * gdb.cp/nsusing.cc: Likewise.
4587 * gdb.cp/smartp.cc: Likewise.
4588 * gdb.python/py-pp-integral.c: Likewise.
4589 * gdb.python/py-pp-re-notag.c: Likewise.
4590
2e573c0a
GB
45912020-06-23 Gary Benson <gbenson@redhat.com>
4592
4593 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4594 * gdb.cp/nsimport.cc: Likewise.
4595 * gdb.cp/nsnested.cc: Likewise.
4596 * gdb.cp/nsnoimports.cc: Likewise.
4597 * gdb.cp/nsusing.cc: Likewise.
4598 * gdb.cp/smartp.cc: Likewise.
4599 * gdb.python/py-pp-integral.c: Likewise.
4600 * gdb.python/py-pp-re-notag.c: Likewise.
4601
746ebfe8
PW
46022020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4603
4604 * gdb.base/default-args.exp: New test.
4605 * gdb.base/default-args.c: New file.
4606 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4607 * gdb.base/default.exp: Update to new help text.
4608 * gdb.base/help.exp: Likewise.
4609 * gdb.base/page.exp: Likewise.
4610 * gdb.base/style.exp: Likewise.
4611 * gdb.guile/guile.exp: Likewise.
4612 * gdb.python/python.exp: Likewise.
4613
e822f2cd
SL
46142020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4615
4616 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4617 remote host. Fix search path syntax on Windows host.
4618
48e9cc84
PW
46192020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4620
4621 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4622 over 'exec-file-mismatch'.
4623 * gdb.base/attach.c: Mark should_exit volatile.
4624 * gdb.base/attach2.c: Likewise. Add a comment explaining
4625 why the sleep cannot be big.
4626 * gdb.base/attach3.c: New file.
4627
160f8a8f
SL
46282020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4629
4630 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4631 prefix optional.
4632
4d91c2a4
SL
46332020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4634
4635 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4636 for remote host.
4637
87f83f20
SL
46382020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4639 Hafiz Abid Qadeer <abidh@codesourcery.com>
4640
4641 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4642 file sent to remote host.
4643 (top level): Allow int32_t as type of 32-bit register.
4644
37ab8655
TV
46452020-06-19 Tom de Vries <tdevries@suse.de>
4646
4647 * lib/gdb.exp (gdb_note): New proc.
4648 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4649 (gdb_default_target_compile): ... here. Only call
4650 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4651 (use_gdb_compile): Change to array.
4652 (toplevel): Update sets of use_gdb_compile to specify language.
4653 Warn about default_target_compile override. Store dejagnu's version
4654 of default_target_compile in dejagnu_default_target_compile.
4655
a8a56685
TV
46562020-06-18 Tom de Vries <tdevries@suse.de>
4657
4658 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4659 (default_gdb_init): ... here.
4660
581bea2c
SL
46612020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4662
4663 Fix TUI support checks in gdb.tui tests.
4664
4665 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4666 just say UNSUPPORTED.
4667 * gdb.tui/corefile-run.exp: Likewise.
4668 * gdb.tui/empty.exp: Likewise.
4669 * gdb.tui/list-before.exp: Likewise.
4670 * gdb.tui/list.exp: Likewise.
4671 * gdb.tui/main.exp: Likewise.
4672 * gdb.tui/regs.exp: Likewise.
4673 * gdb.tui/resize.exp: Likewise.
4674 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4675 * gdb.tui/tui-layout-asm.exp: Likewise.
4676 * gdb.tui/tui-missing-src.exp: Likewise.
4677 * gdb.tui/winheight.exp: Likewise.
4678 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4679
05e682e3
SL
46802020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4681
4682 Fix TCL error in gdb.python/py-format-string.exp.
4683
4684 * gdb.python/py-format-string.exp: Move test for python support
4685 earlier, out of function body.
4686
efb763a5
SM
46872020-06-15 Simon Marchi <simon.marchi@efficios.com>
4688
4689 * gdb.base/index-cache-load-twice.c: New.
4690 * gdb.base/index-cache-load-twice.exp: New.
4691
43327b20
KS
46922020-06-17 Keith Seitz <keiths@redhat.com>
4693
99cf27cf 4694 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
4695 when executing "gdb --configuration".
4696
081e778c
TV
46972020-06-17 Tom de Vries <tdevries@suse.de>
4698
4699 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4700 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4701 conditional on presence of gdb_tcl_unknown.
4702 (gdb_finish): Make override undo conditional on presence of
4703 gdb_tcl_unknown.
4704
d2d1ea20
TT
47052020-06-16 Tom Tromey <tom@tromey.com>
4706
4707 * gdb.python/tui-window.py (failwin): New function. Register it
4708 as a TUI window type.
4709 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4710
c802e8a7
GB
47112020-06-16 Gary Benson <gbenson@redhat.com>
4712
4713 * gdb.python/py-nested-maps.c (create_map): Add missing return
4714 value.
4715 (create_map_map): Likewise.
4716
ff08abb8
TBA
47172020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4718
4719 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4720 variable.
4721 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4722 and use the already-defined 'options' variable.
4723
a29d5112
AB
47242020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4725 Tom de Vries <tdevries@suse.de>
4726
4727 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4728 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4729 (gdb_setup_known_globals): New proc.
4730 (gdb_cleanup_globals): New proc.
4731 * lib/gdb.exp (load_lib): New override proc.
4732 (gdb_stdin_log_init): Set var in_file as persistent global.
4733 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4734 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4735 fpc_compiler as persistent global.
4736
8c74a764
TV
47372020-06-12 Tom de Vries <tdevries@suse.de>
4738
4739 * lib/tuiterm.exp (spawn): Rename to ...
4740 (tui_spawn): ... this.
4741 (toplevel): Move rename of spawn ...
4742 (gdb_init_tuiterm): ... here. New proc.
4743 (gdb_finish_tuiterm): New proc.
4744 * lib/gdb.exp (gdb_finish_hooks): New global var.
4745 (gdb_finish): Handle gdb_finish_hooks.
4746 (tuiterm_env): New proc.
4747 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4748 tuiterm_env.
4749 * gdb.tui/basic.exp: Same.
4750 * gdb.tui/corefile-run.exp: Same.
4751 * gdb.tui/empty.exp: Same.
4752 * gdb.tui/list-before.exp: Same.
4753 * gdb.tui/list.exp: Same.
4754 * gdb.tui/main.exp: Same.
4755 * gdb.tui/new-layout.exp: Same.
4756 * gdb.tui/regs.exp: Same.
4757 * gdb.tui/resize.exp: Same.
4758 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4759 * gdb.tui/tui-layout-asm.exp: Same.
4760 * gdb.tui/tui-missing-src.exp: Same.
4761 * gdb.tui/winheight.exp: Same.
4762
26783bce
TV
47632020-06-12 Tom de Vries <tdevries@suse.de>
4764
4765 PR testsuite/26110
4766 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4767 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4768
2b4e6a3f
TT
47692020-06-11 Tom Tromey <tom@tromey.com>
4770
4771 PR gdb/18318:
4772 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4773 floating point tests.
4774
2f33032a
KS
47752020-06-11 Keith Seitz <keiths@redhat.com>
4776
4777 PR gdb/21356
4778 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4779 vla_struct.
4780 Add new struct vla_typedef and union vla_typedef_union and
4781 corresponding instantiation objects.
4782 Initialize new objects.
4783 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4784 and vla_typedef_union_object.
4785 Fixup type for vla_struct_object.
4786
a8baf0a3
TV
47872020-06-11 Tom de Vries <tdevries@suse.de>
4788
4789 * lib/gdb.exp (with_override): New proc, factored out of ...
4790 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4791
7ab96794
TV
47922020-06-10 Tom de Vries <tdevries@suse.de>
4793
4794 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4795
cab5c3b7
SM
47962020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4797
4798 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4799 parameter, update callers.
4800
f8c41851
SM
48012020-06-04 Simon Marchi <simon.marchi@efficios.com>
4802
4803 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4804 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4805 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4806
1c07a73f
TV
48072020-06-04 Tom de Vries <tdevries@suse.de>
4808
4809 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4810
95146b5d
TV
48112020-06-04 Tom de Vries <tdevries@suse.de>
4812
4813 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4814 exp_continue.
4815
0cfcd4f0
TV
48162020-06-04 Tom de Vries <tdevries@suse.de>
4817
4818 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4819
f9b5d5ea
TV
48202020-06-03 Tom de Vries <tdevries@suse.de>
4821
4822 PR symtab/26046
4823 * gdb.cp/breakpoint-locs-2.cc: New test.
4824 * gdb.cp/breakpoint-locs.cc: New test.
4825 * gdb.cp/breakpoint-locs.exp: New file.
4826 * gdb.cp/breakpoint-locs.h: New test.
4827
5144dfba
TV
48282020-06-03 Tom de Vries <tdevries@suse.de>
4829
4830 PR testsuite/25609
4831 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4832 value of global verbose.
4833 * gdb.base/jit-elf.exp: Same.
4834 * gdb.base/jit-reader.exp: Same.
4835
621eacdf
TV
48362020-06-02 Tom de Vries <tdevries@suse.de>
4837
4838 * gdb.dwarf2/multidictionary.exp: Don't use
4839 gdb_spawn_with_cmdline_opts.
4840
1313c56e
AB
48412020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4842
4843 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4844 use_header case.
4845 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4846 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4847 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4848 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4849 * gdb.dwarf2/dw2-inline-header.c: New file.
4850 * gdb.dwarf2/dw2-inline-header.h: New file.
4851
f68f85b5
PA
48522020-05-30 Pedro Alves <palves@redhat.com>
4853
4854 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4855 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4856
678048e8
GB
48572020-05-29 Gary Benson <gbenson@redhat.com>
4858
4859 * gdb.compile/compile-cplus.exp (additional_flags): Also
4860 set when building with clang.
4861 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4862 when building with clang.
4863
9fcafd23
GB
48642020-05-29 Gary Benson <gbenson@redhat.com>
4865
4866 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4867 building with clang.
4868 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4869
735d5a07
GB
48702020-05-29 Gary Benson <gbenson@redhat.com>
4871
4872 * gdb.cp/koenig.exp (prepare_for_testing): Add
4873 additional_flags=-Wno-unused-comparison.
4874 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4875
4ad2c6a0
GB
48762020-05-28 Gary Benson <gbenson@redhat.com>
4877
4878 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4879 statement.
4880
09fe663e
GB
48812020-05-28 Gary Benson <gbenson@redhat.com>
4882
4883 * gdb.cp/classes.exp (prepare_for_testing): Add
4884 additional_flags=-Wno-deprecated-register.
4885 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4886 * gdb.cp/misc.exp: Likewise.
4887
cee00f17
GB
48882020-05-28 Gary Benson <gbenson@redhat.com>
4889
4890 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4891 (test_op_new::operator new): Add return statement.
4892 (test_op_new_array::operator new[]): Likewise.
4893
636edd00
PA
48942020-05-27 Pedro Alves <palves@redhat.com>
4895
4896 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4897 check. Use test_gdb_complete_unique instead of
4898 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4899 test_gdb_complete_multiple instead of
4900 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4901
c2b75043
LM
49022020-05-27 Luis Machado <luis.machado@linaro.org>
4903
4904 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4905 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4906 * gdb.arch/arm-disassembler-options.exp: Likewise.
4907 * gdb.arch/arm-disp-step.exp: Likewise.
4908 * gdb.arch/thumb-prologue.exp: Likewise.
4909 * gdb.base/async.exp: Likewise.
4910 * gdb.base/auxv.exp: Likewise.
4911 * gdb.base/complex-parts.exp: Likewise.
4912 * gdb.base/ena-dis-br.exp: Likewise.
4913 * gdb.base/foll-exec.exp: Likewise.
4914 * gdb.base/permissions.exp: Likewise.
4915 * gdb.base/relocate.exp: Likewise.
4916 * gdb.base/return2.exp: Likewise.
4917 * gdb.base/sigbpt.exp: Likewise.
4918 * gdb.base/siginfo-obj.exp: Likewise.
4919 * gdb.cp/converts.exp: Likewise.
4920 * gdb.cp/exceptprint.exp: Likewise.
4921 * gdb.cp/inherit.exp: Likewise.
4922 * gdb.cp/nsnoimports.exp: Likewise.
4923 * gdb.cp/virtbase2.exp: Likewise.
4924 * gdb.mi/mi-var-cmd.exp: Likewise.
4925 * gdb.mi/var-cmd.c: Likewise.
4926
53a47a3e
TT
49272020-05-26 Tom Tromey <tromey@adacore.com>
4928
4929 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4930
0bc2354b
TT
49312020-05-26 Tom Tromey <tromey@adacore.com>
4932
4933 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4934 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4935 type.
4936 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4937 variable.
4938
0db49895
CBG
49392020-05-26 Christian Biesinger <cbiesinger@google.com>
4940
4941 * Makefile.in: Use = instead of == for the test command
4942 for portability.
4943
40d22035
TV
49442020-05-26 Tom de Vries <tdevries@suse.de>
4945
4946 * gdb.base/gold-gdb-index-2.c: New test.
4947 * gdb.base/gold-gdb-index.c: New test.
4948 * gdb.base/gold-gdb-index.exp: New file.
4949 * gdb.base/gold-gdb-index.h: New test.
4950
043e2e02
TV
49512020-05-25 Tom de Vries <tdevries@suse.de>
4952
4953 * boards/gold-gdb-index.exp: New file.
4954
462f72c5
SM
49552020-05-25 Simon Marchi <simon.marchi@efficios.com>
4956
4957 * boards/simavr.exp: New file.
4958
6cf66e76
SM
49592020-05-25 Simon Marchi <simon.marchi@efficios.com>
4960
4961 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4962 * gdb.base/inferior-args.exp: New file.
4963 * gdb.base/inferior-args.c: New file.
4964
75d04512
SM
49652020-05-25 Simon Marchi <simon.marchi@efficios.com>
4966
4967 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4968 inferior_args. Pass it to gdb_reload.
4969 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4970 inferior_args.
4971 (gdb_reload): Add inferior_args argument.
4972 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4973 pass it to gdbserver_run.
4974 * boards/native-gdbserver.exp: Do not set noargs.
4975 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4976 inferior_args argument.
4977 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4978 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4979 * gdb.base/args.exp: Likewise.
4980
42cf1844
TV
49812020-05-25 Tom de Vries <tdevries@suse.de>
4982
4983 * lib/gdb.exp (exec_is_pie): Add comment.
4984
8f7d38ef
TV
49852020-05-25 Tom de Vries <tdevries@suse.de>
4986
4987 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4988 instead of $binfile in the untested message.
4989
465e1b0f
TV
49902020-05-25 Tom de Vries <tdevries@suse.de>
4991
4992 PR testsuite/26031
4993 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4994
3c5a0e02
TV
49952020-05-25 Tom de Vries <tdevries@suse.de>
4996
4997 * boards/gold.exp: New file.
4998
0a4f5f8c
TT
49992020-05-23 Tom Tromey <tom@tromey.com>
5000
5001 * gdb.base/style.exp: Remove completion styling test.
5002 * lib/gdb-utils.exp (style): Remove completion styles.
5003
eca1f90c
TT
50042020-05-23 Tom Tromey <tom@tromey.com>
5005
5006 * gdb.base/style.exp: Add completion styling test.
5007 * lib/gdb-utils.exp (style): Add completion styles.
5008
7c13f4e8
AB
50092020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
5010
5011 * gdb.base/annota1.exp: Update expected results.
5012 * gdb.cp/annota2.exp: Update expected results, remove duplicate
5013 test name.
5014 * gdb.cp/annota3.exp: Update expected results.
5015
41977d16
SM
50162020-05-20 Simon Marchi <simon.marchi@efficios.com>
5017
5018 PR gdb/26016
5019 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
5020 against MAP_FAILED.
5021 * gdb.base/coremaker.c (mmapdata): Likewise.
5022 * gdb.base/jit-reader-host.c (main): Likewise.
5023 * gdb.base/sym-file-loader.c (load): Likewise.
5024 (load_shlib): Likewise.
5025
b4757f2e
TT
50262020-05-20 Tom Tromey <tromey@adacore.com>
5027
5028 * gdb.ada/array_char_idx.exp: Recognize initialized array.
5029
9a0bacfb
TV
50302020-05-20 Tom de Vries <tdevries@suse.de>
5031
5032 PR symtab/25833
5033 * gdb.base/with-mf-inc.c: New test.
5034 * gdb.base/with-mf-main.c: New test.
5035 * gdb.base/with-mf.exp: New file.
5036
76571211
TT
50372020-05-19 Tom Tromey <tromey@adacore.com>
5038
5039 * gdb.rust/simple.exp: Restore missing test result.
5040
4cd9f3d5
TV
50412020-05-19 Tom de Vries <tdevries@suse.de>
5042
5043 * gdb.base/gdb-caching-proc.exp: Fix typo.
5044
7d874253
TT
50452020-05-19 Tom Tromey <tromey@adacore.com>
5046
5047 * gdb.rust/simple.exp: Add some test descriptions.
5048 (test_one_slice): Use with_test_prefix.
5049
1d727695
TV
50502020-05-18 Tom de Vries <tdevries@suse.de>
5051
5052 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
5053
7f32a4d5
PA
50542020-05-17 Pedro Alves <palves@redhat.com>
5055
5056 PR gdb/25741
5057 * gdb.base/hw-sw-break-same-address.exp: New file.
5058
7cfd74cf
PA
50592020-05-16 Pedro Alves <palves@redhat.com>
5060
5061 * gdb.multi/multi-re-run.exp (test_re_run): Switch
5062 LAST_LOADED_FILE accordingly.
5063
57b4f16e
PW
50642020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5065
5066 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
5067
7c05caf7
PW
50682020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5069
5070 * gdb.base/help.exp: Test apropos and help for commands
5071 having aliases. Fixed comments not starting with an
5072 upper-case letter or not finishing with a dot.
5073
7aa1b46f
PW
50742020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5075
3b3aaacb
PW
5076 * gdb.base/alias.exp: Update help output check.
5077
57b4f16e 50782020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 5079
7aa1b46f
PW
5080 * gdb.base/default.exp: Update output following fixes.
5081
0605465f
PW
50822020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5083
5084 * gdb.base/alias.exp: Test aliases starting with a prefix of
5085 another alias.
5086
86e4e63d
GB
50872020-05-15 Gary Benson <gbenson@redhat.com>
5088
5089 * gdb.base/info-os.c (main): Add return statement.
5090 * gdb.base/info_minsym.c (minsym_fun): Likewise.
5091 * gdb.base/large-frame-2.c (func): Likewise.
5092 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
5093 * gdb.base/pr10179-b.c (foo2): Likewise.
5094 * gdb.base/valgrind-disp-step.c (foo): Likewise.
5095 * gdb.base/watch-cond.c (func): Likewise.
5096 * gdb.multi/goodbye.c (verylongfun): Likewise.
5097 * gdb.multi/hello.c (commonfun): Likewise.
5098 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
5099 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
5100 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5101 Likewise.
5102 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
5103 * gdb.threads/interrupt-while-step-over.c (child_function):
5104 Likewise.
5105 * gdb.trace/actions-changed.c (end): Likewise.
5106
163df4df
GB
51072020-05-15 Gary Benson <gbenson@redhat.com>
5108
5109 * gdb.opencl/callfuncs.exp: Report when test skipped.
5110 * gdb.opencl/convs_casts.exp: Likewise.
5111 * gdb.opencl/datatypes.exp: Likewise.
5112 * gdb.opencl/operators.exp: Likewise.
5113 * gdb.opencl/vec_comps.exp: Likewise.
5114
6dbc505a
TV
51152020-05-15 Tom de Vries <tdevries@suse.de>
5116
5117 * gdb.base/align.exp.in: Rename to ...
5118 * gdb.base/align.exp.tcl: ... this.
5119 * gdb.base/align-c++.exp: Update.
5120 * gdb.base/align-c.exp: Update.
5121 * gdb.base/all-architectures.exp.in: Rename to ...
5122 * gdb.base/all-architectures.exp: ... this.
5123 * gdb.base/all-architectures-0.exp: Update.
5124 * gdb.base/all-architectures-1.exp: Update.
5125 * gdb.base/all-architectures-2.exp: Update.
5126 * gdb.base/all-architectures-3.exp: Update.
5127 * gdb.base/all-architectures-4.exp: Update.
5128 * gdb.base/all-architectures-5.exp: Update.
5129 * gdb.base/all-architectures-6.exp: Update.
5130 * gdb.base/all-architectures-7.exp: Update.
5131 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
5132 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
5133 * gdb.base/infcall-nested-structs-c++.exp: Update.
5134 * gdb.base/infcall-nested-structs-c.exp: Update.
5135 * gdb.base/info-types.exp.in: Rename to ...
5136 * gdb.base/info-types.exp.tcl: ... this.
5137 * gdb.base/info-types-c++.exp: Update.
5138 * gdb.base/info-types-c.exp: Update.
5139 * gdb.base/max-depth.exp.in: Rename to ...
5140 * gdb.base/max-depth.exp.tcl: ... this.
5141 * gdb.base/max-depth-c++.exp: Update.
5142 * gdb.base/max-depth-c.exp: Update.
5143 * gdb.cp/cpexprs.exp.in: Rename to ...
5144 * gdb.cp/cpexprs.exp.tcl: ... this.
5145 * gdb.cp/cpexprs-debug-types.exp: Update.
5146 * gdb.cp/cpexprs.exp: Update.
5147 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
5148 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
5149 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
5150 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
5151 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
5152 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
5153 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
5154 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
5155 * gdb.dwarf2/clang-debug-names-2.exp: Update.
5156 * gdb.dwarf2/clang-debug-names.exp: Update.
5157
d1034d78
AB
51582020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
5159
5160 * lib/check-test-names.exp: Remove code that prevents this file
5161 loading when tests are run in parallel.
5162
3c5c3649
PA
51632020-05-15 Pedro Alves <palves@redhat.com>
5164
5165 * gdb.multi/multi-kill.exp (start_inferior): Remove
5166 'testpid' parameter. Refer to namespace variable directly.
5167 (testpid): Declare as namespace variable.
5168
272c36b8
PA
51692020-05-15 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.multi/multi-kill.exp: Wrap in namespace.
5172 (start_inferior): Add TESTPID parameter. Use it instead of the
5173 testpid global.
5174 (top level): Define empty TESTPID array, and pass it down to
5175 start_inferior.
5176
02eba61a
TV
51772020-05-14 Tom de Vries <tdevries@suse.de>
5178
5179 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
5180 output.
5181
971a3747
TV
51822020-05-14 Tom de Vries <tdevries@suse.de>
5183
5184 * gdb.base/align.exp: Split into ...
5185 * gdb.base/align.exp.in: ...
5186 * gdb.base/align-c++.exp: ...
5187 * gdb.base/align-c.exp: ... these.
5188 * gdb.base/infcall-nested-structs.exp: Split into ...
5189 * gdb.base/infcall-nested-structs.exp.in: ...
5190 * gdb.base/infcall-nested-structs-c++.exp: ...
5191 * gdb.base/infcall-nested-structs-c.exp: ... these.
5192 * gdb.base/info-types.exp: Split into ...
5193 * gdb.base/info-types.exp.in: ...
5194 * gdb.base/info-types-c++.exp: ...
5195 * gdb.base/info-types-c.exp: ... these.
5196 * gdb.base/max-depth.exp: Split into ...
5197 * gdb.base/max-depth.exp.in: ...
5198 * gdb.base/max-depth-c++.exp: ...
5199 * gdb.base/max-depth-c.exp: ... these.
5200 * gdb.cp/infcall-nodebug.exp: Split into ...
5201 * gdb.cp/infcall-nodebug.exp.in: ...
5202 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
5203 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
5204 * gdb.cp/infcall-nodebug-c-d0.exp: ...
5205 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
5206
a05575d3
TBA
52072020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5208 Pedro Alves <palves@redhat.com>
5209
5210 * gdb.multi/multi-exit.c: New file.
5211 * gdb.multi/multi-exit.exp: New file.
5212 * gdb.multi/multi-kill.c: New file.
5213 * gdb.multi/multi-kill.exp: New file.
5214
6ad82919
TBA
52152020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5216
5217 * gdb.base/annota1.exp: Update the expected output.
5218 * gdb.cp/annota2.exp: Ditto.
5219
843f4d93
AB
52202020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
5221
5222 * lib/check-test-names.exp: Disable when testing is being run in
5223 parallel.
5224
c7c66341
TV
52252020-05-12 Tom de Vries <tdevries@suse.de>
5226
5227 * gdb.base/jit-elf.exp: Fix string concat.
5228
1b59ca1c
TV
52292020-05-12 Tom de Vries <tdevries@suse.de>
5230
5231 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
5232 messages.
5233
b4991d29
TV
52342020-05-12 Tom de Vries <tdevries@suse.de>
5235
5236 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
5237
dbb0ab10
TV
52382020-05-12 Tom de Vries <tdevries@suse.de>
5239
5240 * gdb.ada/catch_ex.exp: Use with_test_prefix.
5241 * gdb.ada/mi_catch_ex.exp: Same.
5242 * gdb.ada/mi_catch_ex_hand.exp: Same.
5243
7549fed8
TV
52442020-05-12 Tom de Vries <tdevries@suse.de>
5245
5246 * gdb.fortran/complex.exp: Use with_test_prefix.
5247
af2d5cd8
TV
52482020-05-12 Tom de Vries <tdevries@suse.de>
5249
5250 * gdb.trace/passcount.exp: Fix test-names.
5251
7c121311
TV
52522020-05-12 Tom de Vries <tdevries@suse.de>
5253
5254 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
5255
c9f3b40e
TV
52562020-05-12 Tom de Vries <tdevries@suse.de>
5257
5258 * gdb.gdb/complaints.exp: Use with_test_prefix.
5259 * gdb.xml/tdesc-regs.exp: Same.
5260 * gdb.opt/inline-locals.exp: Fix test name.
5261
111b33f0
TV
52622020-05-12 Tom de Vries <tdevries@suse.de>
5263
5264 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
5265 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
5266 * gdb.dwarf2/implref-struct.exp: Same.
5267 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
5268 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
5269
ebf47080
SM
52702020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
5271
5272 * gdb.base/jit-so.exp (one_jit_test): Change test name.
5273
d30dcd12
AB
52742020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
5275
5276 * lib/check-test-names.exp (all_test_names): New module variable.
5277 (counts): Add 'duplicates' field.
5278 (_check_duplicates): New procedure.
5279 (check): Also check for duplicates.
5280 (do_log_summary): Print duplicates count.
5281 (do_reset_vars): Reset counter for duplicate test names, and
5282 discard all know test names.
5283
34584c09
AB
52842020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
5285
5286 * lib/gdb.exp: Include check-test-names.exp library.
5287 * lib/check-test-names.exp: New file.
5288
e0002117
TV
52892020-05-11 Tom de Vries <tdevries@suse.de>
5290
5291 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
5292
53f539a3
KS
52932020-05-11 Keith Seitz <keiths@redhat.com>
5294
5295 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
5296
113ee09a
TV
52972020-05-11 Tom de Vries <tdevries@suse.de>
5298
5299 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
5300 * gdb.cp/cpexprs.exp.in: .. here.
5301 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
5302 cpexprs.exp.
5303
ba3e70b0
KS
53042020-05-11 Keith Seitz <keiths@redhat.com>
5305
5306 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
5307 test names.
5308 * gdb.ada/arrayptr.exp: Likewise.
5309 * gdb.ada/assign_arr.exp: Likewise.
5310 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
5311 * gdb.ada/bp_on_var.exp: Likewise.
5312 * gdb.ada/call_pn.exp: Likewise.
5313 * gdb.ada/complete.exp: Likewise.
5314 * gdb.ada/fun_overload_menu.exp: Likewise.
5315 * gdb.ada/funcall_param.exp: Likewise.
5316 * gdb.ada/funcall_ref.exp: Likewise.
5317 * gdb.ada/packed_array_assign.exp: Likewise.
5318 * gdb.ada/same_component_name.exp: Likewise.
5319 * gdb.ada/type_coercion.exp: Likewise.
5320 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
5321 * gdb.ada/variant_record_packed_array.exp: Likewise.
5322
3ee6bb11
TV
53232020-05-11 Tom de Vries <tdevries@suse.de>
5324
5325 PR symtab/25941
5326 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
5327 out of ...
5328 * gdb.dwarf2/clang-debug-names.exp: ... here.
5329 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
5330 clang-debug-names.exp.in.
5331 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
5332 * gdb.dwarf2/clang-debug-names-2.c: New test.
5333
86cd6bc8
AKS
53342020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5335
5336 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
5337 (fortran_runto_main): New Proc, fortran version of runto_main.
5338 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
5339 * gdb.fortran/array-bounds.exp: Likewise.
5340 * gdb.fortran/array-slices.exp: Likewise.
5341 * gdb.fortran/block-data.exp: Likewise.
5342 * gdb.fortran/charset.exp: Likewise.
5343 * gdb.fortran/common-block.exp: Likewise.
5344 * gdb.fortran/complex.exp: Likewise.
5345 * gdb.fortran/derived-type-function.exp: Likewise.
5346 * gdb.fortran/derived-type.exp: Likewise.
5347 * gdb.fortran/info-modules.exp: Likewise.
5348 * gdb.fortran/info-types.exp: Likewise.
5349 * gdb.fortran/intrinsics.exp: Likewise.
5350 * gdb.fortran/library-module.exp: Likewise.
5351 * gdb.fortran/logical.exp: Likewise.
5352 * gdb.fortran/max-depth.exp: Likewise.
5353 * gdb.fortran/module.exp: Likewise.
5354 * gdb.fortran/multi-dim.exp: Likewise.
5355 * gdb.fortran/nested-funcs.exp: Likewise.
5356 * gdb.fortran/print-formatted.exp: Likewise.
5357 * gdb.fortran/print_type.exp: Likewise.
5358 * gdb.fortran/printing-types.exp: Likewise.
5359 * gdb.fortran/ptr-indentation.exp: Likewise.
5360 * gdb.fortran/ptype-on-functions.exp: Likewise.
5361 * gdb.fortran/subarray.exp: Likewise.
5362 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
5363 * gdb.fortran/vla-datatypes.exp: Likewise.
5364 * gdb.fortran/vla-history.exp: Likewise.
5365 * gdb.fortran/vla-ptr-info.exp: Likewise.
5366 * gdb.fortran/vla-ptype-sub.exp: Likewise.
5367 * gdb.fortran/vla-ptype.exp: Likewise.
5368 * gdb.fortran/vla-sizeof.exp: Likewise.
5369 * gdb.fortran/vla-type.exp: Likewise.
5370 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
5371 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
5372 * gdb.fortran/vla-value-sub.exp: Likewise.
5373 * gdb.fortran/vla-value.exp: Likewise.
5374 * gdb.fortran/whatis_type.exp: Likewise.
5375 * gdb.mi/mi-var-child-f.exp: Likewise.
5376
6dc55ce9 53772020-05-09 Tom de Vries <tdevries@suse.de>
5378
5379 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
5380
283cb58c
TV
53812020-05-08 Tom de Vries <tdevries@suse.de>
5382
5383 * gdb.dwarf2/clang-debug-names.c: New test.
5384 * gdb.dwarf2/clang-debug-names.exp: New file.
5385
ac4a4f1c
SM
53862020-05-06 Simon Marchi <simon.marchi@efficios.com>
5387
5388 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
5389 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
5390
24fe640b
TV
53912020-05-06 Tom de Vries <tdevries@suse.de>
5392
5393 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
5394 breakpoint is at a "recommended breakpoint location".
5395 * gdb.reverse/consecutive-reverse.exp: Same.
5396
0d8683a3
TV
53972020-05-06 Tom de Vries <tdevries@suse.de>
5398
5399 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
5400 address.
5401
b8983c46
TV
54022020-05-06 Tom de Vries <tdevries@suse.de>
5403
5404 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
5405
abf6d805
TV
54062020-05-06 Tom de Vries <tdevries@suse.de>
5407
5408 * gdb.base/store.exp (check_set, up_set): Allowing missing location
5409 info for r.
5410
0fc2a808
TV
54112020-05-06 Tom de Vries <tdevries@suse.de>
5412
5413 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
5414 necessary.
5415
873dd427
TV
54162020-05-06 Tom de Vries <tdevries@suse.de>
5417
5418 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
5419 void.
5420
7c99e7e2
TV
54212020-05-06 Tom de Vries <tdevries@suse.de>
5422
5423 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
5424 of ...
5425 * gdb.base/async.exp: ... here.
5426 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
5427 "recommended breakpoint location".
5428
6173d6a6
TV
54292020-05-06 Tom de Vries <tdevries@suse.de>
5430
5431 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
5432
6015a067
TV
54332020-05-04 Tom de Vries <tdevries@suse.de>
5434
5435 * gdb.base/async.exp: Check whether instruction addresses are a
5436 "recommended breakpoint location".
5437
3b6acaee
TT
54382020-05-03 Tom Tromey <tom@tromey.com>
5439
5440 * gdb.base/sepdebug.exp: Remove "catch" test.
5441 * gdb.base/break.exp: Remove "catch" test.
5442 * gdb.base/default.exp: Update expected output.
5443
5beb4d17
TV
54442020-05-02 Tom de Vries <tdevries@suse.de>
5445
5446 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
5447 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
5448 * gdb.arch/i386-mpx-map.exp: Same.
5449 * gdb.arch/i386-mpx-sigsegv.exp: Same.
5450 * gdb.arch/i386-mpx-simple_segv.exp: Same.
5451 * gdb.arch/i386-mpx.exp: Same.
5452
8caf140d
TV
54532020-05-02 Tom de Vries <tdevries@suse.de>
5454
5455 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
5456
693196cb
TV
54572020-05-01 Tom de Vries <tdevries@suse.de>
5458
5459 * gdb.ada/operator_bp.exp: Allow more than required amount of
5460 breakpoint.
5461
53ae0aa9
TV
54622020-05-01 Tom de Vries <tdevries@suse.de>
5463
5464 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
5465
ee9d1e5f
HD
54662020-04-30 Hannes Domani <ssbssa@yahoo.de>
5467
5468 PR gdb/18706
5469 * gdb.cp/stub-array-size.cc: New test.
5470 * gdb.cp/stub-array-size.exp: New file.
5471 * gdb.cp/stub-array-size.h: New test.
5472 * gdb.cp/stub-array-size2.cc: New test.
5473
d5cf82c0
HD
54742020-04-30 Hannes Domani <ssbssa@yahoo.de>
5475
5476 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
5477 output to the new format.
5478
42e165c3
SM
54792020-04-29 Simon Marchi <simon.marchi@efficios.com>
5480
5481 * gdb.base/break.exp: Use with_test_prefix.
5482
6e4e3fe1
TV
54832020-04-29 Tom de Vries <tdevries@suse.de>
5484
5485 * lib/gdb.exp (debug_types): New proc.
5486 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
5487 * gdb.python/py-symtab.exp: Same.
5488
d642b692
HD
54892020-04-29 Hannes Domani <ssbssa@yahoo.de>
5490
5491 PR gdb/17320
5492 * gdb.base/pretty-array.c: New test.
5493 * gdb.base/pretty-array.exp: New file.
5494
ea90f227
TV
54952020-04-29 Tom de Vries <tdevries@suse.de>
5496
5497 PR symtab/25889
5498 * gdb.cp/cpexprs.exp: Adapt for inclusion.
5499 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
5500 and include cpexprs.exp.
5501
a65189c9
TV
55022020-04-28 Mark Williams <mark@myosotissp.com>
5503
5504 PR gdb/24480
5505 * dw4-toplevel-types.exp: Test for top level types.
5506 * dw4-toplevel-types.cc: Test for top level types.
5507
32d1f47a
TBA
55082020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5509
5510 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5511 (theads -> threads).
5512
56a4f5a1
TV
55132020-04-28 Tom de Vries <tdevries@suse.de>
5514
5515 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5516
0b2f8a3b
TV
55172020-04-28 Tom de Vries <tdevries@suse.de>
5518
5519 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5520
5390c717
TV
55212020-04-28 Tom de Vries <tdevries@suse.de>
5522
5523 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5524
15cd93d0
TV
55252020-04-28 Tom de Vries <tdevries@suse.de>
5526
5527 * gdb.dwarf2/main-foo.c: New test.
5528 * gdb.dwarf2/struct-with-sig.exp: New file.
5529
d472f0fb
TV
55302020-04-25 Tom de Vries <tdevries@suse.de>
5531
5532 * boards/debug-types.exp: New file.
5533
8d840e05
AB
55342020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5535
5536 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5537
bcfe6157
TT
55382020-04-24 Tom Tromey <tom@tromey.com>
5539
5540 PR symtab/12707:
5541 * gdb.python/py-symbol.exp: Update expected results for
5542 linkage_name test.
5543 * gdb.cp/print-demangle.exp: New file.
5544 * gdb.base/c-linkage-name.exp: Fix test.
5545 * gdb.guile/scm-symbol.exp: Update expected results for
5546 linkage_name test.
5547
f049a313
TT
55482020-04-24 Tom Tromey <tom@tromey.com>
5549
5550 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5551 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5552 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5553 assembler.
5554
7cf28874
TV
55552020-04-24 Tom de Vries <tdevries@suse.de>
5556
5557 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5558 C++.
5559
dac2fef7
TT
55602020-04-24 Tom Tromey <tromey@adacore.com>
5561
5562 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5563 values.
5564 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5565 values. Update test for minimal encodings.
5566 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5567 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5568 values. Update test for minimal encodings.
5569
1acda803
TT
55702020-04-24 Tom Tromey <tromey@adacore.com>
5571
5572 PR python/23662:
5573 * gdb.ada/variant.exp: Add Python checks.
5574 * gdb.rust/simple.exp: Add dynamic type checks.
5575
adfb9815
TT
55762020-04-24 Tom Tromey <tromey@adacore.com>
5577
5578 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5579 Make array type matching more lax.
5580 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5581 * gdb.ada/mi_variant.exp: New file.
5582 * gdb.ada/mi_variant/pck.ads: New file.
5583 * gdb.ada/mi_variant/pkg.adb: New file.
5584 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5585 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5586
7d79de9a
TT
55872020-04-24 Tom Tromey <tromey@adacore.com>
5588
5589 * gdb.ada/variant.exp: Add dynamic field offset tests.
5590 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5591 * gdb.ada/variant/pkg.adb: Add new variables.
5592
f8e89861
TT
55932020-04-24 Tom Tromey <tromey@adacore.com>
5594
5595 * gdb.ada/variant.exp: New file
5596 * gdb.ada/variant/pkg.adb: New file
5597 * gdb.ada/variant/pck.adb: New file
5598
86e887ae
TV
55992020-04-24 Tom de Vries <tdevries@suse.de>
5600
5601 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5602
88428775
TV
56032020-04-24 Tom de Vries <tdevries@suse.de>
5604
5605 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5606 flags.
5607
4e86f6e7
TV
56082020-04-24 Tom de Vries <tdevries@suse.de>
5609
5610 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5611
2016d3e6
TV
56122020-04-24 Tom de Vries <tdevries@suse.de>
5613
5614 * lib/gdb.exp (default_gdb_start): Handle eof.
5615 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5616 failure.
5617 * gdb.base/readnever.exp: Handle clean_restart failure.
5618
70bc38f5
TV
56192020-04-23 Tom de Vries <tdevries@suse.de>
5620
5621 * gdb.base/decl-before-def.exp: Run to main and print a again.
5622
de82891c
TV
56232020-04-23 Tom de Vries <tdevries@suse.de>
5624
5625 * gdb.base/decl-before-def-decl.c: New test.
5626 * gdb.base/decl-before-def-def.c: New test.
5627 * gdb.base/decl-before-def.exp: New file.
5628
96038148
TV
56292020-04-23 Tom de Vries <tdevries@suse.de>
5630
5631 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5632
54ac3df1
TV
56332020-04-22 Tom de Vries <tdevries@suse.de>
5634
5635 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5636 debug_info_offset.
5637 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5638 before $objsfile in the line line.
5639
714534e1
TV
56402020-04-22 Tom de Vries <tdevries@suse.de>
5641
5642 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5643
16a7dbf4
MS
56442020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5645
5646 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5647 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5648 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5649 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5650 * gdb.base/jit-protocol.h: Update definitions to match all usage
5651 contexts.
5652
56532020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5654
5655 * gdb.base: Rename all jit related test and source files.
5656
56572020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5658
5659 * gdb.base/jit-reader.exp: Relax register output check.
5660
317d2668
TV
56612020-04-22 Tom de Vries <tdevries@suse.de>
5662
5663 PR symtab/25764
5664 * gdb.base/psym-external-decl-2.c: New test.
5665 * gdb.base/psym-external-decl.c: New test.
5666 * gdb.base/psym-external-decl.exp: New file.
5667 * gdb.threads/tls.exp: Add PR25807 kfail.
5668
eea9e357
TV
56692020-04-22 Tom de Vries <tdevries@suse.de>
5670
5671 PR symtab/25801
5672 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5673 in "info source" output.
5674
3d5afab3
TV
56752020-04-22 Tom de Vries <tdevries@suse.de>
5676
5677 PR symtab/25700
5678 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5679 symtab for imported_unit.c.
5680
b32102f6
GB
56812020-04-21 Gary Benson <gbenson@redhat.com>
5682
5683 * gdb.base/advance.c (func): New argument, to match call site.
5684 (func2, func3): Add return statements.
5685
d43b7a2d
TBA
56862020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5687
5688 * gdb.multi/run-only-second-inf.c: New file.
5689 * gdb.multi/run-only-second-inf.exp: New file.
5690
d89edf9b
MM
56912020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5692
5693 * gdb.btrace/multi-inferior.c: New test.
5694 * gdb.btrace/multi-inferior.exp: New file.
5695
1a476b6d
MM
56962020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5697
5698 * gdb.btrace/enable-new-thread.c: New test.
5699 * gdb.btrace/enable-new-thread.exp: New file.
5700
4778a5f8
TV
57012020-04-21 Tom de Vries <tdevries@suse.de>
5702
5703 PR gdb/25471
5704 * gdb.threads/killed-outside.c: New test.
5705 * gdb.threads/killed-outside.exp: New file.
5706
9b2c992c
GB
57072020-04-20 Gary Benson <gbenson@redhat.com>
5708
5709 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5710 * gdb.base/nested-subp2.exp: Likewise.
5711 * gdb.base/nested-subp3.exp: Likewise.
5712
b5d1d6f7
GB
57132020-04-20 Gary Benson <gbenson@redhat.com>
5714
5715 * gdb.base/nested-subp1.exp: Disable test when using clang.
5716 * gdb.base/nested-subp2.exp: Likewise.
5717 * gdb.base/nested-subp3.exp: Likewise.
5718
25230285
GB
57192020-04-20 Gary Benson <gbenson@redhat.com>
5720
5721 * gdb.cp/exception.cc: Fix compilation error with clang.
5722
fa93cc8f
GB
57232020-04-20 Gary Benson <gbenson@redhat.com>
5724
809730f3 5725 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 5726
e0c45f30
GB
57272020-04-20 Gary Benson <gbenson@redhat.com>
5728
5729 * gdb.base/jit-main.c: Fix compilation error with clang.
5730
4ddfec93
KR
57312020-04-17 Kamil Rytarowski <n54@gmx.com>
5732
5733 * gdb.base/attach-twice.c: Include "sys/types.h".
5734 (PTRACE_ATTACH): Add fallback definition.
5735 (main): Pass `0' to the 4th argument of `ptrace'.
5736
2bed205e
KR
57372020-04-17 Kamil Rytarowski <n54@gmx.com>
5738
5739 * gdb.base/fork-running-state.c: Include "signal.h".
5740
0743fc83
TT
57412020-04-17 Tom Tromey <tromey@adacore.com>
5742
5743 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5744 Update tests.
5745 * gdb.btrace/cpu.exp: Update tests.
5746 * gdb.base/maint.exp: Update tests.
5747 * gdb.base/default.exp: Update tests.
5748 * gdb.base/completion.exp: Update tests.
5749
efba5c23
TV
57502020-04-16 Tom de Vries <tdevries@suse.de>
5751
5752 PR symtab/25791
5753 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5754 (ensure_gdb_index): and factor out and move ...
5755 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5756 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5757
d191d716
TV
57582020-04-16 Tom de Vries <tdevries@suse.de>
5759
5760 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5761 loading exec.
5762
99f1bc6a
AB
57632020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5764
5765 * gdb.base/many-completions.exp: New file.
5766
194d088f
TV
57672020-04-14 Tom de Vries <tdevries@suse.de>
5768
5769 PR symtab/25718
5770 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5771
c1a66c06
TV
57722020-04-14 Tom de Vries <tdevries@suse.de>
5773
5774 PR symtab/25720
5775 * gdb.base/maint-expand-symbols-header-file.c: New test.
5776 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5777 * gdb.base/maint-expand-symbols-header-file.h: New test.
5778
21b0982c
AB
57792020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5780
5781 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5782 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5783 get_func_info.
5784 (get_func_info): Delete.
5785 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5786 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5787 * lib/dwarf.exp (get_func_info): New function.
5788
dd1cab06
TV
57892020-04-13 Tom de Vries <tdevries@suse.de>
5790
5791 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5792 to what find_gnatmake does.
5793
71ea2b6b
TV
57942020-04-10 Tom de Vries <tdevries@suse.de>
5795
5796 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5797 -readnow.
5798
bdfc1e8a
TV
57992020-04-10 Tom de Vries <tdevries@suse.de>
5800
5801 PR cli/25808
5802 * gdb.base/style.c: Add leading newlines.
5803 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5804 Check listing of main's one-line body.
5805
14ca8ecf
TV
58062020-04-08 Tom de Vries <tdevries@suse.de>
5807
5808 * lib/gdb.exp (psymtabs_p): New proc.
5809 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5810 importing unit" unsupported if there are no partial symbols.
5811
e21d048f
TV
58122020-04-08 Tom de Vries <tdevries@suse.de>
5813
5814 PR testsuite/25760
5815 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5816
25c11aca
TV
58172020-04-07 Tom de Vries <tdevries@suse.de>
5818
5819 PR symtab/25796
5820 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5821
5707e24b
TV
58222020-04-07 Tom de Vries <tdevries@suse.de>
5823
5824 * gdb.base/check-psymtab.c: New test.
5825 * gdb.base/check-psymtab.exp: New file.
5826
6ee448cc
TT
58272020-04-06 Tom Tromey <tromey@adacore.com>
5828
5829 * gdb.ada/variant-record/proc.adb: New file.
5830 * gdb.ada/variant-record/value.adb: New file.
5831 * gdb.ada/variant-record/value.s: New file.
5832 * gdb.ada/variant-record.exp: New file.
5833
9e7c9a03
HD
58342020-04-03 Hannes Domani <ssbssa@yahoo.de>
5835
5836 PR gdb/25325
5837 * gdb.cp/typed-enum.cc: New test.
5838 * gdb.cp/typed-enum.exp: New file.
5839
c90d28ac
AB
58402020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5841
5842 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5843 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5844 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5845 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5846 * gdb.opt/inline-small-func.c: New file.
5847 * gdb.opt/inline-small-func.exp: New file.
5848 * gdb.opt/inline-small-func.h: New file.
5849
34e9a9fa
AB
58502020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5851
5852 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5853 function.
5854
6a354911
AB
58552020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5856
5857 * lib/dwarf.exp (function_range): Allow compiler options to be
5858 specified.
5859
880d9777
TV
58602020-04-02 Tom de Vries <tdevries@suse.de>
5861
5862 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5863 __attribute__((always_inline)).
5864 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5865
f32682ea
TV
58662020-04-02 Tom de Vries <tdevries@suse.de>
5867
5868 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5869 (gdbserver_gdb_exit): ... here. Add timeout warning.
5870 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5871 (connect_target_extended_remote): Append new server_spawn_id to
5872 server_spawn_ids.
5873 (cleanup): New proc.
5874 (setup, <toplevel>): Call cleanup.
5875
d3214198
TV
58762020-04-02 Tom de Vries <tdevries@suse.de>
5877
5878 * gdb.base/main-psymtab.exp: New file.
5879
cc77ed24
TV
58802020-04-02 Tom de Vries <tdevries@suse.de>
5881
5882 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5883
3638a098
TT
58842020-04-01 Tom Tromey <tom@tromey.com>
5885
5886 * gdb.base/complex-parts.exp: Add type tests.
5887
c34e8714
TT
58882020-04-01 Tom Tromey <tom@tromey.com>
5889
5890 * gdb.base/complex-parts.exp: Add arithmetic tests.
5891
981c08ce
TT
58922020-04-01 Tom Tromey <tom@tromey.com>
5893
5894 * gdb.compile/compile.exp: Update.
5895 * gdb.compile/compile-cplus.exp: Update.
5896 * gdb.base/varargs.exp: Update.
5897 * gdb.base/floatn.exp: Update.
5898 * gdb.base/endianity.exp: Update.
5899 * gdb.base/callfuncs.exp (do_function_calls): Update.
5900 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5901 (complex_float_integral_args): Update.
5902 * gdb.base/complex.exp: Update.
5903 * gdb.base/complex-parts.exp: Update.
5904
3d1cfd43
TT
59052020-04-01 Tom Tromey <tromey@adacore.com>
5906
5907 * gdb.rust/union.rs: New file.
5908 * gdb.rust/union.exp: New file.
5909 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5910 (main): Update.
5911 * gdb.rust/simple.exp: Move union tests to union.exp.
5912
e033dfa9
TT
59132020-04-01 Tom Tromey <tromey@adacore.com>
5914
5915 * gdb.rust/simple.rs (main): Remove "y0".
5916
53cccef1
TBA
59172020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5918
5919 * gdb.multi/stop-all-on-exit.c: New test.
5920 * gdb.multi/stop-all-on-exit.exp: New file.
5921
60e22c1e
HD
59222020-04-01 Hannes Domani <ssbssa@yahoo.de>
5923
5924 PR gdb/24789
5925 * gdb.cp/misc.cc: Add integer reference variable.
5926 * gdb.cp/misc.exp: Add test.
5927
e139a727
TBA
59282020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5929
5930 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5931 scenario to cover execution until the end and also the case
5932
16b0db75
TV
59332020-03-31 Tom de Vries <tdevries@suse.de>
5934
5935 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5936 c. Use "maint info symtabs" to check symtab expansion.
5937
c0502da6
TV
59382020-03-30 Tom de Vries <tdevries@suse.de>
5939
5940 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5941 unsupported.
5942 (verify_psymtab_expanded): Move ...
5943 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5944 test.
5945 (readnow): New proc.
5946
5935fd15
AB
59472020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5948
5949 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5950 with $hex.
5951
1773be9e
TT
59522020-03-20 Tom Tromey <tromey@adacore.com>
5953
5954 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5955
70304be9
TT
59562020-03-20 Tom Tromey <tromey@adacore.com>
5957
5958 * gdb.ada/sub_variant/subv.adb: New file.
5959 * gdb.ada/sub_variant.exp: New file.
5960
0dd7b8f7
TV
59612020-03-20 Tom de Vries <tdevries@suse.de>
5962
5963 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5964 first break fails.
5965 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5966
cada5fc9
AB
59672020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5968
5969 * gdb.server/exit-multiple-threads.c: New file.
5970 * gdb.server/exit-multiple-threads.exp: New file.
5971
6b8c53f2
AB
59722020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5973
5974 * gdb.fortran/mixed-lang-stack.c: New file.
5975 * gdb.fortran/mixed-lang-stack.cpp: New file.
5976 * gdb.fortran/mixed-lang-stack.exp: New file.
5977 * gdb.fortran/mixed-lang-stack.f90: New file.
5978
19a2740f
AB
59792020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5980
5981 * gdb.linespec/cp-completion-aliases.cc: New file.
5982 * gdb.linespec/cp-completion-aliases.exp: New file.
5983
d8c8b848
TV
59842020-03-19 Tom de Vries <tdevries@suse.de>
5985
5986 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5987 more precise.
5988
a9933ccf
TV
59892020-03-18 Tom de Vries <tdevries@suse.de>
5990
5991 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5992 * gdb.dwarf2/break-inline-psymtab.c: New test.
5993 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5994
2f89101f
TV
59952020-03-16 Tom de Vries <tdevries@suse.de>
5996
5997 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5998 cache_verify and cache_verify_proc.
5999
6b9374f1
TV
60002020-03-15 Tom de Vries <tdevries@suse.de>
6001
6002 * gdb.server/solib-list.exp: Handle
6003 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
6004
eaeaf44c
TV
60052020-03-15 Tom de Vries <tdevries@suse.de>
6006
6007 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
6008 objfiles".
6009
3293bbaf
TT
60102020-03-14 Tom Tromey <tom@tromey.com>
6011
6012 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
6013
ab44624c
TV
60142020-03-14 Tom de Vries <tdevries@suse.de>
6015
6016 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
6017
54c43825
TV
60182020-03-14 Tom de Vries <tdevries@suse.de>
6019
6020 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
6021 result in line-by-line fashion.
6022
2ac70237
TV
60232020-03-14 Tom de Vries <tdevries@suse.de>
6024
6025 * lib/gdb.exp (supports_statement_frontiers): New proc.
6026 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
6027
09546b56
TV
60282020-03-14 Tom de Vries <tdevries@suse.de>
6029
6030 * gdb.base/printcmds.exp: Add missing quoting for "print
6031 teststring2".
6032
a1f6a07c
TT
60332020-03-13 Tom Tromey <tom@tromey.com>
6034
6035 * gdb.base/printcmds.exp (test_print_strings): Add regression
6036 test.
6037 * gdb.base/printcmds.c (charptr): New typedef.
6038 (teststring2): New global.
6039
1b83d09c
AB
60402020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
6041
6042 * gdb.base/break-interp.exp: Use the tail of the filename, not the
6043 full path in the test name.
6044 (test_ld): Add some with_test_prefix blocks to make test names
6045 unique.
6046
2d61316c
TV
60472020-03-13 Tom de Vries <tdevries@suse.de>
6048
6049 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
6050
2e9145ac
TV
60512020-03-13 Tom de Vries <tdevries@suse.de>
6052
6053 * gdb.mi/mi-sym-info.exp: Make matching more precise.
6054
96c7f873
TV
60552020-03-13 Tom de Vries <tdevries@suse.de>
6056
6057 PR symtab/25646
6058 * gdb.dwarf2/imported-unit.exp: Add test.
6059
49ba92c0
TV
60602020-03-13 Tom de Vries <tdevries@suse.de>
6061
6062 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
6063 (var1, var2): New variable.
6064 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
6065 matching symbols.
6066
301b21e0
TV
60672020-03-13 Tom de Vries <tdevries@suse.de>
6068
6069 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
6070 (Term::command): Use prompt prefix.
6071 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
6072 * gdb.tui/tui-layout-asm-short-prog.exp: Use
6073 command_no_prompt_prefix instead of prefix.
6074 * gdb.tui/tui-layout-asm.exp: Same.
6075
3f512721
SM
60762020-03-12 Simon Marchi <simon.marchi@efficios.com>
6077
6078 * gdb.base/break-interp.exp: Use foreach_with_prefix.
6079
40310f30
SM
60802020-03-12 Simon Marchi <simon.marchi@efficios.com>
6081
6082 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
6083 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
6084 on" while stepping over the test instruction, match printed
6085 message.
6086
09252140
TV
60872020-03-12 Tom de Vries <tdevries@suse.de>
6088
6089 * gdb.base/info-types.exp: Use exp_continue during matching of output
6090 of "info types".
6091
14e9c72c
TV
60922020-03-12 Tom de Vries <tdevries@suse.de>
6093
6094 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
6095
e515d67e
TV
60962020-03-12 Tom de Vries <tdevries@suse.de>
6097
6098 * gdb.fortran/module.exp: Use exp_continue during matching of output
6099 of "info variable -n".
6100
307eafd8
TV
61012020-03-12 Tom de Vries <tdevries@suse.de>
6102
6103 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
6104 gdb.dwarf2/dw2-ranges-base.c.
6105
9a2de3fc
TV
61062020-03-12 Tom de Vries <tdevries@suse.de>
6107
6108 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
6109 in presence of GLIBC debuginfo.
6110
3217502e
TV
61112020-03-12 Tom de Vries <tdevries@suse.de>
6112
6113 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
6114 $core.
6115
1281424c
TV
61162020-03-12 Tom de Vries <tdevries@suse.de>
6117
6118 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
6119 more precise.
6120
038b97fc
SM
61212020-03-11 Simon Marchi <simon.marchi@efficios.com>
6122
6123 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
6124 from Unix to Windows path.
6125
5308d1e7
TV
61262020-03-11 Tom de Vries <tdevries@suse.de>
6127
6128 * gdb.ada/minsyms.exp: Set language to ada.
6129
f870f78f
TV
61302020-03-11 Tom de Vries <tdevries@suse.de>
6131
6132 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
6133
5a13315d
TV
61342020-03-11 Tom de Vries <tdevries@suse.de>
6135
6136 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
6137
976862ed
TT
61382020-03-11 Tom Tromey <tromey@adacore.com>
6139
6140 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
6141
7462c383
TV
61422020-03-11 Tom de Vries <tdevries@suse.de>
6143
6144 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
6145
1c6c46a0
TV
61462020-03-11 Tom de Vries <tdevries@suse.de>
6147
6148 * gdb.base/break-interp.exp: Limit verbose scope.
6149
44f41bb7
TV
61502020-03-11 Tom de Vries <tdevries@suse.de>
6151
6152 * gdb.fortran/logical.f90: Define variable with character type.
6153 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
6154
b76f3a42
TV
61552020-03-11 Tom de Vries <tdevries@suse.de>
6156
6157 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
6158
1c33af77
TV
61592020-03-11 Tom de Vries <tdevries@suse.de>
6160
6161 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
6162 symtabs.
6163
8c95582d
AB
61642020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
6165 Bernd Edlinger <bernd.edlinger@hotmail.de>
6166
6167 * gdb.cp/step-and-next-inline.cc: New file.
6168 * gdb.cp/step-and-next-inline.exp: New file.
6169 * gdb.cp/step-and-next-inline.h: New file.
6170 * gdb.dwarf2/dw2-is-stmt.c: New file.
6171 * gdb.dwarf2/dw2-is-stmt.exp: New file.
6172 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
6173 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
6174 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
6175
cecf8547
AB
61762020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
6177
6178 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
6179 is-stmt flag in the line table.
6180
0ba678c9
TV
61812020-03-09 Tom de Vries <tdevries@suse.de>
6182
6183 * lib/gdb.exp (cached_file): Create cache dir.
6184
72fbdf83
TV
61852020-03-07 Tom de Vries <tdevries@suse.de>
6186
6187 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
6188 * gdb.cp/rvalue-ref-params.exp: Same.
6189
436b5e99
TV
61902020-03-06 Tom de Vries <tdevries@suse.de>
6191
6192 * lib/gdb.exp (tentative_rename, cached_file): New proc.
6193 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
6194
09f2921c
TV
61952020-03-06 Tom de Vries <tdevries@suse.de>
6196
6197 * README: Fix "the the".
6198 * gdb.base/dprintf.exp: Same.
6199
50a3cc5d
TV
62002020-03-05 Tom de Vries <tdevries@suse.de>
6201
6202 * gdb.base/maint.exp: Update "main print statistics" expected output.
6203
0a709cba
AKS
62042020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6205
6206 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
6207 (fortran_int8): Likewise.
6208 (fortran_real4): Likewise.
6209 (fortran_real8): Likewise.
6210 (fortran_complex4): Likewise.
6211 (fortran_logical4): Likewise.
6212 (fortran_character1): Likewise.
6213
5e5d66b6
AB
62142020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
6215
6216 * gdb.fortran/logical.exp: Add tests that any non-zero value is
6217 printed as true.
6218
7b973adc
SDJ
62192020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
6220
6221 * gdb.base/printcmds.exp: Add test to verify printf of a
6222 variable holding an address.
6223
478e490a
TV
62242020-03-03 Tom de Vries <tdevries@suse.de>
6225
6226 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
6227
1ef44e86
TV
62282020-03-03 Tom de Vries <tdevries@suse.de>
6229
6230 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
6231 gdb_test_multiple call.
6232
b98cc2cf
TV
62332020-03-03 Tom de Vries <tdevries@suse.de>
6234
6235 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
6236 gdb_test_multiple calls.
6237
63e163f2
AB
62382020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
6239
6240 * gdb.base/default.exp: Remove test of 'set history filename'.
6241 * gdb.base/gdbinit-history.exp: Add tests for setting the history
6242 filename to the empty string.
6243 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
6244 and GDBHISTSIZE.
6245
24ed6739
AB
62462020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
6247
6248 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
6249 disabled.
6250
590003dc 62512020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 6252 Tom de Vries <tdevries@suse.de>
590003dc
TV
6253
6254 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
6255 -prompt prefix, before user_code argument. Add -lbl option likewise.
6256 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
6257 (gdb_is_target_1): Add -prompt prefix and move to before user_code
6258 argument.
6259 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
6260 have "\r\n" at start-of-line, instead of at end-of-line.
6261
f5e46084
SM
62622020-02-28 Simon Marchi <simon.marchi@efficios.com>
6263
6264 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
6265 libinproctrace.so.
6266
f7a7000d
LM
62672020-02-28 Luis Machado <luis.machado@linaro.org>
6268
6269 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
6270 to "p/x".
6271
718e0816
LM
62722020-02-28 Luis Machado <luis.machado@linaro.org>
6273
6274 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
6275 asm/ptrace.h and error.h.
6276
13c3a74a
TV
62772020-02-28 Tom de Vries <tdevries@suse.de>
6278
6279 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
6280 (struct wrapper, do_something, mundane/symada__cS): Move ...
6281 * gdb.base/c-linkage-name-2.c: ... here. New source file.
6282 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
6283 Update "print symada__cS before partial symtab expansion" regexp.
6284 Update breakpoint location. Flush symbol cache after expansion.
6285
85d2d5bb
LM
62862020-02-28 Luis Machado <luis.machado@linaro.org>
6287
6288 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
6289
3608f86c
TV
62902020-02-27 Tom de Vries <tdevries@suse.de>
6291
6292 * config/sid.exp: Remove unused globals.
6293 * gdb.base/attach.exp: Same.
6294 * gdb.base/catch-load.exp: Same.
6295 * gdb.base/dbx.exp: Same.
6296 * lib/gdb.exp: Same.
6297 * lib/mi-support.exp: Same.
6298 * lib/prompt.exp: Same.
6299
c8d4f6df
TV
63002020-02-27 Tom de Vries <tdevries@suse.de>
6301
6302 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
6303 not set.
6304
0d79cdc4
AM
63052020-02-26 Aaron Merey <amerey@redhat.com>
6306
6307 * gdb.debuginfod: New directory for debuginfod tests.
6308 * gdb.debuginfod/main.c: New test file.
6309 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
6310
0dce4280
TV
63112020-02-26 Tom de Vries <tdevries@suse.de>
6312
6313 PR gdb/25603
6314 * gdb.base/persistent-lang.cc: New test.
6315 * gdb.base/persistent-lang.exp: New file.
6316
9e80cfa1
AB
63172020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
6318
6319 * gdb.fortran/derived-type-striding.exp: Add a new test.
6320 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
6321 new test.
6322
2078dbb2
AB
63232020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
6324
6325 * gdb.base/cached-source-file.exp: Avoid source file paths in test
6326 names.
6327
70d49700
TV
63282020-02-25 Tom de Vries <tdevries@suse.de>
6329
6330 PR go/18926
6331 * gdb.go/methods.exp: Remove gcc/93866 xfail.
6332
a88ef40d
TV
63332020-02-24 Tom de Vries <tdevries@suse.de>
6334
6335 PR gdb/25592
6336 * gdb.base/info-locals-unused-static-var.c: New test.
6337 * gdb.base/info-locals-unused-static-var.exp: New file.
6338
01b1af32
TT
63392020-02-22 Tom Tromey <tom@tromey.com>
6340
6341 * gdb.python/tui-window.exp: New file.
6342 * gdb.python/tui-window.py: New file.
6343
7c043ba6
TT
63442020-02-22 Tom Tromey <tom@tromey.com>
6345
6346 PR tui/17850:
6347 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
6348 tests.
6349
c22fef7e
TT
63502020-02-22 Tom Tromey <tom@tromey.com>
6351
6352 * gdb.tui/new-layout.exp: Add sub-layout tests.
6353
ee325b61
TT
63542020-02-22 Tom Tromey <tom@tromey.com>
6355
6356 * gdb.tui/new-layout.exp: New file.
6357
3f0cbb04
TT
63582020-02-22 Tom Tromey <tom@tromey.com>
6359
6360 * gdb.rust/rust-style.rs: New file.
6361 * gdb.rust/rust-style.exp: New file.
6362 * gdb.base/style.exp: Test structure printing.
6363 * gdb.base/style.c (struct some_struct): New type.
6364 (enum etype): New type.
6365 (struct_value): New global.
6366
75525152
TV
63672020-02-21 Tom de Vries <tdevries@suse.de>
6368
6369 PR go/18926
6370 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
6371 Remove blanket xfails. Use message argument for gdb_breakpoint.
6372 Make continuing to breakpoint test conditional on setting breakpoint.
6373 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
6374 DW_AT_name attribute. Add xfail for GCC PR93866.
6375
bd360d30
AB
63762020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
6377
6378 * gdb.dwarf2/cpp-linkage-name.c: New file.
6379 * gdb.dwarf2/cpp-linkage-name.exp: New file.
6380
c7adb09f 63812020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
6382
6383 * lib/gdb.exp (gdb_wrapper_init): Reset
6384 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
6385 not exist.
6386
a9c79803
TV
63872020-02-20 Tom de Vries <tdevries@suse.de>
6388
6389 PR go/17018
6390 * gdb.go/hello.exp: Copy ...
6391 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
6392 print of st to print value of global definition. Add xfail for GCC
6393 PR93844.
6394 * gdb.go/hello.exp: Remove printing of st before definition.
6395 * gdb.go/hello.go: Copy ...
6396 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
6397 to st.
6398 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
6399
d7445728
TV
64002020-02-20 Tom de Vries <tdevries@suse.de>
6401
6402 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
6403 (gdb_simple_compile): Handle compile_flags go by using .go extension
6404 for source file.
6405 * gdb.go/chan.exp: Use support_go_compile.
6406 * gdb.go/handcall.exp: Same.
6407 * gdb.go/hello.exp: Same.
6408 * gdb.go/integers.exp: Same.
6409 * gdb.go/max-depth.exp: Same.
6410 * gdb.go/methods.exp: Same.
6411 * gdb.go/package.exp: Same.
6412 * gdb.go/strings.exp: Same.
6413 * gdb.go/types.exp: Same.
6414 * gdb.go/unsafe.exp: Same.
6415
c9c41e6d
TV
64162020-02-19 Tom de Vries <tdevries@suse.de>
6417
6418 * gdb.python/lib-types.exp: Make xfail more strict.
6419
f20ff837
TV
64202020-02-19 Tom de Vries <tdevries@suse.de>
6421
6422 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
6423
08410482
DE
64242020-02-19 Doug Evans <dje@google.com>
6425
6426 PR rust/25535
6427 * gdb.rust/simple.exp: Add test.
6428 * gdb.rust/simple.rs: Add test.
6429
623563f7
TV
64302020-02-19 Tom de Vries <tdevries@suse.de>
6431
6432 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
6433 output line-by-line.
6434
d3308cfd
TV
64352020-02-19 Tom de Vries <tdevries@suse.de>
6436
6437 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
6438
86cbc5dc
TV
64392020-02-19 Tom de Vries <tdevries@suse.de>
6440
6441 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
6442 prelink.
6443
9db2b96b
TV
64442020-02-19 Tom de Vries <tdevries@suse.de>
6445
6446 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
6447 (gdb_do_cache): Use gdb_do_cache_wrap.
6448 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
6449
89e2fdc5
TV
64502020-02-19 Tom de Vries <tdevries@suse.de>
6451
6452 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
6453 gdb_compile option.
6454
373d7ac0
SM
64552020-02-18 Simon Marchi <simon.marchi@efficios.com>
6456
6457 * gdb.base/printcmds.exp (test_print_enums): Update expected
6458 output.
6459
b29a2df0
SM
64602020-02-18 Simon Marchi <simon.marchi@efficios.com>
6461
6462 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
6463 for "unknown".
6464
6740f0cc
SM
64652020-02-18 Simon Marchi <simon.marchi@efficios.com>
6466
6467 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
6468 enumerator.
6469
edd45eb0
SM
64702020-02-18 Simon Marchi <simon.marchi@efficios.com>
6471
6472 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
6473 FE_, add FE_NONE.
6474 (three): Update.
6475 (enum flag_enum_without_zero): New enum.
6476 (flag_enum_without_zero): New variable.
6477 (enum not_flag_enum): New enum.
6478 (three_not_flag): New variable.
6479 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
6480 (test_print_enums): Add more tests for printing flag enums.
6481
d4295de4
TV
64822020-02-18 Tom de Vries <tdevries@suse.de>
6483
6484 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
6485 (gdb_compile_ada): ... here.
6486 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
6487 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
6488
f251f505
TT
64892020-02-14 Tom Tromey <tom@tromey.com>
6490
6491 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
6492 build directory.
6493 * boards/gdbserver-base.exp: Update path to gdbserver.
6494
8f432634
TV
64952020-02-13 Tom de Vries <tdevries@suse.de>
6496
6497 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
6498
92b6eaf7
TV
64992020-02-13 Tom de Vries <tdevries@suse.de>
6500
6501 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
6502 are missing.
6503
f3b0f7fe
TV
65042020-02-13 Tom de Vries <tdevries@suse.de>
6505
6506 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6507 call.
6508
f6be8713
SDJ
65092020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6510
6511 PR tui/25126
6512 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6513 * gdb.base/cached-source-file.c: New file.
6514 * gdb.base/cached-source-file.exp: New file.
6515
b2770d5e
TV
65162020-02-11 Tom de Vries <tdevries@suse.de>
6517
6518 PR testsuite/25488
6519 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6520
44f6938e
TV
65212020-02-10 Tom de Vries <tdevries@suse.de>
6522
6523 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6524
5f0e2eb7
MR
65252020-02-10 Maciej W. Rozycki <macro@wdc.com>
6526
6527 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6528 and $after_addr are both integers before making a comparison.
6529
46ce2b6f
TV
65302020-02-09 Tom de Vries <tdevries@suse.de>
6531
6532 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6533 command output and paste it into gdb.log. If any, paste catch message
6534 to gdb.log.
6535
5abbbe1d
TT
65362020-02-07 Tom Tromey <tromey@adacore.com>
6537
6538 PR breakpoints/24915:
6539 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6540
1d5d29e7
SV
65412020-02-06 Shahab Vahedi <shahab@synopsys.com>
6542
6543 * gdb.tui/tui-missing-src.exp: Add the "missing source
6544 file" test for the TUI.
6545
b0999b9b
AB
65462020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6547
6548 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6549 including a port number in the output.
6550
c3b149eb
AKS
65512020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6552
6553 * lib/fortran.exp (fortran_int4): Handle clang.
6554 (fortran_int8): Likewise.
6555 (fortran_real4): Likewise.
6556 (fortran_real8): Likewise.
6557 (fortran_complex4): Likewise.
6558 (fortran_logical4): Likewise.
6559 (fortran_character1): Likewise.
6560
f8dcc90b
TV
65612020-02-04 Tom de Vries <tdevries@suse.de>
6562
6563 * README (Race detection): Add note.
6564
f90ac7c2
TV
65652020-02-04 Tom de Vries <tdevries@suse.de>
6566
6567 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6568
780636ae
TV
65692020-02-04 Tom de Vries <tdevries@suse.de>
6570
6571 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6572
5d2e1193
RA
65732020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6574
6575 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6576 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6577 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6578 blttar, bnetarl.
6579 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6580 binary for blttar, bnetarl.
6581 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6582 wait instruction. Delete ldmx test.
6583 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6584
e409c542
AKS
65852020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6586
6587 * gdb.fortran/array-bounds-high.exp: New file.
6588 * gdb.fortran/array-bounds-high.f90: New file.
6589
b0029748
LD
65902020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6591
6592 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6593 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6594
195a8287
TV
65952020-02-01 Tom de Vries <tdevries@suse.de>
6596
6597 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6598
42330a68
AB
65992020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6600
6601 PR tui/9765
6602 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6603 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6604
b62a8028
LM
66052020-01-29 Luis Machado <luis.machado@linaro.org>
6606
6607 * gdb.arch/aarch64-brk-patterns.c: New source file.
6608 * gdb.arch/aarch64-brk-patterns.exp: New test.
6609
5f440116
TBA
66102020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6611
6612 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6613 GCC/Clang version.
6614 * gdb.cp/pass-by-ref.exp: Ditto.
6615
ee2a6fc6
TV
66162020-01-29 Tom de Vries <tdevries@suse.de>
6617
6618 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6619 * gdb.threads/watchpoint-fork-mt.c: Same.
6620 * gdb.threads/watchpoint-fork-parent.c: Same.
6621 * gdb.threads/watchpoint-fork-st.c: Same.
6622 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6623
16b10d6e
LM
66242020-01-27 Luis Machado <luis.machado@linaro.org>
6625
6626 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6627 sitting at a syscall instruction when we hit the syscall function's
6628 breakpoint.
6629 Check PC against one obtained with the x command.
6630 Validate syscall number.
6631 (step_over_syscall): Don't continue to the syscall instruction if
6632 we're already there.
6633
b1468492
PW
66342020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6635
6636 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6637
7ffa82e1
AB
66382020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6639
6640 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6641 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6642
3d92a3e3
AB
66432020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6644
6645 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6646 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6647
94a72be7
AB
66482020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6649
6650 * gdb.base/maint.exp: Update line table parsing test.
6651 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6652
53af73bf
PA
66532020-01-24 Pedro Alves <palves@redhat.com>
6654
6655 PR gdb/25410
6656 * gdb.multi/multi-re-run-1.c: New.
6657 * gdb.multi/multi-re-run-2.c: New.
6658 * gdb.multi/multi-re-run.exp: New.
6659
1ba1ac88
AB
66602020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6661
6662 PR gdb/23718
6663 * gdb.server/server-kill-python.exp: New file.
6664
f3364a6d
AB
66652020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6666
6667 * gdb.server/multi-ui-errors.c: New file.
6668 * gdb.server/multi-ui-errors.exp: New file.
6669
733d0a67
AB
66702020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6671
6672 PR tui/9765
6673 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6674
4f13c1c0
TT
66752020-01-19 Tom Tromey <tom@tromey.com>
6676
6677 * gdb.tui/main.exp: Add check for plain "file".
6678
40c94099
CB
66792020-01-16 Christian Biesinger <cbiesinger@google.com>
6680
6681 * lib/gdb.exp: Fix spelling error (seperatelly).
6682
ff47f4f0
TT
66832020-01-14 Tom Tromey <tom@tromey.com>
6684
6685 PR symtab/12535:
6686 * gdb.python/python.exp: Test decode_line with empty string
6687 argument.
6688
717c684d
BE
66892020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6690
6691 * gdb.base/skip-inline.exp: Extend test.
6692
44e4c775
AB
66932020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6694
6695 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6696 * gdb.dwarf2/dw2-bad-elf.c: New file.
6697 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6698
d93c6db7
AB
66992020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6700
6701 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6702 _line_saw_file.
6703
9a6d629c
AB
67042020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6705
6706 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6707 border.
6708
d9ebdab7
TBA
67092020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6710
6711 * gdb.multi/multi-target.exp (setup): Factor out "info
6712 connections" and "info inferiors" tests to ...
6713 (test_info_inferiors): ... this new procedure.
6714 (top level): Run new "info-inferiors" tests.
6715
f3c469b9
PA
67162020-01-10 Pedro Alves <palves@redhat.com>
6717
6718 * gdb.server/bkpt-other-inferior.exp: New file.
6719
121b3efd
PA
67202020-01-10 Pedro Alves <palves@redhat.com>
6721
6722 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6723 of "add-inferior".
6724 * gdb.base/quit-live.exp: Likewise.
6725 * gdb.base/remote-exec-file.exp: Likewise.
6726 * gdb.guile/scm-progspace.exp: Likewise.
6727 * gdb.linespec/linespec.exp: Likewise.
6728 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6729 * gdb.mi/user-selected-context-sync.exp: Likewise.
6730 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6731 "info inferiors" tests.
6732 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6733 "add-inferior".
6734 * gdb.multi/watchpoint-multi.exp: Likewise.
6735 * gdb.python/py-inferior.exp: Likewise.
6736 * gdb.server/extended-remote-restart.exp: Likewise.
6737 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6738 "info inferiors".
6739 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6740 * gdb.trace/report.exp: Likewise.
6741
1dadb1dd
PA
67422020-01-10 Pedro Alves <palves@redhat.com>
6743
6744 * gdb.multi/multi-target.c: New file.
6745 * gdb.multi/multi-target.exp: New file.
6746 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6747 mode requested, but remote does not support non-stop".
6748
78f2c40a
PA
67492020-01-10 Pedro Alves <palves@redhat.com>
6750
6751 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6752 disconnect before reconnecting.
6753
e7af6c70
TBA
67542020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6755 Pedro Alves <palves@redhat.com>
6756
6757 * gdb.server/connect-without-multi-process.exp: Also test
6758 continuing to end.
6759
acdf84a6
PA
67602020-01-10 Pedro Alves <palves@redhat.com>
6761
6762 * gdb.base/remote-exec-file.exp: New file.
6763
873657b9
PA
67642020-01-10 Pedro Alves <palves@redhat.com>
6765
6766 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6767 output.
6768 * gdb.threads/async.c: New.
6769 * gdb.threads/async.exp: New.
6770 * gdb.multi/tids-gid-reset.c: New.
6771 * gdb.multi/tids-gid-reset.exp: New.
6772
7f0ae84c
GB
67732020-01-10 George Barrett <bob@bob131.so>
6774
6775 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6776 to help in finding the image relocation offset.
6777 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6778 options in arguments.
6779 (stap_test_no_debuginfo): Likewise.
6780 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6781 test variants.
6782 (stap_test): Add null semaphore relocation test.
6783
47e9d49d
GB
67842020-01-10 George Barrett <bob@bob131.so>
6785
6786 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6787 * gdb.base/stap-probe.exp: Likewise.
6788 (stap_test): Pass argument as an additional flag.
6789 (stap_test_no_debuginfo): Likewise.
6790 (stap_test): Check `info probes stap' output for semaphore
6791 addresses if the test binary is supposed to have them.
6792
f5a7c406
AB
67932020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6794
6795 * gdb.tui/basic.exp: Add more scrolling tests.
6796
9ae6bf64
TT
67972020-01-09 Tom Tromey <tom@tromey.com>
6798
6799 PR tui/18932:
6800 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6801 meangingful value.
6802 (Term::command, Term::resize): Update.
6803 * gdb.tui/basic.exp: Add scrolling test.
6804
b2efe70c
AB
68052020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6806
6807 * gdb.tui/tui-layout-asm.exp: New file.
6808
3804da7e
AB
68092020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6810
6811 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6812
b40aa28f
AB
68132020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6814
6815 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6816 (Term::enter_tui): Use Term::prepare_for_tui.
6817
63ffd7c9
AB
68182020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6819
6820 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6821 called.
6822
3be966f6
AB
68232020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6824
6825 * gdb.base/skip.exp: Fix race condition in test.
6826
153d79c4
AB
68272020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6828
6829 * gdb.base/backtrace.c: New file.
6830 * gdb.base/backtrace.exp: New file.
6831
f2302a34
AB
68322020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6833
6834 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6835
6ec1d75e
PW
68362020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6837
6838 * gdb.base/style.exp: Test that warnings are styled.
6839
c296cbe6
BE
68402019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6841
6842 * gdb.base/line65535.exp: New file.
6843 * gdb.base/line65535.c: New file.
6844
b28a729d
SM
68452019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6846
6847 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6848 * lib/gnat_debug_info_test.adb: New file.
6849 * gdb.ada/ptype_tagged_param.exp: Use
6850 gnat_runtime_has_debug_info, expect a different output if
6851 runtime does not have debug info.
6852
7f2d7a0d
SM
68532019-12-20 Simon Marchi <simon.marchi@efficios.com>
6854
6855 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6856 (another) quote in test name.
6857
f3bce483
SM
68582019-12-20 Simon Marchi <simon.marchi@efficios.com>
6859
6860 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6861 Add quote in test name.
6862
c855a912
TBA
68632019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6864
6865 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6866 directory instead.
6867 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6868 * gdb.cp/pass-by-ref-2.cc: New file.
6869 * gdb.cp/pass-by-ref-2.exp: New file.
6870
fc9d2d72
TT
68712019-12-20 Tom Tromey <tom@tromey.com>
6872
6873 * gdb.tui/list-before.exp: New file.
6874
77b97e00
TT
68752019-12-20 Tom Tromey <tom@tromey.com>
6876
6877 * gdb.tui/list.exp: Check for source on initial listing.
6878
f69656d0
TT
68792019-12-11 Tom Tromey <tromey@adacore.com>
6880
6881 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6882 Add crlf test.
6883
99a55965
SM
68842019-12-18 Simon Marchi <simon.marchi@efficios.com>
6885
6886 * gdb.base/default.exp: Update value of $_gdb_major.
6887
5024637f
BE
68882019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6889
6890 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6891
b63634be
BE
68922019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6893
6894 * gdb.base/skip.exp: Whitespace fix.
6895
45d73523
BE
68962019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6897
6898 * gdb.base/skip-inline.c: New file.
6899 * gdb.base/skip-inline.exp: New file.
6900
d043f8c8
SM
69012019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6902
6903 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6904 jit_function_00 to jit_function_stack_mangle.
6905 * gdb.base/jithost.c (jit_function_t): Rename to...
6906 (jit_function_stack_mangle_t): ... this.
6907 (jit_function_add_t): New typedef.
6908 (jit_function_00_code): Rename to...
6909 (jit_function_stack_mangle_code): ... this, make static.
6910 (jit_function_add_code): New.
6911 (main): Generate "add" function and call it. Adjust to changes
6912 in jithost_abi.
6913 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6914 (struct jithost_abi) <begin, end>: Remove fields.
6915 <object, function_stack_mangle, function_add>: New fields.
6916 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6917 code_end>: Remove fields.
6918 <func_stack_mangle>: New field.
6919 (read_debug_info): Adjust to renaming, create block for "add"
6920 function.
6921 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6922
873de05c
TT
69232019-12-11 Tom Tromey <tom@tromey.com>
6924
6925 * gdb.tui/resize.exp: Fix regexp.
6926 * gdb.tui/regs.exp: Fix regexps.
6927 * gdb.tui/main.exp: Fix regexp.
6928
3d979945
TT
69292019-12-11 Tom Tromey <tom@tromey.com>
6930
6931 * gdb.tui/resize.exp: Update.
6932 * gdb.tui/empty.exp (layouts): Update.
6933
2192a9d3
TT
69342019-12-11 Tom Tromey <tom@tromey.com>
6935
6936 * gdb.tui/regs.exp: Update.
6937 * gdb.tui/empty.exp (layouts): Update.
6938 * gdb.tui/basic.exp: Update.
6939 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6940
d8edc8b7
PW
69412019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6942
6943 * gdb.base/options.exp: Add -raw-values in the print completion list.
6944 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6945
4c12d936
KB
69462019-12-10 Kevin Buettner <kevinb@redhat.com>
6947
6948 * gdb.threads/omp-par-scope.c: New file.
6949 * gdb/threads/omp-par-scope.exp: New file.
6950
26b911fb
KB
69512019-12-10 Kevin Buettner <kevinb@redhat.com>
6952
bb47f919
KB
6953 * lib/gdb.exp (support_nested_function_tests): New proc.
6954
69552019-12-10 Kevin Buettner <kevinb@redhat.com>
6956
6957 * lib/gdb.exp (gdb_compile_openmp): New proc.
6958 (build_executable_from_specs): Add an "openmp" option.
6959 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6960
6c71eb7d
TT
69612019-12-10 Tom Tromey <tromey@adacore.com>
6962
6963 * gdb.ada/unchecked_union.exp: New file.
6964 * gdb.ada/unchecked_union/pck.adb: New file.
6965 * gdb.ada/unchecked_union/pck.ads: New file.
6966 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6967 * gdb-utils.exp (string_to_regexp): Also quote "?".
6968
bac7c5cf
GB
69692019-12-10 George Barrett <bob@bob131.so>
6970
6971 Test scripted probe breakpoints.
6972 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6973 * gdb.python/py-breakpoint.c (main): Likewise.
6974 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6975 specifier test.
6976 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6977
330f1d38
TBA
69782019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6979
6980 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6981 an rvalue parameter.
6982 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6983 parameter.
6984
b43315e2
AB
69852019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6986
6987 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6988 modules.
6989
54f73dad
AB
69902019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6991
6992 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6993 broken version of GCC.
6994
d57cbee9
AB
69952019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6996
6997 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6998 sym-info-cmds library.
6999 * gdb.fortran/info-types.exp: Likewise.
7000 * lib/sym-info-cmds.exp: New file.
7001
c14aab8c
TV
70022019-12-08 Tom de Vries <tdevries@suse.de>
7003
7004 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
7005
aa2d5a42
KS
70062019-12-07 Keith Seitz <keiths@redhat.com>
7007
7008 * gdb.base/corefile-buildid-shlib-shr.c: New file.
7009 * gdb.base/corefile-buildid-shlib.c: New file.
7010 * gdb.base/corefile-buildid.c: New file.
7011 * gdb.base/corefile-buildid.exp: New file.
7012
93e55f0a
TV
70132019-12-06 Tom de Vries <tdevries@suse.de>
7014
7015 * gdb.dwarf2/varval.exp: Add decl before def test.
7016
c7d12402
TBA
70172019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7018
7019 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
7020
06acc08f
TBA
70212019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7022
7023 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
7024 CV and reference conversion for overload resolution.
7025 * gdb.cp/rvalue-ref-overload.exp: Test it.
7026
e0fad1ea
PW
70272019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7028
7029 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
7030 * gdb.base/frameapply.exp: Test faas without command.
7031
8d70a9f0
AB
70322019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7033
7034 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
7035 Fortran tests.
7036 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
7037 order.
7038
36c8fb93
AB
70392019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7040
7041 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
7042 casting to type with no kind specified.
7043 (test_basic_parsing_of_type_kinds): Additional tests for types
7044 with no kind specified, and add tests for single/double
7045 precision/complex types.
7046
4139ff00
TT
70472019-12-04 Tom Tromey <tromey@adacore.com>
7048
7049 * gdb.base/endianity.c (struct other) <x>: New field.
7050 (main): Initialize it.
7051 * gdb.base/endianity.exp: Update.
7052
a05cf17a
TT
70532019-12-04 Tom Tromey <tromey@adacore.com>
7054
7055 * gdb.ada/scalar_storage/storage.adb: New file.
7056 * gdb.ada/scalar_storage/pck.adb: New file.
7057 * gdb.ada/scalar_storage/pck.ads: New file.
7058 * gdb.ada/scalar_storage.exp: New file.
7059
103a685e
TT
70602019-12-04 Tom Tromey <tromey@adacore.com>
7061
7062 * gdb.base/endianity.c (struct otherendian) <f>: New field.
7063 (main): Initialize it.
7064 * gdb.base/endianity.exp: Update.
7065
c2512106
AB
70662019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7067
7068 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
7069
293b38d6
AB
70702019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
7071
7072 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
7073 -symbol-info-module-functions and -symbol-info-module-variables.
7074
216a7e6b
AB
70752019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
7076
7077 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
7078
5bbd8269
AB
70792019-12-01 Richard Bunt <richard.bunt@arm.com>
7080 Andrew Burgess <andrew.burgess@embecosm.com>
7081
7082 * gdb.fortran/derived-type-striding.exp: New file.
7083 * gdb.fortran/derived-type-striding.f90: New file.
7084 * gdb.fortran/array-slices.exp: New file.
7085 * gdb.fortran/array-slices.f90: New file.
7086
be09caf1
PW
70872019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7088
7089 * gdb.base/define.exp: Test . in command names.
7090 * gdb.base/setshow.exp: Update test, as . is now part of
7091 command name.
7092
643c0cbe
PW
70932019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7094
7095 * gdb.base/define-prefix.exp: New file.
7096
dcdec678
AB
70972019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
7098
7099 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
7100 compile.
7101 (skip_btrace_pt_tests): Likewise.
7102
640ab947
AB
71032019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7104
7105 * gdb.fortran/info-modules.exp: Compile source files in correct
7106 order.
7107
d22670f0
KB
71082019-11-27 Kevin Buettner <kevinb@redhat.com>
7109
7110 * gdb.dwarf2/imported-unit.exp: New file.
7111 * gdb.dwarf2/imported-unit.c: New file.
7112
db5960b4
AB
71132019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7114
7115 * gdb.mi/mi-fortran-modules-2.f90: New file.
7116 * gdb.mi/mi-fortran-modules.exp: New file.
7117 * gdb.mi/mi-fortran-modules.f90: New file.
7118
7dc42066
AB
71192019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
7120
7121 * gdb.mi/mi-sym-info-1.c: New file.
7122 * gdb.mi/mi-sym-info-2.c: New file.
7123 * gdb.mi/mi-sym-info.exp: New file.
7124
0dfeecca
TT
71252019-11-22 Tom Tromey <tromey@adacore.com>
7126
7127 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
7128 * gdb.ada/tasks/foo.adb: Add another stopping location.
7129
34877895
PJ
71302019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
7131
7132 * gdb.base/endianity.c: New test.
7133 * gdb.base/endianity.exp: New file.
7134
2e84f897
LD
71352019-11-21 Lukas Durfina <ldurfina@tachyum.com>
7136
7137 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
7138
65d1cd5f
TV
71392019-11-21 Tom de Vries <tdevries@suse.de>
7140
7141 PR gdb/24956
7142 * gdb.base/ui-redirect.exp: Test output of user-defined command.
7143
4f22c3f4
SDJ
71442019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7145
7146 * gdb.python/py-progspace.exp: Add missing parentheses on some
7147 'print' commands.
7148
9f6ad286
TT
71492019-11-19 Tom Tromey <tom@tromey.com>
7150
7151 * gdb.tui/winheight.exp: New file.
7152
0b8dbf3f
AB
71532019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
7154
7155 * gdb.base/ctf-whatis.c: Delete.
7156 * gdb.base/ctf-whatis.exp: Delete.
7157 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
7158
f833b7a7
AB
71592019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
7160
7161 * gdb.base/ctf-cvexpr.exp: Delete.
7162 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
7163
30d0a636
AB
71642019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
7165
7166 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
7167 the compiler. Clean up header comment a little.
7168 * gdb.base/ctf-ptype.exp: Likewise.
7169 * gdb.base/ctf-whatis.exp: Likewise.
7170 * lib/gdb.exp (skip_ctf_tests): New proc.
7171
494409bb
SDJ
71722019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
7173
7174 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
7175 * gdb.tui/corefile-run.exp: New file.
7176
55708e99
TT
71772019-11-14 Tom Tromey <tromey@adacore.com>
7178
7179 * gdb.base/gdbvars.exp (test_convenience_variables): Add
7180 regression tests.
7181
45e42163
TT
71822019-11-12 Tom Tromey <tom@tromey.com>
7183
7184 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
7185 after any command. Expect prompt after WAIT_FOR is seen.
7186 (enter_tui): Enable resize messages.
7187 (command): Expect command in output.
7188 (get_line): Avoid error when cursor appears to be off-screen.
7189 (dump_screen): Include screen size in title.
7190 (_do_resize): New proc, from "resize".
7191 (resize): Rewrite. Do resize in two steps.
7192 * gdb.tui/empty.exp (layouts): Fix entries.
7193 (check_boxes): Remove xfail.
7194 (check_text): Dump screen on failure.
7195
086baaf1
AB
71962019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
7197
7198 * gdb.python/py-symbol.exp: Add test for
7199 gdb.lookup_static_symbols.
7200
09ff83af
AB
72012019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
7202
7203 * gdb.python/py-symbol.c: Declare and call function from new
7204 py-symbol-2.c file.
7205 * gdb.python/py-symbol.exp: Compile both source files, and add new
7206 tests for gdb.lookup_static_symbol.
7207 * gdb.python/py-symbol-2.c: New file.
7208
11af934b
TV
72092019-11-02 Tom de Vries <tdevries@suse.de>
7210
7211 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
7212 * gdb.base/anon.exp: Same.
7213 * gdb.base/auto-connect-native-target.exp: Same.
7214 * gdb.base/call-ar-st.exp: Same.
7215 * gdb.base/catch-syscall.exp: Same.
7216 * gdb.base/commands.exp: Same.
7217 * gdb.base/default.exp: Same.
7218 * gdb.base/display.exp: Same.
7219 * gdb.base/float.exp: Same.
7220 * gdb.base/foll-fork.exp: Same.
7221 * gdb.base/help.exp: Same.
7222 * gdb.base/info-macros.exp: Same.
7223 * gdb.base/info-proc.exp: Same.
7224 * gdb.base/info-target.exp: Same.
7225 * gdb.base/long_long.exp: Same.
7226 * gdb.base/macscp.exp: Same.
7227 * gdb.base/memattr.exp: Same.
7228 * gdb.base/nofield.exp: Same.
7229 * gdb.base/pointers.exp: Same.
7230 * gdb.base/printcmds.exp: Same.
7231 * gdb.base/ptype.exp: Same.
7232 * gdb.base/restore.exp: Same.
7233 * gdb.base/return.exp: Same.
7234 * gdb.base/scope.exp: Same.
7235 * gdb.base/set-noassign.exp: Same.
7236 * gdb.base/setshow.exp: Same.
7237 * gdb.base/shlib-call.exp: Same.
7238 * gdb.base/signals.exp: Same.
7239 * gdb.base/sigstep.exp: Same.
7240 * gdb.base/skip.exp: Same.
7241 * gdb.base/solib-symbol.exp: Same.
7242 * gdb.base/stap-probe.exp: Same.
7243 * gdb.base/step-line.exp: Same.
7244 * gdb.base/step-test.exp: Same.
7245 * gdb.base/style.exp: Same.
7246 * gdb.base/varargs.exp: Same.
7247 * gdb.base/vla-datatypes.exp: Same.
7248 * gdb.base/vla-ptr.exp: Same.
7249 * gdb.base/vla-sideeffect.exp: Same.
7250 * gdb.base/volatile.exp: Same.
7251 * gdb.base/watch-cond-infcall.exp: Same.
7252 * gdb.base/watchpoint.exp: Same.
7253
e96ec2ba
TV
72542019-11-02 Tom de Vries <tdevries@suse.de>
7255
7256 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
7257 * gdb.cp/cpexprs.exp: Same.
7258 * gdb.cp/except-multi-location.exp: Same.
7259 * gdb.cp/exceptprint.exp: Same.
7260 * gdb.cp/gdb2384.exp: Same.
7261 * gdb.cp/inherit.exp: Same.
7262 * gdb.cp/m-static.exp: Same.
7263 * gdb.cp/meth-typedefs.exp: Same.
7264 * gdb.cp/misc.exp: Same.
7265 * gdb.cp/namespace.exp: Same.
7266 * gdb.cp/non-trivial-retval.exp: Same.
7267 * gdb.cp/overload.exp: Same.
7268 * gdb.cp/pr17132.exp: Same.
7269 * gdb.cp/re-set-overloaded.exp: Same.
7270 * gdb.cp/rvalue-ref-types.exp: Same.
7271 * gdb.cp/templates.exp: Same.
7272
bd5766ec
LM
72732019-11-01 Luis Machado <luis.machado@linaro.org>
7274
7275 PR gdb/25124
7276
7277 * gdb.arch/pr25124.S: New file.
7278 * gdb.arch/pr25124.exp: New file.
7279
165f8965
AB
72802019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7281
7282 * gdb.fortran/info-modules.exp: Update expected results, and add
7283 additional tests for 'info module functinos', and 'info module
7284 variables'.
7285 * gdb.fortran/info-types.exp: Update expected results.
7286 * gdb.fortran/info-types.f90: Extend testcase with additional
7287 module variables and functions.
7288
59c35742
AB
72892019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7290
7291 * gdb.fortran/info-modules.exp: New file.
7292 * gdb.fortran/info-types.exp: Build with new file.
7293 * gdb.fortran/info-types.f90: Include and use new module.
7294 * gdb.fortran/info-types-2.f90: New file.
7295
f3fb2519
PW
72962019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7297
7298 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
7299 * gdb.base/settings.exp: Test all settings types using
7300 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
7301 that now verifies that the value of "maint show" is the same as
7302 returned by the settings functions. Test the type of the
7303 maintenance settings.
7304 * gdb.base/default.exp: Update show_conv_list.
7305
d1e36019
TV
73062019-10-31 Tom de Vries <tdevries@suse.de>
7307
7308 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
7309 gdb_test.
7310 * gdb.arch/amd64-disp-step.exp: Same.
7311 * gdb.asm/asm-source.exp: Same.
7312 * gdb.btrace/buffer-size.exp: Same.
7313 * gdb.btrace/cpu.exp: Same.
7314 * gdb.btrace/enable.exp: Same.
7315 * gdb.dwarf2/count.exp: Same.
7316 * gdb.dwarf2/dw2-ranges-func.exp: Same.
7317 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
7318 * gdb.fortran/vla-datatypes.exp: Same.
7319 * gdb.fortran/vla-history.exp: Same.
7320 * gdb.fortran/vla-ptype.exp: Same.
7321 * gdb.fortran/vla-value.exp: Same.
7322 * gdb.fortran/whatis_type.exp: Same.
7323 * gdb.guile/guile.exp: Same.
7324 * gdb.multi/tids.exp: Same.
7325 * gdb.python/py-finish-breakpoint.exp: Same.
7326 * gdb.python/py-framefilter.exp: Same.
7327 * gdb.python/py-pp-registration.exp: Same.
7328 * gdb.python/py-xmethods.exp: Same.
7329 * gdb.python/python.exp: Same.
7330 * gdb.server/connect-with-no-symbol-file.exp: Same.
7331 * gdb.server/no-thread-db.exp: Same.
7332 * gdb.server/run-without-local-binary.exp: Same.
7333 * gdb.stabs/weird.exp: Same.
7334 * gdb.threads/attach-many-short-lived-threads.exp: Same.
7335 * gdb.threads/thread-find.exp: Same.
7336 * gdb.threads/tls-shared.exp: Same.
7337 * gdb.threads/tls.exp: Same.
7338 * gdb.threads/wp-replication.exp: Same.
7339 * gdb.trace/ax.exp: Same.
7340 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
7341
3d11e68e
TV
73422019-10-31 Tom de Vries <tdevries@suse.de>
7343
7344 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
7345 * gdb.ada/array_subscript_addr.exp: Same.
7346 * gdb.ada/arrayidx.exp: Same.
7347 * gdb.ada/arrayparam.exp: Same.
7348 * gdb.ada/arrayptr.exp: Same.
7349 * gdb.ada/boolean_expr.exp: Same.
7350 * gdb.ada/call_pn.exp: Same.
7351 * gdb.ada/complete.exp: Same.
7352 * gdb.ada/fixed_cmp.exp: Same.
7353 * gdb.ada/fun_addr.exp: Same.
7354 * gdb.ada/funcall_param.exp: Same.
7355 * gdb.ada/interface.exp: Same.
7356 * gdb.ada/mod_from_name.exp: Same.
7357 * gdb.ada/null_array.exp: Same.
7358 * gdb.ada/packed_array.exp: Same.
7359 * gdb.ada/packed_tagged.exp: Same.
7360 * gdb.ada/print_chars.exp: Same.
7361 * gdb.ada/print_pc.exp: Same.
7362 * gdb.ada/ptype_arith_binop.exp: Same.
7363 * gdb.ada/ptype_field.exp: Same.
7364 * gdb.ada/ptype_tagged_param.exp: Same.
7365 * gdb.ada/rec_return.exp: Same.
7366 * gdb.ada/ref_tick_size.exp: Same.
7367 * gdb.ada/str_ref_cmp.exp: Same.
7368 * gdb.ada/taft_type.exp: Same.
7369 * gdb.ada/tagged.exp: Same.
7370 * gdb.ada/type_coercion.exp: Same.
7371 * gdb.ada/uninitialized_vars.exp: Same.
7372
60b6ede8
TV
73732019-10-30 Tom de Vries <tdevries@suse.de>
7374
7375 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
7376
30baf67b
TV
73772019-10-26 Tom de Vries <tdevries@suse.de>
7378
7379 * gdb.base/bigcore.c: Fix typos in comments.
7380 * gdb.base/ctf-ptype.c: Same.
7381 * gdb.base/long_long.c: Same.
7382 * gdb.dwarf2/dw2-op-out-param.S: Same.
7383 * gdb.python/py-evthreads.c: Same.
7384 * gdb.reverse/i387-stack-reverse.c: Same.
7385 * gdb.trace/tfile.c: Same.
7386 * lib/compiler.c: Same.
7387 * lib/compiler.cc: Same.
7388
158da0d1
TV
73892019-10-25 Tom de Vries <tdevries@suse.de>
7390
7391 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
7392 gdb_test_multiple calls.
7393 * gdb.reverse/sigall-reverse.exp: Same.
7394 * gdb.reverse/solib-precsave.exp: Same.
7395 * gdb.reverse/solib-reverse.exp: Same.
7396 * gdb.reverse/until-precsave.exp: Same.
7397 * gdb.reverse/until-reverse.exp: Same.
7398
4ccdfbec
TV
73992019-10-24 Tom de Vries <tdevries@suse.de>
7400
7401 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
7402 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
7403 kfail using -wrap pattern flag and convenience variable
7404 gdb_test_name.
7405
33d569b7
AB
74062019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
7407
7408 * gdb.python/py-progspace.exp: Add tests for the
7409 Progspace.block_for_pc method.
7410
4d0b984b
TT
74112019-10-23 Tom Tromey <tom@tromey.com>
7412
7413 * configure: Rebuild.
7414 * aclocal.m4: Use m4_include, not sinclude.
7415
94cb3754
TV
74162019-10-21 Tom de Vries <tdevries@suse.de>
7417
7418 * gdb.base/infcall-nested-structs.c: Add
7419 __attribute__((noinline,noclone)) to all functions.
7420 (call_all): Add missing variable initialization. Simplify return value.
7421 (breakpt): Increment volatile variable, to prevent call from being
7422 optimized out.
7423 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
7424
062f1fc1
TV
74252019-10-17 Tom de Vries <tdevries@suse.de>
7426
7427 * gdb.fortran/module.exp: Allow info variables to print info for files
7428 other than module.f90.
7429
0b54364d
AB
74302019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7431
7432 * gdb.fortran/module.exp: Extend with 'info variables' test.
7433
7ff5fae7
AB
74342019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
7435
7436 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
7437 F77_FOR_TARGET.
7438
d10eccaa
TV
74392019-10-16 Tom de Vries <tdevries@suse.de>
7440
7441 PR tdep/25096
7442 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
7443
745ff14e
TV
74442019-10-16 Tom de Vries <tdevries@suse.de>
7445
7446 PR tdep/24104
7447 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
7448 Add KFAIL for PR tdep/25096.
7449
03e1ab94
TV
74502019-10-16 Tom de Vries <tdevries@suse.de>
7451
7452 PR testsuite/25059
7453 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
7454
b17fcc10
TV
74552019-10-16 Tom de Vries <tdevries@suse.de>
7456
7457 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
7458 as signed.
7459
9223170f
SM
74602019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
7461
7462 * gdb.mi/list-thread-groups-available.exp: Read entries one by
7463 one instead of increasing timeout.
7464
d6e76313
TV
74652019-10-13 Tom de Vries <tdevries@suse.de>
7466
7467 PR record/25038
7468 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
7469 * gdb.reverse/sigall-reverse.exp: Same.
7470 * gdb.reverse/solib-precsave.exp: Same.
7471 * gdb.reverse/solib-reverse.exp: Same.
7472 * gdb.reverse/step-precsave.exp: Same.
7473 * gdb.reverse/until-precsave.exp: Same.
7474 * gdb.reverse/until-reverse.exp: Same.
7475 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
7476
6dfc0041
AA
74772019-10-10 Andreas Arnez <arnez@linux.ibm.com>
7478
7479 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
7480 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
7481 (cmp_struct_05_01, cmp_struct_static_02_01)
7482 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
7483 comparisons.
7484
abcf2cc8
TV
74852019-10-10 Tom de Vries <tdevries@suse.de>
7486
7487 PR testsuite/24888
7488 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7489 gnatlink.
7490
a50faaf6
TV
74912019-10-09 Tom de Vries <tdevries@suse.de>
7492
7493 PR testsuite/25048
7494 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
7495
60ff3cd7
AB
74962019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7497
7498 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
7499 exceptions due to missing debug information.
7500
dfee8566
TV
75012019-10-07 Tom de Vries <tdevries@suse.de>
7502
7503 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
7504
3d63690a
AB
75052019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7506
7507 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7508 * gdb.base/annota1.exp: Update to use gdb_test_name.
7509
30d1f018
WP
75102019-10-07 Weimin Pan <weimin.pan@oracle.com>
7511
7512 * gdb.base/ctf-whatis.exp: New file.
7513 * gdb.base/ctf-whatis.c: New file.
7514 * gdb.base/ctf-ptype.exp: New file.
7515 * gdb.base/ctf-ptype.c: New file.
7516 * gdb.base/ctf-constvars.exp: New file.
7517 * gdb.base/ctf-constvars.c: New file.
7518 * gdb.base/ctf-cvexpr.exp: New file.
7519
4dbbb47c
TV
75202019-10-04 Tom de Vries <tdevries@suse.de>
7521
7522 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7523 for loop.
7524
77c2dba3
TT
75252019-10-03 Tom Tromey <tom@tromey.com>
7526
7527 PR rust/24976:
7528 * gdb.rust/simple.rs (Union2): New type.
7529 (main): Use Union2.
7530 * gdb.rust/simple.exp: Add test.
7531
179aed7f
AB
75322019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7533
7534 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7535 nested function prefix.
7536
0a4b0913
AB
75372019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7538 Richard Bunt <richard.bunt@arm.com>
7539 Andrew Burgess <andrew.burgess@embecosm.com>
7540
7541 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7542 nested functions.
7543 * gdb.fortran/nested-funcs.f90: Update expected results.
7544 * gdb.fortran/nested-funcs-2.exp: New file.
7545 * gdb.fortran/nested-funcs-2.f90: New file.
7546
082cce05
AB
75472019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7548
7549 * gdb.python/py-parameter.exp: Make test names unique.
7550 * gdb.python/py-template.exp: Likewise.
7551 * gdb.python/py-value.exp: Likewise.
7552
2b74ba5a
AB
75532019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7554
7555 * gdb.base/break-interp.exp: Reduce test name duplication.
7556 * gdb.base/call-sc.exp: Likewise.
7557 * gdb.base/callfuncs.exp: Likewise.
7558 * gdb.base/charset.exp: Likewise.
7559 * gdb.base/dump.exp: Likewise.
7560 * gdb.base/ena-dis-br.exp: Likewise.
7561 * gdb.base/relational.exp: Likewise.
7562 * gdb.base/step-over-syscall.exp: Likewise.
7563 * gdb.base/structs.exp: Likewise.
7564
58eb20d5
AB
75652019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7566
7567 * gdb.linespec/explicit.exp: Make test names unique.
7568 * gdb.linespec/ls-errs.exp: Likewise.
7569
4d421147
AB
75702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7571
7572 * gdb.reverse/break-precsave.exp: Make test names unique.
7573 * gdb.reverse/break-reverse.exp: Likewise.
7574 * gdb.reverse/finish-precsave.exp: Likewise.
7575 * gdb.reverse/finish-reverse.exp: Likewise.
7576 * gdb.reverse/machinestate-precsave.exp: Likewise.
7577 * gdb.reverse/machinestate.exp: Likewise.
7578 * gdb.reverse/readv-reverse.exp: Likewise.
7579 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7580 * gdb.reverse/sigall-precsave.exp: Likewise.
7581 * gdb.reverse/sigall-reverse.exp: Likewise.
7582 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7583 * gdb.reverse/watch-precsave.exp: Likewise.
7584 * gdb.reverse/watch-reverse.exp: Likewise.
7585
d8c06f22
AB
75862019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7587
7588 * gdb.threads/stop-with-handle.c: New file.
7589 * gdb.threads/stop-with-handle.exp: New file.
7590
3a56ed86
TV
75912019-10-03 Tom de Vries <tdevries@suse.de>
7592
7593 PR testsuite/25059
7594 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7595 directory" line to be missing.
7596
42275044
TV
75972019-10-03 Tom de Vries <tdevries@suse.de>
7598
7599 PR testsuite/25059
7600 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7601 type optional.
7602
9ef62df0
AA
76032019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7604
7605 * gdb.python/py-format-string.c (string.h): New include.
7606 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7607 the same value, for endianness-independence.
7608 * gdb.python/py-format-string.exp (default_regexp_dict)
7609 (test_pretty_structs, test_format): Adjust expected output to the
7610 changed initialization.
7611
37f6a7f4
TT
76122019-10-02 Tom Tromey <tromey@adacore.com>
7613
7614 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7615
1d58d6a2
PA
76162019-10-02 Pedro Alves <palves@redhat.com>
7617 Andrew Burgess <andrew.burgess@embecosm.com>
7618
7619 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7620 "print-file-var.h".
7621 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7622 (get_version_1): Print this_version_id and its address.
7623 Add extern "C" wrappers around interface functions.
7624 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7625 "print-file-var.h".
7626 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7627 (get_version_2): Print this_version_id and its address.
7628 Add extern "C" wrappers around interface functions.
7629 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7630 <stddef.h> and "print-file-var.h".
7631 Add extern "C" wrappers around interface functions.
7632 [VERSION_ID_MAIN] (this_version_id): Define.
7633 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7634 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7635 up extern "C" blocks.
7636 * gdb.base/print-file-var.exp (test): New, factored out from top
7637 level.
7638 (top level): Test all combinations of attribute hidden or not,
7639 dlopen or not, and this_version_id symbol in main file or not.
7640 Compile tests as both C++ and C, make test names unique.
7641
d770d56f
TT
76422019-10-01 Tom Tromey <tom@tromey.com>
7643
7644 * gdb.base/style.exp: Test "show logging filename".
7645
7f6aba03
TT
76462019-10-01 Tom Tromey <tom@tromey.com>
7647
7648 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7649 * gdb.base/style.exp: Add metadata style test.
7650
14309bb6
TT
76512019-10-01 Tom Tromey <tom@tromey.com>
7652
7653 * gdb.base/style.exp: Test "pwd".
7654
2a3c1174
PA
76552019-10-01 Tom Tromey <tom@tromey.com>
7656
7657 * gdb.base/style.exp: Update tests.
7658
53d666ec
AA
76592019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7660
7661 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7662 'six' to unsigned.
7663 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7664 'five'. Use an all-ones bit pattern for each.
7665 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7666 to its changed values.
7667
4a56a520
TT
76682019-09-30 Tom Tromey <tromey@adacore.com>
7669
7670 * gdb.rust/traits.rs: Disable all warnings.
7671
0df0352a
TV
76722019-09-29 Tom de Vries <tdevries@suse.de>
7673
aac66a4c 7674 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 7675
73d9a918
TV
76762019-09-29 Tom de Vries <tdevries@suse.de>
7677
7678 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7679
060b3ab4
TV
76802019-09-27 Tom de Vries <tdevries@suse.de>
7681
7682 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7683
68f7d34d
TV
76842019-09-27 Tom de Vries <tdevries@suse.de>
7685
7686 PR record/23188
7687 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7688
5d63b30a
TT
76892019-09-26 Tom Tromey <tromey@adacore.com>
7690
7691 * gdb.ada/py_taft.exp: New file.
7692 * gdb.ada/py_taft/main.adb: New file.
7693 * gdb.ada/py_taft/pkg.adb: New file.
7694 * gdb.ada/py_taft/pkg.ads: New file.
7695
3d435220
TV
76962019-09-24 Tom de Vries <tdevries@suse.de>
7697
7698 PR gdb/24598
7699 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7700
77d03678
TV
77012019-09-22 Tom de Vries <tdevries@suse.de>
7702
7703 * gdb.base/restore.exp: Allow register variables to be optimized out at
7704 -O0.
7705
abf516c6
UW
77062019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7707
7708 * gdb.arch/spu-info.exp: Remove file.
7709 * gdb.arch/spu-info.c: Remove file.
7710 * gdb.arch/spu-ls.exp: Remove file.
7711 * gdb.arch/spu-ls.c: Remove file.
7712
7713 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7714 * gdb.asm/spu.inc: Remove file.
7715
7716 * gdb.base/dump.exp: Remove support for spu*-*-*.
7717 * gdb.base/stack-checking.exp: Likewise.
7718 * gdb.base/overlays.exp: Likewise.
7719 * gdb.base/ovlymgr.c: Likewise.
7720 * gdb.base/spu.ld: Remove file.
7721
7722 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7723 * gdb.cp/cpexprs.exp: Likewise.
7724 * gdb.cp/exception.exp: Likewise.
7725 * gdb.cp/gdb2495.exp: Likewise.
7726 * gdb.cp/mb-templates.exp: Likewise.
7727 * gdb.cp/pr9167.exp: Likewise.
7728 * gdb.cp/userdef.exp: Likewise.
7729
7730 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7731
7732 * gdb.cell: Remove directory.
7733 * lib/cell.exp: Remove file.
7734
e452e88f
TV
77352019-09-19 Tom de Vries <tdevries@suse.de>
7736
7737 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7738
8a625130
TV
77392019-09-19 Tom de Vries <tdevries@suse.de>
7740
7741 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7742
81dc3ab5
TV
77432019-09-19 Tom de Vries <tdevries@suse.de>
7744
7745 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7746 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7747 (gdb_target_cmd): ... here.
7748 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7749 value 2.
7750
b078f3ac
AB
77512019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7752
7753 * gdb.base/source-dir.exp: Avoid having directory names in test
7754 names.
7755
f1b620e9
MG
77562019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7757
7758 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7759 directory.
7760
67f3ed6a
AB
77612019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7762
7763 * gdb.base/list-missing-source.exp: New file.
7764
d1b70248
TV
77652019-09-14 Tom de Vries <tdevries@suse.de>
7766
7767 PR teststuite/24599
7768 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7769 * lib/ada.exp (gnatmake_version_at_least): New proc.
7770
5fabdcd6
AB
77712019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7772
7773 * gdb.base/maint.exp: Use exec_has_index_section.
7774
aa17805f
AB
77752019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7776
7777 * gdb.base/maint.exp: Add test for 'maint info sections'.
7778
25e5c209
TV
77792019-09-12 Tom de Vries <tdevries@suse.de>
7780
7781 * gdb.base/store.exp: Allow register variables to be optimized out at
7782 -O0.
7783
4993045d
PW
77842019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7785
7786 * gdb.ada/rdv_wait.exp: Update to new task names.
7787 * gdb.base/task_switch_in_core.exp: Likewise.
7788 * gdb.base/info_sources_base.c: Likewise.
7789
8a516164
TT
77902019-09-10 Tom Tromey <tromey@adacore.com>
7791
7792 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7793
aa391654
TT
77942019-09-10 Tom Tromey <tromey@adacore.com>
7795
7796 * gdb.ada/dgopt.exp: New file.
7797 * gdb.ada/dgopt/x.adb: New file.
7798
8634b462
TT
77992019-09-08 Tom Tromey <tom@tromey.com>
7800
7801 * gdb.tui/resize.exp: Remove setup_xfail.
7802 * gdb.tui/regs.exp: Remove setup_xfail.
7803 * gdb.tui/basic.exp: Remove setup_xfail.
7804
736b0f76
DB
78052019-09-06 David Blaikie <dblaikie@gmail.com>
7806
7807 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7808 * gdb.cp/cplabel.exp: Ditto.
7809 * gdb.linespec/ls-errs.exp: Ditto.
7810
30331a6c
TV
78112019-09-05 Tom de Vries <tdevries@suse.de>
7812
7813 * lib/gdb.exp (cmp_file_string): New proc.
7814 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7815 runto_main. Verify save breakpoints output.
7816
98b0ebab
PW
78172019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7818
7819 * gdb.base/info-var.exp: Test info variables without running
7820 to main, to avoid expect's buffer overflow.
7821
4e962e74
TT
78222019-09-03 Tom Tromey <tromey@adacore.com>
7823
7824 * gdb.ada/bias.exp: New file.
7825 * gdb.ada/bias/bias.adb: New file.
7826 * gdb.ada/print_chars.exp: Add regression test.
7827 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7828 (MC): New variable.
7829
2ea1a07a
SL
78302019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7831
7832 * gdb.base/argv0-symlink.exp: Run only on native target
7833 and local host.
7834
8077c50d
TV
78352019-08-29 Tom de Vries <tdevries@suse.de>
7836
7837 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7838 diverse debug info.
7839 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7840
48352473
TV
78412019-08-28 Tom de Vries <tdevries@suse.de>
7842
7843 * gdb.base/info-var.exp: Allow info variables to print info for files
7844 other than info-var-f1.c and info-var-f2.c.
7845
d8f27c60
AB
78462019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7847
7848 * gdb.fortran/info-types.exp: Add module.
7849 * gdb.fortran/info-types.f90: Update expected results.
7850
1f20c35e
AB
78512019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7852
7853 * gdb.fortran/info-types.exp: New file.
7854 * gdb.fortran/info-types.f90: New file.
7855 * lib/fortran.exp (fortran_character1): New proc.
7856
4acfdd20
AB
78572019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7858
7859 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7860 functions'. Reindent as needed.
7861 * gdb.base/info-var-f1.c: New file.
7862 * gdb.base/info-var-f2.c: New file.
7863 * gdb.base/info-var.exp: New file.
7864 * gdb.base/info-var.h: New file.
7865
5c31b358
TV
78662019-08-26 Tom de Vries <tdevries@suse.de>
7867
7868 PR c++/24852
7869 * gdb.cp/no-libstdcxx-probe.exp: New test.
7870
b694989f
TV
78712019-08-26 Tom de Vries <tdevries@suse.de>
7872
7873 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7874 * tests need to be skipped.
7875 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7876 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7877 mi_skip_libstdcxx_probe_tests.
7878
d9c4ba53
SDJ
78792019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7880
7881 * gdb.python/py-xmethods.exp: Use raw strings when passing
7882 arguments to SimpleXMethodMatcher.
7883
395fad09
TV
78842019-08-22 Tom de Vries <tdevries@suse.de>
7885
7886 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7887 more informative.
7888
26c957f1
PA
78892019-08-21 Pedro Alves <palves@redhat.com>
7890
7891 * gdb.base/with.exp: Test "with" with no arguments.
7892
61f80d5d
TV
78932019-08-21 Tom de Vries <tdevries@suse.de>
7894
7895 * gdb.base/gdb-caching-proc.exp: Sort files.
7896
d7a11d13
TV
78972019-08-20 Tom de Vries <tdevries@suse.de>
7898
7899 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7900 compilation.
7901
34dafe9f
TV
79022019-08-16 Tom de Vries <tdevries@suse.de>
7903
7904 * gdb.base/compare-sections.exp ("after run to main"): Allow
7905 mismatched read-only sections for PIE executables.
7906
398fdd60
TT
79072019-08-16 Tom Tromey <tom@tromey.com>
7908
7909 * lib/tuiterm.exp (_csi_Z): New proc.
7910 * gdb.tui/basic.exp: Update window positions.
7911 * gdb.tui/empty.exp: Update window positions.
7912
d8f9e51c
SL
79132019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7914
7915 * gdb.base/examine-backward.exp: Correct regexp for
7916 "examine 3 bytes backward from ${address_zero}".
7917
3df505f6
TT
79182019-08-15 Tom Tromey <tom@tromey.com>
7919
7920 * gdb.tui/empty.exp: Enable resizing tests.
7921
272560b5
TT
79222019-08-15 Tom Tromey <tromey@adacore.com>
7923
7924 * gdb.ada/char_enum.exp: Add regression tests.
7925 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7926 and '0'.
7927 (Char, Gchar): Update.
7928 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7929
08235187
CB
79302019-08-15 Christian Biesinger <cbiesinger@google.com>
7931
7932 * gdb.python/python.exp: Expect a leading underscore on
7933 GdbOutput{,Error}File.
7934
22a2ab04
SL
79352019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7936
7937 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7938 Windows host.
7939
835b995b
SL
79402019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7941
7942 * gdb.base/batch-preserve-term-settings.exp
7943 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7944
97dd8e07
CB
79452019-08-15 Christian Biesinger <cbiesinger@google.com>
7946
7947 * lib/gdb.exp: When running on a mingw target, replace
7948 /x/ with x:/.
7949
75faf5c4
AH
79502019-08-14 Alan Hayward <alan.hayward@arm.com>
7951
7952 * gdb.arch/aarch64-prologue.c: New test.
7953 * gdb.arch/aarch64-prologue.exp: New file.
7954
abc6c00f
TV
79552019-08-13 Tom de Vries <tdevries@suse.de>
7956
7957 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7958 Thread.
7959
74c2c1f4
SL
79602019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7961
7962 * gdb.python/py-completion.exp: Download the .py file to the host
7963 and use its host pathname. Conditionalize tests that use
7964 tab completion and manipulate files on the build machine.
7965 * gdb.python/py-events.exp: Download the .py file to the host
7966 and use its host pathname.
7967 * gdb.python/py-evsignal.exp: Likewise.
7968 * gdb.python/py-evthreads.exp: Likewise.
7969 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7970 pathname syntax.
7971 * gdb.python/py-framefilter.exp: Download the .py file to the right
7972 place on the host. Match Windows pathname syntax.
7973 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7974 .py file to the host and use its host pathname.
7975 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7976 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7977 build pathname. Skip symlink test on Windows host. Add missing
7978 newline at end of file.
7979 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7980 and use its host pathname.
7981 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7982 * gdb.python/py-section-script.exp: Use host location of binfile
7983 on safe-path. Use correct path separator on Windows host.
7984 Reorder alternatives in gdb_test_multiple to prevent matching
7985 the wrong alternative on success.
7986 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7987
ca2589f3
PP
79882019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7989
7990 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7991 expect the GDB inferior to no longer immediately stop after
7992 being resumed with "signal SIGINT".
7993
020a839d
SL
79942019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7995
7996 * gdb.linespec/break-ask.exp: Generalize regexps to match
7997 Windows pathnames too.
7998
128d6509
TV
79992019-08-08 Tom de Vries <tdevries@suse.de>
8000
8001 PR testsuite/24862
8002 * lib/tuiterm.exp (_accept): Fix CSI regexp.
8003
590042fc
PW
80042019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8005
8006 * gdb.base/style.exp: Update tests for help doc new invariants.
8007 * gdb.base/help.exp: Likewise.
8008
046bebe1
TT
80092019-08-06 Tom Tromey <tom@tromey.com>
8010
8011 * gdb.base/style.exp: Add disassemble test.
8012 * gdb.base/style.c (some_called_function): New function.
8013 (main): Use it.
8014
0b27c27d
CB
80152019-08-05 Christian Biesinger <cbiesinger@google.com>
8016
8017 * gdb.python/py-block.exp: Test dictionary access on blocks.
8018
580f1034
SM
80192019-08-05 Simon Marchi <simon.marchi@efficios.com>
8020
8021 PR gdb/24863
8022 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
8023 -list-thread-groups --available test when running under
8024 check-read1.
8025
d86bd7cb
TV
80262019-08-05 Tom de Vries <tdevries@suse.de>
8027
8028 PR testsuite/24863
8029 * lib/gdb.exp (with_read1_timeout_factor): New proc.
8030 * gdb.base/help.exp: Use with_read1_timeout_factor.
8031 * gdb.base/info-macros.exp: Same.
8032 * gdb.cp/nested-types.exp: Same.
8033
a80cf5d8
TV
80342019-08-05 Tom de Vries <tdevries@suse.de>
8035
8036 * lib/gdb.exp (version_at_least): Factor out of ...
8037 (tcl_version_at_least): ... here.
8038 (gdb_compile): Fail if pie results in non-PIE executable.
8039 (readelf_version, readelf_prints_pie): New proc.
8040 (exec_is_pie): Return -1 if unknown.
8041
d0962838
TV
80422019-08-05 Tom de Vries <tdevries@suse.de>
8043
8044 * lib/gdb.exp (tcl_version_at_least): Fix typo.
8045
2252ff3d
SL
80462019-08-04 Sandra Loosemore <sandra@codesourcery.com>
8047
8048 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
8049
26655f53
SL
80502019-08-04 Sandra Loosemore <sandra@codesourcery.com>
8051
8052 * lib/completion-support.exp (test_gdb_complete_none): Skip
8053 tab completion tests if no readline support.
8054 (test_gdb_complete_unique_re): Likewise.
8055 (test_gdb_complete_multiple): Likewise.
8056
db4dc13e
PW
80572019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8058
8059 * gdb.base/info_sources.exp: New file.
8060 * gdb.base/info_sources.c: New file.
8061 * gdb.base/info_sources_base.c: New file.
8062
0eba165a
PFC
80632019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8064
8065 * gdb.base/batch-exit-status.exp: Call test_exit_status with
8066 prefix argument.
8067 (test_exit_status): Add prefix argument.
8068
59bd512b
TV
80692019-08-01 Tom de Vries <tdevries@suse.de>
8070
8071 PR testsuite/24863
8072 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
8073 calling exp_continue for new thread and thread exited messages.
8074
2a3ad588
TV
80752019-08-01 Tom de Vries <tdevries@suse.de>
8076
8077 PR testsuite/24863
8078 * gdb.base/structs.exp: Fix check-read1 timeout using
8079 gdb_test_sequence.
8080 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
8081
117eb594
TV
80822019-08-01 Tom de Vries <tdevries@suse.de>
8083
8084 PR testsuite/24863
8085 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
8086 line.
8087
ed591340
TV
80882019-08-01 Tom de Vries <tdevries@suse.de>
8089
8090 PR testsuite/24863
8091 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
8092
aa3b6533
TT
80932019-07-30 Tom Tromey <tromey@adacore.com>
8094
8095 * gdb.ada/display_nested.exp: New file.
8096 * gdb.ada/display_nested/foo.adb: New file.
8097 * gdb.ada/display_nested/pack.adb: New file.
8098 * gdb.ada/display_nested/pack.ads: New file.
8099
2906593f
CB
81002019-07-30 Christian Biesinger <cbiesinger@google.com>
8101
8102 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
8103 namespace.
8104 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
8105
0f575925
TV
81062019-07-30 Tom de Vries <tdevries@suse.de>
8107
8108 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
8109 instead.
8110
b13057d9
TV
81112019-07-30 Tom de Vries <tdevries@suse.de>
8112
8113 PR testsuite/24834
8114 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
8115 (exec_is_pie): New proc.
8116
5c4dde85
CB
81172019-07-29 Christian Biesinger <cbiesinger@google.com>
8118
8119 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
8120
c620ed88
CB
81212019-07-29 Christian Biesinger <cbiesinger@google.com>
8122
8123 * gdb.python/py-objfile.c: Add global and static vars.
8124 * gdb.python/py-objfile.exp: Test new functions Objfile.
8125 lookup_global_symbol and lookup_static_symbol.
8126
3d235706
TT
81272019-07-29 Tom Tromey <tom@tromey.com>
8128
8129 * lib/tuiterm.exp (Term::_csi_@): New proc.
8130 (Term::_csi_X): Don't move cursor.
8131
c7e4c0a6
PW
81322019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8133
8134 * gdb.base/options.exp: Update backtrace - completion to
8135 new option -frame-info.
8136 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
8137 Test new 'set print frame-info'. Test backtrace -frame-info
8138 overriding 'set print frame-info'.
8139 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
8140 Test new 'set print frame-info'.
8141 Verify consistency of backtrace with and without filters, with and
8142 without -no-filters.
8143 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
8144 default.
8145
de28a3b7
TV
81462019-07-29 Tom de Vries <tdevries@suse.de>
8147
8148 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
8149 no arguments".
8150
507dd60e
TV
81512019-07-29 Tom de Vries <tdevries@suse.de>
8152
8153 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
8154 is a substring of the first for "complete non-unique file name".
8155
5beafce9
TV
81562019-07-29 Tom de Vries <tdevries@suse.de>
8157
8158 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
8159 with ".*".
8160
2d274232
TV
81612019-07-29 Tom de Vries <tdevries@suse.de>
8162
8163 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
8164 Pass prompt_regexp parameter to gdb_test_multiple calls.
8165
9197cd8b
TV
81662019-07-29 Tom de Vries <tdevries@suse.de>
8167
8168 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 8169 print registers" regexps.
9197cd8b 8170
b528dae0
TV
81712019-07-29 Tom de Vries <tdevries@suse.de>
8172
8173 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
8174
d17725d7
TV
81752019-07-29 Tom de Vries <tdevries@suse.de>
8176
8177 PR gdb/24855
8178 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
8179 (skip_python_tests_prompt): Add prompt_regexp argument to
8180 gdb_test_multiple calls.
8181
52b75bf1
TT
81822019-07-27 Tom Tromey <tom@tromey.com>
8183
8184 * gdb.tui/main.exp: New file.
8185
2b1d00c2
TT
81862019-07-27 Tom Tromey <tom@tromey.com>
8187
8188 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
8189 optional.
8190 * gdb.tui/empty.exp: New file.
8191
ded631d5
TT
81922019-07-27 Tom Tromey <tom@tromey.com>
8193
8194 * lib/tuiterm.exp (spawn): New proc.
8195 (Term::resize): New proc.
8196 * gdb.tui/resize.exp: New file.
8197
58ac439d
TT
81982019-07-27 Tom Tromey <tom@tromey.com>
8199
8200 * gdb.tui/list.exp: New file.
8201
fe1f56ee
TT
82022019-07-27 Tom Tromey <tom@tromey.com>
8203
8204 * gdb.tui/regs.exp: New file.
8205
f790b310
TT
82062019-07-27 Tom Tromey <tom@tromey.com>
8207
8208 * gdb.tui/basic.exp: Add "layout split" test.
8209
d95fc6ee
TT
82102019-07-27 Tom Tromey <tom@tromey.com>
8211
8212 * gdb.tui/basic.exp: Add "layout asm" test.
8213
c3786b3a
TT
82142019-07-27 Tom Tromey <tom@tromey.com>
8215
8216 * lib/tuiterm.exp: New file.
8217 * gdb.tui/basic.exp: New file.
8218
98a617f8
KB
82192019-07-27 Kevin Buettner <kevinb@redhat.com>
8220
8221 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
8222 Enable tests associated with this flag. Adjust regex
8223 referencing "foo_low" to now refer to "foo_cold" instead.
8224
5c076da4
KB
82252019-07-27 Kevin Buettner <kevinb@redhat.com>
8226
8227 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
8228 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
8229 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
8230 foo_cold. Revise comments to match.
8231 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
8232 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
8233 were wrapped into this proc; Call do_test in loop from outermost
8234 level.
8235 (foo_low): Rename all occurrences to "foo_cold".
8236 (backtrace from baz): New test.
8237 (x2/i foo_cold): New test.
8238 (info line *foo_cold): New test.
8239
1512d3b7
TV
82402019-07-26 Tom de Vries <tdevries@suse.de>
8241
8242 * gdb.arch/i386-pkru.exp: Fix unterminated string.
8243
297989a1
TV
82442019-07-25 Tom de Vries <tdevries@suse.de>
8245
8246 PR testsuite/24830
8247 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
8248 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
8249 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
8250 (skip_libstdcxx_probe_tests): ... here.
8251 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
8252
b3b965fb
TV
82532019-07-24 Tom de Vries <tdevries@suse.de>
8254
8255 PR testsuite/24807
8256 * gdb.objc/basicclass.m: Include stdio.h.
8257 * gdb.objc/nondebug.m: Same.
8258 * gdb.objc/objcdecode.m: Same.
8259
4625b4d0
TV
82602019-07-24 Tom de Vries <tdevries@suse.de>
8261
8262 PR testsuite/24612
8263 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
8264 additional_flags.
8265
024a5840
TV
82662019-07-24 Tom de Vries <tdevries@suse.de>
8267
8268 PR testsuite/24831
8269 * gdb.multi/tids.exp: Update error messages for info threads.
8270
c76ddaa3
TV
82712019-07-24 Tom de Vries <tdevries@suse.de>
8272
8273 * gdb.base/info-types.exp: Allow info types to print info for more than
8274 one file.
8275
9a618ef6
TV
82762019-07-23 Tom de Vries <tdevries@suse.de>
8277
8278 PR testsuite/24842
8279 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
8280 gdb_spawn_with_cmdline_opts.
8281
40eadf04
SP
82822019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
8283
8284 * gdb.arch/arm-cmse-sgstubs.c: New test.
8285 * gdb.arch/arm-cmse-sgstubs.exp: New file.
8286
5ba29434
TV
82872019-07-23 Tom de Vries <tdevries@suse.de>
8288
8289 PR testsuite/24711
8290 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
8291 issuing next command.
8292
a8e9d247
AB
82932019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
8294
8295 * gdb.ada/info_auto_lang.exp: Update expected results.
8296 * gdb.base/info-types.c: Add additional types to check.
8297 * gdb.base/info-types.exp: Update expected results.
8298
eb86c5e2
AB
82992019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
8300
8301 * gdb.base/info-types.c: New file.
8302 * gdb.base/info-types.exp: New file.
8303
01e175fe
AB
83042019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
8305
8306 * gdb.arch/riscv-bp-infcall.c: New file.
8307 * gdb.arch/riscv-bp-infcall.exp: New file.
8308
6b78c3f8
AB
83092019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
8310
8311 PR breakpoints/24541
8312 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
8313
da738167
TV
83142019-07-14 Tom de Vries <tdevries@suse.de>
8315
8316 PR testsuite/24760
8317 * gdb.objc/basicclass.exp: Fix unterminated string.
8318
0d4e84ed
AB
83192019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
8320 Andrew Burgess <andrew.burgess@embecosm.com>
8321
8322 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
8323 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
8324 negative bounds.
8325 * gdb.fortran/vla-value.exp: Print elements of an array with
8326 negative bounds.
8327 * gdb.fortran/vla.f90: Setup an array with negative bounds for
8328 testing.
8329
021d8588
AB
83302019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
8331
8332 * gdb.base/options.exp (expect_string): Dequote strings in
8333 results.
8334 (test-string): Test strings with different quoting and reindent.
8335
f06f1252
TT
83362019-07-10 Tom Tromey <tromey@adacore.com>
8337
8338 * gdb.ada/mi_ex_cond.exp: Update expected results.
8339 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
8340 * gdb.ada/mi_catch_ex.exp: Update expected results.
8341 * gdb.ada/mi_catch_assert.exp: Update expected results.
8342 * gdb.ada/catch_ex.exp (catch_exception_info)
8343 (catch_exception_entry, catch_assert_entry)
8344 (catch_unhandled_entry): Update.
8345 * gdb.ada/catch_assert_if.exp: Update expected results.
8346
b863685d
RB
83472019-07-10 Richard Bunt <richard.bunt@arm.com>
8348 Stephen Roberts <stephen.roberts@arm.com>
8349
8350 * gdb.base/define.exp: Restore original prompt.
8351
cb1e4e32
PA
83522019-07-09 Pedro Alves <palves@redhat.com>
8353
8354 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
8355 breakpoints" output.
8356 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
8357 * gdb.python/py-breakpoint.exp: No longer expect that "catch
8358 throw" creates breakpoint.
8359 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
8360 'type="catchpoint"'.
8361
b58a68fe
PA
83622019-07-09 Pedro Alves <palves@redhat.com>
8363
8364 PR c++/15468
8365 * gdb.cp/except-multi-location-lib.cc: New.
8366 * gdb.cp/except-multi-location-main.cc: New.
8367 * gdb.cp/except-multi-location.exp: New.
8368
0826779b
PW
83692019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
8370
8371 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
8372 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
8373 argument and update callers.
8374
5b0e2db4
AB
83752019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8376
8377 * gdb.arch/amd64-break-on-asm-line.S: New file.
8378 * gdb.arch/amd64-break-on-asm-line.exp: New file.
8379
1f6f6e21
PW
83802019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8381
8382 * gdb.base/printcmds.exp: Test printing C string and
8383 C wide string convenience vars without transiting via the inferior.
8384 Also make test names unique.
8385
ea142fbf
AH
83862019-07-08 Alan Hayward <alan.hayward@arm.com>
8387
5862c886 8388 PR breakpoints/25011
ea142fbf
AH
8389 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
8390
213fd9fa
PA
83912019-07-04 Pedro Alves <palves@redhat.com>
8392
8393 * lib/gdb.exp (foreach_with_prefix): Don't return early if
8394 body returned ok(0), break(3) or continue(4).
8395 * gdb.testsuite/foreach_with_prefix.exp: New file.
8396
2b40fda7
AH
83972019-07-04 Alan Hayward <alan.hayward@arm.com>
8398
8399 * gdb.server/unittest.exp: Allow 0 unit tests to run.
8400
a26c8de0
PA
84012019-07-03 Pedro Alves <palves@redhat.com>
8402
8403 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
8404 "return -code".
8405
5f4ba3e7
PA
84062019-07-03 Pedro Alves <palves@redhat.com>
8407
8408 PR cli/24732
8409 * gdb.base/shell.exp: Load completion-support.exp.
8410 Adjust expected error output. Add completion tests.
8411
a994424f
PA
84122019-07-03 Pedro Alves <palves@redhat.com>
8413
8414 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
8415 string_to_regexp.
8416
3d9be6f5
PA
84172019-07-03 Pedro Alves <palves@redhat.com>
8418
8419 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
8420 (expect_integer): Adjust to expect "-string".
8421 (expect_string): New.
8422 (all_options): Expect "-string".
8423 (test-flag, test-boolean): Adjust to expect "-string".
8424 (test-string): New proc.
8425 (top level): Call it.
8426
41fc454c
PA
84272019-07-03 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
8430 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
8431 the expected output in the success.
8432
b2b2a215
PA
84332019-07-03 Pedro Alves <palves@redhat.com>
8434
8435 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8436 Split one gdb_test_multiple call in two to avoid a race.
8437
fdbc9870
PA
84382019-07-03 Pedro Alves <palves@redhat.com>
8439
8440 * gdb.base/with.c: New file.
8441 * gdb.base/with.exp: New file.
8442
c6ac8931
PA
84432019-07-03 Pedro Alves <palves@redhat.com>
8444
8445 * gdb.base/settings.exp: Replace all references to "maint
8446 test-settings set" with references to "maint set test-settings",
8447 and all references to "maint test-settings show" with references
8448 to "maint show test-settings".
8449
970f9d09
PA
84502019-07-03 Pedro Alves <palves@redhat.com>
8451
8452 * gdb.base/settings.exp (test-string): Adjust expected out when
8453 testing "maint test-settings show filename"
8454
54d66006
PA
84552019-07-02 Pedro Alves <palves@redhat.com>
8456
8457 * gdb.base/options.exp (test-info-threads): New procedure.
8458 (top level): Call it.
8459
10d06d82
TT
84602019-06-28 Tom Tromey <tromey@adacore.com>
8461
8462 * gdb.dwarf2/ada-linkage-name.c: New file.
8463 * gdb.dwarf2/ada-linkage-name.exp: New file.
8464
3d507ff2
TT
84652019-06-27 Tom Tromey <tromey@adacore.com>
8466
d039f014 8467 PR c++/20020:
3d507ff2
TT
8468 * gdb.cp/constexpr-field.exp: Use setup_xfail.
8469
8af58ffe
TV
84702019-06-26 Tom de Vries <tdevries@suse.de>
8471
8472 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
8473
22e21752
TV
84742019-06-26 Tom de Vries <tdevries@suse.de>
8475
8476 * gdb.base/index-cache.exp: Add back missing debug option.
8477
b65b566c
PW
84782019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8479
8480 * gdb.base/alias.exp: Test non matching/non existing prefixes.
8481
5c2c8c69
TV
84822019-06-25 Tom de Vries <tdevries@suse.de>
8483
8484 PR testsuite/24727
8485 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
8486
164e3873
TV
84872019-06-24 Tom de Vries <tdevries@suse.de>
8488
8489 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
8490
824eacee
TV
84912019-06-24 Tom de Vries <tdevries@suse.de>
8492
8493 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
8494 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
8495 * gdb.trace/unavailable-dwarf-piece.exp: Same.
8496
385b97d3
TV
84972019-06-24 Tom de Vries <tdevries@suse.de>
8498
8499 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
8500
c596f180
TV
85012019-06-21 Tom de Vries <tdevries@suse.de>
8502
8503 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
8504
b13a7d03
TV
85052019-06-21 Tom de Vries <tdevries@suse.de>
8506
8507 PR testsuite/24518
8508 PR ada/24713
8509 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8510 index.
8511
899277ae
TT
85122019-06-19 Tom Tromey <tromey@adacore.com>
8513
8514 * gdb.ada/length_cond.exp: Add intro comment.
8515
680e1bee
TT
85162019-06-19 Tom Tromey <tromey@adacore.com>
8517
8518 * gdb.ada/length_cond.exp: New file.
8519 * gdb.ada/length_cond/length_cond.adb: New file.
8520 * gdb.ada/length_cond/pck.adb: New file.
8521 * gdb.ada/length_cond/pck.ads: New file.
8522
0ed4690a
TV
85232019-06-18 Tom de Vries <tdevries@suse.de>
8524
8525 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8526
d20ed5fd
TT
85272019-06-18 Tom Tromey <tromey@adacore.com>
8528
8529 * gdb.base/list0.h: Add comment explaining control character.
8530
86e04673
TV
85312019-06-18 Tom de Vries <tdevries@suse.de>
8532
8533 * boards/fission.exp: Break up long debug_flags line.
8534
c4973306
SM
85352019-06-16 Tom de Vries <tdevries@suse.de>
8536
8537 PR gdb/24445
8538 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8539 generated index.
8540
93cb9841
AB
85412019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8542
8543 PR gdb/24686
8544 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8545 improve detection of bug gdb/24541.
8546
399aaebd
SM
85472019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8548
8549 PR gdb/24669
8550 * gdb.base/index-cache.exp (uses_readnow,
8551 expecting_index_cache_use): Define global variable.
8552 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8553 expecting_index_cache_use.
8554
584a927c
AB
85552019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8556 Andrew Burgess <andrew.burgess@embecosm.com>
8557
8558 * gdb.fortran/pointers.f90: New file.
8559 * gdb.fortran/print_type.exp: New file.
8560 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8561 * gdb.fortran/vla-type.exp: Likewise.
8562 * gdb.fortran/vla-value.exp: Likewise.
8563 * gdb.mi/mi-vla-fortran.exp: Likewise.
8564
30056ea0
AB
85652019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8566
8567 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8568 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8569 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8570 as a stop reason.
8571
ec8e2b6d
AB
85722019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8573
8574 * gdb.base/annota1.exp: Update expected results.
8575 * gdb.cp/annota2.exp: Likewise.
8576 * gdb.cp/annota3.exp: Likewise.
8577
09e4c4e1
AB
85782019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8579
8580 * gdb.base/style-logging.exp: Remove path from test name.
8581
0735b091
TT
85822019-06-14 Tom Tromey <tromey@adacore.com>
8583
8584 PR gdb/24502:
8585 * gdb.base/style-logging.exp: New file.
8586
f5686554
TT
85872019-06-14 Tom Tromey <tromey@adacore.com>
8588
8589 * gdb.base/symfile-warn.exp: New file.
8590 * gdb.base/symfile-warn.c: New file.
8591
a0c1ffed
TT
85922019-06-14 Tom Tromey <tromey@adacore.com>
8593
8594 * gdb.base/annotate-symlink.exp: New file.
8595
f411722c
TT
85962019-06-14 Tom Tromey <tromey@adacore.com>
8597
8598 * gdb.ada/set_wstr.exp: Add reassignment test.
8599
4268ec18
TT
86002019-06-14 Tom Tromey <tromey@adacore.com>
8601
8602 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8603 'unchecked_access and 'unrestricted_access as well.
8604
9a9e394b
TT
86052019-06-14 Tom Tromey <tromey@adacore.com>
8606
8607 PR ada/24539:
8608 * gdb.ada/vla.exp: Update tests.
8609 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8610 pragma.
8611
4c048731
PA
86122019-06-13 Pedro Alves <palves@redhat.com>
8613
8614 * gdb.base/settings.exp (test-integer): Test junk after
8615 "unlimited".
8616
6665660a
PA
86172019-06-13 Pedro Alves <palves@redhat.com>
8618
8619 * gdb.base/options.exp (test-thread-apply): New.
8620 (top level): Call it.
8621
5d707134
PA
86222019-06-13 Pedro Alves <palves@redhat.com>
8623
8624 * gdb.base/options.exp (test-frame-apply): New.
8625 (top level): Test print commands with different "frame apply"
8626 prefixes.
8627
e2a689da
PA
86282019-06-13 Pedro Alves <palves@redhat.com>
8629
e79be6e5 8630 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
8631 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8632 'max_completions' parameter and handle it.
8633 (test_gdb_completion_offers_commands): New.
8634
90a1ef87
PA
86352019-06-13 Pedro Alves <palves@redhat.com>
8636
8637 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8638
d4c16835
PA
86392019-06-13 Pedro Alves <palves@redhat.com>
8640
8641 * gdb.base/options.exp (test-backtrace): New.
8642 (top level): Call it.
8643
2daf894e
PA
86442019-06-13 Pedro Alves <palves@redhat.com>
8645
8646 * gdb.guile/scm-frame-args.exp: Use "set print
8647 raw-frame-arguments" instead of "set print raw frame-arguments".
8648 * gdb.python/py-frame-args.exp: Likewise.
8649
e6ed716c
PA
86502019-06-13 Pedro Alves <palves@redhat.com>
8651
8652 * gdb.compile/compile.exp: Adjust expected output to option
8653 processing changes.
8654
7d8062de
PA
86552019-06-13 Pedro Alves <palves@redhat.com>
8656
8657 * gdb.base/options.exp: Build executable.
8658 (test-print): New procedure.
8659 (top level): Call it, once for "print" and another for "compile
8660 print".
8661
9d0faba9
PA
86622019-06-13 Pedro Alves <palves@redhat.com>
8663
8664 * gdb.base/options.c: New file.
8665 * gdb.base/options.exp: New file.
8666
dee7b4c8
PA
86672019-06-13 Pedro Alves <palves@redhat.com>
8668
8669 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8670 that "o" is ambiguous.
8671
dca0f6c0
PA
86722019-06-13 Pedro Alves <palves@redhat.com>
8673
8674 * gdb.base/settings.c: New file.
8675 * gdb.base/settings.exp: New file.
8676
ccf46844
PA
86772019-06-13 Pedro Alves <palves@redhat.com>
8678
8679 * gdb.base/completion.exp: Fix comment typo.
8680
b9a3f842
PA
86812019-06-13 Pedro Alves <palves@redhat.com>
8682
8683 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8684 foo --1" test.
8685
d106773e
PA
86862019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8687
8688 * gdb.fortran/block-data.f: New.
8689 * gdb.fortran/block-data.exp: New.
8690
fea82da0
TV
86912019-06-11 Tom de Vries <tdevries@suse.de>
8692
8693 PR testsuite/24521
8694 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8695 message.
8696
8c2e74f1
TV
86972019-06-11 Tom de Vries <tdevries@suse.de>
8698
8699 PR testsuite/24521
8700 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8701
b49851c8
TV
87022019-06-11 Tom de Vries <tdevries@suse.de>
8703
8704 * boards/readnow.exp: New file.
8705
a7067863
AB
87062019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8707
8708 * gdb.fortran/vla-sizeof.exp: Update expected results.
8709
1a3da2cd
AB
87102019-06-06 Amos Bird <amosbird@gmail.com>
8711
8712 * gdb.base/annota1.exp (thread_switch): Add test for
8713 thread-exited annotation.
8714
3847a7bf
TT
87152019-06-06 Tom Tromey <tromey@adacore.com>
8716
8717 * gdb.base/maint.exp: Expect command started/finished output.
8718
0088ba59
AB
87192019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8720
8721 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8722 comment.
8723 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8724
312617a3
AB
87252019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8726
8727 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8728 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8729 * gdb.arch/riscv-unwind-long-insn.c: New file.
8730 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8731
e1f2e1a2
CB
87322019-06-04 Christian Biesinger <cbiesinger@google.com>
8733
d3238f7d 8734 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 8735
206584bd
PW
87362019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8737
8738 * lib/gdb.exp (help_list_trailer): New regexp variable
8739 factorizing the help trailer message.
8740 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8741 arg to allow to better factorize various tests.
8742 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8743 (test_prefix_command_help): Use help_list_trailer.
8744 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8745 * gdb.guile/scm-cmd.exp: Likewise.
8746 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8747 * gdb.base/help.exp: Use test_user_defined_class_help.
8748 * gdb.base/style.exp: Add tests for styling of help and apropos.
8749 * lib/gdb-utils.exp (style): Add title and highlight styles.
8750
708dc93e
PW
87512019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8752
8753 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8754 $_shell_exitsignal.
8755 * gdb.base/default.exp: Update for new convenience variables.
8756
f49055a5
TT
87572019-05-29 Tom Tromey <tromey@adacore.com>
8758
8759 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8760 to "break complete ada" test case's regexp.
8761
4330d61d
TT
87622019-05-29 Tom Tromey <tromey@adacore.com>
8763
8764 PR c++/20020:
8765 * gdb.cp/constexpr-field.exp: New file.
8766 * gdb.cp/constexpr-field.cc: New file.
8767
000439d5
TT
87682019-05-29 Tom Tromey <tromey@adacore.com>
8769
8770 * gdb.base/finish.exp (finish_no_print): New proc.
8771 (finish_tests): Call it.
8772
5a01c34c
TV
87732019-05-24 Tom de Vries <tdevries@suse.de>
8774
8775 * gdb.dwarf2/gdb-add-index.exp: New file.
8776
18125b16
TT
87772019-05-22 Tom Tromey <tromey@adacore.com>
8778
8779 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8780 * gdb.base/style.exp: Use "style".
8781 * lib/gdb-utils.exp (style): New proc.
8782
af1a8d03
TV
87832019-05-22 Tom de Vries <tdevries@suse.de>
8784
8785 * gdb.base/align.exp: Require c++11.
8786
e7fe496b
TV
87872019-05-22 Tom de Vries <tdevries@suse.de>
8788
8789 PR testsuite/24586
8790 * gdb.python/py-mi-var-info-path-expression.exp: Call
8791 mi_skip_python_tests to check if python is supported.
8792
8fca4da0
AH
87932019-05-22 Alan Hayward <alan.hayward@arm.com>
8794
8795 * gdb.arch/aarch64-pauth.c: New test.
8796 * gdb.arch/aarch64-pauth.exp: New file.
8797
b7060614
AH
87982019-05-22 Alan Hayward <alan.hayward@arm.com>
8799
8800 * README (Re-running Tests Outside The Testsuite): New section.
8801
669d0468
TV
88022019-05-21 Tom de Vries <tdevries@suse.de>
8803
8804 * gdb.arch/amd64-eval.exp: Require c++11.
8805 * gdb.base/max-depth.exp: Same.
8806 * gdb.compile/compile-cplus-array-decay.exp: Same.
8807 * gdb.cp/meth-typedefs.exp: Same.
8808 * gdb.cp/subtypes.exp: Same.
8809 * gdb.cp/temargs.exp: Same.
8810
ce3ebcaa
AH
88112019-05-21 Alan Hayward <alan.hayward@arm.com>
8812
8813 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8814
34d11c68
AB
88152019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8816
8817 PR gdb/18644
8818 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8819 * gdb.fortran/printing-types.exp: Add new test.
8820 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8821 testing.
8822 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8823 setup_kfail call.
8824
87781e84
AH
88252019-05-17 Alan Hayward <alan.hayward@arm.com>
8826
8827 * README (Running the Testsuite): Change example.
8828 (Testsuite Parameters): Remove TRANSCRIPT.
8829 * lib/gdb.exp: Remove TRANSCRIPT check.
8830
b420b89e
AH
88312019-05-17 Alan Hayward <alan.hayward@arm.com>
8832
8833 * README (Testsuite Parameters): Add replay logging to
8834 GDBSERVER_DEBUG.
8835 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8836 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8837 as a comma separated list.
8838 (gdb_debug_init): Override procedure.
8839
408e9b8b
AH
88402019-05-17 Alan Hayward <alan.hayward@arm.com>
8841
8842 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8843 (gdb_write_cmd_file): New procedure.
8844 * lib/gdbserver-support.exp (gdbserver_start): Call
8845 gdbserver_write_cmd_file.
8846 (gdbserver_write_cmd_file): New procedure.
8847
f9e2e39d
AH
88482019-05-17 Alan Hayward <alan.hayward@arm.com>
8849
8850 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8851 (delete_breakpoints): Likewise.
8852 (gdb_run_cmd): Likewise.
8853 (gdb_start_cmd): Likewise.
8854 (gdb_starti_cmd): Likewise.
8855 (gdb_internal_error_resync): Likewise.
8856 (gdb_test_multiple): Likewise.
8857 (gdb_reinitialize_dir): Likewise.
8858 (default_gdb_exit): Likewise.
8859 (gdb_file_cmd): Mark kill as optional.
8860 (default_gdb_start): Call gdb_stdin_log_init.
8861 (send_gdb): Call gdb_stdin_log_write.
8862 (rerun_to_main): Mark Y as an answer.
8863 (gdb_stdin_log_init): New function.
8864 (gdb_stdin_log_write): Likewise.
8865
81f47ac2
AH
88662019-05-17 Alan Hayward <alan.hayward@arm.com>
8867
8868 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8869 * gdb.base/debug-expr.exp: Likewise.
8870 * gdb.base/foll-fork.exp: Likewise.
8871 * gdb.base/foll-vfork.exp: Likewise.
8872 * gdb.base/fork-print-inferior-events.exp: Likewise.
8873 * gdb.base/gdb-sigterm.exp: Likewise.
8874 * gdb.base/gdbinit-history.exp: Likewise.
8875 * gdb.base/osabi.exp: Likewise.
8876 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8877 * gdb.base/ui-redirect.exp: Likewise.
8878 * gdb.gdb/unittest.exp: Likewise.
8879 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8880 * gdb.mi/mi-watch.exp: Likewise.
8881 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8882 * gdb.mi/user-selected-context-sync.exp: Likewise.
8883 * gdb.python/python.exp: Disable debug test when debugging.
8884 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8885 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8886 Likewise.
8887 * gdb.threads/stepi-random-signal.exp: Likewise.
8888
29b52314
AH
88892019-05-17 Alan Hayward <alan.hayward@arm.com>
8890
8891 * Makefile.in: Pass through GDB_DEBUG.
8892 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8893 (gdb,debug): Add board setting.
8894 * lib/gdb.exp (default_gdb_start): Start debugging.
8895 (gdb_debug_enabled): New procedure.
8896 (gdb_debug_init): Likewise.
29b52314
AH
8897
88982019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8899
29b52314
AH
8900 * Makefile.in: Pass through GDB_DEBUG.
8901 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8902 (gdb,debug): Add board setting.
8903 * lib/gdb.exp (default_gdb_start): Start debugging.
8904 (gdb_debug_enabled): New procedure.
8905 (gdb_debug_init): Likewise.
29b52314 8906
ca1285d1
AH
89072019-05-17 Alan Hayward <alan.hayward@arm.com>
8908
8909 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8910
f3a09c80
AH
89112019-05-17 Alan Hayward <alan.hayward@arm.com>
8912
8913 * gdb.base/ui-redirect.exp: Test redirection.
8914
26648588
JV
89152019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8916
8917 * gdb.mi/mi-complete.exp: New file.
8918 * gdb.mi/mi-complete.cc: Likewise.
8919
14237686
AB
89202019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8921
8922 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8923 indexed and sliced arrays, and pointers to arrays.
8924
e7bd7fba
TT
89252019-05-14 Tom Tromey <tromey@adacore.com>
8926
8927 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8928 styling test.
8929
2764128d
TV
89302019-05-14 Tom de Vries <tdevries@suse.de>
8931
8932 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8933 selection entry encoding.
8934
71bed2db
TT
89352019-05-10 Tom Tromey <tromey@adacore.com>
8936
8937 * gdb.ada/info_exc.exp: Add "complete" test.
8938
63b667ad
TV
89392019-05-09 Tom de Vries <tdevries@suse.de>
8940
8941 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8942 CU-relative.
8943
9cfd2b89
TV
89442019-05-09 Tom de Vries <tdevries@suse.de>
8945
8946 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8947 CU-relative.
8948
2228ef77
XR
89492019-05-08 Joel Brobecker <brobecker@adacore.com>
8950
8951 * gdb.ada/frame_arg_lang.exp: New testcase.
8952 * gdb.ada/frame_arg_lang/bla.adb: New file.
8953 * gdb.ada/frame_arg_lang/pck.ads: New file.
8954 * gdb.ada/frame_arg_lang/pck.adb: New file.
8955 * gdb.ada/frame_arg_lang/foo.c: New file.
8956
80e55b13
TT
89572019-05-08 Tom Tromey <tromey@adacore.com>
8958
8959 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8960
9d3421af
TT
89612019-05-08 Tom Tromey <tromey@adacore.com>
8962
8963 * gdb.base/ptype-offsets.exp: Update tests.
8964
844333e2
TT
89652019-05-08 Tom Tromey <tromey@adacore.com>
8966
8967 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8968 cases.
8969 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8970 "short".
8971
988915ee
TT
89722019-05-08 Tom Tromey <tromey@adacore.com>
8973
8974 * gdb.ada/vla.exp: New file.
8975 * gdb.ada/vla/vla.adb: New file.
8976
7bd55dac
TV
89772019-05-07 Tom de Vries <tdevries@suse.de>
8978
8979 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8980
75f06e9d
TV
89812019-05-07 Tom de Vries <tdevries@suse.de>
8982
8983 PR testsuite/24522
8984 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8985 section.
8986
77e7aaa4
TV
89872019-05-07 Tom de Vries <tdevries@suse.de>
8988
8989 PR testsuite/24522
8990 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8991 .debug_aranges section.
8992
456ba0fa
TV
89932019-05-07 Tom de Vries <tdevries@suse.de>
8994
8995 PR testsuite/24159
8996 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8997
5a56d6a6
TV
89982019-05-06 Tom de Vries <tdevries@suse.de>
8999
9000 * lib/gdb.exp (exec_has_index_section): New proc.
9001 * gdb.base/index-cache.exp: Handle case that binfile contains an index
9002 section.
9003
9d6d4be8
TV
90042019-05-04 Tom de Vries <tdevries@suse.de>
9005
9006 * boards/cc-with-debug-names.exp: New file.
9007
222a8d25
TT
90082019-05-03 Tom Tromey <tromey@adacore.com>
9009
9010 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
9011 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
9012 * gdb.ada/char_enum.exp: Add test.
9013
0fdfd794
TV
90142019-05-03 Tom de Vries <tdevries@suse.de>
9015
9016 * boards/cc-with-gdb-index.exp: New file.
9017
80062eb9
AB
90182019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
9019
9020 * gdb.rust/simple.exp: Add new test case.
9021 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
9022 (main): Initialise an instance of the new struct.
9023
4504bbde
TT
90242019-05-01 Tom Tromey <tromey@adacore.com>
9025
9026 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
9027 record.
9028 (NPR): New variable.
9029 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
9030 test.
9031
d48e62f4
TT
90322019-05-01 Tom Tromey <tromey@adacore.com>
9033
9034 * gdb.ada/packed_array_assign.exp: Add packed assignment
9035 regression test.
9036
f59f30f5
TV
90372019-05-01 Tom de Vries <tdevries@suse.de>
9038
9039 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
9040
b70bfc54
TV
90412019-05-01 Tom de Vries <tdevries@suse.de>
9042
9043 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
9044
15f18d14
AT
90452019-04-30 Ali Tamur <tamur@google.com>
9046
9047 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
9048
2ff0a947
TT
90492019-04-30 Tom Tromey <tromey@adacore.com>
9050
9051 * lib/ada.exp (find_ada_tool): New proc.
9052 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
9053 * gdb.ada/catch_ex_std.exp: New file.
9054 * gdb.ada/catch_ex_std/foo.adb: New file.
9055 * gdb.ada/catch_ex_std/some_package.adb: New file.
9056 * gdb.ada/catch_ex_std/some_package.ads: New file.
9057
a776957c
TT
90582019-04-30 Tom Tromey <tromey@adacore.com>
9059
9060 PR c++/24470:
9061 * gdb.cp/temargs.cc: Add test code from PR.
9062
bc68014d
AB
90632019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9064
9065 * gdb.fortran/vla-datatypes.exp: Update expected results.
9066 * gdb.fortran/vla-ptype.exp: Likewise.
9067 * gdb.fortran/vla-type.exp: Likewise.
9068 * gdb.fortran/vla-value.exp: Likewise.
9069
f1fdc960
AB
90702019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9071
9072 * gdb.fortran/ptr-indentation.exp: Update expected results.
9073 * gdb.fortran/ptype-on-functions.exp: Likewise.
9074 * gdb.fortran/vla-ptr-info.exp: Likewise.
9075 * gdb.fortran/vla-value.exp: Likewise.
9076
bf7a4de1
AB
90772019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9078
9079 * gdb.fortran/ptype-on-functions.exp: New file.
9080 * gdb.fortran/ptype-on-functions.f90: New file.
9081
bbe75b9d
AB
90822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9083
9084 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
9085 case void string.
9086
1db455a7
AB
90872019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9088
9089 * gdb.fortran/complex.exp: Expand.
9090 * gdb.fortran/complex.f: Renamed to...
9091 * gdb.fortran/complex.f90: ...this, and extended to add more
9092 complex values.
9093
b6d03bb2
AB
90942019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
9095
9096 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
9097 MODULO, CMPLX.
9098
2e62ab40
AB
90992019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
9100 Richard Bunt <richard.bunt@arm.com>
9101
9102 * gdb.base/max-depth.c: New file.
9103 * gdb.base/max-depth.exp: New file.
9104 * gdb.python/py-nested-maps.c: New file.
9105 * gdb.python/py-nested-maps.exp: New file.
9106 * gdb.python/py-nested-maps.py: New file.
9107 * gdb.python/py-format-string.exp (test_max_depth): New proc.
9108 (test_all_common): Call test_max_depth.
9109 * gdb.fortran/max-depth.exp: New file.
9110 * gdb.fortran/max-depth.f90: New file.
9111 * gdb.go/max-depth.exp: New file.
9112 * gdb.go/max-depth.go: New file.
9113 * gdb.modula2/max-depth.exp: New file.
9114 * gdb.modula2/max-depth.c: New file.
9115 * lib/gdb.exp (get_print_expr_at_depths): New proc.
9116
d2b584a5
TV
91172019-04-29 Tom de Vries <tdevries@suse.de>
9118
9119 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
9120
136afab8
PW
91212019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9122
9123 * gdb.base/callexit.exp: Test may-call-functions off.
9124
725cbb63
KS
91252019-04-25 Keith Seitz <keiths@redhat.com>
9126
9127 PR c++/24367
9128 * gdb.cp/meth-typedefs.cc (incomplete_struct)
9129 (another_incomplete_struct, test_incomplete): New definitions.
9130 (main): Use new definitions.
9131 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
9132 functions.
9133
701adfb0
PA
91342019-04-25 Ali Tamur <tamur@google.com>
9135
9136 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
9137
82433e3e
SDJ
91382019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
9139
9140 PR corefiles/11608
9141 PR corefiles/18187
9142 * gdb.base/coredump-filter-build-id.exp: New file.
9143
dd06d4d6
AH
91442019-04-25 Alan Hayward <alan.hayward@arm.com>
9145
e79be6e5
SM
9146 * Makefile.in: Pass through GDBSERVER_DEBUG.
9147 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
9148 (gdbserver,debug): Add board setting.
9149 * gdb.trace/tspeed.exp: Skip when debugging.
9150 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
9151 * lib/gdbserver-support.exp: Likewise
dd06d4d6 9152
1670072e
TT
91532019-04-24 Tom Tromey <tromey@adacore.com>
9154
9155 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
9156 Rust.
9157
a59240a4
TT
91582019-04-24 Tom Tromey <tromey@adacore.com>
9159
9160 * gdb.arch/amd64-eval.exp: Test bitfield return.
9161 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
9162 (class Foo) <return_bitfields>: New method.
9163 (main): Call it.
9164
b907456c
AB
91652019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
9166
9167 * gdb.cp/many-args.cc: New file.
9168 * gdb.cp/many-args.exp: New file.
9169
5c565afd
TV
91702019-04-23 Tom de Vries <tdevries@suse.de>
9171
9172 PR gdb/24433
9173 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
9174
ba22ff86
AH
91752019-04-23 Alan Hayward <alan.hayward@arm.com>
9176
9177 * gdb.trace/backtrace.exp: Use nopie flag.
9178 * gdb.trace/circ.exp: Likewise.
9179 * gdb.trace/collection.exp: Likewise.
9180 * gdb.trace/ftrace.exp: Likewise.
9181 * gdb.trace/mi-trace-unavailable.exp: Likewise.
9182 * gdb.trace/mi-traceframe-changed.exp: Likewise.
9183 * gdb.trace/qtro.exp: Likewise.
9184 * gdb.trace/read-memory.exp: Likewise.
9185 * gdb.trace/report.exp: Likewise.
9186 * gdb.trace/tfile.exp: Likewise.
9187 * gdb.trace/tfind.exp: Likewise.
9188 * gdb.trace/unavailable.exp: Likewise.
9189
7905fc35
PA
91902019-04-22 Pedro Alves <palves@redhat.com>
9191
9192 * gdb.base/solib-probes-nosharedlibrary.c,
9193 gdb.base/solib-probes-nosharedlibrary.exp: New files.
9194
8ecb59f8
TT
91952019-04-19 Tom Tromey <tromey@adacore.com>
9196
9197 * gdb.ada/ptype_union.c: New file.
9198 * gdb.ada/ptype_union.exp: New file.
9199
62160ec9
TT
92002019-04-19 Tom Tromey <tromey@adacore.com>
9201
9202 PR symtab/24423:
9203 * gdb.base/list0.h (foo): Add a control-l character.
9204
36cd4ba5
TV
92052019-04-18 Tom de Vries <tdevries@suse.de>
9206
9207 PR gdb/24433
9208 * boards/local-board.exp: Set sysroot to "".
9209
b73715df
TV
92102019-04-18 Tom de Vries <tdevries@suse.de>
9211 Pedro Alves <palves@redhat.com>
9212
9213 PR gdb/24454
9214 * gdb.threads/vfork-follow-child-exec.c: New file.
9215 * gdb.threads/vfork-follow-child-exec.exp: New file.
9216 * gdb.threads/vfork-follow-child-exit.c: New file.
9217 * gdb.threads/vfork-follow-child-exit.exp: New file.
9218
4aa866af
LS
92192019-04-15 Leszek Swirski <leszeks@google.com>
9220
9221 * gdb.arch/amd64-eval.cc: New file.
9222 * gdb.arch/amd64-eval.exp: New file.
9223
e5a1a79a
AH
92242019-04-11 Alan Hayward <alan.hayward@arm.com>
9225
9226 * gdb.server/sysroot.c: New test.
9227 * gdb.server/sysroot.exp: New file.
9228 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
9229 matching param.
9230
41077b66
AB
92312019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
9232
9233 * gdb.base/align.exp: Extend test to cover structures containing
9234 only static fields.
9235
c30391f8
TV
92362019-04-11 Tom de Vries <tdevries@suse.de>
9237
9238 * boards/cc-with-dwz-m.exp: New file.
9239 * boards/cc-with-dwz.exp: New file.
9240 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
9241
e242fd12
SM
92422019-04-09 Simon Marchi <simon.marchi@efficios.com>
9243
9244 * gdb.base/start-cpp.exp: New file.
9245 * gdb.base/start-cpp.cc: New file.
9246
2b0c8b01
KB
92472019-04-08 Kevin Buettner <kevinb@redhat.com>
9248
9249 * gdb.python/py-thrhandle.exp: Adjust tests to call
9250 thread_from_handle instead of thread_from_thread_handle.
9251
947210e5
KB
92522019-04-08 Kevin Buettner <kevinb@redhat.com>
9253
9254 * gdb.python/py-thrhandle.exp: Add tests for
9255 gdb.InferiorThread.handle.
9256
d7df6549
AB
92572019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
9258
9259 * gdb.python/py-function.exp: Check calling helper function from
9260 all languages.
9261 * lib/gdb.exp (gdb_supported_languages): New proc.
9262
8bdc1658
AB
92632019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
9264
9265 * gdb.base/complex-parts.c: New file.
9266 * gdb.base/complex-parts.exp: New file.
9267
05caa1d2
TT
92682019-04-01 Tom Tromey <tromey@adacore.com>
9269
9270 PR symtab/23331:
9271 * gdb.dwarf2/dw2-ranges-main.c: New file.
9272 * gdb.dwarf2/dw2-ranges-psym.c: New file.
9273 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
9274
7734102d
EZ
92752019-03-30 Simon Marchi <simark@simark.ca>
9276
9277 * gdb.base/default.exp: Add values for $_gdb_major and
9278 $_gdb_minor.
9279
188e1fa9
TT
92802019-03-29 Tom Tromey <tromey@adacore.com>
9281
9282 * gdb.base/help.exp: Tighten apropos regexp.
9283
2880242d
KS
92842019-03-29 Keith Seitz <keiths@redhat.com>
9285
9286 * gdb.fortran/array-bounds.exp: New file.
9287 * gdb.fortran/array-bounds.f90: New file.
9288
077cad8e
PW
92892019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9290
9291 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
9292
80047cfc
PW
92932019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9294
9295 * gdb.multi/hello.c (main): Increase alarm timer.
9296
f489207e
SL
92972019-03-28 Sandra Loosemore <sandra@codesourcery.com>
9298
9299 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
9300 factor when no hardware watchpoint support.
9301
c92df149
AH
93022019-03-28 Alan Hayward <alan.hayward@arm.com>
9303 Pedro Alves <palves@redhat.com>
9304
9305 * boards/local-board.exp: set sysroot to /.
9306
933aebfa
AH
93072019-03-27 Alan Hayward <alan.hayward@arm.com>
9308
9309 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
9310 in child.
9311
9f9aa852
AB
93122019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9313
9314 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
9315 field.
9316 (make_container): Initialise new field.
9317 * gdb.python/py-prettyprint.exp: Add new tests.
9318 * gdb.python/py-prettyprint.py (class ContainerPrinter)
9319 <display_hint>: New method.
9320
3714a195
AB
93212019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9322
9323 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
9324 gdb_continue_to_breakpoint more throughout this test.
9325 (run_lang_tests) Supply unique test names, and use
9326 gdb_test_no_output.
9327
18c77628
AB
93282019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
9329
9330 * gdb.base/finish-pretty.exp: Update expected results.
9331 * gdb.base/pretty-print.c: New file.
9332 * gdb.base/pretty-print.exp: New file.
9333
9a93502f
PA
93342019-03-25 Pedro Alves <palves@redhat.com>
9335
9336 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
9337 move comments outside list. Append '-i "" eof' section.
9338
968aa7ae
AH
93392019-03-22 Alan Hayward <alan.hayward@arm.com>
9340
34a7f2a4 9341 PR testsuite/25016
968aa7ae
AH
9342 * README: Add pie options.
9343 * gdb.base/break-interp.exp: Ensure pie is disabled.
9344 * gdb.base/dump.exp: Likewise.
9345 * lib/gdb.exp (gdb_compile): Add pie option.
9346
4c7d57e7
TT
93472019-03-19 Tom Tromey <tromey@adacore.com>
9348
9349 * gdb.mi/mi2-cli-display.c: New file.
9350 * gdb.mi/mi2-cli-display.exp: New file.
9351
bff8c71f
TT
93522019-03-18 Joel Brobecker <brobecker@adacore.com>
9353 Tom Tromey <tromey@adacore.com>
9354
9355 * gdb.ada/ptype_array/pck.adb: New file.
9356 * gdb.ada/ptype_array/pck.ads: New file.
9357 * gdb.ada/ptype_array/foo.adb: New file.
9358 * gdb.ada/ptype_array.exp: New file.
9359
d085f989
TT
93602019-03-14 Tom Tromey <tromey@adacore.com>
9361
9362 * gdb.base/style.exp: Add "set style sources" test.
9363
b4be1b06
SM
93642019-03-13 Simon Marchi <simon.marchi@ericsson.com>
9365
9366 * mi-breakpoint-location-ena-dis.exp: Rename to ...
9367 * mi-breakpoint-multiple-locations.exp: ... this.
9368 (make_breakpoints_pattern): New proc.
9369 (do_test): Add mi_version parameter, test -break-insert,
9370 -break-info and =breakpoint-created.
9371
7cde5fc2
AB
93722019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
9373
9374 * config/default.exp: Remove 'load_lib gdb.exp'.
9375 * config/monitor.exp: Likewise.
9376 * config/sid.exp: Likewise.
9377 * config/sim.exp: Likewise.
9378 * config/slite.exp: Likewise.
9379 * config/unix.exp: Likewise.
9380 * gdb.base/default.exp: Remove unhelpful comment.
9381
efbecbc1
AB
93822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9383
9384 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
9385
0841c79a
AB
93862019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9387
9388 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
9389
4a270568
AB
93902019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9391
9392 * gdb.fortran/type-kinds.exp: Update expected results.
9393
067630bd
AB
93942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9395
9396 * gdb.fortran/type-kinds.exp: Test new integer type kind.
9397
3be47f7a
AB
93982019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9399
9400 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
9401 function.
9402 (test_basic_parsing_of_type_kinds): Expand types tested.
9403 (test_parsing_invalid_type_kinds): New function.
9404
4d00f5d8
AB
94052019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9406
9407 * gdb.fortran/intrinsics.exp: New file.
9408 * gdb.fortran/intrinsics.f90: New file.
9409 * gdb.fortran/type-kinds.exp: New file.
9410
c8f91604
AB
94112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9412
9413 * gdb.fortran/dot-ops.exp: New file.
9414
dd9f2c76
AB
94152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9416
9417 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
9418 Check upper and lower case logical literals.
9419
84ec9724
AB
94202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9421
9422 * gdb.fortran/types.exp (test_float_literal_types_accepted):
9423 Remove duplicate tests.
9424
c3734e09
AH
94252019-03-06 Alan Hayward <alan.hayward@arm.com>
9426
9427 * lib/gdb.exp (builtin_cd): rename of cd.
9428 (cd): Override builtin.
9429
aa3cfbda
RB
94302019-03-06 Richard Bunt <richard.bunt@arm.com>
9431
9432 * gdb.fortran/function-calls.exp: New file.
9433 * gdb.fortran/function-calls.f90: New test.
9434
7b63ad86
RB
94352019-03-04 Richard Bunt <richard.bunt@arm.com>
9436
9437 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
9438 on user program standard output.
9439 * gdb.fortran/short-circuit-argument-list.f90: Record function
9440 calls.
9441
01abb042
AH
94422019-02-28 Alan Hayward <alan.hayward@arm.com>
9443
c3734e09
AH
9444 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
9445 failure.
01abb042 9446
92137da0
RO
94472019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9448
9449 PR gdb/8527
9450 * gdb.base/interrupt-daemon-attach.c,
9451 gdb.base/interrupt-daemon-attach.exp: New test.
9452
5862844d
PA
94532019-02-27 Pedro Alves <palves@redhat.com>
9454
9455 * gdb.base/page.exp: Add tests for "set width/height -1".
9456
8ed25214
PA
94572019-02-27 Pedro Alves <palves@redhat.com>
9458
9459 * gdb.base/page.exp: Add tests for "set/show width/height" with
9460 "infinite" values.
9461
6c28e44a
TT
94622019-02-27 Tom Tromey <tromey@adacore.com>
9463
9464 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
9465 2.4.
9466 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
9467 workaround.
9468
bf9a735e
AB
94692019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
9470
9471 * gdb.base/align.exp: Extend to compile in both C and C++, and add
9472 tests for structs with static members.
9473
8791793c
TT
94742019-02-26 Tom Tromey <tromey@adacore.com>
9475
9476 * gdb.python/py-value.exp (test_value_from_buffer): Check for
9477 ValueError, not TypeError.
9478
bc2a507e
KB
94792019-02-26 Kevin Buettner <kevinb@redhat.com>
9480
9481 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
9482 call from main program.
9483
e0e7d3bd
JB
94842019-02-23 Joel Brobecker <brobecker@adacore.com>
9485
9486 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
9487 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
9488 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
9489 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
9490 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
9491
9600246d
KS
94922019-02-22 Keith Seitz <keiths@redhat.com>
9493
9494 PR symtab/23853
9495 * gdb.base/symlink-sourcefile.c: New file.
9496 * gdb.base/symlink-sourcefile.exp: New file.
9497
0c95f9ed
TT
94982019-02-20 Tom Tromey <tom@tromey.com>
9499
9500 * gdb.base/info_qt.exp: Update.
9501
6caa91b6
SM
95022019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
9503
9504 * gdb.base/source.exp: Move "error in sourced script" code to
9505 the end.
9506 * gdb.base/source-error.gdb: Move contents to
9507 source-error-1.gdb. Add new code to source source-error-1.gdb.
9508 * gdb.base/source-error-1.gdb: New file, from previous
9509 source-error.gdb.
9510
6506371f
TT
95112019-02-17 Tom Tromey <tom@tromey.com>
9512
9513 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9514 for macro styling.
9515 * gdb.base/style.c (SOME_MACRO): New macro.
9516
a0087920
TT
95172019-02-17 Tom Tromey <tom@tromey.com>
9518
9519 * gdb.base/style.exp: Add line-wrapping tests.
9520 * gdb.base/page.exp: Add test for quitting during pagination.
9521
a2cd4f14
JB
95222019-02-17 Joel Brobecker <brobecker@adacore.com>
9523
9524 * gdb.ada/big_packed_array: New testcase.
9525 * gdb.ada/homonym.exp: Fix incorrect expected output for
9526 "break <homonym__get_value>" test.
9527
9d70ffbc
WP
95282019-02-13 Weimin Pan <weimin.pan@oracle.com>
9529
9530 PR breakpoints/21870
9531 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9532 and prepare_for_testing. Add comment.
9533 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9534 redundant cleanup call. Clean up comment.
9535
01c7ae81
WP
95362019-02-12 Weimin Pan <weimin.pan@oracle.com>
9537
9538 PR breakpoints/21870
9539 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9540 * gdb.arch/aarch64-dbreg-contents.c: New file.
9541
aff29d1c
JB
95422019-02-10 Joel Brobecker <brobecker@adacore.com>
9543
9544 * gdb.ada/mi_ref_changeable: New testcase.
9545
df0da8a2
AH
95462019-02-07 Alan Hayward <alan.hayward@arm.com>
9547
9548 * gdb.base/attach.exp: Add double attach test.
9549
bd447abb
SM
95502019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9551
9552 * lib/gdb.exp (default_gdb_start): Don't match pagination
9553 prompt.
9554 (gdb_init): Set stty_init.
9555
1dbc40b9
TT
95562019-01-27 Tom Tromey <tom@tromey.com>
9557
9558 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9559 skip_python_tests.
9560
353229bf
AH
95612019-01-24 Alan Hayward <alan.hayward@arm.com>
9562
9563 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9564 New structure.
9565 (struct struct_static_02_02): Likewise.
9566 (struct struct_static_02_03): Likewise.
9567 (struct struct_static_02_04): Likewise.
9568 (struct struct_static_04_01): Likewise.
9569 (struct struct_static_04_02): Likewise.
9570 (struct struct_static_04_03): Likewise.
9571 (struct struct_static_04_04): Likewise.
9572 (struct struct_static_06_01): Likewise.
9573 (struct struct_static_06_02): Likewise.
9574 (struct struct_static_06_03): Likewise.
9575 (struct struct_static_06_04): Likewise.
9576 (cmp_struct_static_02_01): Likewise.
9577 (cmp_struct_static_02_02): Likewise.
9578 (cmp_struct_static_02_03): Likewise.
9579 (cmp_struct_static_02_04): Likewise.
9580 (cmp_struct_static_04_01): Likewise.
9581 (cmp_struct_static_04_02): Likewise.
9582 (cmp_struct_static_04_03): Likewise.
9583 (cmp_struct_static_04_04): Likewise.
9584 (cmp_struct_static_06_01): Likewise.
9585 (cmp_struct_static_06_02): Likewise.
9586 (cmp_struct_static_06_03): Likewise.
9587 (cmp_struct_static_06_04): Likewise.
9588 (call_all): Test new structs.
9589 * gdb.base/infcall-nested-structs.exp: Likewise.
9590
73021deb
AH
95912019-01-21 Alan Hayward <alan.hayward@arm.com>
9592 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9593
fc65c7db
AH
95942019-01-21 Alan Hayward <alan.hayward@arm.com>
9595 * gdb.base/stack-protector.c: New test.
9596 * gdb.base/stack-protector.exp: New file.
9597 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9598 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9599 option.
9600 (gdb_compile): Remove stack protector for GCC and prevent
9601 recursion.
9602
c24bdb02
KS
96032019-01-16 Keith Seitz <keiths@redhat.com>
9604
9605 PR gdb/23773
9606 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9607
6f072a10
PFC
96082019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9609
9610 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9611 aliases.
9612 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9613 tests.
9614 * gdb.arch/powerpc-vector-regs.c: New file.
9615 * gdb.arch/powerpc-vector-regs.exp: New file.
9616
a7b8d682
PFC
96172019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9618
9619 * gdb.arch/altivec-regs.exp: Fix the list passed to
9620 gdb_expect_list when testing "info vector".
9621
6eb6fb67
AB
96222019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9623
9624 * gdb.base/style.exp: Don't include path in testname.
9625
b56f80d8
KS
96262019-01-10 Keith Seitz <keiths@redhat.com>
9627
9628 PR gdb/23712
9629 PR symtab/23010
9630 * gdb.dwarf2/multidictionary.exp: New file.
9631
041be526
SM
96322019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9633
9634 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9635 (test_gnuv3_style_demangling): ... this.
9636 (test_lucid_style_demangling): Remove.
9637 (test_arm_style_demangling): Remove.
9638 (test_hp_style_demangling): Remove.
9639 (do_tests): Remove calls to the above.
9640
d820d0c3
AB
96412019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9642
9643 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9644 case.
9645
f097f5ad
TT
96462019-01-06 Tom Tromey <tom@tromey.com>
9647
9648 PR gdb/28155:
9649 * gdb.dwarf2/typedef-void-finish.exp: New file.
9650
2cd8cc0b
TT
96512018-12-28 Tom Tromey <tom@tromey.com>
9652 Simon Marchi <simark@simark.ca>
9653
9654 * gdb.base/jit-exec.exp: New file.
9655 * gdb.base/jit-exec.c: New file.
9656 * gdb.base/jit-execd.c: New file.
9657
35fb8261
TT
96582018-12-28 Tom Tromey <tom@tromey.com>
9659
9660 * gdb.base/style.exp: Update test to check for address styling.
9661
47fd17cd
TT
96622018-12-28 Tom Tromey <tom@tromey.com>
9663
9664 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9665 message.
9666
d47032b7
TT
96672018-12-28 Tom Tromey <tom@tromey.com>
9668
9669 * gdb.base/style.exp: Add test for version number styling.
9670
af79b68d
TT
96712018-12-28 Tom Tromey <tom@tromey.com>
9672
9673 * gdb.base/style.exp: Add test for print_address_symbolic.
9674
0bb296cb
TT
96752018-12-28 Tom Tromey <tom@tromey.com>
9676
9677 * gdb.base/style.exp: Add test for breakpoint setting.
9678
80ae2043
TT
96792018-12-28 Tom Tromey <tom@tromey.com>
9680
9681 * gdb.base/style.exp: Add test for variable names.
9682
cbe56571
TT
96832018-12-28 Tom Tromey <tom@tromey.com>
9684
9685 * gdb.base/style.exp: New file.
9686 * gdb.base/style.c: New file.
9687
9162a27c
TT
96882018-12-28 Tom Tromey <tom@tromey.com>
9689
9690 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9691 "dumb".
9692 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9693 the TERM environment variable.
9694
bc543c90
TT
96952018-12-27 Tom Tromey <tom@tromey.com>
9696
9697 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9698 pagination test.
9699
6f0ffe50
AB
97002018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9701
9702 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9703 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9704
b5a1e557
PW
97052018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9706
9707 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9708 Filename a.adb changed to bp_fun_addr.adb.
9709 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9710
6e8b1ab2
JV
97112018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9712
9713 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9714 non-PIE executables.
9715 * README: Mention the gdb,nopie_flag board setting.
9716 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9717 non-PIE executable.
9718 * gdb.arch/amd64-entry-value.exp: Likewise.
9719 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9720 * gdb.arch/i386-float.exp: Likewise.
9721 * gdb.arch/i386-signal.exp: Likewise.
9722 * gdb.mi/mi-reg-undefined.exp: Likewise.
9723
d00a27c5
PM
97242018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9725
9726 PR gdb/23974
9727 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9728
161d081c
PW
97292018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9730
9731 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9732 Update order of results accordingly.
9733
b001de23
AB
97342018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9735
9736 * gdb.base/annota1.exp: Update a test regexp.
9737
99e1a184
AB
97382018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9739
9740 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9741
7a81c1e2
PW
97422018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9743
9744 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9745 (reuse_time): Initialize to REUSE_TIME_CAP.
9746 (check_rc): New function.
9747 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9748 Check pthread_create rc.
9749 (spawner_thread_func): Check pthread_create and pthread_join rc.
9750
73e8dc90
PA
97512018-12-08 Pedro Alves <palves@redhat.com>
9752
9753 * gdb.base/list.exp (test_forward_search): Rename to ...
9754 (test_forward_reverse_search): ... this. Also test reverse-search
9755 and the forward-search alias.
9756
13f2ed32
AB
97572018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9758
9759 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9760 local timeout variable before return, and remove all local timeout
9761 variable entirely.
9762 (gdb_load): Likewise.
9763
64d27cfc
TV
97642018-12-01 Tom de Vries <tdevries@suse.de>
9765
9766 * gdb.base/gdb-caching-proc.exp: New file.
9767
f63c03b4
SDJ
97682018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9769
9770 * Makefile.in (TIMESTAMP): New variable.
9771 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9772 command.
9773 (check-single-racy): Likewise.
9774 (check/%.exp): Likewise.
9775 (check-racy/%.exp): Likewise.
9776 (workers/%.worker): Likewise.
9777 (build-perf): Likewise.
9778 (check-perf): Likewise.
9779 * README: Describe new "TS" and "TS_FORMAT" variables.
9780 * print-ts.py: New file.
9781
1c97054b
BF
97822018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9783
9784 PR python/23714
9785 * gdb.python/python.exp: Test command repetition after
9786 gdb.execute.
9787
1871a62d
AB
97882018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9789
9790 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9791 is correctly aligned.
9792
fb5e1ed9
PW
97932018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9794
9795 * gdb.ada/info_auto_lang.exp: New testcase.
9796 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9797 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9798 * gdb.ada/info_auto_lang/some_c.c: New file.
9799
43d397ca
PW
98002018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9801
9802 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9803 FUNC_lang language syntax.
9804
beddd671
PW
98052018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9806
9807 * gdb.base/info_minsym.c: New file.
9808 * gdb.base/info_minsym.exp: New file.
9809
73fc52c4
TT
98102018-11-19 Tom Tromey <tom@tromey.com>
9811
9812 PR rust/23625:
9813 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9814 * gdb.rust/expr.exp: Update expected output. Change one test.
9815
994b876a
TT
98162018-11-19 Tom Tromey <tom@tromey.com>
9817
9818 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9819
6769f276
PA
98202018-11-19 Pedro Alves <palves@redhat.com>
9821
9822 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9823 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9824 see the expected warning.
9825
38a72da0
AH
98262018-11-16 Alan Hayward <alan.hayward@arm.com>
9827
9828 PR gdb/22736:
9829 * gdb.cp/infcall-nodebug-lib.c: New test.
9830 * gdb.cp/infcall-nodebug-main.c: New test.
9831 * gdb.cp/infcall-nodebug.exp: New file.
9832
53a89d6e
SM
98332018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9834
9835 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9836 completer tests.
9837
9325300d
TV
98382018-11-09 Tom de Vries <tdevries@suse.de>
9839
9840 * gdb.base/msym-lang.c: New test.
9841 * gdb.base/msym-lang.exp: New file.
9842 * gdb.base/msym-lang-main.c: New test.
9843
20f0d60d
TT
98442018-11-08 Tom Tromey <tom@tromey.com>
9845
9846 PR gdb/23555:
9847 PR gdb/23838:
9848 * gdb.base/warning.exp: New file.
9849
b5420128
JB
98502018-11-08 Jan Beulich <jbeulich@suse.com>
9851
9852 * testsuite/gdb.arch/i386-avx512.c,
9853 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9854
cd115d61
AB
98552018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9856
9857 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9858 point hardware.
9859
35ee2dc2
AB
98602018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9861
9862 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9863 * gdb.dwarf2/missing-type-name.exp: New file.
9864
31aceee8
TV
98652018-11-06 Tom de Vries <tdevries@suse.de>
9866
9867 * gdb.base/many-headers.c: New test.
9868 * gdb.base/many-headers.exp: New file.
9869
109be305
JW
98702018-11-06 Jim Wilson <jimw@sifive.com>
9871
9872 * gdb.base/code_elim.exp: For riscv, set additional_flags
9873 to include -msmall-data-limit=0.
9874
e2b7af72
JB
98752018-11-01 Joel Brobecker <brobecker@adacore.com>
9876
9877 * gdb.ada/watch_minus_l: New testcase.
9878
cdcda965
SM
98792018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9880
9881 * gdb.arch/aix-sighandle.c: New file.
9882 * gdb.arch/aix-sighandle.exp: New file.
9883
92dcebf3
AB
98842018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9885
9886 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9887 registers being unions.
9888
68b9ac18
TV
98892018-10-31 Tom de Vries <tdevries@suse.de>
9890
9891 * lib/valgrind.exp: New file.
9892 (vgdb_start, vgdb_stop): New procs, factored out of ...
9893 * gdb.base/valgrind-bt.exp: ... here, ...
9894 * gdb.base/valgrind-disp-step.exp: ... here and ...
9895 * gdb.base/valgrind-infcall.exp: ... here.
9896
1443936e
TV
98972018-10-31 Tom de Vries <tdevries@suse.de>
9898
9899 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9900
eb77c9df
AB
99012018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9902
9903 * gdb.dwarf2/void-type.c: New file.
9904 * gdb.dwarf2/void-type.exp: New file.
9905
82b5e646
PW
99062018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9907
9908 * gdb.base/info_qt.c: New file.
9909 * gdb.base/info_qt.exp: New file.
9910
8d619c01
EBM
99112018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9912
9913 * gdb.arch/powerpc-htm-regs.c: New file.
9914 * gdb.arch/powerpc-htm-regs.exp: New file.
9915
f2cf6173
EBM
99162018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9917
9918 * gdb.arch/powerpc-tar.c: New file.
9919 * gdb.arch/powerpc-tar.exp: New file.
9920
7ca18ed6
EBM
99212018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9922
9923 * gdb.arch/powerpc-ppr-dscr.c: New file.
9924 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9925
bfcc0eba
TV
99262018-10-25 Tom de Vries <tdevries@suse.de>
9927
9928 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9929
fe1a5cad
TV
99302018-10-24 Tom de Vries <tdevries@suse.de>
9931
9932 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9933 longer exists error.
9934
a76dc3b7
TV
99352018-10-24 Tom de Vries <tdevries@suse.de>
9936
9937 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9938
4df46df7
TV
99392018-10-24 Tom de Vries <tdevries@suse.de>
9940
9941 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9942 --db-attach in valgrind.
9943
0dbfcfff
AB
99442018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9945
9946 * gdb.arch/riscv-reg-aliases.c: New file.
9947 * gdb.arch/riscv-reg-aliases.exp: New file.
9948
b04480b1
AH
99492018-10-19 Alan Hayward <alan.hayward@arm.com>
9950
9951 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9952
2c6ac8d7
AH
99532018-10-19 Alan Hayward <alan.hayward@arm.com>
9954
9955 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9956
2bc69f25
AH
99572018-10-19 Alan Hayward <alan.hayward@arm.com>
9958
9959 * gdb.cp/ovldbreak.exp: Fix regexps.
9960
1f1ae3a3
AH
99612018-10-19 Alan Hayward <alan.hayward@arm.com>
9962
9963 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9964
94c18618
SDJ
99652018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9966
9967 PR cli/23785
9968 * gdb.base/restore.exp: New test to check if "restore" with an
9969 invalid file doesn't segfault.
9970
812cd6eb
TV
99712018-10-18 Tom de Vries <tdevries@suse.de>
9972
9973 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9974 * gdb.ada/excep_handle.exp: Same.
9975 * gdb.ada/mi_string_access.exp: Same.
9976 * gdb.ada/mi_var_union.exp: Same.
9977 * gdb.arch/arc-analyze-prologue.exp: Same.
9978 * gdb.arch/arc-decode-insn.exp: Same.
9979 * gdb.base/readnever.exp: Same.
9980 * gdb.fortran/printing-types.exp: Same.
9981 * gdb.guile/scm-lazy-string.exp: Same.
9982
c4b90788
TV
99832018-10-16 Tom de Vries <tdevries@suse.de>
9984
9985 PR gdb/23730
9986 * gdb.base/catch-follow-exec.c: Add copyright notice.
9987 * gdb.base/catch-follow-exec.exp: Rewrite to use
9988 gdb_spawn_with_cmdline_opts. Require gdb-native.
9989
8bca2978
SL
99902018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9991
9992 * gdb.trace/actions-changed.exp: Check for arch support.
9993 * gdb.trace/actions.exp: Likewise.
9994 * gdb.trace/ax.exp: Likewise.
9995 * gdb.trace/backtrace.exp: Likewise.
9996 * gdb.trace/change-loc.exp: Likewise.
9997 * gdb.trace/deltrace.exp: Likewise.
9998 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9999 * gdb.trace/ftrace.exp: Likewise.
10000 * gdb.trace/infotrace.exp: Check for arch support.
10001 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
10002 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
10003 * gdb.trace/mi-tsv-changed.exp: Likewise.
10004 * gdb.trace/packetlen.exp: Likewise.
10005 * gdb.trace/passc-dyn.exp: Likewise.
10006 * gdb.trace/passcount.exp: Likewise.
10007 * gdb.trace/pending.exp: Likewise.
10008 * gdb.trace/range-stepping.exp: Check for shlib support.
10009 * gdb.trace/report.exp: Check for arch support.
10010 * gdb.trace/save-trace.exp: Likewise.
10011 * gdb.trace/signal.exp: Check for signal support.
10012 * gdb.trace/tfind.exp: Check for arch support.
10013 * gdb.trace/trace-break.exp: Check for arch and shlib support.
10014 * gdb.trace/trace-common.h: Add comment.
10015 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
10016 * gdb.trace/trace-enable-disable.exp: Likewise.
10017 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
10018 * gdb.trace/tracecmd.exp: Check for arch support.
10019 * gdb.trace/tspeed.exp: Check for shlib and target support.
10020 * gdb.trace/tstatus.exp: Check for arch support.
10021 * gdb.trace/tsv.exp: Likewise.
10022 * gdb.trace/while-dyn.exp: Likewise.
10023 * gdb.trace/while-stepping.exp: Likewise.
10024 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
10025
f9c49bff
SM
100262018-10-12 Simon Marchi <simon.marchi@ericsson.com>
10027
10028 * gdb.trace/tspeed.exp: Remove nowarnings.
10029 (prepare_for_trace_test): Declare "global ipalib".
10030 * gdb.trace/tspeed.c: Include unistd.h.
10031 (main): Remove superfluous printf argument.
10032
d4330bde
SL
100332018-10-11 Sandra Loosemore <sandra@codesourcery.com>
10034
10035 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
10036 directory prefix on the filename.
10037
8ecfd7bd
SDJ
100382018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
10039
10040 * gdb.gdb/unittest.exp: Update expected message informing that
10041 selftests have been disabled.
10042 * gdb.server/unittest.exp: Likewise.
10043
58bbcd02
TV
100442018-10-09 Tom de Vries <tdevries@suse.de>
10045
10046 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
10047 with runto_main.
10048
9f6b697b
WP
100492018-10-08 Weimin Pan <weimin.pan@oracle.com>
10050
10051 PR c++/16841
10052 * gdb.cp/virtbase2.cc: New file.
10053 * gdb.cp/virtbase2.exp: New file.
10054
add5ded5
TT
100552018-10-06 Tom Tromey <tom@tromey.com>
10056
10057 PR python/19399:
10058 * gdb.python/py-inferior.exp: Add architecture test.
10059
f9e48344
TT
100602018-10-06 Tom Tromey <tom@tromey.com>
10061
10062 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
10063 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
10064
2a8be203
TT
100652018-10-06 Tom Tromey <tom@tromey.com>
10066
10067 * gdb.python/py-breakpoint.exp (check_last_event): Check location
10068 of a "throw" catchpoint.
10069
e04caa70
SDJ
100702018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
10071
10072 * gdb.base/info-proc.exp: Update string expected from "help info
10073 proc".
10074
5ca8c39f
TT
100752018-10-04 Tom Tromey <tom@tromey.com>
10076
10077 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
10078 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
10079 (test_initial_complaints, test_empty_complaints): Update.
10080 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
10081
3453e7e4
TT
100822018-10-04 Tom Tromey <tom@tromey.com>
10083
10084 PR cli/19551:
10085 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
10086 * lib/gdb.exp (gdb_file_cmd): Update.
10087 * gdb.stabs/weird.exp (print_weird_var): Update.
10088 * gdb.server/solib-list.exp: Update.
10089 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
10090 * gdb.mi/mi-cli.exp: Update.
10091 * gdb.linespec/linespec.exp: Update.
10092 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
10093 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
10094 * gdb.cp/cp-relocate.exp: Update.
10095 * gdb.base/sym-file.exp: Update.
10096 * gdb.base/relocate.exp: Update.
10097 * gdb.base/readnever.exp: Update.
10098 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10099 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
10100 * gdb.base/dbx.exp (gdb_file_cmd): Update.
10101 * gdb.base/code_elim.exp: Update.
10102 * gdb.base/break-unload-file.exp (test_break): Update.
10103 * gdb.base/break-interp.exp (test_attach_gdb): Update.
10104 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
10105 Update.
10106 * gdb.base/attach.exp (do_attach_tests): Update.
10107 * gdb.base/sepdebug.exp: Update.
10108 * gdb.python/py-section-script.exp: Update.
10109
6afcf761
TT
101102018-10-04 Tom Tromey <tom@tromey.com>
10111
10112 PR cli/22234:
10113 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
10114 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
10115 output.
10116
fef1b293
TT
101172018-10-04 Tom Tromey <tom@tromey.com>
10118
10119 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
10120 set width and height to 0.
10121 (test_command_line_attach_run): Use -quiet.
10122
ca98345e
SL
101232018-10-03 Sandra Loosemore <sandra@codesourcery.com>
10124
10125 * lib/gdb.exp (skip_ifunc_tests): New.
10126 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
10127 other compile failures.
10128 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
10129
ff34e6ae
SM
101302018-10-01 Simon Marchi <simon.marchi@ericsson.com>
10131
10132 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
10133 is_amd64_regs_target.
10134
6bb8890e
AH
101352018-10-01 Alan Hayward <alan.hayward@arm.com>
10136
10137 * gdb.arch/aarch64-sighandler-regs.c: New test.
10138 * gdb.arch/aarch64-sighandler-regs.exp: New file.
10139 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
10140
224d30d3
MM
101412018-10-01 Markus Metzger <markus.t.metzger@intel.com>
10142
10143 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
10144 assembly.
10145
f67ffa6a
AB
101462018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
10147
10148 * gdb.base/frame-selection.exp: New file.
10149 * gdb.base/frame-selection.c: New file.
10150
9fc3183f
AH
101512018-09-27 Alan Hayward <alan.hayward@arm.com>
10152
10153 * gdb.threads/check-libthread-db.c (thread_routine): Use a
10154 pthread barrier.
10155 (main): Likewise.
10156
d354055e
AB
101572018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
10158
10159 * gdb.base/large-frame-1.c: New file.
10160 * gdb.base/large-frame-2.c: New file.
10161 * gdb.base/large-frame.exp: New file.
10162 * gdb.base/large-frame.h: New file.
10163
db727370
JL
101642018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
10165
10166 PR gdb/20948
10167 * gdb.base/write_mem.exp: New test.
10168 * gdb.base/write_mem.c: Likewise.
10169
ae778caf
TT
101702018-09-23 Tom Tromey <tom@tromey.com>
10171
10172 PR python/18852:
10173 * gdb.python/py-parameter.exp: Add test for parameter that throws
10174 on "set".
10175
fd3ba736
TT
101762018-09-23 Tom Tromey <tom@tromey.com>
10177
10178 PR python/17284:
10179 * gdb.python/py-template.exp (test_template_arg): Add test for
10180 negative template argument number.
10181
39a24317
TT
101822018-09-23 Tom Tromey <tom@tromey.com>
10183
10184 PR python/14062:
10185 * gdb.python/python.exp: Add test for post_event error.
10186
f5769a2c
TT
101872018-09-23 Tom Tromey <tom@tromey.com>
10188
10189 PR python/18170:
10190 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
10191 convert pointers to int and long.
10192
1c1e54f6
TT
101932018-09-23 Tom Tromey <tom@tromey.com>
10194
10195 PR python/20126:
10196 * gdb.python/py-value.exp (test_value_numeric_ops): Add
10197 signed-ness conversion tests.
10198
fb4fa946
TT
101992018-09-23 Tom Tromey <tom@tromey.com>
10200
10201 PR python/18352;
10202 * gdb.python/py-value.exp (test_float_conversion): New proc.
10203 Use it.
10204
a466edac
HAQ
102052018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
10206
10207 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
10208
4ee9b0c5
SL
102092018-09-18 Sandra Loosemore <sandra@codesourcery.com>
10210
10211 * gdb.base/complete-empty.exp: Skip tab-completion tests if
10212 no readline.
10213 * gdb.base/utf8-identifiers.exp: Likewise.
10214 * gdb.cp/cpcompletion.exp: Likewise.
10215 * gdb.linespec/cpcompletion.exp: Likewise.
10216 * gdb.linespec/cpls-abi-tag.exp: Likewise.
10217 * gdb.linespec/cpls-ops.exp: Likewise.
10218
23be8da7
RB
102192018-09-19 Richard Bunt <richard.bunt@arm.com>
10220 Chris January <chris.january@arm.com>
10221
10222 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
10223 * gdb.fortran/short-circuit-argument-list.exp: New file.
10224 * gdb.fortran/short-circuit-argument-list.f90: New test.
10225
5031d0ae
SDJ
102262018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
10227
10228 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
10229 "arch=" keyword when executing "-stack-list-frames".
10230
b4c0d1a4
SDJ
102312018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
10232
10233 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
10234 "arch=" keyword when executing "-stack-list-frames".
10235
7a6d2b45
SDJ
102362018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
10237
10238 * gdb.ada/complete.exp: Expect for "@" when doing "complete
10239 break ada".
10240
8588b356
SM
102412018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
10242
10243 PR python/23669
10244 * gdb.python/python.exp: Test gdb.execute("show commands").
10245
65e65158
TT
102462018-09-16 Tom Tromey <tom@tromey.com>
10247
10248 * gdb.base/new-ui.exp (do_execution_tests): Update.
10249 * gdb.base/dbx.exp (test_breakpoints): Update.
10250
bf326452
AH
102512018-09-14 Alan Hayward <alan.hayward@arm.com>
10252
10253 * lib/gdb.exp (gdb_simple_compile): Add proc.
10254 (is_elf_target): Use gdb_simple_compile.
10255 (skip_altivec_tests): Likewise.
10256 (skip_vsx_tests): Likewise.
10257 (skip_tsx_tests): Likewise.
10258 (skip_btrace_tests): Likewise.
10259 (skip_btrace_pt_tests): Likewise.
10260 (gdb_can_simple_compile): Likewise.
10261 (gdb_has_argv0): Likewise.
10262 (gdb_target_symbol_prefix): Likewise.
10263 (target_supports_scheduler_locking): Likewise.
10264
2361b0fb
TT
102652018-09-13 Tom Tromey <tom@tromey.com>
10266
10267 * Makefile.in (TAGS): Recognize proc_with_prefix and
10268 gdb_caching_proc.
10269
0ae1a321
SM
102702018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10271
10272 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
10273 method.
10274
a40bf0c2
SM
102752018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10276
10277 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
10278 and a few other Inferior properties when the Inferior is no
10279 longer valid.
10280
4a3fe98f
TT
102812018-09-13 Tom Tromey <tom@tromey.com>
10282
10283 PR rust/23650:
10284 * gdb.rust/simple.exp: Add test for enum field access error.
10285
098b2108
TT
102862018-09-13 Tom Tromey <tom@tromey.com>
10287
10288 PR rust/23626:
10289 * gdb.rust/simple.rs (EmptyEnum): New type.
10290 (main): Use it.
10291 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
10292
1256af7d
SM
102932018-09-13 Simon Marchi <simon.marchi@ericsson.com>
10294
10295 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
10296 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
10297 * gdb.python/py-symtab.exp: Update test printing an objfile.
10298
4aa8e6c2
SM
102992018-09-12 Simon Marchi <simon.marchi@ericsson.com>
10300
10301 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
10302 object.
10303
c221b2f7
AH
103042018-09-12 Alan Hayward <alan.hayward@arm.com>
10305
10306 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
10307 (support_complex_tests): Use gdb_can_simple_compile.
10308 (is_ilp32_target): Likewise.
10309 (is_lp64_target): Likewise.
10310 (is_64_target): Likewise.
10311 (is_amd64_regs_target): Likewise.
10312 (is_aarch32_target): Likewise.
10313 (gdb_int128_helper): Likewise.
10314
6f1107b5
JK
103152018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10316
10317 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
10318
1f5d1570
JG
103192018-09-10 Jerome Guitton <guitton@adacore.com>
10320
10321 * gdb.ada/same_component_name: Add test for case of tagged record
10322 with variable-length fields.
10323
cc330e39
XR
103242018-09-10 Xavier Roirand <roirand@adacore.com>
10325
10326 * gdb.ada/access_to_unbounded_array.exp: New testcase.
10327 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
10328 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
10329 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
10330
b9c50e9a
XR
103312018-09-10 Xavier Roirand <roirand@adacore.com>
10332
10333 * gdb.ada/mi_string_access.exp: New testcase.
10334 * gdb.ada/mi_string_access/bar.adb: New file.
10335 * gdb.ada/mi_string_access/pck.adb: New file.
10336 * gdb.ada/mi_string_access/pck.asd: New file.
10337
2963898f
XR
103382018-09-10 Xavier Roirand <roirand@adacore.com>
10339
10340 * gdb.ada/mi_var_union.exp: New testcase.
10341 * gdb.ada/mi_var_union/bar.adb: New file.
10342 * gdb.ada/mi_var_union/pck.adb: New file.
10343 * gdb.ada/mi_var_union/pck.asd: New file.
10344
1aac008f
TT
103452018-09-08 Tom Tromey <tom@tromey.com>
10346
10347 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
10348
332cf4c9
TT
103492018-09-08 Tom Tromey <tom@tromey.com>
10350
10351 PR python/16047:
10352 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
10353 (register_pretty_printers): Register new printer.
10354 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
10355 test.
10356 * gdb.python/py-prettyprint.c (int_type3): New typedef.
10357 (an_int_type3): New global.
10358
424da6cf
JB
103592018-09-08 Joel Brobecker <brobecker@adacore.com>
10360
10361 * gdb.ada/expr_with_funcall: New testcase.
10362
2a62dfa9
JB
103632018-09-08 Joel Brobecker <brobecker@adacore.com>
10364
10365 * gdb.ada/packed_array_assign: New testcase.
10366
96b6697f
AB
103672018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
10368
10369 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
10370 names, and add test prefixes to make test names unique.
10371
e4a62c65
TV
103722018-09-05 Tom de Vries <tdevries@suse.de>
10373
10374 * gdb.dwarf2/varval.exp: Add test.
10375
dd083ee2
GB
103762018-09-04 Gary Benson <gbenson@redhat.com>
10377
10378 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
10379 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
10380
aef9346c
TT
103812018-08-31 Tom Tromey <tom@tromey.com>
10382
10383 * gdb.rust/simple.rs: Rename second variable "v".
10384
c67f2e15
AB
103852018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
10386
10387 * gdb.base/funcargs.c (use_a): New function.
10388 (recurse): Call use_a.
10389
078a0207
KS
103902018-08-29 Keith Seitz <keiths@redhat.com>
10391
10392 * gdb.compile/compile-cplus-anonymous.cc: New file.
10393 * gdb.compile/compile-cplus-anonymous.exp: New file.
10394 * gdb.compile/compile-cplus-array-decay.cc: New file.
10395 * gdb.compile/compile-cplus-array-decay.exp: New file.
10396 * gdb.compile/compile-cplus-inherit.cc: New file.
10397 * gdb.compile/compile-cplus-inherit.exp: New file.
10398 * gdb.compile/compile-cplus-member.cc: New file.
10399 * gdb.compile/compile-cplus-member.exp: New file.
10400 * gdb.compile/compile-cplus-method.cc: New file.
10401 * gdb.compile/compile-cplus-method.exp: New file.
10402 * gdb.compile/compile-cplus-mod.c: "New" file.
10403 * gdb.compile/compile-cplus-namespace.cc: New file.
10404 * gdb.compile/compile-cplus-namespace.exp: New file.
10405 * gdb.compile/compile-cplus-nested.cc: New file.
10406 * gdb.compile/compile-cplus-nested.exp: New file.
10407 * gdb.compile/compile-cplus-print.c: "New" file.
10408 * gdb.compile/compile-cplus-print.exp: "New" file.
10409 * gdb.compile/compile-cplus-virtual.cc: New file.
10410 * gdb.compile/compile-cplus-virtual.exp: New file.
10411 * gdb.compile/compile-cplus.c: "New" file.
10412 * gdb.compile/compile-cplus.exp: "New" file.
10413 * lib/compile-support.exp: New file.
10414
b0f492b9
GB
104152018-08-16 Gary Benson <gbenson@redhat.com>
10416
10417 PR gdb/13000:
10418 * gdb.base/batch-exit-status.exp: New file.
10419 * gdb.base/batch-exit-status.good-commands: Likewise.
10420 * gdb.base/batch-exit-status.bad-commands: Likewise.
10421
36eb4c5f
AH
104222018-08-29 Alan Hayward <alan.hayward@arm.com>
10423
10424 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
10425 (struct struct02): Likewise.
10426 (struct struct03): Likewise.
10427 (struct struct04): Likewise.
10428 (struct struct_01_01): New struct.
10429 (struct struct_01_02): Likewise.
10430 (struct struct_01_03): Likewise.
10431 (struct struct_01_04): Likewise.
10432 (struct struct_02_01): Likewise.
10433 (struct struct_02_02): Likewise.
10434 (struct struct_02_03): Likewise.
10435 (struct struct_02_04): Likewise.
10436 (struct struct_04_01): Likewise.
10437 (struct struct_04_02): Likewise.
10438 (struct struct_04_03): Likewise.
10439 (struct struct_04_04): Likewise.
10440 (struct struct_05_01): Likewise.
10441 (struct struct_05_02): Likewise.
10442 (struct struct_05_03): Likewise.
10443 (struct struct_05_04): Likewise.
10444 (cmp_struct01): Remove function.
10445 (cmp_struct02): Likewise.
10446 (cmp_struct03): Likewise.
10447 (cmp_struct04): Likewise.
10448 (cmp_struct_01_01): Add Function.
10449 (cmp_struct_01_02): Likewise.
10450 (cmp_struct_01_03): Likewise.
10451 (cmp_struct_01_04): Likewise.
10452 (cmp_struct_02_01): Likewise.
10453 (cmp_struct_02_02): Likewise.
10454 (cmp_struct_02_03): Likewise.
10455 (cmp_struct_02_04): Likewise.
10456 (cmp_struct_04_01): Likewise.
10457 (cmp_struct_04_02): Likewise.
10458 (cmp_struct_04_03): Likewise.
10459 (cmp_struct_04_04): Likewise.
10460 (cmp_struct_05_01): Likewise.
10461 (cmp_struct_05_02): Likewise.
10462 (cmp_struct_05_03): Likewise.
10463 (cmp_struct_05_04): Likewise.
10464 (call_all): Add new structs.
10465 * gdb.base/infcall-nested-structs.exp: Likewise.
10466
3bf9c013
JV
104672018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
10468
10469 * gdb.python/py-framefilter-mi.exp: Update regexp to
10470 check for "arch" field in frame output.
10471
450d1e88
KB
104722018-08-23 Kevin Buettner <kevinb@redhat.com>
10473
10474 * gdb.dwarf2/dw2-ranges-func.c: New file.
10475 * gdb.dwarf2/dw2-ranges-func.exp: New file.
10476
ae739fe7
SM
104772018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
10478
10479 * gdb.base/term.exp: Compare terminal settings with values from
10480 the inferior.
10481 * gdb.base/term.c: Get and set terminal settings.
10482
6d52907e
JV
104832018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
10484
10485 * lib/mi-support.exp (mi_expect_stop): Update regexp to
10486 accommodate new "arch" field in frame output.
10487 * gdb.mi/mi-return.exp: Likewise.
10488 * gdb.mi/mi-stack.exp: Likewise.
10489 * gdb.mi/mi-syn-frame.exp: Likewise.
10490 * gdb.mi/user-selected-context-sync.exp: Likewise.
10491
be2d111a
MS
104922018-08-19 Michael Spang <spang@google.com>
10493
10494 PR gdb/11786
10495 * gdb.base/gcore-tls-pie.c: New file.
10496 * gdb.base/gcore-tls-pie.exp: New file.
10497
ae3a7c47
KB
104982018-08-18 Kevin Buettner <kevinb@redhat.com>
10499
10500 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
10501 * gdb.dwarf2/varval.c: New file.
10502 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 10503
2ecae92e
AH
105042018-08-17 Alan Hayward <alan.hayward@arm.com>
10505
10506 PR gdb/18931
10507 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10508
c1854f1d
KS
105092018-08-16 Keith Seitz <keiths@redhat.com>
10510
10511 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10512 tests expected to pass.
10513
26fb3983
JV
105142018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10515
10516 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10517 -data-disassemble -a.
10518 (test_disassembly_bogus_args): Likewise.
10519
67943c00
AB
105202018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10521
10522 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10523
5ff2bbae
AB
105242018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10525
10526 * gdb.base/vla-optimized-out.exp: Add new test.
10527
e5bbcd0f
AB
105282018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10529
10530 * gdb.base/vla-optimized-out-o3.exp: Delete.
10531 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10532 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10533 deleted tests.
10534
9d4a934c
AB
105352018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10536
10537 PR gdb/18050:
10538 * gdb.server/extended-remote-restart.c: New file.
10539 * gdb.server/extended-remote-restart.exp: New file.
10540
045cf012
SM
105412018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10542
10543 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10544 "set variable index = 42".
10545
87d6a7aa
SM
105462018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10547
10548 * boards/index-cache-gdb.exp: New file.
10549 * gdb.dwarf2/index-cache.exp: New file.
10550 * gdb.dwarf2/index-cache.c: New file.
10551 * gdb.base/maint.exp: Check if we are using the index cache.
10552
96d68bd4
RO
105532018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10554
10555 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10556 MAKEFLAGS.
10557
5a699617
RO
105582018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10559
10560 * dg-extract-results.sh: Move to toplevel contrib.
10561 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10562 * Makefile.in (check-parallel-racy): Likewise.
10563
5bd18990
AB
105642018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10565
10566 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10567 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10568 tests if the target supports scheduler locking.
10569
3fbbcf47
TV
105702018-08-04 Tom de Vries <tdevries@suse.de>
10571
10572 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10573
3e1d3d8c
TT
105742018-08-02 Tom Tromey <tom@tromey.com>
10575
10576 PR symtab/16842.
10577 * gdb.cp/temargs.exp: Test "info address" of a template
10578 parameter.
10579
5abe0f0c
JV
105802018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10581
10582 * gdb.python/py-mi-var-info-path-expression.c: New file.
10583 * gdb.python/py-mi-var-info-path-expression.py: New file.
10584 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10585
fb66cde8
SDJ
105862018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10587
10588 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10589 error after "cannot resolve name" string.
10590
c708f4d2
AB
105912018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10592
10593 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10594 started.
10595 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10596
37cc0cae
TV
105972018-07-28 Tom de Vries <tdevries@suse.de>
10598
10599 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10600
63b4ecf7
TV
106012018-07-26 Tom de Vries <tdevries@suse.de>
10602
10603 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10604
3c3bb058
AB
106052018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10606
10607 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10608 is visible.
10609
9e7f3bbb
TV
106102018-07-26 Tom de Vries <tdevries@suse.de>
10611
10612 PR breakpoints/23366
10613 * gdb.base/catch-follow-exec.c: New test.
10614 * gdb.base/catch-follow-exec.exp: New file.
10615
16f808ec
TV
106162018-07-25 Tom de Vries <tdevries@suse.de>
10617
10618 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10619 vla-optimized-out.c.
10620
d7154a8d
JV
106212018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10622
10623 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10624 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10625
232a0032
TV
106262018-07-20 Tom de Vries <tdevries@suse.de>
10627
10628 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10629 NOCLONE macro.
10630 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10631
fbb1d502
TV
106322018-07-19 Tom de Vries <tdevries@suse.de>
10633
10634 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10635 regular expression.
10636
42dc7699
TV
106372018-07-18 Tom de Vries <tdevries@suse.de>
10638
10639 * gdb.base/vla-optimized-out.c: New test.
10640 * gdb.base/vla-optimized-out.exp: New file.
10641
7f1f7e23
SDJ
106422018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10643
10644 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10645 message "No address associated with hostname" when gdbserver
10646 cannot resolve the hostname.
10647
5759ebb3
PW
106482018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10649
10650 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10651 Add some test prefixes to make tests unique.
10652
3606ccab
PW
106532018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10654
10655 * gdb.base/frameapply.c: New file.
10656 * gdb.base/frameapply.exp: New file.
10657
529c08b2
PW
106582018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10659
10660 * gdb.base/skip.exp: Update expected error message.
10661
c7ab0aef
SDJ
106622018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10663 Jan Kratochvil <jan.kratochvil@redhat.com>
10664 Paul Fertser <fercerpav@gmail.com>
10665 Tsutomu Seki <sekiriki@gmail.com>
10666
10667 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10668 parameter.
10669 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10670 by default.
10671 * boards/native-gdbserver.exp: Likewise.
10672 * gdb.server/run-without-local-binary.exp: Improve regexp used
10673 for detecting when a remote debugging connection succeeds.
10674 * gdb.server/server-connect.exp: New file.
10675 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10676 Do not prefix the port number with ":".
10677 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10678 support for detecting and using it. Add '$debughost_gdbserver'
10679 to the list of arguments used to start gdbserver. Handle case
10680 when gdbserver cannot resolve a network name.
10681
16ff70dd
SDJ
106822018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10683
10684 PR c++/23373
10685 * gdb.base/ptype-offsets.cc (struct static_member): New
10686 struct.
10687 (main) <stmember>: New variable.
10688 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10689 with a static member in it.
10690
3541979f
AB
106912018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10692
10693 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10694 watchpoints enabled and disabled.
10695
c8ad9b9a
AB
106962018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10697
10698 * gdb.base/examine-backward.exp: Still run tests around address
10699 0x0, even if address 0x0 is not readable. Update the pattern for
10700 matching address 0x0 in expected output.
10701
e0e5e971
AB
107022018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10703
10704 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10705 malloc/free.
10706
1ea5da02
TV
107072018-07-04 Tom de Vries <tdevries@suse.de>
10708
10709 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10710
471b9d15
MR
107112018-07-02 Maciej W. Rozycki <macro@mips.com>
10712
10713 PR tdep/8282
10714 * gdb.arch/mips-disassembler-options.exp: New test.
10715 * gdb.arch/mips-disassembler-options.s: New test source.
10716
75acb486
PA
107172018-06-29 Pedro Alves <palves@redhat.com>
10718
10719 * gdb.threads/names.exp: Adjust expected "info threads" output.
10720
cd2bb709
PA
107212018-06-29 Pedro Alves <palves@redhat.com>
10722
10723 * gdb.opt/inline-break.exp (line number, address): Add "info
10724 break" tests.
10725
991ff292
PA
107262018-06-29 Pedro Alves <palves@redhat.com>
10727
10728 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10729 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10730 number and address and running to them.
10731
356819b6 107322018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
10733
10734 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10735
2512d7ef
JK
107362018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10737
10738 * lib/compiler.c: Remove executable permission flag.
10739
be1b6474
RB
107402018-06-28 Richard Bunt <richard.bunt@arm.com>
10741
10742 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10743 code.
10744 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10745
291f9a96
PT
107462018-06-28 Petr Tesarik <ptesarik@suse.cz>
10747
10748 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10749
ed6dfe51
PT
107502018-06-28 Petr Tesarik <ptesarik@suse.cz>
10751
10752 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10753 address argument is omitted.
10754
d4d429d5
PT
107552018-06-28 Petr Tesarik <ptesarik@suse.cz>
10756
10757 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10758
7ab6656f
OJ
107592018-06-27 Omair Javaid <omair.javaid@linaro.org>
10760
10761 PR gdb/21695
10762 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10763 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10764
a33ccfc7
TT
107652018-06-26 Tom Tromey <tom@tromey.com>
10766
10767 PR rust/22574:
10768 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10769 * gdb.rust/simple.rs (struct SimpleLayout): New.
10770
6d72d289
SM
107712018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10772
10773 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10774 "info registers" output.
10775
8363f9d5
RB
107762018-06-21 Richard Bunt <richard.bunt@arm.com>
10777
10778 * gdb.base/watchpoint-hw-attach.c: New test.
10779 * gdb.base/watchpoint-hw-attach.exp: New file.
10780
f00674fe
SM
107812018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10782
10783 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10784 through /bin/sh.
10785 * boards/dwarf4-gdb-index.exp: Likewise.
10786 * boards/fission-dwp.exp: Likewise.
10787
1d554008
UW
107882018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10789
10790 * gdb.base/float128.exp: Add comment and improved fail message
10791 to the failure case of "print large128" test.
10792
d0ac1c44
SM
107932018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10794
10795 * configure.ac: Remove AC_PREREQ.
10796 * configure: Re-generate.
10797
61b04dd0
PA
107982018-06-19 Pedro Alves <palves@redhat.com>
10799
10800 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10801 (func_extern_caller): New.
10802 (main): Call func_extern_caller.
10803 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10804 logic change.
10805
f63b508a
SM
108062018-06-18 Weimin Pan <weimin.pan@oracle.com>
10807
10808 PR gdb/16841
10809 * gdb.cp/typedef-base.cc: New file.
10810 * gdb.cp/typedef-base.exp: New file.
10811
0fe3a558
TV
108122018-06-18 Tom de Vries <tdevries@suse.de>
10813
10814 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10815
7010835a
AB
108162018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10817 Richard Bunt <Richard.Bunt@arm.com>
10818
10819 * gdb.threads/attach-slow-waitpid.c: New file.
10820 * gdb.threads/attach-slow-waitpid.exp: New file.
10821 * gdb.threads/slow-waitpid.c: New file.
10822
14897d65
PA
108232018-06-14 Pedro Alves <palves@redhat.com>
10824
10825 * gdb.base/fork-running-state.c: Include <errno.h>.
10826 (exit_if_relative_exits): New.
10827 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10828 exits.
10829 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10830 child exits.
10831
5d9a0608
TV
108322018-06-14 Tom de Vries <tdevries@suse.de>
10833
10834 PR cli/22573
10835 * gdb.base/finish-pretty.c: New test.
10836 * gdb.base/finish-pretty.exp: New file.
10837
11ae5818
PA
108382018-06-14 Pedro Alves <palves@redhat.com>
10839
10840 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10841 gdb's expected startup output.
10842
1d39de44
PA
108432018-06-14 Pedro Alves <palves@redhat.com>
10844
10845 * lib/selftest-support.exp (selftest_setup): Remove inlined
10846 function handling.
10847
70ee0000
TV
108482018-06-14 Tom de Vries <tdevries@suse.de>
10849
10850 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10851 matching of breakpoint printing.
10852
11f4b608
TV
108532018-06-13 Tom de Vries <tdevries@suse.de>
10854
10855 PR testsuite/23269
10856 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10857 (fork_child): ... here, and ...
10858 (fork_parent): ... here.
10859
108602018-06-12 Tom de Vries <tdevries@suse.de>
10861
10862 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10863
9516f85a
AB
108642018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10865 Stephen Roberts <stephen.roberts@arm.com>
10866
10867 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10868 rewrite test to describe action performed, rather than possible
10869 failure.
10870
5045b3d7
GB
108712018-06-08 Gary Benson <gbenson@redhat.com>
10872
10873 * gdb.threads/check-libthread-db.exp: New file.
10874 * gdb.threads/check-libthread-db.c: Likewise.
10875
c61b06a1
TT
108762018-06-05 Tom Tromey <tom@tromey.com>
10877
10878 * gdb.base/default.exp: Update expected "show version" output.
10879
eb6af809
TT
108802018-06-05 Tom Tromey <tom@tromey.com>
10881
10882 PR cli/12326:
10883 * gdb.cp/static-print-quit.exp: Update.
10884 * lib/gdb.exp (pagination_prompt): Update.
10885 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10886 * gdb.python/python.exp: Update.
10887
178d6a63
JB
108882018-06-04 Joel Brobecker <brobecker@adacore.com>
10889
10890 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10891
8e817061
JB
108922018-06-01 Joel Brobecker <brobecker@adacore.com>
10893
10894 * gdb.ada/bp_fun_addr: New testcase.
10895
e86ca25f
TT
108962018-06-01 Tom Tromey <tom@tromey.com>
10897
10898 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10899 results.
10900 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10901 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10902 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10903 * gdb.base/maint.exp (maint_pass_if): Update.
10904
4b2dfa9d
MR
109052018-05-31 Maciej W. Rozycki <macro@mips.com>
10906
10907 * gdb.base/endian.exp: New test.
10908 * gdb.base/endian.c: New test source.
10909
45f25d6c
AB
109102018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10911
10912 PR gdb/23203
10913 * gdb.base/bt-selected-frame.c: New file.
10914 * gdb.base/bt-selected-frame.exp: New file.
10915 * lib/gdb.exp (get_current_frame_number): New function.
10916
d9f6d7f8
MR
109172018-05-24 Maciej W. Rozycki <macro@mips.com>
10918 Pedro Alves <palves@redhat.com>
10919
10920 * gdb.threads/tls-core.c: Include <stdlib.h>
10921 (thread_proc): Call `abort'.
10922 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10923 (tls_core_test): New procedure, bits factored out from ...
10924 (top level): ... here. Test both native cores and gcore cores.
10925
ff1cf532
TT
109262018-05-23 Tom Tromey <tom@tromey.com>
10927
10928 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10929
b98664d3
TT
109302018-05-23 Tom Tromey <tom@tromey.com>
10931
10932 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10933 symfile_complaints.
10934 (test_short_complaints): Likewise.
10935 (test_empty_complaints): Likewise.
10936 (test_initial_complaints): Update.
10937
4e9668d0
TT
109382018-05-23 Tom Tromey <tom@tromey.com>
10939
10940 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10941
43ba33c7
TT
109422018-05-23 Tom Tromey <tom@tromey.com>
10943
10944 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10945 (test_short_complaints): Update.
10946
035522c0
PA
109472018-05-22 Pedro Alves <palves@redhat.com>
10948
10949 * gdb.base/remote.exp: Only gdb_start after compiling the
10950 testcase. Issue "disconnect" before testing "set remote" command
10951 defaults. Issue clean_restart before running to main.
10952
cc0be08f
PA
109532018-05-22 Pedro Alves <palves@redhat.com>
10954
10955 * gdb.base/remote.exp: Adjust expected output of "show remote
10956 memory-write-packet-size". Add tests for "set remote
10957 memory-write-packet-size 0" and "set remote
10958 memory-write-packet-size fixed/limit".
10959
b1b60145
PA
109602018-05-22 Pedro Alves <palves@redhat.com>
10961
10962 PR gdb/22973
10963 * gdb.base/utf8-identifiers.c: New file.
10964 * gdb.base/utf8-identifiers.exp: New file.
10965
0ec848ad
PFC
109662018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10967
10968 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10969
2c3305f6
PFC
109702018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10971
10972 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10973
ce1e8424
TT
109742018-05-18 Tom Tromey <tom@tromey.com>
10975
10976 * gdb.base/ptype-offsets.exp: Update.
10977
ddfe970e
KS
109782018-05-17 Keith Seitz <keiths@redhat.com>
10979
10980 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10981 in expected breakpoint stop locations.
10982 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10983 move to proper scope to test variable values.
10984 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10985 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10986 New functions.
10987 (main): Call not_inline_func3.
10988 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10989 inline_func1, inline_func2, and inline_func3. Test that when each
10990 breakpoint is hit, GDB properly reports both the stop location
10991 and the backtrace. Repeat tests for temporary breakpoints.
10992
0726fcc6
MR
109932018-05-15 Maciej W. Rozycki <macro@mips.com>
10994
10995 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10996 rather then trying to access it in determining whether the PID
10997 of `gdbserver' could have been retrieved.
10998
8ee22052
AB
109992018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
11000
11001 * gdb.arch/amd64-init-x87-values.S: New file.
11002 * gdb.arch/amd64-init-x87-values.exp: New file.
11003
7785df48
JK
110042018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11005
11006 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
11007
56bcdbea
TT
110082018-05-04 Tom Tromey <tom@tromey.com>
11009
11010 PR python/22730:
11011 * gdb.python/python.exp: Test multi-line execute.
11012
a913fffb
TT
110132018-05-04 Tom Tromey <tom@tromey.com>
11014
11015 PR python/22731:
11016 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
11017
7a2c85f2
TT
110182018-05-04 Tom Tromey <tom@tromey.com>
11019
11020 PR gdb/11750:
11021 * gdb.base/define.exp: Test defining a user command inside a user
11022 command.
11023 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
11024
a3b60e45
JK
110252018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11026 Pedro Alves <palves@redhat.com>
11027
11028 PR breakpoints/19806 and support for PR external/20207.
11029 * gdb.base/watchpoint-unaligned.c: New file.
11030 * gdb.base/watchpoint-unaligned.exp: New file.
11031
45fe4a03
AB
110322018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
11033
11034 * gdb.base/maint.exp: Make test names unique, use
11035 test_prefix_command_help to test 'help maint info', and remove
11036 repeated test of 'help maint'.
11037
9be2ae8f
TT
110382018-05-04 Tom Tromey <tom@tromey.com>
11039
11040 PR gdb/22619:
11041 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
11042 behavior.
11043
11859c31
AB
110442018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
11045
11046 * gdb.base/maint.exp: Process output from 'maint print registers'
11047 line at a time.
11048
089a9490
AB
110492018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
11050
11051 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
11052 timeout.
11053
9b0797e2
AB
110542018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
11055
11056 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
11057 filter pattern.
11058
f6ac5f3d
PA
110592018-05-02 Pedro Alves <palves@redhat.com>
11060
11061 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
11062 to_log_command renames.
11063 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
11064
77d3c63b
TT
110652018-05-02 Tom Tromey <tom@tromey.com>
11066
11067 * gdb.python/py-parameter.exp: Set test message.
11068
0489430a
TT
110692018-05-02 Tom Tromey <tom@tromey.com>
11070
11071 PR python/20084:
11072 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
11073 PARAM_ZUINTEGER_UNLIMITED tests.
11074
1632f8ba
DR
110752018-04-28 Dan Robertson <danlrobertson89@gmail.com>
11076
11077 PR rust/23124
11078 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
11079 when casting.
11080
6d7bb824
TT
110812018-04-30 Tom Tromey <tom@tromey.com>
11082
11083 * gdb.python/py-type.exp: Check align attribute.
11084 * gdb.python/py-type.c: New "aligncheck" global.
11085
007e1530
TT
110862018-04-30 Tom Tromey <tom@tromey.com>
11087
11088 PR exp/17095:
11089 * gdb.dwarf2/dw2-align.exp: New file.
11090 * gdb.cp/align.exp: New file.
11091 * gdb.base/align.exp: New file.
11092 * lib/gdb.exp (gdb_int128_helper): New proc.
11093 (has_int128_c, has_int128_cxx): New caching procs.
11094
6873858b
TT
110952018-04-27 Tom Tromey <tom@tromey.com>
11096
11097 PR rust/22545:
11098 * gdb.rust/simple.exp: Add inclusive range tests.
11099
79188d8d
PA
111002018-04-26 Pedro Alves <palves@redhat.com>
11101
11102 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
11103 ifunc breakpoint locations correctly of ifunc breakpoints set
11104 while the program resolves the ifunc.
11105
c7075ad5
PA
111062018-04-26 Pedro Alves <palves@redhat.com>
11107
11108 * gdb.base/gnu-ifunc-final.c: New file.
11109 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
11110 * gdb.base/gnu-ifunc.exp (executable): Delete.
11111 (staticexecutable): Adjust.
11112 (lib_opts, exec_opts): Delete.
11113 (make_binsuffix, build, set-break): New procedures.
11114 (misc_tests): New, with tests factored out from the top level.
11115 (top level): Test different combinations of ifunc resolver name,
11116 resolver with and with debug info, and ifunc target with and
11117 without debug info. Wrap static tests with with_target_prefix.
11118
8388016d
PA
111192018-04-26 Pedro Alves <palves@redhat.com>
11120
11121 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
11122 return type" warnings.
11123
249b5733
PA
111242018-04-25 Pedro Alves <palves@redhat.com>
11125
11126 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
11127 killed".
11128 * gdb.base/kill-after-signal.exp: Likewise.
11129 * gdb.threads/kill.exp: Likewise.
11130
f67c0c91
SDJ
111312018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11132 Sergio Durigan Junior <sergiodj@redhat.com>
11133 Pedro Alves <palves@redhat.com>
11134
11135 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
11136 regexps to expect for '[Inferior ... detached]' as well.
11137 * gdb.base/attach.exp: Likewise.
11138 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
11139 "gdb_continue_to_end".
11140 (test_catch_syscall_with_wrong_args): Likewise.
11141 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
11142 ']'. Don't set 'verbose' on.
11143 * gdb.base/foll-vfork.exp: Likewise.
11144 * gdb.base/fork-print-inferior-events.c: New file.
11145 * gdb.base/fork-print-inferior-events.exp: New file.
11146 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
11147 '[Inferior ... has been killed]' message.
11148 * gdb.base/kill-after-signal.exp: Likewise.
11149 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
11150 detach message.
11151 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
11152 message.
11153 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
11154 regexps to expect for '[Inferior ... detached]' as well.
11155 * gdb.threads/process-dies-while-detaching.exp: Likewise.
11156
0a8ddac4
SM
111572018-04-24 Simon Marchi <simon.marchi@ericsson.com>
11158
11159 PR gdb/23104
11160 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
11161
701adfb0
PA
111622018-04-22 Rajendra SY <rajendra.sy@gmail.com>
11163
11164 PR gdb/23095
11165 * gdb.base/break-probes.exp: Pass shlib_load to
11166 prepare_for_testing. Set normal_bp to r_debug_state if target is
11167 bsd.
11168
d27d16bf
RB
111692018-04-19 Richard Bunt <richard.bunt@arm.com>
11170
11171 * gdb.threads/multiple-successive-infcall.c: New test.
11172 * gdb.threads/multiple-successive-infcall.exp: New file.
11173
a037790e
TT
111742018-04-17 Tom Tromey <tom@tromey.com>
11175
11176 * gdb.rust/simple.rs (Union): New type.
11177 (main): New local "u".
11178 * gdb.rust/simple.exp (test_one_slice): Add new test case.
11179
e3a91079
AA
111802018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11181
11182 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
11183 number information in output of "whereis" command.
11184 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
11185
b744723f
AA
111862018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11187
11188 * gdb.ada/info_types.exp: Adjust expected output to the line
11189 numbers now printed by "info var/func/type".
11190 * gdb.base/completion.exp: Likewise.
11191 * gdb.base/included.exp: Likewise.
11192 * gdb.cp/cp-relocate.exp: Likewise.
11193 * gdb.cp/cplusfuncs.exp: Likewise.
11194 * gdb.cp/namespace.exp: Likewise.
11195 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
11196
4a4495d6
MM
111972018-04-13 Markus Metzger <markus.t.metzger@intel.com>
11198
11199 * gdb.btrace/cpu.exp: New.
11200
1d509aa6
MM
112012018-04-13 Markus Metzger <markus.t.metzger@intel.com>
11202
11203 * gdb.base/step-indirect-call-thunk.exp: New.
11204 * gdb.base/step-indirect-call-thunk.c: New.
11205 * gdb.reverse/step-indirect-call-thunk.exp: New.
11206 * gdb.reverse/step-indirect-call-thunk.c: New.
11207
6295b6da
SM
112082018-04-11 Simon Marchi <simon.marchi@ericsson.com>
11209
11210 * gdb.base/pie-fork.c: New file.
11211 * gdb.base/pie-fork.exp: New file.
11212
50146e70
TT
112132018-04-11 Tom Tromey <tom@tromey.com>
11214
11215 * gdb.rust/simple.exp: Add test for ".." struct initializer.
11216
f50d8a2e
PA
112172018-04-10 Pedro Alves <palves@redhat.com>
11218
11219 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
11220 exits. Instead loop running forever.
11221 (fork_parent): Run forever too.
11222
a0be7a36
SM
112232018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
11224
11225 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
11226 mi_continue_to_line.
11227 * gdb.mi/mi-stack.c (callee4): Add comment.
11228
9b73db36
SM
112292018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
11230
11231 * gdb.mi/mi-stack.exp: Fix indentation.
11232
c912f608
SM
112332018-04-07 Simon Marchi <simon.marchi@ericsson.com>
11234
11235 PR gdb/22979
11236 * gdb.arch/amd64-osabi.exp: New file.
11237
26540402
SM
112382018-04-07 Simon Marchi <simon.marchi@ericsson.com>
11239
11240 PR gdb/22980
11241 * gdb.base/osabi.exp: New file.
11242
121ad66c 112432018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
11244
11245 * gdb.cp/static-typedef-print.exp: New file.
11246 * gdb.cp/static-typedef-print.cc: New file.
11247
3fcded8f
JB
112482018-03-27 Joel Brobecker <brobecker@adacore.com>
11249
11250 * gdb.ada/varsize_limit: New testcase.
11251
59cc4834
JB
112522018-03-27 Joel Brobecker <brobecker@adacore.com>
11253
11254 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
11255
11256 * gdb.ada/notcplusplus: New testcase.
11257
11258 * gdb.base/c-linkage-name.c: New file.
11259 * gdb.base/c-linkage-name.exp: New testcase.
11260
4ca59a9f
TT
112612018-03-26 Tom Tromey <tom@tromey.com>
11262
11263 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
11264 * gdb.python/py-framefilter.py (name_error): New global.
11265 (ErrorInName.function): Use name_error.
11266
978d6c75
TT
112672018-03-26 Tom Tromey <tom@tromey.com>
11268
11269 PR backtrace/15582:
11270 * gdb.python/py-framefilter.exp: Add "bt hide" test.
11271
b7fee5a3
KS
112722018-03-23 Keith Seitz <keiths@redhat.com>
11273
11274 PR c++/22968
11275 * gdb.cp/subtypes.exp: New file.
11276 * gdb.cp/subtypes.h: New file.
11277 * gdb.cp/subtypes.cc: New file.
11278 * gdb.cp/subtypes-2.cc: New file.
11279
376be529
AB
112802018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
11281
11282 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
11283 (done): Call '_exit' not 'exit' to avoid atexit handlers.
11284 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
11285 -nostartfiles when compiling the test. Confirm that all registers
11286 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
11287
066cfa98
AB
112882018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
11289
11290 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
11291 option, syntax was wrong anyway.
11292 * gdb.arch/arm-disp-step.exp: Likewise.
11293 * gdb.arch/sparc64-regs.exp: Likewise.
11294 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
11295 option, syntax was wrong anyway, switch to use
11296 prepare_for_testing.
11297 * gdb.arch/i386-disp-step.exp: Likewise.
11298
079670b9
AA
112992018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
11300
11301 * gdb.ada/exec_changed.exp: Replace "target_info exists
11302 use_gdb_stub" by "use_gdb_stub".
11303 * gdb.ada/start.exp: Likewise.
11304 * gdb.base/async-shell.exp: Likewise.
11305 * gdb.base/attach-pie-misread.exp: Likewise.
11306 * gdb.base/attach-wait-input.exp: Likewise.
11307 * gdb.base/break-entry.exp: Likewise.
11308 * gdb.base/break-interp.exp: Likewise.
11309 * gdb.base/dprintf-detach.exp: Likewise.
11310 * gdb.base/nostdlib.exp: Likewise.
11311 * gdb.base/solib-nodir.exp: Likewise.
11312 * gdb.base/statistics.exp: Likewise.
11313 * gdb.base/testenv.exp: Likewise.
11314 * gdb.mi/mi-exec-run.exp: Likewise.
11315 * gdb.mi/mi-start.exp: Likewise.
11316 * gdb.multi/dummy-frame-restore.exp: Likewise.
11317 * gdb.multi/multi-arch-exec.exp: Likewise.
11318 * gdb.multi/multi-arch.exp: Likewise.
11319 * gdb.multi/tids.exp: Likewise.
11320 * gdb.multi/watchpoint-multi.exp: Likewise.
11321 * gdb.python/py-events.exp: Likewise.
11322 * gdb.threads/attach-into-signal.exp: Likewise.
11323 * gdb.threads/attach-stopped.exp: Likewise.
11324 * gdb.threads/threadapply.exp: Likewise.
11325 * lib/selftest-support.exp: Likewise.
11326
26d6cec4
AA
113272018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
11328
11329 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
11330
4ee89e90
SR
113312018-03-20 Stephen Roberts <stephen.roberts@arm.com>
11332
11333 * gdb.perf/template-breakpoints.cc: New file.
11334 * gdb.perf/template-breakpoints.exp: New file.
11335 * gdb.perf/template-breakpoints.py: New file.
11336
92630041
TT
113372018-03-19 Tom Tromey <tom@tromey.com>
11338
11339 * gdb.rust/simple.rs (main): Add local variables field1, field2,
11340 y0.
11341 * gdb.rust/simple.exp: Test bare identifier form of struct
11342 initializer.
11343
76727919
TT
113442018-03-19 Tom Tromey <tom@tromey.com>
11345
11346 * gdb.gdb/observer.exp: Remove.
11347
194ed413
AA
113482018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11349
11350 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
11351 "qualified" option when setting breakpoints.
11352 * gdb.trace/backtrace.exp: Likewise.
11353 * gdb.trace/circ.exp: Likewise.
11354 * gdb.trace/collection.exp: Likewise.
11355 * gdb.trace/disconnected-tracing.exp: Likewise.
11356 * gdb.trace/ftrace-lock.exp: Likewise.
11357 * gdb.trace/ftrace.exp: Likewise.
11358 * gdb.trace/infotrace.exp: Likewise.
11359 * gdb.trace/packetlen.exp: Likewise.
11360 * gdb.trace/passc-dyn.exp: Likewise.
11361 * gdb.trace/qtro.exp: Likewise.
11362 * gdb.trace/read-memory.exp: Likewise.
11363 * gdb.trace/report.exp: Likewise.
11364 * gdb.trace/signal.exp: Likewise.
11365 * gdb.trace/status-stop.exp: Likewise.
11366 * gdb.trace/strace.exp: Likewise.
11367 * gdb.trace/tfind.exp: Likewise.
11368 * gdb.trace/trace-break.exp: Likewise.
11369 * gdb.trace/trace-condition.exp: Likewise.
11370 * gdb.trace/trace-mt.exp: Likewise.
11371 * gdb.trace/tstatus.exp: Likewise.
11372 * gdb.trace/tsv.exp: Likewise.
11373 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11374 * gdb.trace/unavailable.exp: Likewise.
11375 * gdb.trace/while-dyn.exp: Likewise.
11376
8b067d2c
AA
113772018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11378
11379 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
11380 that libinproctrace is copied to the target.
11381
3ae9ce5d
TT
113822018-03-14 Tom Tromey <tom@tromey.com>
11383
11384 PR cli/14977:
11385 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
11386 a null pointer.
11387 * gdb.base/wchar.exp: Likewise.
11388
b8c2339b
TT
113892018-03-14 Tom Tromey <tom@tromey.com>
11390
11391 PR cli/19918:
11392 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
11393 flag.
11394
4872dc46
SM
113952018-03-08 Simon Marchi <simon.marchi@ericsson.com>
11396
11397 PR gdb/22841
11398 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
11399 "target" to remote_exec.
11400
e4fe3756
SM
114012018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
11402
11403 PR gdb/22841
11404 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
11405 ${board}_upload): Remove.
11406
e95a97d4
AA
114072018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
11408
11409 * gdb.cp/watch-cp.cc: New test.
11410 * gdb.cp/watch-cp.exp: New file.
11411
dbbb1059
AB
114122018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
11413
11414 * gdb.base/infcall-nested-structs.exp: New file.
11415 * gdb.base/infcall-nested-structs.c: New file.
11416 * gdb.base/float.exp: Add riscv support.
11417
ecc054c0
TP
114182018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
11419
11420 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
11421 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
11422
25e3c82c
SDJ
114232018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
11424
11425 * gdb.server/abspath.exp: New file.
11426 * lib/gdb.exp (with_cwd): New procedure.
11427
3083294d
SM
114282018-02-28 Simon Marchi <simon.marchi@ericsson.com>
11429
11430 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
11431 use it.
11432 (gdb_is_target_remote_prompt): New proc.
11433 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
11434 (gdb_is_target_native): Pass prompt parameter to
11435 gdb_is_target_1.
11436
3275ef47
SM
114372018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
11438
11439 * gdb.base/load-command.c: New file.
11440 * gdb.base/load-command.exp: New file.
11441 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
11442 (gdb_is_target_1): ...this, and generalize for other targets
11443 than just remote.
11444 (gdb_is_target_remote): Use gdb_is_target_1.
11445 (gdb_is_target_native): use gdb_is_target_1.
11446
6893c19a
TT
114472018-02-26 Tom Tromey <tom@tromey.com>
11448
11449 PR python/16497:
11450 * gdb.python/py-framefilter.exp: Update test.
11451
2ddeaf8a
TT
114522018-02-26 Tom Tromey <tom@tromey.com>
11453
11454 * gdb.dwarf2/variant.c: New file.
11455 * gdb.dwarf2/variant.exp: New file.
11456
c9317f21
TT
114572018-02-26 Tom Tromey <tom@tromey.com>
11458
11459 * gdb.rust/simple.exp: Accept more possible results in enum test.
11460
6f6d0c26
SM
114612018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
11462
11463 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
11464 parentheses.
11465
11b03145
MR
114662018-02-23 Maciej W. Rozycki <macro@mips.com>
11467
11468 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
11469 name of a variable: $actual_linejj -> $actual_line.
11470
54a27fe5
JB
114712018-02-21 John Baldwin <jhb@FreeBSD.org>
11472
11473 * gdb.arch/amd64-i386-address.exp: Fix a typo.
11474
de65820c
MM
114752018-02-20 Markus Metzger <markus.t.metzger@intel.com>
11476
11477 * gdb.btrace/buffer-size.exp: Do not force BTS.
11478
980548fd
PA
114792018-02-14 Pedro Alves <palves@redhat.com>
11480
11481 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
11482 getting a "Quit".
11483
c4e12631
MM
114842018-02-09 Markus Metzger <markus.t.metzger@intel.com>
11485
11486 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
11487 Fix test name.
11488
c2e0e465
SM
114892018-02-07 Simon Marchi <simon.marchi@ericsson.com>
11490
11491 * gdb.cp/m-static.exp: Check type of optimized out static
11492 member.
11493
f7216783
AB
114942018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
11495
11496 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
11497 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
11498
0625771b
LS
114992018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
11500 Leszek Swirski <leszeks@google.com>
11501
11502 * gdb.python/py-prettyprint.c
11503 (struct to_string_returns_value_inner,
11504 struct to_string_returns_value_wrapper): New.
11505 (main): Add tsrvw variable.
11506 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11507 ToStringReturnsValueWrapper): New classes.
11508 (register_pretty_printers): Register new pretty-printers.
11509 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11510 recursive pretty printer.
11511 * gdb.python/py-mi.exp: Likewise.
11512
59498c30
LS
115132018-02-01 Leszek Swirski <leszeks@google.com>
11514
11515 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11516 functions with the same name as an include file are parsed
11517 correctly.
11518
d4d38844
YQ
115192018-02-01 Yao Qi <yao.qi@linaro.org>
11520
11521 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11522 "\[^\r\n\]*".
11523
07e5f5cf
NP
115242018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11525
11526 * gdb.arch/powerpc-prologue-frame.s: New file.
11527 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11528 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11529
929b5ad4
JB
115302018-01-31 Joel Brobecker <brobecker@adacore.com>
11531
11532 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11533
e671cd59
PA
115342018-01-30 Pedro Alves <palves@redhat.com>
11535
11536 PR gdb/13211
11537 * gdb.base/interrupt-daemon.c: New.
11538 * gdb.base/interrupt-daemon.exp: New.
11539 * gdb.multi/multi-term-settings.c: New.
11540 * gdb.multi/multi-term-settings.exp: New.
11541
fc413dc4
JB
115422018-01-30 Joel Brobecker <brobecker@adacore.com>
11543
11544 * gdb.base/break.exp: Save the location where the breakpoint
11545 on break.c:47 was actually inserted when debugging the version
11546 compiled at -O2 and use it in the expected output of the "info
11547 break" test performed soon after.
11548
5c319bb2
PA
115492018-01-22 Pedro Alves <palves@redhat.com>
11550 Sergio Durigan Junior <sergiodj@redhat.com>
11551
11552 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11553 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11554
a9e40818
JB
115552018-01-22 Joel Brobecker <brobecker@adacore.com>
11556
11557 * gdb.base/break-include.c, gdb.base/break-include.inc,
11558 gdb.base/break-include.exp: New files.
11559 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11560 line number now being the actual line number where the breakpoint
11561 was inserted.
11562 * gdb.mi/mi-break.exp: Likewise.
11563 * gdb.mi/mi-reverse.exp: Likewise.
11564 * gdb.mi/mi-simplerun.exp: Ditto.
11565
e707fc44
AB
115662018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11567
11568 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11569 varobj.
11570 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11571
ae451627
AB
115722018-01-21 Don Breazeal <donb@codesourcery.com>
11573 Andrew Burgess <andrew.burgess@embecosm.com>
11574
11575 * gdb.mi/basics.c: Add new global.
11576 * gdb.mi/mi-frame-regs.exp: New file.
11577 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11578 case.
11579
b1b189e0
AB
115802018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11581
11582 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11583 non-parameter, and on an unknown symbol.
11584
fcfcc376
TT
115852018-01-19 Tom Tromey <tom@tromey.com>
11586
11587 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11588 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11589
634c1c31
AA
115902018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11591
11592 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11593 setrlimit and chdir to int.
11594
d6ad07fd
AA
115952018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11596
11597 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11598 function.
11599 (my_tend): Likewise.
11600 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11601 rationale of avoiding FP- and vector instructions.
11602
adf8243b
RK
116032018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11604
11605 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11606 "info reg" with "\[ \t\]*".
11607 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11608 "\[ \t\]+".
11609 * gdb.arch/s390-multiarch.exp: Ditto.
11610 * gdb.base/pc-fp.exp: Ditto.
11611 * gdb.reverse/i386-precsave.exp: Ditto.
11612 * gdb.reverse/i386-reverse.exp: Ditto.
11613 * gdb.reverse/i387-env-reverse.exp: Ditto.
11614 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11615
dcc06925
AA
116162018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11617
11618 * lib/gdb.exp (gdb_compile): Re-enable use of
11619 universal_compile_options for languages other than Rust.
11620
25d4fd80
AA
116212018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11622
11623 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11624
ee7f689e 116252018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
11626
11627 PR gdb/16577
11628 * gdb.base/solib-vanish.exp: New.
11629 * gdb.base/solib-vanish-main.c: New.
11630 * gdb.base/solib-vanish-lib1.c: New.
11631 * gdb.base/solib-vanish-lib2.c: New.
11632
d8447b6b
YQ
116332018-01-17 Yao Qi <yao.qi@linaro.org>
11634
11635 * gdb.compile/compile.exp: Match the address printed for
11636 frame in the output of command "bt".
11637
86d6a90c
TT
116382018-01-15 Tom Tromey <tom@tromey.com>
11639
11640 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11641 compute sp_reg.
11642
cbcdb1aa
AB
116432018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11644
11645 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11646 to prepare.
11647 (prepare): Return 0 on error, 1 on success.
11648
eea61984
PA
116492018-01-12 Pedro Alves <palves@redhat.com>
11650
11651 * gdb.base/continue-after-aborted-step-over.c: New.
11652 * gdb.base/continue-after-aborted-step-over.exp: New.
11653
6181e9c2
SM
116542018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11655
11656 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11657 options when not creating an executable.
11658
3cada740
PA
116592018-01-11 Pedro Alves <palves@redhat.com>
11660
11661 PR remote/22597
11662 * gdb.server/stop-reply-no-thread.c: New file.
11663 * gdb.server/stop-reply-no-thread.exp: New file.
11664
c63d3e8d
PA
116652018-01-10 Pedro Alves <palves@redhat.com>
11666
11667 PR gdb/22670
11668 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11669 functions too. Test setting breakpoints and printing C functions
11670 with no debug info too.
11671 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11672
d4c2a405
PA
116732018-01-10 Pedro Alves <palves@redhat.com>
11674
11675 PR gdb/22670
11676 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11677 a fail.
11678
8825213e
PA
116792018-01-10 Pedro Alves <palves@redhat.com>
11680
11681 PR gdb/22670
11682 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11683
605fd3c6
YQ
116842018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11685
11686 * gdb.server/unittest.exp: Match the output in non-development
11687 mode.
11688
1e5ded6c
YQ
116892018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11690
11691 * gdb.gdb/unittest.exp: Match output in non-development mode.
11692
30066b0b
JB
116932018-01-08 Joel Brobecker <brobecker@adacore.com>
11694
11695 * gdb.ada/access_tagged_param.exp: Relax expected output
11696 for value of "ObjL" in "continue" to pck.inspect breakpoint
11697 test.
11698
04bafb1e
XR
116992018-01-08 Joel Brobecker <brobecker@adacore.com>
11700
9f86398b
JB
11701 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11702 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 11703
e379cee6
PA
117042018-01-05 Pedro Alves <palves@redhat.com>
11705
11706 PR gdb/18653
11707 * gdb.base/libsegfault.exp: New.
11708
de63c46b
PA
117092018-01-05 Joel Brobecker <brobecker@adacore.com>
11710
11711 PR gdb/22670
11712 * gdb.ada/access_tagged_param.exp: New file.
11713 * gdb.ada/access_tagged_param/foo.adb: New file.
11714
f98fc17b
PA
117152018-01-05 Pedro Alves <palves@redhat.com>
11716
11717 PR gdb/22670
11718 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11719 exercise lower case too, and to exercise both full matching and
11720 wild matching.
11721
342f8240
JB
117222018-01-05 Joel Brobecker <brobecker@adacore.com>
11723
11724 * gdb.ada/rename_subscript_param: New testcase.
11725
7150d33c
JG
117262018-01-05 Jerome Guitton <guitton@adacore.com>
11727
11728 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11729
cc0e770c
JB
117302018-01-05 Joel Brobecker <brobecker@adacore.com>
11731
11732 * gdb.ada/convvar_comp: New testcase.
11733
672a41aa 117342018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
11735
11736 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11737 (My_Table): New global variable.
11738 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11739
7365ec2f
JB
117402018-01-04 Joel Brobecker <brobecker@adacore.com>
11741
11742 PR gdb/22670
11743 * gdb.ada/maint_with_ada: New testcase.
11744
289483b6
JB
117452018-01-04 Joel Brobecker <brobecker@adacore.com>
11746
11747 PR gdb/22670
11748 * gdb.ada/bp_c_mixed_case: New testcase.
11749
344420da
JB
117502018-01-04 Joel Brobecker <brobecker@adacore.com>
11751
11752 PR gdb/22670
11753 * gdb.ada/complete.exp: Add "complete break ada" test.
11754
66fc87a0
JB
117552018-01-04 Joel Brobecker <brobecker@adacore.com>
11756
11757 PR gdb/22670
11758 * gdb.ada/info_addr_mixed_case: New testcase.
11759
9f757bf7
XR
117602018-01-03 Xavier Roirand <roirand@adacore.com>
11761
11762 * gdb.ada/excep_handle.exp: New testcase.
11763 * gdb.ada/excep_handle/foo.adb: New file.
11764 * gdb.ada/excep_handle/pck.ads: New file.
11765
bd570f80
JB
117662018-01-03 Joel Brobecker <brobecker@adacore.com>
11767
11768 * gdb.base/step-line.c: Add extra empty line in copyright header.
11769 * gdb.base/step-line.inp: Likewise.
11770
9fe561ab
JB
117712018-01-02 Joel Brobecker <brobecker@adacore.com>
11772
11773 * gdb.ada/dyn_stride.exp: Add slice test.
11774
a405673c
JB
117752018-01-02 Joel Brobecker <brobecker@adacore.com>
11776
11777 * gdb.ada/dyn_stride: New testcase.
11778
cef0f868
SH
117792017-12-27 Stafford Horne <shorne@gmail.com>
11780
11781 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11782 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11783
b67d92b0
SH
117842017-12-27 Stafford Horne <shorne@gmail.com>
11785
11786 * gdb.base/reggroups.c: New file.
11787 * gdb.base/reggroups.exp: New file.
11788
eccab96d
JB
117892017-12-18 Joel Brobecker <brobecker@adacore.com>
11790
11791 * gdb.dwarf2/ada-valprint-error.c: New file.
11792 * gdb.dwarf2/ada-valprint-error.exp: New file.
11793
0e2da9f0
JB
117942017-12-18 Joel Brobecker <brobecker@adacore.com>
11795
11796 * gdb.ada/assign_arr: New testcase.
11797
cb923fcc
XR
117982017-12-18 Xavier Roirand <roirand@adacore.com>
11799
11800 * gdb.ada/funcall_ptr: New testcase.
11801
7c161838
SDJ
118022017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11803
11804 PR cli/16224
11805 * gdb.base/ptype-offsets.cc: New file.
11806 * gdb.base/ptype-offsets.exp: New file.
11807
1af17fd9
YQ
118082017-12-15 Yao Qi <yao.qi@linaro.org>
11809
11810 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11811 if XML is disabled.
11812
828d5846
XR
118132017-12-15 Xavier Roirand <roirand@adacore.com>
11814
11815 * gdb.ada/same_component_name: New testcase.
11816
79e8fcaa
JB
118172017-12-14 Joel Brobecker <brobecker@adacore.com>
11818
11819 * gdb.ada/str_binop_equal: New testcase.
11820
e05fa6f9
JB
118212017-12-14 Joel Brobecker <brobecker@adacore.com>
11822
11823 * gdb.ada/task_switch_in_core: New testcase.
11824
b89641ba
SM
118252017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11826
11827 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11828 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11829 call test_bkpt_qualified.
11830 (test_bkpt_qualified): New proc.
11831
6892d2e4
PA
118322017-12-13 Pedro Alves <palves@redhat.com>
11833
11834 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11835 Tighten regexp by matching with an anchor.
11836
a22ecf70
PA
118372017-12-13 Pedro Alves <palves@redhat.com>
11838
11839 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11840 ("expression with namespace"): New set of tests.
11841 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11842 (Nested::Test_NS::qux): New.
11843 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11844 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11845
9937536c
JB
118462017-12-13 Joel Brobecker <brobecker@adacore.com>
11847
11848 * gdb.base/server-del-break.c: New file.
11849 * gdb.base/server-del-break.exp: New file.
11850
fe49c6f5
SH
118512017-12-12 Stafford Horne <shorne@gmail.com>
11852
11853 * gdb.xml/tdesc-regs.exp: Add or1k support.
11854
c3d18620
SH
118552017-12-12 Stafford Horne <shorne@gmail.com>
11856
11857 * gdb.base/bp-permanent.c: Define nop of or1k.
11858
c5f9cfc8
JB
118592017-12-11 Joel Brobecker <brobecker@adacore.com>
11860
11861 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11862 output with components being reordered.
11863
a9c135fc
JB
118642017-12-11 Joel Brobecker <brobecker@adacore.com>
11865
11866 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11867 output with components being reordered.
11868
927aa2e7
JK
118692017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11870 Pedro Alves <palves@redhat.com>
11871
11872 * gdb.base/maint.exp (check for .gdb_index): Check also for
11873 .debug_names.
11874 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11875 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11876 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11877 (.gdb_index used after symbol reloading): Support also .debug_names.
11878 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11879
f17d9474
YQ
118802017-12-08 Yao Qi <yao.qi@linaro.org>
11881
11882 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11883 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11884
a0de8c21
YQ
118852017-12-08 Yao Qi <yao.qi@linaro.org>
11886
11887 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11888 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11889
a738ea1d
YQ
118902017-12-08 Yao Qi <yao.qi@linaro.org>
11891
11892 * gdb.arch/aarch64-tagged-pointer.c: New file.
11893 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11894
1cd9a73b
SDJ
118952017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11896
11897 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11898 "int".
11899
fa6eb693
KS
119002017-12-07 Keith Seitz <keiths@redhat.com>
11901
11902 PR breakpoints/22569
11903 * gdb.linespec/ls-errs.exp: Change expected result of "break
11904 -source this file has spaces.c -line 3".
11905 Check that an explicit source file followed by whitespace is
11906 identified as an invalid explicit location.
11907
883fd55a
KS
119082017-12-07 Keith Seitz <keiths@redhat.com>
11909
11910 * gdb.cp/nested-types.cc: New file.
11911 * gdb.cp/nested-types.exp: New file.
11912 * lib/cp-support.exp: Load data-structures.exp library.
11913 (debug_cp_test_ptype_class): New global.
11914 (cp_ptype_class_verbose, next_line): New procedures.
11915 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11916 Add and document new return value.
11917 Switch the list of lines to a queue.
11918 Add support for new `type' key for nested type definitions.
11919 Add debugging/troubleshooting messages.
11920 * lib/data-structures.exp: New file.
11921
ec72db3e
SM
119222017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11923
11924 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11925 with proc_with_prefix, don't use with_test_prefix.
11926
99598d71
TT
119272017-12-07 Tom Tromey <tom@tromey.com>
11928
11929 * gdb.base/break.exp: Add test for empty "commands".
11930
a8806230
YQ
119312017-12-07 Yao Qi <yao.qi@linaro.org>
11932
11933 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11934 malloc and catch syscall.
11935
824cc835
PM
119362017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11937
e79be6e5 11938 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11939 tests for explicit locations.
11940
7cc244de
PA
119412017-12-06 Pedro Alves <palves@redhat.com>
11942
11943 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11944 force-disabling XML descriptions.
11945
50a1fdd5
PA
119462017-12-04 Pedro Alves <palves@redhat.com>
11947
11948 PR gdb/22499
11949 * gdb.arch/amd64-disp-step-avx.S: New file.
11950 * gdb.arch/amd64-disp-step-avx.exp: New file.
11951
f0fb2488
PA
119522017-12-03 Pedro Alves <palves@redhat.com>
11953
11954 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11955 and <string.h>.
11956 (parent_function): Print distinct messages when waitpid fails, or
11957 the child exits with a signal, or the child exits for an unhandled
11958 reason.
11959 * gdb.threads/process-dies-while-detaching.exp
11960 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11961 it. Wait for both inferior output and GDB's prompt. Use an
11962 indirect spawn id list.
11963 (do_detach): New parameter 'child_exit'. Use it to compute
11964 expected inferior output.
11965 (test_detach, test_detach_watch, test_detach_killed_outside):
11966 Adjust to pass down the expected child exit kind.
11967
97cbe998
SDJ
119682017-12-01 Joel Brobecker <brobecker@adacore.com>
11969 Sergio Durigan Junior <sergiodj@redhat.com>
11970 Pedro Alves <palves@redhat.com>
11971
11972 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11973
40fc416f
SDJ
119742017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11975
11976 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11977 to 'symbol-file' and 'add-symbol-file' can be
11978 position-independent.
11979
1cc75e92
YQ
119802017-12-01 Yao Qi <yao.qi@linaro.org>
11981
11982 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11983 the URL in copyright header.
11984 * gdb.arch/aarch64-fp.exp: Likewise.
11985 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11986 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11987 * gdb.base/expand-psymtabs.exp: Likewise.
11988 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11989 * gdb.fortran/common-block.exp: Likewise.
11990 * gdb.fortran/common-block.f90: Likewise.
11991 * gdb.fortran/logical.exp: Likewise.
11992 * gdb.fortran/vla-datatypes.f90: Likewise.
11993 * gdb.fortran/vla-sub.f90: Likewise.
11994
875fb7a7
JB
119952017-11-30 Joel Brobecker <brobecker@adacore.com>
11996
11997 * gdb.ada/repeat_dyn: New testcase.
11998
6f14765f
UW
119992017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
12000
12001 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
12002 Update for changed thread numbering.
12003 * gdb.cell/bt.exp: Update for changed GDB output.
12004
f1af7b94
SM
120052017-11-30 Simon Marchi <simon.marchi@ericsson.com>
12006
12007 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
12008 setting isremote by hand.
12009 * boards/dwarf4-gdb-index.exp: Likewise.
12010 * boards/fission.exp: Likewise.
12011 * boards/stabs.exp: Likewise.
12012
e3919f3e
PA
120132017-11-30 Pedro Alves <palves@redhat.com>
12014
12015 * gdb.linespec/cpls-ops.exp
12016 (check_explicit_skips_function_argument): Extract the underlying
12017 type of size_t instead of hardcoding it.
12018
bd69330d
PA
120192017-11-29 Pedro Alves <palves@redhat.com>
12020
12021 PR c++/19436
12022 * gdb.linespec/cpls-abi-tag.cc: New file.
12023 * gdb.linespec/cpls-abi-tag.exp: New file.
12024
a20714ff
PA
120252017-11-29 Pedro Alves <palves@redhat.com>
12026
12027 * gdb.base/langs.exp: Use -qualified.
12028 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
12029 it.
12030 * gdb.cp/namespace.exp: Use -qualified.
12031 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
12032 (overload-3, template-overload, template-ret-type, const-overload)
12033 (const-overload-quoted, anon-ns, ambiguous-prefix): New
12034 procedures.
12035 (test_driver): Call them.
12036 * gdb.cp/save-bp-qualified.cc: New.
12037 * gdb.cp/save-bp-qualified.exp: New.
12038 * gdb.linespec/explicit.exp: Test -qualified.
12039 * lib/completion-support.exp (completion::explicit_opts_list): Add
12040 "-qualified".
12041 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
12042
f6f1d339
PM
120432017-11-29 Phil Muldoon <pmuldoon@redhat.com>
12044
12045 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
12046
02ca603a
TT
120472017-11-29 Tom Tromey <tom@tromey.com>
12048
12049 * gdb.base/relocate.exp: Update invalid argument test.
12050 Add new tests for invalid arguments.
12051
ed6c0bfb
TP
120522017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
12053
12054 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
12055 Return 0 as a long.
12056 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
12057
f106e10e
TP
120582017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
12059
12060 * gdb.cp/breakpoint.cc (bar): Set return type to void.
12061 * gdb.cp/psymtab-parameter.cc (func): Likewise.
12062 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
12063 func ().
12064 * gdb.cp/shadow.cc (B.func): Return 0.
12065
10329bb2
JB
120662017-11-27 Joel Brobecker <brobecker@adacore.com>
12067
12068 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
12069 expected output in gdb_expect call to allow the exception
12070 message to be present as well. Fix syntax confusion to avoid
12071 TCL thinking that exception_name is an array.
12072
617cd4bc
UW
120732017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
12074
12075 * gdb.arch/spu-info.c: Include <unistd.h>.
12076 (do_signal_test): Fix broken calls to write.
12077 * gdb.arch/spu-info.exp: Use prepare_for_testing.
12078 Fix checks for empty mailboxes. Update signal tests for corrected
12079 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
12080 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
12081 * gdb.cell/arch.exp: Use standard_output_file.
12082 * gdb.cell/break.exp: Likewise.
12083 * gdb.cell/bt.exp: Likewise.
12084 * gdb.cell/core.exp: Likewise.
12085 * gdb.cell/dwarfaddr.exp: Likewise.
12086 * gdb.cell/ea-cache.exp: Likewise.
12087 * gdb.cell/ea-standalone.exp: Likewise.
12088 * gdb.cell/f-regs.exp: Likewise.
12089 * gdb.cell/fork.exp: Likewise.
12090 * gdb.cell/gcore.exp: Likewise.
12091 * gdb.cell/mem-access.exp: Likewise.
12092 * gdb.cell/ptype.exp: Likewise.
12093 * gdb.cell/registers.exp: Likewise.
12094 * gdb.cell/sizeof.exp: Likewise.
12095 * gdb.cell/solib-symbol.exp: Likewise.
12096 * gdb.cell/solib.exp: Likewise.
617cd4bc 12097
a81aaca0
PA
120982017-11-25 Pedro Alves <palves@redhat.com>
12099
12100 * gdb.base/complete-empty.exp: New file.
12101 * gdb.base/completion.exp: Adjust.
12102
6a3c6ee4
PA
121032017-11-25 Pedro Alves <palves@redhat.com>
12104
12105 * gdb.linespec/cpls-ops.cc: New file.
12106 * gdb.linespec/cpls-ops.exp: New file.
12107 * lib/completion-support.exp (test_complete_prefix_range_re): New,
12108 factored out from ...
12109 (test_complete_prefix_range): ... this.
12110
8955eb2d
PA
121112017-11-24 Pedro Alves <palves@redhat.com>
12112
12113 * gdb.linespec/cpcompletion.exp: New file.
12114 * gdb.linespec/cpls-hyphen.cc: New file.
12115 * gdb.linespec/cpls.cc: New file.
12116 * gdb.linespec/cpls2.cc: New file.
12117 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
12118 test to use test_gdb_complete_unique. Add label completion,
12119 keyword completion and explicit location completion tests.
12120 * lib/completion-support.exp: New file.
12121
e547c119
JB
121222017-11-24 Joel Brobecker <brobecker@adacore.com>
12123
12124 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
12125 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
12126 when hitting an exception catchpoint.
12127
7c3c1aa8
YQ
121282017-11-22 Yao Qi <yao.qi@linaro.org>
12129
12130 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
12131
41bd68f5
SM
121322017-11-22 Simon Marchi <simon.marchi@ericsson.com>
12133
12134 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
12135 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
12136 * gdb.dwarf2/info-locals-optimized-out.c: New file.
12137
1daad298
YQ
121382017-11-22 Yao Qi <yao.qi@linaro.org>
12139
12140 * gdb.base/info-os.exp: Pass pthreads.
12141 * gdb.multi/multi-attach.exp: Likewise.
12142
88465e87
YQ
121432017-11-22 Yao Qi <yao.qi@linaro.org>
12144
12145 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
12146 compiler.
12147
dc196b23
YQ
121482017-11-22 Yao Qi <yao.qi@linaro.org>
12149
12150 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
12151 * gdb.base/break-interp.exp: Likewise.
12152 * gdb.base/jit-attach-pie.exp: Likewise.
12153
2400729e
UW
121542017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
12155
12156 * gdb.base/float128.c (large128): New variable.
12157 * gdb.base/float128.exp: Add test to print largest __float128 value.
12158
7a26362d
UW
121592017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
12160
12161 * gdb.arch/vsx-regs.exp: Update register content checks.
12162
ed0f4273
UW
121632017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
12164
12165 * gdb.arch/ppc-longdouble.exp: New file.
12166 * gdb.arch/ppc-longdouble.c: Likewise.
12167
a25d69c6
PA
121682017-11-21 Pedro Alves <palves@redhat.com>
12169
12170 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
12171
73fcf641
PA
121722017-11-20 Pedro Alves <palves@redhat.com>
12173
12174 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
12175 (long_double_typedef): New typedefs.
12176 Use DEF on double and long double.
12177 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
12178 cases.
12179 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
12180 and 'long_double_ptr_same_size' locals. Use them to decide
12181 whether cast from array/function to float is valid/invalid.
12182
71a3c369
TT
121832017-11-17 Tom Tromey <tom@tromey.com>
12184
12185 * gdb.rust/traits.rs: New file.
12186 * gdb.rust/traits.exp: New file.
12187
ced9779b
JB
121882017-11-17 Joel Brobecker <brobecker@adacore.com>
12189
12190 * gdb.ada/minsyms: New testcase.
12191
a0922d80
PA
121922017-11-16 Pedro Alves <palves@redhat.com>
12193
12194 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
12195 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
12196
ea04e54c
PA
121972017-11-16 Pedro Alves <palves@redhat.com>
12198
12199 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
12200 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
12201
e849ea89
PA
122022017-11-16 Pedro Alves <palves@redhat.com>
12203
12204 * gdb.server/reconnect-ctrl-c.c: New file.
12205 * gdb.server/reconnect-ctrl-c.exp: New file.
12206
d8ae99a7
PM
122072017-11-16 Phil Muldoon <pmuldoon@redhat.com>
12208
12209 * gdb.python/py-rbreak.exp: New file.
12210 * gdb.python/py-rbreak.c: New file.
12211 * gdb.python/py-rbreak-func2.c: New file.
12212
968a13f8
PA
122132017-11-16 Pedro Alves <palves@redhat.com>
12214
12215 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
12216 pattern.
12217 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
12218 GDB.
12219
71774bc9
SM
122202017-11-15 Simon Marchi <simon.marchi@ericsson.com>
12221
12222 * gdb.tui/completionn.exp (test_tab_completion): Add space in
12223 regex.
12224
ddbb44cf
SM
122252017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
12226
12227 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
12228 test names.
12229
584a564f
PA
122302017-11-09 Pedro Alves <palves@redhat.com>
12231
12232 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
12233 factored out from ...
12234 (top level): ... here, and adjusted to avoid expecting beyond the
12235 prompt in a single gdb_test_multiple.
12236
5ed7a928
PA
122372017-11-09 Pedro Alves <palves@redhat.com>
12238
12239 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
12240 output.
12241 * gdb.server/ext-attach.exp ("kill" test): Likewise.
12242 * gdb.server/ext-restart.exp ("kill" test): Likewise.
12243 * gdb.server/ext-run.exp ("kill" test): Likewise.
12244 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
12245
a60e0738
PA
122462017-11-09 Pedro Alves <palves@redhat.com>
12247
12248 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
12249 match till end of line.
12250
2c88253f
PA
122512017-11-09 Pedro Alves <palves@redhat.com>
12252
12253 * gdb.base/memattr.exp: Tighten regexes to match the end line.
12254
c7a38517
PA
122552017-11-09 Pedro Alves <palves@redhat.com>
12256
12257 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
12258 New procedures, factored out from ...
12259 (top level): ... here, and adjusted to avoid expecting beyond the
12260 prompt in one go.
12261
f29f4b6b
PA
122622017-11-09 Pedro Alves <palves@redhat.com>
12263
12264 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
12265 output. Fix '?' match.
12266
286acbb5
JB
122672017-11-08 Joel Brobecker <brobecker@adacore.com>
12268
12269 * gdb.ada/scoped_watch: New testcase.
12270 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
12271 which is actually correct.
12272 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
12273 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
12274
62d7ae92
PA
122752017-11-08 Pedro Alves <palves@redhat.com>
12276
12277 * gdb.gdb/complaints.exp (test_initial_complaints)
12278 (test_serial_complaints, test_short_complaints): Call
12279 complaint_internal instead of complaint.
12280
280ca31f
DT
122812017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
12282
12283 * gdb.threads/tls-core.c: New file.
12284 * gdb.threads/tls-core.exp: Likewise.
12285
b5ec771e
PA
122862017-11-08 Pedro Alves <palves@redhat.com>
12287
12288 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
12289 (p Exported_Capitalized): New test.
12290 (p exported_capitalized): New test.
12291
a02b41a7
PA
122922017-11-07 Pedro Alves <palves@redhat.com>
12293
12294 * gdb.cp/ena-dis-br-range.exp: Add more tests.
12295
95e95a6d
PA
122962017-11-07 Pedro Alves <palves@redhat.com>
12297
12298 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
12299 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
12300 (disable_invalid, disable_inverted, disable_negative): New
12301 procedures.
12302 ("bad numbers"): New set of tests.
12303
cee62dbd
PA
123042017-11-07 Pedro Alves <palves@redhat.com>
12305
12306 * gdb.cp/ena-dis-br-range.exp: Add tests.
12307
cc638e86
PA
123082017-11-07 Pedro Alves <palves@redhat.com>
12309
12310 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
12311
d0fe4701
XR
123122017-11-07 Xavier Roirand <roirand@adacore.com>
12313 Pedro Alves <palves@redhat.com>
12314
12315 * gdb.base/ena-dis-br.exp: Add reference to
12316 gdb.cp/ena-dis-br-range.exp.
12317 * gdb.cp/ena-dis-br-range.exp: New file.
12318 * gdb.cp/ena-dis-br-range.cc: New file.
12319
46f67f80
PA
123202017-11-06 Pedro Alves <palves@redhat.com>
12321
12322 * gdb.base/attach-non-pgrp-leader.c: New.
12323 * gdb.base/attach-non-pgrp-leader.exp: New.
12324
726e1356
PA
123252017-11-06 Pedro Alves <palves@redhat.com>
12326
12327 * configure.ac: No longer check for termio.h and sgtty.h.
12328 * configure: Regenerate.
12329 * remote-utils.c: Include termios.h instead of gdb_termios.h.
12330 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
12331 Remove termio and sgtty code.
12332
50ab6ace
YQ
123332017-11-03 Yao Qi <yao.qi@linaro.org>
12334
12335 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
12336 in GDB is disabled.
12337
8e68731c
YQ
123382017-11-03 Yao Qi <yao.qi@linaro.org>
12339
12340 * gdb.python/py-thrhandle.exp: Skip it if python is not
12341 enabled.
12342
3a87ae65
SM
123432017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
12344
12345 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
12346 as a breakpoint command.
12347
484d8d36
MD
123482017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
12349
12350 PR python/21213
12351 * gdb.python/py-infthread.exp: Test calling
12352 InferiorThread.inferior () multiple times in a row.
12353
4a27f119
KS
123542017-10-27 Keith Seitz <keiths@redhat.com>
12355
12356 * gdb.opt/inline-break.exp (break_info_1): New procedure.
12357 Test "info break" for every inlined function breakpoint.
12358
bb11dd58
YQ
123592017-10-27 Yao Qi <yao.qi@linaro.org>
12360
12361 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
12362
a43f3893
PF
123632017-10-26 Patrick Frants <osscontribute@gmail.com>
12364
12365 * gdb.cp/classes.exp (test_static_members): Test printing
12366 Outer::instance.
12367 * gdb.cp/classes.c (struct Inner, struct Outer): New.
12368 (Inner::instance, Outer::instance): New.
12369
792ccf00
PA
123702017-10-24 Pedro Alves <palves@redhat.com>
12371
12372 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
12373 extra console" test in two stages.
12374
eb2bfbad
PA
123752017-10-24 Pedro Alves <palves@redhat.com>
12376
12377 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
12378
1f75a651
PA
123792017-10-24 Pedro Alves <palves@redhat.com>
12380
12381 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
12382 loop.
12383
779990d9
PA
123842017-10-24 Pedro Alves <palves@redhat.com>
12385
12386 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
12387 $attempt" and "stoppedtry $stoppedtry" test prefixes.
12388
ad9b8f5d
PA
123892017-10-24 Pedro Alves <palves@redhat.com>
12390
12391 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
12392 parameter and handle it. Don't output read value in test name.
12393
fee6da6e
PA
123942017-10-24 Pedro Alves <palves@redhat.com>
12395
12396 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
12397 custom test name.
12398
10389c2c
PA
123992017-10-24 Pedro Alves <palves@redhat.com>
12400
12401 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
12402 include the unstable output directory name in the test's name.
12403 (initial_setup_simple) <'set args'>: Use custom test name.
12404
a80e65a9
PA
124052017-10-24 Pedro Alves <palves@redhat.com>
12406
12407 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
12408 with explicit test name.
12409
15763a09
PA
124102017-10-20 Pedro Alves <palves@redhat.com>
12411
12412 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
12413 'wait -i'. Use gdb_assert and remote_close.
12414
49a4ce2e
AB
124152017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
12416
12417 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
12418 number from variable rather than hard-coded.
12419
a75868f5
PA
124202017-10-19 Pedro Alves <palves@redhat.com>
12421
12422 * gdb.base/long-inferior-output.c: New file.
12423 * gdb.base/long-inferior-output.exp: New file.
12424
c8ba13ad
KS
124252017-11-18 Keith Seitz <keiths@redhat.com>
12426
12427 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
12428 method.
12429 (main): Call it.
12430 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
12431 Add additional user-defined conversion operator tests.
12432
b27de576
PA
124332017-10-17 Pedro Alves <palves@redhat.com>
12434
12435 * boards/native-stdio-gdbserver.exp: Load "local-board".
12436
8484c955
PA
124372017-10-17 Pedro Alves <palves@redhat.com>
12438
12439 * gdb.base/quit-live.c: New file.
12440 * gdb.base/quit-live.exp: New file.
12441
83d5a34d
KS
124422017-10-16 Keith Seitz <keiths@redhat.com>
12443
12444 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
12445 (class_with_protected_typedef, class_with_private_typedef)
12446 (struct_with_public_typedef, struct_with_protected_typedef)
12447 (struct_with_private_typedef): New classes/structs.
12448 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
12449 typedefs and access specifiers.
12450
739b3f1d
PA
124512017-10-16 Pedro Alves <palves@redhat.com>
12452 Simon Marchi <simon.marchi@polymtl.ca>
12453
12454 * README (Local vs Remote vs Native): New section.
12455 * boards/local-board.exp: New file, with bits factored out from
12456 ...
12457 * boards/native-extended-gdbserver.exp: ... here. Load
12458 "local-board".
12459 * boards/native-gdbserver.exp: Load "local-board".
12460 (${board}_spawn, ${board}_exec): Delete.
12461 * boards/native-stdio-gdbserver.exp: Most contents factored out to
12462 ...
12463 * boards/stdio-gdbserver-base.exp: ... this new file.
12464 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
12465 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
12466 procedure.
12467 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
12468 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
12469 stdio_gdbserver_command.
12470 (${board}_get_remote_address, ${board}_get_comm_port)
12471 (${board}_download, ${board}_upload): Delete.
12472 (get_target_remote_pipe_cmd): New.
12473
fe68b953
SM
124742017-10-16 Simon Marchi <simon.marchi@ericsson.com>
12475
12476 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
12477 test_bkpt_deletion, test_bkpt_cond_and_cmds,
12478 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
12479 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
12480 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
12481 remove with_test_prefix.
12482
300b6685
PA
124832017-10-13 Pedro Alves <palves@redhat.com>
12484
12485 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
12486 * gdb.base/annota1.exp: Use it instead of is_remote.
12487 * gdb.base/annota3.exp: Use it instead of is_remote.
12488 * gdb.cp/annota2.exp: Use it instead of is_remote.
12489 * gdb.cp/annota3.exp: Use it instead of is_remote.
12490 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
12491
50500caf
PA
124922017-10-13 Pedro Alves <palves@redhat.com>
12493
12494 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
12495 (test_num_test_vars, run_and_count_vars, find_env)
12496 (test_set_unset_env, test_inherit_env_var): New procedures.
12497 (top level): Use them.
12498
dad0c6d2
PA
124992017-10-13 Pedro Alves <palves@redhat.com>
12500
12501 * lib/selftest-support.exp (selftest_setup): Extend comments, and
12502 also skip on stub-like targets.
12503
8b0553c1
PA
125042017-10-13 Pedro Alves <palves@redhat.com>
12505
12506 PR gdb/22293
12507 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12508 (top level): Move some tests to ...
12509 (test_not_found): ... this new procedure.
12510 (top level): Call it.
12511
7594f623
PA
125122017-10-13 Pedro Alves <palves@redhat.com>
12513
12514 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12515 expect different "info terminal" output if testing with a
12516 non-native target.
12517
ebe3b402
PA
125182017-10-13 Pedro Alves <palves@redhat.com>
12519 Simon Marchi <simon.marchi@polymtl.ca>
12520
12521 PR python/12966
12522 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12523
42f1b161
PA
125242017-10-13 Pedro Alves <palves@redhat.com>
12525
12526 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12527 already.
12528
8d6ef72b
PA
125292017-10-13 Pedro Alves <palves@redhat.com>
12530
12531 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12532 is_remote.
12533
d7bcd5b8
PA
125342017-10-13 Pedro Alves <palves@redhat.com>
12535
12536 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12537 is_remote.
12538
df479dc6
PA
125392017-10-13 Pedro Alves <palves@redhat.com>
12540
12541 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12542 is set.
12543 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12544 instead of is_remote.
12545
23fb630a
PA
125462017-10-13 Pedro Alves <palves@redhat.com>
12547
12548 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12549 (top level): Add comment.
12550
cc77b1dc
PA
125512017-10-13 Pedro Alves <palves@redhat.com>
12552
12553 * gdb.base/remote.exp (top level): Fix comment typo and add
12554 missing return.
12555
27c9e813
PA
125562017-10-13 Pedro Alves <palves@redhat.com>
12557 Simon Marchi <simon.marchi@polymtl.ca>
12558
12559 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12560 calls and add comments. Skip test if use_gdb_stub is set.
12561 (top level): Use "set cwd" command instead of "cd" command.
12562
5e830d98
PA
125632017-10-13 Pedro Alves <palves@redhat.com>
12564
12565 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12566 is_remote target check.
12567
f5ca0032
PA
125682017-10-13 Pedro Alves <palves@redhat.com>
12569
12570 * gdb.base/scope.exp: Use build_executable + clean_restart +
12571 gdb_file_cmd instead of prepare_for_testing and no longer skip
12572 "before run" tests on is_remote target boards. Update comments.
12573 * boards/native-extended-gdbserver.exp
12574 (extended_gdbserver_load_last_file): New, factored out from ...
12575 (gdb_load): ... this. Move further below and add comment.
12576 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12577
8aed1c0d
PA
125782017-10-12 Pedro Alves <palves@redhat.com>
12579
12580 * gdb.base/attach.exp: Remove references to gdb64.
12581 * gdb.base/dbx.exp: Remove references to gdb64.
12582
cfa34c87
SM
125832017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12584 Pedro Alves <palves@redhat.com>
12585
12586 * gdb.base/label.exp: Remove is_remote target check.
12587
9192b7de
PA
125882017-10-12 Pedro Alves <palves@redhat.com>
12589
12590 * gdb.base/auvx.exp (coredir): Update comment.
12591 (top level) <core_works>: Use "set cwd" command instead of "cd"
12592 command.
12593
6bf0052d
PA
125942017-10-12 Pedro Alves <palves@redhat.com>
12595 Simon Marchi <simon.marchi@polymtl.ca>
12596
12597 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12598 target boards.
12599
e48ef82d
PA
126002017-10-12 Pedro Alves <palves@redhat.com>
12601 Simon Marchi <simon.marchi@polymtl.ca>
12602
12603 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12604 Instead skip if there's any gdb_protocol set.
12605
8d7aea57
SM
126062017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12607 Pedro Alves <palves@redhat.com>
12608
12609 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12610
30440677
PA
126112017-10-12 Pedro Alves <palves@redhat.com>
12612 Simon Marchi <simon.marchi@polymtl.ca>
12613
12614 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12615 instead of on dejagnu remote boards.
12616
4e04f045 126172017-10-12 Pedro Alves <palves@redhat.com>
175654b9 12618 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
12619
12620 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12621 checks. Use build_executable + clean_restart instead of
12622 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12623 of enabling non-stop after starting gdb.
12624
871a186e
PA
126252017-10-12 Pedro Alves <palves@redhat.com>
12626
12627 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12628 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12629 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12630 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12631
56d704da
AK
126322017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12633
12634 * gdb.arch/arc-tdesc-cpu.exp: New file.
12635 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12636
2f20e312
SM
126372017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12638
12639 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12640
65630365
PA
126412017-10-10 Pedro Alves <palves@redhat.com>
12642
12643 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12644 expect CLI output.
12645
bf469271
PA
126462017-10-10 Pedro Alves <palves@redhat.com>
12647
12648 * lib/selftest-support.exp (selftest_setup): Update for
12649 captured_command_loop's prototype change.
12650
777a42f1
PA
126512017-10-09 Pedro Alves <palves@redhat.com>
12652
12653 Test both arch1=>arch2 and arch2=>arch1.
12654
12655 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12656 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12657 factored out to...
12658 (append_arch1_options, append_arch2_options, append_arch_options)
12659 (build_executables): New procedures.
12660 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12661 local.
12662 (top level): Add new 'first_arch' testing axis.
12663
cbd2b4e3
PA
126642017-10-09 Pedro Alves <palves@redhat.com>
12665
12666 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12667 (barrier): New.
12668 (thread_start, all_started): New functions.
12669 (main): Spawn new thread and wait until it is scheduled.
12670 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12671 option.
12672 (do_test): Add 'selected_thread' parameter. Run to all_started
12673 instead of main. Explicitly set the breakpoint at main. Switch
12674 to the SELECTED_THREAD thread.
12675 (top level): Test handling the exec event with either the main
12676 thread or the second thread selected.
12677
5c9e4427
PA
126782017-10-09 Pedro Alves <palves@redhat.com>
12679
12680 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12681 logic. Move STOP marker after the value checks.
12682 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12683 regexp.
12684
b3b7c423
SL
126852017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12686
12687 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12688
3b4b2f16
UW
126892017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12690
12691 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12692 integer-to-dfp conversion.
12693 * gdb.base/dfp-test.exp: Likewise.
12694
5cd63fda
PA
126952017-10-04 Pedro Alves <palves@redhat.com>
12696
12697 * gdb.multi/hangout.c: Include <unistd.h>.
12698 (hangout_loop): New function.
12699 (main): Call alarm. Call hangout_loop in a loop.
12700 * gdb.multi/hello.c: Include <unistd.h>.
12701 (hello_loop): New function.
12702 (main): Call alarm. Call hangout_loop in a loop.
12703 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12704 inferior with the other selected.
12705
4c71c105
SM
127062017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12707
12708 * gdb.mi/list-thread-groups-available.exp: New file.
12709 * gdb.mi/list-thread-groups-available.c: New file.
12710
bc3b087d
SDJ
127112017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12712
12713 * gdb.base/set-cwd.exp: Make it available on
12714 native-extended-gdbserver.
12715
d092c5a2
SDJ
127162017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12717
12718 * gdb.base/set-cwd.c: New file.
12719 * gdb.base/set-cwd.exp: Likewise.
12720
45320ffa
TT
127212017-10-02 Tom Tromey <tom@tromey.com>
12722
12723 PR rust/22236:
12724 * gdb.rust/simple.rs (main): New variable "fslice".
12725 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12726
b3e3859b
TT
127272017-10-02 Tom Tromey <tom@tromey.com>
12728
12729 * gdb.rust/simple.exp: Test ptype of a slice.
12730
01af5e0d
TT
127312017-10-02 Tom Tromey <tom@tromey.com>
12732
12733 * gdb.rust/simple.exp: Test index of slice.
12734
a9bbfbd8
TT
127352017-09-27 Tom Tromey <tom@tromey.com>
12736
12737 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12738
df8899e5
TP
127392017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12740 Pedro Alves <palves@redhat.com>
12741
12742 * gdb.base/compare-sections.exp (get value of read-only section): Read
12743 as unsigned value.
12744 (corrupt read-only section): Likewise and don't set written if patching
12745 failed.
12746
757bf54b
KB
127472017-09-21 Kevin Buettner <kevinb@redhat.com>
12748
12749 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12750 files.
12751
06871ae8
PA
127522017-09-20 Pedro Alves <palves@redhat.com>
12753
12754 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12755 symbol names in gdb's output.
12756 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12757
e5f25bc5
PA
127582017-09-20 Pedro Alves <palves@redhat.com>
12759
12760 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12761 Rename to ...
12762 (test_list_ambiguous_symbol): ... this and add a symbol name
12763 parameter. Adjust.
12764 (test_list_ambiguous_function): Reimplement on top of
12765 test_list_ambiguous_symbol and also test listing ambiguous
12766 variables.
12767 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12768 (ambiguous_fun): ... this.
12769 (ambiguous_var): New.
12770 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12771 (ambiguous_fun): ... this.
12772 (ambiguous_var): New.
12773
4e5a4f58
JB
127742017-09-19 John Baldwin <jhb@FreeBSD.org>
12775
12776 * gdb.base/starti.c: New file.
12777 * gdb.base/starti.exp: New file.
12778 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12779
26e53f3e
PA
127802017-09-14 Pedro Alves <palves@redhat.com>
12781
12782 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12783 (top level): Use it instead of runto.
12784
cb791d59
TT
127852017-09-11 Tom Tromey <tom@tromey.com>
12786
12787 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12788
7c96f8c1
TT
127892017-09-11 Tom Tromey <tom@tromey.com>
12790
12791 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12792 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12793
469412dd
CW
127942017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12795
12796 * gdb.fortran/printing-types.exp: New file.
12797 * gdb.fortran/printing-types.exp: New file.
12798
e0f86435
BH
127992017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12800
12801 * gdb.fortran/vla-ptype.exp: Fix typos.
12802 * gdb.fortran/vla-value.exp: Same.
12803
9e9af4be
BH
128042017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12805
12806 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12807 * gdb.mi/mi-var-child-f.exp: Likewise.
12808 * gdb.mi/mi-vla-fortran.exp: Likewise.
12809
a5ad232b 128102017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
12811 Christoph Weinmann <christoph.t.weinmann@intel.com>
12812 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
12813
12814 * gdb.fortran/ptr-indentation.f90: New file.
12815 * gdb.fortran/ptr-indentation.exp: New file.
12816
5aec60eb
TT
128172017-09-05 Tom Tromey <tom@tromey.com>
12818
12819 PR gdb/22010:
12820 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12821
8f8f8152
TP
128222017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12823
12824 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12825
fbd1b771
JK
128262017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12827
12828 * gdb.threads/tls-nodebug-pie.c: New file.
12829 * gdb.threads/tls-nodebug-pie.exp: New file.
12830
5eb5f850
TT
128312017-09-05 Tom Tromey <tom@tromey.com>
12832
12833 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12834 for rust.
12835
ae780a21
SM
128362017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12837
12838 * gdb.multi/multi-arch-exec.exp: Test with different
12839 "follow-exec-mode" settings.
12840 (do_test): New procedure.
12841
3693fdb3
PA
128422017-09-04 Pedro Alves <palves@redhat.com>
12843
12844 * gdb.base/func-static.c (S::method const, S::method volatile)
12845 (S::method volatile const): New methods.
12846 (c_s, v_s, cv_s): New instances.
12847 (main): Call method() on them.
12848 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12849 (cannot_resolve): New procedure.
12850 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12851 print-quote-unquoted columns.
12852 (do_test): Test printing each scope too.
12853
e68cb8e0
PA
128542017-09-04 Pedro Alves <palves@redhat.com>
12855
12856 * gdb.base/local-static.exp: Also test with
12857 class::method::variable wholly quoted.
12858 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12859
858be34c
PA
128602017-09-04 Pedro Alves <palves@redhat.com>
12861
12862 * gdb.base/local-static.c: New.
12863 * gdb.base/local-static.cc: New.
12864 * gdb.base/local-static.exp: New.
12865
46a4882b
PA
128662017-09-04 Pedro Alves <palves@redhat.com>
12867
12868 * gdb.asm/asm-source.exp: Add casts to int.
12869 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12870 (dataglobal64_1, dataglobal64_2): New globals.
12871 * gdb.base/nodebug.exp: Test different expressions involving the
12872 new globals, with print, whatis and ptype. Add casts to int.
12873 * gdb.base/solib-display.exp: Add casts to int.
12874 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12875 * gdb.cp/m-static.exp: Add cast to int.
12876 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12877 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12878 tls variable with no debug info without a cast. Test with a cast
12879 to int too.
12880 * gdb.trace/entry-values.exp: Add casts.
12881
2c5a2be1
PA
128822017-09-04 Pedro Alves <palves@redhat.com>
12883
12884 * gdb.base/nodebug.exp: Test that ptype's error about functions
12885 with unknown return type includes the function name too.
12886
7022349d
PA
128872017-09-04 Pedro Alves <palves@redhat.com>
12888
12889 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12890 return type of munmap in infcall.
12891 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12892 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12893 type of ftell in infcall.
12894 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12895 type of getpid in infcall.
12896 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12897 infcall.
12898 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12899 Bail on failure to extract the pid.
12900 * gdb.base/nodebug.c: #include <stdint.h>.
12901 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12902 New functions.
12903 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12904 Change expected output of print/whatis/ptype with functions with
12905 no debug info. Test all supported languages. Call
12906 test_call_promotion.
12907 * gdb.compile/compile.exp: Adjust expected output to expect
12908 warning.
12909 * gdb.threads/siginfo-threads.exp: Likewise.
12910
54990598
PA
129112017-09-04 Pedro Alves <palves@redhat.com>
12912
12913 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12914 "prototypes". Test calling float functions via prototyped and
12915 unprototyped function pointers.
12916 (perform_all_tests): New parameter "prototypes". Pass it down.
12917 (top level): Pass down "prototypes" parameter to
12918 perform_all_tests.
12919
34d16ea2
SM
129202017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12921
12922 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12923 Test with nested loops.
12924
9521ecda
SM
129252017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12926
12927 * gdb.base/commands.exp: Call the new procedures.
12928 (loop_break_test, loop_continue_test): New procedures.
12929
80a65e9b
SM
129302017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12931
12932 * gdb.base/commands.exp: Call new procedure.
12933 (define_if_without_arg_test): New procedure.
12934
e439fa14
PA
129352017-09-04 Pedro Alves <palves@redhat.com>
12936
12937 * gdb.base/list-ambiguous.exp: New file.
12938 * gdb.base/list-ambiguous0.c: New file.
12939 * gdb.base/list-ambiguous1.c: New file.
12940 * gdb.base/list.exp (test_list_range): Adjust expected output.
12941
0a2dde4a
SDJ
129422017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12943
12944 * gdb.base/share-env-with-gdbserver.c: New file.
12945 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12946
5e89eb3a
SM
129472017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12948
12949 * gdb.base/commands.exp (gdbvar_simple_if_test,
12950 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12951 progvar_simple_if_test, progvar_simple_while_test,
12952 progvar_complex_if_while_test, user_defined_command_test,
12953 user_defined_command_args_eval,
12954 user_defined_command_args_stack_test,
12955 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12956 temporary_breakpoint_commands,
12957 gdb_test_no_prompt, redefine_hook_test,
12958 redefine_backtrace_test): Remove "global gdb_prompt".
12959
fd437cbc
SM
129602017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12961
12962 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12963 New proc, call it from toplevel.
12964
87215ad1
SDJ
129652017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12966
12967 PR remote/21852
12968 * gdb.server/normal.c: New file, copied from gdb.base.
12969 * gdb.server/run-without-local-binary.exp: New file.
12970
58afddc6
WP
129712017-08-07 Weimin Pan <weimin.pan@oracle.com>
12972
12973 * gdb.arch/sparc64-adi.exp: New file.
12974 * gdb.arch/sparc64-adi.c: New file.
12975
5277199a
PA
129762017-08-22 Pedro Alves <palves@redhat.com>
12977
12978 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12979 (top level): Add "list all overloads" tests.
12980
14278e1f
TT
129812017-08-22 Tom Tromey <tom@tromey.com>
12982
12983 * gdb.gdb/xfullpath.exp: Remove.
12984
bf223d3e
PA
129852017-08-21 Pedro Alves <palves@redhat.com>
12986
12987 PR gdb/19487
12988 * gdb.base/symbol-alias.c: New.
12989 * gdb.base/symbol-alias2.c: New.
12990 * gdb.base/symbol-alias.exp: New.
12991
c973d0aa
PA
129922017-08-21 Pedro Alves <palves@redhat.com>
12993
12994 * gdb.base/dfp-test.c
12995 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12996 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12997 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12998 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12999 * gdb.base/whatis-ptype-typedefs.c: New.
13000 * gdb.base/whatis-ptype-typedefs.exp: New.
13001 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
13002 (an_int, an_int_type, an_int_type2): New globals.
13003 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
13004 involving typedefs and cast expressions.
13005 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
13006 (lookup_typedefs_function): New.
13007 (typedefs_pretty_printers_dict): New.
13008 (top level): Register lookup_typedefs_function in
13009 gdb.pretty_printers.
13010
6d580b63
YQ
130112017-08-18 Yao Qi <yao.qi@linaro.org>
13012
13013 * gdb.server/unittest.exp: New.
13014
206726fb
SDJ
130152017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
13016
13017 PR gdb/21954
13018 * gdb.base/environ.exp: Add test to check if 'unset environment'
13019 works.
13020
bf0ec4c2
AA
130212017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13022
13023 * lib/gdb.exp (universal_compile_options): New caching proc.
13024 (gdb_compile): Suppress GCC's coloring of messages.
13025
d6382fff
TT
130262017-08-14 Tom Tromey <tom@tromey.com>
13027
13028 PR gdb/21675:
13029 * gdb.base/printcmds.exp (test_radices): New function.
13030 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
13031 * gdb.base/sizeof.exp (check_valueof): Use p/d.
13032 * lib/gdb.exp (get_integer_valueof): Use p/d.
13033
c2c2dd9f
SM
130342017-08-12 Simon Marchi <simon.marchi@ericsson.com>
13035
13036 * lib/gdb.exp (get_valueof): Don't capture end-of-line
13037 characters.
13038
fdffd6f4
TT
130392017-08-05 Tom Tromey <tom@tromey.com>
13040
13041 * gdb.rust/simple.exp: Allow String to appear in a different
13042 namespace.
13043
27d41eac
YQ
130442017-07-26 Yao Qi <yao.qi@linaro.org>
13045
13046 * gdb.gdb/unittest.exp: Invoke command
13047 "maintenance check xml-descriptions".
13048
031ed05d
AA
130492017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13050
13051 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
13052 calling context.
13053 (hex128): Drop erroneous calculation of parameters.
13054
dcd27ddf
SM
130552017-07-22 Simon Marchi <simon.marchi@ericsson.com>
13056
13057 * gdb.python/py-unwind.exp: Disable stack protection when
13058 building test file.
13059
47e77640
PA
130602017-07-20 Pedro Alves <palves@redhat.com>
13061
13062 * gdb.base/default.exp (set language): Adjust expected output.
13063
62d2a18a
PA
130642017-07-20 Pedro Alves <palves@redhat.com>
13065
13066 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
13067 (test_minsym): ... this, and make static.
13068 (get_pck__foo__bar__minsym): Rename to ...
13069 (get_test_minsym): ... this.
13070 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
13071 symbol names and comments.
13072 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
13073 (get_test_minsym): ... this.
13074 (pck__foo__bar__minsym__2): Rename to ...
13075 (test_minsym): ... this.
13076 (main): Adjust.
13077
c45ec17c
PA
130782017-07-17 Pedro Alves <palves@redhat.com>
13079
13080 * gdb.base/completion.exp: Adjust expected output.
13081 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
13082 the completer works.
13083
c6756f62
PA
130842017-07-17 Pedro Alves <palves@redhat.com>
13085
13086 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
13087
5bd68487
AB
130882017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
13089
13090 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
13091
8880f2a9
TT
130922017-07-14 Tom Tromey <tom@tromey.com>
13093
13094 PR rust/21764:
13095 * gdb.rust/simple.exp: Add tests.
13096
65547233
TT
130972017-07-14 Tom Tromey <tom@tromey.com>
13098
13099 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
13100
8f14146e
PA
131012017-07-14 Pedro Alves <palves@redhat.com>
13102
13103 * gdb.linespec/base/one/thefile.cc (z1): New function.
13104 * gdb.linespec/base/two/thefile.cc (z2): New function.
13105 * gdb.linespec/linespec.exp: Add tests.
13106
b4365d02
AB
131072017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
13108
13109 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
13110 to mi_create_breakpoint.
13111
5d2cbaa5
AB
131122017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
13113
13114 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
13115 mi_create_breakpoint.
13116
11cb5716
IB
131172017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
13118
13119 * gdb.dlang/demangle.exp: Update for demangling changes.
13120
03278692
TT
131212017-07-09 Tom Tromey <tom@tromey.com>
13122
13123 * gdb.dwarf2/shortpiece.exp: New file.
13124
33c5cd75
DB
131252017-07-06 David Blaikie <dblaikie@gmail.com>
13126
13127 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
13128 built from fissiont-multi-cu{1,2}.c.
13129 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
13130 except putting 'main' and 'func' in separate CUs in the same DWO file.
13131 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
13132 test.
13133 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
13134 test.
13135
8455d262
PA
131362017-07-06 Pedro Alves <palves@redhat.com>
13137
13138 * gdb.python/py-unwind.exp: Test flushregs.
13139
dc4bde35
SDJ
131402017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
13141
13142 PR cli/21688
13143 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
13144 tests for alias commands and trailing whitespace.
13145
51ed89aa
SDJ
131462017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
13147
13148 PR cli/21688
13149 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
13150 procedure. Call it.
13151
eb17d413
PA
131522017-06-29 Pedro Alves <palves@redhat.com>
13153
13154 * gdb.base/printcmds.exp: Add tests.
13155
41664b45
DG
131562017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
13157
13158 PR gdb/21337
13159 * gdb.base/reread-readsym.exp: New file.
13160 * gdb.base/reread-readsym.c: New file.
13161
75312ae3
KB
131622017-06-21 Kevin Buettner <kevinb@redhat.com>
13163
13164 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
13165 subpattern.
13166
66953522
PB
131672017-06-19 Peter Bergner <bergner@vnet.ibm.com>
13168
13169 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
13170 extended mnemonic.
13171 * gdb.arch/powerpc-power9.s: Likewise.
13172
5524b525
AA
131732017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13174
13175 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
13176 on 32-bit x86 targets. Exploit is_*_target macros where
13177 appropriate.
13178
03c8af18
AA
131792017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13180
13181 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
13182 register pieces.
13183
3bf31011
AA
131842017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13185
13186 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
13187 located in one or more DWARF pieces.
13188
805acca0
AA
131892017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13190
13191 * lib/gdb.exp (get_endianness): New proc.
13192 * gdb.arch/aarch64-fp.exp: Use it.
13193 * gdb.arch/altivec-regs.exp: Likewise.
13194 * gdb.arch/e500-regs.exp: Likewise.
13195 * gdb.arch/vsx-regs.exp: Likewise.
13196 * gdb.base/dump.exp: Likewise.
13197 * gdb.base/funcargs.exp: Likewise.
13198 * gdb.base/gnu_vector.exp: Likewise.
13199 * gdb.dwarf2/formdata16.exp: Likewise.
13200 * gdb.dwarf2/implptrpiece.exp: Likewise.
13201 * gdb.dwarf2/nonvar-access.exp: Likewise.
13202 * gdb.python/py-inferior.exp: Likewise.
13203 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
13204
e9352324
AA
132052017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13206
13207 PR gdb/21226
13208 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
13209 stack value pieces are taken from the LSB end.
13210
d5d1163e
AA
132112017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13212
13213 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
13214 variable at nonzero offset.
13215
0567c986
AA
132162017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13217
13218 * gdb.dwarf2/var-access.c: New file.
13219 * gdb.dwarf2/var-access.exp: New test.
13220 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
13221
973e9aab
TT
132222017-06-12 Tom Tromey <tom@tromey.com>
13223
13224 * gdb.dwarf2/formdata16.exp: Add tests.
13225
d9109c80
TT
132262017-06-12 Tom Tromey <tom@tromey.com>
13227
13228 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
13229
30a25466
TT
132302017-06-12 Tom Tromey <tom@tromey.com>
13231
13232 PR exp/16225:
13233 * gdb.reverse/i386-sse-reverse.exp: Update tests.
13234 * gdb.arch/vsx-regs.exp: Update tests.
13235 * gdb.arch/s390-vregs.exp (hex128): New proc.
13236 Update test.
13237 * gdb.arch/altivec-regs.exp: Update tests.
13238
aefd8b33
SDJ
132392017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
13240
13241 * gdb.base/startup-with-shell.c: New file.
13242 * gdb.base/startup-with-shell.exp: Likewise.
13243
2090129c
SDJ
132442017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
13245
13246 * gdb.server/non-existing-program.exp: Update regex in order to
13247 reflect the fact that gdbserver is now using fork_inferior (with a
13248 shell) to startup the inferior.
13249
8e86a419
SM
132502017-05-30 Simon Marchi <simon.marchi@ericsson.com>
13251
13252 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
13253 support function calls from GDB.
13254
e6cf65f2
TT
132552017-05-21 Tom Tromey <tom@tromey.com>
13256
13257 PR rust/21466:
13258 * gdb.rust/unsized.exp: New file.
13259 * gdb.rust/unsized.rs: New file.
13260
43cc5389
TT
132612017-05-19 Tom Tromey <tom@tromey.com>
13262
13263 PR rust/21484:
13264 * gdb.rust/watch.exp: New file.
13265 * gdb.rust/watch.rs: New file.
13266
ec8df234
TT
132672017-05-18 Tom Tromey <tom@tromey.com>
13268
13269 * gdb.rust/simple.exp: Allow Box to be qualified.
13270
3e3e7fae
TP
132712017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
13272
13273 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
13274
59cc050d
PA
132752017-05-18 Pedro Alves <palves@redhat.com>
13276
13277 * gdb.base/fileio.c (test_write, test_read, test_close)
13278 (test_fstat): Don't print 'ret' in the fail path.
13279
c8f6abd1
PA
132802017-05-18 Pedro Alves <palves@redhat.com>
13281
13282 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
13283 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
13284 (test_system, test_rename, test_unlink, test_time): Change
13285 prototypes.
13286 * gdb.base/fileio.exp (stop_msg): Adjust.
13287
d2a03b77
PA
132882017-05-18 Pedro Alves <palves@redhat.com>
13289
13290 * gdb.base/fileio.c (null_str): New global.
13291 (test_stat): Use it.
13292 * gdb.base/fileio.exp: Remove nowarnings.
13293
0d5c6999
YQ
132942017-05-17 Yao Qi <yao.qi@linaro.org>
13295
13296 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
13297
21873064
YQ
132982017-05-17 Simon Marchi <simon.marchi@ericsson.com>
13299
13300 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
13301 argument command.
13302 (top-level): Invoke test_set_inferior_tty.
13303
d512d31c
PA
133042017-05-04 Pedro Alves <palves@redhat.com>
13305
13306 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
13307 Add parens to print call for Python 3.
13308
90cef2ed
KS
133092017-05-03 Keith Seitz <keiths@redhat.com>
13310
13311 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
13312 (main): Call it.
13313
14f819c8
TW
133142017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13315
13316 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
13317 to prev and next.
13318
913aeadd
TW
133192017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13320
13321 * gdb.python/py-record-btrace.exp: Remove test for
13322 gdb.BtraceInstruction.error.
13323
a3be24ad
TW
133242017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13325
13326 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
13327
ae20e79a
TW
133282017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
13329
13330 * gdb.python/py-record-btrace-threads.c: New file.
13331 * gdb.python/py-record-btrace-threads.exp: New file.
13332
45ce1b47
SDJ
133332017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
13334
13335 PR testsuite/8595
13336 * gdb.base/environ.exp: Make test available in all architectures.
13337 Move bits related to "info program" testing to
13338 gdb.base/info-program.exp. Rewrite tests to use the two new
13339 procedures mentione below.
13340 (test_set_show_env_var) New procedure.
13341 (test_set_show_env_var_equal): Likewise.
13342 * gdb.base/info-program.exp: New file.
13343
e15c3eb4
KS
133442017-04-27 Keith Seitz <keiths@redhat.com>
13345
13346 * gdb.cp/oranking.cc (test15): New function.
13347 (main): Call test15 and declare additional variables for testing.
13348 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
13349 "p foo101('abc')" tests.
13350 Add tests for cv qualifier overloads.
13351 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
13352 "lvalue reference overload" test.
13353 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
13354 "print value of f1 on Child&& in f2" test.
13355
3a3fd0fd
PA
133562017-04-19 Pedro Alves <palves@redhat.com>
13357
13358 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
13359 procedure.
13360 (top level): Call it.
13361 * lib/gdb.exp (gdb_define_cmd): New procedure.
13362
53375380
PA
133632017-04-12 Pedro Alves <palves@redhat.com>
13364
13365 PR gdb/21323
13366 * gdb.cp/wide_char_types.c: Include <wchar.h>.
13367 (wchar): New global.
13368 * gdb.cp/wide_char_types.exp (wide_char_types_program)
13369 (do_test_wide_char, wide_char_types_no_program, top level): Add
13370 wchar_t testing.
13371
53e710ac
PA
133722017-04-12 Pedro Alves <palves@redhat.com>
13373
13374 PR c++/21323
13375 * gdb.cp/wide_char_types.c: New file.
13376 * gdb.cp/wide_char_types.exp: New file.
13377
0ad9d8c7
SDJ
133782017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
13379
13380 PR gdb/21352
13381 * gdb.trace/tsv.exp: Add test for "tsave -r".
13382
b1b45502
IB
133832017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
13384
13385 * gdb.dlang/watch-loc.c: New file.
13386 * gdb.dlang/watch-loc.exp: New file.
13387
ec13808e
JK
133882017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13389
13390 * gdb.python/py-section-script.exp (sepdebug): New testcases.
13391
fe5f7374
AK
133922017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13393
13394 * gdb.arch/arc-analyze-prologue.S: New file.
13395 * gdb.arch/arc-analyze-prologue.exp: Likewise.
13396
eea78757
AK
133972017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
13398
13399 * gdb.arch/arc-decode-insn.S: New file.
13400 * gdb.arch/arc-decode-insn.exp: Likewise.
13401
5badf10a
IR
134022017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
13403
13404 PR tdep/20928
13405 * gdb.arch/sparc64-regs.exp: New file.
13406 * gdb.arch/sparc64-regs.S: Likewise.
13407
cee59b3f
TW
134082017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
13409
13410 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
13411 and memory view on Python 3.
13412
c0f55cc6
AV
134132017-03-20 Artemiy Volkov <artemiyv@acm.org>
13414 Keith Seitz <keiths@redhat.com>
13415
13416 PR gdb/14441
13417 * gdb.cp/demangle.exp: Add rvalue reference tests.
13418 * gdb.cp/rvalue-ref-casts.cc: New file.
13419 * gdb.cp/rvalue-ref-casts.exp: New file.
13420 * gdb.cp/rvalue-ref-overload.cc: New file.
13421 * gdb.cp/rvalue-ref-overload.exp: New file.
13422 * gdb.cp/rvalue-ref-params.cc: New file.
13423 * gdb.cp/rvalue-ref-params.exp: New file.
13424 * gdb.cp/rvalue-ref-sizeof.cc: New file.
13425 * gdb.cp/rvalue-ref-sizeof.exp: New file.
13426 * gdb.cp/rvalue-ref-types.cc: New file.
13427 * gdb.cp/rvalue-ref-types.exp: New file.
13428 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
13429 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
13430
51457a05
MAL
134312017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13432
13433 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
13434 New procedure.
13435
5b291c04
MAL
134362017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13437
13438 * lib/mi-support.exp (mi_gdb_test): Add additional message
13439 for unexpected output.
13440
59a56148
AA
134412017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13442
13443 * gdb.base/examine-backward.c (Barrier): New character array
13444 constant, to ensure that TestStrings is preceded by a string
13445 terminator.
13446
7942e96e
AA
134472017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13448
13449 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
13450 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
13451 and implicit pointer into such a location.
13452
6ebac3fb
DE
134532017-03-16 Doug Evans <dje@google.com>
13454
13455 * gdb.python/py-lazy-string (pointer): Really add new typedef.
13456
ec3b243d
TP
134572017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
13458
13459 * gdb.cp/m-static.exp: Fix expectation for prototype of
13460 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
13461
134622017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
13463
13464 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
13465 * gdb.guile/scm-lazy-string.c: New file.
13466 * gdb.guile/scm-value.exp: Move lazy string tests to ...
13467 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
13468 for pointer, array, typedef lazy strings.
13469
2cc36e25 134702017-03-16 Doug Evans <dje@google.com>
34b43320
DE
13471
13472 PR python/17728, python/18439, python/18779
13473 * gdb.python/py-value.c (main) Delete locals sptr, sn.
13474 * gdb.python/py-lazy-string.c (pointer): New typedef.
13475 (main): New locals ptr, array, typedef_ptr.
13476 * gdb.python/py-value.exp: Move lazy string tests to ...
13477 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
13478 array, typedef lazy strings.
ec3b243d 13479
0efcde63
AK
134802017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
13481
13482 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
13483 Add optional 'test' parameter.
13484
7978d7c3
SM
134852017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13486
13487 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13488 Skip for versions of DejaGnu < 1.5.
13489
896c0c1e
SM
134902017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13491
13492 * lib/gdb.exp (dejagnu_version): New proc.
13493 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13494 Use dejagnu_version.
13495
5f4d1085
KS
134962017-03-10 Keith Seitz <keiths@redhat.com>
13497
13498 PR c++/8128
13499 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
13500 type from destructor regexps.
13501 Add a branch which actually passes the test.
13502 Adjust "ptype t5i" test names.
13503
1de05205
PA
135042017-03-08 Pedro Alves <palves@redhat.com>
13505
13506 * gdb.base/step-over-exit.exp: Add explicit test message.
13507
c65d6b55
PA
135082017-03-08 Pedro Alves <palves@redhat.com>
13509
13510 PR gdb/18360
13511 * gdb.threads/interrupt-while-step-over.c: New file.
13512 * gdb.threads/interrupt-while-step-over.exp: New file.
13513
2e86a283
PA
135142017-03-08 Pedro Alves <palves@redhat.com>
13515
13516 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13517 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13518
25dcbff6
PA
135192017-03-08 Pedro Alves <palves@redhat.com>
13520
13521 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13522 PKRU as not supported as a PASS.
13523
dc9366eb
PA
135242017-03-08 Pedro Alves <palves@redhat.com>
13525
13526 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13527 prefix instead of $binfile1/$binfile2.
13528 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13529 in test message.
13530 * gdb.python/py-completion.exp: Use "load python file" as test
13531 messages instead of unstable path names.
13532
6e5d74e7
PA
135332017-03-08 Pedro Alves <palves@redhat.com>
13534 Jan Kratochvil <jan.kratochvil@redhat.com>
13535
13536 PR cli/21218
13537 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13538 New proc.
13539 (top level): Call it.
13540
9753a2f6
PA
135412017-03-08 Pedro Alves <palves@redhat.com>
13542
13543 PR tui/21216
13544 * gdb.tui/tui-nl-filtered-output.exp: New file.
13545
1a4dd9dd
PA
135462017-03-08 Pedro Alves <palves@redhat.com>
13547
13548 * gdb.base/completion.exp: Move TUI completion tests to ...
13549 * gdb.tui/completion.exp: ... this new file.
13550
7cbbff33
PA
135512017-03-08 Pedro Alves <palves@redhat.com>
13552
13553 * gdb.base/tui-disasm-long-lines.c,
13554 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13555 gdb.base/tui-layout.exp: Move to ...
13556 * gdb.tui/: ... this new directory.
13557
5f6fd321
PA
135582017-03-07 Pedro Alves <palves@redhat.com>
13559
13560 * gdb.base/tui-layout.c: New file.
13561 * gdb.base/tui-layout.exp: New file.
13562
44959fa8
PA
135632017-03-07 Pedro Alves <palves@redhat.com>
13564
13565 * gdb.base/tui-layout.c: Rename to ...
13566 * gdb.base/tui-disasm-long-lines.c: ... this.
13567 * gdb.base/tui-layout.exp: Rename to ...
13568 * gdb.base/tui-disasm-long-lines.exp: ... this.
13569
f8c4e718
PA
135702017-03-07 Pedro Alves <palves@redhat.com>
13571
13572 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13573
6dbb839a 135742017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
13575
13576 * i386-mpx-call.c: New file.
13577 * i386-mpx-call.exp: New file.
13578
65b48a81
PB
135792017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13580
13581 * gdb.arch/powerpc-power.exp: Delete test.
13582 * gdb.arch/powerpc-power.s: Likewise.
13583 * gdb.disasm/disassembler-options.exp: New test.
13584 * gdb.arch/powerpc-altivec.exp: Likewise.
13585 * gdb.arch/powerpc-altivec.s: Likewise.
13586 * gdb.arch/powerpc-altivec2.exp: Likewise.
13587 * gdb.arch/powerpc-altivec2.s: Likewise.
13588 * gdb.arch/powerpc-altivec3.exp: Likewise.
13589 * gdb.arch/powerpc-altivec3.s: Likewise.
13590 * gdb.arch/powerpc-power7.exp: Likewise.
13591 * gdb.arch/powerpc-power7.s: Likewise.
13592 * gdb.arch/powerpc-power8.exp: Likewise.
13593 * gdb.arch/powerpc-power8.s: Likewise.
13594 * gdb.arch/powerpc-power9.exp: Likewise.
13595 * gdb.arch/powerpc-power9.s: Likewise.
13596 * gdb.arch/powerpc-vsx.exp: Likewise.
13597 * gdb.arch/powerpc-vsx.s: Likewise.
13598 * gdb.arch/powerpc-vsx2.exp: Likewise.
13599 * gdb.arch/powerpc-vsx2.s: Likewise.
13600 * gdb.arch/powerpc-vsx3.exp: Likewise.
13601 * gdb.arch/powerpc-vsx3.s: Likewise.
13602 * gdb.arch/arm-disassembler-options.exp: Likewise.
13603 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13604 * gdb.arch/s390-disassembler-options.exp: Likewise.
13605
17cd4947
LM
136062017-02-23 Luis Machado <lgustavo@codesourcery.com>
13607
13608 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13609 (check_supported_features): ... this. Changed return type to void.
13610 (supports_rdseed): New static global.
13611 (rdseed): Check supports_rdseed.
13612 (initialize): Call check_supported_features.
13613
2039d74e
EBM
136142017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13615
13616 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13617 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13618 and lqarx/stqcx.
13619 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13620 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13621
a51d7ecf
EBM
136222017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13623
13624 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13625 uppercase.
13626
0224619f
JK
136272017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13628
13629 * gdb.dwarf2/formdata16.c: New file.
13630 * gdb.dwarf2/formdata16.exp: New file.
13631 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13632
216f72a1
JK
136332017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13634
13635 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13636 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13637 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13638 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13639 DW_AT_GNU_*.
13640
43988095
JK
136412017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13642
13643 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13644
99e8a4f9
SDJ
136452017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13646
13647 PR gdb/21164
13648 * gdb.base/maint.exp: Add testcases for when the commands do
13649 not have arguments.
13650
b58a8c0c
TP
136512017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13652
13653 * gdb.cp/chained-calls.exp: Use p instead of P.
13654
4e746bb6
TW
136552017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13656
13657 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13658 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13659
3f77c769
TT
136602017-02-14 Tom Tromey <tom@tromey.com>
13661
13662 PR python/13598:
13663 * gdb.python/py-events.exp: Add before_prompt event tests.
13664
075beec0
AA
136652017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13666
13667 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13668
bf5f525c
LM
136692017-02-13 Luis Machado <lgustavo@codesourcery.com>
13670
13671 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13672 (main): Call my_unique_function_name.
13673 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13674 completion of patterns with a single match.
13675 Add missing -re switches to gdb_test_multiple calls.
13676
13a66184
LM
136772017-02-13 Luis Machado <lgustavo@codesourcery.com>
13678
13679 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13680 return if core file is not recognized.
13681
26a06916
SM
136822017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13683
13684 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13685 and extra UIs.
13686
b761ca9e
SM
136872017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13688
13689 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13690 proc_with_prefix.
13691
b964bee0
TT
136922017-02-10 Tom Tromey <tom@tromey.com>
13693
13694 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13695
18da0c51
MG
136962017-02-10 Martin Galvan <martingalvan@sourceware.org>
13697
13698 PR gdb/21122
13699 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13700
604c4576
JG
137012017-02-08 Jerome Guitton <guitton@adacore.com>
13702
13703 * gdb.base/define.exp: Add test for command abbreviations
13704 in define.
13705
20b477a7
LM
137062017-02-06 Luis Machado <lgustavo@codesourcery.com>
13707
13708 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13709 * gdb.reverse/insn-reverse-x86.c: New file.
13710
3f7b46f2
IR
137112017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13712
13713 PR tdep/20936
13714 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13715
f0fd41c1
TT
137162017-02-03 Tom Tromey <tom@tromey.com>
13717
13718 PR rust/21097:
13719 * gdb.rust/simple.exp: Add new tests.
13720
5be5dbf0
PA
137212017-02-02 Pedro Alves <palves@redhat.com>
13722
13723 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13724 tests.
13725
7346ef59
AA
137262017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13727
13728 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13729 taking a 2-byte value out of a 4-byte DWARF implicit value on
13730 big-endian targets.
13731 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13732 logic. Add test cases for DW_OP_implicit.
13733
787f0025
MM
137342017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13735
13736 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13737
68777c29
MM
137382017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13739
13740 * gdb.btrace/enable.exp: Call gdb_exit before
13741 skip_gdbserver_tests.
13742
0a1c7e28
MM
137432017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13744
13745 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13746 GDBFLAGS.
13747
b5ac99b0
MM
137482017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13749
13750 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13751 the test is skipped.
13752 * gdb.btrace/data.exp: Likewise.
13753 * gdb.btrace/delta.exp: Likewise.
13754 * gdb.btrace/dlopen.exp: Likewise.
13755 * gdb.btrace/enable-running.exp: Likewise.
13756 * gdb.btrace/enable.exp: Likewise.
13757 * gdb.btrace/exception.exp: Likewise.
13758 * gdb.btrace/function_call_history.exp: Likewise.
13759 * gdb.btrace/gcore.exp: Likewise.
13760 * gdb.btrace/instruction_history.exp: Likewise.
13761 * gdb.btrace/multi-thread-step.exp: Likewise.
13762 * gdb.btrace/nohist.exp: Likewise.
13763 * gdb.btrace/non-stop.exp: Likewise.
13764 * gdb.btrace/reconnect.exp: Likewise.
13765 * gdb.btrace/record_goto-step.exp: Likewise.
13766 * gdb.btrace/record_goto.exp: Likewise.
13767 * gdb.btrace/rn-dl-bind.exp: Likewise.
13768 * gdb.btrace/segv.exp: Likewise.
13769 * gdb.btrace/step.exp: Likewise.
13770 * gdb.btrace/stepi.exp: Likewise.
13771 * gdb.btrace/tailcall-only.exp: Likewise.
13772 * gdb.btrace/tailcall.exp: Likewise.
13773 * gdb.btrace/tsx.exp: Likewise.
13774 * gdb.btrace/unknown_functions.exp: Likewise.
13775 * gdb.btrace/vdso.exp: Likewise.
13776
cd4007e4
MM
137772017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13778
13779 * gdb.btrace/enable-running.c: New.
13780 * gdb.btrace/enable-running.exp: New.
13781
2735833d
WT
137822017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13783
13784 * gdb.arch/amd64-gs_base.c: New file.
13785 * gdb.arch/amd64-gs_base.exp: New file.
13786
b51e1e94
LM
137872017-01-26 Luis Machado <lgustavo@codesourcery.com>
13788
13789 * lib/memory.exp: Remove spurious empty newlines.
13790
72ca0410
SM
137912017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13792
13793 * gdb.python/py-bad-printers.exp: Load python file using "source".
13794 * gdb.python/py-events.exp: Likewise.
13795 * gdb.python/py-evsignal.exp: Likewise.
13796 * gdb.python/py-evthreads.exp: Likewise.
13797 * gdb.python/py-frame-args.exp: Likewise.
13798 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13799 * gdb.python/py-framefilter-mi.exp: Likewise.
13800 * gdb.python/py-framefilter.exp: Likewise.
13801 * gdb.python/py-mi.exp: Likewise.
13802 * gdb.python/py-pp-maint.exp: Likewise.
13803 * gdb.python/py-pp-registration.exp: Likewise.
13804 * gdb.python/py-prettyprint.exp: Likewise.
13805 (run_lang_tests): Likewise.
13806 * gdb.python/py-typeprint.exp: Likewise.
13807
e309aa65
LM
138082017-01-26 Luis Machado <lgustavo@codesourcery.com>
13809
13810 * lib/memory.exp: New file.
13811 * lib/gdb.exp: Load memory.exp.
13812 * gdb.base/memattr.exp (delete_memory): Move proc to
13813 lib/memory.exp and rename to delete_memory_regions.
13814 Replace delete_memory with delete_memory_regions.
13815 Cleanup memory regions before tests.
13816 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13817 before tests.
13818
515aff23
LM
138192017-01-26 Luis Machado <lgustavo@codesourcery.com>
13820
13821 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13822 files.
13823 (initialize): New function conditionally defined.
13824 (testcases): Move within conditional block.
13825 (main): Call initialize.
13826 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13827 of gdb.reverse/insn-reverse.c.
13828 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13829 gdb.reverse/insn-reverse.c.
13830
d8b49cf0
YQ
138312017-01-26 Yao Qi <yao.qi@linaro.org>
13832
13833 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13834 disassemble on address 0.
13835
f13a9a0c
YQ
138362017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13837 Yao Qi <yao.qi@linaro.org>
13838
13839 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13840 * gdb.dwarf2/implptr-64bit.S: Remove.
13841 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13842 variables in caller's context. Add DW_OP_implicit_value.
13843
5ac95241
YQ
138442017-01-25 Yao Qi <yao.qi@linaro.org>
13845
13846 * lib/dwarf.exp (Dwarf::_location): Handle
13847 DW_OP_GNU_implicit_pointer with proper size.
13848
23e82930
LM
138492017-01-20 Luis Machado <lgustavo@codesourcery.com>
13850
13851 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13852 and add untested calls.
13853
d334ae25
LM
138542017-01-20 Luis Machado <lgustavo@codesourcery.com>
13855
13856 * gdb.python/python.exp: Check line number against what GDB thinks
13857 the line number is for func1.
13858
f5e6296e
IB
138592017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13860
13861 * gdb.dlang/debug-expr.exp: New file.
13862
5b362f04
LM
138632016-12-23 Luis Machado <lgustavo@codesourcery.com>
13864
13865 Fix test names for the following files:
13866
13867 * gdb.ada/exec_changed.exp
13868 * gdb.ada/info_types.exp
13869 * gdb.arch/aarch64-atomic-inst.exp
13870 * gdb.arch/aarch64-fp.exp
13871 * gdb.arch/altivec-abi.exp
13872 * gdb.arch/altivec-regs.exp
13873 * gdb.arch/amd64-byte.exp
13874 * gdb.arch/amd64-disp-step.exp
13875 * gdb.arch/amd64-dword.exp
13876 * gdb.arch/amd64-entry-value-inline.exp
13877 * gdb.arch/amd64-entry-value-param.exp
13878 * gdb.arch/amd64-entry-value-paramref.exp
13879 * gdb.arch/amd64-entry-value.exp
13880 * gdb.arch/amd64-i386-address.exp
13881 * gdb.arch/amd64-invalid-stack-middle.exp
13882 * gdb.arch/amd64-invalid-stack-top.exp
13883 * gdb.arch/amd64-optimout-repeat.exp
13884 * gdb.arch/amd64-prologue-skip.exp
13885 * gdb.arch/amd64-prologue-xmm.exp
13886 * gdb.arch/amd64-stap-special-operands.exp
13887 * gdb.arch/amd64-stap-wrong-subexp.exp
13888 * gdb.arch/amd64-tailcall-cxx.exp
13889 * gdb.arch/amd64-tailcall-noret.exp
13890 * gdb.arch/amd64-tailcall-ret.exp
13891 * gdb.arch/amd64-tailcall-self.exp
13892 * gdb.arch/amd64-word.exp
13893 * gdb.arch/arm-bl-branch-dest.exp
13894 * gdb.arch/arm-disp-step.exp
13895 * gdb.arch/arm-neon.exp
13896 * gdb.arch/arm-single-step-kernel-helper.exp
13897 * gdb.arch/avr-flash-qualifier.exp
13898 * gdb.arch/disp-step-insn-reloc.exp
13899 * gdb.arch/e500-abi.exp
13900 * gdb.arch/e500-regs.exp
13901 * gdb.arch/ftrace-insn-reloc.exp
13902 * gdb.arch/i386-avx512.exp
13903 * gdb.arch/i386-bp_permanent.exp
13904 * gdb.arch/i386-byte.exp
13905 * gdb.arch/i386-cfi-notcurrent.exp
13906 * gdb.arch/i386-disp-step.exp
13907 * gdb.arch/i386-dr3-watch.exp
13908 * gdb.arch/i386-float.exp
13909 * gdb.arch/i386-gnu-cfi.exp
13910 * gdb.arch/i386-mpx-map.exp
13911 * gdb.arch/i386-mpx-sigsegv.exp
13912 * gdb.arch/i386-mpx-simple_segv.exp
13913 * gdb.arch/i386-mpx.exp
13914 * gdb.arch/i386-permbkpt.exp
13915 * gdb.arch/i386-prologue.exp
13916 * gdb.arch/i386-signal.exp
13917 * gdb.arch/i386-size-overlap.exp
13918 * gdb.arch/i386-unwind.exp
13919 * gdb.arch/i386-word.exp
13920 * gdb.arch/mips-fcr.exp
13921 * gdb.arch/powerpc-d128-regs.exp
13922 * gdb.arch/powerpc-stackless.exp
13923 * gdb.arch/ppc64-atomic-inst.exp
13924 * gdb.arch/s390-stackless.exp
13925 * gdb.arch/s390-tdbregs.exp
13926 * gdb.arch/s390-vregs.exp
13927 * gdb.arch/sparc-sysstep.exp
13928 * gdb.arch/thumb-bx-pc.exp
13929 * gdb.arch/thumb-singlestep.exp
13930 * gdb.arch/thumb2-it.exp
13931 * gdb.arch/vsx-regs.exp
13932 * gdb.asm/asm-source.exp
13933 * gdb.base/a2-run.exp
13934 * gdb.base/advance.exp
13935 * gdb.base/all-bin.exp
13936 * gdb.base/anon.exp
13937 * gdb.base/args.exp
13938 * gdb.base/arithmet.exp
13939 * gdb.base/async-shell.exp
13940 * gdb.base/async.exp
13941 * gdb.base/attach-pie-noexec.exp
13942 * gdb.base/attach-twice.exp
13943 * gdb.base/auto-load.exp
13944 * gdb.base/bang.exp
13945 * gdb.base/bitfields.exp
13946 * gdb.base/break-always.exp
13947 * gdb.base/break-caller-line.exp
13948 * gdb.base/break-entry.exp
13949 * gdb.base/break-inline.exp
13950 * gdb.base/break-on-linker-gcd-function.exp
13951 * gdb.base/break-probes.exp
13952 * gdb.base/break.exp
13953 * gdb.base/breakpoint-shadow.exp
13954 * gdb.base/call-ar-st.exp
13955 * gdb.base/call-sc.exp
13956 * gdb.base/call-signal-resume.exp
13957 * gdb.base/call-strs.exp
13958 * gdb.base/callfuncs.exp
13959 * gdb.base/catch-fork-static.exp
13960 * gdb.base/catch-gdb-caused-signals.exp
13961 * gdb.base/catch-load.exp
13962 * gdb.base/catch-signal-fork.exp
13963 * gdb.base/catch-signal.exp
13964 * gdb.base/catch-syscall.exp
13965 * gdb.base/charset.exp
13966 * gdb.base/checkpoint.exp
13967 * gdb.base/chng-syms.exp
13968 * gdb.base/code-expr.exp
13969 * gdb.base/code_elim.exp
13970 * gdb.base/commands.exp
13971 * gdb.base/completion.exp
13972 * gdb.base/complex.exp
13973 * gdb.base/cond-expr.exp
13974 * gdb.base/condbreak.exp
13975 * gdb.base/consecutive.exp
13976 * gdb.base/continue-all-already-running.exp
13977 * gdb.base/coredump-filter.exp
13978 * gdb.base/corefile.exp
13979 * gdb.base/dbx.exp
13980 * gdb.base/debug-expr.exp
13981 * gdb.base/define.exp
13982 * gdb.base/del.exp
13983 * gdb.base/disabled-location.exp
13984 * gdb.base/disasm-end-cu.exp
13985 * gdb.base/disasm-optim.exp
13986 * gdb.base/display.exp
13987 * gdb.base/duplicate-bp.exp
13988 * gdb.base/ena-dis-br.exp
13989 * gdb.base/ending-run.exp
13990 * gdb.base/enumval.exp
13991 * gdb.base/environ.exp
13992 * gdb.base/eu-strip-infcall.exp
13993 * gdb.base/eval-avoid-side-effects.exp
13994 * gdb.base/eval-skip.exp
13995 * gdb.base/exitsignal.exp
13996 * gdb.base/expand-psymtabs.exp
13997 * gdb.base/filesym.exp
13998 * gdb.base/find-unmapped.exp
13999 * gdb.base/finish.exp
14000 * gdb.base/float.exp
14001 * gdb.base/foll-exec-mode.exp
14002 * gdb.base/foll-exec.exp
14003 * gdb.base/foll-fork.exp
14004 * gdb.base/fortran-sym-case.exp
14005 * gdb.base/freebpcmd.exp
14006 * gdb.base/func-ptr.exp
14007 * gdb.base/func-ptrs.exp
14008 * gdb.base/funcargs.exp
14009 * gdb.base/gcore-buffer-overflow.exp
14010 * gdb.base/gcore-relro-pie.exp
14011 * gdb.base/gcore-relro.exp
14012 * gdb.base/gcore.exp
14013 * gdb.base/gdb1090.exp
14014 * gdb.base/gdb11530.exp
14015 * gdb.base/gdb11531.exp
14016 * gdb.base/gdb1821.exp
14017 * gdb.base/gdbindex-stabs.exp
14018 * gdb.base/gdbvars.exp
14019 * gdb.base/hbreak.exp
14020 * gdb.base/hbreak2.exp
14021 * gdb.base/included.exp
14022 * gdb.base/infcall-input.exp
14023 * gdb.base/inferior-died.exp
14024 * gdb.base/infnan.exp
14025 * gdb.base/info-macros.exp
14026 * gdb.base/info-os.exp
14027 * gdb.base/info-proc.exp
14028 * gdb.base/info-shared.exp
14029 * gdb.base/info-target.exp
14030 * gdb.base/infoline.exp
14031 * gdb.base/interp.exp
14032 * gdb.base/interrupt.exp
14033 * gdb.base/jit-reader.exp
14034 * gdb.base/jit-simple.exp
14035 * gdb.base/kill-after-signal.exp
14036 * gdb.base/kill-detach-inferiors-cmd.exp
14037 * gdb.base/label.exp
14038 * gdb.base/langs.exp
14039 * gdb.base/ldbl_e308.exp
14040 * gdb.base/line-symtabs.exp
14041 * gdb.base/linespecs.exp
14042 * gdb.base/list.exp
14043 * gdb.base/long_long.exp
14044 * gdb.base/longest-types.exp
14045 * gdb.base/maint.exp
14046 * gdb.base/max-value-size.exp
14047 * gdb.base/memattr.exp
14048 * gdb.base/mips_pro.exp
14049 * gdb.base/morestack.exp
14050 * gdb.base/moribund-step.exp
14051 * gdb.base/multi-forks.exp
14052 * gdb.base/nested-addr.exp
14053 * gdb.base/nextoverexit.exp
14054 * gdb.base/noreturn-finish.exp
14055 * gdb.base/noreturn-return.exp
14056 * gdb.base/nostdlib.exp
14057 * gdb.base/offsets.exp
14058 * gdb.base/opaque.exp
14059 * gdb.base/pc-fp.exp
14060 * gdb.base/permissions.exp
14061 * gdb.base/print-symbol-loading.exp
14062 * gdb.base/prologue-include.exp
14063 * gdb.base/psymtab.exp
14064 * gdb.base/ptype.exp
14065 * gdb.base/random-signal.exp
14066 * gdb.base/randomize.exp
14067 * gdb.base/range-stepping.exp
14068 * gdb.base/readline-ask.exp
14069 * gdb.base/recpar.exp
14070 * gdb.base/recurse.exp
14071 * gdb.base/relational.exp
14072 * gdb.base/restore.exp
14073 * gdb.base/return-nodebug.exp
14074 * gdb.base/return.exp
14075 * gdb.base/run-after-attach.exp
14076 * gdb.base/save-bp.exp
14077 * gdb.base/scope.exp
14078 * gdb.base/sect-cmd.exp
14079 * gdb.base/set-lang-auto.exp
14080 * gdb.base/set-noassign.exp
14081 * gdb.base/setvar.exp
14082 * gdb.base/sigall.exp
14083 * gdb.base/sigbpt.exp
14084 * gdb.base/siginfo-addr.exp
14085 * gdb.base/siginfo-infcall.exp
14086 * gdb.base/siginfo-obj.exp
14087 * gdb.base/siginfo.exp
14088 * gdb.base/signals-state-child.exp
14089 * gdb.base/signest.exp
14090 * gdb.base/sigstep.exp
14091 * gdb.base/sizeof.exp
14092 * gdb.base/skip.exp
14093 * gdb.base/solib-corrupted.exp
14094 * gdb.base/solib-nodir.exp
14095 * gdb.base/solib-search.exp
14096 * gdb.base/stack-checking.exp
14097 * gdb.base/stale-infcall.exp
14098 * gdb.base/stap-probe.exp
14099 * gdb.base/start.exp
14100 * gdb.base/step-break.exp
14101 * gdb.base/step-bt.exp
14102 * gdb.base/step-line.exp
14103 * gdb.base/step-over-exit.exp
14104 * gdb.base/step-over-syscall.exp
14105 * gdb.base/step-resume-infcall.exp
14106 * gdb.base/step-test.exp
14107 * gdb.base/store.exp
14108 * gdb.base/structs3.exp
14109 * gdb.base/sym-file.exp
14110 * gdb.base/symbol-without-target_section.exp
14111 * gdb.base/term.exp
14112 * gdb.base/testenv.exp
14113 * gdb.base/ui-redirect.exp
14114 * gdb.base/until.exp
14115 * gdb.base/unwindonsignal.exp
14116 * gdb.base/value-double-free.exp
14117 * gdb.base/vla-datatypes.exp
14118 * gdb.base/vla-ptr.exp
14119 * gdb.base/vla-sideeffect.exp
14120 * gdb.base/volatile.exp
14121 * gdb.base/watch-cond-infcall.exp
14122 * gdb.base/watch-cond.exp
14123 * gdb.base/watch-non-mem.exp
14124 * gdb.base/watch-read.exp
14125 * gdb.base/watch-vfork.exp
14126 * gdb.base/watchpoint-cond-gone.exp
14127 * gdb.base/watchpoint-delete.exp
14128 * gdb.base/watchpoint-hw-hit-once.exp
14129 * gdb.base/watchpoint-hw.exp
14130 * gdb.base/watchpoint-stops-at-right-insn.exp
14131 * gdb.base/watchpoints.exp
14132 * gdb.base/wchar.exp
14133 * gdb.base/whatis-exp.exp
14134 * gdb.btrace/buffer-size.exp
14135 * gdb.btrace/data.exp
14136 * gdb.btrace/delta.exp
14137 * gdb.btrace/dlopen.exp
14138 * gdb.btrace/enable.exp
14139 * gdb.btrace/exception.exp
14140 * gdb.btrace/function_call_history.exp
14141 * gdb.btrace/gcore.exp
14142 * gdb.btrace/instruction_history.exp
14143 * gdb.btrace/nohist.exp
14144 * gdb.btrace/reconnect.exp
14145 * gdb.btrace/record_goto-step.exp
14146 * gdb.btrace/record_goto.exp
14147 * gdb.btrace/rn-dl-bind.exp
14148 * gdb.btrace/segv.exp
14149 * gdb.btrace/step.exp
14150 * gdb.btrace/stepi.exp
14151 * gdb.btrace/tailcall-only.exp
14152 * gdb.btrace/tailcall.exp
14153 * gdb.btrace/tsx.exp
14154 * gdb.btrace/unknown_functions.exp
14155 * gdb.btrace/vdso.exp
14156 * gdb.compile/compile-ifunc.exp
14157 * gdb.compile/compile-ops.exp
14158 * gdb.compile/compile-print.exp
14159 * gdb.compile/compile-setjmp.exp
14160 * gdb.cp/abstract-origin.exp
14161 * gdb.cp/ambiguous.exp
14162 * gdb.cp/annota2.exp
14163 * gdb.cp/annota3.exp
14164 * gdb.cp/anon-ns.exp
14165 * gdb.cp/anon-struct.exp
14166 * gdb.cp/anon-union.exp
14167 * gdb.cp/arg-reference.exp
14168 * gdb.cp/baseenum.exp
14169 * gdb.cp/bool.exp
14170 * gdb.cp/breakpoint.exp
14171 * gdb.cp/bs15503.exp
14172 * gdb.cp/call-c.exp
14173 * gdb.cp/casts.exp
14174 * gdb.cp/chained-calls.exp
14175 * gdb.cp/class2.exp
14176 * gdb.cp/classes.exp
14177 * gdb.cp/cmpd-minsyms.exp
14178 * gdb.cp/converts.exp
14179 * gdb.cp/cp-relocate.exp
14180 * gdb.cp/cpcompletion.exp
14181 * gdb.cp/cpexprs.exp
14182 * gdb.cp/cplabel.exp
14183 * gdb.cp/cplusfuncs.exp
14184 * gdb.cp/cpsizeof.exp
14185 * gdb.cp/ctti.exp
14186 * gdb.cp/derivation.exp
14187 * gdb.cp/destrprint.exp
14188 * gdb.cp/dispcxx.exp
14189 * gdb.cp/enum-class.exp
14190 * gdb.cp/exception.exp
14191 * gdb.cp/exceptprint.exp
14192 * gdb.cp/expand-psymtabs-cxx.exp
14193 * gdb.cp/expand-sals.exp
14194 * gdb.cp/extern-c.exp
14195 * gdb.cp/filename.exp
14196 * gdb.cp/formatted-ref.exp
14197 * gdb.cp/fpointer.exp
14198 * gdb.cp/gdb1355.exp
14199 * gdb.cp/gdb2495.exp
14200 * gdb.cp/hang.exp
14201 * gdb.cp/impl-this.exp
14202 * gdb.cp/infcall-dlopen.exp
14203 * gdb.cp/inherit.exp
14204 * gdb.cp/iostream.exp
14205 * gdb.cp/koenig.exp
14206 * gdb.cp/local.exp
14207 * gdb.cp/m-data.exp
14208 * gdb.cp/m-static.exp
14209 * gdb.cp/mb-ctor.exp
14210 * gdb.cp/mb-inline.exp
14211 * gdb.cp/mb-templates.exp
14212 * gdb.cp/member-name.exp
14213 * gdb.cp/member-ptr.exp
14214 * gdb.cp/meth-typedefs.exp
14215 * gdb.cp/method.exp
14216 * gdb.cp/method2.exp
14217 * gdb.cp/minsym-fallback.exp
14218 * gdb.cp/misc.exp
14219 * gdb.cp/namelessclass.exp
14220 * gdb.cp/namespace-enum.exp
14221 * gdb.cp/namespace-nested-import.exp
14222 * gdb.cp/namespace.exp
14223 * gdb.cp/nextoverthrow.exp
14224 * gdb.cp/no-dmgl-verbose.exp
14225 * gdb.cp/non-trivial-retval.exp
14226 * gdb.cp/noparam.exp
14227 * gdb.cp/nsdecl.exp
14228 * gdb.cp/nsimport.exp
14229 * gdb.cp/nsnested.exp
14230 * gdb.cp/nsnoimports.exp
14231 * gdb.cp/nsrecurs.exp
14232 * gdb.cp/nsstress.exp
14233 * gdb.cp/nsusing.exp
14234 * gdb.cp/operator.exp
14235 * gdb.cp/oranking.exp
14236 * gdb.cp/overload-const.exp
14237 * gdb.cp/overload.exp
14238 * gdb.cp/ovldbreak.exp
14239 * gdb.cp/ovsrch.exp
14240 * gdb.cp/paren-type.exp
14241 * gdb.cp/parse-lang.exp
14242 * gdb.cp/pass-by-ref.exp
14243 * gdb.cp/pr-1023.exp
14244 * gdb.cp/pr-1210.exp
14245 * gdb.cp/pr-574.exp
14246 * gdb.cp/pr10687.exp
14247 * gdb.cp/pr12028.exp
14248 * gdb.cp/pr17132.exp
14249 * gdb.cp/pr17494.exp
14250 * gdb.cp/pr9067.exp
14251 * gdb.cp/pr9167.exp
14252 * gdb.cp/pr9631.exp
14253 * gdb.cp/printmethod.exp
14254 * gdb.cp/psmang.exp
14255 * gdb.cp/psymtab-parameter.exp
14256 * gdb.cp/ptype-cv-cp.exp
14257 * gdb.cp/ptype-flags.exp
14258 * gdb.cp/re-set-overloaded.exp
14259 * gdb.cp/ref-types.exp
14260 * gdb.cp/rtti.exp
14261 * gdb.cp/scope-err.exp
14262 * gdb.cp/shadow.exp
14263 * gdb.cp/smartp.exp
14264 * gdb.cp/static-method.exp
14265 * gdb.cp/static-print-quit.exp
14266 * gdb.cp/temargs.exp
14267 * gdb.cp/templates.exp
14268 * gdb.cp/try_catch.exp
14269 * gdb.cp/typedef-operator.exp
14270 * gdb.cp/typeid.exp
14271 * gdb.cp/userdef.exp
14272 * gdb.cp/using-crash.exp
14273 * gdb.cp/var-tag.exp
14274 * gdb.cp/virtbase.exp
14275 * gdb.cp/virtfunc.exp
14276 * gdb.cp/virtfunc2.exp
14277 * gdb.cp/vla-cxx.exp
14278 * gdb.disasm/t01_mov.exp
14279 * gdb.disasm/t02_mova.exp
14280 * gdb.disasm/t03_add.exp
14281 * gdb.disasm/t04_sub.exp
14282 * gdb.disasm/t05_cmp.exp
14283 * gdb.disasm/t06_ari2.exp
14284 * gdb.disasm/t07_ari3.exp
14285 * gdb.disasm/t08_or.exp
14286 * gdb.disasm/t09_xor.exp
14287 * gdb.disasm/t10_and.exp
14288 * gdb.disasm/t11_logs.exp
14289 * gdb.disasm/t12_bit.exp
14290 * gdb.disasm/t13_otr.exp
14291 * gdb.dlang/circular.exp
14292 * gdb.dwarf2/arr-stride.exp
14293 * gdb.dwarf2/arr-subrange.exp
14294 * gdb.dwarf2/atomic-type.exp
14295 * gdb.dwarf2/bad-regnum.exp
14296 * gdb.dwarf2/bitfield-parent-optimized-out.exp
14297 * gdb.dwarf2/callframecfa.exp
14298 * gdb.dwarf2/clztest.exp
14299 * gdb.dwarf2/corrupt.exp
14300 * gdb.dwarf2/data-loc.exp
14301 * gdb.dwarf2/dup-psym.exp
14302 * gdb.dwarf2/dw2-anon-mptr.exp
14303 * gdb.dwarf2/dw2-anonymous-func.exp
14304 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
14305 * gdb.dwarf2/dw2-bad-unresolved.exp
14306 * gdb.dwarf2/dw2-basic.exp
14307 * gdb.dwarf2/dw2-canonicalize-type.exp
14308 * gdb.dwarf2/dw2-case-insensitive.exp
14309 * gdb.dwarf2/dw2-common-block.exp
14310 * gdb.dwarf2/dw2-compdir-oldgcc.exp
14311 * gdb.dwarf2/dw2-compressed.exp
14312 * gdb.dwarf2/dw2-const.exp
14313 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
14314 * gdb.dwarf2/dw2-cu-size.exp
14315 * gdb.dwarf2/dw2-dup-frame.exp
14316 * gdb.dwarf2/dw2-entry-value.exp
14317 * gdb.dwarf2/dw2-icycle.exp
14318 * gdb.dwarf2/dw2-ifort-parameter.exp
14319 * gdb.dwarf2/dw2-inline-break.exp
14320 * gdb.dwarf2/dw2-inline-param.exp
14321 * gdb.dwarf2/dw2-intercu.exp
14322 * gdb.dwarf2/dw2-intermix.exp
14323 * gdb.dwarf2/dw2-lexical-block-bare.exp
14324 * gdb.dwarf2/dw2-linkage-name-trust.exp
14325 * gdb.dwarf2/dw2-minsym-in-cu.exp
14326 * gdb.dwarf2/dw2-noloc.exp
14327 * gdb.dwarf2/dw2-op-call.exp
14328 * gdb.dwarf2/dw2-op-out-param.exp
14329 * gdb.dwarf2/dw2-opt-structptr.exp
14330 * gdb.dwarf2/dw2-param-error.exp
14331 * gdb.dwarf2/dw2-producer.exp
14332 * gdb.dwarf2/dw2-ranges-base.exp
14333 * gdb.dwarf2/dw2-ref-missing-frame.exp
14334 * gdb.dwarf2/dw2-reg-undefined.exp
14335 * gdb.dwarf2/dw2-regno-invalid.exp
14336 * gdb.dwarf2/dw2-restore.exp
14337 * gdb.dwarf2/dw2-restrict.exp
14338 * gdb.dwarf2/dw2-single-line-discriminators.exp
14339 * gdb.dwarf2/dw2-strp.exp
14340 * gdb.dwarf2/dw2-undefined-ret-addr.exp
14341 * gdb.dwarf2/dw2-unresolved.exp
14342 * gdb.dwarf2/dw2-var-zero-addr.exp
14343 * gdb.dwarf2/dw4-sig-types.exp
14344 * gdb.dwarf2/dwz.exp
14345 * gdb.dwarf2/dynarr-ptr.exp
14346 * gdb.dwarf2/enum-type.exp
14347 * gdb.dwarf2/gdb-index.exp
14348 * gdb.dwarf2/implptr-64bit.exp
14349 * gdb.dwarf2/implptr-optimized-out.exp
14350 * gdb.dwarf2/implptr.exp
14351 * gdb.dwarf2/implref-array.exp
14352 * gdb.dwarf2/implref-const.exp
14353 * gdb.dwarf2/implref-global.exp
14354 * gdb.dwarf2/implref-struct.exp
14355 * gdb.dwarf2/mac-fileno.exp
14356 * gdb.dwarf2/main-subprogram.exp
14357 * gdb.dwarf2/member-ptr-forwardref.exp
14358 * gdb.dwarf2/method-ptr.exp
14359 * gdb.dwarf2/missing-sig-type.exp
14360 * gdb.dwarf2/nonvar-access.exp
14361 * gdb.dwarf2/opaque-type-lookup.exp
14362 * gdb.dwarf2/pieces-optimized-out.exp
14363 * gdb.dwarf2/pieces.exp
14364 * gdb.dwarf2/pr10770.exp
14365 * gdb.dwarf2/pr13961.exp
14366 * gdb.dwarf2/staticvirtual.exp
14367 * gdb.dwarf2/subrange.exp
14368 * gdb.dwarf2/symtab-producer.exp
14369 * gdb.dwarf2/trace-crash.exp
14370 * gdb.dwarf2/typeddwarf.exp
14371 * gdb.dwarf2/valop.exp
14372 * gdb.dwarf2/watch-notconst.exp
14373 * gdb.fortran/array-element.exp
14374 * gdb.fortran/charset.exp
14375 * gdb.fortran/common-block.exp
14376 * gdb.fortran/complex.exp
14377 * gdb.fortran/derived-type-function.exp
14378 * gdb.fortran/derived-type.exp
14379 * gdb.fortran/logical.exp
14380 * gdb.fortran/module.exp
14381 * gdb.fortran/multi-dim.exp
14382 * gdb.fortran/nested-funcs.exp
14383 * gdb.fortran/print-formatted.exp
14384 * gdb.fortran/subarray.exp
14385 * gdb.fortran/vla-alloc-assoc.exp
14386 * gdb.fortran/vla-datatypes.exp
14387 * gdb.fortran/vla-history.exp
14388 * gdb.fortran/vla-ptr-info.exp
14389 * gdb.fortran/vla-ptype-sub.exp
14390 * gdb.fortran/vla-ptype.exp
14391 * gdb.fortran/vla-sizeof.exp
14392 * gdb.fortran/vla-type.exp
14393 * gdb.fortran/vla-value-sub-arbitrary.exp
14394 * gdb.fortran/vla-value-sub-finish.exp
14395 * gdb.fortran/vla-value-sub.exp
14396 * gdb.fortran/vla-value.exp
14397 * gdb.fortran/whatis_type.exp
14398 * gdb.go/chan.exp
14399 * gdb.go/handcall.exp
14400 * gdb.go/hello.exp
14401 * gdb.go/integers.exp
14402 * gdb.go/methods.exp
14403 * gdb.go/package.exp
14404 * gdb.go/strings.exp
14405 * gdb.go/types.exp
14406 * gdb.go/unsafe.exp
14407 * gdb.guile/scm-arch.exp
14408 * gdb.guile/scm-block.exp
14409 * gdb.guile/scm-breakpoint.exp
14410 * gdb.guile/scm-cmd.exp
14411 * gdb.guile/scm-disasm.exp
14412 * gdb.guile/scm-equal.exp
14413 * gdb.guile/scm-frame-args.exp
14414 * gdb.guile/scm-frame-inline.exp
14415 * gdb.guile/scm-frame.exp
14416 * gdb.guile/scm-iterator.exp
14417 * gdb.guile/scm-math.exp
14418 * gdb.guile/scm-objfile.exp
14419 * gdb.guile/scm-ports.exp
14420 * gdb.guile/scm-symbol.exp
14421 * gdb.guile/scm-symtab.exp
14422 * gdb.guile/scm-value-cc.exp
14423 * gdb.guile/types-module.exp
14424 * gdb.linespec/break-ask.exp
14425 * gdb.linespec/cpexplicit.exp
14426 * gdb.linespec/explicit.exp
14427 * gdb.linespec/keywords.exp
14428 * gdb.linespec/linespec.exp
14429 * gdb.linespec/ls-dollar.exp
14430 * gdb.linespec/ls-errs.exp
14431 * gdb.linespec/skip-two.exp
14432 * gdb.linespec/thread.exp
14433 * gdb.mi/mi-async.exp
14434 * gdb.mi/mi-basics.exp
14435 * gdb.mi/mi-break.exp
14436 * gdb.mi/mi-catch-load.exp
14437 * gdb.mi/mi-cli.exp
14438 * gdb.mi/mi-cmd-param-changed.exp
14439 * gdb.mi/mi-console.exp
14440 * gdb.mi/mi-detach.exp
14441 * gdb.mi/mi-disassemble.exp
14442 * gdb.mi/mi-eval.exp
14443 * gdb.mi/mi-file-transfer.exp
14444 * gdb.mi/mi-file.exp
14445 * gdb.mi/mi-fill-memory.exp
14446 * gdb.mi/mi-inheritance-syntax-error.exp
14447 * gdb.mi/mi-linespec-err-cp.exp
14448 * gdb.mi/mi-logging.exp
14449 * gdb.mi/mi-memory-changed.exp
14450 * gdb.mi/mi-read-memory.exp
14451 * gdb.mi/mi-record-changed.exp
14452 * gdb.mi/mi-reg-undefined.exp
14453 * gdb.mi/mi-regs.exp
14454 * gdb.mi/mi-return.exp
14455 * gdb.mi/mi-reverse.exp
14456 * gdb.mi/mi-simplerun.exp
14457 * gdb.mi/mi-solib.exp
14458 * gdb.mi/mi-stack.exp
14459 * gdb.mi/mi-stepi.exp
14460 * gdb.mi/mi-syn-frame.exp
14461 * gdb.mi/mi-until.exp
14462 * gdb.mi/mi-var-block.exp
14463 * gdb.mi/mi-var-child.exp
14464 * gdb.mi/mi-var-cmd.exp
14465 * gdb.mi/mi-var-cp.exp
14466 * gdb.mi/mi-var-display.exp
14467 * gdb.mi/mi-var-invalidate.exp
14468 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
14469 * gdb.mi/mi-vla-fortran.exp
14470 * gdb.mi/mi-watch.exp
14471 * gdb.mi/mi2-var-child.exp
14472 * gdb.mi/user-selected-context-sync.exp
14473 * gdb.modula2/unbounded-array.exp
14474 * gdb.multi/dummy-frame-restore.exp
14475 * gdb.multi/multi-arch-exec.exp
14476 * gdb.multi/multi-arch.exp
14477 * gdb.multi/tids.exp
14478 * gdb.multi/watchpoint-multi.exp
14479 * gdb.opencl/callfuncs.exp
14480 * gdb.opencl/convs_casts.exp
14481 * gdb.opencl/datatypes.exp
14482 * gdb.opencl/operators.exp
14483 * gdb.opencl/vec_comps.exp
14484 * gdb.opt/clobbered-registers-O2.exp
14485 * gdb.opt/inline-break.exp
14486 * gdb.opt/inline-bt.exp
14487 * gdb.opt/inline-cmds.exp
14488 * gdb.opt/inline-locals.exp
14489 * gdb.pascal/case-insensitive-symbols.exp
14490 * gdb.pascal/floats.exp
14491 * gdb.pascal/gdb11492.exp
14492 * gdb.python/lib-types.exp
14493 * gdb.python/py-arch.exp
14494 * gdb.python/py-as-string.exp
14495 * gdb.python/py-bad-printers.exp
14496 * gdb.python/py-block.exp
14497 * gdb.python/py-breakpoint-create-fail.exp
14498 * gdb.python/py-breakpoint.exp
14499 * gdb.python/py-caller-is.exp
14500 * gdb.python/py-cmd.exp
14501 * gdb.python/py-explore-cc.exp
14502 * gdb.python/py-explore.exp
14503 * gdb.python/py-finish-breakpoint.exp
14504 * gdb.python/py-finish-breakpoint2.exp
14505 * gdb.python/py-frame-args.exp
14506 * gdb.python/py-frame-inline.exp
14507 * gdb.python/py-frame.exp
14508 * gdb.python/py-framefilter-mi.exp
14509 * gdb.python/py-infthread.exp
14510 * gdb.python/py-lazy-string.exp
14511 * gdb.python/py-linetable.exp
14512 * gdb.python/py-mi-events.exp
14513 * gdb.python/py-mi-objfile.exp
14514 * gdb.python/py-mi.exp
14515 * gdb.python/py-objfile.exp
14516 * gdb.python/py-pp-integral.exp
14517 * gdb.python/py-pp-maint.exp
14518 * gdb.python/py-pp-re-notag.exp
14519 * gdb.python/py-pp-registration.exp
14520 * gdb.python/py-recurse-unwind.exp
14521 * gdb.python/py-strfns.exp
14522 * gdb.python/py-symbol.exp
14523 * gdb.python/py-symtab.exp
14524 * gdb.python/py-sync-interp.exp
14525 * gdb.python/py-typeprint.exp
14526 * gdb.python/py-unwind-maint.exp
14527 * gdb.python/py-unwind.exp
14528 * gdb.python/py-value-cc.exp
14529 * gdb.python/py-xmethods.exp
14530 * gdb.reverse/amd64-tailcall-reverse.exp
14531 * gdb.reverse/break-precsave.exp
14532 * gdb.reverse/break-reverse.exp
14533 * gdb.reverse/consecutive-precsave.exp
14534 * gdb.reverse/consecutive-reverse.exp
14535 * gdb.reverse/finish-precsave.exp
14536 * gdb.reverse/finish-reverse-bkpt.exp
14537 * gdb.reverse/finish-reverse.exp
14538 * gdb.reverse/fstatat-reverse.exp
14539 * gdb.reverse/getresuid-reverse.exp
14540 * gdb.reverse/i386-precsave.exp
14541 * gdb.reverse/i386-reverse.exp
14542 * gdb.reverse/i386-sse-reverse.exp
14543 * gdb.reverse/i387-env-reverse.exp
14544 * gdb.reverse/i387-stack-reverse.exp
14545 * gdb.reverse/insn-reverse.exp
14546 * gdb.reverse/machinestate-precsave.exp
14547 * gdb.reverse/machinestate.exp
14548 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14549 * gdb.reverse/pipe-reverse.exp
14550 * gdb.reverse/readv-reverse.exp
14551 * gdb.reverse/recvmsg-reverse.exp
14552 * gdb.reverse/rerun-prec.exp
14553 * gdb.reverse/s390-mvcle.exp
14554 * gdb.reverse/step-precsave.exp
14555 * gdb.reverse/step-reverse.exp
14556 * gdb.reverse/time-reverse.exp
14557 * gdb.reverse/until-precsave.exp
14558 * gdb.reverse/until-reverse.exp
14559 * gdb.reverse/waitpid-reverse.exp
14560 * gdb.reverse/watch-precsave.exp
14561 * gdb.reverse/watch-reverse.exp
14562 * gdb.rust/generics.exp
14563 * gdb.rust/methods.exp
14564 * gdb.rust/modules.exp
14565 * gdb.rust/simple.exp
14566 * gdb.server/connect-with-no-symbol-file.exp
14567 * gdb.server/ext-attach.exp
14568 * gdb.server/ext-restart.exp
14569 * gdb.server/ext-wrapper.exp
14570 * gdb.server/file-transfer.exp
14571 * gdb.server/server-exec-info.exp
14572 * gdb.server/server-kill.exp
14573 * gdb.server/server-mon.exp
14574 * gdb.server/wrapper.exp
14575 * gdb.stabs/exclfwd.exp
14576 * gdb.stabs/gdb11479.exp
14577 * gdb.threads/clone-new-thread-event.exp
14578 * gdb.threads/corethreads.exp
14579 * gdb.threads/current-lwp-dead.exp
14580 * gdb.threads/dlopen-libpthread.exp
14581 * gdb.threads/gcore-thread.exp
14582 * gdb.threads/sigstep-threads.exp
14583 * gdb.threads/watchpoint-fork.exp
14584 * gdb.trace/actions-changed.exp
14585 * gdb.trace/backtrace.exp
14586 * gdb.trace/change-loc.exp
14587 * gdb.trace/circ.exp
14588 * gdb.trace/collection.exp
14589 * gdb.trace/disconnected-tracing.exp
14590 * gdb.trace/ftrace.exp
14591 * gdb.trace/mi-trace-frame-collected.exp
14592 * gdb.trace/mi-trace-unavailable.exp
14593 * gdb.trace/mi-traceframe-changed.exp
14594 * gdb.trace/mi-tsv-changed.exp
14595 * gdb.trace/no-attach-trace.exp
14596 * gdb.trace/passc-dyn.exp
14597 * gdb.trace/qtro.exp
14598 * gdb.trace/range-stepping.exp
14599 * gdb.trace/read-memory.exp
14600 * gdb.trace/save-trace.exp
14601 * gdb.trace/signal.exp
14602 * gdb.trace/status-stop.exp
14603 * gdb.trace/tfile.exp
14604 * gdb.trace/trace-break.exp
14605 * gdb.trace/trace-buffer-size.exp
14606 * gdb.trace/trace-condition.exp
14607 * gdb.trace/tracefile-pseudo-reg.exp
14608 * gdb.trace/tstatus.exp
14609 * gdb.trace/unavailable.exp
14610 * gdb.trace/while-dyn.exp
14611 * gdb.trace/while-stepping.exp
14612
34c41c68
DE
146132016-12-22 Doug Evans <xdje42@gmail.com>
14614
14615 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14616 and msymbols.
14617
16e69324
YQ
146182016-12-19 Yao Qi <yao.qi@linaro.org>
14619
14620 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14621 (test_with_self): Don't call do_steps_and_nexts, and remove
14622 code about stepping into xmalloc.
14623
f94f411b
YQ
146242016-12-09 Yao Qi <yao.qi@linaro.org>
14625
14626 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14627
146282016-12-09 Yao Qi <yao.qi@linaro.org>
14629
14630 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14631
f1b5deee
PA
146322016-12-09 Pedro Alves <palves@redhat.com>
14633
14634 * gdb.base/all-architectures-0.exp: New file.
14635 * gdb.base/all-architectures-1.exp: New file.
14636 * gdb.base/all-architectures-2.exp: New file.
14637 * gdb.base/all-architectures-3.exp: New file.
14638 * gdb.base/all-architectures-4.exp: New file.
14639 * gdb.base/all-architectures-5.exp: New file.
14640 * gdb.base/all-architectures-6.exp: New file.
14641 * gdb.base/all-architectures-7.exp: New file.
14642 * gdb.base/all-architectures.exp.in: New file.
14643
364ca42e
YQ
146442016-12-09 Yao Qi <yao.qi@linaro.org>
14645
14646 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14647
107c2d62
LM
146482016-12-02 Luis Machado <lgustavo@codesourcery.com>
14649
14650 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14651 possible.
14652 Remove useless pattern-matching code.
14653
df3ee9ca
PA
146542016-12-02 Pedro Alves <palves@redhat.com>
14655
14656 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14657 procedure.
14658 (top level): Call it.
14659
ec835369
PA
146602016-12-02 Pedro Alves <palves@redhat.com>
14661
14662 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14663 New procedure.
14664 (top level): Call it.
14665
01770bbd
PA
146662016-12-02 Pedro Alves <palves@redhat.com>
14667
14668 PR cli/20559
14669 * gdb.base/commands.exp (user_defined_command_args_eval): New
14670 procedure.
14671 (top level): Call it.
14672
008459ea
LM
146732016-12-02 Luis Machado <lgustavo@codesourcery.com>
14674
14675 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14676 timeout handling.
14677
0c1b455e
TT
146782016-12-02 Tom Tromey <tom@tromey.com>
14679
14680 * gdb.dwarf2/main-subprogram.c: New file.
14681 * gdb.dwarf2/main-subprogram.exp: New file.
14682
018572b8
LM
146832016-12-01 Luis Machado <lgustavo@codesourcery.com>
14684
14685 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14686 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14687 gdb_test_no_output for a couple of cases.
14688 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14689
84c93cd5
LM
146902016-12-01 Luis Machado <lgustavo@codesourcery.com>
14691
14692 Fix test names and standardize compilation error messages throughout
14693 the following files:
14694
14695 * gdb.ada/start.exp
14696 * gdb.arch/alpha-step.exp
14697 * gdb.arch/e500-prologue.exp
14698 * gdb.arch/ftrace-insn-reloc.exp
14699 * gdb.arch/gdb1291.exp
14700 * gdb.arch/gdb1431.exp
14701 * gdb.arch/gdb1558.exp
14702 * gdb.arch/i386-dr3-watch.exp
14703 * gdb.arch/i386-sse-stack-align.exp
14704 * gdb.arch/ia64-breakpoint-shadow.exp
14705 * gdb.arch/pa-nullify.exp
14706 * gdb.arch/powerpc-aix-prologue.exp
14707 * gdb.arch/thumb-bx-pc.exp
14708 * gdb.base/annota1.exp
14709 * gdb.base/annota3.exp
14710 * gdb.base/arrayidx.exp
14711 * gdb.base/assign.exp
14712 * gdb.base/attach.exp
14713 * gdb.base/auxv.exp
14714 * gdb.base/bang.exp
14715 * gdb.base/bfp-test.exp
14716 * gdb.base/bigcore.exp
14717 * gdb.base/bitfields2.exp
14718 * gdb.base/break-fun-addr.exp
14719 * gdb.base/break-probes.exp
14720 * gdb.base/call-rt-st.exp
14721 * gdb.base/callexit.exp
14722 * gdb.base/catch-fork-kill.exp
14723 * gdb.base/charset.exp
14724 * gdb.base/checkpoint.exp
14725 * gdb.base/comprdebug.exp
14726 * gdb.base/constvars.exp
14727 * gdb.base/coredump-filter.exp
14728 * gdb.base/cursal.exp
14729 * gdb.base/cvexpr.exp
14730 * gdb.base/detach.exp
14731 * gdb.base/display.exp
14732 * gdb.base/dmsym.exp
14733 * gdb.base/dprintf-pending.exp
14734 * gdb.base/dso2dso.exp
14735 * gdb.base/dtrace-probe.exp
14736 * gdb.base/dump.exp
14737 * gdb.base/enum_cond.exp
14738 * gdb.base/exe-lock.exp
14739 * gdb.base/exec-invalid-sysroot.exp
14740 * gdb.base/execl-update-breakpoints.exp
14741 * gdb.base/exprs.exp
14742 * gdb.base/fileio.exp
14743 * gdb.base/find.exp
14744 * gdb.base/finish.exp
14745 * gdb.base/fixsection.exp
14746 * gdb.base/foll-vfork.exp
14747 * gdb.base/frame-args.exp
14748 * gdb.base/gcore.exp
14749 * gdb.base/gdb1250.exp
14750 * gdb.base/global-var-nested-by-dso.exp
14751 * gdb.base/gnu-ifunc.exp
14752 * gdb.base/hashline1.exp
14753 * gdb.base/hashline2.exp
14754 * gdb.base/hashline3.exp
14755 * gdb.base/hbreak-in-shr-unsupported.exp
14756 * gdb.base/huge.exp
14757 * gdb.base/infcall-input.exp
14758 * gdb.base/info-fun.exp
14759 * gdb.base/info-shared.exp
14760 * gdb.base/jit-simple.exp
14761 * gdb.base/jit-so.exp
14762 * gdb.base/jit.exp
14763 * gdb.base/jump.exp
14764 * gdb.base/label.exp
14765 * gdb.base/lineinc.exp
14766 * gdb.base/logical.exp
14767 * gdb.base/longjmp.exp
14768 * gdb.base/macscp.exp
14769 * gdb.base/miscexprs.exp
14770 * gdb.base/new-ui-echo.exp
14771 * gdb.base/new-ui-pending-input.exp
14772 * gdb.base/new-ui.exp
14773 * gdb.base/nodebug.exp
14774 * gdb.base/nofield.exp
14775 * gdb.base/offsets.exp
14776 * gdb.base/overlays.exp
14777 * gdb.base/pending.exp
14778 * gdb.base/pointers.exp
14779 * gdb.base/pr11022.exp
14780 * gdb.base/printcmds.exp
14781 * gdb.base/prologue.exp
14782 * gdb.base/ptr-typedef.exp
14783 * gdb.base/realname-expand.exp
14784 * gdb.base/relativedebug.exp
14785 * gdb.base/relocate.exp
14786 * gdb.base/remote.exp
14787 * gdb.base/reread.exp
14788 * gdb.base/return2.exp
14789 * gdb.base/savedregs.exp
14790 * gdb.base/sep.exp
14791 * gdb.base/sepdebug.exp
14792 * gdb.base/sepsymtab.exp
14793 * gdb.base/set-inferior-tty.exp
14794 * gdb.base/setshow.exp
14795 * gdb.base/shlib-call.exp
14796 * gdb.base/sigaltstack.exp
14797 * gdb.base/siginfo-addr.exp
14798 * gdb.base/signals.exp
14799 * gdb.base/signull.exp
14800 * gdb.base/sigrepeat.exp
14801 * gdb.base/so-impl-ld.exp
14802 * gdb.base/solib-display.exp
14803 * gdb.base/solib-overlap.exp
14804 * gdb.base/solib-search.exp
14805 * gdb.base/solib-symbol.exp
14806 * gdb.base/structs.exp
14807 * gdb.base/structs2.exp
14808 * gdb.base/symtab-search-order.exp
14809 * gdb.base/twice.exp
14810 * gdb.base/unload.exp
14811 * gdb.base/varargs.exp
14812 * gdb.base/watchpoint-solib.exp
14813 * gdb.base/watchpoint.exp
14814 * gdb.base/whatis.exp
14815 * gdb.base/wrong_frame_bt_full.exp
14816 * gdb.btrace/dlopen.exp
14817 * gdb.cell/ea-standalone.exp
14818 * gdb.cell/ea-test.exp
14819 * gdb.cp/dispcxx.exp
14820 * gdb.cp/gdb2384.exp
14821 * gdb.cp/method2.exp
14822 * gdb.cp/nextoverthrow.exp
14823 * gdb.cp/pr10728.exp
14824 * gdb.disasm/am33.exp
14825 * gdb.disasm/h8300s.exp
14826 * gdb.disasm/mn10300.exp
14827 * gdb.disasm/sh3.exp
14828 * gdb.dwarf2/dw2-dir-file-name.exp
14829 * gdb.fortran/complex.exp
14830 * gdb.fortran/library-module.exp
14831 * gdb.guile/scm-pretty-print.exp
14832 * gdb.guile/scm-symbol.exp
14833 * gdb.guile/scm-type.exp
14834 * gdb.guile/scm-value.exp
14835 * gdb.linespec/linespec.exp
14836 * gdb.mi/gdb701.exp
14837 * gdb.mi/gdb792.exp
14838 * gdb.mi/mi-breakpoint-changed.exp
14839 * gdb.mi/mi-dprintf-pending.exp
14840 * gdb.mi/mi-dprintf.exp
14841 * gdb.mi/mi-exit-code.exp
14842 * gdb.mi/mi-pending.exp
14843 * gdb.mi/mi-solib.exp
14844 * gdb.mi/new-ui-mi-sync.exp
14845 * gdb.mi/pr11022.exp
14846 * gdb.mi/user-selected-context-sync.exp
14847 * gdb.opt/solib-intra-step.exp
14848 * gdb.python/py-events.exp
14849 * gdb.python/py-finish-breakpoint.exp
14850 * gdb.python/py-mi.exp
14851 * gdb.python/py-prettyprint.exp
14852 * gdb.python/py-shared.exp
14853 * gdb.python/py-symbol.exp
14854 * gdb.python/py-template.exp
14855 * gdb.python/py-type.exp
14856 * gdb.python/py-value.exp
14857 * gdb.reverse/solib-precsave.exp
14858 * gdb.reverse/solib-reverse.exp
14859 * gdb.server/solib-list.exp
14860 * gdb.stabs/weird.exp
14861 * gdb.threads/reconnect-signal.exp
14862 * gdb.threads/stepi-random-signal.exp
14863 * gdb.trace/actions.exp
14864 * gdb.trace/ax.exp
14865 * gdb.trace/backtrace.exp
14866 * gdb.trace/change-loc.exp
14867 * gdb.trace/deltrace.exp
14868 * gdb.trace/ftrace-lock.exp
14869 * gdb.trace/ftrace.exp
14870 * gdb.trace/infotrace.exp
14871 * gdb.trace/mi-tracepoint-changed.exp
14872 * gdb.trace/packetlen.exp
14873 * gdb.trace/passcount.exp
14874 * gdb.trace/pending.exp
14875 * gdb.trace/range-stepping.exp
14876 * gdb.trace/report.exp
14877 * gdb.trace/stap-trace.exp
14878 * gdb.trace/tfind.exp
14879 * gdb.trace/trace-break.exp
14880 * gdb.trace/trace-condition.exp
14881 * gdb.trace/trace-enable-disable.exp
14882 * gdb.trace/trace-mt.exp
14883 * gdb.trace/tracecmd.exp
14884 * gdb.trace/tspeed.exp
14885 * gdb.trace/tsv.exp
14886 * lib/perftest.exp
14887
fb9feb35
LM
148882016-12-01 Luis Machado <lgustavo@codesourcery.com>
14889
14890 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14891 with gdb_test_no_output.
14892 Use command as test name.
14893
cd2ddb6c
LM
148942016-12-01 Luis Machado <lgustavo@codesourcery.com>
14895
14896 Fix test names starting with uppercase throughout the files.
14897
14898 * gdb.ada/assign_1.exp
14899 * gdb.ada/boolean_expr.exp
14900 * gdb.base/arrayidx.exp
14901 * gdb.base/del.exp
14902 * gdb.base/gcore-buffer-overflow.exp
14903 * gdb.base/testenv.exp
14904 * gdb.compile/compile.exp
14905 * gdb.python/py-framefilter-invalidarg.exp
14906 * gdb.python/py-framefilter.exp
14907
bb95117e
LM
149082016-12-01 Luis Machado <lgustavo@codesourcery.com>
14909
14910 Fix test names starting with uppercase throughout the files.
14911
14912 * gdb.ada/array_return.exp
14913 * gdb.ada/expr_delims.exp
14914 * gdb.ada/mi_dyn_arr.exp
14915 * gdb.ada/mi_interface.exp
14916 * gdb.ada/mi_var_array.exp
14917 * gdb.ada/watch_arg.exp
14918 * gdb.arch/alpha-step.exp
14919 * gdb.arch/altivec-regs.exp
14920 * gdb.arch/e500-regs.exp
14921 * gdb.arch/powerpc-d128-regs.exp
14922 * gdb.base/arrayidx.exp
14923 * gdb.base/break.exp
14924 * gdb.base/checkpoint.exp
14925 * gdb.base/debug-expr.exp
14926 * gdb.base/dmsym.exp
14927 * gdb.base/radix.exp
14928 * gdb.base/sepdebug.exp
14929 * gdb.base/testenv.exp
14930 * gdb.base/watch_thread_num.exp
14931 * gdb.base/watchpoint-cond-gone.exp
14932 * gdb.cell/break.exp
14933 * gdb.cell/ea-cache.exp
14934 * gdb.compile/compile.exp
14935 * gdb.cp/gdb2495.exp
14936 * gdb.gdb/selftest.exp
14937 * gdb.gdb/xfullpath.exp
14938 * gdb.go/hello.exp
14939 * gdb.go/integers.exp
14940 * gdb.objc/basicclass.exp
14941 * gdb.pascal/hello.exp
14942 * gdb.pascal/integers.exp
14943 * gdb.python/py-breakpoint.exp
14944 * gdb.python/py-cmd.exp
14945 * gdb.python/py-linetable.exp
14946 * gdb.python/py-xmethods.exp
14947 * gdb.python/python.exp
14948 * gdb.reverse/consecutive-precsave.exp
14949 * gdb.reverse/finish-precsave.exp
14950 * gdb.reverse/i386-precsave.exp
14951 * gdb.reverse/machinestate-precsave.exp
14952 * gdb.reverse/sigall-precsave.exp
14953 * gdb.reverse/solib-precsave.exp
14954 * gdb.reverse/step-precsave.exp
14955 * gdb.reverse/until-precsave.exp
14956 * gdb.reverse/watch-precsave.exp
14957 * gdb.threads/leader-exit.exp
14958 * gdb.threads/pthreads.exp
14959 * gdb.threads/wp-replication.exp
14960 * gdb.trace/actions.exp
14961 * gdb.trace/mi-tsv-changed.exp
14962 * gdb.trace/tsv.exp
14963
de97fdd4
LM
149642016-12-01 Luis Machado <lgustavo@codesourcery.com>
14965
14966 Fix test names starting with uppercase throughout the files.
14967
14968 * gdb.arch/i386-bp_permanent.exp
14969 * gdb.arch/i386-gnu-cfi.exp
14970 * gdb.base/disasm-end-cu.exp
14971 * gdb.base/macscp.exp
14972 * gdb.base/pending.exp
14973 * gdb.base/watch_thread_num.exp
14974 * gdb.cp/exception.exp
14975 * gdb.cp/gdb2495.exp
14976 * gdb.cp/local.exp
14977 * gdb.python/py-evsignal.exp
14978 * gdb.python/python.exp
14979 * gdb.trace/tracecmd.exp
14980
9f058c10
LM
149812016-12-01 Luis Machado <lgustavo@codesourcery.com>
14982
14983 Fix test names starting with uppercase throughout the files.
14984
14985 * gdb.base/charset.exp
14986 * gdb.base/eval.exp
14987 * gdb.base/multi-forks.exp
14988 * gdb.guile/scm-progspace.exp
14989 * gdb.opencl/datatypes.exp
14990 * gdb.python/py-block.exp
14991 * gdb.python/py-function.exp
14992 * gdb.python/py-symbol.exp
14993 * gdb.python/py-symtab.exp
14994 * gdb.python/py-xmethods.exp
14995 * gdb.reverse/break-precsave.exp
14996 * gdb.reverse/break-reverse.exp
14997 * gdb.reverse/consecutive-precsave.exp
14998 * gdb.reverse/consecutive-reverse.exp
14999 * gdb.reverse/finish-precsave.exp
15000 * gdb.reverse/finish-reverse-bkpt.exp
15001 * gdb.reverse/finish-reverse.exp
15002 * gdb.reverse/fstatat-reverse.exp
15003 * gdb.reverse/getresuid-reverse.exp
15004 * gdb.reverse/i386-precsave.exp
15005 * gdb.reverse/i386-reverse.exp
15006 * gdb.reverse/i386-sse-reverse.exp
15007 * gdb.reverse/i387-stack-reverse.exp
15008 * gdb.reverse/insn-reverse.exp
15009 * gdb.reverse/machinestate-precsave.exp
15010 * gdb.reverse/machinestate.exp
15011 * gdb.reverse/next-reverse-bkpt-over-sr.exp
15012 * gdb.reverse/pipe-reverse.exp
15013 * gdb.reverse/readv-reverse.exp
15014 * gdb.reverse/recvmsg-reverse.exp
15015 * gdb.reverse/rerun-prec.exp
15016 * gdb.reverse/s390-mvcle.exp
15017 * gdb.reverse/sigall-precsave.exp
15018 * gdb.reverse/sigall-reverse.exp
15019 * gdb.reverse/solib-precsave.exp
15020 * gdb.reverse/solib-reverse.exp
15021 * gdb.reverse/step-precsave.exp
15022 * gdb.reverse/step-reverse.exp
15023 * gdb.reverse/time-reverse.exp
15024 * gdb.reverse/until-precsave.exp
15025 * gdb.reverse/until-reverse.exp
15026 * gdb.reverse/waitpid-reverse.exp
15027 * gdb.reverse/watch-precsave.exp
15028 * gdb.reverse/watch-reverse.exp
15029
cdc7edd7
LM
150302016-12-01 Luis Machado <lgustavo@codesourcery.com>
15031
15032 Fix test names starting with uppercase throughout the files.
15033
15034 * gdb.arch/i386-mpx-simple_segv.exp
15035 * gdb.arch/i386-mpx.exp
15036 * gdb.arch/i386-permbkpt.exp
15037 * gdb.arch/pa-nullify.exp
15038 * gdb.arch/powerpc-d128-regs.exp
15039 * gdb.arch/vsx-regs.exp
15040 * gdb.base/bfp-test.exp
15041 * gdb.base/break.exp
15042 * gdb.base/breakpoint-shadow.exp
15043 * gdb.base/callfuncs.exp
15044 * gdb.base/charset.exp
15045 * gdb.base/commands.exp
15046 * gdb.base/completion.exp
15047 * gdb.base/dfp-test.exp
15048 * gdb.base/echo.exp
15049 * gdb.base/ending-run.exp
15050 * gdb.base/eval.exp
15051 * gdb.base/expand-psymtabs.exp
15052 * gdb.base/float128.exp
15053 * gdb.base/floatn.exp
15054 * gdb.base/foll-exec-mode.exp
15055 * gdb.base/gdb1056.exp
15056 * gdb.base/gdb11531.exp
15057 * gdb.base/kill-after-signal.exp
15058 * gdb.base/multi-forks.exp
15059 * gdb.base/overlays.exp
15060 * gdb.base/pending.exp
15061 * gdb.base/sepdebug.exp
15062 * gdb.base/testenv.exp
15063 * gdb.base/valgrind-db-attach.exp
15064 * gdb.base/watch_thread_num.exp
15065 * gdb.base/watchpoint-cond-gone.exp
15066 * gdb.base/watchpoint.exp
15067 * gdb.base/watchpoints.exp
15068 * gdb.cp/arg-reference.exp
15069 * gdb.cp/baseenum.exp
15070 * gdb.cp/operator.exp
15071 * gdb.cp/shadow.exp
15072 * gdb.dwarf2/dw2-op-out-param.exp
15073 * gdb.dwarf2/dw2-reg-undefined.exp
15074 * gdb.go/chan.exp
15075 * gdb.go/hello.exp
15076 * gdb.go/integers.exp
15077 * gdb.go/methods.exp
15078 * gdb.go/package.exp
15079 * gdb.guile/scm-parameter.exp
15080 * gdb.guile/scm-progspace.exp
15081 * gdb.guile/scm-value.exp
15082 * gdb.mi/mi-pending.exp
15083 * gdb.mi/user-selected-context-sync.exp
15084 * gdb.multi/multi-attach.exp
15085 * gdb.multi/tids.exp
15086 * gdb.opt/clobbered-registers-O2.exp
15087 * gdb.pascal/floats.exp
15088 * gdb.pascal/integers.exp
15089 * gdb.python/py-block.exp
15090 * gdb.python/py-events.exp
15091 * gdb.python/py-parameter.exp
15092 * gdb.python/py-symbol.exp
15093 * gdb.python/py-symtab.exp
15094 * gdb.python/py-type.exp
15095 * gdb.python/py-value.exp
15096 * gdb.python/py-xmethods.exp
15097 * gdb.python/python.exp
15098 * gdb.reverse/break-precsave.exp
15099 * gdb.reverse/consecutive-precsave.exp
15100 * gdb.reverse/finish-precsave.exp
15101 * gdb.reverse/i386-precsave.exp
15102 * gdb.reverse/machinestate-precsave.exp
15103 * gdb.reverse/sigall-precsave.exp
15104 * gdb.reverse/solib-precsave.exp
15105 * gdb.reverse/step-precsave.exp
15106 * gdb.reverse/until-precsave.exp
15107 * gdb.reverse/watch-precsave.exp
15108 * gdb.server/ext-attach.exp
15109 * gdb.server/ext-restart.exp
15110 * gdb.server/ext-run.exp
15111 * gdb.server/ext-wrapper.exp
15112 * gdb.stabs/gdb11479.exp
15113 * gdb.stabs/weird.exp
15114 * gdb.threads/attach-many-short-lived-threads.exp
15115 * gdb.threads/kill.exp
15116 * gdb.threads/watchpoint-fork.exp
15117
bc6c7af4
LM
151182016-12-01 Luis Machado <lgustavo@codesourcery.com>
15119
15120 Fix test names starting with uppercase throughout all the files below.
15121
15122 * gdb.ada/array_return.exp
15123 * gdb.ada/catch_ex.exp
15124 * gdb.ada/info_exc.exp
15125 * gdb.ada/mi_catch_ex.exp
15126 * gdb.ada/mi_dyn_arr.exp
15127 * gdb.ada/mi_ex_cond.exp
15128 * gdb.ada/mi_exc_info.exp
15129 * gdb.ada/mi_interface.exp
15130 * gdb.ada/mi_task_arg.exp
15131 * gdb.ada/mi_task_info.exp
15132 * gdb.ada/mi_var_array.exp
15133 * gdb.arch/alpha-step.exp
15134 * gdb.arch/amd64-disp-step.exp
15135 * gdb.arch/arm-disp-step.exp
15136 * gdb.arch/disp-step-insn-reloc.exp
15137 * gdb.arch/e500-prologue.exp
15138 * gdb.arch/ftrace-insn-reloc.exp
15139 * gdb.arch/gdb1558.exp
15140 * gdb.arch/i386-bp_permanent.exp
15141 * gdb.arch/i386-disp-step.exp
15142 * gdb.arch/i386-float.exp
15143 * gdb.arch/i386-gnu-cfi.exp
15144 * gdb.arch/ia64-breakpoint-shadow.exp
15145 * gdb.arch/mips16-thunks.exp
15146 * gdb.arch/pa-nullify.exp
15147 * gdb.arch/powerpc-aix-prologue.exp
15148 * gdb.arch/powerpc-power.exp
15149 * gdb.arch/ppc-dfp.exp
15150 * gdb.arch/s390-tdbregs.exp
15151 * gdb.arch/spu-info.exp
15152 * gdb.arch/spu-ls.exp
15153 * gdb.arch/thumb-bx-pc.exp
15154 * gdb.base/advance.exp
15155 * gdb.base/annota-input-while-running.exp
15156 * gdb.base/arrayidx.exp
15157 * gdb.base/asmlabel.exp
15158 * gdb.base/async.exp
15159 * gdb.base/attach-wait-input.exp
15160 * gdb.base/auto-connect-native-target.exp
15161 * gdb.base/batch-preserve-term-settings.exp
15162 * gdb.base/bfp-test.exp
15163 * gdb.base/bigcore.exp
15164 * gdb.base/bp-permanent.exp
15165 * gdb.base/break-always.exp
15166 * gdb.base/break-fun-addr.exp
15167 * gdb.base/break-idempotent.exp
15168 * gdb.base/break-main-file-remove-fail.exp
15169 * gdb.base/break-probes.exp
15170 * gdb.base/break-unload-file.exp
15171 * gdb.base/break.exp
15172 * gdb.base/call-ar-st.exp
15173 * gdb.base/call-rt-st.exp
15174 * gdb.base/call-sc.exp
15175 * gdb.base/call-signal-resume.exp
15176 * gdb.base/call-strs.exp
15177 * gdb.base/callexit.exp
15178 * gdb.base/callfuncs.exp
15179 * gdb.base/catch-gdb-caused-signals.exp
15180 * gdb.base/catch-signal-siginfo-cond.exp
15181 * gdb.base/catch-syscall.exp
15182 * gdb.base/compare-sections.exp
15183 * gdb.base/cond-eval-mode.exp
15184 * gdb.base/condbreak-call-false.exp
15185 * gdb.base/consecutive-step-over.exp
15186 * gdb.base/cursal.exp
15187 * gdb.base/disabled-location.exp
15188 * gdb.base/disasm-end-cu.exp
15189 * gdb.base/display.exp
15190 * gdb.base/double-prompt-target-event-error.exp
15191 * gdb.base/dprintf-bp-same-addr.exp
15192 * gdb.base/dprintf-detach.exp
15193 * gdb.base/dprintf-next.exp
15194 * gdb.base/dprintf-non-stop.exp
15195 * gdb.base/dprintf-pending.exp
15196 * gdb.base/dso2dso.exp
15197 * gdb.base/ending-run.exp
15198 * gdb.base/enum_cond.exp
15199 * gdb.base/examine-backward.exp
15200 * gdb.base/exe-lock.exp
15201 * gdb.base/exec-invalid-sysroot.exp
15202 * gdb.base/execl-update-breakpoints.exp
15203 * gdb.base/execution-termios.exp
15204 * gdb.base/fileio.exp
15205 * gdb.base/fixsection.exp
15206 * gdb.base/foll-exec-mode.exp
15207 * gdb.base/foll-exec.exp
15208 * gdb.base/fork-running-state.exp
15209 * gdb.base/frame-args.exp
15210 * gdb.base/fullpath-expand.exp
15211 * gdb.base/func-ptr.exp
15212 * gdb.base/gcore-relro-pie.exp
15213 * gdb.base/gdb1090.exp
15214 * gdb.base/gdb1555.exp
15215 * gdb.base/global-var-nested-by-dso.exp
15216 * gdb.base/gnu-ifunc.exp
15217 * gdb.base/hbreak-in-shr-unsupported.exp
15218 * gdb.base/hbreak-unmapped.exp
15219 * gdb.base/hook-stop.exp
15220 * gdb.base/infcall-input.exp
15221 * gdb.base/info-fun.exp
15222 * gdb.base/info-shared.exp
15223 * gdb.base/interrupt-noterm.exp
15224 * gdb.base/jit-so.exp
15225 * gdb.base/jit.exp
15226 * gdb.base/line-symtabs.exp
15227 * gdb.base/list.exp
15228 * gdb.base/longjmp.exp
15229 * gdb.base/macscp.exp
15230 * gdb.base/max-value-size.exp
15231 * gdb.base/nodebug.exp
15232 * gdb.base/nofield.exp
15233 * gdb.base/overlays.exp
15234 * gdb.base/paginate-after-ctrl-c-running.exp
15235 * gdb.base/paginate-bg-execution.exp
15236 * gdb.base/paginate-inferior-exit.exp
15237 * gdb.base/pending.exp
15238 * gdb.base/pr11022.exp
15239 * gdb.base/printcmds.exp
15240 * gdb.base/ptr-typedef.exp
15241 * gdb.base/ptype.exp
15242 * gdb.base/randomize.exp
15243 * gdb.base/range-stepping.exp
15244 * gdb.base/realname-expand.exp
15245 * gdb.base/relativedebug.exp
15246 * gdb.base/remote.exp
15247 * gdb.base/savedregs.exp
15248 * gdb.base/sepdebug.exp
15249 * gdb.base/set-noassign.exp
15250 * gdb.base/shlib-call.exp
15251 * gdb.base/shreloc.exp
15252 * gdb.base/sigaltstack.exp
15253 * gdb.base/sigbpt.exp
15254 * gdb.base/siginfo-addr.exp
15255 * gdb.base/siginfo-obj.exp
15256 * gdb.base/siginfo-thread.exp
15257 * gdb.base/signest.exp
15258 * gdb.base/signull.exp
15259 * gdb.base/sigrepeat.exp
15260 * gdb.base/skip.exp
15261 * gdb.base/so-impl-ld.exp
15262 * gdb.base/solib-corrupted.exp
15263 * gdb.base/solib-disc.exp
15264 * gdb.base/solib-display.exp
15265 * gdb.base/solib-overlap.exp
15266 * gdb.base/solib-search.exp
15267 * gdb.base/solib-symbol.exp
15268 * gdb.base/source-execution.exp
15269 * gdb.base/sss-bp-on-user-bp-2.exp
15270 * gdb.base/sss-bp-on-user-bp.exp
15271 * gdb.base/stack-checking.exp
15272 * gdb.base/stale-infcall.exp
15273 * gdb.base/step-break.exp
15274 * gdb.base/step-line.exp
15275 * gdb.base/step-over-exit.exp
15276 * gdb.base/step-test.exp
15277 * gdb.base/structs.exp
15278 * gdb.base/sym-file.exp
15279 * gdb.base/symtab-search-order.exp
15280 * gdb.base/term.exp
15281 * gdb.base/type-opaque.exp
15282 * gdb.base/unload.exp
15283 * gdb.base/until-nodebug.exp
15284 * gdb.base/until.exp
15285 * gdb.base/unwindonsignal.exp
15286 * gdb.base/watch-cond.exp
15287 * gdb.base/watch-non-mem.exp
15288 * gdb.base/watch_thread_num.exp
15289 * gdb.base/watchpoint-reuse-slot.exp
15290 * gdb.base/watchpoint-solib.exp
15291 * gdb.base/watchpoint.exp
15292 * gdb.btrace/dlopen.exp
15293 * gdb.cell/arch.exp
15294 * gdb.cell/break.exp
15295 * gdb.cell/bt.exp
15296 * gdb.cell/core.exp
15297 * gdb.cell/data.exp
15298 * gdb.cell/dwarfaddr.exp
15299 * gdb.cell/ea-cache.exp
15300 * gdb.cell/ea-standalone.exp
15301 * gdb.cell/ea-test.exp
15302 * gdb.cell/f-regs.exp
15303 * gdb.cell/fork.exp
15304 * gdb.cell/gcore.exp
15305 * gdb.cell/mem-access.exp
15306 * gdb.cell/ptype.exp
15307 * gdb.cell/registers.exp
15308 * gdb.cell/sizeof.exp
15309 * gdb.cell/solib-symbol.exp
15310 * gdb.cell/solib.exp
15311 * gdb.compile/compile-tls.exp
15312 * gdb.cp/exception.exp
15313 * gdb.cp/gdb2495.exp
15314 * gdb.cp/local.exp
15315 * gdb.cp/mb-inline.exp
15316 * gdb.cp/mb-templates.exp
15317 * gdb.cp/pr10687.exp
15318 * gdb.cp/pr9167.exp
15319 * gdb.cp/scope-err.exp
15320 * gdb.cp/templates.exp
15321 * gdb.cp/virtfunc.exp
15322 * gdb.dwarf2/dw2-dir-file-name.exp
15323 * gdb.dwarf2/dw2-single-line-discriminators.exp
15324 * gdb.fortran/complex.exp
15325 * gdb.fortran/library-module.exp
15326 * gdb.guile/guile.exp
15327 * gdb.guile/scm-cmd.exp
15328 * gdb.guile/scm-frame-inline.exp
15329 * gdb.guile/scm-objfile.exp
15330 * gdb.guile/scm-pretty-print.exp
15331 * gdb.guile/scm-symbol.exp
15332 * gdb.guile/scm-type.exp
15333 * gdb.guile/scm-value.exp
15334 * gdb.linespec/keywords.exp
15335 * gdb.linespec/ls-errs.exp
15336 * gdb.linespec/macro-relative.exp
15337 * gdb.linespec/thread.exp
15338 * gdb.mi/mi-breakpoint-changed.exp
15339 * gdb.mi/mi-dprintf-pending.exp
15340 * gdb.mi/mi-fullname-deleted.exp
15341 * gdb.mi/mi-logging.exp
15342 * gdb.mi/mi-pending.exp
15343 * gdb.mi/mi-solib.exp
15344 * gdb.mi/new-ui-mi-sync.exp
15345 * gdb.mi/user-selected-context-sync.exp
15346 * gdb.multi/dummy-frame-restore.exp
15347 * gdb.multi/multi-arch-exec.exp
15348 * gdb.multi/remove-inferiors.exp
15349 * gdb.multi/watchpoint-multi-exit.exp
15350 * gdb.opt/solib-intra-step.exp
15351 * gdb.perf/backtrace.exp
15352 * gdb.perf/single-step.exp
15353 * gdb.perf/skip-command.exp
15354 * gdb.perf/skip-prologue.exp
15355 * gdb.perf/solib.exp
15356 * gdb.python/lib-types.exp
15357 * gdb.python/py-as-string.exp
15358 * gdb.python/py-bad-printers.exp
15359 * gdb.python/py-block.exp
15360 * gdb.python/py-breakpoint.exp
15361 * gdb.python/py-cmd.exp
15362 * gdb.python/py-events.exp
15363 * gdb.python/py-evthreads.exp
15364 * gdb.python/py-finish-breakpoint.exp
15365 * gdb.python/py-finish-breakpoint2.exp
15366 * gdb.python/py-frame-inline.exp
15367 * gdb.python/py-frame.exp
15368 * gdb.python/py-inferior.exp
15369 * gdb.python/py-infthread.exp
15370 * gdb.python/py-mi.exp
15371 * gdb.python/py-objfile.exp
15372 * gdb.python/py-pp-maint.exp
15373 * gdb.python/py-pp-registration.exp
15374 * gdb.python/py-prettyprint.exp
15375 * gdb.python/py-recurse-unwind.exp
15376 * gdb.python/py-shared.exp
15377 * gdb.python/py-symbol.exp
15378 * gdb.python/py-symtab.exp
15379 * gdb.python/py-template.exp
15380 * gdb.python/py-type.exp
15381 * gdb.python/py-unwind-maint.exp
15382 * gdb.python/py-unwind.exp
15383 * gdb.python/py-value.exp
15384 * gdb.python/python.exp
15385 * gdb.reverse/finish-reverse-bkpt.exp
15386 * gdb.reverse/insn-reverse.exp
15387 * gdb.reverse/next-reverse-bkpt-over-sr.exp
15388 * gdb.reverse/solib-precsave.exp
15389 * gdb.reverse/solib-reverse.exp
15390 * gdb.stabs/gdb11479.exp
15391 * gdb.stabs/weird.exp
15392 * gdb.threads/fork-child-threads.exp
15393 * gdb.threads/fork-plus-threads.exp
15394 * gdb.threads/fork-thread-pending.exp
15395 * gdb.threads/forking-threads-plus-breakpoint.exp
15396 * gdb.threads/hand-call-in-threads.exp
15397 * gdb.threads/interrupted-hand-call.exp
15398 * gdb.threads/linux-dp.exp
15399 * gdb.threads/local-watch-wrong-thread.exp
15400 * gdb.threads/next-while-other-thread-longjmps.exp
15401 * gdb.threads/non-ldr-exit.exp
15402 * gdb.threads/pending-step.exp
15403 * gdb.threads/print-threads.exp
15404 * gdb.threads/process-dies-while-detaching.exp
15405 * gdb.threads/process-dies-while-handling-bp.exp
15406 * gdb.threads/pthreads.exp
15407 * gdb.threads/queue-signal.exp
15408 * gdb.threads/reconnect-signal.exp
15409 * gdb.threads/signal-command-handle-nopass.exp
15410 * gdb.threads/signal-command-multiple-signals-pending.exp
15411 * gdb.threads/signal-delivered-right-thread.exp
15412 * gdb.threads/signal-sigtrap.exp
15413 * gdb.threads/sigthread.exp
15414 * gdb.threads/staticthreads.exp
15415 * gdb.threads/stepi-random-signal.exp
15416 * gdb.threads/thread-unwindonsignal.exp
15417 * gdb.threads/thread_check.exp
15418 * gdb.threads/thread_events.exp
15419 * gdb.threads/tid-reuse.exp
15420 * gdb.threads/tls-nodebug.exp
15421 * gdb.threads/tls-shared.exp
15422 * gdb.threads/tls-so_extern.exp
15423 * gdb.threads/tls.exp
15424 * gdb.threads/wp-replication.exp
15425 * gdb.trace/actions-changed.exp
15426 * gdb.trace/actions.exp
15427 * gdb.trace/backtrace.exp
15428 * gdb.trace/change-loc.exp
15429 * gdb.trace/collection.exp
15430 * gdb.trace/deltrace.exp
15431 * gdb.trace/disconnected-tracing.exp
15432 * gdb.trace/entry-values.exp
15433 * gdb.trace/ftrace-lock.exp
15434 * gdb.trace/ftrace.exp
15435 * gdb.trace/infotrace.exp
15436 * gdb.trace/mi-trace-frame-collected.exp
15437 * gdb.trace/mi-trace-unavailable.exp
15438 * gdb.trace/mi-traceframe-changed.exp
15439 * gdb.trace/mi-tracepoint-changed.exp
15440 * gdb.trace/mi-tsv-changed.exp
15441 * gdb.trace/no-attach-trace.exp
15442 * gdb.trace/packetlen.exp
15443 * gdb.trace/passc-dyn.exp
15444 * gdb.trace/passcount.exp
15445 * gdb.trace/pending.exp
15446 * gdb.trace/pr16508.exp
15447 * gdb.trace/qtro.exp
15448 * gdb.trace/range-stepping.exp
15449 * gdb.trace/read-memory.exp
15450 * gdb.trace/report.exp
15451 * gdb.trace/save-trace.exp
15452 * gdb.trace/signal.exp
15453 * gdb.trace/stap-trace.exp
15454 * gdb.trace/status-stop.exp
15455 * gdb.trace/strace.exp
15456 * gdb.trace/tfile.exp
15457 * gdb.trace/tfind.exp
15458 * gdb.trace/trace-break.exp
15459 * gdb.trace/trace-condition.exp
15460 * gdb.trace/trace-enable-disable.exp
15461 * gdb.trace/trace-mt.exp
15462 * gdb.trace/tracecmd.exp
15463 * gdb.trace/tracefile-pseudo-reg.exp
15464 * gdb.trace/tspeed.exp
15465 * gdb.trace/tstatus.exp
15466 * gdb.trace/tsv.exp
15467 * gdb.trace/unavailable.exp
15468 * gdb.trace/while-dyn.exp
15469 * gdb.trace/while-stepping.exp
15470 * lib/gdb-guile.exp
15471 * lib/gdb.exp
15472 * lib/mi-support.exp
15473 * lib/pascal.exp
15474 * lib/perftest.exp
15475 * lib/prelink-support.exp
15476 * lib/selftest-support.exp
15477
ad02e4fe
SM
154782016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
15479
15480 * Makefile.in: Include disable-implicit-rules.mk.
15481
22347e55
AA
154822016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15483
15484 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
15485 non-byte-aligned bit fields.
15486
da5b30da
AA
154872016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15488
15489 PR gdb/12616
15490 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
15491 respects the DW_AT_data_bit_offset attribute.
15492
b593ecca
SM
154932016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
15494
15495 * gdb.base/default.exp: Fix output of "set language".
15496
3b165252
SM
154972016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
15498
15499 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
15500 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15501 make.
15502 * configure.ac: Remove checks for the make program.
15503 * configure: Re-generate.
15504
1a2f3d7f
KB
155052016-11-16 Kevin Buettner <kevinb@redhat.com>
15506
15507 * gdb.python/py-recurse-unwind.c (main): Add loop.
15508 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15509 to read_register() and gdb.parse_and_eval(). Make each code
15510 call a separate case that can be individually tested.
15511 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15512 proc. Call cont_and_backtrace for each of the code paths that
15513 we want to test in the unwinder.
15514
b7f38fda
AA
155152016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15516
15517 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15518 the definition of struct S.
15519
1f8db343
CM
155202016-11-11 Catherine Moore <clm@codesourcery.com>
15521
15522 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15523
fad0c9fb
PA
155242016-11-09 Pedro Alves <palves@redhat.com>
15525
15526 * gdb.base/commands.exp (runto_or_return): New procedure.
15527 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15528 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15529 (progvar_simple_while_test, progvar_complex_if_while_test)
15530 (if_while_breakpoint_command_test)
15531 (infrun_breakpoint_command_test, breakpoint_command_test)
15532 (user_defined_command_test, watchpoint_command_test)
15533 (test_command_prompt_position, redefine_hook_test)
15534 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15535 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15536 multi_line_input and multi_line. Remove gdb_expect and
15537 gdb_stop_suppressing_tests uses.
15538 * lib/gdb.exp (valnum_re): New global.
15539 (multi_line_input): New procedure.
15540
8354c62c
SM
155412016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15542
15543 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15544 Remove.
15545 (test_setup): Define with proc_with_prefix.
15546 (test_cli_inferior): Likewise.
15547 (test_cli_thread): Likewise.
15548 (test_cli_frame): Likewise.
15549 (test_cli_select_frame): Likewise.
15550 (test_cli_up_down): Likewise.
15551 (test_mi_thread_select): Likewise.
15552 (test_mi_stack_select_frame): Likewise.
15553 (test_cli_in_mi_inferior): Likewise.
15554 (test_cli_in_mi_thread): Likewise.
15555 (test_cli_in_mi_frame): Likewise.
15556 (top level): Do not use with_test_prefix_procname.
15557
64f367a2
PA
155582016-11-09 Pedro Alves <palves@redhat.com>
15559
15560 * gdb.base/commands.exp (gdbvar_simple_if_test)
15561 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15562 (progvar_simple_if_test, progvar_simple_while_test)
15563 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15564 (infrun_breakpoint_command_test, breakpoint_command_test)
15565 (user_defined_command_test, watchpoint_command_test)
15566 (test_command_prompt_position, deprecated_command_test)
15567 (bp_deleted_in_command, temporary_breakpoint_commands)
15568 (stray_arg0_test, source_file_with_indented_comment)
15569 (recursive_source_test, if_commands_test)
15570 (error_clears_commands_left, redefine_hook_test)
15571 (redefine_backtrace_test): Use proc_with_prefix.
15572 * lib/gdb.exp (proc_with_prefix): New proc.
15573
0bb65f1e
AA
155742016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15575
15576 * gdb.base/tui-layout.c: New file.
15577 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15578 disassembly window contains very long lines.
15579
7353f247
TT
155802016-11-08 Tom Tromey <tom@tromey.com>
15581
15582 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15583 depend on Python 2.
15584
30a7bb83
TT
155852016-11-08 Tom Tromey <tom@tromey.com>
15586
15587 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15588 New method.
15589
cdf5a07c
MG
155902016-10-29 Manish Goregaokar <manish@mozilla.com>
15591
2806dc7e 15592 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 15593
51a789c3
MG
155942016-10-27 Manish Goregaokar <manish@mozilla.com>
15595
2806dc7e
PA
15596 * gdb.rust/simple.rs: Add test for univariant enums without
15597 discriminants and for encoded struct-like enums.
51a789c3 15598
f610ab6d
PA
155992016-10-28 Pedro Alves <palves@redhat.com>
15600
15601 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15602 gdb_test_multiple, tighten regexps and match symtabs and line
15603 tables incrementally.
15604
b129b0ca
LM
156052016-10-28 Luis Machado <lgustavo@codesourcery.com>
15606
15607 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15608 general.
15609
ecf45d2c
SL
156102016-10-25 Luis Machado <lgustavo@codesourcery.com>
15611
15612 * gdb.base/exec-invalid-sysroot.exp: New file.
15613
b8d38ee4
JK
156142016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15615
15616 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15617
f90fd8c2
JK
156182016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15619
15620 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15621
2d2476aa
MR
156222016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15623
2806dc7e
PA
15624 * gdb.base/killed-outside.exp: Remove $options from a call to
15625 `prepare_for_testing'.
2d2476aa 15626
e42b25a0
SM
156272016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15628
15629 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15630 Change test message.
15631
3ccdb432
SM
156322016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15633
15634 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15635 Update comment.
15636
5bad3170
SM
156372016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15638
15639 * gdb.trace/mi-trace-save.exp: New file.
15640
5ad9dba7
YQ
156412016-10-13 Yao Qi <yao.qi@linaro.org>
15642
15643 * gdb.base/code_elim.exp (get_var_address): Remove.
15644 * gdb.base/relocate.exp: Likewise.
15645 * gdb.base/shreloc.exp: Likewise.
15646 * lib/gdb.exp (get_var_address): New.
15647
62df7e21
YQ
156482016-10-13 Yao Qi <yao.qi@linaro.org>
15649
15650 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15651 floating point tests if $skip_float_test is false.
15652
4dac951e
LM
156532016-10-12 Luis Machado <lgustavo@codesourcery.com>
15654
15655 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15656 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15657 argc values.
15658 Add 1 to argc so we guarantee distinct initial/modified argc values.
15659
8f1a8fc4
JK
156602016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15661
15662 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15663
16c85b5d
JK
156642016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15665
15666 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15667 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15668 * gdb.arch/vsx-regs.exp: Likewise.
15669
1d0e042a
YQ
156702016-10-07 Yao Qi <yao.qi@linaro.org>
15671
15672 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15673
68dadef5
MM
156742016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15675
15676 * gdb.python/python.exp: Test decode_line("*0").
15677
33fa2c6e
DE
156782016-10-06 Doug Evans <dje@google.com>
15679
15680 * gdb.python/py-value.exp (test_value_creation): Add test for large
15681 unsigned 64-bit value.
15682
9c37b5ae
TT
156832016-10-06 Tom Tromey <tom@tromey.com>
15684
15685 * gdb.compile/compile.exp: Change java tests to rust.
15686 * gdb.base/setshow.exp: Change java tests to rust.
15687 * gdb.base/default.exp: Remove java from language list.
15688 * README (Examples): Update language example.
15689 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15690 test.
15691 * lib/gdb.exp (skip_java_tests): Remove.
15692 * lib/java.exp: Remove.
15693 * gdb.java: Remove.
15694
78b86327
MR
156952016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15696
15697 * gdb.arch/mips-fcr.exp: New test.
15698 * gdb.arch/mips-fcr.c: Source for the new test.
15699
7470adbb
MR
157002016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15701
15702 * gdb.base/solib-disc.exp: Use `standard_output_file'
15703 throughout.
15704
4a556533
PA
157052016-10-06 Pedro Alves <palves@redhat.com>
15706
15707 * gdb.base/jit-simple-dl.c: New file.
15708 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15709 * gdb.base/jit-simple.c: ... this.
15710 * gdb.base/jit-simple.exp (jit_run): Delete.
15711 (build_jit): New proc.
15712 (jit_test_reread): Recompile either the main program or the shared
15713 library, depending on what is being tested. Skip changing address
15714 if caller wants to. Compare before/after addresses. If testing
15715 standalone, explicitly load the binary. Test "maint info
15716 breakpoints".
15717 (top level): Add "standalone vs shared lib" and "change address"
15718 vs "same address" axes.
15719
5a122fbc
PA
157202016-10-06 Pedro Alves <palves@redhat.com>
15721
15722 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15723 call.
15724 (jit_run): Delete.
15725 (jit_test_reread): Use with_test_prefix. Reload the main binary
15726 explicitly. Compare the before/after addresses of the JIT
15727 descriptor.
15728
ee8da4b8
DE
157292016-08-15 Doug Evans <dje@google.com>
15730
15731 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15732 for single bitfields is bool.
15733 * gdb.xml/tdesc-regs.exp: Ditto.
15734
f389f6fe
JK
157352016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15736
15737 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15738
fdebf1a4
YQ
157392016-10-05 Yao Qi <yao.qi@linaro.org>
15740
15741 * lib/gdb.exp (support_complex_tests): Return zero if
15742 gdb_skip_float_test return true.
15743
9c36d954 157442016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15745 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
15746
15747 PR gdb/20487
15748 * gdb.mi/user-selected-context-sync.exp: New file.
15749 * gdb.mi/user-selected-context-sync.c: New file.
15750
4034d0ff 157512016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15752 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
15753
15754 PR gdb/20487
15755 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15756 =thread-select-event check.
15757
a4297203
PB
157582016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15759
15760 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15761 the compulsory L operand changes.
15762 * gdb.arch/powerpc-power.s: Likewise.
15763
bb805577
JK
157642016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15765
15766 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15767 * gdb.base/jit-attach-pie.c: New file.
15768 * gdb.base/jit-attach-pie.exp: New file.
15769
6d61dee5
PA
157702016-09-28 Pedro Alves <palves@redhat.com>
15771
15772 * gdb.base/infcall-input.c: New file.
15773 * gdb.base/infcall-input.exp: New file.
15774
f73842fc
YQ
157752016-09-22 Yao Qi <yao.qi@linaro.org>
15776
15777 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15778 (gdb_exit): Rename it to ...
15779 (gdbserver_gdb_exit): ... Close GDBserver.
15780 (gdb_exit): New proc, call gdbserver_gdb_exit.
15781 (mi_gdb_exit): Likewise.
15782
90681dab
YQ
157832016-09-22 Yao Qi <yao.qi@linaro.org>
15784
15785 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15786 path.
15787 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15788 Remove duplication.
15789
9c211fd8
YQ
157902016-09-22 Yao Qi <yao.qi@linaro.org>
15791
15792 * lib/gdbserver-support.exp: Check the existence of
15793 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15794
ad0a504f
AK
157952016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15796
15797 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15798
36cf1806
TT
157992016-09-21 Tom Tromey <tom@tromey.com>
15800
15801 PR gdb/20604:
15802 * gdb.base/quit.exp: New file.
15803
74172ecf
SM
158042016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15805
15806 * .gitignore: New file.
15807
3d0ec882
MR
158082016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15809
15810 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15811 throughout.
15812
8193adea
AA
158132016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15814
15815 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15816
d41a5c09
JK
158172016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15818
15819 * gdb.cp/casts.cc (decltype): Move it ...
15820 (main): ... with its call to ...
15821 * gdb.cp/casts03.cc: ... a new file.
15822 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15823
d2dfe700
JK
158242016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15825
15826 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15827
e2a92b16
PB
158282016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15829
15830 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15831 and sync up the test with tests in gas/testsuite/gas/ppc.
15832 * gdb.arch/powerpc-power.exp: Likewise.
15833
49b4de64
JK
158342016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15835
15836 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15837
2c29df25
SDJ
158382016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15839 Jan Kratochvil <jan.kratochvil@redhat.com>
15840
15841 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15842 make m1's definition to be different from m2's. Use 'dummy' as an
15843 argument for probe 'two'.
15844
cc3c2846
JB
158452016-09-10 Jon Beniston <jon@beniston.com>
15846
15847 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15848 for sim target.
15849
e1b2624a
AA
158502016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15851
15852 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15853 variable declaration.
15854 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15855 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15856 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15857 received HWCAP as its argument.
15858
4295e285
PA
158592016-09-06 Pedro Alves <palves@redhat.com>
15860
15861 * gdb.base/new-ui-pending-input.c: New file.
15862 * gdb.base/new-ui-pending-input.exp: New file.
15863 * gdb.exp (clear_gdb_spawn_id): New procedure.
15864 (with_spawn_id): Check whether gdb_spawn_id exists before
15865 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15866 on exit.
15867
00d5215e
UW
158682016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15869
15870 * gdb.base/float128.c: New file.
15871 * gdb.base/float128.exp: Likewise.
15872 * gdb.base/floatn.c: Likewise.
15873 * gdb.base/floatn.exp: Likewise.
15874
a9ff5f12
UW
158752016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15876
15877 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15878
f245535c
PA
158792016-09-05 Pedro Alves <palves@redhat.com>
15880
15881 PR backtrace/19927
15882 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15883 unwinders are immediately called as side effect of "source" or
15884 "disable unwinder" commands.
15885 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15886
ae9cf263
YQ
158872016-09-02 Yao Qi <yao.qi@linaro.org>
15888
15889 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15890 is true and $type is "float" or "double".
15891
27aba047
YQ
158922016-09-02 Yao Qi <yao.qi@linaro.org>
15893
15894 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15895 true.
15896 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15897 * gdb.base/call-rt-st.exp: Likewise.
15898 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15899 return value instead of gdb,skip_float_test.
15900 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15901 (do_function_calls): Use its return value instead of
15902 gdb,skip_float_test.
15903 * gdb.base/finish.exp: Likewise.
15904 * gdb.base/funcargs.exp: Likewise.
15905 * gdb.base/return.exp: Likewise.
15906 * gdb.base/return2.exp: Likewise.
15907 * gdb.base/varargs.exp: Likewise.
15908 * lib/gdb.exp (gdb_skip_float_test): Change it to
15909 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15910
5af962df
AA
159112016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15912
15913 * gdb.multi/tids.exp: Test "thread apply all".
15914
7fac6910
JK
159152016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15916
15917 * gdb.base/default.exp (tty): Remove.
15918
bb1fe4ac
KB
159192016-08-24 Kevin Buettner <kevinb@redhat.com>
15920
2806dc7e
PA
15921 * gdb.python/py-recurse-unwind.c: New file.
15922 * gdb.python/py-recurse-unwind.py: New file.
15923 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15924
0a1ddfa6
SM
159252016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15926
15927 * gdb.base/set-inferior-tty.exp: New file.
15928 * gdb.base/set-inferior-tty.c: New file.
15929
d9de1fe3
PA
159302016-08-23 Pedro Alves <palves@redhat.com>
15931
15932 PR gdb/20494
15933 * gdb.base/new-ui-echo.c: New file.
15934 * gdb.base/new-ui-echo.exp: New file.
15935
e9d9abd7
YQ
159362016-08-23 Yao Qi <yao.qi@linaro.org>
15937
15938 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15939 gdbserver_spawn.
15940 * gdb.server/connect-without-multi-process.exp (do_test):
15941 Likewise.
15942
3589529e
YQ
159432016-08-23 Yao Qi <yao.qi@linaro.org>
15944
15945 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15946 standalone_txt. Delete gdb_txt and standalone_txt on host
15947 and target. Spawn the binary on target. Copy files from
15948 target to host.
15949
6bb90213
PA
159502016-08-22 Pedro Alves <palves@redhat.com>
15951
15952 PR gdb/20505
15953 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15954 with_test_prefix. Factor out bits to ...
15955 (test_no_vdso): ... this new procedure.
15956
20c2c024
CL
159572016-08-19 Carl Love <cel@us.ibm.com>
15958
15959 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15960 maintaining separate logic for constructing the output path.
15961 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15962 * gdb.arch/ppc-dfp.exp: Likewise.
15963 * gdb.arch/ppc-fp.exp: Likewise.
15964 * gdb.arch/vsx-regs.exp: Likewise.
15965 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15966 binprefix for generating the additional binary files.
15967
0646e07d
PA
159682016-08-19 Pedro Alves <palves@redhat.com>
15969
15970 * gdb.trace/mi-trace-frame-collected.exp
15971 (test_trace_frame_collected): On x32, expect two registers.
15972
46da9242
CL
159732016-08-18 Carl Love <cel@us.ibm.com>
15974
15975 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15976 and sync up the test with tests in gas/testsuite/gas/ppc.
15977 * gdb.arch/powerpc-power.exp: Likewise.
15978
eb2332d7
SM
159792016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15980
15981 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15982 expected error message.
15983
63c61e04
SM
159842016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15985
15986 * gdb.multi/remove-inferiors.exp: New file.
15987 * gdb.multi/remove-inferiors.c: New file.
15988
7b17065f
YQ
159892016-08-12 Yao Qi <yao.qi@linaro.org>
15990
15991 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15992 argument list.
15993
01d3dedf
PA
159942016-08-10 Pedro Alves <palves@redhat.com>
15995
15996 PR gdb/19187
15997 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15998 setup_kfails.
15999
3eb7562a
PA
160002016-08-09 Pedro Alves <palves@redhat.com>
16001 Simon Marchi <simon.marchi@ericsson.com>
16002
16003 PR gdb/20418
16004 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
16005 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
16006
80614914
PA
160072016-08-09 Pedro Alves <palves@redhat.com>
16008
16009 PR mi/20431
16010 * gdb.mi/mi-cmd-error.exp: New file.
16011
f348d89a
PA
160122016-08-09 Pedro Alves <palves@redhat.com>
16013
16014 PR gdb/18653
16015 * gdb.base/signals-state-child.c: New file.
16016 * gdb.base/signals-state-child.exp: New file.
16017 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
16018
e5ca03b4
PA
160192016-08-09 Pedro Alves <palves@redhat.com>
16020
16021 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
16022
282a0691
TT
160232016-08-03 Tom Tromey <tom@tromey.com>
16024
16025 PR python/18565:
16026 * gdb.python/py-frame-inline.exp: Add Frame.function test.
16027
41bfcd63
YQ
160282016-08-01 Yao Qi <yao.qi@linaro.org>
16029
16030 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
16031 variable mode to "multi-process" if $multi_process is 1, otherwise
16032 set it to "single-process".
16033
e3465b24
YQ
160342016-08-01 Yao Qi <yao.qi@linaro.org>
16035
16036 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
16037 * gdb.cp/cpexprs.exp: Likewise.
16038 * gdb.cp/m-static.exp: Likewise.
16039
0b31a4bc
TT
160402016-07-26 Tom Tromey <tom@tromey.com>
16041
16042 PR python/20190:
16043 * gdb.threads/tls.exp (check_thread_local): Add python symbol
16044 test.
16045
e0461dbb
MM
160462016-07-26 Markus Metzger <markus.t.metzger@intel.com>
16047
16048 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
16049 selecting assembly source files.
16050 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
16051 assembly source files.
16052 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
16053 assembly source files.
16054 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
16055 selecting assembly source files.
16056
8194e927
SM
160572016-07-25 Simon Marchi <simon.marchi@ericsson.com>
16058
16059 * gdb.base/new-ui.exp (do_test_invalid_args): New
16060 procedure.
16061
c0272db5
TW
160622016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
16063
16064 * gdb.btrace/reconnect.c: New file.
16065 * gdb.btrace/reconnect.exp: New file.
16066
e3487908
GKB
160672016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
16068
16069 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
16070 to test_catch_syscall_group.
16071 (test_catch_syscall_group): New.
16072
12df5c00
TT
160732016-07-21 Tom Tromey <tom@tromey.com>
16074
16075 * gdb.rust/simple.rs (main): Use empty struct expression.
16076 * gdb.rust/simple.exp: Add tests for empty struct expression.
16077
bae62ee2
YQ
160782016-07-21 Yao Qi <yao.qi@linaro.org>
16079
16080 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
16081 if gdb_skip_xml_test is true on some targets.
16082
b1b53fb3
YQ
160832016-07-21 Yao Qi <yao.qi@linaro.org>
16084
16085 * gdb.server/solib-list.exp: Unset last_loaded_file.
16086
027d97f8
JK
160872016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16088
16089 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
16090 "step into captured_main (args)".
16091
7674d381
JK
160922016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16093
16094 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
16095
72b5d099
JK
160962016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16097
16098 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
16099
1f960ced
PA
161002016-07-19 Pedro Alves <palves@redhat.com>
16101
16102 * gdb.opt/inline-break.exp: Remove optimize=-O2.
16103 * gdb.opt/inline-bt.exp: Likewise.
16104 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
16105 additional_flags=-Winline.
16106 * gdb.opt/inline-locals.exp: Likewise.
16107 * gdb.opt/inline-markers.c (ATTR): Define.
16108 (inlined_fn): Use it.
16109
f25827c1
YQ
161102016-07-19 Yao Qi <yao.qi@linaro.org>
16111
16112 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
16113 (test_with_self): Remove some code. Remove argument executable.
16114 (top-level): Use do_self_tests.
16115
37539ebe
DB
161162016-07-15 Zachary Welch <zwelch@codesourcery.com>
16117 Don Breazeal <donb@codesourcery.com>
16118
16119 * gdb.base/maint.exp: Escape paths used in regular expressions.
16120 * gdb.stabs/weird.exp: Likewise.
16121
dac790e1
TT
161222016-07-13 Tom Tromey <tom@tromey.com>
16123
16124 PR python/15620, PR python/18620:
16125 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
16126 (test_bkpt_events): New procs.
16127
93daf339
TT
161282016-07-13 Tom Tromey <tom@tromey.com>
16129
16130 PR python/17698:
16131 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
16132 test.
16133 (test_watchpoints): Likewise.
16134 (test_bkpt_pending): New proc.
16135
6571a381
TT
161362016-07-13 Tom Tromey <tom@tromey.com>
16137
16138 PR cli/18053:
16139 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
16140 completion test.
16141
e8732474
JK
161422016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16143
16144 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
16145 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
16146 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
16147 f_label.
16148 (g): Rename g_end_lbl to g_label.
16149 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
16150 low_pc and high_pc.
16151 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
16152
e0f3fd7c
TT
161532016-07-12 Tom Tromey <tom@tromey.com>
16154
16155 PR python/19293:
16156 * gdb.python/py-unwind-maint.exp: Update tests.
16157
3cfe46b6
YQ
161582016-07-12 Yao Qi <yao.qi@linaro.org>
16159
16160 * lib/selftest-support.exp (selftest_setup): Match the output
16161 when captured_main is inlined.
16162
4f19a0e6
WT
161632016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
16164
16165 * gdb.fortran/derived-types.exp (result_line, result_line_2):
16166 New variables.
16167 (print this%a, print this%b, print this): New tests.
16168 * gdb.fortran/derived-types.f90 (this): New object and
16169 initialization.
16170
986cf455
SM
161712016-07-06 Simon Marchi <simon.marchi@ericsson.com>
16172
16173 * gdb.ada/arraydim.exp: Remove extra directory level in build
16174 directory.
16175
f0464b23
SM
161762016-07-06 Simon Marchi <simon.marchi@ericsson.com>
16177
16178 * lib/ada.exp: Remove extra directory level in build directory.
16179 * gdb.ada/cond_lang.exp: Likewise.
16180 * gdb.ada/exec_changed.exp: Likewise.
16181 * gdb.ada/lang_switch.exp: Likewise.
16182
42d94011
MG
161832016-07-06 Manish Goregaokar <manish@mozilla.com>
16184
2806dc7e
PA
16185 * simple.rs: Add test for raw pointer subscripting.
16186 * simple.exp: Add test expectations.
42d94011 16187
647c264c
YQ
161882016-07-05 Yao Qi <yao.qi@linaro.org>
16189
16190 * gdb.mi/mi-reverse.exp: Match =record-started output.
16191
20aa2c60
PA
161922016-07-01 Pedro Alves <palves@redhat.com>
16193
16194 * gdb.base/jit-reader.exp (info_registers_current_frame): New
16195 procedure.
16196 (jit_reader_test): Test the jit reader's unwinder.
16197 * gdb.base/jithost.c (jit_function_00_code): New global.
16198 (main): Use memcpy to fill in the mmapped code, instead of poking
16199 bytes manually here.
16200 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
16201 value.
16202 (read_debug_info): Save the function's range.
16203 (read_sp): New function.
16204 (unwind_frame): Use it. Also unwind RBP.
16205 (get_frame_id): Use read_sp.
16206 (gdb_init_reader): Use calloc instead of malloc.
16207 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
16208 parameter. Use gdb_test_multiple.
16209
ced2dffb
PA
162102016-07-01 Pedro Alves <palves@redhat.com>
16211 Antoine Tremblay <antoine.tremblay@ericsson.com>
16212
16213 * gdb.threads/process-dies-while-detaching.c: New file.
16214 * gdb.threads/process-dies-while-detaching.exp: New file.
16215
63000888
PA
162162016-07-01 Pedro Alves <palves@redhat.com>
16217
16218 * gdb.multi/watchpoint-multi-exit.c: New file.
16219 * gdb.multi/watchpoint-multi-exit.exp: New file.
16220
038d4868
PA
162212016-06-30 Pedro Alves <palves@redhat.com>
16222
16223 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
16224 unset inferior_spawn_id.
16225
994e9c83
PA
162262016-06-30 Pedro Alves <palves@redhat.com>
16227
16228 * lib/mi-support.exp (default_mi_gdb_start): Declare global
16229 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
16230
e5653468
YQ
162312016-06-29 Yao Qi <yao.qi@linaro.org>
16232
16233 * gdb.base/return.c: Add copyright header.
16234
803b47e5
TT
162352016-06-29 Tom Tromey <tom@tromey.com>
16236
16237 PR python/20129:
16238 * gdb.python/py-framefilter.exp: Add tests for setting priority
16239 and disabling of non-existent frame filter.
16240
28244707
YQ
162412016-06-29 Yao Qi <yao.qi@linaro.org>
16242
16243 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
16244 0x0f07ff.
16245
a31d2f06
YQ
162462016-06-28 Yao Qi <yao.qi@linaro.org>
16247
16248 * gdb.base/catch-syscall.exp: Remove check on isnative and target
16249 triplets. Start gdb, execute catch syscall, and continue. Check
16250 gdb's output to determine catch syscall is supported.
16251
921d8f54
MG
162522016-06-27 Manish Goregaokar <manish@mozilla.com>
16253
25d49b86
PA
16254 * gdb.rust/simple.rs: Add test for returning unit in a function.
16255 * gdb.rust/simple.exp: Add expectation for functions returning
16256 unit.
921d8f54 16257
f4952523
PMR
162582016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
16259
16260 * gdb.python/py-breakpoint-create-fail.c,
16261 gdb.python/py-breakpoint-create-fail.exp,
16262 gdb.python/py-breakpoint-create-fail.py: New testcase.
16263
fccb08f8
MG
162642016-06-25 Manish Goregaokar <manish@mozilla.com>
16265
16266 PR gdb/20239
16267 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
16268 * gdb.rust/simple.exp: Add test expectations for new NonZero
16269 tests.
fccb08f8 16270
6b850546
DT
162712016-06-24 David Taylor <dtaylor@emc.com>
16272
16273 * gdb.base/offsets.exp: New file.
16274 * gdb.base/offsets.c: New file.
16275
17621150
TT
162762016-06-23 Tom Tromey <tom@tromey.com>
16277
16278 PR gdb/16483:
16279 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
16280 before any filters are loaded.
16281
04d59df6
WT
162822016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
16283
16284 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
16285 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
16286 structs.
16287 * gdb.fortran/derived-type-function.exp: New file.
16288 * gdb.fortran/derived-type-function.f90: New file.
16289
16290
ac69f786
PA
162912016-06-21 Pedro Alves <palves@redhat.com>
16292
16293 * gdb.base/new-ui.exp: New file.
16294 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
16295 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
16296 (with_spawn_id): New procedure.
16297
49940788
PA
162982016-06-21 Pedro Alves <palves@redhat.com>
16299
16300 * gdb.mi/mi-exec-run.exp: New file.
16301
ef274d26
PA
163022016-06-21 Pedro Alves <palves@redhat.com>
16303
16304 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
16305 breakpoint command's output on the main UI.
16306 (test_break): New procedure, factored out from calls in the top
16307 level.
16308 (top level): Use foreach_with_prefix to test MI as main UI and as
16309 separate UI.
16310
468afe6c
PA
163112016-06-21 Pedro Alves <palves@redhat.com>
16312
16313 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
16314 (test_awatch_creation_and_listing)
16315 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
16316 Remove 'type' parameter.
16317 (test_watchpoint_all): New parameter mi_mode. Remove
16318 with_test_prefix.
16319 (top level): Use foreach_with_prefix, and add main/separate UI MI
16320 testing axis.
16321
51f77c37
PA
163222016-06-21 Pedro Alves <palves@redhat.com>
16323
16324 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
16325 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
16326 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
16327 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
16328 (gdb_main_spawn_id, mi_spawn_id): Declare and
16329 comment.
16330 (mi_create_inferior_pty): New procedure,
16331 factored out from default_mi_gdb_start.
16332 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
16333 procedures.
16334 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
16335 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
16336 Use mi_create_inferior_pty.
16337 (mi_gdb_start): Use eval to pass down args list.
16338
8980e177
PA
163392016-06-21 Pedro Alves <palves@redhat.com>
16340
16341 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
16342 * gdb.opt/inline-cmds.exp: Add MI tests.
16343
f38d3ad1
PA
163442016-06-21 Pedro Alves <palves@redhat.com>
16345
16346 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
16347
45db7c09
PA
163482016-06-21 Pedro Alves <palves@redhat.com>
16349
16350 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
16351 (top level): Use it instead of mi_execute_to.
16352
5a069ab3
PA
163532016-06-21 Pedro Alves <palves@redhat.com>
16354
16355 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
16356 (cont_handler_str): New.
16357 (signal_stop_handler): Set stop_handler_str instead of printing to
16358 stdout.
16359 (continue_handler): Set cont_handler_str instead of printing to
16360 stdout.
16361 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
16362 mi_send_resuming_command. Print stop_handler_str and
16363 cont_handler_str instead of expecting the python events print
16364 directly.
16365
2838cc1d
SD
163662016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
16367
16368 * gdb.base/jit-reader.exp: New file.
16369 * gdb.base/jithost.c: New file.
16370 * gdb.base/jithost.h: New file.
16371 * gdb.base/jitreader.c : New file.
16372 * gdb.base/jit-protocol.h: New file.
16373
21a77091
YQ
163742016-06-17 Yao Qi <yao.qi@linaro.org>
16375
16376 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
16377 parameters follow_fork and detach_on_fork. Set follow-fork-mode
16378 and detach-on-fork. Adjust tests.
16379 (top level): Invoke break_cond_on_syscall with combinations of
16380 syscall, follow-fork-mode and detach-on-fork.
16381
f50bf8e5
YQ
163822016-06-17 Yao Qi <yao.qi@linaro.org>
16383
16384 * gdb.base/step-over-exit.c: New.
16385 * gdb.base/step-over-exit.exp: New.
16386
a28d8e50
YTL
163872016-06-17 Yan-Ting Lin <currygt52@gmail.com>
16388
16389 * gdb.base/float.exp: Add target check for nds32*-*-*.
16390 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
16391
cad8e26d
AB
163922016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
16393
16394 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
16395 for unsupported target features.
16396 * gdb.base/call-rt-st.exp: Likewise.
16397 * gdb.base/call-sc.exp: Likewise.
16398 * gdb.base/call-signal-resume.exp: Likewise.
16399 * gdb.base/call-strs.exp: Likewise.
16400 * gdb.base/callexit.exp: Likewise.
16401 * gdb.base/callfuncs.exp: Likewise.
16402 * gdb.base/nodebug.exp: Likewise.
16403 * gdb.base/printcmds.exp: Likewise.
16404 * gdb.base/ptype.exp: Likewise.
16405 * gdb.base/structs.exp: Likewise.
16406 * gdb.base/unwindonsignal.exp: Likewise.
16407 * gdb.cp/gdb2495.exp: Likewise.
16408 * gdb.cp/templates.exp: Likewise.
16409 * gdb.cp/virtfunc.exp: Likewise.
16410 * gdb.threads/hand-call-in-threads.exp: Likewise.
16411 * gdb.threads/interrupted-hand-call.exp: Likewise.
16412 * gdb.threads/thread-unwindonsignal.exp: Likewise.
16413
347dc102
TT
164142016-06-10 Tom Tromey <tom@tromey.com>
16415
16416 PR rust/20110:
16417 * gdb.rust/expr.exp: Add test for integer constant larger than
16418 i32.
16419
5e13cf25
BH
164202016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
16421
16422 * gdb.fortran/nested-funcs.exp: New.
16423 * gdb.fortran/nested-funcs.f90: New.
16424
bb556f1f
TK
164252016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
16426
16427 * gdb.base/examine-backward.c: New file.
16428 * gdb.base/examine-backward.exp: New file.
16429
38b022b4
SM
164302016-06-06 Simon Marchi <simon.marchi@ericsson.com>
16431
16432 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
16433 matching.
16434
1b40ec05
TT
164352016-06-02 Tom Tromey <tom@tromey.com>
16436
16437 PR python/18984:
16438 * gdb.python/py-shared.exp: Add solib_name test.
16439
193bd378
SM
164402016-06-02 Simon Marchi <simon.marchi@ericsson.com>
16441
16442 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
16443
3326303b
MG
164442016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
16445
16446 PR c++/19893
16447 * gdb.dwarf2/implref.exp: Rename to...
16448 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
16449 * gdb.dwarf2/implref-array.c: New file.
16450 * gdb.dwarf2/implref-array.exp: Likewise.
16451 * gdb.dwarf2/implref-global.c: Likewise.
16452 * gdb.dwarf2/implref-global.exp: Likewise.
16453 * gdb.dwarf2/implref-struct.c: Likewise.
16454 * gdb.dwarf2/implref-struct.exp: Likewise.
16455
825c8ef2
AT
164562016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16457
16458 * gdb.trace/trace-condition.exp: Add 64bit tests.
16459
2320162a
AT
164602016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16461
16462 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
16463 bits types.
16464 (main): Adapt to 8 to 64 bits types.
16465 * gdb.trace/trace-condition.exp: Add new tests.
16466
a7818233
AT
164672016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16468
16469 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
16470
0d336466
AT
164712016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16472
16473 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
16474 Move condition tests...
16475 * gdb.trace/trace-condition.exp: Here.
16476
7faeb45a
AT
164772016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16478
16479 * gdb.trace/trace-condition.exp: Add counter-case tests.
16480
e385593e
JK
164812016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16482
16483 PR c++/15231
16484 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
16485 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
16486
744608cc
PA
164872016-05-27 Pedro Alves <palves@redhat.com>
16488
16489 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
16490 New procedure.
16491 (top level): Call it, and bail out of DejaGnu is known to be bad.
16492
ac775bf4
AB
164932016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
16494
16495 * gdb.base/whatis.c: Extend the test case.
16496 * gdb.base/whatis.exp: Add additional tests.
16497
2bbad2ea
BH
164982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16499
16500* gdb.fortran/type.f90: Add pointer variable.
16501* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
16502
8b70175d
BH
165032016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16504
16505 * gdb.fortran/vla-type.exp: Fix testcase name.
16506
86d8a848
BH
165072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16508
16509 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16510
e188eb36
BH
165112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16512
16513 * gdb.fortran/type.f90: Add nested structures.
16514 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16515 * gdb.fortran/derived-type.exp: Adapt expected output.
16516 * gdb.fortran/vla-type.exp: Adapt expected output.
16517
9b2db1fd
BH
165182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16519
16520 * gdb.fortran/whatis_type.exp: Adapt expected output.
16521
72b17055
BH
165222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16523
16524 * gdb.fortran/print_type.exp: Fix expected output.
16525 * gdb.fortran/whatis_type.exp: Fix expected output.
16526
3cd81d8d
BH
165272016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16528
16529 * gdb.fortran/whatis_type.exp: Use multi_line.
16530
ddae9462
TT
165312016-05-24 Tom Tromey <tom@tromey.com>
16532
16533 PR python/17386:
16534 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16535 use value as an index.
16536
1957f6b8
TT
165372016-05-23 Tom Tromey <tom@tromey.com>
16538
16539 PR python/17981:
16540 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16541 no-breakpoint case.
16542
026a9174
PA
165432016-05-24 Pedro Alves <palves@redhat.com>
16544
16545 PR gdb/19828
16546 * gdb.threads/clone-attach-detach.c: New file.
16547 * gdb.threads/clone-attach-detach.exp: New file.
16548
e70a7231
FR
165492016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16550
16551 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16552
0f6ed0e0
TT
165532016-05-23 Tom Tromey <tom@tromey.com>
16554
16555 PR python/19438, PR python/18393:
16556 * gdb.python/py-progspace.exp: Add "dir" test.
16557 * gdb.python/py-objfile.exp: Add "dir" test.
16558
ffd19d61
YQ
165592016-05-23 Yao Qi <yao.qi@linaro.org>
16560
16561 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16562 * gdb.arch/thumb2-it.exp: Likewise.
16563
9e8f9b05
SM
165642016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16565
16566 * gdb.mi/mi-threads-interrupt.c: New file.
16567 * gdb.mi/mi-threads-interrupt.exp: New file.
16568
61c6156d
SM
165692016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16570
16571 PR gdb/18077
16572 * gdb.mi/mi-async-run.exp: New file.
16573 * gdb.mi/mi-async-run.c: New file.
16574
67218854
TT
165752016-05-17 Tom Tromey <tom@tromey.com>
16576 Manish Goregaokar <manishsmail@gmail.com>
16577
16578 * lib/rust-support.exp: New file.
16579 * lib/gdb.exp (skip_rust_tests): New proc.
16580 (build_executable_from_specs): Handle rust.
16581 * lib/future.exp (gdb_find_rustc): New proc.
16582 (gdb_default_target_compile): Handle rust.
16583 * gdb.rust/expr.exp: New file.
16584 * gdb.rust/generics.exp: New file.
16585 * gdb.rust/generics.rs: New file.
16586 * gdb.rust/methods.exp: New file.
16587 * gdb.rust/methods.rs: New file.
16588 * gdb.rust/modules.exp: New file.
16589 * gdb.rust/modules.rs: New file.
16590 * gdb.rust/simple.exp: New file.
16591 * gdb.rust/simple.rs: New file.
16592
c44af4eb
TT
165932016-05-17 Tom Tromey <tom@tromey.com>
16594
16595 * gdb.base/default.exp (set language): Add rust.
16596
dcd1f979
TT
165972016-05-17 Tom Tromey <tom@tromey.com>
16598
16599 * gdb.gdb/unittest.exp: New file.
16600
155b7f57
YQ
166012016-05-16 Yao Qi <yao.qi@linaro.org>
16602
16603 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16604 shell_prompt. Update shell_prompt_re.
16605
8ddd5a6c
DE
166062016-05-12 Doug Evans <dje@google.com>
16607
16608 PR symtab/19999
16609 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16610 $options when building executable.
16611 * gdb.dwarf2/fission-loclists-pie.S: New file.
16612 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16613
02e370d9
SM
166142016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16615
16616 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16617 of [is_remote target],
16618
8929ad8b
SM
166192016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16620
16621 * lib/gdb.exp (use_gdb_stub): New procedure.
16622
6c447423
DE
166232016-05-03 Yunlian Jiang <yunlian@google.com>
16624 Doug Evans <dje@google.com>
16625
16626 PR symtab/19914
16627 * gdb.dwarf2/dwp-sepdebug.c: New file.
16628 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16629
444e826c
SM
166302016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16631
16632 * gdb.base/detach.exp: Remove is_remote check.
16633
740feeaa
SM
166342016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16635
16636 * gdb.base/annota-input-while-running.exp: Don't check for
16637 [is_remote target]. Enable annotations after running to main.
16638 Remove unused "set test..." line.
16639
9080ac9d
SM
166402016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16641
16642 * gdb.trace/trace-enable-disable.exp: New file.
16643 * gdb.trace/trace-enable-disable.c: New file.
16644
952ebca5
SM
166452016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16646
16647 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16648 use it in info sharedlibrary test.
16649 * gdb.trace/ftrace-lock.exp: Likewise.
16650 * gdb.trace/ftrace.exp: Likewise.
16651 * gdb.trace/range-stepping.exp: Likewise.
16652 * gdb.trace/trace-break.exp: Likewise.
16653 * gdb.trace/trace-condition.exp: Likewise.
16654 * gdb.trace/trace-mt.exp: Likewise.
16655
d9019901
SM
166562016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16657
16658 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16659 (gdb_load_shlib): ... this.
16660 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16661 gdb_load_shlib.
16662 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16663 * gdb.base/ctxobj.exp: Likewise.
16664 * gdb.base/dprintf-pending.exp: Likewise.
16665 * gdb.base/dso2dso.exp: Likewise.
16666 * gdb.base/fixsection.exp: Likewise.
16667 * gdb.base/gcore-relro.exp: Likewise.
16668 * gdb.base/gdb1555.exp: Likewise.
16669 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16670 * gdb.base/gnu-ifunc.exp: Likewise.
16671 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16672 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16673 * gdb.base/pending.exp: Likewise.
16674 * gdb.base/print-file-var.exp: Likewise.
16675 * gdb.base/print-symbol-loading.exp: Likewise.
16676 * gdb.base/shlib-call.exp: Likewise.
16677 * gdb.base/shreloc.exp: Likewise.
16678 * gdb.base/so-impl-ld.exp: Likewise.
16679 * gdb.base/solib-disc.exp: Likewise.
16680 * gdb.base/solib-nodir.exp: Likewise.
16681 * gdb.base/solib-overlap.exp: Likewise.
16682 * gdb.base/solib-symbol.exp: Likewise.
16683 * gdb.base/solib-weak.exp (do_test): Likewise.
16684 * gdb.base/sym-file.exp: Likewise.
16685 * gdb.base/symtab-search-order.exp: Likewise.
16686 * gdb.base/type-opaque.exp: Likewise.
16687 * gdb.base/unload.exp: Likewise.
16688 * gdb.base/watchpoint-solib.exp: Likewise.
16689 * gdb.compile/compile.exp: Likewise.
16690 * gdb.cp/gdb2384.exp: Likewise.
16691 * gdb.cp/infcall-dlopen.exp: Likewise.
16692 * gdb.cp/re-set-overloaded.exp: Likewise.
16693 * gdb.fortran/library-module.exp: Likewise.
16694 * gdb.opt/solib-intra-step.exp: Likewise.
16695 * gdb.python/py-finish-breakpoint.exp: Likewise.
16696 * gdb.python/py-shared.exp: Likewise.
16697 * gdb.reverse/solib-precsave.exp: Likewise.
16698 * gdb.reverse/solib-reverse.exp: Likewise.
16699 * gdb.server/solib-list.exp: Likewise.
16700 * gdb.threads/dlopen-libpthread.exp: Likewise.
16701 * gdb.threads/tls-shared.exp: Likewise.
16702 * gdb.threads/tls-so_extern.exp: Likewise.
16703 * gdb.trace/change-loc.exp: Likewise.
16704 * gdb.trace/ftrace-lock.exp: Likewise.
16705 * gdb.trace/ftrace.exp: Likewise.
16706 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16707 * gdb.trace/pending.exp: Likewise.
16708 * gdb.trace/range-stepping.exp: Likewise.
16709 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16710 (strace_info_marker): Likewise.
16711 (strace_probe_marker): Likewise.
16712 (strace_trace_on_same_addr): Likewise.
16713 (strace_trace_on_diff_addr): Likewise.
16714 * gdb.trace/trace-break.exp: Likewise.
16715 * gdb.trace/trace-condition.exp: Likewise.
16716 * gdb.trace/trace-mt.exp: Likewise.
16717
fca4cfd9
SM
167182016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16719
16720 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16721 result of gdb_remote_download.
16722 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16723 * gdb.base/dso2dso.exp: Likewise.
16724 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16725 * gdb.base/print-file-var.exp: Likewise.
16726 * gdb.base/shlib-call.exp: Likewise.
16727 * gdb.base/shreloc.exp: Likewise.
16728 * gdb.base/solib-overlap.exp: Likewise.
16729 * gdb.base/solib-weak.exp (do_test): Likewise.
16730 * gdb.base/unload.exp: Likewise.
16731
11cf4ffb
YQ
167322016-04-27 Yao Qi <yao.qi@linaro.org>
16733
16734 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16735 exists.
16736
3e2e34f8
KB
167372016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16738
16739 * vla-type.exp: Print structure from toplevel.
16740
8f07e298
BH
167412016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16742
16743 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16744 of dynamic types.
16745 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16746 of dynamic types.
16747
9920b434
BH
167482016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16749
16750 * gdb.fortran/vla-type.f90: New file.
16751 * gdb.fortran/vla-type.exp: New file.
16752
f3abeff5
YQ
167532016-04-25 Yao Qi <yao.qi@linaro.org>
16754
16755 * gdb.base/branch-to-self.c: New file.
16756 * gdb.base/branch-to-self.exp: New file.
16757
0a5d52f0
YQ
167582016-04-22 Yao Qi <yao.qi@linaro.org>
16759
16760 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16761 more after $hex.
16762
495346f6
YQ
167632016-04-22 Yao Qi <yao.qi@linaro.org>
16764
16765 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16766 * gdb.base/annota3.exp: Likewise.
16767
4a7e075c
YQ
167682016-04-22 Yao Qi <yao.qi@linaro.org>
16769
16770 * gdb.reverse/step-precsave.exp: Do one step and test program
16771 stops in "callee" and do multiple steps until program goes out
16772 of "callee".
16773 * gdb.reverse/step-reverse.exp: Likewise.
16774
5b061e98
YQ
167752016-04-22 Yao Qi <yao.qi@linaro.org>
16776
16777 * gdb.trace/signal.exp: Also pass if
16778 $tracepoint_hits($i) > $iterations.
16779
5c5dc57f
YQ
167802016-04-22 Yao Qi <yao.qi@linaro.org>
16781
16782 * gdb.trace/signal.c: New file.
16783 * gdb.trace/signal.exp: New file.
16784
a55411b9
DE
167852016-04-19 Doug Evans <xdje42@gmail.com>
16786
16787 * gdb.base/bad-file.exp: New file.
16788
a22df60a
MG
167892016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16790
16791 * gdb.dwarf2/implref.exp: New file.
16792
0c13f7e5
BH
167932016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16794
16795 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16796 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16797 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16798 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16799 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16800 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16801 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16802 * lib/fortran.exp (fortran_int4): New procedure.
16803 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16804 (fortran_logical4): Likewise.
16805
9b9b09e9
BH
168062016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16807
16808 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16809
a14d1f4d
BH
168102016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16811
16812 * lib/compiler.c: Add Intel specific preprocessor macros.
16813 * lib/compiler.cc: Likewise.
25d49b86 16814
7d49b1d0
LM
168152016-04-13 Luis Machado <lgustavo@codesourcery.com>
16816
16817 * gdb.server/connect-with-no-symbol-file.c: New file.
16818 * gdb.server/connect-with-no-symbol-file.exp: New file.
16819
8392fa22
SM
168202016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16821
16822 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16823
8c4c4aeb
SM
168242016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16825
16826 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16827 standard output directory.
16828
45e3745e
AT
168292016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16830
16831 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16832
e26b7e41
MM
168332016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16834
16835 * gdb.btrace/instruction_history.c (loop): Add declaration.
16836
8ce09462
AT
168372016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16838
16839 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16840
2e88a1ea
SM
168412016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16842
16843 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16844 parentheses to print.
16845 (continue_handler): Likewise.
16846
f48e22e3
SM
168472016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16848
16849 * gdb.server/solib-list.exp: Remove is_remote check.
16850 Pass shlib= to gdb_compile. Don't link shared library with
16851 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16852 Run binary filename through "readlink -f" on the target.
16853
096be756
PA
168542016-04-08 Pedro Alves <palves@redhat.com>
16855
16856 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16857 interpreter filename as argument to gdbserver_spawn.
16858 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16859 Return empty if $last_loaded_file does not exist.
16860
06500533
JK
168612016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16862
16863 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16864 * gdb.base/jit-main.c: Use exit after usage.
16865
2d35e871
JK
168662016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16867
16868 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16869 GDBHISTSIZE prior to the tests.
16870 * gdb.base/gdbinit-history.exp: Likewise.
16871
168722016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16873
16874 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16875 instead of build_executable. Use gdb_load_shlibs.
16876
c8064e7e
YQ
168772016-04-07 Yao Qi <yao.qi@linaro.org>
16878
16879 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16880 Execute "si" command.
16881
bde47561
YQ
168822016-04-07 Yao Qi <yao.qi@linaro.org>
16883
16884 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16885 number instead of the comments on some line.
16886
b16f8a3b
DB
168872016-04-06 Don Breazeal <donb@codesourcery.com>
16888
16889 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16890 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16891
c2f901df
SM
168922016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16893
16894 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16895 standard_output_file. Remove unused binfile variable.
16896
ac17fda0
CU
168972016-04-05 Catalin Udma <catalin.udma@freescale.com>
16898
16899 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16900 * gdb.python/py-mi-objfile.exp: Match "list main" output
16901 in console format.
16902
03a8c4df
SM
169032016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16904
16905 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16906 absolute.
16907
6e774b13
SM
169082016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16909
16910 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16911 absolute.
16912 * gdb.trace/ftrace.exp: Likewise.
16913 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16914 targets as well.
16915 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16916 (gdb_load_shlibs): Copy libraries to test directory when testing
16917 natively. Only set solib-search-path if testing remotely.
16918 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16919
7817ea46
SM
169202016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16921
16922 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16923 gdb_download. Use it even if the target is not remote.
16924 * gdb.base/jit.exp (compile_jit_test): Likewise.
16925 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16926 output directory if the destination board is local, otherwise use
16927 the standard remote_download from DejaGnu.
16928 (gdb_download): Remove.
16929 (gdb_load_shlibs): Use gdb_remote_download instead of
16930 gdb_download.
16931 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16932 Use gdb_remote_download instead of gdb_download. Use it even if
16933 the target is not remote.
16934 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16935 instead of gdb_download.
16936
7beb7f68
SM
169372016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16938
16939 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16940 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16941 run.
16942
cc63428a
AV
169432016-04-01 Artemiy Volkov <artemiyv@acm.org>
16944
16945 PR gdb/19820
16946 * gdb.base/printcmds.exp: Add artificial arrays tests.
16947
64cdf930
PA
169482016-03-31 Pedro Alves <palves@redhat.com>
16949
16950 PR gdb/19858
16951 * gdb.base/jit-main.c: Include unistd.h.
16952 (ATTACH): Define to 0 if not already defined.
16953 (wait_for_gdb, mypid): New globals.
16954 (WAIT_FOR_GDB): New macro.
16955 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16956 some breakpoint locations.
16957 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16958 New procedures.
16959 (one_jit_test): Add REATTACH parameter, and handle it. Use
16960 continue_to_test_location.
16961 (top level): Test attach, and adjusts calls to one_jit_test.
16962
40dea8cb
PA
169632016-03-31 Pedro Alves <palves@redhat.com>
16964
16965 PR gdb/19858
16966 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16967 BINSUFFIX parameter, and handle it.
16968 (top level): Adjust calls compile_jit_test.
16969
e7ea3ec7
CU
169702016-03-31 Catalin Udma <catalin.udma@freescale.com>
16971
16972 PR python/19743
16973 * gdb.python/py-mi-events-gdb.py: New file.
16974 * gdb.python/py-mi-events.c: New file.
16975 * gdb.python/py-mi-events.exp: New file.
16976
e6359af3
YQ
169772016-03-30 Yao Qi <yao.qi@linaro.org>
16978
16979 * gdb.reverse/until-precsave.exp: Match function name only.
16980 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16981 Move malloc to a condition block.
16982 * gdb.reverse/until-reverse.exp: Match function name only.
16983
a4105d04
MK
169842016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16985
16986 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16987 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16988 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16989 variable for GPR 0 instead of assuming it is register 0.
16990 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16991 * lib/trace-support.exp: Add s390 registers.
16992
bfa6adb9
YQ
169932016-03-29 Yao Qi <yao.qi@linaro.org>
16994
16995 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16996
1e6697ea
YQ
169972016-03-24 Yao Qi <yao.qi@linaro.org>
16998
16999 * gdb.reverse/break-reverse.exp: Add quotation mark in the
17000 test message.
17001
64bcd522
AA
170022016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17003
17004 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
17005 maintaining separate logic for constructing the output path.
17006
7868401b
DB
170072016-03-16 Don Breazeal <donb@codesourcery.com>
17008
17009 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
17010 Retry fork and waitpid on interrupted system call errors.
17011 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17012 Use with_timeout_factor to increase timeout by factor of 10.
17013
1cafadb4
DB
170142016-03-15 Don Breazeal <donb@codesourcery.com>
17015
17016 * gdb.cp/scope-err.cc: New test program.
17017 * gdb.cp/scope-err.exp: New test script.
17018 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
17019 lines and "set breakpoint here" comment.
17020 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
17021 Fixed some whitespace and format issues.
17022 * gdb.mi/mi-linespec-err-cp.cc: New test program.
17023 * gdb.mi/mi-linespec-err-cp.exp: New test script.
17024
81516450
DE
170252016-03-15 Doug Evans <dje@google.com>
17026
17027 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
17028 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
17029 All callers updated. Add tests for enums, mixed flags register.
17030
aa52b601
DE
170312016-03-15 Doug Evans <dje@google.com>
17032
17033 * gdb.base/skip.c (main): Call test_skip_file_and_function.
17034 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
17035
fa4ff313
SM
170362016-03-14 Simon Marchi <simon.marchi@ericsson.com>
17037
17038 * gdb.base/default.exp: Add $_as_string to the list of expected
17039 convenience functions.
17040
f2403c39
AB
170412016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
17042
17043 * gdb.base/maint.exp: New tests for 'maint info line-table'.
17044
f2f3ccb9
SM
170452016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
17046
17047 * gdb.python/py-as-string.exp: New file.
17048 * gdb.python/py-as-string.c: New file.
17049
00dbd492
PA
170502016-03-09 Pedro Alves <palves@redhat.com>
17051
17052 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
17053 signal" -> "Thread NN received signal" output change.
17054 * gdb.threads/ia64-sigill.exp: Likewise.
17055 * gdb.threads/linux-dp.exp: Likewise.
17056 * gdb.threads/manythreads.exp: Likewise.
17057 * gdb.threads/pending-step.exp: Likewise.
17058 * gdb.threads/print-threads.exp: Likewise.
17059 * gdb.threads/sigstep-threads.exp: Likewise.
17060 * gdb.threads/staticthreads.exp: Likewise.
17061 * gdb.threads/tls.exp: Likewise.
17062
1e6697ea
YQ
170632016-03-09 Pedro Alves <palves@redhat.com>
17064
17065 * gdb.base/command-line-input.exp: New file.
17066
b04fd3be
MK
170672016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17068
17069 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
17070 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
17071 * gdb.trace/pending.exp: Accept leading dot before function name.
17072 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
17073 * lib/trace-support.exp: Set registers for ppc.
17074
98fa59e9
MK
170752016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17076
17077 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
17078 use it for disassembly; accept .main in addition to main in backtrace.
17079
f77198c8
MK
170802016-03-09 Wei-cheng Wang <cole945@gmail.com>
17081 Marcin Kościelnicki <koriakin@0x04.net>
17082
17083 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
17084 (gdb_recursion_test_ptr): New global variable.
17085 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
17086 gdb_recursion_test.
17087 (gdb_c_test): Ditto.
17088
ba84e0da
MK
170892016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17090
17091 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
17092 ordering.
17093
4366d36e
MK
170942016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
17095
17096 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
17097 (bar): Add bar_start_lbl label.
17098 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
17099 of foo/bar for emitting DWARF and tracing.
17100
5eb264df
SDJ
171012016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
17102
17103 * analyze-racy-logs.py: Set executable bit.
17104
fb6a751f
SDJ
171052016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
17106
17107 * Makefile.in (DEFAULT_RACY_ITER): New variable.
17108 (CHECK_TARGET_TMP): Likewise.
17109 (check-single-racy): New rule.
17110 (check-parallel-racy): Likewise.
17111 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
17112 (do-check-parallel-racy): New rule.
17113 (check-racy/%.exp): Likewise.
17114 * README (Racy testcases): New section.
17115 * analyze-racy-logs.py: New file.
17116
bdf7e230
DE
171172016-03-03 Doug Evans <dje@google.com>
17118
17119 * gdb.base/skip.exp: Use with_test_prefix.
17120
4719d415
YQ
171212016-03-03 Yao Qi <yao.qi@linaro.org>
17122
17123 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
17124 Invoke step_over_syscall "clone" and break_cond_on_syscall
17125 "clone".
17126 * gdb.base/step-over-clone.c: New file.
17127
ea507862
YQ
171282016-03-03 Yao Qi <yao.qi@linaro.org>
17129
17130 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
17131 code format.
17132
8fc8cbda
YQ
171332016-03-03 Yao Qi <yao.qi@linaro.org>
17134
17135 * gdb.base/disp-step-fork.c: Rename to ...
17136 * gdb.base/step-over-fork.c: ... it. New file.
17137 * gdb.base/disp-step-vfork.c: Rename to ...
17138 * gdb.base/step-over-vfork.c: ... it. New file.
17139 * gdb.base/disp-step-syscall.exp: Rename to ...
17140 * gdb.base/step-over-syscall.exp: ... it. New file.
17141 (disp_step_cross_syscall): Rename to ...
17142 (step_over_syscall): ... it.
17143
92fa70b0
YQ
171442016-03-03 Yao Qi <yao.qi@linaro.org>
17145
17146 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
17147 If target supports condition evaluation on target, invoke
17148 break_cond_on_syscall for fork and vfork.
17149
e197ad3c
YQ
171502016-03-03 Yao Qi <yao.qi@linaro.org>
17151
17152 * gdb.base/disp-step-syscall.exp: Don't invoke
17153 support_displaced_stepping.
17154 (disp_step_cross_syscall): Test with displaced stepping off and
17155 on if supported.
17156
0b47da9f
YQ
171572016-03-03 Yao Qi <yao.qi@linaro.org>
17158
17159 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
17160 proc.
17161 (setup): New proc.
17162 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
17163 and setup.
17164
065ab6dc
BH
171652016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17166
17167 * gdb.fortran/vla-history.exp: Remove breakpoint.
17168
07e448ad 171692016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17170
25d49b86
PA
17171 * gdb.fortran/vla-history.exp: Lookup array elements and printing
17172 exceeds timeout.
07e448ad 17173
9ac2d526 171742016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17175
25d49b86
PA
17176 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
17177 breakpoint.
9ac2d526 17178
17807369
BH
171792016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
17180
17181 * gdb.mi/vla.f90: Nullify pointer after declaration.
17182
86e501af
PA
171832016-03-01 Pedro Alves <palves@redhat.com>
17184
17185 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
17186
1e903e32
PA
171872016-03-01 Pedro Alves <palves@redhat.com>
17188
17189 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
17190 before anything else.
17191 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
17192 _GNU_SOURCE here.
17193 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
17194 before anything else.
17195 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
17196
6ccb54e2
PA
171972016-03-01 Pedro Alves <palves@redhat.com>
17198
17199 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
17200
30ca9da1
YQ
172012016-03-01 Yao Qi <yao.qi@linaro.org>
17202
17203 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
17204 prepare_for_testing.
17205
dc856b38
YQ
172062016-03-01 Yao Qi <yao.qi@linaro.org>
17207
17208 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
17209
4a932159
AA
172102016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
17211
17212 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
17213 manually constructing the output path.
17214
f2489477
AA
172152016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
17216
17217 * gdb.arch/s390-stackless.S: New.
17218 * gdb.arch/s390-stackless.exp: New.
17219
38899f16
IB
172202016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
17221
17222 * gdb.dlang/circular.c: New file.
17223 * gdb.dlang/circular.exp: New file.
17224
9fde51ed
YQ
172252016-02-26 Yao Qi <yao.qi@linaro.org>
17226
17227 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
17228 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
17229 (testcases): Update.
17230
ce90fefe
YQ
172312016-02-26 Yao Qi <yao.qi@linaro.org>
17232
17233 * gdb.reverse/aarch64.c: Rename to ...
17234 * gdb.reverse/insn-reverse.c: ... it.
17235 * gdb.reverse/aarch64.exp: Rename to ...
17236 * gdb.reverse/insn-reverse.exp: ... it.
17237
3263bceb
YQ
172382016-02-26 Yao Qi <yao.qi@linaro.org>
17239
17240 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
17241 (testcase_ftype): New.
17242 (testcases): New array.
17243 (n_testcases): New.
17244 (main): Call each element in testcases.
17245 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
17246 (read_testcase): New.
17247 Do the tests in a loop.
17248
6cb59ff1
YQ
172492016-02-25 Yao Qi <yao.qi@linaro.org>
17250
17251 * gdb.base/branches.c: Remove.
17252
ae91f625
MK
172532016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
17254
17255 PR gdb/13808
17256 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
17257
678b48b7
MK
172582016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
17259
17260 * gdb.trace/ftrace.exp: Remove unnecessary target check.
17261
7337a6f2
MK
172622016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
17263
17264 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
17265 change x86_64 call_insn to 'callq'.
17266
861ca91f
AT
172672016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17268
17269 * gdb.trace/tfile-avx.c: Move to...
17270 * gdb.trace/tracefile-pseudo-reg.c: Here.
17271 * gdb.trace/tfile-avx.exp: Move to...
17272 * gdb.trace/tracefile-pseudo-reg.exp: Here.
17273
bf74e428
GB
172742016-02-24 Gary Benson <gbenson@redhat.com>
17275
17276 * gdb.base/attach-pie-noexec.exp: Do not expect an error
17277 message on attach.
17278
cce0e923
DE
172792016-02-23 Doug Evans <dje@google.com>
17280
17281 * gdb.base/skip.c (test_skip): New function.
17282 (end_test_skip_file_and_function): New function.
17283 (test_skip_file_and_function): New function.
17284 * gdb.base/skip1.c (test_skip): New function.
17285 (skip1_test_skip_file_and_function): New function.
17286 * gdb.base/skip.exp: Add tests for new skip options.
17287 * gdb.base/skip-solib.exp: Update expected output.
17288 * gdb.perf/skip-command.cc: New file.
17289 * gdb.perf/skip-command.exp: New file.
17290 * gdb.perf/skip-command.py: New file.
17291
4000e47e
MK
172922016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
17293
17294 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
17295 info registers pattern.
17296
24f75ead
IB
172972016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
17298
17299 * lib/future.exp: Add D support.
17300 (gdb_find_gdc): New proc.
17301 (gdb_default_target_compile): Add D support.
17302
fbb7bcbe
WW
173032016-02-18 Wei-cheng Wang <cole945@gmail.com>
17304
17305 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
17306 user+system time.
17307 (trace_speed_test): Determine the iteration count for a time
17308 between 15..30 seconds.
17309
012b3a21
WT
173102016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
17311
17312 * gdb.arch/i386-mpx-sigsegv.c: New file.
17313 * gdb.arch/i386-mpx-sigsegv.exp: New file.
17314 * gdb.arch/i386-mpx-simple_segv.c: New file.
17315 * gdb.arch/i386-mpx-simple_segv.exp: New file.
17316
2d5189bd
YQ
173172016-02-18 Yao Qi <yao.qi@linaro.org>
17318
17319 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17320 Don't call setup_kfail.
17321
40fb20d0
YQ
173222016-02-18 Yao Qi <yao.qi@linaro.org>
17323
17324 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17325 Set "set breakpoint condition-evaluation" per $cond_bp_target.
17326
21b1f8d2
DE
173272016-02-16 Doug Evans <dje@google.com>
17328
17329 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
17330 * gdb.base/skip1.c: Ditto.
17331 * gdb.base/skip.exp: Whitespace cleanup.
17332
4041ed77
DB
173332016-02-16 Don Breazeal <donb@codesourcery.com>
17334
17335 PR remote/19496
17336 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
17337 Remove kfail for PR remote/19496.
17338
c4ef31bf
SM
173392016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17340
17341 * lib/gdb.exp (standard_temp_file): Return a path specific to
17342 the runtest invocation.
17343
266b65b3
SM
173442016-02-16 Simon Marchi <simon.marchi@ericsson.com>
17345
17346 * gdb.trace/save-trace.exp: Change relative path to be in the
17347 standard output directory.
17348
a7a0a6a9
JK
173492016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17350
17351 * gdb.arch/i386-prologue.c: Add missing prototypes.
17352
c99dbb42
JK
173532016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17354
17355 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
17356 * gdb.arch/i386-prologue.exp: Likewise.
17357 * gdb.arch/i386-size.exp: Likewise.
17358
aa480355
SM
173592016-02-15 Simon Marchi <simon.marchi@ericsson.com>
17360
17361 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
17362 define object file path.
17363 * gdb.btrace/gcore.exp: Use standard_output_file to define core
17364 file path.
17365 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
17366 standard_output_file to define binfile.
17367
ba881f50
JK
173682016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17369
17370 Fix compatibility with recent gfortran-5.3.1.
17371 * gdb.fortran/vla-history.exp (print vla1 allocated)
17372 (print vla2 allocated, print $2, print $3): Remove
17373 (print $4): Rename to ...
17374 (print $2): ... here.
17375 (print $9): Rename to ...
17376 (print $5): ... here.
17377 (print $10): Rename to ...
17378 (print $6): ... here.
17379 * gdb.fortran/vla.f90: Add pvla initialization.
17380
e9fb005c
JK
173812016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17382
17383 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
17384 New test.
17385 * gdb.fortran/vla-value-sub.exp: Likewise.
17386
e44e00ff
MK
173872016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
17388
17389 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
17390
97e94151
SM
173912016-02-12 Simon Marchi <simon.marchi@ericsson.com>
17392
17393 * i386-biarch-core.exp: Define corefile using
17394 standard_output_file.
17395
01113bc1
YQ
173962016-02-12 Yao Qi <yao.qi@linaro.org>
17397
17398 * gdb.arch/arm-single-step-kernel-helper.c: New.
17399 * gdb.arch/arm-single-step-kernel-helper.exp: New.
17400
33b4777c
MM
174012016-02-12 Markus Metzger <markus.t.metzger@intel.com>
17402
17403 * gdb.btrace/tailcall-only.exp: New.
17404 * gdb.btrace/tailcall-only.c: New.
17405 * gdb.btrace/x86_64-tailcall-only.S: New.
17406 * gdb.btrace/i686-tailcall-only.S: New.
17407
acc23c11
PA
174082016-02-11 Pedro Alves <palves@redhat.com>
17409
17410 * README (Parallel testing): Add missing double quotes.
17411
e352bf0a
PA
174122016-02-11 Pedro Alves <palves@redhat.com>
17413
17414 * README (Parallel testing): New section.
17415 (GDB_PARALLEL): Rewrite.
17416 (FORCE_PARALLEL): Document.
17417
9f5fed78
MK
174182016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
17419
17420 * gdb.trace/tfile-avx.c: New test.
17421 * gdb.trace/tfile-avx.exp: New test.
17422
9ef9e6a6
KS
174232016-02-09 Keith Seitz <keiths@redhat.com>
17424
17425 PR breakpoints/19546
17426 * gdb.base/infcall-exec.c: New file.
17427 * gdb.base/infcall-exec2.c: New file.
17428 * gdb.base/infcall-exec.exp: New file.
17429
a96e36da
KS
174302016-02-09 Keith Seitz <keiths@redhat.com>
17431
17432 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
17433 (toplevel): Call test_bkpt_address.
17434
9f61929f
KS
174352016-02-09 Keith Seitz <keiths@redhat.com>
17436
17437 PR python/19506
17438 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
17439 (toplevel): Call test_bkpt_address.
17440
1e94266c
SM
174412016-02-09 Simon Marchi <simon.marchi@ericsson.com>
17442
17443 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
17444 to AC_OUTPUT.
17445 * configure: Regenerate.
17446
2a7f3dff
PA
174472016-02-09 Pedro Alves <palves@redhat.com>
17448
17449 PR breakpoints/19548
17450 * gdb.base/execl-update-breakpoints.c (some_function): New
17451 function.
17452 (main): Call it.
17453 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
17454 Tighten expected GDB output.
17455
2151ccc5
SM
174562016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17457
17458 * Makefile.in (ALL_SUBDIRS): Remove.
17459 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
17460 (distclean maintainer-clean realclean): Likewise.
17461 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
17462 * configure: Regenerate.
17463 * gdb.ada/Makefile.in: Delete.
17464 * gdb.arch/Makefile.in: Likewise.
17465 * gdb.asm/Makefile.in: Likewise.
17466 * gdb.base/Makefile.in: Likewise.
17467 * gdb.btrace/Makefile.in: Likewise.
17468 * gdb.cell/Makefile.in: Likewise.
17469 * gdb.compile/Makefile.in: Likewise.
17470 * gdb.cp/Makefile.in: Likewise.
17471 * gdb.disasm/Makefile.in: Likewise.
17472 * gdb.dlang/Makefile.in: Likewise.
17473 * gdb.dwarf2/Makefile.in: Likewise.
17474 * gdb.fortran/Makefile.in: Likewise.
17475 * gdb.gdb/Makefile.in: Likewise.
17476 * gdb.go/Makefile.in: Likewise.
17477 * gdb.guile/Makefile.in: Likewise.
17478 * gdb.java/Makefile.in: Likewise.
17479 * gdb.linespec/Makefile.in: Likewise.
17480 * gdb.mi/Makefile.in: Likewise.
17481 * gdb.modula2/Makefile.in: Likewise.
17482 * gdb.multi/Makefile.in: Likewise.
17483 * gdb.objc/Makefile.in: Likewise.
17484 * gdb.opencl/Makefile.in: Likewise.
17485 * gdb.opt/Makefile.in: Likewise.
17486 * gdb.pascal/Makefile.in: Likewise.
17487 * gdb.perf/Makefile.in: Likewise.
17488 * gdb.python/Makefile.in: Likewise.
17489 * gdb.reverse/Makefile.in: Likewise.
17490 * gdb.server/Makefile.in: Likewise.
17491 * gdb.stabs/Makefile.in: Likewise.
17492 * gdb.threads/Makefile.in: Likewise.
17493 * gdb.trace/Makefile.in: Likewise.
17494 * gdb.xml/Makefile.in: Likewise.
17495 * lib/gdb.exp (make_gdb_parallel_path): Add check for
17496 GDB_PARALLEL.
17497 (standard_output_file): Remove check for GDB_PARALLEL, always
17498 return path in outputs/$subdir/$testname.
17499
437277d4
SM
175002016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17501
17502 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
17503 (site.exp): Assign abs_srcdir to tcl's srcdir.
17504
31d913c7
YQ
175052016-02-04 Yao Qi <yao.qi@linaro.org>
17506
17507 * gdb.base/foll-exec-mode.c: Include limits.h.
17508 (main): Add parameters argc and argv. Get directory from
17509 argv[0].
17510 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17511 compilation.
17512 * gdb.base/foll-exec.c: Include limits.h.
17513 (main): Add parameters argc and argv.
17514 Get directory from argv[0].
17515 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17516 Adjust tests on the number of lines as source code changed.
17517 * gdb.base/foll-vfork-exit.c: Include limits.h.
17518 (main): Add one line of statement before vfork.
17519 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17520 (main): Add parameters argc and argv. Get directory from
17521 argv[0].
17522 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17523 (setup_gdb): Set tbreak to skip some source lines.
17524 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17525 (main): Add parameters argc and argv. Get directory from
17526 argv[0].
17527 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17528 compilation.
17529 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17530 (main): Add parameters argc and argv. Get directory from
17531 argv[0].
17532 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17533 compilation.
17534
9482b9fb
DE
175352016-02-01 Doug Evans <dje@google.com>
17536
17537 * gdb.base/skip.exp: Clean up multiple references to same test name.
17538
6b2e4f10
PA
175392016-02-01 Pedro Alves <palves@redhat.com>
17540
ccb6afd6 17541 PR remote/19496
6b2e4f10
PA
17542 * gdb.threads/forking-threads-plus-breakpoint.exp
17543 (displaced_stepping_supported): New global.
17544 (probe_displaced_stepping_support): New procedure.
17545 (do_test): Add 'displaced' parameter, and use it.
17546 (top level): Check for displaced stepping support. Add displaced
17547 stepping on/off testing axis.
17548
37a8db1a
AB
175492016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17550
17551 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17552 pointer. Don't perform further tests on the unassociated pointer
17553 if the first test fails.
17554
5fdf6324
AB
175552016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17556
17557 * gdb.base/max-value-size.c: New file.
17558 * gdb.base/max-value-size.exp: New file.
17559 * gdb.base/huge.exp: Disable max-value-size for this test.
17560
935c6144
IB
175612016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17562
17563 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17564
7fe8399d
YQ
175652016-01-28 Yao Qi <yao.qi@linaro.org>
17566
17567 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17568
a2077e25
PA
175692016-01-25 Pedro Alves <palves@redhat.com>
17570
17571 PR threads/19461
17572 * gdb.base/fork-running-state.c: New file.
17573 * gdb.base/fork-running-state.exp: New file.
17574
1d2736d4
PA
175752016-01-25 Pedro Alves <palves@redhat.com>
17576
17577 PR gdb/19494
17578 * gdb.base/catch-fork-kill.c: New file.
17579 * gdb.base/catch-fork-kill.exp: New file.
17580
f1da4b11
PA
175812016-01-25 Pedro Alves <palves@redhat.com>
17582
17583 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17584 Delete, moved to lib/gdb.exp.
17585 * gdb.threads/forking-threads-plus-breakpoint.exp
17586 (foreach_with_prefix): Likewise.
17587 * gdb.threads/process-dies-while-handling-bp.exp
17588 (foreach_with_prefix): Likewise.
17589 * lib/gdb.exp (foreach_with_prefix): New procedure.
17590
45f38546
MK
175912016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17592
17593 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17594 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17595
dc29a1ce
MK
175962016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17597
17598 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17599 endian targets.
17600
092127d7
JK
176012016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17602 Pedro Alves <palves@redhat.com>
17603
17604 Fix testsuite compatibility with Guile.
17605 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17606 number.
17607
31d765d3
JK
176082016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17609
17610 Fix testsuite compatibility with Guile.
17611 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17612 (thread 1): New test for backtrace through signal handler.
17613
1ac78c04
YQ
176142016-01-22 Yao Qi <yao.qi@linaro.org>
17615
17616 PR testsuite/19491
17617 * gdb.base/multi-forks.c: Include
17618 ../lib/unbuffer_output.c
17619 (main): Call gdb_unbuffer_output.
17620
4f5946a8
DE
176212016-01-21 Doug Evans <dje@google.com>
17622
17623 * lib/ada.exp (gdb_compile_ada): Fix typo.
17624
305e13e6
JB
176252016-01-21 Joel Brobecker <brobecker@adacore.com>
17626
17627 * gdb.base/break-fun-addr.exp: New file.
17628 * gdb.base/break-fun-addr1.c: New file.
17629 * gdb.base/break-fun-addr2.c: New file.
17630
5f5dfff6
SM
176312016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17632
17633 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17634 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17635 enum flag values.
17636
fd356fa2
AA
176372016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17638
17639 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17640 when GDB can not set the vector return value. Add more comments
17641 for clarification.
17642
9df22175
AT
176432016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17644
17645 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17646 command.
17647
41d1845e
SM
176482016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17649
17650 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17651
01ac6840
SM
176522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17653
17654 * Makefile.in (check-single): Pass --status to runtest.
17655 (check/%.exp): Likewise.
17656
176572016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17658
17659 * Makefile.in (check-parallel): Propagate return code from make
17660 do-check-parallel.
17661
bd0a71fa
MK
176622016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17663
17664 * gdb.trace/ftrace.exp: Fix expected message on continue.
17665 * gdb.trace/pending.exp: Fix expected message on continue.
17666 * gdb.trace/trace-break.exp: Fix expected message on continue.
17667
8bcbad33
SM
176682016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17669
17670 * lib/gdb.exp (gdb_test): Remove unused global references.
17671
f303dbd6
PA
176722016-01-18 Pedro Alves <palves@redhat.com>
17673
17674 * gdb.base/async-shell.exp: Adjust expected output.
17675 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17676 * gdb.base/siginfo-thread.exp: Adjust expected output.
17677 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17678 * gdb.java/jnpe.exp: Adjust expected output.
17679 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17680 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17681 * gdb.threads/leader-exit.exp: Adjust expected output.
17682 * gdb.threads/manythreads.exp: Adjust expected output.
17683 * gdb.threads/pthreads.exp: Adjust expected output.
17684 * gdb.threads/schedlock.exp: Adjust expected output.
17685 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17686 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17687 expected output.
17688 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17689 output.
17690 * gdb.threads/sigthread.exp: Adjust expected output.
17691 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17692
b2789696
YQ
176932016-01-18 Yao Qi <yao.qi@linaro.org>
17694
17695 * gdb.guile/scm-section-script.c: Replace @progbits with
17696 %progbits.
17697 * gdb.python/py-section-script.c: Likewise.
17698
71ef29a8
PA
176992016-01-15 Pedro Alves <palves@redhat.com>
17700
17701 * gdb.multi/tids.exp: Test star wildcard ranges.
17702
3f5b7598
PA
177032016-01-15 Pedro Alves <palves@redhat.com>
17704
17705 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17706 command from "thread apply" invocation.
17707 (thr_apply_info_thr_invalid): Default the expected output to the
17708 input tid list.
17709 (top level): Add tests that use convenience variables. Add tests
17710 for "thread apply" with a valid TID list, but missing the command.
17711
663f6d42
PA
177122016-01-13 Pedro Alves <palves@redhat.com>
17713
17714 * gdb.base/default.exp: Expect $_gthread as well.
17715 * gdb.multi/tids.exp: Test $_gthread.
17716 * gdb.threads/thread-specific.exp: Test $_gthread.
17717
c84f6bbf
PA
177182016-01-13 Pedro Alves <palves@redhat.com>
17719
17720 * gdb.multi/tids.exp: Test "info threads -gid".
17721
22a02324
PA
177222016-01-13 Pedro Alves <palves@redhat.com>
17723
17724 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17725 Breakpoint.thread.
17726 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17727
5d5658a1
PA
177282016-01-07 Pedro Alves <palves@redhat.com>
17729
17730 * gdb.base/break.exp: Adjust to output changes.
17731 * gdb.base/hbreak2.exp: Likewise.
17732 * gdb.base/sepdebug.exp: Likewise.
17733 * gdb.base/watch_thread_num.exp: Likewise.
17734 * gdb.linespec/keywords.exp: Likewise.
17735 * gdb.multi/info-threads.exp: Likewise.
17736 * gdb.threads/thread-find.exp: Likewise.
17737 * gdb.multi/tids.c: New file.
17738 * gdb.multi/tids.exp: New file.
17739
84654457
PA
177402016-01-13 Pedro Alves <palves@redhat.com>
17741
17742 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17743
e3940304
PA
177442016-01-13 Pedro Alves <palves@redhat.com>
17745
17746 * gdb.base/default.exp: Expect $_inferior as well.
17747 * gdb.multi/base.exp: Test $_inferior.
17748
a911d87a
PA
177492016-01-13 Pedro Alves <palves@redhat.com>
17750
17751 PR breakpoints/19388
17752 * gdb.base/catch-signal-siginfo-cond.c: New file.
17753 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17754
82075af2
JS
177552016-01-12 Josh Stone <jistone@redhat.com>
17756 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17757
17758 * gdb.base/catch-syscall.c (do_execve): New variable.
17759 (main): Conditionally trigger an execve.
17760 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17761 (test_catch_syscall_execve): New, check entry/return across execve.
17762 (do_syscall_tests): Call test_catch_syscall_execve.
17763
e46eeedd
PA
177642016-01-12 Pedro Alves <palves@redhat.com>
17765
17766 * gdb.base/random-signal.exp (do_test): New procedure, with body
17767 of testcase moved in.
17768
01d8c27e
JK
177692016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17770 Pedro Alves <palves@redhat.com>
17771
17772 * gdb.base/funcargs.exp (finish from indirectly called function):
17773 Reintroduce the case for 'First'.
17774
9a706302
JK
177752016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17776 Pedro Alves <palves@redhat.com>
17777
17778 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17779 (tcatch_vfork_then_child_follow_exec)
17780 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17781 identification.
17782
c0ecb95f
JK
177832016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17784
17785 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17786 and repeats to unlimited.
17787 * gdb.python/py-value.exp: Likewise.
17788 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17789 and repeats to unlimited.
17790
6cfc1fcb
JK
177912016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17792
17793 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17794 and reordering the functions.
17795 * gdb.multi/hangout.c: Likewise.
17796 * gdb.multi/hello.c: Likewise.
17797
582a1b00
SM
177982016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17799
17800 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17801 absolute.
17802 (SingleStatisticTestResult.report): Use dict.keys instead of
17803 dict.iterkeys.
17804
79bc59cb
PA
178052016-01-06 Pedro Alves <palves@redhat.com>
17806
17807 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17808
43368e1d
MM
178092016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17810
17811 * gdb.btrace/dlopen.exp: New.
17812 * gdb.btrace/dlopen.c: New.
17813 * gdb.btrace/dlopen-dso.c: New.
17814
79fad5b8
SL
178152015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17816
17817 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17818 PATTERN argument is optional.
17819
ab8314b3
JB
178202015-12-24 Joel Brobecker <brobecker@adacore.com>
17821
17822 * lib/ada.exp (target_compile_ada_from_dir): New function.
17823 (gdb_compile_ada): Reimplement avoiding the use of project files.
17824 * gdb.ada/gnat_ada.gpr: Delete.
17825 * gdb.ada/cond_lang.exp: Adjust test to make path before
17826 filename optional.
17827 * gdb.ada/small_reg_param.exp: Likewise.
17828
fe33faff
SM
178292015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17830
17831 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17832
6d265cb4
TP
178332015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17834
17835 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17836 case.
17837
10125099
SM
178382015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17839
17840 * gdb.base/break.exp: Remove dead code.
17841 * gdb.base/sepdebug.exp: Likewise.
17842
3ca22649
SM
178432015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17844
17845 * gdb.asm/asm-source.exp: Remove HP-UX references.
17846 * gdb.base/annota1.exp: Likewise.
17847 * gdb.base/annota3.exp: Likewise.
17848 * gdb.base/attach.exp: Likewise.
17849 * gdb.base/bigcore.exp: Likewise.
17850 * gdb.base/break.exp: Likewise.
17851 * gdb.base/call-ar-st.exp: Likewise.
17852 * gdb.base/callfuncs.exp: Likewise.
17853 * gdb.base/catch-fork-static.exp: Likewise.
17854 * gdb.base/display.exp: Likewise.
17855 * gdb.base/foll-exec-mode.exp: Likewise.
17856 * gdb.base/foll-exec.exp: Likewise.
17857 * gdb.base/foll-fork.exp: Likewise.
17858 * gdb.base/foll-vfork.exp: Likewise.
17859 * gdb.base/funcargs.exp: Likewise.
17860 * gdb.base/hbreak2.exp: Likewise.
17861 * gdb.base/inferior-died.exp: Likewise.
17862 * gdb.base/interrupt.exp: Likewise.
17863 * gdb.base/multi-forks.exp: Likewise.
17864 * gdb.base/nodebug.exp: Likewise.
17865 * gdb.base/sepdebug.exp: Likewise.
17866 * gdb.base/solib1.c: Likewise.
17867 * gdb.base/step-test.exp: Likewise.
17868 * gdb.mi/non-stop.c: Likewise.
17869 * gdb.mi/pthreads.c: Likewise.
17870 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17871 * gdb.threads/pthreads.c: Likewise.
17872 * gdb.threads/staticthreads.exp: Likewise.
17873 * lib/future.exp: Likewise.
17874 * lib/gdb.exp: Likewise.
17875 * gdb.base/so-indr-cl.c: Remove.
17876 * gdb.base/so-indr-cl.exp: Likewise.
17877 * gdb.base/solib.c: Likewise.
17878 * gdb.base/solib.exp: Likewise.
17879 * gdb.base/solib2.c: Likewise.
17880
b6304613
SM
178812015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17882
17883 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17884 * gdb.base/call-ar-st.exp: Likewise.
17885 * gdb.base/callfuncs.exp: Likewise.
17886 * gdb.base/condbreak.exp: Likewise.
17887 * gdb.base/constvars.exp: Likewise.
17888 * gdb.base/hbreak2.exp: Likewise.
17889 * gdb.base/langs.exp: Likewise.
17890 * gdb.base/list.exp: Likewise.
17891 * gdb.base/long_long.exp: Likewise.
17892 * gdb.base/ptype.exp: Likewise.
17893 * gdb.base/scope.exp: Likewise.
17894 * gdb.base/signals.exp: Likewise.
17895 * gdb.base/so-impl-ld.exp: Likewise.
17896 * gdb.base/varargs.exp: Likewise.
17897 * gdb.base/volatile.exp: Likewise.
17898 * gdb.base/whatis.exp: Likewise.
17899 * gdb.cp/cplusfuncs.exp: Likewise.
17900 * gdb.cp/inherit.exp: Likewise.
17901 * gdb.cp/local.exp: Likewise.
17902 * gdb.cp/member-ptr.exp: Likewise.
17903 * gdb.cp/method.exp: Likewise.
17904 * gdb.cp/overload.exp: Likewise.
17905 * gdb.cp/templates.exp: Likewise.
17906 * gdb.stabs/weird.exp: Likewise.
17907 * lib/compiler.c: Likewise.
17908 * lib/compiler.cc: Likewise.
17909 * lib/cp-support.exp: Likewise.
17910 * lib/gdb.exp: Likewise.
17911
bf401b07
SM
179122015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17913
17914 * configure.ac: Remove HP-UX case.
17915 * configure: Regenerate.
17916
aff9c0f8
SM
179172015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17918
17919 * lib/gdb.exp (gdb_compile): Add function doc.
17920
a6904d5a
PA
179212015-12-17 Pedro Alves <palves@redhat.com>
17922
17923 PR threads/19354
17924 * gdb.multi/info-threads.exp: New file.
17925
a22279dd
YQ
179262015-12-15 Yao Qi <yao.qi@linaro.org>
17927
17928 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17929 is aarch64*-*-*.
17930
0588c796
SL
179312015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17932
17933 * gdb.base/history-duplicates.exp: Skip if no readline support.
17934
5d978e17
SL
179352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17936
17937 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17938
7e763b86
SL
179392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17940
17941 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17942
87a3a92c
SL
179432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17944
17945 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17946 ctrl-C if nointerrupts target property is set.
17947 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17948 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17949 * gdb.base/paginate-bg-execution.exp: Likewise.
17950 * gdb.base/paginate-execution-startup.exp: Likewise.
17951 * gdb.base/random-signal.exp: Likewise.
17952 * gdb.base/range-stepping.exp: Likewise.
17953 * gdb.cp/annota2.exp: Likewise.
17954 * gdb.cp/annota3.exp: Likewise.
17955 * gdb.gdb/selftest.exp: Likewise.
17956 * gdb.threads/continue-pending-status.exp: Likewise.
17957 * gdb.threads/leader-exit.exp: Likewise.
17958 * gdb.threads/manythreads.exp: Likewise.
17959 * gdb.threads/pthreads.exp: Likewise.
17960 * gdb.threads/schedlock.exp: Likewise.
17961 * gdb.threads/sigthread.exp: Likewise.
17962
a8f077dc
DB
179632015-12-11 Don Breazeal <donb@codesourcery.com>
17964
17965 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17966 remote.
17967 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17968 * gdb.base/foll-exec.exp (main): Enable for target remote.
17969 * gdb.base/foll-fork.exp (main): Likewise.
17970 * gdb.base/foll-vfork.exp (main): Likewise.
17971 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17972 (proc continue_to_exit_bp_loc): Use clean_restart.
17973 * gdb.base/pie-execl.exp (main): Disable for target remote.
17974 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17975 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17976 * gdb.threads/execl.exp (main): Likewise.
17977 * gdb.threads/fork-child-threads.exp (main): Likewise.
17978 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17979 remote.
17980 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17981 remote.
17982 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17983 pid.tid style ptids, instead of just tid.
17984 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17985 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17986 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17987 ptids, instead of just tid.
17988
3b2464a8
AB
179892015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17990
17991 * gdb.base/list.exp (test_list_forward): Add end of file error
17992 test.
17993 (test_repeat_list_command): Add end of file error test.
17994 (test_list_backwards): Add beginning of file error test.
17995
a0def019
AB
179962015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17997
17998 * gdb.base/list.exp (test_list_invalid_args): New function,
17999 defined, and called.
18000
5c000dff
AB
180012015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
18002
18003 * gdb.base/list.exp (test_list): Make test names unique.
18004
f1637ebe
YQ
180052015-12-11 Yao Qi <yao.qi@linaro.org>
18006
18007 * gdb.base/coremaker2.c: Remove.
18008
36d6fc0a
PA
180092015-12-10 Pedro Alves <palves@redhat.com>
18010
18011 * gdb.multi/base.exp: Remove stale "spaces" references.
18012
762f7747
PA
180132015-12-10 Pedro Alves <palves@redhat.com>
18014
18015 * gdb.multi/base.exp: Don't use nowarnings.
18016 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
18017 * gdb.multi/hangout.c: Include stdio.h.
18018 * gdb.multi/hello.c: Include stdlib.h.
18019 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
18020 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
18021 * gdb.multi/multi-arch.exp: Don't use nowarnings.
18022
28d2bfb9
AB
180232015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
18024
18025 * gdb.dwarf2/dw2-ranges-base.c: New file.
18026 * gdb.dwarf2/dw2-ranges-base.exp: New file.
18027 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
18028 support additional line table, and debug ranges generation.
18029 (Dwarf::ranges): New function, generate .debug_ranges.
18030 (Dwarf::lines): Support generating simple line table programs.
18031 (Dwarf::assemble): Initialise new namespace variables.
18032
5fc2beac
KB
180332015-12-09 Kevin Buettner <kevinb@redhat.com>
18034
18035 * gdb.base/async.exp (proc test_background): Add case for
18036 asynchronous execution not supported.
18037
1c35a88f
LM
180382015-12-09 Luis Machado <lgustavo@codesourcery.com>
18039
18040 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
18041 format and change test names to make them unique.
18042
b593e3d9
RK
180432015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
18044 Pedro Alves <pedro@redhat.com>
18045
18046 PR gdb/18702
18047 Add checking of floatformats setup on x86_64 hosts.
18048 * gdb.arch/i386-float.S (main): Load bigval and smallval.
18049 (smallval, bigval): New labels/constants.
18050 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
18051 float" after loading bigval and smallval.
18052
d72413e6
PMR
180532015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
18054
18055 * gdb.ada/fun_overload_menu.exp: New testcase.
18056 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
18057
ece66d65
JS
180582015-12-04 Josh Stone <jistone@redhat.com>
18059
18060 * gdb.base/catch-fork-static.exp: New.
18061
41d0efca
YQ
180622015-12-03 Yao Qi <yao.qi@linaro.org>
18063
18064 * gdb.base/sizeof.c: Don't include stdio.h and
18065 ../lib/unbuffer_output.c.
18066 (main): New variable 'size' and 'value'. Remove printf and
18067 gdb_unbuffer_output. Assign return value to size and value.
18068 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
18069 at the beginning.
18070 (check_sizeof): Check the result by printing variable 'size'.
18071 (check_valueof): Check the result by printing variable 'value'.
18072
99fd02d9
YQ
180732015-12-01 Yao Qi <yao.qi@linaro.org>
18074
18075 * gdb.base/disp-step-syscall.exp: Define syscall instruction
18076 for aarch64*-*-linux* target.
18077
f2faf941
PA
180782015-11-30 Pedro Alves <palves@redhat.com>
18079
18080 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
18081
04bf20c5
PA
180822015-11-30 Pedro Alves <palves@redhat.com>
18083
18084 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
18085 Handle non-stop mode vCont replies.
18086
09df4675
PA
180872015-11-30 Pedro Alves <palves@redhat.com>
18088
18089 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
18090 prepare_for_testing. Start gdb with "set non-stop on" appended to
18091 GDBFLAGS. Lax expected stop output.
18092
58b584af
YQ
180932015-11-27 Yao Qi <yao.qi@linaro.org>
18094
18095 * gdb.arch/arm-neon.exp: New.
18096 * gdb.arch/arm-neon.c: New.
18097
dfcb77a8
YQ
180982015-11-27 Yao Qi <yao.qi@linaro.org>
18099
18100 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
18101
88e8ec1b
YQ
181022015-11-27 Yao Qi <yao.qi@linaro.org>
18103
18104 * gdb.cp/annota2.exp: Allow multiple occurrences of the
18105 frames-invalid annotation.
18106
bfde72c2
YQ
181072015-11-27 Yao Qi <yao.qi@linaro.org>
18108
18109 * gdb.cp/annota2.exp: Use ${frames_invalid}.
18110
f6512a69
SM
181112015-11-26 Simon Marchi <simon.marchi@ericsson.com>
18112
18113 * gdb.threads/names.exp: New file.
18114 * gdb.threads/names.c: New file.
18115 * README: Mention gdb,no_thread_names.
18116
46a3515b
MM
181172015-11-26 Markus Metzger <markus.t.metzger@intel.com>
18118
18119 PR 19297
18120 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
18121 support" error.
18122
62147a22
PA
181232015-11-24 Pedro Alves <palves@redhat.com>
18124
18125 PR 17539
18126 * gdb.base/display.exp: Expect displays to be sorted in ascending
18127 order. Use multi_line.
18128 * gdb.base/solib-display.exp: Likewise.
18129
2f341b6e
PA
181302015-11-24 Pedro Alves <palves@redhat.com>
18131
18132 PR 17539
25d49b86
PA
18133 * gdb.base/display.exp: Expect displays to be sorted in ascending
18134 order. Use multi_line.
18135 * gdb.base/solib-display.exp: Likewise.
2f341b6e 18136
7e0aa6aa
PA
181372015-11-24 Pedro Alves <palves@redhat.com>
18138
18139 PR 17539
18140 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
18141 threads in ascending order.
18142 * gdb.base/foll-fork.exp: Likewise.
18143 * gdb.base/foll-vfork.exp: Likewise.
18144 * gdb.base/multi-forks.exp: Likewise.
18145 * gdb.mi/mi-nonstop.exp: Likewise.
18146 * gdb.mi/mi-nsintrall.exp: Likewise.
18147 * gdb.multi/base.exp: Likewise.
18148 * gdb.multi/multi-arch.exp: Likewise.
18149 * gdb.python/py-inferior.exp: Likewise.
18150 * gdb.threads/break-while-running.exp: Likewise.
18151 * gdb.threads/execl.exp: Likewise.
18152 * gdb.threads/gcore-thread.exp: Likewise.
18153 * gdb.threads/info-threads-cur-sal.exp: Likewise.
18154 * gdb.threads/kill.exp: Likewise.
18155 * gdb.threads/linux-dp.exp: Likewise.
18156 * gdb.threads/multiple-step-overs.exp: Likewise.
18157 * gdb.threads/next-bp-other-thread.exp: Likewise.
18158 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
18159 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
18160 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
18161 * gdb.threads/thread-find.exp: Likewise.
18162 * gdb.threads/tls.exp: Likewise.
18163 * lib/mi-support.exp (mi_reverse_list): Delete.
18164 (mi_check_thread_states): No longer reverse list.
18165
2cc57ad8
PA
181662015-11-24 Pedro Alves <palves@redhat.com>
18167
18168 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
18169 use lowercase.
18170
c93e8391
SM
181712015-11-23 Simon Marchi <simon.marchi@ericsson.com>
18172
18173 * gdb.trace/actions.c: Include trace-common.h.
18174 (main): Add a location for a fast tracepoint.
18175 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
18176 the normal tracepoints.
18177 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
18178
045ccf91
SM
181792015-11-23 Simon Marchi <simon.marchi@ericsson.com>
18180
18181 * save-trace.exp: Factor out code to these...
18182 (gdb_save_tracepoints): New.
18183 (gdb_load_tracepoints): New.
18184 (do_save_load_test): New.
18185
5506f9f6
KB
181862015-11-23 Kevin Buettner <kevinb@redhat.com>
18187
18188 * gdb.base/asmlabel.exp: New test.
18189 * gdb.base/asmlabel.c: New test case.
18190
16c3b12f
JB
181912015-11-23 Joel Brobecker <brobecker@adacore.com>
18192
18193 * gdb.base/wrong_frame_bt_full-main.c: New file.
18194 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
18195 * gdb.base/wrong_frame_bt_full.exp: New file.
18196
155bfbd3
JB
181972015-11-23 Joel Brobecker <brobecker@adacore.com>
18198
18199 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
18200
bb097445
JM
182012015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
18202
206853a0 18203 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
18204 pstate register when comparing registers values in
18205 sparc64-*-linux-gnu targets to avoid spurious differences.
18206
9c88ed8f
JM
182072015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
18208
206853a0 18209 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 18210
96161e25
SL
182112015-11-19 Sandra Loosemore <sandra@codesourcery.com>
18212
18213 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
18214 as type argument to gdb_compile.
18215 * gdb.base/nested-subp2.exp: Likewise.
18216 * gdb.base/nested-subp3.exp: Likewise.
18217
340c2830
DV
182182015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
18219
18220 * lib/dwarf.exp (_note): Fix left shift of negative value.
18221 * gdb.trace/trace-condition.exp: Likewise.
18222
c1862d0f
YQ
182232015-11-13 Yao Qi <yao.qi@linaro.org>
18224
18225 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
18226 comments about d10v.
18227 (test_scalar_returns): Likewise.
18228 * gdb.base/d10v.ld: Remove.
18229 * gdb.base/overlays.exp: Remove the target triplet checking for
18230 d10v-*-*.
18231 * gdb.base/structs.exp (test_struct_returns): Remove the
18232 comments about d10v.
18233 (test_struct_calls): Likewise.
18234
77ae9c19
YQ
182352015-11-13 Yao Qi <yao.qi@linaro.org>
18236
18237 * gdb.base/gnu_vector.exp: Check the return value by "p res".
18238 * gdb.base/gnu_vector.c: Don't include stdio.h.
18239 (main): Don't print res and call add_some_intvecs.
18240
430e004e
MK
182412015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
18242
18243 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
18244 macro.
18245 (func5): Removed.
18246 (func4): Use FAST_TRACEPOINT_LABEL.
18247 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
18248 macro.
18249 (func): Removed.
18250 (thread_function): Use FAST_TRACEPOINT_LABEL.
18251 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
18252 (func): Remove.
18253 (marker): Use FAST_TRACEPOINT_LABEL.
18254 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
18255 (pendfunc1): Remove.
18256 (pendfunc): Use FAST_TRACEPOINT_LABEL.
18257 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
18258 (foo): Remove.
18259 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
18260 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
18261 macro.
18262 (func): Remove.
18263 (marker): Use FAST_TRACEPOINT_LABEL.
18264 * gdb.trace/trace-common.h: New header.
18265 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
18266 macro.
18267 (func): Remove.
18268 (marker): Use FAST_TRACEPOINT_LABEL.
18269 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
18270 (func): Remove.
18271 (thread_function): Use FAST_TRACEPOINT_LABEL.
18272
6e7675a7
MK
182732015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
18274
18275 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
18276 in front.
18277 * gdb.trace/change-loc.exp: Use global pcreg definition.
18278 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
18279 * gdb.trace/entry-values.exp: Use global spreg definition, add $
18280 in front.
18281 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
18282 * gdb.trace/pending.exp: Likewise.
18283 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
18284 * gdb.trace/trace-break.exp: Likewise.
18285 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
18286 in front.
18287 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
18288 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
18289 in front.
18290 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
18291
dddc0e16
JB
182922015-11-09 Joel Brobecker <brobecker@adacore.com>
18293
18294 * gdb.ada/fin_fun_out: New testcase.
18295
c6f0b406
KB
182962015-11-07 Kevin Buettner <kevinb@redhat.com>
18297
18298 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
18299 value associated with DW_AT_byte_size.
18300 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
18301 constants for DW_AT_byte_size, DW_AT_lower_bound, and
18302 DW_AT_upper_bound.
18303
f01dcfd9
KB
183042015-11-07 Kevin Buettner <kevinb@redhat.com>
18305
18306 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
18307 (gdb_target_symbol_prefix_flags): Define in terms of _asm
18308 version.
18309 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
18310 gdb.dwarf2/dw2-canonicalize-type.exp,
18311 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
18312 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
18313 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
18314 provided by gdb_target_symbol_prefix_flags_asm.
18315 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
18316 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
18317 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
18318 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
18319 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
18320 macros where needed). Use this macro for symbols which require
18321 the prefix provided by SYMBOL_PREFIX.
18322
2223449a
KB
183232015-11-05 Kevin Buettner <kevinb@redhat.com>
18324
18325 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
18326 New procs.
18327 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
18328 representing expressions, of more than one list element.
18329 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
18330 to prepend linker symbol prefix to f.
18331 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
18332 table_1 and table_2.
18333 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
18334 Likewise, for f and g.
18335 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
18336 for ptr.
18337 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
18338 for main.
18339 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
18340 table_1_ptr and table_2_ptr.
18341
6f2f1a3a
JK
183422015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18343 Joel Brobecker <brobecker@adacore.com>
18344
18345 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
18346
566c56c9
MK
183472015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
18348
18349 * gdb.reverse/s390-mvcle.c: New test.
18350 * gdb.reverse/s390-mvcle.exp: New file.
18351 * lib/gdb.exp: Enable reverse tests on s390*-linux.
18352
d5f0636b
MK
183532015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18354
18355 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
18356
7ad8b86c
MK
183572015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
18358
18359 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
18360 reaching marker2.
18361 * gdb.reverse/getresuid-reverse.exp: Likewise.
18362 * gdb.reverse/pipe-reverse.exp: Likewise.
18363 * gdb.reverse/readv-reverse.exp: Likewise.
18364 * gdb.reverse/recvmsg-reverse.exp: Likewise.
18365 * gdb.reverse/time-reverse.exp: Likewise.
18366 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
18367
4081c0f1
YQ
183682015-10-30 Yao Qi <yao.qi@linaro.org>
18369
18370 * gdb.threads/wp-replication.c (watch_count_done): Remove.
18371 (empty_cycle): Remove.
18372 (main): Don't call empty_cycle. Don't use watch_count_done.
18373 * gdb.threads/wp-replication.exp: Don't set breakpoint on
18374 empty_cycle. Rewrite the code counting HW watchpoints.
18375
452b4ba5
MK
183762015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
18377
18378 * gdb.reverse/fstatat-reverse.c: New test.
18379 * gdb.reverse/fstatat-reverse.exp: New file.
18380 * gdb.reverse/getresuid-reverse.c: New test.
18381 * gdb.reverse/getresuid-reverse.exp: New file.
18382 * gdb.reverse/pipe-reverse.c: New test.
18383 * gdb.reverse/pipe-reverse.exp: New file.
18384 * gdb.reverse/readv-reverse.c: New test.
18385 * gdb.reverse/readv-reverse.exp: New file.
18386 * gdb.reverse/recvmsg-reverse.c: New test.
18387 * gdb.reverse/recvmsg-reverse.exp: New file.
18388 * gdb.reverse/time-reverse.c: New test.
18389 * gdb.reverse/time-reverse.exp: New file.
18390 * gdb.reverse/waitpid-reverse.c: New test.
18391 * gdb.reverse/waitpid-reverse.exp: New file.
18392
5e2e7507
JK
183932015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
18394
18395 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
18396
0fde2c53
DE
183972015-10-26 Doug Evans <dje@google.com>
18398
18399 PR symtab/17391
18400 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
18401 * gdb.dwarf2/bad-regnum.c: New file.
18402 * gdb.dwarf2/bad-regnum.exp: New file.
18403
1a70ae97
DE
184042015-10-26 Doug Evans <dje@google.com>
18405
18406 PR python/18938
18407 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
18408 file.
18409
27dc26ab
JK
184102015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18411
18412 * gdb.compile/compile.exp (compile code globalvar): Update expectation
18413 for a change by "Mention language in compile error message".
18414
bed91f4d
SM
184152015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
18416
18417 PR python/18073
18418 * gdb.python/py-type.c (C::a_method): New.
18419 (C::a_const_method): New.
18420 (C::a_static_method): New.
18421 (a_function): New.
18422 * gdb.python/py-type.exp (test_fields): Test getting fields
18423 from function and method.
18424
3f2f83dd
KB
184252015-10-21 Keven Boell <keven.boell@intel.com>
18426
18427 * gdb.fortran/vla-alloc-assoc.exp: New file.
18428 * gdb.fortran/vla-datatypes.exp: New file.
18429 * gdb.fortran/vla-datatypes.f90: New file.
18430 * gdb.fortran/vla-history.exp: New file.
18431 * gdb.fortran/vla-ptype-sub.exp: New file.
18432 * gdb.fortran/vla-ptype.exp: New file.
18433 * gdb.fortran/vla-sizeof.exp: New file.
18434 * gdb.fortran/vla-sub.f90: New file.
18435 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
18436 * gdb.fortran/vla-value-sub-finish.exp: New file.
18437 * gdb.fortran/vla-value-sub.exp: New file.
18438 * gdb.fortran/vla-value.exp: New file.
18439 * gdb.fortran/vla-ptr-info.exp: New file.
18440 * gdb.mi/mi-vla-fortran.exp: New file.
18441 * gdb.mi/vla.f90: New file.
18442
27145d50
SL
184432015-10-21 Sandra Loosemore <sandra@codesourcery.com>
18444
18445 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
18446 of hardwired timeout value.
18447
5f3ff4f8
JK
184482015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18449 Pedro Alves <palves@redhat.com>
18450
18451 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
18452 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
18453
bfd09d20
JS
184542015-10-19 Josh Stone <jistone@redhat.com>
18455
18456 * gdb.base/catch-syscall.c: Include <sched.h>.
18457 (unknown_syscall): New variable.
18458 (main): Trigger a vfork and an unknown syscall.
18459 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
18460 (unknown_syscall_number): Likewise.
18461 (check_call_to_syscall): Accept an optional syscall pattern.
18462 (check_return_from_syscall): Likewise.
18463 (check_continue): Likewise.
18464 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
18465 (test_catch_syscall_skipping_return): New test toggling off 'catch
18466 syscall' to step over the syscall return, then toggling back on.
18467 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
18468 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
18469 (do_syscall_tests): Call test_catch_syscall_without_args and
18470 test_catch_syscall_mid_vfork.
18471 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
18472 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
18473
b32b93c6
AS
184742015-10-19 Andrew Stubbs <ams@codesourcery.com>
18475
18476 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
18477 print g_vE): Add new pass patterns.
18478 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
18479 print various symbol names for vptr fields.
18480
9d622bda
AB
184812015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
18482
18483 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
18484 results.
18485
0fd8ac1c
YQ
184862015-10-12 Yao Qi <yao.qi@linaro.org>
18487
18488 * gdb.arch/disp-step-insn-reloc.exp: New test case.
18489
34240514
YQ
184902015-10-12 Yao Qi <yao.qi@linaro.org>
18491
18492 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
18493 is aarch64*-*-linux*.
18494
8240f442
YQ
184952015-10-12 Yao Qi <yao.qi@linaro.org>
18496
18497 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
18498 (can_relocate_bcond_true): ... it.
18499 (can_relocate_bcond_false): New function.
18500 (foo): Likewise.
18501 (can_relocate_bl): Likewise.
18502 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
18503 can_relocate_bl.
18504
2520f728
PMR
185052015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18506
18507 * gdb.base/nested-addr.c: New file.
18508 * gdb.base/nested-addr.exp: New testcase.
18509
abcef95a
MM
185102015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18511
18512 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18513 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18514 its output. Ignore the output of "record goto begin" and instead
18515 check that GDB is replaying.
18516
145e3ddb
PA
185172015-10-09 Pedro Alves <palves@redhat.com>
18518
18519 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18520 (top level): Use it in the run with no args test.
18521
d5d8c4e1
IB
185222015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18523
18524 * gdb.dlang/properties.exp: New file.
18525
06e635ef
SL
185262015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18527
18528 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18529 whether or not address 0x1000 is mapped on the target.
18530
e019fd1d
SM
185312015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18532
18533 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18534 build.
18535
77ba2a67
MM
185362015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18537
18538 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18539 instruction-history test.
18540
c60eb31f
DE
185412015-09-28 Doug Evans <dje@google.com>
18542
18543 * gdb.base/gcore.c (array_func): Add reference to static_array.
18544
9a3c8263
SM
185452015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18546
18547 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18548 source line.
18549
9720e656
SL
185502015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18551
18552 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18553 short or char as base type.
18554
938d3bf2
SL
185552015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18556
18557 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18558 to allow any size enum.
18559
e6c2c623
PMR
185602015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18561
18562 * gdb.ada/array_ptr_renaming.exp: New testcase.
18563 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18564 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18565
06da0f77
PL
185662015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18567
18568 * gdb.trace/ftrace-lock.c: New file.
18569 * gdb.trace/ftrace-lock.exp: New file.
18570
4f51c22a
PL
185712015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18572
18573 * gdb.arch/insn-reloc.c: New file.
18574 * gdb.arch/ftrace-insn-reloc.exp: New file.
18575
7041adf4
PL
185762015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18577
18578 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18579 instruction.
18580 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18581 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18582 * gdb.trace/range-stepping.c: Likewise.
18583 * gdb.trace/trace-break.c: Likewise.
18584 * gdb.trace/trace-mt.c (thread_function): Likewise.
18585 * gdb.trace/ftrace.c (marker): Likewise.
18586 * gdb.trace/trace-condition.c (marker): Likewise.
18587 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18588 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18589 is_aarch64_target.
18590
015d2e7e
DE
185912015-09-18 Doug Evans <xdje42@gmail.com>
18592
18593 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18594 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18595
26b188a2
SL
185962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18597
18598 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18599 the breakpoint.
18600
79dc332b
SL
186012015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18602
18603 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18604 the pending breakpoint. Remove timeout override for "Run till
18605 MI pending breakpoint on pendfunc3 on thread 2" test.
18606
f57929f2
SL
186072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18608
18609 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18610 filename pattern.
18611
3f469b17
SL
186122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18613
18614 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18615 in breakpoint filename pattern.
18616
515b89b3
SL
186172015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18618
7800dbe4
SL
18619 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18620
186212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18622
515b89b3
SL
18623 * gdb.linespec/explicit.exp: Check for readline support for
18624 tab-completion tests. Fix obvious typo.
18625
d2939ba2
MM
186262015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18627
18628 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18629 and replay.
18630
cbb55fa7
MM
186312015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18632
18633 * gdb.btrace/non-stop.c: New.
18634 * gdb.btrace/non-stop.exp: New.
18635
43691ca1
PL
186362015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18637 Yao Qi <yao.qi@linaro.org>
18638
18639 * gdb.trace/trace-condition.c: New file.
18640 * gdb.trace/trace-condition.exp: New file.
18641
d78908cf
WW
186422015-09-16 Wei-cheng Wang <cole945@gmail.com>
18643
18644 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18645 for testing bytecode compilation.
18646
1ed415e2
PA
186472015-09-16 Pedro Alves <palves@redhat.com>
18648 Sandra Loosemore <sandra@codesourcery.com>
18649
18650 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18651 (SECONDS): Redefine.
18652 (main): Call pthread_kill and alarm early.
18653 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18654 support.
18655 (test): If the target can't hardware step and doesn't support
18656 displaced stepping, increase the timeout.
18657
d136eff5
PA
186582015-09-16 Pedro Alves <palves@redhat.com>
18659
18660 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18661 (enable_debug): New procedures.
18662 (test): Use them. Bail out if waiting for threads fails.
18663 (top level): Bail out if a test fails.
18664
991f019c
YQ
186652015-09-16 Yao Qi <yao.qi@linaro.org>
18666
18667 * gdb.asm/asm-source.exp: Set asm-arch for
18668 aarch64*-*-* target.
18669 * gdb.asm/aarch64.inc: New file.
18670
bfca584f
PMR
186712015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18672
18673 * gdb.ada/array_of_variable_length.exp: New testcase.
18674 * gdb.ada/array_of_variable_length/foo.adb: New file.
18675 * gdb.ada/array_of_variable_length/pck.adb: New file.
18676 * gdb.ada/array_of_variable_length/pck.ads: New file.
18677
b326e587
DE
186782015-09-15 Doug Evans <dje@google.com>
18679
18680 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18681 of function static local variable.
18682
5382cfab
PW
186832015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18684
18685 * gdb.threads/tls-so_extern.exp: New test file.
18686 * gdb.threads/tls-so_extern.c: New test file.
18687 * gdb.threads/tls-so_extern_main.c: New test file.
18688
141c5cc4
JK
186892015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18690
18691 * gdb.opt/solib-intra-step-lib.c: New file.
18692 * gdb.opt/solib-intra-step-main.c: New file.
18693 * gdb.opt/solib-intra-step.exp: New file.
18694
d15dcecd
PA
186952015-09-15 Pedro Alves <palves@redhat.com>
18696
18697 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18698 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18699
4c2f2a79
PA
187002015-09-14 Pedro Alves <palves@redhat.com>
18701
18702 * gdb.base/hook-stop-continue.c: Delete.
18703 * gdb.base/hook-stop-continue.exp: Delete.
18704 * gdb.base/hook-stop-frame.c: Delete.
18705 * gdb.base/hook-stop-frame.exp: Delete.
18706 * gdb.base/hook-stop.c: New file.
18707 * gdb.base/hook-stop.exp: New file.
18708
919e6dbe
PMR
187092015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18710
18711 * gdb.ada/access_to_packed_array.exp: New testcase.
18712 * gdb.ada/access_to_packed_array/foo.adb: New file.
18713 * gdb.ada/access_to_packed_array/pack.adb: New file.
18714 * gdb.ada/access_to_packed_array/pack.ads: New file.
18715
157280a4
MM
187162015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18717
18718 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18719 buffer size test.
18720
2fd33e94
DB
187212015-09-11 Don Breazeal <donb@codesourcery.com>
18722
18723 * gdb.base/foll-exec.c: Add copyright header. Fix
18724 formatting issues.
18725 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18726 (do_exec_tests): Use clean_restart in place of zap_session,
18727 and for test initialization. Fix formatting issues. Use
18728 fail in place of perror.
18729 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18730 an expect statement to match an expression with output from
18731 the program under debug.
18732 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18733 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18734 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18735 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18736 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18737
e70b6e8e
DE
187382015-09-09 Doug Evans <dje@google.com>
18739
18740 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18741
7a551a51
DE
187422015-09-09 Doug Evans <dje@google.com>
18743
18744 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18745
4c666f84
DE
187462015-09-09 Doug Evans <dje@google.com>
18747
18748 * gdb.base/savedregs.exp: Fix typo.
18749
243a9253
PA
187502015-09-09 Pedro Alves <palves@redhat.com>
18751
18752 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18753
c0fa8fbd
SL
187542015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18755
18756 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18757 command actually switches threads. Give up on remaining
18758 tests if target fails to stop at breakpoint.
18759
cd7c1778
PMR
187602015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18761
18762 * gdb.ada/funcall_char.exp: New testcase.
18763 * gdb.ada/funcall_char/foo.adb: New file.
18764
dc5c8746
PMR
187652015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18766
18767 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18768 expected outputs. Add two testcases for completing ambiguous
18769 functions.
18770 * gdb.ada/complete/aux_pck.adb: New file.
18771 * gdb.ada/complete/aux_pck.ads: New file.
18772 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18773 Ambiguous_Func functions.
18774 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18775 * gdb.ada/complete/pck.adb: Likewise.
18776
4e83a1e7
UW
187772015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18778
18779 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18780 failures to run the test program under GDB.
18781
8ce74153
LM
187822015-08-26 Luis Machado <lgustavo@codesourcery.com>
18783
18784 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18785 to C.
18786
e9756d52
PP
187872015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18788
18789 * gdb.base/run-after-attach.exp: New test file.
18790 * gdb.base/run-after-attach.c: New test file.
18791
8d37573b
DB
187922015-08-26 Don Breazeal <donb@codesourcery.com>
18793
18794 * gdb.base/foll-exec-2.c: New test program.
18795 * gdb.base/foll-exec-2.exp: New test.
18796
63e43d3a
PMR
187972015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18798
18799 * gdb.base/nested-subp1.exp: New file.
18800 * gdb.base/nested-subp1.c: New file.
18801 * gdb.base/nested-subp2.exp: New file.
18802 * gdb.base/nested-subp2.c: New file.
18803 * gdb.base/nested-subp3.exp: New file.
18804 * gdb.base/nested-subp3.c: New file.
18805
3d40fbb5
PA
188062015-08-24 Pedro Alves <palves@redhat.com>
18807
18808 * gdb.server/connect-without-multi-process.c: New file.
18809 * gdb.server/connect-without-multi-process.exp: New file.
18810
4422ac93
LM
188112015-08-24 Luis Machado <lgustavo@codesourcery.com>
18812
18813 * gdb.opt/inline-markers.c: Make z int.
18814
91dddb86
LM
188152015-08-24 Luis Machado <lgustavo@codesourcery.com>
18816
18817 * gdb.opt/inline-markers.c: Make z volatile.
18818
a48847ee
LM
188192015-08-24 Luis Machado <lgustavo@codesourcery.com>
18820
18821 * gdb.opt/inline-bt.c: New volatile global z.
18822 * gdb.opt/inline-cmds.c: Likewise.
18823 * gdb.opt/inline-locals.c: Likewise.
18824 * gdb.opt/inline-markers.c: New extern global z.
18825 (marker): Use z.
18826 (inline_fn): Likewise.
18827
0ebbc52b
PA
188282015-08-24 Pedro Alves <palves@redhat.com>
18829
18830 * config/m32r-stub.exp: Remove file.
18831 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18832 * gdb.base/call-rt-st.exp: Likewise.
18833 * gdb.base/call-strs.exp: Likewise.
18834 * gdb.base/default.exp: Remove references to h8300-*-hms and
18835 *-*-udi*.
18836 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18837
77c365df
AA
188382015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18839
18840 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18841 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18842 and "return" use KFAIL when GDB can not read/write the vector
18843 return value.
18844
4313b8c0
GB
188452015-08-21 Gary Benson <gbenson@redhat.com>
18846
18847 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18848
0e433b32
PA
188492015-08-20 Pedro Alves <palves@redhat.com>
18850
18851 * gdb.server/solib-list.exp: No longer expect an interior stop in
18852 non-stop mode.
18853
221e1a37
PA
188542015-08-20 Pedro Alves <palves@redhat.com>
18855
18856 * gdb.server/connect-stopped-target.c: New file.
18857 * gdb.server/connect-stopped-target.exp: New file.
18858
40e3ad0e
PA
188592015-08-20 Pedro Alves <palves@redhat.com>
18860
18861 * gdb.dwarf2/comp-unit-lang.exp: New file.
18862 * gdb.dwarf2/comp-unit-lang.c: New file.
18863
af39b327
PMR
188642015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18865
18866 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18867 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18868
7d45c7c3 188692015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18870
7d45c7c3
KB
18871 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18872 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18873
4d6cceb4
DE
188742015-08-18 Doug Evans <dje@google.com>
18875 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18876
18877 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18878 skip_python_tests. New arg prompt_regexp.
18879 (skip_python_tests): New function.
18880 * lib/mi-support.exp (mi_skip_python_tests): New function.
18881 * gdb.python/py-mi-objfile-gdb.py: New file.
18882 * gdb.python/py-mi-objfile.c: New file.
18883 * gdb.python/py-mi-objfile.exp: New file.
18884
ad89c2aa
KS
188852015-08-17 Keith Seitz <keiths@redhat.com>
18886
18887 * gdb.linespec/explicit.exp: Move strace test from here ...
18888 * gdb.trace/strace.exp: ... to here.
18889
e3ae3c43
PP
188902015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18891
18892 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18893 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18894
604b2636
DE
188952015-08-14 Doug Evans <xdje42@gmail.com>
18896
18897 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18898 inferior before selecting a new file.
18899
6ff0ba5f
DE
189002015-08-14 Doug Evans <xdje42@gmail.com>
18901
18902 * gdb.mi/mi-disassemble.exp: Update.
18903 * gdb.base/disasm-optim.S: New file.
18904 * gdb.base/disasm-optim.c: New file.
18905 * gdb.base/disasm-optim.h: New file.
18906 * gdb.base/disasm-optim.exp: New file.
18907
9ca98f92
KS
189082015-08-14 Keith Seitz <keiths@redhat.com>
18909
18910 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18911 "evaluated-by".
18912
52bbc560
JB
189132015-08-13 Joel Brobecker <brobecker@adacore.com>
18914
18915 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18916
5d8c3ed3
PMR
189172015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18918
18919 * gdb.ada/fun_renaming.exp: New testcase.
18920 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18921 * gdb.ada/fun_renaming/pack.adb: New file.
18922 * gdb.ada/fun_renaming/pack.ads: New file.
18923
ea8812bc
KS
189242015-08-12 Keith Seitz <keiths@redhat.com>
18925
18926 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18927 gdb_get_line_number.
18928
4dafcdeb
JB
189292015-08-12 Joel Brobecker <brobecker@adacore.com>
18930
18931 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18932 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18933 gdb.base/dso2dso.exp: New files.
18934
5ba32597
SDJ
189352015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18936 Pedro Alves <palves@redhat.com>
18937 Keith Seitz <keiths@redhat.com>
18938
18939 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18940 GDBFLAGS.
18941
b6dafabf
PP
189422015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18943
18944 * gdb.base/gdbhistsize-history.exp
18945 (test_histsize_history_setting): Use save_vars.
18946 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18947 Use save_vars.
18948 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18949 * gdb.base/readline.exp: Use save_vars.
18950
abe8e607
PP
189512015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18952
18953 * lib/gdb.exp (save_vars): New proc.
18954
629500fa
KS
189552015-08-11 Keith Seitz <keiths@redhat.com>
18956
18957 * gdb.base/help.exp: Update help_breakpoint_text.
18958
eb8c4e2e
KS
189592015-08-11 Keith Seitz <keiths@redhat.com>
18960
18961 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18962 (at toplevel): Call test_explicit_breakpoints.
18963 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18964 breakpoints.
18965 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18966 breakpoint conditions, "-cond".
18967
87f0e720
KS
189682015-08-11 Keith Seitz <keiths@redhat.com>
18969
18970 * gdb.linespec/3explicit.c: New file.
18971 * gdb.linespec/cpexplicit.cc: New file.
18972 * gdb.linespec/cpexplicit.exp: New file.
18973 * gdb.linespec/explicit.c: New file.
18974 * gdb.linespec/explicit.exp: New file.
18975 * gdb.linespec/explicit2.c: New file.
18976 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18977 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18978 before using in the matching pattern.
18979 Clarify that `prefix' is a regular expression.
18980
f00aae0f
KS
189812015-08-11 Keith Seitz <keiths@redhat.com>
18982
18983 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18984 test.
18985 Add tests for missing ",FMT" and ",".
18986
e27852be
DE
189872015-08-10 Doug Evans <dje@google.com>
18988 Keith Seitz <keiths@redhat.com>
18989
18990 PR gdb/17960
18991 * gdb.base/completion.exp: Add location completer tests.
18992
7f03bd92
PA
189932015-08-07 Pedro Alves <palves@redhat.com>
18994
18995 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18996 tests here.
18997 (top level): Run do_test with and without displaced stepping.
18998
3fc8eb30
PA
189992015-08-07 Pedro Alves <palves@redhat.com>
19000
19001 * gdb.base/valgrind-disp-step.c: New file.
19002 * gdb.base/valgrind-disp-step.exp: New file.
19003
d4569d7b
PA
190042015-08-07 Pedro Alves <palves@redhat.com>
19005
19006 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
19007 Delete function.
19008 (main): Add alarm. Run an infinite loop instead of calling
19009 wait_threads.
19010 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
19011 comment.
19012 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
19013 Delete function.
19014 (main): Add alarm. Run an infinite loop instead of calling
19015 wait_threads.
19016 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
19017 comment.
19018
e1316e60
PA
190192015-08-07 Pedro Alves <palves@redhat.com>
19020
19021 * gdb.base/checkpoint-ns.exp: New file.
19022 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
19023 standard_testfile.
19024
da8c46d2
MM
190252015-08-07 Markus Metzger <markus.t.metzger@intel.com>
19026
19027 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
19028 * gdb.btrace/instruction_history.exp: Update.
19029 * gdb.btrace/tsx.exp: New.
19030 * gdb.btrace/tsx.c: New.
19031
de1c2c52
PA
190322015-08-06 Pedro Alves <palves@redhat.com>
19033
19034 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
19035 increase timeout.
19036 * gdb.reverse/until-precsave.exp: Bump timeouts.
19037
782e0bf4
PA
190382015-08-06 Pedro Alves <palves@redhat.com>
19039
19040 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
19041
83e97ed0
PA
190422015-08-06 Pedro Alves <palves@redhat.com>
19043
19044 PR gdb/18749
19045 * gdb.threads/process-dies-while-handling-bp.c: New file.
19046 * gdb.threads/process-dies-while-handling-bp.exp: New file.
19047
863d01bd
PA
190482015-08-06 Pedro Alves <palves@redhat.com>
19049
19050 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
19051 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
19052
0a39bb32
PA
190532015-08-05 Pedro Alves <palves@redhat.com>
19054
19055 * gdb.threads/next-while-other-thread-longjmps.c: New file.
19056 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
19057
ee2d2b10
SL
190582015-08-03 Sandra Loosemore <sandra@codesourcery.com>
19059
19060 * gdb.base/bp-permanent.exp: Report test as unsupported if
19061 the target cannot stop at the permanent breakpoint.
19062
4e1bdb00
DE
190632015-08-03 Doug Evans <dje@google.com>
19064
19065 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
19066 10000.
19067
3d338901
DE
190682015-08-03 Doug Evans <dje@google.com>
19069
19070 * Makefile.in (workers/%.worker, build-perf): New rule.
19071 (GDB_PERFTEST_MODE): New variable.
19072 (check-perf): Use it.
19073 (clean): Clean up gdb.perf parallel build subdirs.
19074 * lib/build-piece.exp: New file.
19075 * lib/gdb.exp (make_gdb_parallel_path): New function
19076 (standard_output_file, standard_temp_file): Call it.
19077 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19078 of $GDB_PARALLEL.
19079 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
19080
af061d3e
DE
190812015-08-03 Doug Evans <dje@google.com>
19082
8e1afc81 19083 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
19084 (LOG_FILE_NAME): New global.
19085 (TextReporter.__init__): Initialize self.txt_sum.
19086 (TextReporter.report): Add support for multiple data-points.
19087 Move report to perftest.sum, put raw data in perftest.log.
19088 (TextReporter.start): Open sum and log files.
19089 (TextReporter.end): Close sum and log files.
8e1afc81
DE
19090 * gdb.perf/lib/perftest/testresult.py
19091 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 19092
2c8c5d37
PA
190932015-07-31 Pedro Alves <palves@redhat.com>
19094
19095 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
19096 Use spawn_id_get_pid. Wait for spawn id after eof. Use
19097 kill_wait_spawned_process instead of explicit "kill -9".
19098 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
19099 returning a spawn id instead of a pid. Use spawn_id_get_pid and
19100 kill_wait_spawned_process.
19101 * gdb.base/attach-twice.exp: Likewise.
19102 * gdb.base/attach.exp: Likewise.
19103 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
19104 gdb_test_multiple.
19105 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
19106 returning a spawn id instead of a pid. Use spawn_id_get_pid and
19107 kill_wait_spawned_process.
19108 * gdb.base/valgrind-infcall.exp: Likewise.
19109 * gdb.multi/multi-attach.exp: Likewise.
19110 * gdb.python/py-prompt.exp: Likewise.
19111 * gdb.python/py-sync-interp.exp: Likewise.
19112 * gdb.server/ext-attach.exp: Likewise.
19113 * gdb.threads/attach-into-signal.exp (corefunc): Use
19114 spawn_wait_for_attach, spawn_id_get_pid and
19115 kill_wait_spawned_process.
19116 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
19117 spawn_wait_for_attach returning a spawn id instead of a pid. Use
19118 spawn_id_get_pid and kill_wait_spawned_process.
19119 * gdb.threads/attach-stopped.exp (corefunc): Use
19120 spawn_wait_for_attach, spawn_id_get_pid and
19121 kill_wait_spawned_process.
19122 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
19123 Use spawn_id_get_pid. Wait for spawn id after eof. Use
19124 kill_wait_spawned_process instead of explicit "kill -9".
19125 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
19126 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
19127 (spawn_wait_for_attach): Use spawn instead of exec to spawn
19128 processes. Don't map cygwin/windows pids here. Now returns a
19129 spawn id list.
19130
032a0fca
SL
191312015-07-30 Sandra Loosemore <sandra@codesourcery.com>
19132
19133 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
19134 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
19135 correct patch.
19136
61a934ca
SL
191372015-07-30 Sandra Loosemore <sandra@codesourcery.com>
19138
19139 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
19140
4bc4d428
SL
191412015-07-30 Sandra Loosemore <sandra@codesourcery.com>
19142
19143 Reapply:
19144 2014-05-21 Mark Wielaard <mjw@redhat.com>
19145
19146 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19147
998d452a
PA
191482015-07-30 Pedro Alves <palves@redhat.com>
19149
19150 * linux-low.c (handle_extended_wait): Set the child's last
19151 reported status to TARGET_WAITKIND_STOPPED.
19152
69dde7dc
PA
191532015-07-30 Pedro Alves <palves@redhat.com>
19154
19155 PR threads/18600
19156 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
19157 only shows inferior 1.
19158
4dd63d48
PA
191592015-07-30 Simon Marchi <simon.marchi@ericsson.com>
19160 Pedro Alves <palves@redhat.com>
19161
19162 PR threads/18600
19163 * gdb.threads/fork-plus-threads.c: New file.
19164 * gdb.threads/fork-plus-threads.exp: New file.
19165
d618e4c5
PP
191662015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19167
19168 * gdb.base/batch-preserve-term-settings.exp
19169 (test_terminal_settings_preserved_after_cli_exit): Use
19170 send_quit_command.
19171
1eef6428
PA
191722015-07-29 Pedro Alves <palves@redhat.com>
19173 Don Breazeal <donb@codesourcery.com>
19174
19175 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
19176 output from both inferior_spawn_id and gdb_spawn_id.
19177
7da5b897
SDJ
191782015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
19179
19180 * gdb.threads/attach-into-signal.exp (corefunc): Use
19181 with_test_prefix on nested loops, uniquefying the test messages.
19182
dac804df
SDJ
191832015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
19184
19185 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
19186 commit.
19187
06265e53
PP
191882015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19189
19190 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
19191 New proc.
19192 (test_terminal_settings_preserved_after_sigterm): New test.
19193
18206ca3
PP
191942015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19195
19196 * gdb.base/batch-preserve-term-settings.exp
19197 (test_terminal_settings_preserved_after_cli_exit): New test.
19198
90074d11
PP
191992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
19200
19201 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
19202 manipulation of saved_gdbflags.
19203 (test_terminal_settings_preserved): Remove global declaration of
19204 the unused variable pagination_prompt. Remove manipulation of
19205 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
19206 GDBFLAGS.
19207
eb1a7902
PA
192082015-07-29 Pedro Alves <palves@redhat.com>
19209
19210 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
19211
8b75dd3b
PA
192122015-07-29 Pedro Alves <palves@redhat.com>
19213
19214 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
19215 at the top.
19216
dedad4e3
PA
192172015-07-29 Pedro Alves <palves@redhat.com>
19218
19219 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
19220 (main): Call gdb_unbuffer_output.
19221 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
19222 (main): Call gdb_unbuffer_output.
19223 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
19224 (main): Call gdb_unbuffer_output.
19225 * gdb.base/call-strs.exp: Adjust to step over the
19226 gdb_unbuffer_output call.
19227 * gdb.base/catch-gdb-caused-signals.c: Include
19228 "../lib/unbuffer_output.c".
19229 (main): Call gdb_unbuffer_output.
19230 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
19231 (main): Call gdb_unbuffer_output.
19232 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
19233 (main): Call gdb_unbuffer_output.
19234 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
19235 (main): Call gdb_unbuffer_output.
19236 * gdb.base/shlib-call.exp: Adjust to step over the
19237 gdb_unbuffer_output call.
19238 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
19239 (main): Call gdb_unbuffer_output.
19240 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
19241 (main): Call gdb_unbuffer_output.
19242 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
19243 (main): Rename to ...
19244 (test): ... this.
19245 (main): Reimplement.
19246 * gdb.base/varargs.exp: Run to test instead of to main.
19247 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
19248 (main): Call gdb_unbuffer_output.
19249
58789a91
PA
192502015-07-29 Pedro Alves <palves@redhat.com>
19251
19252 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
19253 factore out from mi_continue_dprintf. For call-style dprintfs,
19254 expect dprintf output out of $inferior_spawn_id.
19255 (mi_continue_dprintf): Use mi_expect_dprintf.
19256 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
19257 (main): Call gdb_unbuffer_output.
19258
e8376742
PA
192592015-07-29 Pedro Alves <palves@redhat.com>
19260
19261 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
19262 (default_mi_gdb_start): Set inferior_spawn_id instead of
19263 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
19264 gdb_spawn_id.
19265 (mi_gdb_test): Always expect inferior output from both
19266 $inferior_spawn_id and $gdb_spawn_id.
19267
08280010
PA
192682015-07-29 Pedro Alves <palves@redhat.com>
19269
19270 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
19271 send_inferior and $inferior_spawn_id.
19272
4d30e432
PA
192732015-07-29 Pedro Alves <palves@redhat.com>
19274
19275 * gdb.gdb/complaints.exp (test_initial_complaints)
19276 (test_serial_complaints, test_short_complaints): Use
19277 gdb_test_stdio.
19278 (test_empty_complaint): Handle $inferior_spawn_id !=
19279 $gdb_spawn_id.
19280
0d30a335
PA
192812015-07-29 Pedro Alves <palves@redhat.com>
19282
19283 * gdb.base/varargs.exp: Use gdb_test_stdio.
19284
39413b29
PA
192852015-07-29 Pedro Alves <palves@redhat.com>
19286
19287 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
19288
7cb000a9
PA
192892015-07-29 Pedro Alves <palves@redhat.com>
19290
19291 * gdb.base/ending-run.exp: Use gdb_test_stdio.
19292
d7b8ac82
PA
192932015-07-29 Pedro Alves <palves@redhat.com>
19294
19295 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
19296 parameter into two new parameters, "inf_result" and "gdb_result".
19297 Expect inferior output and gdb output from $inferior_spawn_id and
19298 $gdb_spawn_id, respectively. Adjust all callers.
19299
789c3a0c
PA
193002015-07-29 Pedro Alves <palves@redhat.com>
19301
19302 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
19303 of gdb_test_sequence.
19304
77e760c3
PA
193052015-07-29 Pedro Alves <palves@redhat.com>
19306
19307 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
19308 (saw_spurious_output): Expect inferior output from
19309 $inferior_spawn_id. Use gdb_test_stdio.
19310
8396d2cd
PA
193112015-07-29 Pedro Alves <palves@redhat.com>
19312
19313 * gdb.base/dprintf.exp: Use standard_testfile. Change
19314 prepare_for_testing call.
19315 (srcfile): Don't set.
19316 (restart): New procedure.
19317 (test_dprintf): New procecure, use to continue over dprintfs.
19318 (test_call, test_agent): New procedures, tests moved here.
19319 Restart gdb and recreate dprintfs. Adjust expected output.
19320
2051d61f
PA
193212015-07-29 Pedro Alves <palves@redhat.com>
19322
19323 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
19324
452397af
PA
193252015-07-29 Pedro Alves <palves@redhat.com>
19326
19327 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
19328
8aed9555
PA
193292015-07-29 Pedro Alves <palves@redhat.com>
19330
19331 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
19332 gdb_test_stdio.
19333
188a61b4
PA
193342015-07-29 Pedro Alves <palves@redhat.com>
19335
19336 * lib/gdb.exp (gdb_test_stdio): New procedure.
19337
12264a45
PA
193382015-07-29 Pedro Alves <palves@redhat.com>
19339
19340 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
19341
23ffc893
PA
193422015-07-29 Pedro Alves <palves@redhat.com>
19343
19344 * gdb.base/call-signal-resume.exp: Remove check for
19345 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
19346 * gdb.base/unwindonsignal.exp: Likewise.
19347 * gdb.base/call-signals.c (gen_signal): Remove printf call.
19348 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
19349
65566918
PA
193502015-07-29 Pedro Alves <palves@redhat.com>
19351
19352 * gdb.base/siginfo-addr.c (pass): New function.
19353 (handler): Call it iff si_addr is correct.
19354 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
19355 Set a breakpoint at "pass" and continue to it.
19356
d60a9221
SDJ
193572015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
19358
19359 * gdb.python/py-objfile.exp: Make some tests have unique names.
19360 * gdb.python/py-pp-registration.exp: Likewise.
19361
bde40b8f
PA
193622015-07-28 Pedro Alves <palves@redhat.com>
19363
19364 * gdb.server/server-exec-info.exp: Issue a "disconnect".
19365
13e1dec8
SM
193662015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19367
19368 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
19369
da33c9a7
SM
193702015-07-27 Simon Marchi <simon.marchi@ericsson.com>
19371
19372 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
19373
077836f7
PP
193742015-07-27 Patrick Palka <patrick@parcs.ath.cx>
19375
19376 * gdb.base/gdb-sigterm-2.exp: New test.
19377
b8cc7b2e
DE
193782015-07-25 Doug Evans <xdje42@gmail.com>
19379
19380 Revert:
19381 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19382 (workers/%.worker, build-perf): New rule.
19383 (GDB_PERFTEST_MODE): New variable.
19384 (check-perf): Use it.
19385 (clean): Clean up gdb.perf parallel build subdirs.
19386 * lib/build-piece.exp: New file.
19387 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19388 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19389 name.
19390 (standard_temp_file): Ditto.
19391 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19392 of $GDB_PARALLEL.
19393
c8bd4544
DE
193942015-07-24 Doug Evans <dje@google.com>
19395
19396 * gdb.perf/lib/perftest/utils.py: New file.
19397 * gdb.perf/gm-hello.cc: New file.
19398 * gdb.perf/gm-pervasive-typedef.cc: New file.
19399 * gdb.perf/gm-pervasive-typedef.h: New file.
19400 * gdb.perf/gm-std.cc: New file.
19401 * gdb.perf/gm-std.h: New file.
19402 * gdb.perf/gm-use-cerr.cc: New file.
19403 * gdb.perf/gm-utils.h: New file.
19404 * gdb.perf/gmonster-null-lookup.py: New file.
19405 * gdb.perf/gmonster-pervasive-typedef.py: New file.
19406 * gdb.perf/gmonster-print-cerr.py: New file.
19407 * gdb.perf/gmonster-ptype-string.py: New file.
19408 * gdb.perf/gmonster-runto-main.py: New file.
19409 * gdb.perf/gmonster-select-file.py: New file.
19410 * gdb.perf/gmonster1-null-lookup.exp: New file.
19411 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
19412 * gdb.perf/gmonster1-print-cerr.exp: New file.
19413 * gdb.perf/gmonster1-ptype-string.exp: New file.
19414 * gdb.perf/gmonster1-runto-main.exp: New file.
19415 * gdb.perf/gmonster1-select-file.exp: New file.
19416 * gdb.perf/gmonster1.cc: New file.
19417 * gdb.perf/gmonster1.exp: New file.
19418 * gdb.perf/gmonster2-null-lookup.exp: New file.
19419 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
19420 * gdb.perf/gmonster2-print-cerr.exp: New file.
19421 * gdb.perf/gmonster2-ptype-string.exp: New file.
19422 * gdb.perf/gmonster2-runto-main.exp: New file.
19423 * gdb.perf/gmonster2-select-file.exp: New file.
19424 * gdb.perf/gmonster2.cc: New file.
19425 * gdb.perf/gmonster2.exp: New file.
19426
6eab34f3
DE
194272015-07-24 Doug Evans <dje@google.com>
19428
19429 * gdb.perf/README: New file.
19430 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
19431 * lib/gen-perf-test.exp: New file.
19432
63738bfd
DE
194332015-07-24 Doug Evans <dje@google.com>
19434
19435 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
19436 (PerfTest::startup): New function.
19437 (PerfTest::run): Return result of calling body.
19438 (PerfTest::assemble): Rewrite.
19439 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
19440 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
19441 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
19442 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
19443 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
19444
7b606f95
DE
194452015-07-24 Doug Evans <dje@google.com>
19446
19447 * lib/gdb.exp (clean_restart): Make executable optional.
19448
a97b16b8
DE
194492015-07-24 Doug Evans <dje@google.com>
19450
19451 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
19452 compiler_info references.
19453 * gdb.cp/temargs.exp: Ditto.
19454 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
19455 (get_compiler_info): Early exit if already computed. Set compiler_info
19456 to "unknown" if there was a problem.
19457 (test_compiler_info): Add function comment. Call get_compiler_info.
19458
35baa57f
DE
194592015-07-24 Doug Evans <dje@google.com>
19460
19461 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19462 (workers/%.worker, build-perf): New rule.
19463 (GDB_PERFTEST_MODE): New variable.
19464 (check-perf): Use it.
19465 (clean): Clean up gdb.perf parallel build subdirs.
19466 * lib/build-piece.exp: New file.
19467 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19468 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19469 name.
19470 (standard_temp_file): Ditto.
19471 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19472 of $GDB_PARALLEL.
19473
6ebea266
DE
194742015-07-24 Doug Evans <dje@google.com>
19475
19476 * lib/future.exp (gdb_default_target_compile): New option
19477 "early_flags".
19478 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
19479 --as-needed.
19480
1e76a7e9
SDJ
194812015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
19482
19483 * gdb.base/catch-syscall.exp: Call gdb_exit before
19484 gdb_skip_xml_test.
19485
5068630a
PA
194862015-07-24 Pedro Alves <palves@redhat.com>
19487
19488 * gdb.python/py-events.exp: Accept output between the stop event
19489 and the prompt.
19490 * gdb.python/py-evsignal.exp: Likewise.
19491 * gdb.python/py-evthreads.exp: Likewise.
19492
77598427
PA
194932015-07-24 Pedro Alves <palves@redhat.com>
19494
19495 PR gdb/18717
19496 * gdb.threads/non-ldr-exit.c: New file.
19497 * gdb.threads/non-ldr-exit.exp: New file.
19498
11e6c98f
YQ
194992015-07-24 Yao Qi <yao.qi@linaro.org>
19500
19501 * gdb.server/ext-wrapper.exp: Test --wrapper option when
19502 restarting process.
19503
51aee833
YQ
195042015-07-24 Yao Qi <yao.qi@linaro.org>
19505
19506 * gdb.server/ext-restart.exp: New file.
19507
8cfe207c
YQ
195082015-07-24 Yao Qi <yao.qi@linaro.org>
19509
19510 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19511 argument options.
19512 * gdb.server/ext-wrapper.exp: New file.
19513
cc12ce38
DE
195142015-07-23 Doug Evans <dje@google.com>
19515
19516 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19517 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19518
d0d84780
PMR
195192015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19520
19521 * gdb.ada/var_arr_typedef.exp: New testcase.
19522 * gdb.ada/var_arr_typedef/pack.adb: New file.
19523 * gdb.ada/var_arr_typedef/pack.ads: New file.
19524 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19525
8b558f79
JB
195262015-07-20 Joel Brobecker <brobecker@adacore.com>
19527
19528 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19529
775a3298
JK
195302015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19531
19532 * gdb.arch/i386-biarch-core.exp: Replace istarget
19533 by "complete set gnutarget". Remove expectation for the "core-file"
19534 command.
19535
db1ff28b
JK
195362015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19537
19538 Revert the previous commit:
19539 Tests for validate symbol file using build-id.
19540
0a94970d
JK
195412015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19542
19543 Tests for validate symbol file using build-id.
19544 * gdb.base/solib-mismatch-lib.c: New file.
19545 * gdb.base/solib-mismatch-libmod.c: New file.
19546 * gdb.base/solib-mismatch.c: New file.
19547 * gdb.base/solib-mismatch.exp: New file.
19548
03346981
SL
195492015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19550
19551 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19552 nios2-*-linux*.
19553 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19554 * gdb.base/siginfo.exp: Likewise.
19555 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19556
42422cc7
PL
195572015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19558
19559 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19560 Move it to ...
19561 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19562 ... here.
19563 * gdb.trace/range-stepping.exp: Check that the target supports
19564 range stepping.
19565
cfa68bae
JK
195662015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19567
19568 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19569
8ffdba26
PA
195702015-07-14 Pedro Alves <palves@redhat.com>
19571
19572 * gdb.base/killed-outside.exp: New file.
19573 * gdb.base/killed-outside.c: New file.
19574
218a5a11
JK
195752015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19576
19577 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19578 (n at main): New.
19579 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19580
e03ed3c6
AA
195812015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19582
19583 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19584 infcall tests instead of setting up for KFAIL.
19585
485668e5
MM
195862015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19587
19588 * gdb.btrace/record_goto-step.exp: New.
19589
08464196
JK
195902015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19591
19592 PR compile/18484
19593 * gdb.compile/compile.c (struct struct_type): Add volatile to
19594 selffield's type.
19595 * gdb.compile/compile.exp
19596 (compile code struct_object.selffield = &struct_object): Skip further
19597 struct_object tests if this one xfails.
19598
bcf5c1d9
RC
195992015-07-08 Robert O'Callahan <robert@ocallahan.org>
19600
19601 PR exp/18617
19602 * gdb.trace/ax.exp: Add test.
19603
4931af25
YQ
196042015-07-07 Yao Qi <yao.qi@linaro.org>
19605
19606 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19607 instead of istarget "aarch64*-*-*".
19608 * gdb.arch/aarch64-fp.exp: Likewise.
19609 * gdb.base/float.exp: Likewise.
19610 * gdb.reverse/aarch64.exp: Likewise.
19611 * lib/gdb.exp (is_aarch64_target): New proc.
19612
9fcf688e
YQ
196132015-07-07 Yao Qi <yao.qi@linaro.org>
19614
19615 * lib/gdb.exp (is_aarch32_target): New proc.
19616 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19617 instead of "istarget "arm*-*-*"".
19618 * gdb.arch/arm-disp-step.exp: Likewise.
19619 * gdb.arch/thumb-bx-pc.exp: Likewise.
19620 * gdb.arch/thumb-prologue.exp: Likewise.
19621 * gdb.arch/thumb-singlestep.exp: Likewise.
19622 * gdb.base/disp-step-syscall.exp: Likewise.
19623 * gdb.base/float.exp: Likewise.
19624
fbd8d50d
YQ
196252015-07-07 Yao Qi <yao.qi@linaro.org>
19626
19627 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19628 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19629
71be1fdc
YQ
196302015-07-07 Yao Qi <yao.qi@linaro.org>
19631
19632 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19633 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19634 if it exists.
19635 * gdb.multi/multi-arch.exp: Likewise.
19636
3e221d36
SM
196372015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19638
19639 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19640 print.
19641
d441430b
YQ
196422015-07-07 Yao Qi <yao.qi@linaro.org>
19643
19644 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19645
06f810bd
MG
196462015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19647
19648 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19649 '[' and ']' characters.
19650
5e61e7c0
IB
196512015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19652
19653 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19654
28bf096c
PA
196552015-06-29 Pedro Alves <palves@redhat.com>
19656
19657 PR threads/18127
19658 * gdb.threads/hand-call-new-thread.c: New file.
19659 * gdb.threads/hand-call-new-thread.c: New file.
19660
ee93cd5e
KS
196612015-06-26 Keith Seitz <keiths@redhat.com>
19662 Doug Evans <dje@google.com>
19663
19664 PR 16253
19665 * gdb.cp/var-tag-2.cc: New file.
19666 * gdb.cp/var-tag-3.cc: New file.
19667 * gdb.cp/var-tag-4.cc: New file.
19668 * gdb.cp/var-tag.cc: New file.
19669 * gdb.cp/var-tag.exp: New file.
19670
fc637f04
PP
196712015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19672
19673 * gdb.base/history-duplicates.exp: New test.
19674
2e52ae68
PP
196752015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19676
19677 * gdb.base/completion.exp: Test the completion of the "focus"
19678 command.
19679
6e22494e
JK
196802015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19681
19682 * gdb.arch/amd64-prologue-skip.S: New file.
19683 * gdb.arch/amd64-prologue-skip.exp: New file.
19684
bf7b9cd9
SM
196852015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19686
19687 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19688 is_address_zero_readable check.
19689
201e8dfd
PB
196902015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19691
19692 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19693 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19694
5cd867b4
YQ
196952015-06-24 Yao Qi <yao.qi@linaro.org>
19696
19697 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19698 linux targets.
19699
4d7be007
YQ
197002015-06-24 Yao Qi <yao.qi@linaro.org>
19701
19702 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19703 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19704 * gdb.base/siginfo-thread.exp: Likewise.
19705
07fcd301
YQ
197062015-06-22 Yao Qi <yao.qi@linaro.org>
19707
19708 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19709
52042a00
YQ
197102015-06-22 Yao Qi <yao.qi@linaro.org>
19711
19712 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19713 aarch64*-*-*.
19714 (skip_hw_watchpoint_tests): Likewise.
19715
74bd41ce
PP
197162015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19717
19718 * gdb.base/gdbinit-history.exp: Test the interaction between
19719 setting GDBHISTSIZE and setting the history size via .gdbinit.
19720
bc460514
PP
197212015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19722
19723 PR gdb/16999
19724 * gdb.base/gdbhistsize-history.exp: New test.
19725
b58c513b
PP
197262015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19727
19728 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19729 with GDBHISTSIZE.
19730 * gdb.base/readline.exp: Likewise.
19731
92046791
YQ
197322015-06-17 Yao Qi <yao.qi@linaro.org>
19733
19734 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19735 line.
19736
2093d2d3
PP
197372015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19738
19739 * gdb.base/gdbinit-history.exp: Add test case to check that
19740 an unlimited history file does not get truncated on exit.
19741
e6c693af
AA
197422015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19743
19744 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19745 (VECTOR): New macro. Use it...
19746 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19747 ...for these typedefs.
19748 (int8, char1, int1, double1): New typedefs.
19749 (struct just_int2, struct two_int2): New structures.
19750 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19751 (add_structvecs, add_singlevecs): New functions.
19752 (main): Call add_some_intvecs twice.
19753 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19754 the compile and exit upon failure. Try compiling for the "native"
19755 architecture. Test inferior function calls with vector arguments
19756 and vector return value handling with "finish" and "return".
19757
c74f7d1c
JT
197582015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19759
19760 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19761 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19762 PE file.
19763 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19764
98aa42ee
AT
197652015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19766
19767 PR breakpoints/16465
19768 * gdb.mi/mi-dprintf-pending.c: New file.
19769 * gdb.mi/mi-dprintf-pending.exp: New test.
19770 * gdb.mi/mi-dprintf-pendshr.c: New file.
19771
7d73c23c 197722015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 19773 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
19774
19775 * gdb.arch/i386-mpx-map.c: New file.
19776 * gdb.arch/i386-mpx-map.exp: New File.
19777
197782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19779
19780 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19781 * gdb.arch/i386-mpx.exp: Indentation fixed.
19782
197832015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19784
19785 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19786 function and improved indentation.
19787 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19788 gdb_test_multiple. Added additional tests to skip the test.
19789
197902015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19791
19792 * gdb.arch/i386-avx512.c: Change path in include file.
19793 * gdb.arch/i386-avx512.exp: Change include dir path
19794 compilation flag.
19795 * gdb.arch/i386-mpx.c: Change path in include file.
19796 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19797 flag.
19798
d5eba19a
JK
197992015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19800
19801 * gdb.compile/compile-print.exp (compile print *vararray@3)
19802 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19803
7f361056
JK
198042015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19805
19806 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19807 (do not keep jit in memory): ... this.
19808 (expect 5): Change it to ...
19809 (expect no 5): ... this.
19810
3b462ec2
SM
198112015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19812
19813 PR gdb/15564
19814 * gdb.mi/mi-detach.exp: New file.
19815
e0619de6
JK
198162015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19817
19818 PR symtab/18392
19819 * gdb.arch/amd64-tailcall-self.S: New file.
19820 * gdb.arch/amd64-tailcall-self.c: New file.
19821 * gdb.arch/amd64-tailcall-self.exp: New file.
19822
e970cb34
DB
198232015-05-28 Don Breazeal <donb@codesourcery.com>
19824
19825 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19826 tests for remote targets by checking is_target_gdbserver.
19827
b2e2f908
DE
198282015-05-27 Doug Evans <dje@google.com>
19829
19830 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19831 * gdb.dwarf2/opaque-type-lookup.c: New file.
19832 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19833
82c7be31
DE
198342015-05-26 Doug Evans <dje@google.com>
19835
19836 * gdb.cp/iostream.cc: New file.
19837 * gdb.cp/iostream.exp: New file.
19838
b4f54984
DE
198392015-05-26 Doug Evans <dje@google.com>
19840
19841 * gdb.dwarf2/dw2-op-call.exp: Update.
19842 * gdb.dwarf2/dw4-sig-types.exp: Update.
19843 * gdb.dwarf2/implptr.exp: Update.
19844 * gdb.mi/mi-cmd-param-changed.exp: Update.
19845
4ea6efe9
DE
198462015-05-26 Doug Evans <dje@google.com>
19847
19848 * gdb.python/py-lazy-string.c: New file.
19849 * gdb.python/py-lazy-string.exp: New file.
19850 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19851 (main): Update. Add estring3.
19852 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19853 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19854
f6bb7db3
YQ
198552015-05-26 Omair Javaid <omair.javaid@linaro.org>
19856 Yao Qi <yao.qi@linaro.org>
19857
19858 * gdb.reverse/aarch64.c: New.
19859 * gdb.reverse/aarch64.exp: New.
19860
a81bfbd0
OJ
198612015-05-26 Omair Javaid <omair.javaid@linaro.org>
19862
25d49b86
PA
19863 * lib/gdb.exp (supports_process_record): Return true for
19864 aarch64*-linux*.
a81bfbd0
OJ
19865 (supports_reverse): Likewise.
19866
158bf1b4
PP
198672015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19868
19869 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19870 Use with_test_prefix.
19871
a0145030
AB
198722015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19873
19874 * gdb.base/completion.exp: Add test for completion of layout
19875 names.
19876
ebe3b578
AB
198772015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19878
19879 * lib/gdb.exp (skip_tui_tests): New proc.
19880 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19881
84204ed7
PA
198822015-05-19 Pedro Alves <palves@redhat.com>
19883
19884 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19885 Save the whole env array instead of just HOME. Unset HISTSIZE in
19886 the environment while testing. Restore whole environment
19887 afterwards.
19888
37442ce1
DE
198892015-05-16 Doug Evans <xdje42@gmail.com>
19890
19891 * gdb.guile/scm-ports.c: New file.
19892 * gdb.guile/scm-ports.exp: Add memory port tests.
19893
36de76f9
JK
198942015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19895
19896 * gdb.compile/compile-print.c: New file.
19897 * gdb.compile/compile-print.exp: New file.
19898
3a9558c4
JK
198992015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19900
19901 * gdb.compile/compile-ops.exp: Cast param to void.
19902 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19903 (compile code struct_object.selffield = &struct_object): Add xfail.
19904
aa715135
JG
199052015-05-15 Joel Brobecker <brobecker@adacore.com>
19906
19907 * gdb.ada/arr_enum_with_gap: New testcase.
19908
931e5bc3
JG
199092015-05-15 Joel Brobecker <brobecker@adacore.com>
19910
19911 * gdb.ada/byte_packed_arr: New testcase.
19912
9cd4d857
JB
199132015-05-15 Joel Brobecker <brobecker@adacore.com>
19914
19915 * gdb.ada/pckd_neg: New testcase.
19916
ebfd00d2
PP
199172015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19918
19919 PR gdb/17820
19920 * gdb.base/gdbinit-history.exp: New test.
19921 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19922 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19923
4c082a81
SC
199242015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19925
19926 * gdb.python/py-xmethods.cc: Enhance test case.
19927 * gdb.python/py-xmethods.exp: New tests.
19928 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19929 function.
19930 (B_indexoper): Likewise.
19931 (global_dm_list) : Add new xmethod worker functions.
19932
f7797074
SDJ
199332015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19934
19935 * gdb.base/coredump-filter.exp: Correctly unset
19936 "coredump_var_addr" array.
19937
a4674e4e
PA
199382015-05-08 Pedro Alves <palves@redhat.com>
19939
19940 * gdb.server/non-existing-program.exp: Unset spawn_id.
19941
df2eb078
SC
199422015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19943
19944 PR python/18291
19945 * gdb.python/py-xmethods.exp: Add tests.
19946
422349a3
YQ
199472015-05-08 Yao Qi <yao.qi@linaro.org>
19948
19949 PR gdb/18208
19950 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19951 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19952 function set_coredump_filter, and remove remote_exec call.
19953 Remove argument ipid. Callers update.
19954 (top level): Don't get inferior's PID.
19955
63fc80ce
AA
199562015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19957
19958 * gdb.base/watch_thread_num.exp: Skip test on targets without
19959 access watchpoints.
19960
80ad801e
PA
199612015-05-06 Pedro Alves <palves@redhat.com>
19962
19963 PR server/18081
19964 * gdb.server/non-existing-program.exp: New file.
19965
0fa7fe50
JB
199662015-05-05 Joel Brobecker <brobecker@adacore.com>
19967
19968 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19969
3ea89b92
PMR
199702015-05-05 Joel Brobecker <brobecker@adacore.com>
19971
19972 * gdb.ada/out_of_line_in_inlined: New testcase.
19973
87b8eff0
JB
199742015-05-05 Joel Brobecker <brobecker@adacore.com>
19975
19976 * gdb.ada/var_rec_arr: New testcase.
19977
5fccc635
YQ
199782015-04-30 Yao Qi <yao.qi@linaro.org>
19979
19980 * gdb.base/break-idempotent.exp: If
19981 skip_hw_watchpoint_multi_tests returns true, skip the tests
19982 on "rwatch" and "awatch".
19983
42d38f42
YQ
199842015-04-30 Yao Qi <yao.qi@linaro.org>
19985
19986 * gdb.base/relativedebug.exp: Invoke gdb command
19987 "info sharedlibrary", and if libc.so doesn't have debug info,
19988 skip the test.
19989
2ce1cdbf
DE
199902015-04-29 Doug Evans <dje@google.com>
19991
19992 * gdb.python/py-xmethods.exp: Add ptype tests.
19993 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19994 get_result_type method.
19995
f24a38c5
LM
199962015-04-29 Luis Machado <lgustavo@codesourcery.com>
19997
19998 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19999 the target does not support hardware watchpoints.
20000
ecbf2b3c
LM
200012015-04-29 Luis Machado <lgustavo@codesourcery.com>
20002
20003 * gdb.base/break-always.exp: Abort testing if writing to memory
20004 causes an error.
20005
34f5f757
DE
200062015-04-28 Doug Evans <dje@google.com>
20007
20008 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
20009 * gdb.python/py-pp-registration.exp: ... here. New file.
20010 * gdb.python/py-pp-registration.c: New file.
20011 * gdb.python/py-pp-registration.py: New file.
20012
69b4374a
DE
200132015-04-28 Doug Evans <dje@google.com>
20014
20015 * gdb.python/py-bad-printers.c: New file.
20016 * gdb.python/py-bad-printers.py: New file.
20017 * gdb.python/py-bad-printers.exp: New file.
20018
59fb7612
SS
200192015-04-28 Sasha Smundak <asmundak@google.com>
20020
20021 * gdb.python/py-type.exp: New test.
20022
2631b16a
AW
200232015-04-28 Andy Wingo <wingo@igalia.com>
20024
20025 * gdb.python/py-parameter.exp:
20026 * gdb.guile/scm-parameter.exp: Escape the path that we are
20027 matching against, as it might contain characters that are special
20028 to regular expressions.
20029
460efde1
JB
200302015-04-27 Joel Brobecker <brobecker@adacore.com>
20031
20032 * gdb.ada/rec_comp: New testcase.
20033
2d369d8e
SDJ
200342015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
20035
20036 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
20037 before using it.
20038
cf75d6c3
AB
200392015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
20040
20041 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
20042 new tests for verilog output.
20043
8dbe7ca5
YQ
200442015-04-24 Yao Qi <yao.qi@linaro.org>
20045
20046 * boards/remote-gdbserver-on-localhost.exp: New file.
20047
4ef9fb2f
PA
200482015-04-23 Pedro Alves <palves@redhat.com>
20049
20050 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
20051 $inferior_spawn_id instead of $inferior_spawn_id directly. On
20052 "end of file", remove $inferior_spawn_id from the indirect list.
20053
0a803169
PA
200542015-04-23 Pedro Alves <palves@redhat.com>
20055
20056 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
20057
749ef8f8
PA
200582015-04-23 Pedro Alves <palves@redhat.com>
20059
20060 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
20061 on $any_spawn_id instead of only on $gdb_spawn_id.
20062
8aae4344
PM
200632015-04-21 Pierre Muller <muller@sourceware.org>
20064
20065 PR pascal/17815
20066 * lib/pascal.exp (gpc_compile): Add new option "class".
20067 (fpc_compile): Likewise.
20068 * gdb.pascal/case-insensitive-symbols.pas: New file.
20069 * gdb.pascal/case-insensitive-symbols.exp: New file.
20070
1586c8fb
GB
200712015-04-20 Gary Benson <gbenson@redhat.com>
20072
20073 * gdb.base/attach.exp: Fix three extended remote failures.
20074
1b6e6f5c
GB
200752015-04-17 Gary Benson <gbenson@redhat.com>
20076
20077 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
20078 the main executable over the remote protocol.
20079
e797481d
PA
200802015-04-16 Pedro Alves <palves@redhat.com>
20081
20082 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
20083 a new gdbserver if gdbserver_reconnect_p is set.
20084
1ca99c42
PA
200852015-04-16 Pedro Alves <palves@redhat.com>
20086
20087 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
20088 is set, don't exit gdbserver.
20089
af9fd6f8
AA
200902015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
20091
20092 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
20093 appropriate .insn, such that an older assembler can be used.
20094 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
20095 the z/Architecture instruction set on 31-bit targets as well.
20096
04ff1e61
AA
200972015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
20098
20099 * gdb.go/handcall.exp: Remove all logic related to the first
20100 breakpoint and rely on go_runto_main instead.
20101 * gdb.go/strings.exp: Likewise.
20102 * gdb.go/unsafe.exp: Likewise.
20103 * gdb.go/hello.exp: Likewise. Also rename the remaining
20104 breakpoint marker to "breakpoint 1".
20105 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
20106 * gdb.go/strings.go: Likewise.
20107 * gdb.go/unsafe.go: Likewise.
20108 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
20109 "set breakpoint 2 here" and rename the remaining breakpoint marker
20110 to "breakpoint 1".
20111
40d2f8d6
SM
201122015-04-15 Simon Marchi <simon.marchi@ericsson.com>
20113
20114 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
20115 if itertools.imap is not present.
20116 * gdb.python/py-objfile.exp: Add parentheses.
20117 * gdb.python/py-type.exp: Same.
20118 * gdb.python/py-unwind-maint.py: Same.
20119
8cbc97c6
YQ
201202015-04-15 Yao Qi <yao.qi@linaro.org>
20121
20122 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
20123 of ":$ptr_size" and set its form explicitly.
20124
45fd756c
YQ
201252015-04-15 Pedro Alves <palves@redhat.com>
20126 Yao Qi <yao.qi@linaro.org>
20127
20128 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
20129 timeout by factor of 4.
20130 (test_regular_watch): Likewise.
20131 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
20132 * gdb.reverse/sigall-reverse.exp: Likewise.
20133 * gdb.reverse/until-precsave.exp: Likewise.
20134 * lib/gdb.exp (with_timeout_factor): New proc.
20135 (gdb_expect): Move some code to ...
20136 (get_largest_timeout): ... here. New procedure.
20137
9e811bc3
LM
201382015-04-14 Luis Machado <lgustavo@codesourcery.com>
20139
20140 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
20141
0ff6fcb2
LM
201422015-04-13 Luis Machado <lgustavo@codesourcery.com>
20143
20144 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
20145 to write to the .text section.
20146
7578d5f7
LM
201472015-04-13 Luis Machado <lgustavo@codesourcery.com>
20148
20149 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
20150 Handle the case of targets that do not provide PID information.
20151
2efe15c4
YQ
201522015-04-13 Yao Qi <yao.qi@linaro.org>
20153
20154 * lib/gdbserver-support.exp (gdb_exit): Catch exception
20155 and use expect instead of gdb_expect.
20156
8cd8f2f8
SDJ
201572015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
20158
20159 * gdb.base/coredump-filter.exp: Rename variable "addr" to
20160 "coredump_var_addr" to avoid naming conflict with other testcases.
20161
9ee41772
PA
201622015-04-10 Pedro Alves <palves@redhat.com>
20163
20164 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
20165 gdb_test_sequence and gdb_assert.
20166
07473109
PA
201672015-04-10 Pedro Alves <palves@redhat.com>
20168
20169 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
20170 test messages that don't include the breakpoint address.
20171
de3db44c
YQ
201722015-04-10 Yao Qi <yao.qi@linaro.org>
20173
20174 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
20175 false for some offset and width combinations which aren't
20176 supported by linux kernel.
20177
c79d856c
PA
201782015-04-10 Pedro Alves <palves@redhat.com>
20179
20180 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
20181 procedure, factored out from ...
20182 (top level): ... here. Add "set displaced-stepping" testing axis.
20183 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
20184 parameter "displaced". Use it.
20185 (top level): Use foreach and add "set displaced-stepping" testing
20186 axis.
20187
ebc90b50
PA
201882015-04-10 Pedro Alves <palves@redhat.com>
20189
20190 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
20191 Remove comment.
20192 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
20193 both the address of the instruction that triggers the watchpoint
20194 and the address of the instruction immediately after, and use
20195 those addresses for the test. Fix comment.
20196
8f572e5c
PA
201972015-04-10 Pedro Alves <palves@redhat.com>
20198
20199 * gdb.base/sigstep.exp (breakpoint_to_handler)
20200 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
20201 Test "backtrace" in handler.
20202 (breakpoint_over_handler): New parameter 'displaced'. Use it.
20203 (top level): Add new "displaced" test axis to
20204 breakpoint_to_handler, breakpoint_to_handler_entry and
20205 breakpoint_over_handler.
20206
8d707a12
PA
202072015-04-10 Pedro Alves <palves@redhat.com>
20208
20209 PR gdb/18216
20210 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
20211
ef713951
YQ
202122015-04-10 Yao Qi <yao.qi@linaro.org>
20213
20214 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
20215 (test_add_rn_pc): New function.
20216 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
20217 (top level): Invoke test_add_rn_pc.
20218
906d60cf
PA
202192015-04-10 Pedro Alves <palves@redhat.com>
20220
20221 PR gdb/13858
20222 * gdb.base/step-over-no-symbols.exp: New file.
20223
f2983cc3
AW
202242015-04-09 Andy Wingo <wingo@igalia.com>
20225
20226 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
20227 after the Python tests.
20228
6d62641c
SDJ
202292015-04-08 Keith Seitz <keiths@redhat.com>
20230
20231 PR python/16699
20232 * gdb.python/py-completion.exp: New tests for completion.
20233 * gdb.python/py-completion.py (CompleteLimit1): New class.
20234 (CompleteLimit2): Likewise.
20235 (CompleteLimit3): Likewise.
20236 (CompleteLimit4): Likewise.
20237 (CompleteLimit5): Likewise.
20238 (CompleteLimit6): Likewise.
20239 (CompleteLimit7): Likewise.
20240
f3770638
PA
202412015-04-08 Pedro Alves <palves@redhat.com>
20242
20243 PR gdb/18214
20244 PR gdb/18216
20245 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
20246 function.
20247 (main): Install it as SIGUSR1 handler.
20248 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
20249 parameter. Always use "setup" as prefix. Toggle "set
20250 displaced-stepping" off/on depending on global. Don't switch to
20251 thread 1 here.
20252 (top level): Add displaced stepping "off/on" test axis. Update
20253 "setup" calls. Wrap each subtest with with_test_prefix. Test
20254 continuing with a queued signal in each thread.
20255
4496bed7
PA
202562015-04-08 Pedro Alves <palves@redhat.com>
20257
20258 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
20259 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
20260 gdb_breakpoint instead of gdb_test that doesn't expect anything.
20261 Return early if running to main fails.
20262 * gdb.trace/while-stepping.exp: Likewise.
20263
b97fde92
PA
202642015-04-07 Pedro Alves <palves@redhat.com>
20265
20266 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
20267 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
20268 interact with inferior program.
20269
f71c18e7
PA
202702015-04-07 Pedro Alves <palves@redhat.com>
20271
20272 * lib/gdb.exp (inferior_spawn_id): New global.
20273 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
20274 spawn id after processing the user code.
20275 (default_gdb_start): Set inferior_spawn_id.
20276 (send_inferior): New procedure.
20277 * lib/gdbserver-support.exp (gdbserver_start): Set
20278 inferior_spawn_id.
20279 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
20280
6423214f
PA
202812015-04-07 Pedro Alves <palves@redhat.com>
20282
20283 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
20284 * lib/gdbserver-support.exp (gdbserver_start): Make
20285 $server_spawn_id global.
20286 (gdbserver_start): Don't wait for gdbserver's spawn id with
20287 expect_background.
20288 (close_gdbserver): New procedure.
20289 (gdb_exit): Rename the default version and reimplement.
20290
71c0ee8c
PA
202912015-04-07 Pedro Alves <palves@redhat.com>
20292
72f4393d 20293 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
20294 append the substituted item, not the original item.
20295
203bc29b
PA
202962015-04-07 Pedro Alves <palves@redhat.com>
20297
20298 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
20299 gdb_expect.
20300
508a3ddf
PA
203012015-04-07 Pedro Alves <palves@redhat.com>
20302
20303 * gdb.base/interrupt.exp: Don't handle the case of the inferior
20304 output appearing once only.
20305
9f6dbe2b
PA
203062015-04-07 Pedro Alves <palves@redhat.com>
20307
20308 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
20309 that doesn't expect anything. Return early if running to main
20310 fails.
20311
337532fa
YQ
203122015-04-07 Yao Qi <yao.qi@linaro.org>
20313
20314 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
20315 (child_function): Call alarm.
20316 (main): Move call to alarm into the loop.
20317 * gdb.threads/non-stop-fair-events.exp: Build program with
20318 -DTIMEOUT=$timeout.
20319
01b622d4
DE
203202015-04-06 Doug Evans <xdje42@gmail.com>
20321
20322 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
20323 Fix dest parameter to board_info.
20324 (fpc_compile): Ditto.
20325 (gdb_compile_pascal): Rename dest arg to destfile.
20326
961f4160
PMR
203272015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
20328
20329 * gdb.ada/funcall_ref.exp: New file.
20330 * gdb.ada/funcall_ref/foo.adb: New file.
20331
cafda597
YQ
203322015-04-02 Yao Qi <yao.qi@linaro.org>
20333
20334 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
20335 is remote.
20336
fed040c6
GB
203372015-04-02 Gary Benson <gbenson@redhat.com>
20338
20339 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
20340
d11916aa
SS
203412015-04-01 Sasha Smundak <asmundak@google.com>
20342
20343 * gdb.python/py-unwind-maint.c: New file.
20344 * gdb.python/py-unwind-maint.exp: New test.
20345 * gdb.python/py-unwind-maint.py: New file.
20346 * gdb.python/py-unwind.c: New file.
20347 * gdb.python/py-unwind.exp: New test.
20348 * gdb.python/py-unwind.py: New test.
20349
a1471180
PA
203502015-04-01 Pedro Alves <palves@redhat.com>
20351
20352 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
20353 to fail instead of non-existent $test.
20354
0bbeccb1
PA
203552015-04-01 Pedro Alves <palves@redhat.com>
20356
20357 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
20358 GDBFLAGS if not empty.
20359
3c724c8c
PMR
203602015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
20361
20362 * gdb.ada/complete.exp: Remove "multi_line".
20363 * gdb.ada/info_exc.exp: Remove "multi_line".
20364 * gdb.ada/packed_tagged.exp: Remove "multi_line".
20365 * gdb.ada/ptype_field.exp: Remove "multi_line".
20366 * gdb.ada/sym_print_name.exp: Remove "multi_line".
20367 * gdb.ada/tagged.exp: Remove "multi_line".
20368 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
20369 [multi_line ...]
20370 * gdb.btrace/delta.exp: Likewise.
20371 * gdb.btrace/exception.exp: Likewise.
20372 * gdb.btrace/function_call_history.exp: Likewise.
20373 * gdb.btrace/instruction_history.exp: Likewise.
20374 * gdb.btrace/nohist.exp: Likewise.
20375 * gdb.btrace/record_goto.exp: Likewise.
20376 * gdb.btrace/segv.exp: Likewise.
20377 * gdb.btrace/stepi.exp: Likewise.
20378 * gdb.btrace/tailcall.exp: Likewise.
20379 * gdb.btrace/unknown_functions.exp: Likewise.
20380 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
20381 * lib/gdb.exp: Add the "multi_line" helper.
20382
4eec2deb
PA
203832015-04-01 Pedro Alves <palves@redhat.com>
20384
20385 * gdb.threads/tid-reuse.c: New file.
20386 * gdb.threads/tid-reuse.exp: New file.
20387
df8411da
SDJ
203882015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
20389
20390 PR corefiles/16092
20391 * gdb.base/coredump-filter.c: New file.
20392 * gdb.base/coredump-filter.exp: Likewise.
20393
6ef37366
PM
203942015-03-27 Petr Machata <pmachata@redhat.com>
20395
20396 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
20397 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
20398 (Dwarf::assemble): Initialize them.
20399 (Dwarf::lines): New function.
20400
7ec911b0
JT
204012015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
20402
20403 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
20404 SYMBOL_PREFIX for x86_64-*-cygwin.
20405
ff908ebf
AW
204062015-03-26 Andy Wingo <wingo@igalia.com>
20407
20408 PR symtab/18148
20409 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
20410 const_value but not a location.
20411 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
20412 location defined in non-main CUs are visible.
20413
6d5f0679
YQ
204142015-03-26 Yao Qi <yao.qi@linaro.org>
20415
20416 PR testsuite/18139
20417 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
20418 Add a line number entry for the same line.
20419 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
20420 Add a line number entry for the same line.
20421
2898689b
YQ
204222015-03-26 Yao Qi <yao.qi@linaro.org>
20423
20424 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
20425 .int 0.
20426 (func): Likewise. Add .Lfunc_1 label.
20427 Use .Lfunc_1 label.
20428 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
20429 .int 0.
20430 (func): Likewise.
20431 Use .Lfunc_1 label.
20432
85180498
YQ
204332015-03-26 Yao Qi <yao.qi@linaro.org>
20434
20435 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
20436 Call gdb_compile instead to compile each .s files without debug
20437 information.
20438
8aa08a8d
YQ
204392015-03-26 Yao Qi <yao.qi@linaro.org>
20440
20441 * gdb.base/savedregs.exp (process_saved_regs): Make
20442 "Saved registers:" optional in the pattern.
20443
66849923
MM
204442015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20445
20446 * gdb.btrace/next.exp: Merged into step.exp.
20447 * gdb.btrace/finish.exp: Merged into step.exp.
20448 * gdb.btrace/nexti.exp: Merged into stepi.exp.
20449 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
20450 "record goto" and checking the exact replay position.
20451 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
20452 check for "Recording format" in "info record" output.
20453 * gdb.btrace/record_goto.exp: Choose test file based on target.
20454 * gdb.btrace/x86-record_goto.S: Renamed into ...
20455 * gdb.btrace/x86_64-record_goto.S: ... this.
20456 * gdb.btrace/i686-record_goto.S: New.
20457 * gdb.btrace/x86-tailcall.S: Renamed into ...
20458 * gdb.btrace/x86_64-tailcall.S: ... this.
20459 * gdb.btrace/i686-tailcall.S: New.
20460 * gdb.btrace/x86-tailcall.c: Renamed into ...
20461 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
20462 separate statements. Update test.
20463 * gdb.btrace/delta.exp: Use record_goto.c as test file.
20464 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
20465 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
20466 * gdb.btrace/tailcall.exp: Choose test file based on target.
20467 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
20468
11cc1b74
MM
204692015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20470
20471 * gdb.btrace/exception.exp: Increase BTS buffer size.
20472
a25d8bf9
PA
204732015-03-24 Pedro Alves <palves@redhat.com>
20474
20475 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
20476
856e7dd6
PA
204772015-03-24 Pedro Alves <palves@redhat.com>
20478
20479 * gdb.threads/schedlock.exp (test_step): No longer expect that
20480 "set scheduler-locking step" with "next" over a function call runs
20481 threads unlocked.
20482
ad235a41
AT
204832015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20484
20485 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
20486
15630549
AT
204872015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20488
20489 PR breakpoints/16466
20490 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
20491 * gdb.mi/mi-pending.c (thread_func): New function.
20492 (int main): Add threading support required.
20493 * gdb.mi/mi-pending.exp: Add tests for this issue.
20494 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
20495 (pendfunc2): Remove stdio dependency.
20496 * gdb.mi/mi-pendshr2.c: New file.
20497
693dca06
KS
204982015-03-23 Keith Seitz <keiths@redhat.com>
20499
20500 * gdb.linespec/keywords.c: New file.
20501 * gdb.linespec/keywords.exp: New file.
20502
7e993ebf
KS
205032015-03-23 Keith Seitz <keiths@redhat.com>
20504
20505 PR gdb/18021
20506 * gdb.dwarf2/staticvirtual.exp: New test.
20507
bc23328c
JK
205082015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20509
20510 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20511 * README: Remove HP-UX and gdb.hp.
20512 (configuration):
20513 * configure: Regenerate.
20514 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20515 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20516 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20517 gdb.hp/gdb.defects/Makefile.
20518 * gdb.hp/Makefile.in: File deleted.
20519 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20520 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20521 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20522 * gdb.hp/gdb.aCC/run.c: File deleted.
20523 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20524 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20525 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20526 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20527 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20528 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20529 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20530 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20531 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20532 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20533 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20534 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20535 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20536 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20537 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20538 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20539 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20540 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20541 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20542 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20543 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20544 * gdb.hp/gdb.compat/average.c: File deleted.
20545 * gdb.hp/gdb.compat/sum.c: File deleted.
20546 * gdb.hp/gdb.compat/xdb.c: File deleted.
20547 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20548 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20549 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20550 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20551 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20552 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20553 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20554 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20555 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20556 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20557 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20558 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20559 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20560 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20561 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20562 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20563 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20564 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20565 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20566 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20567 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20568 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20569 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20570 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20571 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20572 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20573 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20574 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20575 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20576 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20577 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20578 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20579 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20580 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20581 * gdb.hp/tools/odump: File deleted.
20582
8bf3b159
PA
205832015-03-19 Pedro Alves <palves@redhat.com>
20584
20585 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20586 (saw_thread_3): New globals.
20587 (top level): Increment them when an event for the corresponding
20588 thread is seen.
20589 (no thread starvation): New test.
20590
eb54c8bf
PA
205912015-03-19 Pedro Alves <palves@redhat.com>
20592
20593 * gdb.threads/continue-pending-status.c: New file.
20594 * gdb.threads/continue-pending-status.exp: New file.
20595
32d2e5d6
PA
205962015-03-18 Pedro Alves <palves@redhat.com>
20597
20598 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20599 Use gdb_is_target_remote instead of is_remote. Use
20600 gdb_test_multiple instead of gdb_expect. Exit early if
20601 gdb_test_multiple hits its internal matches. Tighten stepi tests
20602 expected output. Fail on exit with any signal, instead of just
20603 SIGILL.
20604
f68f11b7
YQ
206052015-03-18 Yao Qi <yao.qi@linaro.org>
20606
20607 PR tdep/18107
20608 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20609 variable.
20610 * gdb.base/catch-syscall.exp: Don't skip it on
20611 aarch64*-*-linux* target. Remove elements in all_syscalls.
20612 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20613 target.
20614 (setup_all_syscalls): New proc.
20615
ca5fd19b
YQ
206162015-03-16 Yao Qi <yao.qi@linaro.org>
20617
20618 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20619 (top level): Skip tests if valid_addr_p returns false for
20620 $cmd1 or $cmd2.
20621
85642ba0
AW
206222015-03-11 Andy Wingo <wingo@igalia.com>
20623
20624 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20625
e03f9645
YQ
206262015-03-11 Yao Qi <yao.qi@linaro.org>
20627
20628 * gdb.base/catch-syscall.exp: Fix typo in comments.
20629
5d0962b2
YQ
206302015-03-11 Yao Qi <yao.qi@linaro.org>
20631
20632 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20633
b2df3cef
PA
206342015-03-09 Pedro Alves <palves@redhat.com>
20635
20636 * dg-extract-results.py: Delete.
20637
ef878e53
PA
206382015-03-09 Pedro Alves <palves@redhat.com>
20639
20640 Merge dg-extract-results.sh from GCC upstream (r218843).
20641
20642 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20643 * dg-extract-results.sh: Use --text with grep to avoid issues with
20644 binary files. Fall back to cat -v, if that doesn't work.
20645
9494d219
PA
206462015-03-05 Pedro Alves <palves@redhat.com>
20647
20648 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20649
a8d9763a
SM
206502015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20651
20652 * lib/mi-support.exp (mi_expect_interrupt): Accept
20653 alternative event for when in all-stop mode.
20654
be9957b8
PA
206552015-03-04 Pedro Alves <palves@redhat.com>
20656
20657 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20658
d57be0f4 206592015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
20660
20661 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20662
c214c7cf
AA
206632015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20664
20665 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20666 regexps for GDB's current line display, accept a hex address
20667 preceding the line number.
20668
6d74a497
AA
206692015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20670
20671 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20672 the 'arch1' variable for "s390*-linux*" targets.
20673
511aee7c
PA
206742015-03-04 Pedro Alves <palves@redhat.com>
20675
20676 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20677 (main): Pass missing retval argument to pthread_join call.
20678
95e50b27
PA
206792015-03-02 Pedro Alves <palves@redhat.com>
20680
20681 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20682 (top level): Call do_test with non-stop as well.
20683
28054d69
PA
206842015-03-02 Pedro Alves <palves@redhat.com>
20685
20686 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20687 -1.
20688
4fa5d7b4
AA
206892015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20690
20691 * gdb.arch/s390-vregs.exp: New test.
20692 * gdb.arch/s390-vregs.S: New file.
20693
97c18565
PA
206942015-02-27 Pedro Alves <palves@redhat.com>
20695
20696 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20697 call to catch_command_errors.
20698 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20699 catch_command_errors.
20700
a37bfa30
PA
207012015-02-27 Pedro Alves <palves@redhat.com>
20702
20703 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20704 "true" for boolean result.
20705 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20706 prototype of main.
20707
6f98576f
PA
207082015-02-27 Pedro Alves <palves@redhat.com>
20709
20710 * lib/unbuffer_output.c: New file.
20711 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20712 (main): Call gdb_unbuffer_output.
20713
eba5ab56
YQ
207142015-02-27 Yao Qi <yao.qi@linaro.org>
20715
20716 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20717 target.
20718
0def5aaa
DE
207192015-02-26 Doug Evans <dje@google.com>
20720
20721 * gdb.cp/class2.cc (Dbase, D): New classes.
20722 (main): New local delta.
20723 * gdb.cp/class2.exp: Test printing delta.
20724 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20725 (dynbar): New global.
20726 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20727
081a1c2c
JK
207282015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20729
20730 * gdb.compile/compile-ifunc.c: New file.
20731 * gdb.compile/compile-ifunc.exp: New file.
20732
2f41223f
AT
207332015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20734
20735 * gdb.base/structs.exp: Check for correct struct on finish.
20736
03eddd80
YQ
207372015-02-26 Yao Qi <yao.qi@linaro.org>
20738
20739 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20740 is zero.
20741
80c57053
JK
207422015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20743
20744 * gdb.arch/cordic.ko.bz2: New file.
20745 * gdb.arch/cordic.ko.debug.bz2: New file.
20746 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20747
21613c12
YQ
207482015-02-25 Yao Qi <yao.qi@linaro.org>
20749
20750 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20751 aarch64*-*-* target.
20752
d8b901ed
PA
207532015-02-23 Pedro Alves <palves@redhat.com>
20754
20755 * lib/gdb.exp (delete_breakpoints): Rewrite using
20756 gdb_test_multiple.
20757
e5b85ead
PA
207582015-02-23 Pedro Alves <palves@redhat.com>
20759
20760 * gdb.base/info-os.c: Include stdlib.h.
20761
85c3a371
DE
207622015-02-22 Doug Evans <xdje42@gmail.com>
20763
20764 PR symtab/17855
20765 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20766 is read after symbols have been re-read.
20767 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20768 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20769
96553a0c
DE
207702015-02-21 Doug Evans <dje@google.com>
20771
20772 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20773
97a0c697
JK
207742015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20775
20776 PR corefiles/17808
20777 * gdb.arch/i386-biarch-core.core.bz2: New file.
20778 * gdb.arch/i386-biarch-core.exp: New file.
20779
a47cd6e9
PA
207802015-02-21 Pedro Alves <palves@redhat.com>
20781
20782 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20783 runto_main fails.
20784
c5facdc4
PA
207852015-02-20 Pedro Alves <palves@redhat.com>
20786
20787 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20788 info probes.
20789
2db9a427
PA
207902015-02-20 Pedro Alves <palves@redhat.com>
20791
20792 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20793
60fb7e9e
PA
207942015-02-20 Pedro Alves <palves@redhat.com>
20795
20796 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20797 clean_restart before gdb_target_supports_trace.
20798
5c5019c2
PA
207992015-02-20 Pedro Alves <palves@redhat.com>
20800
20801 PR threads/18006
20802 * gdb.threads/clone-thread_db.c: New file.
20803 * gdb.threads/clone-thread_db.exp: New file.
20804
c9587f88
AT
208052015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20806
20807 PR breakpoints/16812
20808 * gdb.base/catch-gdb-caused-signals.c: New file.
20809 * gdb.base/catch-gdb-caused-signals.exp: New file.
20810
f6a88844
JM
208112015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20812
20813 * configure: Regenerated.
20814 * configure.ac: Use GDB_AC_TRANSFORM.
20815 * aclocal.m4: sinclude ../transform.m4.
20816
497c491b
JM
208172015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20818
20819 * lib/dtrace.exp: New file.
20820 * gdb.base/dtrace-probe.exp: Likewise.
20821 * gdb.base/dtrace-probe.d: Likewise.
20822 * gdb.base/dtrace-probe.c: Likewise.
20823 * lib/pdtrace.in: Likewise.
20824 * configure.ac: Output variables with the transformed names of
20825 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20826 * configure: Regenerated.
20827
03e98035
JM
208282015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20829
20830 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20831 expected message when trying to access $_probe_* convenience
20832 variables while not on a probe.
20833
63cc30e9
JK
208342015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20835
20836 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20837
0703599a
PA
208382015-02-11 Pedro Alves <pedro@codesourcery.com>
20839
20840 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20841 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20842
7e60a48e
DE
208432015-02-10 Doug Evans <xdje42@gmail.com>
20844
20845 * lib/gdb.exp (gdb_load): Always return a result.
20846
01b088bc
PA
208472015-02-10 Pedro Alves <palves@redhat.com>
20848
20849 * gdb.threads/signal-sigtrap.c: New file.
20850 * gdb.threads/signal-sigtrap.exp: New file.
20851
b05ec7a5
AT
208522015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20853
20854 * gdb.trace/no-attach-trace.c: New file.
20855 * gdb.trace/no-attach-trace.exp: New file.
20856
a2c2acaf
MW
208572015-02-09 Mark Wielaard <mjw@redhat.com>
20858
20859 * gdb.dwarf2/atomic.c: New file.
20860 * gdb.dwarf2/atomic-type.exp: Likewise.
20861
31fd9caa
MM
208622015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20863
20864 * gdb.btrace/buffer-size.exp: Update "info record" output.
20865 * gdb.btrace/delta.exp: Update "info record" output.
20866 * gdb.btrace/enable.exp: Update "info record" output.
20867 * gdb.btrace/finish.exp: Update "info record" output.
20868 * gdb.btrace/instruction_history.exp: Update "info record" output.
20869 * gdb.btrace/next.exp: Update "info record" output.
20870 * gdb.btrace/nexti.exp: Update "info record" output.
20871 * gdb.btrace/step.exp: Update "info record" output.
20872 * gdb.btrace/stepi.exp: Update "info record" output.
20873 * gdb.btrace/nohist.exp: Update "info record" output.
20874
d33501a5
MM
208752015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20876
20877 * gdb.btrace/buffer-size: New.
20878
f4abbc16
MM
208792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20880
20881 * gdb.btrace/delta.exp: Update "info record" output.
20882 * gdb.btrace/enable.exp: Update "info record" output.
20883 * gdb.btrace/finish.exp: Update "info record" output.
20884 * gdb.btrace/instruction_history.exp: Update "info record" output.
20885 * gdb.btrace/next.exp: Update "info record" output.
20886 * gdb.btrace/nexti.exp: Update "info record" output.
20887 * gdb.btrace/step.exp: Update "info record" output.
20888 * gdb.btrace/stepi.exp: Update "info record" output.
20889 * gdb.btrace/nohist.exp: Update "info record" output.
20890
b9d61307
SM
208912015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20892
20893 PR gdb/15678
20894 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20895
e584fdbc
PA
208962015-02-06 Pedro Alves <palves@redhat.com>
20897
20898 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20899 macro.
20900 (seconds_left, again): New globals.
20901 (main): Wait seconds_left in a 1-second sleep loop instead of
20902 sleeping 180 seconds. If 'again' is set, reset the seconds
20903 counter.
20904 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20905 'again' in the inferior before detaching. Print the seconds left.
20906 (options): New global.
20907 (top level): Build program with -DTIMEOUT=$timeout.
20908
77f41761
PA
209092015-02-06 Pedro Alves <palves@redhat.com>
20910
20911 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20912 determine how many seconds to pass to 'alarm'.
20913 * gdb.base/gdb-sigterm.exp (top level): Build program with
20914 -DTIMEOUT=$timeout.
20915 (do_test): Return success/failure indication. Add more verbose
20916 logging. Don't fail if 200 single steps are seen. Instead, fail
20917 when the test times out.
20918 (passes): New global.
20919 (top level): Break the testing loop if testing fails on any
20920 iteration. Use gdb_assert.
20921
b9394193
DB
209222015-02-04 Don Breazeal <donb@codesourcery.com>
20923
20924 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20925 and initialize them.
20926 (ipc_cleanup): New function.
20927 (main): Don't declare shmid, semid, and msqid. Add a call to
20928 atexit so that we call ipc_cleanup on exit.
20929
42d9e528
PA
209302015-02-04 Pedro Alves <palves@redhat.com>
20931
20932 * boards/native-extended-gdbserver.exp: Remove any target variant
20933 specifications from the board name before clearing the isremote
20934 flag from board_info.
20935
ae6ae975
DE
209362015-01-31 Doug Evans <xdje42@gmail.com>
20937
20938 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20939
cfb069a8
GB
209402015-01-31 Gary Benson <gbenson@redhat.com>
20941
20942 * gdb.base/completion.exp: Disable completion limiting for
20943 existing tests. Add new tests to check completion limiting.
20944 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20945
5dd31d79
DE
209462015-01-31 Doug Evans <xdje42@gmail.com>
20947
20948 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20949
9f050062
DE
209502015-01-31 Doug Evans <xdje42@gmail.com>
20951
20952 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20953 entries. Duplicate file section script entries.
20954 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20955 inlined entries. Add test for safe-path rejection.
20956 * gdb.python/py-section-script.c: Add duplicate inlined section script
20957 entries. Duplicate file section script entries.
20958 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20959 inlined entries. Add test for safe-path rejection.
20960
df25ebbd
JB
209612015-01-29 Joel Brobecker <brobecker@adacore.com>
20962
20963 * gdb.ada/disc_arr_bound: New testcase.
20964
4a0ca9ec
JB
209652015-01-29 Joel Brobecker <brobecker@adacore.com>
20966
20967 * gdb.ada/mi_var_array: New testcase.
20968
3a8b707a
DE
209692015-01-27 Doug Evans <dje@google.com>
20970
20971 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20972 Add test for objfile.filename, objfile.username after objfile
20973 has been unloaded.
20974
f8313f6e
JB
209752015-01-26 Joel Brobecker <brobecker@adacore.com>
20976
20977 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20978 the second test to print the name attribute of value
20979 returned by the call to gdb.lookup_type, and adjust
20980 the expected output accordingly.
20981
37bc665e
MW
209822015-01-25 Mark Wielaard <mjw@redhat.com>
20983
20984 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20985 * gdb.base/disp-step-fork.c: Include unistd.h.
20986 * gdb.base/siginfo-obj.c: Include stdio.h.
20987 * gdb.base/siginfo-thread.c: Likewise.
20988 * gdb.mi/non-stop.c: Include unistd.h.
20989 * gdb.mi/nsthrexec.c: Include stdio.h.
20990 * gdb.mi/pthreads.c: Include unistd.h.
20991 * gdb.modula2/unbounded1.c (main): Declare returns int.
20992 * gdb.reverse/consecutive-reverse.c: Likewise.
20993 * gdb.threads/create-fail.c: Include unistd.h.
20994 * gdb.threads/killed.c: Likewise.
20995 * gdb.threads/linux-dp.c: Likewise.
20996 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20997 * gdb.threads/non-ldr-exc-2.c: Likewise.
20998 * gdb.threads/non-ldr-exc-3.c: Likewise.
20999 * gdb.threads/non-ldr-exc-4.c: Likewise.
21000 * gdb.threads/pthreads.c: Include unistd.h.
21001 (main): Declare returns int.
21002 * gdb.threads/tls-main.c (foo): New declaration.
21003 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
21004
f7e5394d
SM
210052015-01-23 Simon Marchi <simon.marchi@ericsson.com>
21006
21007 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
21008 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
21009
743649fd
MW
210102015-01-15 Mark Wielaard <mjw@redhat.com>
21011
21012 * gdb.base/noreturn-return.c: New file.
21013 * gdb.base/noreturn-return.exp: New file.
21014 * gdb.base/noreturn-finish.c: New file.
21015 * gdb.base/noreturn-finish.exp: New file.
21016
198297aa
PA
210172015-01-23 Pedro Alves <palves@redhat.com>
21018
21019 * gdb.threads/continue-pending-after-query.c: New file.
21020 * gdb.threads/continue-pending-after-query.exp: New file.
21021
717cf30c
AG
210222015-01-22 Anders Granlund <anders.granlund@ericsson.com>
21023 Simon Marchi <simon.marchi@ericsson.com>
21024
21025 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
21026 * gdb.base/valgrind-db-attach.exp: Same.
21027 * gdb.base/valgrind-infcall.exp: Same.
21028 * lib/mi-support.exp (default_mi_gdb_start): Same.
21029 * lib/prompt.exp (default_prompt_gdb_start): Same.
21030 * lib/gdb.exp (default_gdb_spawn): Same.
21031 (gdb_interact): New.
21032
21033
4b62a76e
JK
210342015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21035
21036 * gdb.compile/compile.exp (pointer to jit function): New test.
21037
b4cdae6f
WW
210382015-01-17 Wei-cheng Wang <cole945@gmail.com>
21039
21040 * lib/gdb.exp (supports_process_record): Return true for
21041 powerpc*-*-linux*.
21042 (supports_reverse): Likewise.
21043
d221e7ef
DB
210442015-01-15 Don Breazeal <donb@codesourcery.com>
21045
21046 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
21047 instead of checking whether the target board is remote and
21048 use spawn_wait_for_attach instead of exec/sleep.
21049 * gdb.base/attach-twice.exp: Likewise.
21050
bafffb51
JB
210512015-01-15 Joel Brobecker <brobecker@adacore.com>
21052
21053 * gdb.ada/var_arr_attrs: New testcase.
21054
5589af0e
PA
210552015-01-14 Pedro Alves <palves@redhat.com>
21056 Joel Brobecker <brobecker@adacore.com>
21057
21058 PR gdb/17525
21059 * gdb.base/bp-cmds-execution-x-script.c: New file.
21060 * gdb.base/bp-cmds-execution-x-script.exp: New file.
21061 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
21062
6c400b59
PA
210632015-01-14 Pedro Alves <palves@redhat.com>
21064
21065 PR cli/17828
21066 * gdb.base/batch-preserve-term-settings.c: New file.
21067 * gdb.base/batch-preserve-term-settings.exp: New file.
21068
e02c96a7
DE
210692015-01-13 Doug Evans <dje@google.com>
21070
21071 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
21072 binary.
21073
576fd14c
JB
210742015-01-13 Joel Brobecker <brobecker@adacore.com>
21075
21076 * Makefile.in (clean mostlyclean): Do not delete *.py.
21077
04dccad0
JB
210782015-01-13 Joel Brobecker <brobecker@adacore.com>
21079
21080 * gdb.python/py-lookup-type.exp: New file.
21081
3d230f71
PA
210822015-01-12 Pedro Alves <palves@redhat.com>
21083
21084 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
21085 restore GDBFLAGS before returning.
21086
7e67715d
JK
210872015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21088
21089 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
21090 is_amd64_regs_target and is_x86_like_target.
21091
f2e0d4b4
DE
210922015-01-11 Doug Evans <xdje42@gmail.com>
21093
21094 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
21095 is given without an explicit form.
21096 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
21097 attributes.
21098 * gdb.dwarf/corrupt.exp: Ditto.
21099 * gdb.dwarf2/enum-type.exp: Ditto.
21100 * gdb.trace/entry-values.exp: Ditto.
21101 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
21102
439250fb
DE
211032015-01-11 Doug Evans <xdje42@gmail.com>
21104
21105 PR gdb/15830
21106 * gdb.base/maint.exp: Remove references to "maint demangle".
21107 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
21108 Add tests for explicitly specifying language to demangle.
21109 * gdb.dlang/demangle.exp: Ditto.
21110
ede9f622
PA
211112015-01-09 Pedro Alves <palves@redhat.com>
21112
21113 * gdb.threads/non-stop-fair-events.c: New file.
21114 * gdb.threads/non-stop-fair-events.exp: New file.
21115
a7b796db
PA
211162015-01-09 Pedro Alves <palves@redhat.com>
21117
21118 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
21119 the global scope. Set a breakpoint after all threads are started
21120 rather than stepping over two source lines. Expect the prompt.
21121 * gdb.base/watch_thread_num.c (threads_started_barrier): New
21122 global.
21123 (NUM): Now 15.
21124 (main): Use threads_started_barrier to wait for all threads to
21125 start. Main thread no longer calls thread_function. Exit after
21126 180 seconds.
21127 (loop): New function.
21128 (thread_function): Wait on threads_started_barrier barrier. Call
21129 'loop' at each iteration.
21130 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
21131 threads have started, instead of hardcoding number of "next"
21132 steps. Use an access watchpoint instead of a write watchpoint.
21133
9665ffdd
PA
211342015-01-09 Pedro Alves <palves@redhat.com>
21135
21136 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
21137 (thread_func): Wait on barrier.
21138 (main): Wait for all threads to start before stopping GDB.
21139 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
21140 global.
21141 (thread1_func, thread2_func): Wait on barrier.
21142 (main): Wait for all threads to start before stopping GDB.
21143 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
21144 New global.
21145 (thread1_func, thread2_func): Wait on barrier.
21146 (main): Wait for all threads to start before stopping GDB.
21147
c945a99f
PA
211482015-01-09 Pedro Alves <palves@redhat.com>
21149
21150 * gdb.threads/attach-many-short-lived-threads.c: New file.
21151 * gdb.threads/attach-many-short-lived-threads.exp: New file.
21152
c1a747c1
PA
211532014-01-09 Pedro Alves <palves@redhat.com>
21154
21155 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
21156 instead of to thread 2.
21157 * gdb.threads/signal-command-multiple-signals-pending.c (main):
21158 Add barrier around each pthread_create call instead of around all
21159 calls.
21160 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
21161 Set a break on thread_function and have the child threads hit it
21162 one at at a time.
21163
60b3033e
PA
211642015-01-09 Pedro Alves <palves@redhat.com>
21165
21166 * lib/gdb.exp (can_spawn_for_attach): New procedure.
21167 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
21168 false.
21169 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
21170 checking whether the target board is remote.
21171 * gdb.multi/multi-attach.exp: Likewise.
21172 * gdb.python/py-sync-interp.exp: Likewise.
21173 * gdb.server/ext-attach.exp: Likewise.
21174 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
21175 tests that need to attach, instead of checking whether the target
21176 board is remote at the top of the file.
21177
acc018ac
YQ
211782015-01-08 Yao Qi <yao@codesourcery.com>
21179
21180 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
21181
50a18af8
JK
211822015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21183
21184 Fix testcase compilation.
21185 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
21186
8503d6e1
JB
211872015-01-06 Joel Brobecker <brobecker@adacore.com>
21188
21189 * gdb.python/py-type.exp: Add a couple test about empty
21190 array creation, and negative-length array creation.
21191
cc73dbcc
DE
211922015-01-02 Doug Evans <xdje42@gmail.com>
21193
21194 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
21195
0300bbc7
DE
211962015-01-02 Doug Evans <dje@google.com>
21197
21198 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
21199
9d85a0ec
YQ
212002014-12-29 Yao Qi <yao@codesourcery.com>
21201
21202 * gdb.trace/entry-values.exp: Update comments. Rename variable
21203 bar_call_foo to returned_from_foo.
21204
87186c6a
MMN
212052014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
21206
21207 PR gdb/17394
21208 * gdb.linespec/break-asm-file.c: New file.
21209 * gdb.linespec/break-asm-file.exp: New file.
21210 * gdb.linespec/break-asm-file0.s: New file.
21211 * gdb.linespec/break-asm-file1.s: New file.
21212
1bab7383
YQ
212132014-12-18 Nigel Stephens <nigel@mips.com>
21214 Maciej W. Rozycki <macro@codesourcery.com>
21215
21216 * gdb.base/float.exp: Handle the new output from "info float" on
21217 MIPS targets.
21218
1bc1068a
JK
212192014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21220
21221 Fix MinGW compilation.
21222 * gdb.compile/compile-ops.exp: Update untested message if
21223 !skip_compile_feature_tests.
21224 * gdb.compile/compile-setjmp.exp: Likewise.
21225 * gdb.compile/compile-tls.exp: Likewise.
21226 * gdb.compile/compile.exp: Likewise.
21227 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
21228 supported on this host".
21229
b6615d10
DE
212302014-12-16 Doug Evans <xdje42@gmail.com>
21231
21232 * boards/stabs.exp: New file.
21233
25dda427
AA
212342014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
21235
21236 * gdb.base/completion.exp: Adjust to format changes of "maint
21237 print user-registers".
21238
bf330350
CU
212392014-12-16 Catalin Udma <catalin.udma@freescale.com>
21240
21241 PR server/17457
21242 * gdb.arch/aarch64-fp.c: New file.
21243 * gdb.arch/aarch64-fp.exp: New file.
21244
395cf596
SDJ
212452014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
21246
21247 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
21248 r210637, r210913, r211666, r215400, r215817).
21249
21250 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
21251 * dg-extract-results.py: New file.
21252 * dg-extract-results.sh: Use it if the environment seems
21253 suitable.
21254
21255 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
21256
21257 * dg-extract-results.py (parse_run): Handle warnings that
21258 are printed before a test harness is run.
21259
21260 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
21261
21262 * dg-extract-results.py (Named): Remove __cmp__ method.
21263 (output_variation): Use a key to sort variation.harnesses.
21264
21265 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
21266
21267 * dg-extract-results.py: For Python 3, force sys.stdout to
21268 handle surrogate escape sequences.
21269 (safe_open): New function.
21270 (output_segment, main): Use it.
21271
21272 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
21273
21274 * dg-extract-results.py (Prog.result_re): Include options
21275 in test name.
21276
21277 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
21278
21279 * dg-extract-results.py (output_variation): Always sort if
21280 do_sum.
21281
e882ef3c
SM
212822014-12-15 Simon Marchi <simon.marchi@ericsson.com>
21283
21284 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
21285 as long as we get pagination notifications.
21286
4992aa20
JM
212872014-12-15 Jason Merrill <jason@redhat.com>
21288
21289 * Makefile.in (check-gdb.%): Restore.
21290 * README: Mention it.
21291
c1b5a1a6
JB
212922014-12-13 Joel Brobecker <brobecker@adacore.com>
21293
21294 * gdb.ada/str_uninit: New testcase.
21295
5537b577
JK
212962014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21297
21298 PR symtab/17642
21299 * gdb.base/vla-stub-define.c: New file.
21300 * gdb.base/vla-stub.c: New file.
21301 * gdb.base/vla-stub.exp: New file.
21302
bb2ec1b3
TT
213032014-12-12 Phil Muldoon <pmuldoon@redhat.com>
21304 Jan Kratochvil <jan.kratochvil@redhat.com>
21305 Tom Tromey <tromey@redhat.com>
21306
21307 * configure.ac: Add gdb.compile/.
21308 * configure: Regenerate.
21309 * gdb.compile/Makefile.in: New file.
21310 * gdb.compile/compile-ops.exp: New file.
21311 * gdb.compile/compile-ops.c: New file.
21312 * gdb.compile/compile-tls.c: New file.
21313 * gdb.compile/compile-tls.exp: New file.
21314 * gdb.compile/compile-constvar.S: New file.
21315 * gdb.compile/compile-constvar.c: New file.
21316 * gdb.compile/compile-mod.c: New file.
21317 * gdb.compile/compile-nodebug.c: New file.
21318 * gdb.compile/compile-setjmp-mod.c: New file.
21319 * gdb.compile/compile-setjmp.c: New file.
21320 * gdb.compile/compile-setjmp.exp: New file.
21321 * gdb.compile/compile-shlib.c: New file.
21322 * gdb.compile/compile.c: New file.
21323 * gdb.compile/compile.exp: New file.
21324 * lib/gdb.exp (skip_compile_feature_tests): New proc.
21325
4ff709eb
TT
213262014-12-12 Tom Tromey <tromey@redhat.com>
21327
21328 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
21329 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
21330
6dddd6a5
DE
213312014-12-12 Doug Evans <dje@google.com>
21332
21333 * lib/gdb-python.exp (get_python_valueof): New function.
21334 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
21335
71c24708
AA
213362014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21337
21338 * gdb.base/completion.exp: Add test for completion of "info
21339 registers ".
21340
3e29f34a
MR
213412014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
21342
21343 * gdb.base/func-ptrs.c: New file.
21344 * gdb.base/func-ptrs.exp: New file.
21345
fc126975
SM
213462014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21347
21348 PR breakpoints/17012
21349 * gdb.base/dprintf-detach.c: New file.
21350 * gdb.base/dprintf-detach.exp: New file.
21351
0a46d518
SM
213522014-12-10 Simon Marchi <simon.marchi@ericsson.com>
21353
21354 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
21355 * lib/gdb.exp (target_is_gdbserver): New procedure.
21356
a0be3e44
DE
213572014-12-08 Doug Evans <dje@google.com>
21358
21359 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
21360
df1b803a
YQ
213612014-12-05 Yao Qi <yao@codesourcery.com>
21362
21363 * gdb.guile/scm-error.exp: Remove the third argument to
21364 gdb_remote_download.
21365 * gdb.guile/scm-frame-args.exp: Likewise.
21366 * gdb.guile/scm-section-script.exp: Likewise.
21367
ddb9f679
YQ
213682014-12-05 Yao Qi <yao@codesourcery.com>
21369
21370 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
21371
86e4ed39
DE
213722014-12-04 Doug Evans <dje@google.com>
21373
21374 * gdb.python/py-objfile.exp: Add tests for
21375 objfile.add_separate_debug_file.
21376
7c50a931
DE
213772014-12-04 Doug Evans <dje@google.com>
21378
21379 * lib/gdb.exp (get_build_id): New function.
21380 (build_id_debug_filename_get): Rewrite to use it.
21381 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
21382
621661e3
MR
213832014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
21384
21385 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
21386 `method(long)', not just 0x0.
21387 * gdb.cp/nsalias.exp: Align code labels to 4.
21388 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
21389 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
21390 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
21391 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
21392 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
21393 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
21394
29f0c3b7
DE
213952014-12-02 Doug Evans <dje@google.com>
21396
e1e061e7 21397 PR symtab/17602
29f0c3b7 21398 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 21399 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
21400 * gdb.cp/anon-ns.exp: Update.
21401
162078c8
NB
214022014-12-02 Nick Bull <nicholaspbull@gmail.com>
21403
21404 * gdb.python/py-events.py (inferior_call_handler): New.
21405 (register_changed_handler, memory_changed_handler): New.
21406 (test_events.invoke): Register new handlers.
21407 * gdb.python/py-events.exp: Add tests for inferior call,
21408 memory_changed and register_changed events.
21409
fdb09caf
AA
214102014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
21411
21412 * gdb.base/execl-update-breakpoints.exp: Specify the link address
21413 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
21414 if the linker doesn't understand this.
21415
55cfb2c4
SM
214162014-12-01 Simon Marchi <simon.marchi@ericsson.com>
21417
21418 * gdb.python/python.exp: Change expected reply to help().
21419
9e8cd6df
YQ
214202014-12-01 Yao Qi <yao@codesourcery.com>
21421
21422 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
21423 AC_CONFIG_SUBDIRS(gdb.gdbtk).
21424 * configure: Re-generated.
21425
6c659fc2
SC
214262014-11-28 Siva Chandra Reddy <sivachandra@google.com>
21427
21428 * gdb.cp/chained-calls.cc: New file.
21429 * gdb.cp/chained-calls.exp: New file.
21430 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
21431
d7fc3181
SM
214322014-11-28 Simon Marchi <simon.marchi@ericsson.com>
21433
21434 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
21435 * gdb.dwarf2/symtab-producer.exp: Same.
21436 * gdb.gdb/python-interrupts.exp: Same.
21437 * gdb.gdb/python-selftest.exp: Same.
21438 * gdb.python/py-linetable.exp: Same.
21439 * gdb.python/py-type.exp: Same.
21440 * gdb.python/py-value-cc.exp: Same.
21441 * gdb.python/py-value.exp: Same.
21442
10e79639
YQ
214432014-11-28 Yao Qi <yao@codesourcery.com>
21444
21445 * gdb.base/break-probes.exp: Match library name prefixed with
21446 sysroot.
21447
f28a0564
SM
214482014-11-27 Simon Marchi <simon.marchi@ericsson.com>
21449
21450 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
21451 test expected output. Add parentheses for the call to print.
21452 Remove L suffix from integers.
21453
3fe1ce1d
DE
214542014-11-26 Doug Evans <dje@google.com>
21455
21456 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
21457
84429e27
YQ
214582014-11-22 Yao Qi <yao@codesourcery.com>
21459
21460 * gdb.trace/entry-values.c: Remove asms.
21461 (foo): Add foo_label.
21462 (bar): Add bar_label.
21463 * gdb.trace/entry-values.exp: Remove code computing foo's
21464 length and bar's length.
21465 (Dwarf::assemble): Invoke function_range for bar and use
21466 MACRO_AT_func for foo.
21467
26741859
YQ
214682014-11-22 Yao Qi <yao@codesourcery.com>
21469
21470 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
21471 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
21472 Use .Lgcc43_procstart instead of gcc43.
21473
45e44d27
JB
214742014-11-21 Joel Brobecker <brobecker@adacore.com>
21475
21476 * gdb.ada/n_arr_bound: New testcase.
21477
458c8db8
SDJ
214782014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
21479
21480 PR breakpoints/10737
21481 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
21482 test_catch_syscall_multi_arch.
21483 (test_catch_syscall_multi_arch): New function.
21484
43f3e411
DE
214852014-11-20 Doug Evans <xdje42@gmail.com>
21486
21487 * gdb.base/maint.exp: Update expected output.
21488
0d7b2549
AA
214892014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
21490
21491 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
21492 4-byte instruction on S390.
21493
8908fca5
JB
214942014-11-19 Joel Brobecker <brobecker@adacore.com>
21495
21496 * gdb.ada/arr_arr: New testcase.
21497
4a46959e
JB
214982014-11-19 Joel Brobecker <brobecker@adacore.com>
21499
21500 * gdb.ada/pkd_arr_elem: New Testcase.
21501
470e2f4e
LM
215022014-11-18 Luis Machado <lgustavo@codesourcery.com>
21503
21504 * gdb.reverse/break-precsave: Expect completion message for
21505 core file reads.
21506 * gdb.reverse/consecutive-precsave.exp: Likewise.
21507 * gdb.reverse/finish-precsave.exp: Likewise.
21508 * gdb.reverse/i386-precsave.exp: Likewise.
21509 * gdb.reverse/machinestate-precsave.exp: Likewise.
21510 * gdb.reverse/sigall-precsave.exp: Likewise.
21511 * gdb.reverse/solib-precsave.exp: Likewise.
21512 * gdb.reverse/step-precsave.exp: Likewise.
21513 * gdb.reverse/until-precsave.exp: Likewise.
21514 * gdb.reverse/watch-precsave.exp: Likewise.
21515
a267f3ad
AA
215162014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21517
21518 * gdb.base/bp-permanent.c: Include unistd.h.
21519 * gdb.python/py-framefilter-mi.c (main): Add return type.
21520 * gdb.python/py-framefilter.c (main): Likewise.
21521 * gdb.trace/actions-changed.c (main): Likewise.
21522
12084a9a
AA
215232014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21524
21525 * gdb.mi/until.c: Add eye-catchers.
21526 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21527 line numbers.
21528
dc7e1a77
AA
215292014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21530
21531 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21532 function header variants in break1.c.
21533 * gdb.base/ena-dis-br.exp: Likewise.
21534 * gdb.base/hbreak2.exp: Likewise.
21535 * gdb.reverse/until-precsave.exp: Drop references to removed
21536 non-prototype function header variants in ur1.c.
21537 * gdb.reverse/until-reverse.exp: Likewise.
21538
41c77605
PM
215392014-11-17 Petr Machata <pmachata@redhat.com>
21540
21541 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21542 ${_cu_offset_size} bytes abbrev offset.
21543
34248c3a
DE
215442014-11-15 Doug Evans <xdje42@gmail.com>
21545
21546 PR symtab/17559
21547 * gdb.base/line-symtabs.exp: New file.
21548 * gdb.base/line-symtabs.c: New file.
21549 * gdb.base/line-symtabs.h: New file.
21550
646da059
YQ
215512014-11-14 Yao Qi <yao@codesourcery.com>
21552
21553 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21554 (func): Add label func_label.
21555 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21556 Replace low_pc and high_pc with MACRO_AT_range.
21557 Replace name, low_pc and high_pc with MACRO_AT_func.
21558
9301ebe6
YQ
215592014-11-14 Yao Qi <yao@codesourcery.com>
21560
21561 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21562 Replace name, low_pc and high_pc with MACRO_AT_func.
21563
f166b542
YQ
215642014-11-14 Yao Qi <yao@codesourcery.com>
21565
21566 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21567 produce debug information.
21568 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21569
0f6e71e3
YQ
215702014-11-14 Yao Qi <yao@codesourcery.com>
21571
21572 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21573 object and get function length.
21574 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21575 with MACRO_AT_func.
21576 (top-level): Replace gdb_compile and clean_restart with
21577 prepare_for_testing.
21578 * gdb.dwarf2/main.c (main): Add label main_label.
21579
876c4df9
YQ
215802014-11-14 Yao Qi <yao@codesourcery.com>
21581
21582 * lib/dwarf.exp (function_range): New procedure.
21583 (Dwarf::_handle_macro_at_func): New procedure.
21584 (Dwarf::_handle_macro_at_range): New procedure.
21585 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21586
02ad9cf1
YQ
215872014-11-14 Yao Qi <yao@codesourcery.com>
21588
21589 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21590 (_handle_attribute): New procedure.
21591
a59add0c
AA
215922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21593
21594 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21595 * gdb.base/call-sc.c (zed): Likewise.
21596 * gdb.base/checkpoint.c (main): Likewise.
21597 * gdb.base/dump.c (main): Likewise.
21598 * gdb.base/gcore.c (main): Likewise.
21599 * gdb.base/huge.c (main): Likewise.
21600 * gdb.base/multi-forks.c (main): Likewise.
21601 * gdb.base/pr10179-a.c (main): Likewise.
21602 * gdb.base/savedregs.c (main): Likewise.
21603 * gdb.base/sigaltstack.c (main): Likewise.
21604 * gdb.base/siginfo.c (main): Likewise.
21605 * gdb.base/structs.c (zed): Likewise.
21606 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21607 * gdb.mi/mi-syn-frame.c (main): Likewise.
21608 * gdb.mi/until.c (foo, main): Likewise.
21609 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21610 * gdb.base/solib-weak.c (foo): Declare.
21611 * gdb.base/attach-twice.c: Include stdio.h.
21612 * gdb.base/weaklib1.c: Likewise.
21613 * gdb.base/weaklib2.c: Likewise.
21614 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21615 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21616 unistd.h.
21617 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21618 * gdb.mi/mi-exit-code.c: Likewise.
21619 * gdb.base/break-interp-lib.c: Include string.h.
21620 * gdb.base/coremaker.c: Likewise.
21621 * gdb.base/testenv.c: Likewise.
21622 * gdb.python/py-finish-breakpoint.c: Likewise.
21623 * gdb.base/inferior-died.c: Include sys/wait.h.
21624 * gdb.base/fileio.c: Include time.h.
21625 * gdb.base/async-shell.c: Include unistd.h.
21626 * gdb.base/dprintf-non-stop.c: Likewise.
21627 * gdb.base/info-os.c: Likewise.
21628 * gdb.mi/mi-console.c: Likewise.
21629 * gdb.mi/watch-nonstop.c: Likewise.
21630 * gdb.python/py-events.c: Likewise.
21631 * gdb.base/async.c (baz): Move up before its invocation.
21632 * gdb.base/code_elim2.c (my_global_func): Likewise.
21633 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21634 * gdb.base/advance.c (func2): Likewise.
21635
3b5d5997
AA
216362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21637
21638 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21639 variant.
21640 * gdb.base/annota3.c: Likewise.
21641 * gdb.base/async.c: Likewise.
21642 * gdb.base/average.c: Likewise.
21643 * gdb.base/call-ar-st.c: Likewise.
21644 * gdb.base/call-rt-st.c: Likewise.
21645 * gdb.base/call-sc.c: Likewise.
21646 * gdb.base/call-strs.c: Likewise.
21647 * gdb.base/ending-run.c: Likewise.
21648 * gdb.base/execd-prog.c: Likewise.
21649 * gdb.base/exprs.c: Likewise.
21650 * gdb.base/foll-exec.c: Likewise.
21651 * gdb.base/foll-fork.c: Likewise.
21652 * gdb.base/foll-vfork.c: Likewise.
21653 * gdb.base/funcargs.c: Likewise.
21654 * gdb.base/gcore.c: Likewise.
21655 * gdb.base/jump.c: Likewise.
21656 * gdb.base/langs0.c: Likewise.
21657 * gdb.base/langs1.c: Likewise.
21658 * gdb.base/langs2.c: Likewise.
21659 * gdb.base/mips_pro.c: Likewise.
21660 * gdb.base/nodebug.c: Likewise.
21661 * gdb.base/opaque0.c: Likewise.
21662 * gdb.base/opaque1.c: Likewise.
21663 * gdb.base/recurse.c: Likewise.
21664 * gdb.base/run.c: Likewise.
21665 * gdb.base/scope0.c: Likewise.
21666 * gdb.base/scope1.c: Likewise.
21667 * gdb.base/setshow.c: Likewise.
21668 * gdb.base/setvar.c: Likewise.
21669 * gdb.base/shmain.c: Likewise.
21670 * gdb.base/shr1.c: Likewise.
21671 * gdb.base/shr2.c: Likewise.
21672 * gdb.base/sigall.c: Likewise.
21673 * gdb.base/signals.c: Likewise.
21674 * gdb.base/so-indr-cl.c: Likewise.
21675 * gdb.base/solib2.c: Likewise.
21676 * gdb.base/structs.c: Likewise.
21677 * gdb.base/sum.c: Likewise.
21678 * gdb.base/vforked-prog.c: Likewise.
21679 * gdb.base/watchpoint.c: Likewise.
21680 * gdb.reverse/shr2.c: Likewise.
21681 * gdb.reverse/until-reverse.c: Likewise.
21682 * gdb.reverse/ur1.c: Likewise.
21683 * gdb.reverse/watch-reverse.c: Likewise.
21684
066a77c5
AA
216852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21686
21687 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21688 variant.
21689 * gdb.base/sepdebug.exp: Drop references to removed code.
21690
4f204ea5
AA
216912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21692
21693 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21694 variant. Preserve original line numbering.
21695 * gdb.base/list1.c: Likewise.
21696
3b377a3a
AA
216972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21698
21699 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21700 variant.
21701 * gdb.base/break1.c: Likewise.
21702 * gdb.base/break.exp: Drop references to removed code.
21703
e444df73
AA
217042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21705
21706 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21707 variant.
21708
8008f2a7
AA
217092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21710
21711 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21712
a5a06887
AA
217132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21714
21715 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21716 logic into perform_all_tests() and invoke it with and without
21717 function header prototypes.
21718 (do_function_calls): Remove conditional XFAIL for PR 5318.
21719 (rerun_and_prepare): Remove duplicate code.
21720 (perform_all_tests): New. Main logic moved here.
21721
44dba9b9
AA
217222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21723
21724 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21725 code guarded by #ifdef NO_PROTOTYPES.
21726 (t_double_many_args): Likewise.
21727 (DEF_FUNC_MANY_ARGS_1): Likewise.
21728 (DEF_FUNC_VALUES_1): Likewise.
21729 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21730 guarded by #ifdef PROTOTYPES.
21731
d1fbcd56
AA
217322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21733
21734 * gdb.mi/mi-console.c: Add eye-catcher.
21735 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21736 instead of literal line number.
21737
b0e59b8f
AA
217382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21739
21740 * gdb.base/shr2.c: Add eye-catcher.
21741 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21742 line number.
21743
78f98cca
AA
217442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21745
21746 * gdb.base/jump.c: Add eye-catchers.
21747 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21748 numbers.
21749
58fa2af0
AA
217502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21751
21752 * gdb.base/execd-prog.c: Add eye-catchers.
21753 * gdb.base/foll-exec.c: Likewise.
21754 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21755 line numbers.
21756
04e5059b
AA
217572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21758
21759 * gdb.base/ending-run.c: Add eye-catchers.
21760 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21761 literal line numbers.
21762
dbfdb174
AA
217632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21764
21765 * gdb.base/call-rt-st.c: Add eye-catchers.
21766 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21767 literal line numbers.
21768
888a2ade
AA
217692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21770
21771 * gdb.base/call-ar-st.c: Add eye-catchers.
21772 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21773 literal line numbers.
21774
6acc2dde
AA
217752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21776
21777 * gdb.base/average.c: Add eye-catchers.
21778 * gdb.base/sum.c: Likewise.
21779 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21780 regexps dynamically.
21781
9ecfcd1d
AA
217822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21783
21784 * gdb.base/solib1.c: Add eye-catchers.
21785 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21786 literal line numbers.
21787
78708b7c
PA
217882014-11-12 Pedro Alves <palves@redhat.com>
21789
21790 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21791 leader has exited.
21792
af48d08f
PA
217932014-11-12 Pedro Alves <palves@redhat.com>
21794
21795 * gdb.arch/i386-bp_permanent.c: New file.
21796 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21797 (srcfile): Set to i386-bp_permanent.c.
21798 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21799 that stepi does not execute the 'leave' instruction, instead of
21800 testing it does execute.
21801 * gdb.base/bp-permanent.c: New file.
21802 * gdb.base/bp-permanent.exp: New file.
21803
af3768e9
DE
218042014-11-10 Doug Evans <xdje42@gmail.com>
21805
21806 PR symtab/17564
21807 * gdb.base/symtab-search-order.exp: New file.
21808 * gdb.base/symtab-search-order.c: New file.
21809 * gdb.base/symtab-search-order-1.c: New file.
21810 * gdb.base/symtab-search-order-shlib-1.c: New file.
21811
9de00a4a
PA
218122014-11-07 Pedro Alves <palves@redhat.com>
21813
21814 PR gdb/17511
21815 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21816 i?86-*-linux*.
21817
e0f52461
SC
218182014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21819
21820 PR c++/17494
21821 * gdb.cp/pr17494.cc: New file.
21822 * gdb.cp/pr17494.exp: New file.
21823
6ce8c980
YQ
218242014-11-02 Yao Qi <yao@codesourcery.com>
21825
21826 * gdb.python/python.exp: Get working directory and match the
21827 output of "set extended-prompt \\w " with it.
21828
02be9a71
DE
218292014-10-30 Doug Evans <dje@google.com>
21830
21831 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21832 in objfiles.
21833 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21834 in progspaces.
21835
3bdff46b
LM
218362014-10-30 Janis Johnson <janisjo@codesourcery.com>
21837
21838 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21839 * gdb.base/realname-expand.exp: Likewise.
21840 * gdb.linespec/macro-relative.exp: Likewise.
21841
ab917dfb
PA
218422014-10-29 Pedro Alves <palves@redhat.com>
21843
21844 PR gdb/17408
21845 * gdb.threads/schedlock.c (some_function): New function.
21846 (call_function): New global.
21847 (MAYBE_CALL_SOME_FUNCTION): New macro.
21848 (thread_function): Call it.
21849 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21850 and use it instead of a global counter. Adjust all callers.
21851 (get_current_thread): Use "find current thread" for test message
21852 here rather than having all callers pass down the same string.
21853 (goto_loop): New procedure, factored out from ...
21854 (my_continue): ... this.
21855 (step_ten_loops): Change parameter from test message to command to
21856 use. Adjust.
21857 (list_count): Delete global.
21858 (check_result): New procedure, factored out from duplicate top
21859 level code.
21860 (continue tests): Wrap in with_test_prefix.
21861 (test_step): New procedure, factored out from duplicate top level
21862 code.
21863 (top level): Test "step" in combination with all scheduler-locking
21864 modes. Test "next" in combination with all scheduler-locking
21865 modes, and in combination with stepping over a function call or
21866 not.
21867 * gdb.threads/next-bp-other-thread.c: New file.
21868 * gdb.threads/next-bp-other-thread.exp: New file.
21869
d3d4baed
PA
218702014-10-29 Pedro Alves <palves@redhat.com>
21871
21872 PR python/17372
21873 * gdb.python/python.exp: Test a multi-line command that spawns
21874 interactive Python.
21875 * gdb.base/multi-line-starts-subshell.exp: New file.
21876
563e8d85
YQ
218772014-10-29 Yao Qi <yao@codesourcery.com>
21878
21879 * gdb.base/fileio.exp: Make directories on host.
21880
0ea4d52e
YQ
218812014-10-29 Yao Qi <yao@codesourcery.com>
21882
21883 * gdb.base/fileio.c (test_write): Close the file.
21884
7f5ef605
PA
218852014-10-28 Pedro Alves <palves@redhat.com>
21886
21887 PR gdb/12623
21888 * gdb.base/sigstep.c (no_handler): New global.
21889 (main): If 'no_handler is true, set the signal handlers to
21890 SIG_IGN.
21891 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21892 with_sw_watch and no_handler parameters. Handle them.
21893 (top level) <stepping over handler when stopped at a breakpoint
21894 test>: Add a test axis for testing with a software watchpoint, and
21895 another for testing with the signal handler set to SIG_IGN.
21896 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21897 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21898
abbdbd03
PA
218992014-10-28 Pedro Alves <palves@redhat.com>
21900
21901 PR gdb/17511
21902 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21903 * gdb.base/sigstep.exp (other_handler_location): New global.
21904 (advance): Support stepping into the signal handler, and running
21905 commands while in the handler.
21906 (in_handler_map): New global.
21907 (top level): In the advance test, add combinations for getting
21908 into the handler with stepping commands, and for running commands
21909 in the handler. Add comment descripting the advancei tests.
21910
1df4399f
PA
219112014-10-28 Pedro Alves <palves@redhat.com>
21912
21913 * gdb.base/sigstep.exp: Use build_executable instead of
21914 prepare_for_testing.
21915 (top level): Move code that starts GDB, runs to main and creates a
21916 display to ...
21917 (restart): ... this new procedure.
21918 (top level): Move backtrace from signal handler test to ...
21919 (validate_backtrace): ... this new procedure.
21920 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21921 with_test_prefix. Always restart GDB.
21922 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21923 with_test_prefix. Always restart GDB. No need to delete
21924 breakpoints after the test.
21925 (test_skip_handler): Remove prefix parameter.
21926 (skip_over_handler, breakpoint_to_handler)
21927 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21928 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21929 restart GDB. No need to delete breakpoints after the test.
21930 (top level): Use foreach to call the test procedures with
21931 different commands.
21932
a5b6e449
PA
219332014-10-28 Pedro Alves <palves@redhat.com>
21934
21935 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21936 instead of GNATS numbers.
21937 * gdb.base/sigbpt.exp: Likewise.
21938 * gdb.base/siginfo.exp: Likewise.
21939 * gdb.base/sigstep.exp: Likewise.
21940
e5f8a7cc
PA
219412014-10-27 Pedro Alves <palves@redhat.com>
21942
21943 * gdb.base/sigstep.c (dummy): New global.
21944 (main): Issue a couple writes to the new global.
21945 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21946 procedures.
21947 (skip_over_handler): Use test_skip_handler.
21948 (top level): Call skip_over_handler for stepi and nexti too.
21949 (breakpoint_over_handler): Use test_skip_handler.
21950 (top level): Call breakpoint_over_handler for stepi and nexti too.
21951
763905a3
YQ
219522014-10-27 Yao Qi <yao@codesourcery.com>
21953
21954 * gdb.trace/tfile.c (adjust_function_address)
21955 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21956 function descriptor.
21957
6f259a23
DB
219582014-10-24 Don Breazeal <donb@codesourcery.com>
21959
21960 * gdb.base/foll-fork.exp (test_follow_fork,
21961 catch_fork_child_follow): Check for updated fork messages emitted
21962 from infrun.c.
21963 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21964 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21965 vfork_and_exec_child_follow_through_step): Check for updated vfork
21966 messages emitted from infrun.c.
21967
09dd9a69
PA
219682014-10-24 Pedro Alves <palves@redhat.com>
21969
21970 * gdb.base/corefile.exp: Remove references to ultrix.
21971 * gdb.base/interrupt.exp: Likewise.
21972 * gdb.base/whatis.exp: Likewise.
21973 * gdb.gdb/selftest.exp: Likewise.
21974 * gdb.threads/manythreads.exp: Likewise.
21975 * gdb.threads/print-threads.exp: Likewise.
21976 * gdb.threads/pthreads.exp:: Likewise.
21977 * gdb.threads/schedlock.exp: Likewise.
21978
3433cfa5
SC
219792014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21980
21981 * gdb.cp/non-trivial-retval.cc: Add a test case.
21982 * gdb.cp/non-trivial-retval.exp: Add a test.
21983
092f880b
YQ
219842014-10-20 Yao Qi <yao@codesourcery.com>
21985
21986 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21987 * gdb.python/py-objfile-script-gdb.py: New file.
21988 * gdb.python/py-objfile-script.exp: Update reference to
21989 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21990 of remote_download. Remove the dest file.
21991
acbdb7f3
YQ
219922014-10-20 Yao Qi <yao@codesourcery.com>
21993
21994 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21995 * gdb.base/step-line.exp: Likewise.
21996 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21997 * gdb.dwarf2/dw2-basic.exp: Likewise.
21998 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21999 * gdb.dwarf2/dw2-filename.exp: Likewise.
22000 * gdb.dwarf2/dw2-intercu.exp: Likewise.
22001 * gdb.dwarf2/dw2-intermix.exp: Likewise.
22002 * gdb.dwarf2/dw2-producer.exp: Likewise.
22003 * gdb.dwarf2/mac-fileno.exp: Likewise.
22004 * gdb.python/py-frame-args.exp: Likewise.
22005 * gdb.python/py-framefilter.exp: Likewise.
22006 * gdb.python/py-mi.exp: Likewise.
22007 * gdb.python/py-objfile-script.exp: Likewise
22008 * gdb.python/py-pp-integral.exp: Likewise.
22009 * gdb.python/py-pp-re-notag.exp: Likewise.
22010 * gdb.python/py-prettyprint.exp: Likewise.
22011 * gdb.python/py-section-script.exp: Likewise.
22012 * gdb.python/py-typeprint.exp: Likewise.
22013 * gdb.python/py-xmethods.exp: Likewise.
22014 * gdb.stabs/weird.exp: Likewise.
22015 * gdb.xml/tdesc-regs.exp: Likewise.
22016
bd286a29
KCY
220172014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
22018
22019 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
22020 (out_cu): Use addr_len for the size of addresses.
22021 (out_line): Likewise. Size DW_LNE_set_address instruction
22022 according to addr_len.
22023 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
22024 (FUNC): Add START_INSNS to definition.
22025
673dc4a0
YQ
220262014-10-18 Yao Qi <yao@codesourcery.com>
22027
22028 * gdb.base/argv0-symlink.exp: Check argv[0] value if
22029 gdb_has_argv0 return true.
22030 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
22031 check [target_info exists noargs], check [gdb_has_argv0]
22032 instead.
22033 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22034 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
22035 procedures.
22036
4ffbba72
DE
220372014-10-17 Doug Evans <dje@google.com>
22038
22039 * gdb.python/py-events.exp: Update expected output for clear_objfiles
22040 event.
22041 * gdb.python/py-events.py: Add clear_objfiles event.
22042
d096d8c1
DE
220432014-10-17 Doug Evans <dje@google.com>
22044
22045 * gdb.python/py-objfile.exp: Test progspace attribute.
22046
a80db015
LM
220472014-10-17 Luis Machado <lgustavo@codesourcery.com>
22048
22049 * gdb.guile/scm-breakpoint.exp: Do not assume any
22050 directory separators when matching source file paths.
22051 * gdb.python/py-breakpoint.exp: Likewise.
22052 * gdb.reverse/break-precsave.exp: Likewise.
22053 * gdb.reverse/break-reverse.exp: Likewise.
22054 * gdb.reverse/consecutive-precsave.exp: Likewise.
22055 * gdb.reverse/finish-precsave.exp: Likewise.
22056 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
22057 * gdb.reverse/finish-reverse.exp: Likewise.
22058 * gdb.reverse/i386-precsave.exp: Likewise.
22059 * gdb.reverse/i387-env-reverse.exp: Likewise.
22060 * gdb.reverse/i387-stack-reverse.exp: Likewise.
22061 * gdb.reverse/machinestate-precsave.exp: Likewise.
22062 * gdb.reverse/machinestate.exp: Likewise.
22063 * gdb.reverse/sigall-precsave.exp: Likewise.
22064 * gdb.reverse/solib-precsave.exp: Likewise.
22065 * gdb.reverse/step-precsave.exp: Likewise.
22066 * gdb.reverse/until-precsave.exp: Likewise.
22067 * gdb.reverse/watch-precsave.exp: Likewise.
22068 * gdb.reverse/watch-reverse.exp: Likewise.
22069
b22089ab
YQ
220702014-10-17 Yao Qi <yao@codesourcery.com>
22071
22072 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
22073 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
22074
6c4486e6
PA
220752014-10-17 Pedro Alves <palves@redhat.com>
22076
22077 PR gdb/17471
22078 * gdb.base/bg-execution-repeat.c: New file.
22079 * gdb.base/bg-execution-repeat.exp: New file.
22080
0ff33695
PA
220812014-10-17 Pedro Alves <palves@redhat.com>
22082
22083 PR gdb/17300
22084 * gdb.base/continue-all-already-running.c: New file.
22085 * gdb.base/continue-all-already-running.exp: New file.
22086
6fdebc3d
PA
220872014-10-17 Pedro Alves <palves@redhat.com>
22088
22089 PR gdb/17472
22090 * gdb.base/annota-input-while-running.c: New file.
22091 * gdb.base/annota-input-while-running.exp: New file.
22092
32a8097b
PA
220932014-10-17 Pedro Alves <palves@redhat.com>
22094
22095 * gdb.base/callfuncs.exp: emove references to osf.
22096 * gdb.base/sigall.exp: Likewise.
22097 * gdb.gdb/selftest.exp: Likewise.
22098 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
22099 * gdb.mi/non-stop.c: Likewise.
22100 * gdb.mi/pthreads.c: Likewise.
22101 * gdb.reverse/sigall-precsave.exp: Likewise.
22102 * gdb.reverse/sigall-reverse.exp: Likewise.
22103 * gdb.threads/pthreads.c: Likewise.
22104 * gdb.threads/pthreads.exp: Likewise.
22105
7a3517ff
YQ
221062014-10-17 Yao Qi <yao@codesourcery.com>
22107
22108 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
22109 check 'target_info exists noargs'.
22110 (test_command_prompt_position): Likewise.
22111 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
22112 Remove "set args".
22113 (progvar_simple_while_test): Likewise.
22114 (progvar_complex_if_while_test): Likewise.
22115 (if_while_breakpoint_command_test): Likewise.
22116 (infrun_breakpoint_command_test): Likewise.
22117 (breakpoint_command_test): Likewise.
22118 (watchpoint_command_test): Likewise.
22119 (bp_deleted_in_command_test): Likewise.
22120 (temporary_breakpoint_commands): Likewise.
22121
bb99c472
YQ
221222014-10-16 Yao Qi <yao@codesourcery.com>
22123
22124 * gdb.base/remotetimeout.exp: Remove noargs checking.
22125
7c16b83e
PA
221262014-10-15 Pedro Alves <palves@redhat.com>
22127
22128 PR breakpoints/9649
22129 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
22130 * gdb.base/breakpoint-in-ro-region.exp
22131 (probe_target_hardware_step): New procedure.
22132 (top level): Probe hardware stepping and hardware breakpoint
22133 support. Test stepping through a read-only region, with both
22134 "breakpoint auto-hw" on and off and both "always-inserted" on and
22135 off.
22136
35a49624
IB
221372014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
22138
22139 * gdb.dlang/demangle.exp: Update for demangling changes.
22140
2d1c107c
SC
221412014-10-15 Siva Chandra Reddy <sivachandra@google.com>
22142
22143 * gdb.cp/non-trivial-retval.cc: Add new test cases.
22144 * gdb.cp/non-trivial-retval.exp: Add new tests.
22145
778811d5
SC
221462014-10-15 Siva Chandra Reddy <sivachandra@google.com>
22147
22148 PR c++/13403
22149 PR c++/15154
22150 * gdb.cp/non-trivial-retval.cc: New file.
22151 * gdb.cp/non-trivial-retval.exp: New file.
22152
10c5f0a8
YQ
221532014-10-15 Yao Qi <yao@codesourcery.com>
22154
22155 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
22156 remote host.
22157
65d7b369
YQ
221582014-10-15 Yao Qi <yao@codesourcery.com>
22159
22160 * gdb.python/py-symbol.exp: Match file base name if host is
22161 remote, otherwise match file name with dir name.
22162 * gdb.python/py-symtab.exp: Likewise.
22163 * gdb.python/python.exp: Likewise.
22164
46dc1394
YQ
221652014-10-15 Yao Qi <yao@codesourcery.com>
22166
22167 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
22168 pattern.
22169 * gdb.python/py-symtab.exp: Likewise.
22170 * gdb.python/python.exp: Remove trailing ".*". Fix typo
22171 locationn.
22172
c40cc657
JB
221732014-10-14 Joel Brobecker <brobecker@adacore.com>
22174
22175 * gdb.ada/addr_arith: New testcase.
22176
2abf49e1
MR
221772014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
22178
22179 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
22180 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
22181 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
22182 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
22183
f7088df3
SDJ
221842014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
22185
22186 * gdb.arch/stap-eval-lang-ada.S: Likewise.
22187 * gdb.arch/stap-eval-lang-ada.c: Likewise.
22188 * gdb.arch/stap-eval-lang-ada.exp: New file.
22189
4dc06805
YQ
221902014-10-14 Yao Qi <yao@codesourcery.com>
22191
22192 * gdb.mi/mi-var-child.c (nothing1): New function.
22193 (nothing2): New function.
22194 (do_children_tests): Set function pointers by nothing1 and
22195 nothing2.
22196 * gdb.mi/mi-var-child.exp: Step over new added statements.
22197 Update test to match the new output.
22198 * gdb.mi/var-cmd.c (nothing1): New function.
22199 (nothing2): New function.
22200 (do_children_tests): Set function pointers by nothing1 and
22201 nothing2.
22202 * gdb.mi/mi-var-display.exp: Update test to match output.
22203 Step to the line specified by $line_dct_nothing.
22204 Increase the number of lines to step.
22205
46a93de2
YQ
222062014-10-14 Yao Qi <yao@codesourcery.com>
22207
22208 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
22209 tests.
22210 * gdb.mi/mi2-var-child.exp: Likewise.
22211
14ea52ee
DE
222122014-10-13 Doug Evans <dje@google.com>
22213
22214 * gdb.python/py-objfile.exp: Change name of file name test.
22215
e5c6e92b
DE
222162014-10-13 Doug Evans <dje@google.com>
22217
22218 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
22219 from the start of the CU.
22220
c780cc2f
JK
222212014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
22222 Yao Qi <yao@codesourcery.com>
22223
22224 Fix "save breakpoints" for "catch" command.
22225 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
22226 Remove -nonewline. Match also the added "main" line.
22227
99894e11
JK
222282014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22229
22230 Fix "save breakpoints" for "disable $bpnum" command.
22231 * gdb.base/save-bp.c (main): Add label.
22232 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
22233
6e1ac5a3
JK
222342014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22235
22236 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
22237
754dd2b0
YQ
222382014-10-11 Yao Qi <yao@codesourcery.com>
22239
22240 * gdb.server/server-kill.exp: Execute command
22241 "set remote trace-status-packet on" before "tstatus".
22242
f90183d7
YQ
222432014-10-11 Yao Qi <yao@codesourcery.com>
22244
22245 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
22246 (main): Call getppid.
22247 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
22248 and continue to it. Read variable "server_pid".
22249
bf40a607
YQ
222502014-10-11 Yao Qi <yao@codesourcery.com>
22251
22252 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
22253
052ca370
YQ
222542014-10-11 Yao Qi <yao@codesourcery.com>
22255
22256 * gdb.threads/thread-find.exp: Don't execute command
22257 "info threads".
22258 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
22259 * gdb.threads/linux-dp.exp: Don't check the condition
22260 $threads_created equals to zero.
22261
3831839c
PA
222622014-10-10 Pedro Alves <palves@redhat.com>
22263
22264 * gdb.base/bigcore.exp: Remove references to IRIX.
22265 * gdb.base/funcargs.exp: Likewise.
22266 * gdb.base/interrupt.exp: Likewise.
22267 * gdb.base/mips_pro.exp: Likewise.
22268 * gdb.base/nodebug.exp: Likewise.
22269 * gdb.base/setvar.exp: Likewise.
22270 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
22271
8b9a549d
PA
222722014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
22273 Pedro Alves <palves@redhat.com>
22274
22275 PR symtab/14466
22276 * gdb.base/vdso-warning.c: New file.
22277 * gdb.base/vdso-warning.exp: New file.
22278
d48ba5e8
DE
222792014-10-02 Doug Evans <dje@google.com>
22280
22281 * gdb.base/structs.c (main): Don't run forever.
22282
2278c276
PA
222832014-10-02 Pedro Alves <palves@redhat.com>
22284
22285 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
22286 (top level) <stop threads 1, stop threads 2>: Use it.
22287
b57bacec
PA
222882014-10-02 Pedro Alves <palves@redhat.com>
22289
22290 * gdb.threads/break-while-running.exp (test): Add new
22291 'update_thread_list' argument. Skip "info threads" if false.
22292 (top level): Add new 'update_thread_list' axis.
22293
13fd3ff3
PA
222942014-10-02 Pedro Alves <palves@redhat.com>
22295
22296 PR breakpoints/17431
22297 * gdb.base/execl-update-breakpoints.c: New file.
22298 * gdb.base/execl-update-breakpoints.exp: New file.
22299
0fec99e8
PA
223002014-10-01 Pedro Alves <palves@redhat.com>
22301
22302 * gdb.base/breakpoint-in-ro-region.c: New file.
22303 * gdb.base/breakpoint-in-ro-region.exp: New file.
22304
2ddf4301
SM
223052014-10-01 Simon Marchi <simon.marchi@ericsson.com>
22306
22307 * gdb.mi/mi-exit-code.exp: New file.
22308 * gdb.mi/mi-exit-code.c: New file.
22309
6a5f3f43
YQ
223102014-09-30 Yao Qi <yao@codesourcery.com>
22311
22312 * lib/prelink-support.exp (build_executable_own_libs): Error if
22313 the target isn't native.
22314
345bcc73
YQ
223152014-09-30 Yao Qi <yao@codesourcery.com>
22316
22317 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
22318 false.
22319
a25a5a45
PA
223202014-09-22 Pedro Alves <palves@redhat.com>
22321
22322 * gdb.threads/break-while-running.exp: New file.
22323 * gdb.threads/break-while-running.c: New file.
22324
00ba3162
YQ
223252014-09-19 Yao Qi <yao@codesourcery.com>
22326
22327 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
22328 Invoke test. Restart GDB with --readnow and invoke test again.
22329
c3b7b696
YQ
223302014-09-19 Yao Qi <yao@codesourcery.com>
22331
22332 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
22333 proc set_breakpoint_on_gcd_function. Invoke
22334 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
22335 invoke set_breakpoint_on_gcd_function again.
22336
2b4fd423
DE
223372014-09-18 Doug Evans <dje@google.com>
22338
22339 * gdb.dwarf2/symtab-producer.exp: New file.
22340
a5947601
SDJ
223412014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22342
22343 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
22344 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
22345 * gdb.base/global-var-nested-by-dso.c: Likewise.
22346 * gdb.base/global-var-nested-by-dso.exp: Likewise.
22347
91c19059
SDJ
223482014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
22349 Pedro Alves <palves@redhat.com>
22350
22351 * gdb.base/watch-bitfields.exp: Pass string other than test file
22352 name to prepare_for_testing.
22353 (watch): New procedure.
22354 (expect_watchpoint): Use with_test_prefix.
22355 (top level): Factor out tests to ...
22356 (test_watch_location, test_regular_watch): ... these new
22357 procedures, and use with_test_prefix and gdb_continue_to_end.
22358
bb9d5f81
PP
223592014-09-16 Patrick Palka <patrick@parcs.ath.cx>
22360
22361 PR breakpoints/12526
22362 * gdb.base/watch-bitfields.exp: New file.
22363 * gdb.base/watch-bitfields.c: New file.
22364
635856f5
PA
223652014-09-16 Pedro Alves <palves@redhat.com>
22366
22367 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
22368 software and hardware addresses, not software address against
22369 itself.
22370
7280ceea
PA
223712014-09-16 Pedro Alves <palves@redhat.com>
22372
22373 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
22374 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
22375
428b16bd
PA
223762014-09-16 Pedro Alves <palves@redhat.com>
22377
22378 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
22379 files.
22380 * gdb.base/a2-run.exp: Remove all code guarded by istarget
22381 "*-*-vxworks*" throughout.
22382 * gdb.base/break.exp: Likewise.
22383 * gdb.base/default.exp: Likewise.
22384 * gdb.base/scope.exp: Likewise.
22385 * gdb.base/sepdebug.exp: Likewise.
22386 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
22387 throughout.
22388 * gdb.base/run.c: Likewise.
22389 * gdb.base/sepdebug.c: Likewise.
22390 * gdb.hp/gdb.aCC/run.c: Likewise.
22391 * gdb.reverse/until-reverse.c: Likewise.
22392 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
22393
666d413c
YQ
223942014-09-16 Yao Qi <yao@codesourcery.com>
22395
22396 * boards/local-remote-host-native.exp: New file.
22397
57cbd724
DE
223982014-09-14 Doug Evans <xdje42@gmail.com>
22399
22400 * gdb.threads/queue-signal.c (thread_count): New variable.
22401 (thread_count_mutex, thread_count_condvar): New variables.
22402 (incr_thread_count, wait_all_threads_running): New functions.
22403 (main): Wait for all threads to be in their thread functions.
22404
81219e53
DE
224052014-09-13 Doug Evans <xdje42@gmail.com>
22406
22407 * gdb.threads/queue-signal.c: New file.
22408 * gdb.threads/queue-signal.exp: New file.
22409
3714cea7
DE
224102014-09-13 Doug Evans <xdje42@gmail.com>
22411
22412 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
22413 be consistent with what default_gdb_init uses.
22414 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
22415 the plain text of the prompt. Add some logging printfs.
22416 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
22417
fa43b1d7
PA
224182014-09-12 Pedro Alves <palves@redhat.com>
22419
22420 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
22421 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
22422 * gdb.arch/i386-size-overlap.exp: Likewise.
22423 * gdb.arch/i386-size.exp: Likewise.
22424 * gdb.arch/i386-unwind.exp: Likewise.
22425 * gdb.base/a2-run.exp: Likewise.
22426 * gdb.base/break.exp: Likewise.
22427 * gdb.base/charset.exp: Likewise.
22428 * gdb.base/chng-syms.exp: Likewise.
22429 * gdb.base/commands.exp: Likewise.
22430 * gdb.base/dbx.exp: Likewise.
22431 * gdb.base/find.exp: Likewise.
22432 * gdb.base/funcargs.exp: Likewise.
22433 * gdb.base/jit-simple.exp: Likewise.
22434 * gdb.base/reread.exp: Likewise.
22435 * gdb.base/sepdebug.exp: Likewise.
22436 * gdb.base/step-bt.exp: Likewise.
22437 * gdb.cp/mb-inline.exp: Likewise.
22438 * gdb.cp/mb-templates.exp: Likewise.
22439 * gdb.objc/basicclass.exp: Likewise.
22440 * gdb.threads/killed.exp: Likewise.
22441
9d9bf2df
EBM
224422014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22443
22444 PR tdep/17379
22445 * gdb.arch/powerpc-stackless.S: New file.
22446 * gdb.arch/powerpc-stackless.exp: New file.
22447
1cf2f1b0
JK
224482014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22449
22450 * gdb.base/attach.c: Include unistd.h.
22451 (main): Call alarm. Add label postloop.
22452 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
22453 gdb_breakpoint, gdb_continue_to_breakpoint.
22454 (test_command_line_attach_run): Kill ${testpid} in one exit path.
22455
98880d46
PA
224562014-09-11 Pedro Alves <palves@redhat.com>
22457
22458 PR gdb/17347
22459 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
22460 * gdb.base/attach.exp (test_command_line_attach_run): New
22461 procedure.
22462 (top level): Call it.
22463
4c92ff2c
PA
224642014-09-11 Pedro Alves <palves@redhat.com>
22465
22466 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
22467 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
22468 (do_command_attach_tests): Use spawn_wait_for_attach.
22469 * gdb.base/solib-overlap.exp: Likewise.
22470 * gdb.multi/multi-attach.exp: Likewise.
22471 * gdb.python/py-prompt.exp: Likewise.
22472 * gdb.python/py-sync-interp.exp: Likewise.
22473 * gdb.server/ext-attach.exp: Likewise.
22474
3adc1a7d
GKB
224752014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
22476
22477 * gdb.fortran/array-element.exp: Remove unexpected "continue"
22478 command in testcase. Simplify testcase.
22479
96334934
JB
224802014-09-10 Joel Brobecker <brobecker@adacore.com>
22481
22482 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
22483
eb479039
JB
224842014-09-10 Joel Brobecker <brobecker@adacore.com>
22485
22486 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
22487
deede10c
JB
224882014-09-10 Joel Brobecker <brobecker@adacore.com>
22489
22490 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
22491
7828a5f5
JB
224922014-09-10 Joel Brobecker <brobecker@adacore.com>
22493
22494 * gdb.dwarf2/dynarr-ptr.c: New file.
22495 * gdb.dwarf2/dynarr-ptr.exp: New file.
22496
33aeebcf
MR
224972014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22498
22499 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
22500 of 30 rather than hardcoding 120 for a slow test case. Take the
22501 `gdb,timeout' target setting into account for this calculation.
22502 Don't extend the timeout for the test cases that don't need it.
22503
7b415901
MR
225042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22505
22506 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22507 a factor of 2 for a slow test case. Take the `gdb,timeout'
22508 target setting into account for this calculation.
22509 * gdb.reverse/until-precsave.exp: Increase the timeout by
22510 a factor of 15 and 3 respectively rather than adding 120
22511 for a pair of slow test cases. Take the `gdb,timeout'
22512 target setting into account for this calculation.
22513
4a40f85a
MR
225142014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22515
22516 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22517 timeout, don't pass one down to gdb_expect.
22518 (gdb_expect): Rework timeout selection.
22519
09635af7
MR
225202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22521
22522 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22523 exception on timeout.
22524 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22525 (gdbserver_start_extended): Catch any `gdbserver_start' error
22526 exceptions.
22527 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22528 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22529 `gdbserver_gdb_load' error exceptions.
22530
2bdd10b7
MR
225312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22532
22533 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22534 120 on waiting for the TCP socket to open.
22535
316935f0
DE
225362014-09-09 Doug Evans <xdje42@gmail.com>
22537
22538 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22539 _caller_matches, _any_caller_is, _any_caller_matches.
22540
83740597
DE
225412014-09-09 Doug Evans <xdje42@gmail.com>
22542
22543 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22544
4c122fc3
YQ
225452014-09-09 Yao Qi <yao@codesourcery.com>
22546
22547 * gdb.mi/mi-var-display.exp: Set print symbol off.
22548
a9f116cb
GKB
225492014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22550
22551 PR gdb/17035
22552 * gdb.base/commands.exp: Add tests to verify user-defined
22553 commands with empty bodies.
22554 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22555 python commands in `show user command`.
22556 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22557 scheme commands in `show user command`.
22558
c75bd3a2
JK
225592014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22560
22561 PR python/17355
22562 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22563 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22564 * gdb.python/py-framefilter-invalidarg.exp: New file.
22565 * gdb.python/py-framefilter-invalidarg.py: New file.
22566
faa42425
DE
225672014-09-06 Doug Evans <xdje42@gmail.com>
22568
22569 PR 15276
22570 * gdb.python/py-caller-is.c: New file.
22571 * gdb.python/py-caller-is.exp: New file.
22572
474ca4f6
SDJ
225732014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22574
22575 PR gdb/17235
22576 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22577 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22578
eb0b0463
SDJ
225792014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22580
22581 PR fortran/17237
22582 * gdb.fortran/print-formatted.exp: New file.
22583 * gdb.fortran/print-formatted.f90: Likewise.
22584
5f3b99cf
SS
225852014-09-03 Sasha Smundak <asmundak@google.com>
22586
22587 * gdb.python/py-frame.exp: Test Frame.read_register.
22588
7d793aa9
SDJ
225892014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22590
22591 PR python/16699
22592 * gdb.python/py-completion.exp: New file.
22593 * gdb.python/py-completion.py: Likewise.
22594
fb0576e9
DE
225952014-08-28 Doug Evans <dje@google.com>
22596
22597 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22598 eax,etc. are live with values set by gdb and thus the compiler can't
22599 use them.
22600 * gdb.arch/i386-pseudo.c (main): Ditto.
22601
ee92b0dd
DE
226022014-08-27 Doug Evans <dje@google.com>
22603
22604 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22605
6649db35
DE
226062014-08-25 Doug Evans <dje@google.com>
22607
22608 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22609 (main): Ditto.
22610
564b7600
DE
226112014-08-25 Doug Evans <dje@google.com>
22612
22613 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22614
3881fb67
YQ
226152014-08-24 Yao Qi <yao@codesourcery.com>
22616
22617 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22618 symbol off.
22619 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22620
a05a36a5
DE
226212014-08-22 Doug Evans <dje@google.com>
22622
22623 PR 17276
22624 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22625 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22626 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22627
7c343b48
YQ
226282014-08-22 Yao Qi <yao@codesourcery.com>
22629
22630 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22631 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22632 * gdb.python/python.exp: Likewise. Use .py file on the host
22633 instead of the build.
22634
22fd09ae
JK
226352014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22636
22637 * gdb.threads/gcore-stale-thread.c: New file.
22638 * gdb.threads/gcore-stale-thread.exp: New file.
22639
a8454a7c
PA
226402014-08-21 Pedro Alves <palves@redhat.com>
22641
22642 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22643 * gdb.base/gcore-relro-pie.exp: Likewise.
22644 * gdb.base/gcore-relro.exp: Likewise.
22645 * gdb.base/gcore.exp: Likewise.
22646 * gdb.base/print-symbol-loading.exp: Likewise.
22647 * gdb.threads/gcore-thread.exp: Likewise.
22648 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22649
2a31c623
PA
226502014-08-20 Pedro Alves <palves@redhat.com>
22651 Jan Kratochvil <jan.kratochvil@redhat.com>
22652
22653 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22654 configure.
22655 (EXPECT): Handle READ1 being set.
22656 (all): Depend on EXTRA_RULES.
22657 (check-read1, expect-read1, read1.so, read1): New rules.
22658 * README (Testsuite Parameters): Document the READ1 make variable.
22659 (Race detection): New section.
22660 * configure: Regenerate.
22661 * configure.ac: If build==host==target, and running under a
22662 GNU/glibc system, add read1 to the extra Makefile rules.
22663 (EXTRA_RULES): AC_SUBST it.
22664 * lib/read1.c: New file.
22665
d36430db
JB
226662014-08-20 Joel Brobecker <brobecker@adacore.com>
22667
22668 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22669 the handling of variables declared as a typedef to an array
22670 which a DW_AT_data_location attribute.
22671
9a0dc9e3
PA
226722014-08-19 Andrew Burgess <aburgess@broadcom.com>
22673 Pedro Alves <palves@redhat.com>
22674
22675 PR symtab/14604
22676 PR symtab/14605
22677 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22678 gdb_test.
22679
0718a8da
PA
226802014-08-19 Pedro Alves <palves@redhat.com>
22681
22682 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22683
13b448cd
YQ
226842014-08-19 Yao Qi <yao@codesourcery.com>
22685
22686 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22687 right line.
22688
1cbf5077
DB
226892014-08-18 David Blaikie <dblaikie@gmail.com>
22690
22691 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22692
bf0fae19
JB
226932014-08-18 Joel Brobecker <brobecker@adacore.com>
22694
22695 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22696 attribute in array range.
22697
3c8c5dcc
JB
226982014-08-18 Joel Brobecker <brobecker@adacore.com>
22699
22700 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22701
e66d4446
SC
227022014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22703
22704 PR c++/17132
22705 * gdb.cp/pr17132.cc: New file.
22706 * gdb.cp/pr17132.exp: New file.
22707
940df408
SC
227082014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22709
22710 * gdb.python/py-xmethods.py (A_getarrayind)
22711 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22712 Use 'print' with function call syntax.
22713 (E_method_matcher.match): Fix tab vs space indentation mixup.
22714
ebcc6c3a
YQ
227152014-08-15 Yao Qi <yao@codesourcery.com>
22716
22717 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22718 false.
22719
775e0f04
YQ
227202014-08-15 Yao Qi <yao@codesourcery.com>
22721
22722 * gdb.cp/casts.exp: Set print symbol off.
22723 * gdb.cp/class2.exp: Likewise.
22724 * gdb.cp/overload.exp: Likewise.
22725 * gdb.cp/templates.exp: Likewise.
22726
d769e349
DE
227272014-08-11 Doug Evans <dje@google.com>
22728
22729 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22730 (test_load_shlib): Update.
22731
20c6f1e1
YQ
227322014-08-09 Yao Qi <yao@codesourcery.com>
22733
22734 * gdb.base/display.exp: Invoke is_address_zero_readable.
22735 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22736 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22737 * gdb.base/hbreak-unmapped.exp: Return if
22738 is_address_zero_readable returns true.
22739 * gdb.base/signest.exp: Likewise.
22740 * gdb.base/signull.exp: Likewise.
22741 * gdb.base/sigbpt.exp: Likewise.
22742 * gdb.guile/scm-disasm.exp: Do the test if
22743 is_address_zero_readable returns false.
22744 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22745 * gdb.python/py-arch.exp: Likewise.
22746 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22747 * lib/gdb.exp (is_address_zero_readable): New proc.
22748
5792e8e3
YQ
227492014-08-09 Yao Qi <yao@codesourcery.com>
22750
22751 PR testsuite/13443
22752 * gdb.mi/mi-var-display.exp: Make test messages unique.
22753
3cecbbbe
TT
227542014-08-04 Tom Tromey <tromey@redhat.com>
22755
22756 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22757 target 0".
22758
00b51ff5
TT
227592014-08-04 Tom Tromey <tromey@redhat.com>
22760
22761 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22762 "target_resume".
22763
6908c509
JB
227642014-08-01 Joel Brobecker <brobecker@adacore.com>
22765
22766 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22767 inner_vla_struct_object_size.
22768 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22769 as xfail.
22770
cc6563d2
PA
227712014-07-30 Pedro Alves <palves@redhat.com>
22772
22773 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22774 comment.
22775
7e09a223
YQ
227762014-07-29 Yao Qi <yao@codesourcery.com>
22777
22778 PR gdb/17206
22779 * gdb.base/until-nodebug.exp: New.
22780
7ebdbe92
DE
227812014-07-28 Doug Evans <xdje42@gmail.com>
22782
22783 PR guile/17203
22784 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22785 previously existing parameter, and previously ambiguously spelled
22786 parameter.
22787
fdb1adc6
WN
227882014-07-28 Will Newton <will.newton@linaro.org>
22789
22790 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22791
186fcde0
DE
227922014-07-26 Ludovic Courtès <ludo@gnu.org>
22793 Doug Evans <xdje42@gmail.com>
22794
22795 PR guile/17146
22796 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22797
70509625
PA
227982014-07-25 Pedro Alves <palves@redhat.com>
22799
22800 * gdb.threads/signal-command-handle-nopass.c: New file.
22801 * gdb.threads/signal-command-handle-nopass.exp: New file.
22802 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22803 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22804 * gdb.threads/signal-delivered-right-thread.c: New file.
22805 * gdb.threads/signal-delivered-right-thread.exp: New file.
22806
c3f814a1
PA
228072014-07-25 Pedro Alves <palves@redhat.com>
22808
22809 * gdb.base/double-prompt-target-event-error.exp
22810 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22811 match.
22812 (cancel_pagination_in_target_event): Rework double prompt
22813 detection.
22814 * gdb.base/paginate-after-ctrl-c-running.exp
22815 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22816 <return>' match.
22817 * gdb.base/paginate-bg-execution.exp
22818 (test_bg_execution_pagination_return)
22819 (test_bg_execution_pagination_cancel): Remove '-notransfer
22820 <return>' matches.
22821 * gdb.base/paginate-execution-startup.exp
22822 (test_fg_execution_pagination_return)
22823 (test_fg_execution_pagination_cancel): Remove '-notransfer
22824 <return>' matches.
22825 * gdb.base/paginate-inferior-exit.exp
22826 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22827 match.
22828 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22829 * lib/gdb.exp (pagination_prompt): Run text through
22830 string_to_regexp.
22831 (gdb_test_multiple): Match $pagination_prompt instead of
22832 "<return>".
22833 (string_to_regexp): Move to lib/gdb-utils.exp.
22834
e214cf6c
JK
228352014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22836
22837 * gdb.arch/amd64-entry-value-paramref.S: New file.
22838 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22839 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22840 * gdb.arch/amd64-optimout-repeat.S: New file.
22841 * gdb.arch/amd64-optimout-repeat.c: New file.
22842 * gdb.arch/amd64-optimout-repeat.exp: New file.
22843
17d0c5c8
JK
228442014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22845
22846 PR gdb/17170
22847 * gdb.base/statistics.exp: New file.
22848
b8b8facf
DE
228492014-07-17 Doug Evans <dje@google.com>
22850
74b49205 22851 PR gdb/17170
b8b8facf
DE
22852 * gdb.base/maint.exp: Update testing of per-command stats.
22853
1b5d0ab3
PA
228542014-07-16 Pedro Alves <palves@redhat.com>
22855
22856 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22857 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22858 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22859 (tfile_write_buf): New functions.
22860 (add_memory_block): Rewrite using the above.
22861 (adjust_function_address): New function.
22862 (FUNCTION_ADDRESS): New macro.
22863 (write_basic_trace_file): Remove short_x local, and use
22864 tfile_write_16. Change type of func_addr local to unsigned long
22865 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22866 here. Cast argument of add_memory_block to char pointer.
22867 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22868 (main): Remove parameters.
22869 * gdb.trace/tfile.exp: Remove nowarnings.
22870
4d974e88
SM
228712014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22872
22873 * gdb.base/debug-expr.exp: Test string evaluation with
22874 "debug expression" on.
22875
41e99568
PA
228762014-07-15 Pedro Alves <palves@redhat.com>
22877
22878 * gdb.base/reread.exp: Use clean_restart.
22879
487d9753
PL
228802014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22881
22882 * gdb.arch/avr-flash-qualifer.c: New.
22883 * gdb.arch/avr-flash-qualifer.exp: New.
22884
cc1c52ad
PA
228852014-07-14 Pedro Alves <palves@redhat.com>
22886
22887 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22888 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22889
1e973570
PA
228902014-07-14 Pedro Alves <palves@redhat.com>
22891
22892 * gdb.base/double-prompt-target-event-error.c: New file.
22893 * gdb.base/double-prompt-target-event-error.exp: New file.
22894
93d6eb10
PA
228952014-07-14 Pedro Alves <palves@redhat.com>
22896
22897 PR gdb/17072
22898 * gdb.base/paginate-inferior-exit.c: New file.
22899 * gdb.base/paginate-inferior-exit.exp: New file.
22900
0017922d
PA
229012014-07-14 Pedro Alves <palves@redhat.com>
22902
22903 PR gdb/17072
22904 * gdb.base/paginate-bg-execution.c: New file.
22905 * gdb.base/paginate-bg-execution.exp: New file.
22906
94696ad3
PA
229072014-07-14 Pedro Alves <palves@redhat.com>
22908
22909 PR gdb/17072
22910 * gdb.base/paginate-execution-startup.c: New file.
22911 * gdb.base/paginate-execution-startup.exp: New file.
22912 * lib/gdb.exp (pagination_prompt): New global.
22913 (default_gdb_spawn): New procedure, factored out from
22914 default_gdb_spawn.
22915 (default_gdb_start): Adjust to call default_gdb_spawn.
22916 (gdb_spawn): New procedure.
22917
bd293940
PA
229182014-07-14 Pedro Alves <palves@redhat.com>
22919
22920 * lib/gdb.exp (gdb_assert): New procedure.
22921 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22922
c933f875
PA
229232014-07-14 Pedro Alves <palves@redhat.com>
22924
22925 * gdb.base/execution-termios.c: New file.
22926 * gdb.base/execution-termios.exp: New file.
22927
d98b7a16
TT
229282014-07-14 Tom Tromey <tromey@redhat.com>
22929
22930 * gdb.cp/vla-cxx.cc: New file.
22931 * gdb.cp/vla-cxx.exp: New file.
22932
548740d6
TT
229332014-07-14 Tom Tromey <tromey@redhat.com>
22934
22935 * gdb.reverse/rerun-prec.c: New file.
22936 * gdb.reverse/rerun-prec.exp: New file.
22937
a25eb028
MR
229382014-07-12 Maciej W. Rozycki <macro@mips.com>
22939 Maciej W. Rozycki <macro@codesourcery.com>
22940
22941 * lib/gdb-utils.exp: New file.
22942 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22943 inline `gdb_init_command' processing.
22944 (gdb_start_cmd): Likewise.
22945 * lib/mi-support.exp (mi_run_cmd): Likewise.
22946 * README: Document `gdb_init_command' and `gdb_init_commands'.
22947
218c2655
JK
229482014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22949
22950 Fix false FAIL running under a very long directory name.
22951 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22952 and "set print elements 10000". Twice.
22953
5401fde3
YQ
229542014-07-11 Yao Qi <yao@codesourcery.com>
22955
22956 * gdb.base/exprs.exp: "set print symbol off".
22957
e76126e8
PA
229582014-07-11 Pedro Alves <palves@redhat.com>
22959
22960 * gdb.threads/kill.c: New file.
22961 * gdb.threads/kill.exp: New file.
22962
2d6f0de6
YQ
229632014-07-10 Yao Qi <yao@codesourcery.com>
22964
22965 * gdb.trace/tfile.c (write_basic_trace_file)
22966 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22967 address written to trace file.
22968
7180e04a
PA
229692014-07-09 Pedro Alves <palves@redhat.com>
22970
22971 * gdb.base/attach-wait-input.exp: New file.
22972 * gdb.base/attach-wait-input.c: New file.
22973
9a9a7608
AB
229742014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22975
22976 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22977 setting up test structures.
22978 (main): Call new test function.
22979 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22980 test function, continue into test function and walk test
22981 structures.
22982
161ac41e
YQ
229832014-07-02 Yao Qi <yao@codesourcery.com>
22984
22985 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22986 'bar_start' at the beginning of functions 'foo' and 'bar'
22987 respectively.
22988 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22989 instead of 'foo' and 'bar'.
22990
1f267ae3
MM
229912014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22992
22993 * gdb.btrace/segv.exp: New.
22994 * gdb.btrace/segv.c: New.
22995
2b239efb
LM
229962014-07-02 Luis Machado <lgustavo@codesourcery.com>
22997
22998 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22999 instruction.
23000
cf363f18
MW
230012014-06-30 Mark Wielaard <mjw@redhat.com>
23002
23003 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
23004 vulture, vilify, villar): New volatile array constants.
23005 (vindictive, vegetation): New const volatile array constants.
23006 * gdb.base/volatile.exp: Test volatile and const volatile array
23007 types.
23008
aebf9d24
AA
230092014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
23010
23011 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
23012 target lacks support for awatch, rwatch, or hbreak.
23013
b67a2c6f
YQ
230142014-06-27 Yao Qi <yao@codesourcery.com>
23015
23016 * gdb.multi/dummy-frame-restore.exp: New.
23017 * gdb.multi/dummy-frame-restore.c: New.
23018
aef92902
MM
230192014-06-25 Markus Metzger <markus.t.metzger@intel.com>
23020
23021 * gdb.btrace/gcore.exp: New.
23022
8e9db26e
PA
230232014-06-23 Pedro Alves <palves@redhat.com>
23024
23025 * gdb.base/watchpoint-reuse-slot.c: New file.
23026 * gdb.base/watchpoint-reuse-slot.exp: New file.
23027
70afc5b7
SC
230282014-06-23 Siva Chandra Reddy <sivachandra@google.com>
23029
23030 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
23031 progspace's filename in 'info', 'enable' and 'disable' command
23032 tests.
23033
b972bd9c
JK
230342014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
23035
23036 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
23037 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23038 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
23039
125f8a3d
GB
230402014-06-20 Gary Benson <gbenson@redhat.com>
23041
23042 * gdb.arch/i386-avx.exp: Fix include file location.
23043 * gdb.arch/i386-sse.exp: Likewise.
23044
3ed9baed
IB
230452014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
23046
23047 * gdb.dlang/expression.exp: New file.
23048
034f788c
PA
230492014-06-19 Pedro Alves <palves@redhat.com>
23050
23051 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
23052 out from ...
23053 (top level): ... here. Iterate running tests under different
23054 scheduler-locking settings.
23055
45371d0c
LM
230562014-06-18 Luis Machado <lgustavo@codesourcery.com>
23057
23058 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
23059 to DW_FORM_addr and use non-zero addresses.
23060
5d376983
SC
230612014-06-18 Siva Chandra Reddy <sivachandra@google.com>
23062
23063 PR gdb/17017
23064 * gdb.python/py-xmethods.cc: Add global function call counters and
23065 increment them in their respective functions. Remove "cout"
23066 statements.
23067 * gdb.python/py-xmethods.exp: Make tests check the global function
23068 call counters instead of depending on inferior IO.
23069
a1aa2221
LM
230702014-06-18 Don Breazeal <donb@codesourcery.com>
23071
23072 * gdb.base/foll-fork.exp (default_fork_parent_follow):
23073 Deleted procedure.
23074 (explicit_fork_parent_follow): Deleted procedure.
23075 (explicit_fork_child_follow): Deleted procedure.
23076 (test_follow_fork): New procedure.
23077 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 23078 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
23079 procedure calls.
23080
0fc05997
YQ
230812014-06-17 Yao Qi <yao@codesourcery.com>
23082
23083 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
23084 CP1252.
23085
70795c52
LM
230862014-06-17 Luis Machado <lgustavo@codesourcery.com>
23087
23088 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
23089 Initialize ptr and S explicitly.
23090 (skip_type_update_when_not_use_rtti_test): Likewise.
23091
6be47f0c
KS
230922014-06-16 Keith Seitz <keiths@redhat.com>
23093
23094 PR mi/15863
23095 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
23096 the inferior is started.
23097
d03de421
PA
230982014-06-16 Pedro Alves <palves@redhat.com>
23099
23100 * gdb.base/break-main-file-remove-fail.c: New file.
23101 * gdb.base/break-main-file-remove-fail.exp: New file.
23102 * gdb.base/break-unload-file.exp: Use build_executable instead of
23103 prepare_for_testing.
23104 (test_break): New parameter "initial_load". Handle it.
23105 (top level): Add initial_load cmdline/file axis.
23106
f9579b99
TT
231072014-06-12 Tom Tromey <tromey@redhat.com>
23108
23109 * gdb.base/completion.exp: Don't use directory name in test.
23110
3657956b
GB
231112014-06-09 Gary Benson <gbenson@redhat.com>
23112
23113 * gdb.base/sigall.c [Functions to send signals]: Reorder to
23114 separate the always-available ANSI-standard signals from the
23115 signals that require checking.
23116 (main): Likewise.
23117 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
23118 Likewise.
23119 (main): Likewise.
23120
4186eb54
KS
231212014-06-07 Keith Seitz <keiths@redhat.com>
23122
23123 Revert:
23124 PR c++/16253
23125 * gdb.cp/var-tag.cc: New file.
23126 * gdb.cp/var-tag.exp: New file.
23127 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23128 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23129 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23130 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23131
25326a28 231322014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
23133
23134 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
23135
829155c9
PA
231362014-06-06 Pedro Alves <palves@redhat.com>
23137
23138 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
23139 in target debug output instead of looking at RSP packets,
23140 disabling the test on any target that uses hardware stepping.
23141 Update comments.
23142
61c8d22e
PA
231432014-06-06 Pedro Alves <palves@redhat.com>
23144
23145 * gdb.base/break-unload-file.exp: Fix typo.
23146
d9a47287
YQ
231472014-06-06 Yao Qi <yao@codesourcery.com>
23148
23149 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
23150 from "jit_function" to "^jit_function".
23151
e5e01dbf
YQ
231522014-06-06 Yao Qi <yao@codesourcery.com>
23153
23154 * gdb.base/async.c (foo): Add one statement.
23155 * gdb.base/async.exp: Get the next instruction address and
23156 match the output of "nexti" by instruction address. Match
23157 the hex address in the output of "finish".
23158
73ba372c
GB
231592014-06-06 Gary Benson <gbenson@redhat.com>
23160
23161 * gdb.base/call-signals.c: Remove preprocessor conditionals
23162 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
23163 SIGSEGV and SIGTERM.
23164 * gdb.base/sigall.c: Likewise.
23165 * gdb.base/unwindonsignal.c: Likewise.
23166 * gdb.reverse/sigall-reverse.c: Likewise.
23167
831517df
YQ
231682014-06-06 Yao Qi <yao@codesourcery.com>
23169
23170 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
23171 readable, skip the test.
23172
b8b91e98
YQ
231732014-06-06 Yao Qi <yao@codesourcery.com>
23174
23175 * gdb.threads/staticthreads.c (thread_function): Move the line
23176 setting breakpoint on forward.
23177 * gdb.threads/staticthreads.exp: Update comments.
23178
fb934770
LC
231792014-06-05 Ludovic Courtès <ludo@gnu.org>
23180
23181 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
23182 "history-append! type error".
23183
6ef284bd
SM
231842014-06-05 Simon Marchi <simon.marchi@ericsson.com>
23185
23186 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
23187 erroneous dprintf expected input.
23188
a872e241
DE
231892014-06-04 Doug Evans <xdje42@gmail.com>
23190
23191 * gdb.guile/scm-generics.exp: Delete.
23192
16f691fb
DE
231932014-06-04 Doug Evans <xdje42@gmail.com>
23194
23195 * gdb.guile/scm-breakpoint.exp: Update.
23196 Add tests for breakpoint registration.
23197
012370f6
TT
231982014-06-04 Tom Tromey <tromey@redhat.com>
23199
23200 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
23201 VLA-in-union.
23202 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
23203 inner_vla_struct, vla_union types. Initialize objects of those
23204 types and compute their sizes.
23205
9f5a4cef
HZ
232062014-06-04 Nathan Sidwell <nathan@codesourcery.com>
23207 Hui Zhu <hui@codesourcery.com>
23208
23209 * gdb.base/fileio.exp: Add test for shell not available as well as
23210 available.
23211 * gdb.base/fileio.c (test_system): Check for shell twice.
23212
90a45c4d
YQ
232132014-06-04 Yao Qi <yao@codesourcery.com>
23214
23215 * gdb.base/auto-connect-native-target.exp: Remove redundant
23216 space from the regexp pattern.
23217
70017e41
YQ
232182014-06-04 Yao Qi <yao@codesourcery.com>
23219
23220 * gdb.base/default.exp: Replace "child" with "native" in
23221 regexp pattern.
23222
883964a7
SC
232232014-06-03 Siva Chandra Reddy <sivachandra@google.com>
23224
23225 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
23226 * gdb.python/py-xmethods.exp: New tests to test xmethods.
23227 * gdb.python/py-xmethods.py: Python script supporting the
23228 new testcase and tests.
23229
ef370185
JB
232302014-06-03 Joel Brobecker <brobecker@adacore.com>
23231 Pedro Alves <palves@redhat.com>
23232
23233 PR breakpoints/17000
23234 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
23235 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
23236
1e2ccb61
BM
232372014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
23238
23239 * gdb.base/subst.exp: Add tests to verify partial path matching
23240 output.
23241
c6ec5ab2
PA
232422014-06-03 Pedro Alves <palves@redhat.com>
23243
23244 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
23245 target that doesn't use software single-stepping.
23246
835c559f
PA
232472014-06-03 Pedro Alves <palves@redhat.com>
23248
23249 PR breakpoints/17000
23250 * gdb.base/sss-bp-on-user-bp-2.c: New file.
23251 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
23252
06eb1586
DE
232532014-06-02 Doug Evans <xdje42@gmail.com>
23254
23255 * gdb.guile/scm-parameter.exp: New file.
23256
e698b8c4
DE
232572014-06-02 Doug Evans <xdje42@gmail.com>
23258
23259 * gdb.guile/scm-cmd.c: New file.
23260 * gdb.guile/scm-cmd.exp: New file.
23261
ded03782
DE
232622014-06-02 Doug Evans <xdje42@gmail.com>
23263
23264 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
23265 pretty-printer lookup.
23266 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
23267 (make-pp_s-printer): Call it.
23268 (make-pretty-printer-from-dict): New function.
23269 (lookup-pretty-printer-maker-from-dict): New function.
23270 (*pretty-printer*): Simplify.
23271 (make-objfile-pp_s-printer): New function.
23272 (install-objfile-pretty-printers!): New function.
23273 (make-progspace-pp_s-printer): New function.
23274 (install-progspace-pretty-printers!): New function.
23275 * gdb.guile/scm-progspace.c: New file.
23276 * gdb.guile/scm-progspace.exp: New file.
23277
41fac0cf
PA
232782014-06-02 Pedro Alves <palves@redhat.com>
23279
23280 * gdb.base/dprintf-bp-same-addr.c: New file.
23281 * gdb.base/dprintf-bp-same-addr.exp: New file.
23282
96ae5695
EBM
232832014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23284
23285 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
23286 * gdb.arch/powerpc-power.s: Likewise.
23287
da02b3a8
JB
232882014-06-02 Joel Brobecker <brobecker@adacore.com>
23289
23290 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
23291
c72b2e7b
YQ
232922014-06-01 Yao Qi <yao@codesourcery.com>
23293
23294 * gdb.base/watchpoint.exp (test_watch_location): Check null
23295 pointer can be dereferenced. If not, do the test, otherwise
23296 skip it.
23297
53e8a631
AB
232982014-05-30 Andrew Burgess <aburgess@broadcom.com>
23299
23300 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
23301 results.
23302 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
23303
938f0e2f
AB
233042014-05-30 Andrew Burgess <aburgess@broadcom.com>
23305
23306 * gdb.arch/amd64-invalid-stack-middle.S: New file.
23307 * gdb.arch/amd64-invalid-stack-middle.c: New file.
23308 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
23309 * gdb.arch/amd64-invalid-stack-top.c: New file.
23310 * gdb.arch/amd64-invalid-stack-top.exp: New file.
23311
9ba6657a
PA
233122014-05-30 Pedro Alves <palves@redhat.com>
23313
23314 PR breakpoints/17000
23315 * gdb.base/sss-bp-on-user-bp.c: New file.
23316 * gdb.base/sss-bp-on-user-bp.exp: New file.
23317
522c09bf
DB
233182014-05-30 David Blaikie <dblaikie@gmail.com>
23319
23320 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
23321 gnu_inline semantics via attribute.
23322 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
23323 source explicitly specifies the required semantics.
23324
bf4ef81e
MR
233252014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
23326
23327 * gdb.reverse/sigall-reverse.exp: Fix a typo.
23328
329ea579
PA
233292014-05-29 Pedro Alves <palves@redhat.com>
23330 Tom Tromey <tromey@redhat.com>
23331
23332 * gdb.base/async-shell.exp: Don't enable target-async.
23333 * gdb.base/async.exp
23334 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
23335 parameter. Adjust.
23336 (top level): Don't test with "target-async".
23337 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
23338 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
23339 * gdb.base/inferior-died.exp: Don't enable target-async.
23340 * gdb.base/interrupt-noterm.exp: Likewise.
23341 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
23342 * gdb.mi/mi-nonstop-exit.exp: Likewise.
23343 * gdb.mi/mi-nonstop.exp: Likewise.
23344 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
23345 * gdb.mi/mi-nsintrall.exp: Likewise.
23346 * gdb.mi/mi-nsmoribund.exp: Likewise.
23347 * gdb.mi/mi-nsthrexec.exp: Likewise.
23348 * gdb.mi/mi-watch-nonstop.exp: Likewise.
23349 * gdb.multi/watchpoint-multi.exp: Adjust comment.
23350 * gdb.python/py-evsignal.exp: Don't enable target-async.
23351 * gdb.python/py-evthreads.exp: Likewise.
23352 * gdb.python/py-prompt.exp: Likewise.
23353 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
23354 * gdb.server/solib-list.exp: Don't enable target-async.
23355 * gdb.threads/thread-specific-bp.exp: Likewise.
23356 * lib/mi-support.exp: Adjust to use mi-async.
23357
fd664c91
PA
233582014-05-29 Pedro Alves <palves@redhat.com>
23359
23360 PR gdb/13860
23361 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
23362 reason, even in sync mode.
23363
251bde03
PA
233642014-05-29 Pedro Alves <palves@redhat.com>
23365 Hui Zhu <hui@codesourcery.com>
23366
23367 PR PR15693
23368 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
23369 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
23370 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
23371 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
23372
7f3c0343
JB
233732014-05-28 Joel Brobecker <brobecker@adacore.com>
23374
23375 * config/monitor.exp (gdb_target_monitor): Replace use of
23376 "set remotebaud" by "set serial baud".
23377
b2715b27
AW
233782014-05-26 Andy Wingo <wingo@igalia.com>
23379
23380 * gdb.guile/scm-breakpoint.exp:
23381 * gdb.guile/scm-gsmob.exp: Update to use plain old object
23382 properties instead of gdb-object-properties.
23383
498a4489
YQ
233842014-05-26 Yao Qi <yao@codesourcery.com>
23385
23386 * gdb.server/no-thread-db.exp: Specify source file name
23387 explicitly when setting a breakpoint.
23388
589fdceb
MM
233892014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23390
23391 * gdb.btrace/vdso.c: New.
23392 * gdb.btrace/vdso.exp: New.
23393
e9089e05
MM
233942014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23395
23396 * gdb.base/gcore.exp (capture_command_output): Move ...
23397 * lib/gdb.exp (capture_command_output): ... here.
23398
67b5c0c1
MM
233992014-05-23 Markus Metzger <markus.t.metzger@intel.com>
23400
23401 * gdb.btrace/data.exp: Test memory access during btrace replay.
23402
a2199296
SM
234032014-05-22 Simon Marchi <simon.marchi@ericsson.com>
23404
23405 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
23406
17b2616c
PA
234072014-05-21 Pedro Alves <palves@redhat.com>
23408
23409 PR gdb/13860
23410 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
23411 (top level): Test that output related to execution commands is
23412 sent to the console with CLI commands, but not with MI commands.
23413 Test that breakpoint events are always mirrored to the console.
23414 Also expect the new source line to be output after a "next" in
23415 async mode too. Make it a pass/fail test.
23416 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
23417 output.
23418 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
23419
5166082f
PA
234202014-05-21 Pedro Alves <palves@redhat.com>
23421
23422 * gdb.base/list.exp (build_pattern, test_list): New procedures.
23423 Use them to test variations of "list" after reaching a breakpoint.
23424 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
23425 Test "list" with listsize 10 after reaching a breakpoint.
23426 * gdb.python/python.exp (decode_line current location line
23427 number): Adjust expected line number.
23428
2f25d70f
SM
234292014-05-21 Simon Marchi <simon.marchi@ericsson.com>
23430
23431 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
23432 behavior for $args, pass it directly to "run".
23433
ff604a67
MR
234342014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
23435
23436 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
23437 30000 to 65536.
23438
6a3cb8e8
PA
234392014-05-21 Pedro Alves <palves@redhat.com>
23440
23441 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
23442 auto-connect-native-target off".
23443 * gdb.base/auto-connect-native-target.c: New file.
23444 * gdb.base/auto-connect-native-target.exp: New file.
23445
4ebfc96e
PA
234462014-05-21 Pedro Alves <palves@redhat.com>
23447
23448 * gdb.base/default.exp: Test "target native" instead of "target
23449 child".
23450
36d46afb
MW
234512014-05-21 Mark Wielaard <mjw@redhat.com>
23452
23453 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
23454
5876f503
JK
234552014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
23456
23457 Fix TLS access for -static -pthread.
23458 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
23459 <HAVE_TLS> (thread_function, main): Initialize it.
23460 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
23461 Add clean_restart.
23462 <$have_tls != "">: Check TLSVAR.
23463
0256a6ac
PA
234642014-05-21 Pedro Alves <palves@redhat.com>
23465
23466 * gdb.base/dcache-line-read-error.c: New.
23467 * gdb.base/dcache-line-read-error.exp: New.
23468
936d2992
PA
234692014-05-20 Pedro Alves <palves@redhat.com>
23470
23471 * gdb.base/compare-sections.c: New file.
23472 * gdb.base/compare-sections.exp: New file.
23473
802e8e6d
PA
234742014-05-20 Pedro Alves <palves@redhat.com>
23475
23476 * gdb.base/break-idempotent.c: New file.
23477 * gdb.base/break-idempotent.exp: New file.
23478
e59fa00f
MM
234792014-05-20 Markus Metzger <markus.t.metzger@intel.com>
23480
23481 * gdb.btrace/nohist.exp: New.
23482
8b696e31
YQ
234832014-05-20 Yao Qi <yao@codesourcery.com>
23484
23485 * lib/gdb.exp (gdb_init): Set timeout if test file is under
23486 gdb.reverse directory and gdb_reverse_timeout exists in board
23487 setting.
23488 * README: Document gdb_reverse_timeout.
23489
73c9764f
YQ
234902014-05-20 Yao Qi <yao@codesourcery.com>
23491
23492 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
23493 'test_file_name'. Treat args as a string instead of a list.
23494 (gdb_init): Rename argument 'args' by 'test_file_name'.
23495
f1f4348a
JK
234962014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
23497
23498 * gdb.arch/powerpc-power.exp: New file.
23499 * gdb.arch/powerpc-power.s: New file.
23500
0dbe70ce
DE
235012014-05-16 Doug Evans <dje@google.com>
23502
23503 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
23504 * gdb.base/completion.exp: Check that all expected files exist
23505 before doing file completion.
0dbe70ce 23506
8d551b02
DE
235072014-05-16 Doug Evans <dje@google.com>
23508
23509 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23510 Update.
23511 (do_syscall_tests_without_xml): Update.
23512
73eb7709
PA
235132014-05-16 Pedro Alves <palves@redhat.com>
23514
23515 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23516 instead of "unknown output after running".
23517
3fae92fc
YQ
235182014-05-16 Yao Qi <yao@codesourcery.com>
23519
23520 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23521 file1.txt from host at the end.
23522 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23523
c2b2ccc5
DE
235242014-05-15 Doug Evans <dje@google.com>
23525
23526 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23527 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23528 loading file. Add test for TU lookup.
23529
8c217a4b
SM
235302014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23531
23532 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23533 calling "-exec-arguments" or "set args" before running the
23534 inferior.
23535
3deb39c6
SM
235362014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23537
23538 * lib/mi-support.exp (mi_expect_stop): Expect message for
23539 inferiors that exit with non-zero exit code.
23540
71a79f8c
YQ
235412014-05-14 Yao Qi <yao@codesourcery.com>
23542
23543 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23544 match absolute path on remote host.
23545 (test_file_list_exec_source_files): Remove "/" from the
23546 pattern.
23547
f23fcd46
YQ
235482014-05-14 Yao Qi <yao@codesourcery.com>
23549
23550 * boards/local-remote-host-notty.exp (${board}_file): New
23551 proc.
23552
9404b58f
KM
235532014-05-07 Kyle McMartin <kyle@redhat.com>
23554
23555 Pushed by Joel Brobecker <brobecker@adacore.com>.
23556 * gdb.arch/aarch64-atomic-inst.c: New file.
23557 * gdb.arch/aarch64-atomic-inst.exp: New file.
23558
5e45f04c
YQ
235592014-05-07 Yao Qi <yao@codesourcery.com>
23560
23561 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23562 in current context" too.
23563
c888a17d
KS
235642014-05-05 Keith Seitz <keiths@redhat.com>
23565
23566 * gdb.linespec/ls-dollar.exp: Add test for linespec
23567 file:convenience_variable.
23568
290a839c
YQ
235692014-05-05 Yao Qi <yao@codesourcery.com>
23570
23571 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23572 traceframes into tfile and ctf trace files. Read data from
23573 trace file and test collected data.
23574 (gdb_collect_locals_test): Likewise.
23575 (gdb_unavailable_registers_test): Likewise.
23576 (gdb_unavailable_floats): Likewise.
23577 (gdb_collect_globals_test): Likewise.
23578 (top-level): Append "ctf" to trace_file_targets if GDB
23579 supports.
23580
b5262cd0
YQ
235812014-05-05 Yao Qi <yao@codesourcery.com>
23582
23583 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23584 code to ...
23585 (gdb_collect_args_test_1): ... it. New proc.
23586 (gdb_collect_locals_test): Move some code to ...
23587 (gdb_collect_locals_test_1): ... it. New proc.
23588 (gdb_unavailable_registers_test): Move some code to ...
23589 (gdb_unavailable_registers_test_1): ... it. New proc.
23590 (gdb_unavailable_floats): Move some code to ...
23591 (gdb_unavailable_floats_1): ... it. New proc.
23592
30a1e6cc
SDJ
235932014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23594
23595 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23596 probes to test for bitness recognition.
23597 * gdb.arch/amd64-stap-optional-prefix.exp
23598 (test_probe_value_without_reg): New procedure.
23599 Add code to test for different kinds of bitness.
23600
f33da99a
SDJ
236012014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23602
23603 PR breakpoints/16889
23604 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23605 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23606
5b80f00d
PA
236072014-05-01 Pedro Alves <palves@redhat.com>
23608
23609 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23610 gdb_file_cmd if no file is specified.
23611 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23612 last_loaded_file to set the remote exec-file.
23613
f8c2a73c
PA
236142014-05-01 Pedro Alves <palves@redhat.com>
23615
23616 * boards/local-remote-host.exp: New file.
23617
be6e8ac7
PA
236182014-05-01 Pedro Alves <palves@redhat.com>
23619
23620 * boards/local-remote-host.exp: Rename to ...
23621 * boards/local-remote-host-notty.exp: ... this.
23622
cac0dc8f
JB
236232014-04-28 Joel Brobecker <brobecker@adacore.com>
23624
23625 * gdb.ada/dyn_arrayidx: New testcase.
23626
9730e6cc
YQ
236272014-04-26 Yao Qi <yao@codesourcery.com>
23628
23629 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23630 and compute the length of function main. Save it in
23631 $main_length.
23632 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23633 (top-level): Use gdb_compile to compile objects into
23634 executable and restart GDB. Remove invocation to
23635 prepare_for_testing.
23636
7ae1a6a6
PA
236372014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23638 Pedro Alves <palves@redhat.com>
23639
23640 PR server/16255
23641 * gdb.multi/multi-attach.c: New file.
23642 * gdb.multi/multi-attach.exp: New file.
23643
4082afcc
PA
236442014-04-25 Pedro Alves <palves@redhat.com>
23645
23646 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23647 user.
23648 (top level): Test that "set remote conditional-breakpoints-packet
23649 off" works as intended.
23650 * gdb.base/dprintf.exp: Test that "set remote
23651 breakpoint-commands-packet off" works as intended.
23652 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23653 New function.
23654 (top level): Call it.
23655 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23656 remote fast-tracepoints-packet off" works as intended.
23657 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23658 * lib/gdb.exp (gdb_is_target_remote): ... here.
23659
2abc3f8d
DB
236602014-04-24 David Blaikie <dblaikie@gmail.com>
23661
23662 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23663 ensure clang would not discard them.
23664 * gdb.base/gdbvars.c: Ditto.
23665 * gdb.base/memattr.c: Ditto.
23666 * gdb.base/whatis.c: Ditto.
23667 * gdb.python/py-prettyprint.c: Ditto.
23668 * gdb.trace/actions.c: Ditto.
23669 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23670 ensure clang would not discard it.
23671
bfd39632
DB
236722014-04-24 David Blaikie <dblaikie@gmail.com>
23673
23674 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23675 clang to emit the full definition of type required by the test
23676 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23677
22842ff6
DB
236782014-04-24 David Blaikie <dblaikie@gmail.com>
23679
23680 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23681 coax Clang into emitting the definition of the type.
23682 * gdb.cp/pr10728-x.h (y): Ditto.
23683 * gdb.cp/pr10728-y.cc (y): Ditto.
23684
c2e827ad
DB
236852014-04-24 David Blaikie <dblaikie@gmail.com>
23686
23687 * gdb.base/label.exp: XFAIL label related tests under Clang.
23688 * gdb.cp/cplabel.exp: Ditto.
23689 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23690 under Clang those using labels.
23691
4c2d33e7
YQ
236922014-04-25 Yao Qi <yao@codesourcery.com>
23693
23694 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23695 double_label.
23696 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23697 partial_label and double_label.
23698
56083b99
DB
236992014-04-24 David Blaikie <dblaikie@gmail.com>
23700
23701 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23702
25d4e99d
DB
237032014-04-24 David Blaikie <dblaikie@gmail.com>
23704
23705 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23706 of the function to work across GCC and Clang.
23707 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23708 pointer types (const void ** const V void **).
23709
01f9f808
MS
237102014-04-24 Michael Sturm <michael.sturm@mintel.com>
23711 Walfred Tedeschi <walfred.tedeschi@intel.com>
23712
23713 * Makefile.in (EXECUTABLES): Added i386-avx512.
23714 * gdb.arch/i386-avx512.c: New file.
23715 * gdb.arch/i386-avx512.exp: Likewise.
23716
4b48d439
KS
237172014-04-23 Keith Seitz <keiths@redhat.com>
23718
23719 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23720 (mi_make_breakpoint_table): New procedure.
23721 (mi_create_breakpoint): Use mi_make_breakpoint
23722 and return the result.
23723 (mi_make_breakpoint): New procedure.
23724 (mi_build_kv_pairs): New procedure.
23725
23726 * gdb.mi/mi-break.exp: Remove unused globals,
23727 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23728 All callers updated.
23729 * gdb.mi/mi-dprintf.exp: Use variable to track command
23730 number.
23731 Update all callers of mi_create_breakpoint and use
23732 mi_make_breakpoint_table.
23733 Remove any unused global variables.
23734 * gdb.mi/mi-nonstop.exp: Likewise.
23735 * gdb.mi/mi-nsintrall.exp: Likewise.
23736 * gdb.mi/mi-nsmoribund.exp: Likewise.
23737 * gdb.mi/mi-nsthrexec.exp: Likewise.
23738 * gdb.mi/mi-reverse.exp: Likewise.
23739 * gdb.mi/mi-simplerun.exp: Likewise.
23740 * gdb.mi/mi-stepn.exp: Likewise.
23741 * gdb.mi/mi-syn-frame.exp: Likewise.
23742 * gdb.mi/mi-until.exp: Likewise.
23743 * gdb.mi/mi-var-cp.exp: Likewise.
23744 * gdb.mi/mi-var-display.exp: Likewise.
23745 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23746 * gdb.mi/mi2-var-child.exp: Likewise.
23747 * gdb.mi/mi-vla-c99.exp: Likewise.
23748 * lib/mi-support.exp: Likewise.
23749
23750 From Ian Lance Taylor <iant@cygnus.com>:
23751 * lib/gdb.exp (parse_args): New procedure.
23752
08351840
PA
237532014-04-23 Pedro Alves <palves@redhat.com>
23754
23755 * gdb.base/break-unload-file.c: New file.
23756 * gdb.base/break-unload-file.exp: New file.
23757 * gdb.base/sym-file-lib.c (baz): New function.
23758 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23759 field.
23760 (load): Store the segment's mapped size.
23761 (unload): New function.
23762 (unload_shlib): New function.
23763 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23764 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23765 set a breakpoint at baz, and call it.
23766 * gdb.base/sym-file.exp: New tests for stale breakpoint
23767 instructions.
23768
076855f9
PA
237692014-04-23 Pedro Alves <palves@redhat.com>
23770
23771 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23772 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23773 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23774 * gdb.base/hbreak-unmapped.c: New file.
23775 * gdb.base/hbreak-unmapped.exp: New file.
23776 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23777 * lib/gdb.exp (gdb_is_target_remote): ... here.
23778
483805cf
PA
237792014-04-22 Pedro Alves <palves@redhat.com>
23780
23781 * gdb.base/consecutive-step-over.c: New file.
23782 * gdb.base/consecutive-step-over.exp: New file.
23783
06d97543
PA
237842014-04-22 Pedro Alves <palves@redhat.com>
23785
23786 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23787 instead of send_gdb/gdb_expect.
23788
b4429ea2
YQ
237892014-04-22 Yao Qi <yao@codesourcery.com>
23790
23791 * lib/trace-support.exp (generate_tracefile): New procedure.
23792 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23793 return 0.
23794 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23795 if generate_tracefile returns 1.
23796
51d48146
PA
237972014-04-18 Tom Tromey <palves@redhat.com>
23798 Pedro alves <tromey@redhat.com>
23799
23800 PR backtrace/15558
23801 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23802 with a backtrace limit.
23803 * gdb.python/py-frame-inline.exp: Test running to an inline
23804 function with a backtrace limit, and printing the newest frame.
23805 * gdb.python/py-frame-inline.c (main): Call f.
23806
bd1dce5f
MS
238072014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23808
23809 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23810
40d1a503
MS
238112014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23812
23813 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23814 Drop prefix from unsupported source file path.
23815
389b98f7
YQ
238162014-04-17 Yao Qi <yao@codesourcery.com>
23817
23818 * lib/gdb.exp (with_target_charset): New proc.
23819 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23820 with_target_charset.
23821 (test_print_strings): Likewise.
23822 (test_repeat_bytes): Likewise.
23823 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23824 for some tests.
23825
22869d73
KS
238262014-04-16 Keith Seitz <keiths@redhat.com>
23827
23828 PR gdb/15827
23829 * gdb.dwarf2/corrupt.c: New file.
23830 * gdb.dwarf2/corrupt.exp: New file.
23831
c4f87ca6
KS
238322014-04-16 Keith Seitz <keiths@redhat.com>
23833
23834 PR c++/16597
23835 * gdb.cp/namelessclass.cc: New file.
23836 * gdb.cp/namelessclass.exp: New file.
23837 * gdb.cp/namelessclass.S: New file.
23838
ab19de87
DE
238392014-04-16 Doug Evans <dje@google.com>
23840
23841 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23842 Add comment.
23843 (gdbserver_default_get_comm_port): New function.
23844 (gdbserver_start): Check if board file provided
23845 "gdbserver,get_comm_port" and use it if so.
23846 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23847 (gdb,socketport): Set to "stdio".
23848 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23849 (stdio_gdbserver_template): Delete.
23850 (${board}_get_remote_address): Update.
23851 (${board}_build_remote_cmd): Delete.
23852 (${board}_get_comm_port): New function.
23853 (${board}_spawn): Update.
23854 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23855 Delete.
23856 (${board}_get_remote_address): Update.
23857 (${board}_get_comm_port): New function.
23858
fc98a809
AB
238592014-04-16 Andrew Burgess <aburgess@broadcom.com>
23860
23861 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23862 appearing in any order.
23863
87fd9e6e
DE
238642014-04-15 Doug Evans <dje@google.com>
23865
23866 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23867 uninitialized value of "description".
23868
099fc3ea
KS
238692014-04-15 Keith Seitz <keiths@redhat.com>
23870
23871 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23872 Remove unused globals.
23873 (test_running_the_program): Likewise.
23874 (test_controlled_execution): Likewise.
23875 (test_controlling_breakpoints): Likewise.
23876 (test_program_termination): Likewise.
23877
5da151d4
KS
238782014-04-15 Keith Seitz <keiths@redhat.com>
23879
23880 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23881 unused globals.
23882 (test_rbreak_creation_and_listing): Likewise.
23883 (test_ignore_count): Likewise.
23884 (test_error): Likewise.
23885
35e5d2f0
PA
238862014-04-15 Pedro Alves <palves@redhat.com>
23887
23888 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23889 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23890 sym-file-loader.c.
23891 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23892 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23893 to sym-file-loader.c.
23894 (struct library): Forward declare.
23895 (load_shlib, lookup_function): Change prototypes.
23896 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23897 (translate_offset): Remove declarations.
23898 (get_text_addr): New declaration.
23899 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23900 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23901 sym-file-loader.h.
23902 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23903 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23904 here from sym-file-loader.h.
23905 (struct library): New structure.
23906 (load_shlib, lookup_function): Change prototypes and adjust to
23907 work with a struct library.
23908 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23909 (translate_offset): Make static.
23910 (get_text_addr): New function.
23911 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23912
eb4c1710
PA
239132014-04-15 Pedro Alves <palves@redhat.com>
23914
23915 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23916
2d1baf52
PA
239172014-04-15 Pedro Alves <palves@redhat.com>
23918
23919 * gdb.base/sym-file-loader.c: Include <limits.h>.
23920 (SELF_LINK): New define.
23921 (get_origin): New function.
23922 (load_shlib): Use it.
23923 * gdb.base/sym-file.exp: Don't early return if the target is
23924 remote. Use runto_main, and issue fail is that fails. Use
23925 gdb_load_shlibs.
23926 (shlib_name): Delete.
23927 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23928
7dd6df01
PA
239292014-04-15 Pedro Alves <palves@redhat.com>
23930
23931 * gdb.base/sym-file.exp: Remove regex characters from test
23932 message. Don't refer to breakpoint numbers in test messages.
23933
b50c8614
KS
239342014-04-14 Keith Seitz <keiths@redhat.com>
23935
23936 PR c++/16253
23937 * gdb.cp/var-tag.cc: New file.
23938 * gdb.cp/var-tag.exp: New file.
23939 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23940 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23941 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23942 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23943
3d567982
TT
239442014-04-14 Tom Tromey <tromey@redhat.com>
23945
23946 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23947 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23948 type.
23949 * gdb.cp/enum-class.exp: New file.
23950 * gdb.cp/enum-class.cc: New file.
23951
0626fc76
TT
239522014-04-14 Tom Tromey <tromey@redhat.com>
23953
23954 * gdb.dwarf2/enum-type.exp: New file.
23955
dca325b3
SA
239562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23957
23958 * gdb.mi/mi-vla-c99.exp: New file.
23959 * gdb.mi/vla.c: New file.
23960
5854b38a
SA
239612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23962
23963 * gdb.base/vla-datatypes.c: New file.
23964 * gdb.base/vla-datatypes.exp: New file.
23965
463bb957
SA
239662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23967
23968 * gdb.base/vla-ptr.c: New file.
23969 * gdb.base/vla-ptr.exp: New file.
23970
3dd170be
SA
239712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23972
23973 * gdb.dwarf2/count.exp: New file.
23974
5ecaaa66
SA
239752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23976
23977 * gdb.base/vla-sideeffect.c: New file.
23978 * gdb.base/vla-sideeffect.exp: New file.
23979
41f1ada5
DB
239802014-04-14 David Blaikie <dblaikie@gmail.com>
23981
23982 * gdb.mi/non-stop.c: Add return value for non-void function return
23983 statement.
23984 * gdb.threads/staticthreads.c: Ditto.
23985
0be03e84
DE
239862014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23987 Doug Evans <xdje42@gmail.com>
23988
23989 * gdb.guile/scm-value.c: Improve test case.
23990 * gdb.guile/scm-value.exp: Add new test.
23991
f180a1fb
DB
239922014-04-11 David Blaikie <dblaikie@gmail.com>
23993
23994 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23995 override Clang's default.
23996
6b662e19
JB
239972014-04-11 Joel Brobecker <brobecker@adacore.com>
23998
23999 Revert the following changes (regressions):
24000
24001 * gdb.base/vla-sideeffect.c: New file.
24002 * gdb.base/vla-sideeffect.exp: New file.
24003
24004 * gdb.dwarf2/count.exp: New file.
24005
24006 * gdb.base/vla-multi.c: New file.
24007 * gdb.base/vla-multi.exp: New file.
24008
24009 * gdb.base/vla-ptr.c: New file.
24010 * gdb.base/vla-ptr.exp: New file.
24011
24012 * gdb.base/vla-datatypes.c: New file.
24013 * gdb.base/vla-datatypes.exp: New file.
24014
24015 * gdb.mi/mi-vla-c99.exp: New file.
24016 * gdb.mi/vla.c: New file.
24017
245a5f0b
KS
240182014-04-11 Keith Seitz <keiths@redhat.com>
24019
24020 PR c++/16675
24021 * gdb.cp/cpsizeof.exp: New file.
24022 * gdb.cp/cpsizeof.cc: New file.
24023
58a84dcf
SA
240242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24025
191a8a90
JB
24026 * gdb.mi/mi-vla-c99.exp: New file.
24027 * gdb.mi/vla.c: New file.
58a84dcf 24028
c8655f75
SA
240292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24030
24031 * gdb.base/vla-datatypes.c: New file.
24032 * gdb.base/vla-datatypes.exp: New file.
24033
024e13b4
SA
240342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24035
24036 * gdb.base/vla-ptr.c: New file.
24037 * gdb.base/vla-ptr.exp: New file.
24038
1a237e0e
SA
240392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24040
24041 * gdb.base/vla-multi.c: New file.
24042 * gdb.base/vla-multi.exp: New file.
24043
504f3432
SA
240442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24045
24046 * gdb.dwarf2/count.exp: New file.
24047
3bce8237
SA
240482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
24049
191a8a90
JB
24050 * gdb.base/vla-sideeffect.c: New file.
24051 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 24052
322f9c21
YQ
240532014-04-11 Yao Qi <yao@codesourcery.com>
24054
24055 * gdb.base/completion.exp: Check file exists before running tests
24056 on file completion.
24057
d708bcd1
PA
240582014-04-10 Pedro Alves <palves@redhat.com>
24059
24060 * gdb.base/cond-eval-mode.c: New file.
24061 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
24062 prepare_for_testing to build the new file. Check result of
24063 runto_main.
24064 (test_break, test_watch): New procedures.
24065 (top level): Use them.
24066
ae1d2761
PM
240672014-04-08 Pierre Muller <muller@sourceware.org>
24068
24069 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
24070 Ctrl-V use for mingw hosts.
24071
7af389b8
SC
240722014-04-07 Siva Chandra Reddy <sivachandra@google.com>
24073
24074 * gdb.python/py-value.c: Improve test case.
24075 * gdb.python/py-value.exp: Add new test.
24076
5e703181
DE
240772014-04-07 David Blaikie <dblaikie@gmail.com>
24078
24079 * lib/compiler.c: Identify the clang compiler.
24080 * lib/compiler.cc: Ditto.
24081
9810b410
YQ
240822014-04-03 Yao Qi <yao@codesourcery.com>
24083
24084 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
24085
98d1b8dc
AB
240862014-04-01 Anton Blanchard <anton@samba.org>
24087
24088 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
24089 messages unique.
24090
3114cea1
AB
240912014-04-01 Anton Blanchard <anton@samba.org>
24092
24093 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
24094 prepare_for_testing.
24095
62f7182c
AB
240962014-04-01 Anton Blanchard <anton@samba.org>
24097
24098 * gdb.arch/ppc64-atomic-inst.c: Remove.
24099 * gdb.arch/ppc64-atomic-inst.S: New file.
24100 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
24101
770e7fc7
DE
241022014-03-31 Doug Evans <dje@google.com>
24103
24104 * gdb.base/print-symbol-loading-lib.c: New file.
24105 * gdb.base/print-symbol-loading-main.c: New file.
24106 * gdb.base/print-symbol-loading.exp: New file.
24107
46e2bafa
YQ
241082014-03-31 Yao Qi <yao@codesourcery.com>
24109
24110 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
24111
8776cfe9
JB
241122014-03-28 Joel Brobecker <brobecker@adacore.com>
24113
24114 * gdb.ada/mi_dyn_arr: New testcase.
24115
5d1ef361
DE
241162014-03-27 Doug Evans <dje@google.com>
24117
24118 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
24119
b5bee914
YQ
241202014-03-27 Yao Qi <yao@codesourcery.com>
24121
24122 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
24123 if target is nios2-*-*.
24124
0d4d0e77
YQ
241252014-03-26 Yao Qi <yao@codesourcery.com>
24126
24127 * lib/gdb.exp (readline_is_used): New proc.
24128 * gdb.base/completion.exp: Move tests on command complete up.
24129 Skip the rest of tests if readline is not used.
24130 * gdb.ada/complete.exp: Skp the test if readline is not
24131 used.
24132 * gdb.base/filesym.exp: Likewise.
24133 * gdb.base/macscp.exp: Likewise.
24134 * gdb.base/readline-ask.exp: Likewise.
24135 * gdb.base/readline.exp: Likewise.
24136 * gdb.python/py-cmd.exp: Likewise.
24137 * gdb.trace/tfile.exp: Likewise.
24138
29361eee
YQ
241392014-03-26 Yao Qi <yao@codesourcery.com>
24140
24141 * gdb.base/macscp.exp: Fix code format issues.
24142
bc9a5525
UW
241432014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
24144
24145 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
24146 * gdb.asm/powerpc64le.inc: New file.
24147
d3839ede
PA
241482014-03-25 Pedro Alves <palves@redhat.com>
24149 Doug Evans <dje@google.com>
24150
24151 * gdb.base/source-execution.c: New file.
24152 * gdb.base/source-execution.exp: New file.
24153 * gdb.base/source-execution.gdb: New file.
24154
01672a57
DE
241552014-03-24 Doug Evans <dje@google.com>
24156
24157 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
24158 using fission.
24159
88bbeca9
HZ
241602014-03-24 Hui Zhu <hui@codesourcery.com>
24161 Pedro Alves <palves@redhat.com>
24162
24163 PR breakpoints/16101
24164 * gdb.base/dprintf.exp: Use unsupported rather than changing the
24165 test pass/fail messages. Detect missing support for dprintf when
24166 breakpoints are actually inserted.
24167 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
24168 breakpoints are actually inserted.
24169 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
24170 fails.
24171
d2348791
JK
241722014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
24173
24174 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
24175
feef67ab
DE
241762014-03-22 Doug Evans <xdje42@gmail.com>
24177
24178 * gdb.python/python.exp (python not supported): Verify multi-line
24179 python command issues an error.
25d743f9 24180 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 24181 guile command issues an error.
feef67ab 24182
ecebef6a
MR
241832014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
24184
24185 * gdb.threads/thread-specific.exp: Handle the lack of usable
24186 $this_breakpoint and $this_thread.
24187
ccdd1909
HZ
241882014-03-21 Hui Zhu <hui@codesourcery.com>
24189
24190 * gdb.base/attach.exp (do_command_attach_tests): New.
24191
beb460e8
PA
241922014-03-20 Tom Tromey <tromey@redhat.com>
24193 Pedro Alves <palves@redhat.com>
24194
24195 PR cli/15718
24196 * gdb.base/condbreak-call-false.c: New file.
24197 * gdb.base/condbreak-call-false.exp: New file.
24198
40acf43a
PA
241992014-03-20 Pedro Alves <palves@redhat.com>
24200
24201 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
24202 Delete.
24203 (block_signals, unblock_signals): Delete.
24204 (child_function_2, main): Remove references to deleted variable
24205 and functions.
24206
9f5e1e02
PA
242072014-03-20 Pedro Alves <palves@redhat.com>
24208
24209 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
24210 Use pthread_kill to signal thread 2.
24211 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24212 Adjust to make the test send itself a signal rather than using the
24213 host's "kill" command.
24214
99619bea
PA
242152014-03-20 Pedro Alves <palves@redhat.com>
24216
24217 * gdb.threads/multiple-step-overs.c: New file.
24218 * gdb.threads/multiple-step-overs.exp: New file.
24219 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24220 Adjust expected infrun debug output.
24221
2adfaa28
PA
242222014-03-20 Pedro Alves <palves@redhat.com>
24223
24224 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
24225 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
24226
31e77af2
PA
242272014-03-20 Pedro Alves <palves@redhat.com>
24228
24229 PR breakpoints/7143
24230 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
24231 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
24232 of gdb_test_multiple.
24233 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
24234 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
24235
b9f437de
PA
242362014-03-20 Pedro Alves <palves@redhat.com>
24237
24238 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
24239 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
24240
05adc73e
PA
242412014-03-19 Pedro Alves <palves@redhat.com>
24242
24243 * gdb.base/async.exp: Remove early return.
24244
6048b950
PA
242452014-03-19 Pedro Alves <palves@redhat.com>
24246
24247 * gdb.base/async.exp (step& tests): Pass explicit test messages.
24248
8bcfb00a
PA
242492014-03-19 Pedro Alves <palves@redhat.com>
24250
24251 * gdb.base/async.exp (test_background): Expect \r\n after
24252 "completed." in the fail pattern.
24253
884e37dc
PA
242542014-03-19 Pedro Alves <palves@redhat.com>
24255
24256 * gdb.base/async.exp (test_background): New procedure.
24257 Use it for all background execution command tests.
24258
148e57e2
PA
242592014-03-19 Pedro Alves <palves@redhat.com>
24260
24261 * gdb.base/async.exp: Use prepare_for_testing.
24262
f48088c7
PA
242632014-03-19 Pedro Alves <palves@redhat.com>
24264
24265 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
24266 the same line.
24267
e2f6c966
PA
242682014-03-19 Pedro Alves <palves@redhat.com>
24269
24270 * gdb.base/async.c (main): Add "jump here" and "until here" line
24271 marker comments.
24272 * gdb.base/async.exp (jump_here): New global.
24273 (jump& test): Use it.
24274 (until_here): New global.
24275 (until& test): Use it.
24276
c30568d4
PA
242772014-03-19 Pedro Alves <palves@redhat.com>
24278
24279 * gdb.base/async.exp: Don't frob gdb_protocol.
24280
0172b6a7
DE
242812014-03-18 Doug Evans <xdje42@gmail.com>
24282
24283 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
24284 Fix spelling of exec-done-display.
24285
06c868a8
JK
242862014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
24287
24288 PR gdb/15358
24289 * gdb.base/gdb-sigterm.c: New file.
24290 * gdb.base/gdb-sigterm.exp: New file.
24291
0c7e1a46
PA
242922014-03-18 Pedro Alves <palves@redhat.com>
24293
24294 PR gdb/13860
24295 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
24296 * lib/mi-support.exp (mi_expect_stop): Add special handling for
24297 solib-event.
24298
f7c77d93
JB
242992014-03-17 Joel Brobecker <brobecker@adacore.com>
24300
24301 * gdb.ada/pckd_arr_ren: New testcase.
24302
5a1e8c7a
DE
243032014-03-13 Doug Evans <xdje42@gmail.com>
24304
24305 PR guile/16612
24306 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
24307 collect after discarding symbols.
24308
350e1a76
DE
243092014-03-13 Ludovic Courtès <ludo@gnu.org>
24310 Doug Evans <xdje42@gmail.com>
24311
24312 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
24313 to history survives a gc.
24314
a69900ae
PA
243152014-03-13 Pedro Alves <palves@redhat.com>
24316
24317 * gdb.base/default.exp: Don't test "target procfs".
24318
5db9f0bd
PA
243192014-03-13 Pedro Alves <palves@redhat.com>
24320
24321 * gdb.base/default.exp: Update "target child" and "target procfs"
24322 tests to not expect "Unix".
24323
b3ccfe11
TT
243242014-03-12 Tom Tromey <tromey@redhat.com>
24325
24326 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
24327 New procs. Add target-async tests.
24328 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
24329 Add target-async tests.
24330
646f4417
AA
243312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24332
24333 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
24334 'func_start' and 'func_end' for the beginning and end of the
24335 function code, respectively.
24336 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
24337 'func_end' instead of 'func' and 'main'.
24338
288c211f
AA
243392014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24340
24341 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
24342 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
24343 generate the debug info assembler source.
24344
e0c0f156
AA
243452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24346
24347 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
24348 * gdb.dwarf2/arr-subrange.exp: Likewise.
24349 * gdb.dwarf2/dwz.exp: Likewise.
24350 * gdb.dwarf2/method-ptr.exp: Likewise.
24351 * gdb.dwarf2/missing-sig-type.exp: Likewise.
24352 * gdb.dwarf2/subrange.exp: Likewise.
24353 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
24354 * gdb.dwarf2/implptrpiece.exp: Likewise.
24355 * gdb.dwarf2/nostaticblock.exp: Likewise.
24356
0e5c4555
AA
243572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
24358
24359 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
24360 directory to absolute path name arguments.
24361
5ec18f2b
JG
243622014-03-10 Joel Brobecker <brobecker@adacore.com>
24363
24364 * gdb.ada/tagged_access: New testcase.
24365
847fc4f2
MM
243662014-03-07 Markus Metzger <markus.t.metzger@intel.com>
24367
24368 * gdb.btrace/data.exp: Update expected output.
24369
cc3da688
YQ
243702014-03-06 Yao Qi <yao@codesourcery.com>
24371
24372 * gdb.trace/pr16508.exp: New file.
24373
0f26cec1
PA
243742014-03-05 Pedro Alves <palves@redhat.com>
24375
24376 PR gdb/16575
24377 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
24378 procedure.
24379 (top level): Adjust to use it. Add tests that exercise breakpoint
24380 interaction with the code-cache.
24381
7a5a839f
LC
243822014-02-26 Ludovic Courtès <ludo@gnu.org>
24383
24384 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
24385 test for 'history-append!'.
24386
31aa7e4e
JB
243872014-02-26 Joel Brobecker <brobecker@adacore.com>
24388
24389 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
24390 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
24391 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
24392 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
24393 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
24394 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
24395
1b588015
JB
243962014-02-26 Joel Brobecker <brobecker@adacore.com>
24397
24398 * testsuite/gdb.python/py-pp-re-notag.c: New file.
24399 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
24400 * testsuite/gdb.python/py-pp-re-notag.p: New file.
24401
55426c9d
JB
244022014-02-26 Joel Brobecker <brobecker@adacore.com>
24403
24404 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
24405
dc53a7ad
JB
244062014-02-26 Joel Brobecker <brobecker@adacore.com>
24407
24408 * gdb.dwarf2/arr-stride.c: New file.
24409 * gdb.dwarf2/arr-stride.exp: New file.
24410
12ab52e9
PA
244112014-02-26 Pedro Alves <palves@redhat.com>
24412
24413 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
24414 that won't ever trigger. Make sure that GDB reports the correct
24415 breakpoint that caused the stop.
24416
849c862e
JK
244172014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24418
24419 PR gdb/16626
24420 * gdb.base/auto-load-script: New file.
24421 * gdb.base/auto-load.c: New file.
24422 * gdb.base/auto-load.exp: New file.
24423
71b7d793
JK
24424 PR gdb/16626
24425 * gdb.base/auto-load.exp: Fix out-of-srctree run.
24426
e2f0d509
JK
244272014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
24428
24429 Fix dw2-icycle.exp -fsanitize=address GDB crash.
24430 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
24431
50cc37c8
DE
244322014-02-24 Doug Evans <dje@google.com>
24433
24434 * lib/gdb.exp (run_on_host): Log error output if program fails.
24435
ea4758f2
PA
244362014-02-21 Pedro Alves <palves@redhat.com>
24437
24438 * gdb.threads/step-after-sr-lock.c: Rename to ...
24439 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
24440 * gdb.threads/step-after-sr-lock.exp: Rename to ...
24441 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
24442 ... this.
24443
d7b30f67
SDJ
244442014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
24445
24446 PR tdep/16397
24447 * gdb.arch/amd64-stap-special-operands.exp: New file.
24448 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
24449 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
24450 * gdb.arch/amd64-stap-triplet.S: Likewise.
24451 * gdb.arch/amd64-stap-triplet.c: Likewise.
24452
83deb43f
JB
244532014-02-20 Joel Brobecker <brobecker@adacore.com>
24454
24455 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
24456 in .section pseudo-op.
24457
adde2bff
DE
244582014-02-20 lin zuojian <manjian2006@gmail.com>
24459 Joel Brobecker <brobecker@adacore.com>
24460 Doug Evans <xdje42@gmail.com>
24461
24462 PR symtab/16581
24463 * gdb.dwarf2/dw2-icycle.S: New file.
24464 * gdb.dwarf2/dw2-icycle.c: New file.
24465 * gdb.dwarf2/dw2-icycle.exp: New file.
24466
f7bd0f78
SC
244672014-02-19 Siva Chandra Reddy <sivachandra@google.com>
24468
24469 * gdb.python/py-value-cc.cc: Improve test case to enable testing
24470 operations on gdb.Value objects.
24471 * gdb.python/py-value-cc.exp: Add new test to test operations on
24472 gdb.Value objects.
24473
c17ef0d5
DE
244742014-02-18 Doug Evans <dje@google.com>
24475
24476 * Makefile.in (TESTS): New variable.
24477 (expanded_tests, expanded_tests_or_none): New variables
24478 (check-single): Pass $(expanded_tests_or_none) to runtest.
24479 (check-parallel): Only run tests in $(TESTS) if non-empty.
24480 (check/no-matching-tests-found): New rule.
24481 * README: Document TESTS makefile variable.
24482
5dd3176f
DE
244832014-02-18 Doug Evans <dje@google.com>
24484
24485 * Makefile.in (check-parallel): rm -rf outputs temp.
24486
0b10be4f
JK
244872014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24488
24489 Fix "ERROR: no fileid for" in the testsuite.
24490 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
24491
85f224e7
DE
244922014-02-12 Doug Evans <dje@google.com>
24493
24494 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
24495 (MISCELLANEOUS): New variable.
24496 (clean): rm -rf $(MISCELLANEOUS).
24497 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
24498 dwp live in the same directory as symlinks, with each symlink pointed
24499 to a differently named file in a different directory.
24500
149b30ff
DE
245012014-02-11 Doug Evans <dje@google.com>
24502
24503 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
24504 of Tcl file commands.
24505
1dfdac32
MK
245062014-02-10 Mark Kettenis <kettenis@gnu.org>
24507
24508 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24509 "kill -SIGUSR1 -1".
24510
aa4fb036
JB
245112014-02-10 Joel Brobecker <brobecker@adacore.com>
24512
24513 * gdb.ada/tick_length_array_enum_idx: New testcase.
24514
ed3ef339
DE
245152014-02-10 Doug Evans <xdje42@gmail.com>
24516
24517 * configure.ac (AC_OUTPUT): Add gdb.guile.
24518 * configure: Regenerate.
24519 * lib/gdb-guile.exp: New file.
24520 * lib/gdb.exp (get_target_charset): New function.
24521 * gdb.base/help.exp: Update expected output from "apropos apropos".
24522 * gdb.guile/Makefile.in: New file.
24523 * gdb.guile/guile.exp: New file.
24524 * gdb.guile/scm-arch.c: New file.
24525 * gdb.guile/scm-arch.exp: New file.
24526 * gdb.guile/scm-block.c: New file.
24527 * gdb.guile/scm-block.exp: New file.
24528 * gdb.guile/scm-breakpoint.c: New file.
24529 * gdb.guile/scm-breakpoint.exp: New file.
24530 * gdb.guile/scm-disasm.c: New file.
24531 * gdb.guile/scm-disasm.exp: New file.
24532 * gdb.guile/scm-equal.c: New file.
24533 * gdb.guile/scm-equal.exp: New file.
24534 * gdb.guile/scm-error.exp: New file.
24535 * gdb.guile/scm-error.scm: New file.
24536 * gdb.guile/scm-frame-args.c: New file.
24537 * gdb.guile/scm-frame-args.exp: New file.
24538 * gdb.guile/scm-frame-args.scm: New file.
24539 * gdb.guile/scm-frame-inline.c: New file.
24540 * gdb.guile/scm-frame-inline.exp: New file.
24541 * gdb.guile/scm-frame.c: New file.
24542 * gdb.guile/scm-frame.exp: New file.
24543 * gdb.guile/scm-generics.exp: New file.
24544 * gdb.guile/scm-gsmob.exp: New file.
24545 * gdb.guile/scm-iterator.c: New file.
24546 * gdb.guile/scm-iterator.exp: New file.
24547 * gdb.guile/scm-math.c: New file.
24548 * gdb.guile/scm-math.exp: New file.
24549 * gdb.guile/scm-objfile-script-gdb.in: New file.
24550 * gdb.guile/scm-objfile-script.c: New file.
24551 * gdb.guile/scm-objfile-script.exp: New file.
24552 * gdb.guile/scm-objfile.c: New file.
24553 * gdb.guile/scm-objfile.exp: New file.
24554 * gdb.guile/scm-ports.exp: New file.
24555 * gdb.guile/scm-pretty-print.c: New file.
24556 * gdb.guile/scm-pretty-print.exp: New file.
24557 * gdb.guile/scm-pretty-print.scm: New file.
24558 * gdb.guile/scm-section-script.c: New file.
24559 * gdb.guile/scm-section-script.exp: New file.
24560 * gdb.guile/scm-section-script.scm: New file.
24561 * gdb.guile/scm-symbol.c: New file.
24562 * gdb.guile/scm-symbol.exp: New file.
24563 * gdb.guile/scm-symtab-2.c: New file.
24564 * gdb.guile/scm-symtab.c: New file.
24565 * gdb.guile/scm-symtab.exp: New file.
24566 * gdb.guile/scm-type.c: New file.
24567 * gdb.guile/scm-type.exp: New file.
24568 * gdb.guile/scm-value-cc.cc: New file.
24569 * gdb.guile/scm-value-cc.exp: New file.
24570 * gdb.guile/scm-value.c: New file.
24571 * gdb.guile/scm-value.exp: New file.
24572 * gdb.guile/source2.scm: New file.
24573 * gdb.guile/types-module.cc: New file.
24574 * gdb.guile/types-module.exp: New file.
24575
7026a7c1
YQ
245762014-02-10 Yao Qi <yao@codesourcery.com>
24577
24578 PR testsuite/16543
24579 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24580 * configure: Regenerated.
24581 * Makefile.in: New file.
24582
6c466447
AS
245832014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24584
24585 * gdb.python/py-framefilter.exp: Fix typo.
24586
6e854735
YQ
245872014-02-08 Yao Qi <yao@codesourcery.com>
24588
24589 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24590 that no =breakpoint-modified is emitted when breakpoints are
24591 modified through MI commands.
24592
d137e6dc
PA
245932014-02-07 Pedro Alves <pedro@codesourcery.com>
24594 Pedro Alves <palves@redhat.com>
24595
24596 * gdb.threads/step-after-sr-lock.c: New file.
24597 * gdb.threads/step-after-sr-lock.exp: New file.
24598
b5ee5a50
PA
245992014-02-07 Pedro Alves <palves@redhat.com>
24600
24601 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24602
3c77faf3
JK
246032014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24604
24605 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24606 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24607
6dddc817
DE
246082014-02-06 Doug Evans <xdje42@gmail.com>
24609
24610 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24611 output.
24612
24613 * gdb.gdb/python-interrupts.exp: New file.
24614
de7b2893
YQ
246152014-02-05 Yao Qi <yao@codesourcery.com>
24616
24617 * gdb.trace/report.exp (use_collected_data): Test the output
24618 of "info threads" and "info inferiors".
24619
66d032ac
YQ
246202014-02-05 Yao Qi <yao@codesourcery.com>
24621
24622 Revert this patch:
24623
24624 2013-05-24 Yao Qi <yao@codesourcery.com>
24625
24626 * gdb.trace/tfile.exp: Test inferior and thread.
24627
591a12a1
UW
246282014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24629
24630 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24631 on a function.
24632 * gdb.base/step-bt.c: Call hello via function pointer to make
24633 sure its first instruction is executed on powerpc64le-linux.
24634
0ff3e01f
UW
246352014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24636
24637 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24638
084ee545
UW
246392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24640
24641 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24642 of the test patterns for use on little-endian systems.
24643
6ed14ff3
UW
246442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24645
24646 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24647 (decimal_vector): Fix for little-endian.
24648
401e27fd
JM
246492014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24650
24651 * gdb.arch/sparc-sysstep.exp: New file.
24652 * gdb.arch/sparc-sysstep.c: Likewise.
24653
24654 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24655
8b924729
EBM
246562014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24657
24658 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24659
fb151210
JB
246602014-01-23 Tom Tromey <tromey@redhat.com>
24661
24662 * gdb.ada/array_char_idx: New testcase.
24663
0740f8d8
TT
246642014-01-23 Tom Tromey <tromey@redhat.com>
24665
24666 PR python/16487:
24667 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24668 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24669 classes.
24670
21909fa1
TT
246712014-01-23 Tom Tromey <tromey@redhat.com>
24672
24673 PR python/16491:
24674 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24675 string from an inferior frame.
24676 * gdb.python/py-framefilter-mi.exp: Update.
24677
87ce2a04
DE
246782014-01-22 Doug Evans <dje@google.com>
24679
24680 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24681
237b092b
AA
246822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24683
24684 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24685
d674a709
AA
246862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24687
24688 * gdb.trace/entry-values.exp: Remove excess space character from
24689 regex patterns. Handle s390 call instruction.
24690
20fa3390
AA
246912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24692
24693 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24694 define "*_start" label. Make "name" static.
24695 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24696 ${name} by references to ${name}_start.
24697
78466714
AA
246982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24699
24700 * gdb.base/info-macros.exp: Remove "debug" from the compile
24701 options.
24702
ec9f644a
IB
247032014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24704
24705 * gdb.dlang/demangle.exp: New file.
24706
94b1b47e
IB
247072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24708
24709 * gdb.dlang/primitive-types.exp: New file.
24710
7f420862
IB
247112014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24712
24713 * configure.ac: Create gdb.dlang/Makefile.
24714 * configure: Regenerate.
24715 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24716 * gdb.dlang/Makefile.in: New file.
24717 * lib/d-support.exp: New file.
24718 * lib/gdb.exp (skip_d_tests): New proc.
24719
52834460
MM
247202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24721
24722 * gdb.btrace/delta.exp: Check reverse stepi.
24723 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24724 * gdb.btrace/finish.exp: New.
24725 * gdb.btrace/next.exp: New.
24726 * gdb.btrace/nexti.exp: New.
24727 * gdb.btrace/record_goto.c: Add comments.
24728 * gdb.btrace/step.exp: New.
24729 * gdb.btrace/stepi.exp: New.
24730 * gdb.btrace/multi-thread-step.c: New.
24731 * gdb.btrace/multi-thread-step.exp: New.
24732 * gdb.btrace/rn-dl-bind.c: New.
24733 * gdb.btrace/rn-dl-bind.exp: New.
24734 * gdb.btrace/data.c: New.
24735 * gdb.btrace/data.exp: New.
24736 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24737
6e07b1d2
MM
247382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24739
24740 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24741 * gdb.btrace/exception.exp: Update.
24742 * gdb.btrace/instruction_history.exp: Update.
24743 * gdb.btrace/record_goto.exp: Update.
24744 * gdb.btrace/tailcall.exp: Update.
24745 * gdb.btrace/unknown_functions.exp: Update.
24746 * gdb.btrace/delta.exp: New.
24747
0b722aec
MM
247482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24749
24750 * gdb.btrace/record_goto.exp: Add backtrace test.
24751 * gdb.btrace/tailcall.exp: Add backtrace test.
24752
066ce621
MM
247532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24754
24755 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24756 * gdb.btrace/record_goto.c: New.
24757 * gdb.btrace/record_goto.exp: New.
24758 * gdb.btrace/x86-record_goto.S: New.
24759
0688d04e
MM
247602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24761
24762 * gdb.btrace/function_call_history.exp: Update tests.
24763 * gdb.btrace/instruction_history.exp: Update tests.
24764
8710b709
MM
247652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24766
24767 * gdb.btrace/function_call_history.exp: Fix expected field
24768 order for "record function-call-history".
24769 Add new tests for "record function-call-history /c".
24770 * gdb.btrace/exception.cc: New.
24771 * gdb.btrace/exception.exp: New.
24772 * gdb.btrace/tailcall.exp: New.
24773 * gdb.btrace/x86-tailcall.S: New.
24774 * gdb.btrace/x86-tailcall.c: New.
24775 * gdb.btrace/unknown_functions.c: New.
24776 * gdb.btrace/unknown_functions.exp: New.
24777 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24778
5de9129b
MM
247792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24780
24781 * gdb.btrace/instruction_history.exp: Update.
24782 * gdb.btrace/function_call_history.exp: Update.
24783
23a7fe75
MM
247842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24785
24786 * gdb.btrace/function_call_history.exp: Fix expected function
24787 trace.
24788 * gdb.btrace/instruction_history.exp: Initialize traced.
24789 Remove traced_functions.
24790
724c7dd8
MM
247912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24792
24793 * gdb.btrace/function_call_history.exp: Update
24794 * gdb.btrace/instruction_history.exp: Update.
24795
6d78d93b
MM
247962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24797
24798 * gdb.btrace/enable.exp: Update expected text.
24799
93a360cc
OJ
248002014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24801
24802 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24803 bytes.
24804
3772b53f
MR
248052014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24806
24807 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24808
596662fa
OJ
248092014-01-15 Omair Javaid <omair.javaid@linaro.org>
24810
24811 * lib/gdb.exp (supports_process_record): Return true for
24812 arm*-linux*. (supports_reverse): Likewise.
24813
b5b08fb4
SC
248142014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24815
24816 PR python/15464
24817 PR python/16113
24818 * gdb.python/py-type.c: Enhance test case.
24819 * gdb.python/py-value-cc.cc: Likewise
24820 * gdb.python/py-type.exp: Add new tests.
24821 * gdb.python/py-value-cc.exp: Likewise
24822
52d7fb13
AA
248232014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24824 Pedro Alves <palves@redhat.com>
24825
24826 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24827 Make "name" extern.
24828 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24829 references to ${name}_start by references to ${name}.
24830
a2cd8cfe
JB
248312014-01-10 Joel Brobecker <brobecker@adacore.com>
24832
24833 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24834
4e23fced
JB
248352014-01-10 Joel Brobecker <brobecker@adacore.com>
24836
24837 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24838
c6a9e42c
PA
248392014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24840 Pedro Alves <palves@redhat.com>
24841
24842 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24843 mi_gdb_target_load.
c6a9e42c 24844
b7ea362b
PA
248452014-01-08 Pedro Alves <palves@redhat.com>
24846
24847 * gdb.threads/reconnect-signal.c: New file.
24848 * gdb.threads/reconnect-signal.exp: New file.
24849
5e3f4fab
EBM
248502014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24851
24852 * gdb.base/source-dir.exp: New file.
24853
79301218
JB
248542014-01-07 Joel Brobecker <brobecker@adacore.com>
24855
24856 * gdb.ada/mi_interface: New testcase.
24857
8e355c5d
JB
248582014-01-07 Joel Brobecker <brobecker@adacore.com>
24859
24860 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24861 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24862 gdb.ada/pp-rec-component/pck.ads: New files.
24863
c0d48811
JB
248642014-01-07 Joel Brobecker <brobecker@adacore.com>
24865
24866 * gdb.python/py-pp-integral.c: New file.
24867 * gdb.python/py-pp-integral.py: New file.
24868 * gdb.python/py-pp-integral.exp: New file.
24869
17b609c3 24870For older changes see ChangeLog-1993-2013.
c906108c 24871\f
8d8cb839
EZ
24872;; Local Variables:
24873;; mode: change-log
24874;; left-margin: 8
24875;; fill-column: 74
24876;; version-control: never
24877;; End:
902f2ccb 24878
3666a048 24879 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24880 Copying and distribution of this file, with or without modification,
24881 are permitted provided the copyright notice and this notice are preserved.