]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/testsuite: resolve duplicate test names in gdb.guile/*.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
62f2f198
AB
12021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve
4 duplicate test names.
5 * gdb.guile/scm-parameter.exp: Provide test names to avoid
6 duplicate names based on the command being run.
7 * gdb.guile/scm-symbol.exp: Extend test name to make it unique.
8 * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when
9 loading a support module.
10 (test_equality): Update test name to match the actual test, making
11 the name unique in the process.
12 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names
13 to resolve duplicate tests.
14 (test_inferior_function_call): Likewise.
15 (test_subscript_regression): Likewise.
16
5c6f801d
AB
172021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
18
19 * lib/guile.exp (gdb_scm_load_file): Use empty test name to
20 silence PASS lines.
21 (gdb_install_guile_module): Likewise.
22
ee35ce82
GB
232021-05-12 George Barrett <bob@bob131.so>
24
25 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
26 value-const-value.
27
9d4fc61d
GB
282021-05-12 George Barrett <bob@bob131.so>
29
30 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
31 value-reference-value. Add test for value-rvalue-reference-value.
32
5048549a
TV
332021-05-11 Tom de Vries <tdevries@suse.de>
34
35 * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
36 Add "set debug infrun 1" commented out.
37
2302f963
TV
382021-05-11 Tom de Vries <tdevries@suse.de>
39
40 * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp.
41
abb894a4
BK
422021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com>
43
44 * gdb.fortran/array-element.exp: Breakpoint location is modified.
45
db1f6cd6
LS
462021-05-10 Lancelot Six <lsix@lancelotsix.com>
47
48 PR gdb/27614
49 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
50
9344937b
AB
512021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
52
53 * gdb.guile/guile.exp: Don't use the source directory as a
54 temporary HOME directory.
55
0709cf68
SM
562021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
57
58 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
59 parameters.
60
1845e254
AB
612021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
62
63 * gdb.guile/guile.exp: Add an extra test.
64
a3237c7c
AB
652021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
66
67 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
68 gdb_test_no_output.
69
13123da8
SM
702021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
71
72 * Re-format all Python files using black.
73 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
74
0618ecf6
AB
752021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
76
77 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
78 watchpoint object before and after registering it with GDB.
79
a7ed4ea6
AB
802021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
81
82 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
83 'proc_with_prefix', remove use of 'with_test_prefix', and
84 reindent.
85 (test_bkpt_deletion): Likewise.
86 (test_bkpt_cond_and_cmds): Likewise.
87 (test_bkpt_invisible): Likewise.
88 (test_watchpoints): Likewise.
89 (test_bkpt_internal): Likewise.
90 (test_bkpt_eval_funcs): Likewise.
91 (test_bkpt_registration): Likewise.
92 (test_bkpt_address): Convert to 'proc_with_prefix'.
93 (test_bkpt_probe): Likewise.
94
7ebbaa1c
AB
952021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
96
97 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
98 names to avoid duplicates.
99 (test_bkpt_cond_and_cmds): Likewise.
100 (test_bkpt_eval_funcs): Likewise.
101
79aabb73
TBA
1022021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
103
104 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
105 for the -break-condition command's "--force" flag.
106
10e578d7
TBA
1072021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
108
109 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
110 is called by the test.
111
2f000c80
TV
1122021-05-05 Tom de Vries <tdevries@suse.de>
113
114 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
115 "Reading symbols" or "Expanding full symbols" lines. Using timeout
116 factor of 2 for attach.
117
09f83f79
TV
1182021-05-05 Tom de Vries <tdevries@suse.de>
119
120 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
121 "LWP <n> exited" messages.
122
fa94b3a7
SM
1232021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
124
125 * gdb.python/py-type.exp (test_fields): Test calling fields on
126 an int type.
127
858c8f2c
SM
1282021-05-04 Simon Marchi <simon.marchi@efficios.com>
129
130 * gdb.python/flexible-array-member.exp: Adjust expected range
131 value for member declared with 0 size. Test accessing range
132 tuple through range type.
133
d389a1a7
AB
1342021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
135
136 PR testsuite/27788
137 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
138 expected results when environment variable PYTHONDONTWRITEBYTECODE
139 is set.
140
2869ac4b
TT
1412021-04-30 Tom Tromey <tromey@adacore.com>
142
143 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
144 (Confused_Array): New types.
145 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
146 * gdb.ada/enum_idx_packed.exp: Add new tests.
147
5536f0cc
TV
1482021-04-30 Tom de Vries <tdevries@suse.de>
149
150 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
151 existing timeout factors.
152
7f7f284d
TV
1532021-04-30 Tom de Vries <tdevries@suse.de>
154
155 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
156
3f334074
TV
1572021-04-29 Tom de Vries <tdevries@suse.de>
158
159 PR testsuite/27786
160 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
161 remotetimeout to 4.
162
db2534b7
TT
1632021-04-28 Tom Tromey <tromey@adacore.com>
164
165 * gdb.ada/null_overload.exp: New file.
166 * gdb.ada/null_overload/foo.adb: New file.
167
edeaceda
AB
1682021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
169
170 * gdb.python/py-startup-opt.exp: New file.
171
b9f90c72
LM
1722021-04-27 Luis Machado <luis.machado@linaro.org>
173
174 * gdb.base/maint.exp: Drop a pattern that is not needed.
175 * lib/gdb.exp (readnow): Match line-by-line.
176
4b62a30d
LM
1772021-04-27 Luis Machado <luis.machado@linaro.org>
178
179 * gdb.xml/tdesc-reload.exp: Pass -lbl.
180
2c473def
MW
1812021-04-27 Michael Weghorn <m.weghorn@posteo.de>
182 Simon Marchi <simon.marchi@polymtl.ca>
183
184 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
185 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
186 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
187 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
188 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
189 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
190
e8b6c1da
TT
1912021-04-26 Tom Tromey <tromey@adacore.com>
192
193 PR gdb/27743:
194 * gdb.dwarf2/imported-unit-bp.exp: New file.
195 * gdb.dwarf2/imported-unit-bp-main.c: New file.
196 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
197
bea3329b
SM
1982021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
199
200 PR gdb/27773
201 * gdb.base/dump.exp: Test dump to non-existent dir.
202
21f91785
LM
2032021-04-26 Luis Machado <luis.machado@linaro.org>
204
205 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
206 comparison.
207
fbb46296
LS
2082021-04-25 Lancelot Six <lsix@lancelotsix.com>
209
210 PR gdb/22640
211 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
212 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
213 changes the default behavior of 'ptype/o'. Update to take into
214 account new horizontal layout.
215 * gdb.rust/simple.exp: Update ptype test to check new horizontal
216 layout.
217 * gdb.rust/union.exp: Same.
218
9fc29955
AB
2192021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
220
221 * gdb.base/info_sources.exp: Add new tests.
222
432ce4cf
TT
2232021-04-22 Tom Tromey <tom@tromey.com>
224
225 * gdb.base/ptype-offsets.cc (struct empty_member): New.
226 (main): Use empty_member.
227 * gdb.base/ptype-offsets.exp: Add new test.
228
a87caa6d
SM
2292021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
230
231 * gdb.python/flexible-array-member.exp: Add check for Python
232 support.
233
e25d6d93
SM
2342021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
235
236 PR gdb/27757
237 * gdb.python/flexible-array-member.c: New test.
238 * gdb.python/flexible-array-member.exp: New test.
239 * gdb.guile/scm-type.exp (test_range): Add test for flexible
240 array member.
241 * gdb.guile/scm-type.c (struct flex_member): New.
242 (main): Use it.
243
22f80c0f
TT
2442021-04-22 Tom Tromey <tom@tromey.com>
245
246 * gdb.rust/modules.exp: Add checks for syntax errors.
247 * gdb.rust/expr.exp: Add checks for syntax errors.
248 * gdb.rust/simple.exp: Add checks for syntax errors.
249
6d5702a5
CL
2502021-04-21 Carl Love <cel@us.ibm.com>
251
252 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
253 Update expected string for gdb_test "bt".
254
255 * lib/valgrind.exp: Add set remotetimeout 3.
256 Increase vgdb wait from 1 to 2.
257 Add max-invoke-ms option to vgdb command line.
258
10a636cc
TBA
2592021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
260
261 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
262 conditions.
263
98e713ab
SM
2642021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
265 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
266
267 * gdb.mi/mi-break.exp: Fix the duplicate test names.
268
525174e8
FW
2692021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
270
271 * gdb.base/address_space_qualifier.exp: New file.
272
392e0bcc
TT
2732021-04-19 Tom Tromey <tromey@adacore.com>
274
275 PR gdb/27742:
276 * gdb.opt/inline-locals.exp: Update kfail patterns.
277
da314dd3
TT
2782021-04-17 Tom Tromey <tom@tromey.com>
279
280 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
281
3cbc7ac3
TT
2822021-04-16 Tom Tromey <tom@tromey.com>
283
284 * gdb.rust/simple.exp: Change error text.
285 * gdb.rust/expr.exp: Change error text.
286
458620aa
TT
2872021-04-16 Tom Tromey <tom@tromey.com>
288
289 * gdb.rust/simple.exp: Add parens to 'as' test.
290
321d0cd7
SM
2912021-04-16 Simon Marchi <simon.marchi@efficios.com>
292
293 * boards/simavr.exp: Set debug_flags.
294
1b6b755e
LM
2952021-04-16 Luis Machado <luis.machado@linaro.org>
296
297 * gdb.dwarf2/dw2-bfloat16.exp: New file.
298
fd5c30cd
AB
2992021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
300
301 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
302 including a path in the test name.
303
41f14dc8
SM
3042021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
305
306 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
307
a15a276b
TT
3082021-04-15 Tom Tromey <tromey@adacore.com>
309
310 * gdb.dwarf2/arr-stride.exp: Add test.
311
5809fbf2
TT
3122021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
313
314 * gdb.base/startup-file.exp: Add more tests.
315
92e4e97a
AB
3162021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
317
318 PR cli/25956
319 * gdb.base/early-init-file.c: New file.
320 * gdb.base/early-init-file.exp: New file.
321 * lib/gdb-utils.exp (style): Handle style 'none'.
322
fcc99c42
TBA
3232021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
324
325 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
326 @DW_INL_declared_inlined for the inline attribute.
327
34dc0f95
TBA
3282021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
329
330 * gdb.opt/inline-locals.c (scoped): New function.
331 (main): Call 'scoped'.
332 * gdb.opt/inline-locals.exp: Update with "info locals" tests
333 for scoped variables.
334 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
335 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
336
ac4d323e
TBA
3372021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
338
339 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
340
6b142048
WS
3412021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
342
343 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
344
82d9b280 3452021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
c8a37944
WS
346
347 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
348 non-relative plxv instructions.
349 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
350
3512021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
82d9b280 352
e3d528d7
WS
353 PR gdb/27525
354 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
355 exercise single-stepping over subpcis,lnia,addpcis instructions
356 with displacement.
357 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
358 of addpcis/lnia/subpcis instructions.
359 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
360 exercise single-stepping over lnia instructions with displacement.
361 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
362 lnia instructions.
363
3642021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
365
82d9b280
WS
366 * gdb.arch/powerpc-power10.s: New test for instructions.
367 * gdb.arch/powerpc-power10.exp: Harness to run the test.
368
6ba4cb84
CL
3692021-4-12 Carl Love <cel@us.ibm.com>
370
371 * gdb.arch/vsx-vsr-float128.c: New test file.
372 * gdb.arch/vsx-vsr-float128.exp: New expect file.
373
9d8f3022
MM
3742021-04-12 Markus Metzger <markus.t.metzger@intel.com>
375
376 * gdb.btrace/reconnect.exp: Relax expected stepi output.
377
dc2b480f
WP
3782021-04-07 Weimin Pan <weimin.pan@oracle.com>
379
380 * gdb.base/ctf-ptype.c: Add struct link containing a forward
381 reference type.
382 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
383
0a703a4c
AB
3842021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
385
386 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
387 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
388
30ab3586
AB
3892021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
390
391 * gdb.cp/rvalue-ref-params.cc (f3): New function.
392 (f4): New function.
393 (global_int): New global variable.
394 (global_float): Likeiwse.
395 (main): Call both new functions.
396 * gdb.cp/rvalue-ref-params.exp: Add new tests.
397
56d467f4
CT
3982021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
399
400 * gdb.dwarf2/fission-relative-dwo.c: New file.
401 * gdb.dwarf2/fission-relative-dwo.exp: New file.
402
61dee722
AB
4032021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
404
405 * gdb.dwarf2/fission-absolute-dwo.c: New file.
406 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
407 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
408 instead of build_executable_from_fission_assembler.
409 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
410 * gdb.dwarf2/fission-loclists.exp: Likewise.
411
412 * gdb.dwarf2/fission-multi-cu.S: Delete file.
413 * gdb.dwarf2/fission-multi-cu.c: New file based on old
414 fission-multi-cu1.c and fission-multi-cu2.c files.
415 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
416 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
417 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
418 * gdb.dwarf2/fission-reread.exp: Likewise.
419 * lib/dwarf.exp (extract_dwo_information): New proc.
420 (strip_dwo_information): New proc.
421 (build_executable_and_dwo_files): New proc.
422 (build_executable_from_fission_assembler): Delete.
423 (Dwarf::_debug_addr_index): New variable.
424 (Dwarf::_cu_is_fission): New variable.
425 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
426 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
427 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
428 if this is a fission CU.
429 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
430 (Dwarf::debug_addr_label): New proc.
431 (Dwarf::cu): Initialise _cu_is_fission.
432 (Dwarf::tu): Likewise.
433 (Dwarf::assemble): Initialise _debug_addr_index.
434
1fd999d9
AB
4352021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
436
437 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
438
79c02443
AB
4392021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
440
441 * gdb.python/py-parameter.exp: Add test for reading data-directory
442 using gdb.parameter API.
443
340d00fb
TV
4442021-04-06 Tom de Vries <tdevries@suse.de>
445
446 PR breakpoints/25884
447 * gdb.opt/inline-cmds.exp: Remove kfail.
448
043bcbaf
TV
4492021-04-06 Tom de Vries <tdevries@suse.de>
450
451 PR testsuite/27691
452 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
453 file "".
454
ac628a06
EB
4552021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
456
457 * lib/pdtrace.in: Fix obvious typo.
458
3f49d080
TT
4592021-03-31 Tom Tromey <tromey@adacore.com>
460
461 * lib/dwarf.exp (Dwarf::_get_args): New proc.
462 (Dwarf::_location): Use it.
463
cfcbd506
TV
4642021-03-31 Tom de Vries <tdevries@suse.de>
465
466 PR testsuite/27667
467 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
468
8a91fbdf
SM
4692021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
470
471 PR gdb/27541
472 * gdb.base/index-cache-load-twice.exp: Remove.
473 * gdb.base/index-cache-load-twice.c: Remove.
474 * gdb.dwarf2/per-bfd-sharing.exp: New.
475 * gdb.dwarf2/per-bfd-sharing.c: New.
476
b953e703
TV
4772021-03-30 Tom de Vries <tdevries@suse.de>
478
479 PR testsuite/27604
480 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
481
aa33ea68
TBA
4822021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
483
484 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
485 the infinite loop to avoid a Clang bug.
486
99066782
WS
4872021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
488
489 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
490 names for uniqueness.
491 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
492 uniqueness.
493
b1f3973b
AB
4942021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
495
496 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
497 member.
498 (make_container): Initialise is_array_p.
499 * gdb.python/py-prettyprint.exp: Add new tests.
500 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
501 Check is_array_p and possibly return 'array'.
502
3c2dcf90
AB
5032021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
504
505 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
506 * gdb.cp/casts.exp: Give tests unique names.
507 * gdb.cp/filename.exp: Likewise.
508 * gdb.cp/gdb2495.exp: Likewise.
509 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
510 * gdb.cp/misc.exp: Rename test to make it unique.
511 * gdb.cp/nsnested.exp: Give tests unique names.
512 * gdb.cp/ovldbreak.exp: Likewise.
513 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
514 being tested. This also removes the duplicate test name.
515 * gdb.cp/ref-types.exp: Likewise.
516 * gdb.cp/temargs.exp: Likewise.
517
6b78370d
AB
5182021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
519
520 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
521 square brackets in test.
522
baecbb3d
AB
5232021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
524
525 * gdb.cp/maint.exp (test_first_component): Run more tests with a
526 variable number of spaces, this removes the duplicate testing of
527 'operator ->' which existed before.
528
6e892297
AB
5292021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
530
531 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
532 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
533 duplicates, and also to avoid having a string inside parentheses
534 at the end of test names.
535
ac45a6ca
AB
5362021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
537
538 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
539 Avoid repeated uses of 'runto', and instread just progress once
540 through the test stopping at different breakpoints. Give comments
541 a capital letter and full stop. Give duplicate tests unique names.
542
323fd5b9
PA
5432021-03-25 Pedro Alves <pedro@palves.net>
544
545 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
546 "target_non_stop" parameter and use it.
547 (top level): Add "maint set target-non-stop on/off" testing axis.
548
ba3c61fc
AB
5492021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
550
551 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
552 gdb_test_multiple.
553
bf0aecce
LM
5542021-03-24 Luis Machado <luis.machado@linaro.org>
555
556 * gdb.arch/aarch64-mte.c: New file.
557 * gdb.arch/aarch64-mte.exp: New test.
558 * gdb.base/memtag.c: New file.
559 * gdb.base/memtag.exp: New test.
560 * lib/gdb.exp (supports_memtag): New function.
561
bef382e6
LM
5622021-03-24 Luis Machado <luis.machado@linaro.org>
563
564 * gdb.base/options.exp: Adjust for new print options.
565 * gdb.base/with.exp: Likewise.
566
702cf3f5
AB
5672021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
568
569 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
570 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
571
1e7fcccb
AB
5722021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
573
574 * gdb.dwarf2/dw2-using-debug-str.c: New file.
575 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
576 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
577 not .debug_string.
578
4829711b
TT
5792021-03-20 Tom Tromey <tom@tromey.com>
580
581 * gdb.base/maint.exp: Update "maint print statistics" output.
582
e0d6d274
KB
5832021-03-19 Kevin Buettner <kevinb@redhat.com>
584
585 * lib/gdbserver-support.exp (gdbserver_exit): Use the
586 "-nowait" flag when waiting for gdbserver to exit.
587
a088215a
SST
5882021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
589
590 * gdb.base/info-macros.exp: Append -fdebug-macro to
591 additional_flags for clang.
592 * gdb.base/macscp.exp: Likewise.
593 * gdb.base/style.exp: Likewise.
594 * gdb.linespec/macro-relative.exp: Likewise.
595
d0c99a23
SM
5962021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
597 Pedro Alves <pedro@palves.net>
598
599 * gdb.base/run-attach-while-running.exp: New.
600 * gdb.base/run-attach-while-running.c: New.
601
7807d76a
AB
6022021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
603
604 * gdb.python/py-framefilter-addr.c: New file.
605 * gdb.python/py-framefilter-addr.exp: New file.
606 * gdb.python/py-framefilter-addr.py: New file.
607
f302f9e2
AB
6082021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
609
610 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
611 Make use of $gdb_test_name instead of creating a separate $test
612 variable.
613 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
614 adding a '($name)' at the end of each test. This also catches the
615 one place where '($name)' was missing, and so caused a duplicate
616 test name.
617 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
618 duplicate test names based on the command being tested.
619 * gdb.threads/signal-command-multiple-signals-pending.exp:
620 Likewise.
621 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
622 avoid duplicate testnames when a test script uses this proc and
623 also gdb_compile_pthreads.
624 * lib/prelink-support.exp (build_executable_own_libs): Use
625 with_test_prefix to avoid duplicate test names when we call
626 build_executable twice.
627
6813ceb0
TT
6282021-03-15 Tom Tromey <tromey@adacore.com>
629
630 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
631
3b5c4de0
TT
6322021-03-15 Tom Tromey <tromey@adacore.com>
633
634 * gdb.ada/varsize_limit.exp: Add new test.
635 * gdb.ada/varsize_limit/vsizelim.adb: Update.
636
c04da66c
TT
6372021-03-15 Tom Tromey <tromey@adacore.com>
638
639 * gdb.ada/operator_call/twovecs.ads: New file.
640 * gdb.ada/operator_call/twovecs.adb: New file.
641 * gdb.ada/operator_call/opcall.adb: New file.
642 * gdb.ada/operator_call.exp: New file.
643
1ac74522
TT
6442021-03-15 Tom Tromey <tromey@adacore.com>
645
646 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
647 * gdb.ada/enums_overload/enums_overload.ads: New file.
648 * gdb.ada/enums_overload/enums_overload.adb: New file.
649 * gdb.ada/enums_overload.exp: New file.
650
207582c0
TT
6512021-03-15 Tom Tromey <tromey@adacore.com>
652
653 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
654 Declare.
655 * gdb.ada/assign_arr/target_wrapper.adb: New file.
656 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
657 Call Put.
658 * gdb.ada/assign_arr.exp: Update.
659
ba6a0ef3
AB
6602021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
661
662 * gdb.python/py-auto-load-chaining-f1.c: New file.
663 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
664 * gdb.python/py-auto-load-chaining-f2.c: New file.
665 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
666 * gdb.python/py-auto-load-chaining.c: New file.
667 * gdb.python/py-auto-load-chaining.exp: New file.
668
7f99d636
AB
6692021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
670
671 * gdb.python/py-bad-printers.exp: Extend test names to make them
672 unique.
673 * gdb.python/py-events.exp: Likewise.
674 * gdb.python/py-finish-breakpoint2.exp: Likewise.
675 * gdb.python/py-frame-inline.exp: Likewise.
676 * gdb.python/py-frame.exp: Likewise.
677 * gdb.python/py-infthread.exp: Likewise.
678
323b848c
AB
6792021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
680
681 * gdb.python/py-value-cc.exp: Remove a duplicate test.
682
8a4efb36
AB
6832021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
684
685 * gdb.python/lib-types.exp: Update the test to check the correct
686 python variable.
687
66bb1dd9
AB
6882021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
689
690 * gdb.python/py-explore-cc.exp: Extend test names to make them
691 unique.
692
0125fabc
AB
6932021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
694
695 * gdb.python/py-lookup-type.exp: Remove duplicate test.
696
79d04157
AB
6972021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
698
699 * gdb.python/py-symtab.exp: Extend test names to make them
700 unique.
701
e3e48d8f
AB
7022021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
703
704 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
705 names unique.
706
2cb60e74
AB
7072021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
708
709 * gdb.python/py-block.exp: Give tests unique names.
710
8b12ded4
AB
7112021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
712
713 * gdb.python/py-pp-maint.exp: Extend test names to make them
714 unique.
715
93598ea4
AB
7162021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
717
718 * gdb.python/py-explore.exp: Add with_test_prefix to make test
719 names unique.
720
f35d6971
AB
7212021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
722
723 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
724
22d3e7f6
AB
7252021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
728 names unique.
729
5fc5a1b8
AB
7302021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
731
732 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
733 test names unique.
734
e3141a4d
AB
7352021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
736
737 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
738 unique.
739
ccdc02ed
TT
7402021-03-09 Tom Tromey <tromey@adacore.com>
741
742 * gdb.base/cast-call.exp: New file.
743 * gdb.base/cast-call.c: New file.
744
fbb1aace
AB
7452021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
746
747 * gdb.gdb/python-helper.exp: New file.
748
611aa09d
FW
7492020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
750
751 * gdb.fortran/intrinsics.exp: Add LOC tests.
752
eef32f59
AB
7532021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
754
755 * gdb.fortran/shape.exp: New file.
756 * gdb.fortran/shape.f90: New file.
757
7ba155b3
AB
7582021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
759
760 * gdb.fortran/size.exp: New file.
761 * gdb.fortran/size.f90: New file.
762
e14816a8
AB
7632021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
764
765 * gdb.fortran/rank.exp: New file.
766 * gdb.fortran/rank.f90: New file.
767
d308ba78
TT
7682021-03-08 Tom Tromey <tom@tromey.com>
769
770 * gdb.fortran/debug-expr.exp: Update tests.
771
d182f279
TT
7722021-03-08 Tom Tromey <tom@tromey.com>
773
774 * gdb.base/debug-expr.exp: Update expected dump output.
775
a7308ce0
TT
7762021-03-06 Tom Tromey <tom@tromey.com>
777
778 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
779 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
780 * gdb.dwarf2/dwznolink.exp: New file.
781
b0a8c2ff
MW
7822021-03-05 Mark Wielaard <mark@klomp.org>
783
784 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
785
844be3f2
WP
7862021-03-06 Weimin Pan <weimin.pan@oracle.com>
787
788 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
789
82333781
MM
7902021-03-03 Markus Metzger <markus.t.metzger@intel.com>
791
792 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
793
32c52999
MM
7942021-03-03 Markus Metzger <markus.t.metzger@intel.com>
795
796 * gdb.btrace/non-stop.exp: Adjust expected source lines.
797
26ed1478
MM
7982021-03-03 Markus Metzger <markus.t.metzger@intel.com>
799
800 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
801
d2c5f24e
MM
8022021-03-03 Markus Metzger <markus.t.metzger@intel.com>
803
804 * gdb.btrace/exception.cc (main): Update test source.
805 * gdb.btrace/exception.exp: Update patterns.
806 * gdb.btrace/function_call_history.exp: Likewise.
807
c7c7253a
MM
8082021-03-03 Markus Metzger <markus.t.metzger@intel.com>
809
810 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
811
f0778fc1
MM
8122021-03-03 Markus Metzger <markus.t.metzger@intel.com>
813
814 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
815 reverse-continue to breakpoint.
816
e71dbd03
MM
8172021-03-03 Markus Metzger <markus.t.metzger@intel.com>
818
819 * gdb.btrace/delta.exp: Remove instruction-history and
820 function-call-history checks.
821
b93a3ed0
MM
8222021-03-03 Markus Metzger <markus.t.metzger@intel.com>
823
824 * README (Note): Add nopie_ldflag.
825 * lib/gdb.exp (gdb_compile): Extend nopie handling.
826
bbcdf9ab
TT
8272021-03-02 Tom Tromey <tromey@adacore.com>
828
829 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
830 encodings.
831
bb3a4efe
LS
8322021-02-27 Lancelot Six <lsix@lancelotix.com>
833
834 PR gdb/27393
835 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
836
837
573dc0cc
TT
8382021-02-26 Tom Tromey <tom@tromey.com>
839
840 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
841
f8218786
JV
8422021-02-26 Jan Vrany <jan.vrany@labware.com>
843
844 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
845 Remove trailing \n from expected output.
846
cb51b708
MM
8472021-02-26 Markus Metzger <markus.t.metzger@intel.com>
848
849 * lib/gdb.exp (use_gdb_stub): Extend comment.
850
64d38fdd
JM
8512021-02-25 Jan Matyas <jmatyas@codasip.com>
852
853 PR gdb/26819
854 * gdb.server/stop-reply-no-thread.exp: Add two test
855 scenarios that cover remote targets which do not have
856 the concept of threads.
857
d4ff3cbf
AB
8582021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
859
860 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
861
68337b8b
AB
8622021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
863
864 PR fortran/26155
865 * gdb.fortran/call-no-debug-func.f90: New file.
866 * gdb.fortran/call-no-debug-prog.f90: New file.
867 * gdb.fortran/call-no-debug.exp: New file.
868
faeb9f13
AB
8692021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
870
871 * gdb.fortran/associated.exp: New file.
872 * gdb.fortran/associated.f90: New file.
873
170f4b23
AB
8742021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
875
876 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
877
dd80d750
AB
8782021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
879
880 * gdb.base/sect-cmd.exp: Update expected results.
881
b91919ac
AB
8822021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
883
884 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
885 techniques. Enable the test for all targets.
886
02a79309
AB
8872021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
888
889 * gdb.base/maint-info-sections.exp: Add new tests.
890 (check_maint_info_target_sections_output): New proc.
891
895b7b4e
AB
8922021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
893
894 * gdb.arch/riscv-default-tdesc.exp: New file.
895
bc3c0632
AB
8962021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
897
898 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
899
acde2092
AB
9002021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
901
902 * gdb.arch/i386-biarch-core.exp: Add target check.
903
7d2e5095
AKS
9042021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
905
906 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
907
96df3e28
AB
9082021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
909
910 * gdb.fortran/allocated.exp: New file.
911 * gdb.fortran/allocated.f90: New file.
912
a1670b72
AB
9132021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
914
915 * gdb.fortran/lbound-ubound.exp: Remove old comment.
916
bf3386f0
AB
9172021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
918
919 * gdb.base/maint-info-sections.exp: Update expected output, and
920 add additional tests. Again.
921
4790db14
AB
9222021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
923
924 * gdb.base/maint-info-sections.exp: Update expected output, and
925 add additional tests.
926
f4be6772
AB
9272021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
928
929 * gdb.base/maint-info-sections.exp: New file, content is moved
930 from gdb.base/maint.exp and cleaned up to use latest testsuite
931 techniques.
932 * gdb.base/maint.exp: Tests moved out to
933 gdb.base/maint-info-sections.exp.
934
25ad1e83
SM
9352021-02-10 Simon Marchi <simon.marchi@efficios.com>
936
937 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
938 GDBFLAGS.
939
e92c8eb8
AB
9402021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
941
942 * gdb.fortran/lbound-ubound.F90: New file.
943 * gdb.fortran/lbound-ubound.exp: New file.
944
ee4c3d88
TV
9452021-02-10 Tom de Vries <tdevries@suse.de>
946
947 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
948 "Restore saved setting of complaints".
949
cf2b2075
TV
9502021-02-09 Tom de Vries <tdevries@suse.de>
951
952 PR symtab/27341
953 * lib/gdb.exp (with_complaints): New proc, factored out of ...
954 (gdb_load_no_complaints): ... here.
955 * gdb.fortran/function-calls.exp: Add test-case.
956
b61f7811
HAQ
9572021-02-09 Abid Qadeer <abidh@codesourcery.com>
958
959 * gdb.threads/signal-command-handle-nopass.exp: Call
960 'standard_testfile' before using 'testfile'.
961 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
962 * gdb.threads/signal-delivered-right-thread.exp: Likewise
963 * gdb.threads/signal-sigtrap.exp: Likewise
964
3d4aae48
LM
9652021-02-08 Luis Machado <luis.machado@linaro.org>
966
967 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
968
4001d90d
TV
9692021-02-08 Tom de Vries <tdevries@suse.de>
970
971 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
972
29db1eb3
AB
9732021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
974
975 * gdb.python/tui-window-disabled.c: New file.
976 * gdb.python/tui-window-disabled.exp: New file.
977 * gdb.python/tui-window-disabled.py: New file.
978
e0c23e11
AB
9792021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
980
981 * gdb.python/tui-window.exp: Add new tests.
982 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
983 TestWindow object into global the_window.
984 <remote_title>: New method.
985 (delete_window_title): New function.
986
1cf23996
AB
9872021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
988
989 * gdb.tui/winheight.exp: Add more tests.
990
2708dbbd
AB
9912021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
992
993 * gdb.python/py-framefilter.exp: Update expected results.
994 * gdb.python/python.exp: Update expected results.
995
cd074e04
AB
9962021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
997
998 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
999 about bug in GDB, update expected results, and add more tests.
1000
5fb97639
AB
10012021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1002
1003 * gdb.tui/scroll.exp: New file.
1004 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
1005 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
1006 remaining lines up.
1007 (Term::check_region_contents): New proc.
1008 (Term::check_box_contents): Use check_region_contents.
1009
c0e56745
TV
10102021-02-06 Tom de Vries <tdevries@suse.de>
1011
1012 PR testsuite/26922
1013 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
1014 scrolling.
1015
0e857c82
TV
10162021-02-05 Tom de Vries <tdevries@suse.de>
1017
1018 PR breakpoints/27313
1019 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
1020 rejected.
1021
a22ec6e8
TV
10222021-02-05 Tom de Vries <tdevries@suse.de>
1023
1024 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
1025 * gdb.fortran/mixed-lang-stack.exp: Same.
1026
ae710496
TV
10272021-02-05 Tom de Vries <tdevries@suse.de>
1028
1029 PR exp/27265
1030 * gdb.base/complex-parts.exp: Add tests.
1031
d3b54e63
TV
10322021-02-05 Tom de Vries <tdevries@suse.de>
1033
1034 PR symtab/27307
1035 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
1036
3eccb1c8
SV
10372021-02-04 Shahab Vahedi <shahab@synopsys.com>
1038
1039 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
1040
a71501e2
PA
10412021-02-03 Pedro Alves <pedro@palves.net>
1042
1043 * gdb.threads/detach-step-over.c: New file.
1044 * gdb.threads/detach-step-over.exp: New file.
1045
92234eb1
PA
10462021-02-03 Pedro Alves <pedro@palves.net>
1047
1048 * gdb.threads/attach-non-stop.c: New file.
1049 * gdb.threads/attach-non-stop.exp: New file.
1050
2e3773ff
LS
10512021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1052
1053 * gdb.base/inferior-noarg.c: New test.
1054 * gdb.base/inferior-noarg.exp: New test.
1055
e0bd9202
SM
10562021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1057
1058 * gdb.base/scope.exp: Use proc_with_prefix.
1059
9307efbe
SM
10602021-02-02 Simon Marchi <simon.marchi@efficios.com>
1061
1062 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1063 table proc.
1064 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1065 .debug_rnglists table without offset array.
1066 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1067 .debug_loclists table without offset array.
1068
2b0c7f41
SM
10692021-02-02 Simon Marchi <simon.marchi@efficios.com>
1070
1071 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1072 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1073 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1074 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1075 attribute
1076
ecfda20d
SM
10772021-02-02 Simon Marchi <simon.marchi@efficios.com>
1078
1079 PR gdb/26813
1080 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1081 (loclists): New proc.
1082 * gdb.dwarf2/loclists-multiple-cus.c: New.
1083 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1084 * gdb.dwarf2/loclists-sec-offset.c: New.
1085 * gdb.dwarf2/loclists-sec-offset.exp: New.
1086
6b0933da
SM
10872021-02-02 Simon Marchi <simon.marchi@efficios.com>
1088
1089 * lib/dwarf.exp (_location): Add parameters.
1090 (_handle_DW_FORM): Adjust.
1091
962effa7
SM
10922021-02-02 Simon Marchi <simon.marchi@efficios.com>
1093
1094 PR gdb/26813
1095 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1096 (cu): Generate header for DWARF 5.
1097 (rnglists): New proc.
1098 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1099 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1100
2bd3e4b8
TV
11012021-02-02 Tom de Vries <tdevries@suse.de>
1102
1103 PR symtab/24620
1104 * gdb.dwarf2/fission-reread.exp: Add test-case.
1105
c39c8637
TV
11062021-02-01 Tom de Vries <tdevries@suse.de>
1107
1108 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1109 * gdb.dwarf2/fission-loclists-pie.S: Same.
1110 * gdb.dwarf2/fission-loclists.S: Same.
1111 * gdb.dwarf2/fission-multi-cu.S: Same.
1112 * gdb.dwarf2/fission-reread.S: Same.
1113 * gdb.dwarf2/fission-base.exp: Use DWO.
1114 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1115 * gdb.dwarf2/fission-loclists.exp: Same.
1116 * gdb.dwarf2/fission-multi-cu.exp: Same.
1117 * gdb.dwarf2/fission-reread.exp: Same.
1118
ebde6f2d
TV
11192021-01-29 Tom de Vries <tdevries@suse.de>
1120
1121 PR breakpoints/26063
1122 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1123 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1124
620ec3ca
TV
11252021-01-29 Tom de Vries <tdevries@suse.de>
1126
1127 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1128
cdeba395
TV
11292021-01-28 Tom de Vries <tdevries@suse.de>
1130
1131 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1132 in the backtrace, and use that in the rest of the test instead of
1133 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1134
c47b145e
TV
11352021-01-28 Tom de Vries <tdevries@suse.de>
1136
1137 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1138 * gdb.arch/i386-sse-stack-align.c: Same.
1139 * gdb.arch/i386-sse-stack-align.exp: Same.
1140
47918cca
AB
11412021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1142
1143 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1144
2f985dd1
TV
11452021-01-28 Tom de Vries <tdevries@suse.de>
1146
1147 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1148
22efa3d3
TV
11492021-01-28 Tom de Vries <tdevries@suse.de>
1150
1151 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1152 "maint info line-table". Make PASS pattern more specific. Make
1153 FAIL pattern work for -m32.
1154
59b59f08
LS
11552021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1156
1157 PR gdb/27133
1158 * gdb.base/ui-redirect.exp: Add test case that ensures that
1159 redirecting both logging and debug does not cause gdb to crash.
1160
1161
807f647c
MM
11622021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1163
1164 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1165
4ca40594
TV
11662021-01-26 Tom de Vries <tdevries@suse.de>
1167
1168 * gdb.threads/killed-outside.exp: Allow regular output.
1169
d0021af3
TV
11702021-01-26 Tom de Vries <tdevries@suse.de>
1171
1172 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1173
9f6c202e
TV
11742021-01-25 Tom de Vries <tdevries@suse.de>
1175
1176 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1177 * lib/gdb.exp: Use gdb_load_no_complaints.
1178
a625a8c9
TT
11792021-01-25 Tom Tromey <tromey@adacore.com>
1180
1181 * gdb.ada/fixed_points.exp: Add regression test.
1182 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1183 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1184
19184910
TT
11852021-01-25 Tom Tromey <tromey@adacore.com>
1186
1187 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1188
acd6125f
TT
11892021-01-25 Tom Tromey <tromey@adacore.com>
1190
1191 * gdb.ada/local-enum.exp: New file.
1192 * gdb.ada/local-enum/local.adb: New file.
1193
1af4c9c4
TT
11942021-01-23 Tom Tromey <tom@tromey.com>
1195
1196 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1197
705646c0
BE
11982021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1199
1200 * gdb.base/line65535.exp: Fix test expectation.
1201
0ac85db5
SM
12022021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1203
1204 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1205 suppression.
1206 (default_gdb_exit): Likewise.
1207 (default_gdb_spawn): Likewise.
1208 (send_gdb): Likewise.
1209 (gdb_expect): Likewise.
1210 (gdb_expect_list): Likewise.
1211 (default_gdb_init): Likewise.
1212 (gdb_suppress_entire_file): Remove.
1213 (gdb_suppress_tests): Remove.
1214 (gdb_stop_suppressing_tests): Remove.
1215 (gdb_clear_suppressed): Remove.
1216 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1217 related to test suppression.
1218 (default_mi_gdb_start): Likewise.
1219 (mi_gdb_reinitialize_dir): Likewise.
1220 (mi_gdb_test): Likewise.
1221 (mi_run_cmd_full): Likewise.
1222 (mi_runto_helper): Likewise.
1223 (mi_execute_to): Likewise.
1224 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1225 * gdb.base/bitfields.exp: Likewise.
1226 * gdb.base/bitfields2.exp: Likewise.
1227 * gdb.base/break.exp: Likewise.
1228 * gdb.base/call-sc.exp: Likewise.
1229 * gdb.base/callfuncs.exp: Likewise.
1230 * gdb.base/dfp-test.exp: Likewise.
1231 * gdb.base/endian.exp: Likewise.
1232 * gdb.base/exprs.exp: Likewise.
1233 * gdb.base/funcargs.exp: Likewise.
1234 * gdb.base/hbreak2.exp: Likewise.
1235 * gdb.base/recurse.exp: Likewise.
1236 * gdb.base/scope.exp: Likewise.
1237 * gdb.base/sepdebug.exp: Likewise.
1238 * gdb.base/structs.exp: Likewise.
1239 * gdb.base/until.exp: Likewise.
1240 * gdb.cp/misc.exp: Likewise.
1241
9d2d8a16
AB
12422021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1243
1244 PR cli/25956
1245 * gdb.base/style.exp (run_style_tests): Add version string test.
1246 (test_startup_version_string): Use version style name.
1247 * lib/gdb-utils.exp (style): Handle version style name.
1248
e7b43072
AB
12492021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1250
1251 * gdb.base/style.exp (limited_style): New proc.
1252 (clean_restart_and_disable): New proc.
1253 (run_style_tests): New proc. Most of the old tests from this file
1254 are now in this proc.
1255 (test_startup_version_string): New proc. Reamining test from the
1256 old file is in this proc.
1257
2189c312
SM
12582021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1259
1260 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1261 Adjust to "set debug remote" changes.
1262
cd211c75
LM
12632021-01-21 Luis Machado <luis.machado@linaro.org>
1264
1265 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1266 message.
1267
730af663
SM
12682021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1269
1270 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1271
325d39e4
HD
12722021-01-21 Hannes Domani <ssbssa@yahoo.de>
1273
1274 PR python/19151
1275 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1276
c3e96aa7
SM
12772021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1278
1279 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1280
6571ffc6
SM
12812021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1282
1283 * lib/tuiterm.exp: Add links in comments.
1284
7c794afd
TV
12852021-01-20 Tom de Vries <tdevries@suse.de>
1286
1287 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1288 offset.
1289
1402665c
TV
12902021-01-20 Tom de Vries <tdevries@suse.de>
1291
1292 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1293
6f52fdf4
SDJ
12942021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1295
1296 * gdb.arch/amd64-stap-expressions.S: New file.
1297 * gdb.arch/amd64-stap-expressions.exp: New file.
1298
14852123
TV
12992021-01-19 Tom de Vries <tdevries@suse.de>
1300
1301 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1302 sequence.
1303
0c4e2c6c
TV
13042021-01-19 Tom de Vries <tdevries@suse.de>
1305
1306 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1307
02baa133
AB
13082021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1309
1310 * gdb.fortran/array-slices.exp (run_test): Avoid including
1311 addresses in test names.
1312
10f92414
TV
13132021-01-15 Tom de Vries <tdevries@suse.de>
1314
1315 PR testsuite/26997
1316 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1317 when adding sizeof.
1318
116d0cf1
TV
13192021-01-14 Tom de Vries <tdevries@suse.de>
1320
1321 PR testsuite/24590
1322 * gdb.base/style.exp: Handle shorter argv in frame command output.
1323
8f66807b
AB
13242021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1325
1326 PR gdb/26819
1327 * gdb.server/stop-reply-no-thread-multi.c: New file.
1328 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1329
3f94e588
TV
13302021-01-12 Tom de Vries <tdevries@suse.de>
1331
1332 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1333 (main): Remove call to have_mpx.
1334 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1335 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1336 (main): Remote call to have_mpx.
1337 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1338 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1339 (main): Remove call to have_mpx.
1340 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1341 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1342 (main): Remove call to have_mpx.
1343 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1344 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1345 (main): Remote call to have_mpx.
1346 * gdb.arch/i386-mpx.exp: Use have_mpx.
1347 * lib/gdb.exp (have_mpx): New proc.
1348
5291fe3c
SP
13492021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1350
1351 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1352
18bfb505
TV
13532021-01-12 Tom de Vries <tdevries@suse.de>
1354
1355 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1356
ce38f5ed
AB
13572021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1358
1359 * gdb.fortran/debug-expr.exp: Add new tests.
1360
7c654b71
AB
13612021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1362
1363 * gdb.fortran/dot-ops.exp: Add new tests.
1364
10dadadc
TV
13652021-01-11 Tom de Vries <tdevries@suse.de>
1366
1367 PR testsuite/26968
1368 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1369 Move insn setting $eax to before probe point.
1370
66beed02
TT
13712021-01-09 Tom Tromey <tom@tromey.com>
1372
1373 * gdb.trace/ax.exp: Do not require an "ext".
1374
8fc48b79
TT
13752021-01-08 Tom Tromey <tromey@adacore.com>
1376
1377 * gdb.ada/voidctx/pck.adb: New file.
1378 * gdb.ada/voidctx/pck.ads: New file.
1379 * gdb.ada/voidctx/voidctx.adb: New file.
1380 * gdb.ada/voidctx.exp: New file.
1381
6abd4cf2
SM
13822021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1383
1384 PR gdb/27157
1385 * gdb.base/empty-host-env-vars.exp: New test.
1386
d00f0868
AB
13872021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1388
1389 * gdb.base/completion.exp: Add a new test.
1390
3c8c6de2
AB
13912021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1392
1393 * gdb.fortran/intvar-dynamic-types.exp: New file.
1394 * gdb.fortran/intvar-dynamic-types.f90: New file.
1395
e3436813
AB
13962021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1397
1398 * gdb.fortran/intvar-array.exp: New file.
1399 * gdb.fortran/intvar-array.f90: New file.
1400
d4813f10
TT
14012021-01-07 Tom Tromey <tromey@adacore.com>
1402
1403 * gdb.ada/assign_arr.exp: Add 'others' test.
1404
b49180ac
TT
14052021-01-06 Tom Tromey <tromey@adacore.com>
1406
1407 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1408 (FP4_Type): New type.
1409 (FP4_Var): New variable.
1410 * gdb.ada/fixed_points/fixed_points.adb: Update.
1411 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1412
3c55062c
SM
14132021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1414
1415 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1416 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1417 Pass prompt containing debug print to gdb_test_sequence.
1418
e4ad960a
TV
14192021-01-04 Tom de Vries <tdevries@suse.de>
1420
1421 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1422
3ec3145c
SM
14232021-01-04 Simon Marchi <simon.marchi@efficios.com>
1424
1425
1426
8dc558a0
SM
14272021-01-04 Simon Marchi <simon.marchi@efficios.com>
1428
1429 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1430 * gdb.server/connect-without-multi-process.exp: Likewise.
1431 * gdb.server/exit-multiple-threads.exp: Likewise.
1432 * gdb.server/ext-attach.exp: Likewise.
1433 * gdb.server/ext-restart.exp: Likewise.
1434 * gdb.server/ext-run.exp: Likewise.
1435 * gdb.server/ext-wrapper.exp: Likewise.
1436 * gdb.server/multi-ui-errors.exp: Likewise.
1437 * gdb.server/no-thread-db.exp: Likewise.
1438 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1439 * gdb.server/run-without-local-binary.exp: Likewise.
1440 * gdb.server/server-kill.exp: Likewise.
1441 * gdb.server/server-run.exp: Likewise.
1442 * gdb.server/solib-list.exp: Likewise.
1443 * gdb.server/stop-reply-no-thread.exp: Likewise.
1444 * gdb.server/wrapper.exp: Likewise.
1445 * gdb.server/sysroot.exp: Increase timeout when testing the
1446 target: sysroot.
1447
d8387cc8
SM
14482021-01-04 Simon Marchi <simon.marchi@efficios.com>
1449
1450 * gdb.server/server-run.exp: Use clean_restart.
1451
5169ae34
SM
14522021-01-04 Simon Marchi <simon.marchi@efficios.com>
1453
1454 * gdb.server/ext-run.exp: Use clean_restart.
1455
7b0ff8a2
SM
14562021-01-04 Simon Marchi <simon.marchi@efficios.com>
1457
1458 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1459 instead of prepare_for_testing.
1460
a754fbdf
SM
14612021-01-04 Simon Marchi <simon.marchi@efficios.com>
1462
1463 * gdb.server/solib-list.exp: Use clean_restart.
1464
c5e71b33
TV
14652021-01-04 Tom de Vries <tdevries@suse.de>
1466
1467 * gdb.base/morestack.c: Remove printf.
1468 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1469
9b243007
TT
14702020-12-31 Tom Tromey <tom@tromey.com>
1471
1472 * gdb.rust/simple.exp: Update output for Rust 1.49.
1473
4ff509e7
BE
14742020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1475
1476 * gdb.cp/step-and-next-inline.exp: Fix test case.
1477
391750c3
SM
14782020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1479
1480 * gdb.python/py-frame-args.exp: De-duplicate test names.
1481
b7874836
AB
14822020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1483
1484 PR gdb/27059
1485 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1486 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1487
e1ff6226
PW
14882020-12-21 Peter Waller <p@pwaller.net>
1489
1490 * gdb.base/style-interp-exec-mi.exp: New.
1491 * gdb.base/style-interp-exec-mi.c: New.
1492
ca01f1bf
SM
14932020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1494
1495 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1496 gdb_test. Use proc_with_prefix.
1497
0fe69a94
MM
14982020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1499
1500 * gdb.btrace/exception.exp: Build with nopie.
1501 * gdb.btrace/function_call_history.exp: Likewise.
1502 * gdb.btrace/unknown_functions.exp: Likewise.
1503
806e7575
MM
15042020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1505
1506 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1507
493d2172
MM
15082020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1509
1510 * gdb.python/py-record-btrace.exp: Make test names unique.
1511 * gdb.python/py-record-full.exp: Likewise.
1512
1a1c0afc
MM
15132020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1514
1515 * gdb.btrace/data.exp: Make test names unique.
1516 * gdb.btrace/delta.exp: Likewise.
1517 * gdb.btrace/enable.exp: Likewise.
1518 * gdb.btrace/function_call_history.exp: Likewise.
1519 * gdb.btrace/nohist.exp: Likewise.
1520 * gdb.btrace/non-stop.exp: Likewise.
1521 * gdb.btrace/rn-dl-bind.exp: Likewise.
1522 * gdb.btrace/step.exp: Likewise.
1523 * gdb.btrace/stepi.exp: Likewise.
1524 * gdb.btrace/tailcall.exp: Likewise.
1525
98d837f0
MM
15262020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1527
1528 * gdb.btrace/enable.exp: Update error message.
1529 * gdb.btrace/multi-inferior.exp: Likewise.
1530 * gdb.btrace/reconnect.exp: Likewise.
1531 * gdb.python/py-record-btrace.exp: Likewise.
1532 * gdb.python/py-record-full.exp: Likewise.
1533
c541fa7c
TV
15342020-12-20 Tom de Vries <tdevries@suse.de>
1535
1536 * lib/gdb.exp (save_target_board_info): New proc.
1537 (gdb_compile_shlib): Use save_target_board_info.
1538
60108e47
TV
15392020-12-19 Tom de Vries <tdevries@suse.de>
1540
1541 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1542 (supports_gnuc): New proc.
1543 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1544 test_compiler_info calls. Add unsupported message.
1545 * gdb.base/endianity.c: Use TEST_SSO.
1546
fa639f55
HD
15472020-12-19 Hannes Domani <ssbssa@yahoo.de>
1548
1549 PR exp/27070
1550 * gdb.python/compare-enum-type-a.c: New test.
1551 * gdb.python/compare-enum-type-b.c: New test.
1552 * gdb.python/compare-enum-type.exp: New file.
1553 * gdb.python/compare-enum-type.h: New test.
1554
4aea001f
HD
15552020-12-18 Hannes Domani <ssbssa@yahoo.de>
1556
1557 * gdb.python/py-format-string.exp: Add tests for address keyword.
1558
b3f9469b
HD
15592020-12-18 Hannes Domani <ssbssa@yahoo.de>
1560
1561 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1562
86ef42bd
TT
15632020-12-18 Tom Tromey <tromey@adacore.com>
1564
1565 * gdb.ada/fixed_points.exp: Also run with
1566 -fgnat-encodings=minimal. Update expected output.
1567
93df4a1d
SM
15682020-12-16 Simon Marchi <simon.marchi@efficios.com>
1569
1570 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1571 * gdb.base/continue-all-already-running.exp: Likewise.
1572 * gdb.base/moribund-step.exp: Likewise.
1573 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1574
592995fa
TV
15752020-12-16 Tom de Vries <tdevries@suse.de>
1576
1577 * gdb.base/batch-preserve-term-settings.exp:
1578
1e61189d
TV
15792020-12-16 Tom de Vries <tdevries@suse.de>
1580
1581 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1582 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1583
19007d95
LM
15842020-12-16 Luis Machado <luis.machado@linaro.org>
1585
1586 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1587 pointer-based memory accesses.
1588 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1589 hw watchpoint cases.
1590
a33fc9ae
RK
15912020-12-15 Rae Kim <rae.kim@gmail.com>
1592
1593 * gdb.base/document.exp: New test.
1594
0e5ad442
TT
15952020-12-15 Tom Tromey <tromey@adacore.com>
1596
1597 * gdb.base/style.exp: Add deprecation tests.
1598
60598dbd
SM
15992020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1600
1601 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1602
8cd6d968
MW
16032020-12-14 Mark Wielaard <mark@klomp.org>
1604
1605 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1606 specially, set attr_form_comment to the actual FORM string used.
1607
eab9267c
MW
16082020-12-14 Mark Wielaard <mark@klomp.org>
1609
1610 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1611 _constants(SPECIAL_expr) here, but set it...
1612 (Dwarf::cu): ...here based on _cu_version.
1613
2f413264
TV
16142020-12-14 Tom de Vries <tdevries@suse.de>
1615
1616 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1617 pass -fPIC.
1618 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1619 * gdb.base/break-probes.exp: Same.
1620 * gdb.base/ctxobj.exp: Same.
1621 * gdb.base/dso2dso.exp: Same.
1622 * gdb.base/global-var-nested-by-dso.exp: Same.
1623 * gdb.base/info-shared.exp: Same.
1624 * gdb.base/jit-reader-simple.exp: Same.
1625 * gdb.base/print-file-var.exp: Same.
1626 * gdb.base/skip-solib.exp: Same.
1627 * gdb.btrace/dlopen.exp: Same.
1628
18f1cb1f
TV
16292020-12-14 Tom de Vries <tdevries@suse.de>
1630
1631 PR testsuite/26963
1632 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1633
519155c9
TV
16342020-12-14 Tom de Vries <tdevries@suse.de>
1635
1636 PR testsuite/26962
1637 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1638 cast it to its declared type".
1639
153f6e6c
TV
16402020-12-14 Tom de Vries <tdevries@suse.de>
1641
1642 PR testsuite/26951
1643 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1644 shell prompt.
1645
86b44259
TT
16462020-12-14 Tom Tromey <tromey@adacore.com>
1647
1648 * gdb.ada/nested.exp: Add new tests.
1649 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1650
e26624c6
TT
16512020-12-14 Tom Tromey <tromey@adacore.com>
1652
1653 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1654
a3bdae4e
TT
16552020-12-14 Tom Tromey <tromey@adacore.com>
1656
1657 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1658
862fcbd8
TV
16592020-12-13 Tom de Vries <tdevries@suse.de>
1660
1661 PR testsuite/26953
1662 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1663 attribute support if compiler doesn't support it.
1664
a406a98e
TV
16652020-12-13 Tom de Vries <tdevries@suse.de>
1666
1667 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1668 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1669 source to shared lib. Add ada to options.
1670
5d7e6ed0
TV
16712020-12-13 Tom de Vries <tdevries@suse.de>
1672
1673 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1674 calling gnatbind and gnatlink.
1675
ee9812a0
AB
16762020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1677
1678 * gdb.base/dcache-flush.c: New file.
1679 * gdb.base/dcache-flush.exp: New file.
1680
50a5f187
AB
16812020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1682
1683 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1684 commands.
1685 * gdb.base/killed-outside.exp: Likewise.
1686 * gdb.opt/inline-bt.exp: Likewise.
1687 * gdb.perf/gmonster-null-lookup.py: Likewise.
1688 * gdb.perf/gmonster-print-cerr.py: Likewise.
1689 * gdb.perf/gmonster-ptype-string.py: Likewise.
1690 * gdb.python/py-unwind.exp: Likewise.
1691
19c659f1
AB
16922020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1693
1694 * gdb.base/commands.exp: Update expected results.
1695
9ef6d4a1
AB
16962020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1697
1698 PR cli/15104
1699 * gdb.base/commands.exp: Add additional tests.
1700 * gdb.base/completion.exp: Add additional tests.
1701
1536146f
AB
17022020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1703
1704 * gdb.base/completion.exp: Add additional tests.
1705
346e7e19
TV
17062020-12-11 Tom de Vries <tdevries@suse.de>
1707
1708 PR testsuite/26991
1709 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1710 violations by setting bounds registers if the bounds are passed in the
1711 Bounds Table.
1712
9cd7a95a
TV
17132020-12-11 Tom de Vries <tdevries@suse.de>
1714
1715 PR testsuite/26954
1716 * gdb.base/float128.exp: Detect and handle no mpfr support.
1717
4483a8e7
SM
17182020-12-10 Simon Marchi <simon.marchi@efficios.com>
1719
1720 PR gdb/24694
1721 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1722 calls.
1723
10067028
TV
17242020-12-10 Tom de Vries <tdevries@suse.de>
1725
1726 PR testsuite/26947
1727 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1728 braces for tcl 8.5 and earlier.
1729
5b56203a
SM
17302020-12-09 Simon Marchi <simon.marchi@efficios.com>
1731
1732 PR 26875, PR 26901
1733 * gdb.base/flexible-array-member.c: New test.
1734 * gdb.base/flexible-array-member.exp: New test.
1735
b46551b2
TV
17362020-12-08 Tom de Vries <tdevries@suse.de>
1737
1738 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1739 using is_amd64_regs_target.
1740
8439f446
TV
17412020-12-08 Tom de Vries <tdevries@suse.de>
1742
1743 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1744 self_id.
1745
bc545da7
PA
17462020-12-07 Pedro Alves <pedro@palves.net>
1747
1748 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1749 'additional_flags' variable.
1750
1f58f6c2
TBA
17512020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1752
1753 * gdb.linespec/explicit.exp: Extend with a test to check completing
1754 '-' after seemingly complete options.
1755
5759831a
TBA
17562020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1757
1758 * gdb.linespec/keywords.exp: Add tests to check positional
1759 flexibility of "-force-condition".
1760
21e051b3
TBA
17612020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1762
1763 * gdb.base/bp-cmds-run-with-ex.c: New file.
1764 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1765 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1766 * gdb.gdb/python-interrupts.exp: Update the call to
1767 'catch_command_errors' with the new argument.
1768 * gdb.gdb/python-selftest.exp: Ditto.
1769
187b041e
SM
17702020-12-04 Simon Marchi <simon.marchi@efficios.com>
1771
1772 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1773 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1774 * gdb.threads/non-stop-fair-events.exp: Likewise.
1775
3b7a962d
SM
17762020-12-04 Simon Marchi <simon.marchi@efficios.com>
1777
1778 * gdb.threads/step-over-exec.exp: New.
1779 * gdb.threads/step-over-exec.c: New.
1780 * gdb.threads/step-over-exec-execd.c: New.
1781 * lib/my-syscalls.S: New.
1782 * lib/my-syscalls.h: New.
1783
e633b117
SM
17842020-12-04 Simon Marchi <simon.marchi@efficios.com>
1785
1786 * lib/dwarf.exp (declare_labels): Use name as text if text is
1787 not provided.
1788
67748e0f
TV
17892020-12-04 Tom de Vries <tdevries@suse.de>
1790
1791 PR testsuite/26990
1792 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1793 are unsupported.
1794
a8d13675
TV
17952020-12-04 Tom de Vries <tdevries@suse.de>
1796
1797 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1798 clause.
1799
f17727b3
TV
18002020-12-04 Tom de Vries <tdevries@suse.de>
1801
1802 * gdb.reverse/insn-reverse.exp: Fix count handling.
1803
a1499830
TV
18042020-12-04 Tom de Vries <tdevries@suse.de>
1805
1806 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1807 __x86_64__.
1808
9c027c2f
TV
18092020-12-04 Tom de Vries <tdevries@suse.de>
1810
1811 * gdb.reverse/insn-reverse.c (test_nr): New var.
1812 (usage, parse_args): New function.
1813 (main): Call parse_args. Only run test for test_nr.
1814 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1815 and bail out. Run subtests individually, using an inferior arg
1816 specifying the subtest.
1817
533b2ae0
AB
18182020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1819
1820 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1821
e4502042
AB
18222020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1823
1824 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1825 update test to use this.
1826
f55a9a37
SM
18272020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1828
1829 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1830
0a6155a0
SM
18312020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1832
1833 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1834 (do_test): Don't use with_test_prefix.
1835 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1836 (do_test): Don't use with_test_prefix.
1837 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1838 (do_test): Don't use with_test_prefix.
1839 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1840 (do_test): Don't use with_test_prefix.
1841
4d56d64a
SM
18422020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1843
1844 * gdb.threads/non-ldr-exit.exp: Fix comment.
1845
54e75f29
AB
18462020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1847
1848 * gdb.xml/maint-xml-dump-03.xml: New file.
1849
7ce05d21
TV
18502020-11-30 Tom de Vries <tdevries@suse.de>
1851
1852 PR symtab/26905
1853 * gdb.dwarf2/count.exp: Remove kfails.
1854
50757f95
TBA
18552020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1856
1857 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1858 indices.
1859
4afa9fd9
JB
18602020-11-24 Joel Brobecker <brobecker@adacore.com>
1861
1862 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1863 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1864 languages. Remove the associated setup_xfail.
1865
15a491af
SM
18662020-11-23 Simon Marchi <simon.marchi@efficios.com>
1867
1868 * lib/gdb.exp (gdb_assert): Show error message on error.
1869
891615f0
TV
18702020-11-23 Tom de Vries <tdevries@suse.de>
1871
1872 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1873 * gdb.ada/mod_from_name.exp: Same.
1874 * gdb.ada/pckd_arr_ren.exp: Same.
1875
19922582
SM
18762020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1877
1878 * gdb.base/template.exp: New.
1879 * gdb.base/template.c: New.
1880
117c628d
GB
18812020-11-22 Gary Benson <gbenson@redhat.com>
1882
1883 PR gdb/26905
1884 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1885 is defined using a DW_AT_count which references another DIE.
1886
da39d3ba
TV
18872020-11-21 Tom de Vries <tdevries@suse.de>
1888
1889 * gdb.base/vla-ptr.exp: Add XFAIL.
1890
a5c641b5
AB
18912020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1892
1893 * gdb.fortran/array-slices-bad.exp: New file.
1894 * gdb.fortran/array-slices-bad.f90: New file.
1895 * gdb.fortran/array-slices-sub-slices.exp: New file.
1896 * gdb.fortran/array-slices-sub-slices.f90: New file.
1897 * gdb.fortran/array-slices.exp: Rewrite tests.
1898 * gdb.fortran/array-slices.f90: Rewrite tests.
1899 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1900
a15a5258
AB
19012020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1902
1903 * gdb.base/completion.exp: Add new completion tests.
1904
7cb2893d
SM
19052020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1906
1907 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1908 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1909 * gdb.mi/mi-nsintrall.exp: Likewise.
1910 * gdb.mi/mi-nsmoribund.exp: Likewise.
1911 * gdb.mi/mi-nsthrexec.exp: Likewise.
1912 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1913
cf144ec8
SM
19142020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1915
1916 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1917 of perror.
1918
6b6a3e05
JM
19192020-11-18 Joseph Myers <joseph@codesourcery.com>
1920
1921 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1922 $arg.exe exists but $arg does not.
1923
811bdca0
GB
19242020-11-17 Gary Benson <gbenson@redhat.com>
1925
1926 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1927 __attribute__ ((used)).
1928
c72e3136
AB
19292020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1930
1931 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1932
037d7135
AB
19332020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1934
1935 * gdb.base/completion.exp: Add new tests.
1936
119e99bb
TT
19372020-11-16 Tom Tromey <tromey@adacore.com>
1938
1939 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1940 tests.
1941
b74dbc20
JB
19422020-11-15 Joel Brobecker <brobecker@adacore.com>
1943
1944 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1945 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1946 (main): Add reference to pck__fp1_var2.
1947 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1948
0a12719e
JB
19492020-11-15 Joel Brobecker <brobecker@adacore.com>
1950
1951 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1952
0c9150e4
JB
19532020-11-15 Joel Brobecker <brobecker@adacore.com>
1954
1955 * gdb.ada/fixed_points.exp: Add ptype tests.
1956 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1957
b26daff9
JB
19582020-11-15 Joel Brobecker <brobecker@adacore.com>
1959
1960 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1961
09584414
JB
19622020-11-15 Joel Brobecker <brobecker@adacore.com>
1963
1964 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1965 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1966 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1967 New files.
1968 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1969
1970 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1971 New files.
1972
9dd02fc0
AB
19732020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1974
1975 PR cli/26879
1976 * gdb.fortran/completion.exp: New file.
1977 * gdb.fortran/completion.f90: New file.
1978
5643c500
JM
19792020-11-12 Joseph Myers <joseph@codesourcery.com>
1980
1981 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1982 but $arg does not.
1983
7bea47f0
AB
19842020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1985
1986 * gdb.fortran/types.exp: Add more tests.
1987
1f2624a3
TT
19882020-11-12 Tom Tromey <tom@tromey.com>
1989
1990 PR rust/26799:
1991 * gdb.rust/traits.exp: Remove kfails.
1992
9e74f0ae
GB
19932020-11-12 Gary Benson <gbenson@redhat.com>
1994
1995 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1996 statement.
1997
acb994fa
SM
19982020-11-11 Simon Marchi <simon.marchi@efficios.com>
1999
2000 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
2001 always-inserted" axis.
2002 (do_test): Add breakpoint_always_inserted parameter.
2003
95016fd2
TT
20042020-11-10 Tom Tromey <tromey@adacore.com>
2005
2006 * gdb.ada/bias.exp: Update.
2007 * gdb.ada/bias/bias.adb (X): Change value.
2008
83100a74
GB
20092020-11-10 Gary Benson <gbenson@redhat.com>
2010
2011 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
2012 regexp fragment in parentheses to prevent false matching.
2013
6ff174a7
GB
20142020-11-10 Gary Benson <gbenson@redhat.com>
2015
2016 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
2017
eb24648c
GB
20182020-11-10 Gary Benson <gbenson@redhat.com>
2019
2020 * gdb.cp/step-and-next-inline.exp: Only require
2021 -gstatement-frontiers when building with GCC.
2022 Only setup KFAIL's for GCC issues when using
2023 a GCC-built executable.
2024
86775fab
AB
20252020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
2026
2027 * gdb.base/debug-expr.c: Add extra function to allow for an
2028 additional test.
2029 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
2030 to this proc with gdb_test_debug_expr. Add an extra test.
2031 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
2032 to this proc with gdb_test_debug_expr, give the tests names
2033 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
2034 calls to this proc with gdb_test_debug_expr, give the tests names
2035 * gdb.fortran/debug-expr.exp: New file.
2036 * gdb.fortran/debug-expr.f90: New file.
2037 * lib/gdb.exp (gdb_test_debug_expr): New proc.
2038
a1945bd4
SM
20392020-11-06 Simon Marchi <simon.marchi@efficios.com>
2040
2041 * lib/dwarf.exp (ranges): Handle "base" and "range" as
2042 proceduresu.
2043 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
2044 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2045 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2046 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2047 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2048 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2049 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2050 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2051
9c91c725
TT
20522020-11-04 Tom Tromey <tromey@adacore.com>
2053
2054 * gdb.ada/funcall_ref.exp: Update.
2055 * gdb.ada/var_rec_arr.exp: Update.
2056
8d9fd3a1
TT
20572020-11-04 Tom Tromey <tromey@adacore.com>
2058
2059 * gdb.ada/rec_ptype.exp: New file.
2060 * gdb.ada/rec_ptype/main.adb: New file.
2061 * gdb.ada/rec_ptype/p.ads: New file.
2062
d8f62e84
TT
20632020-11-04 Tom Tromey <tromey@adacore.com>
2064
2065 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2066 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2067 (PT_Full): New variable.
2068 * gdb.ada/tick_length_array_enum_idx/pck.adb
2069 (Full_PT): New type.
2070
7ff5b937
TT
20712020-11-04 Tom Tromey <tromey@adacore.com>
2072
2073 * gdb.ada/array_of_variant.exp: New file.
2074 * gdb.ada/array_of_variant/p.adb: New file.
2075 * gdb.ada/array_of_variant/pck.ads: New file.
2076 * gdb.ada/array_of_variant/pck.adb: New file.
2077
10f6a3ad
TT
20782020-11-04 Tom Tromey <tromey@adacore.com>
2079
2080 * gdb.ada/enum_idx_packed.exp: Add test.
2081 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2082 New variable.
2083 * gdb.ada/enum_idx_packed/pck.ads (Short)
2084 (Multi_Dimension, Multi_Dimension_Access): New types.
2085
b72795a8
TT
20862020-11-04 Tom Tromey <tromey@adacore.com>
2087
2088 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2089
24aa1b02
TT
20902020-11-04 Tom Tromey <tromey@adacore.com>
2091
2092 * gdb.ada/set_pckd_arr_elt.exp: Also test
2093 -fgnat-encodings=minimal. Add tests.
2094 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2095 Call Update_Small a second time.
2096 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2097 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2098 (Variant_Access): New types.
2099 (New_Variant): Declare.
2100
c9a28cbe
TT
21012020-11-04 Tom Tromey <tromey@adacore.com>
2102
2103 * gdb.ada/mod_from_name.exp: Test printing slice.
2104
57567375
TT
21052020-11-04 Tom Tromey <tromey@adacore.com>
2106
2107 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2108 values.
2109 * gdb.ada/access_to_unbounded_array.exp: Test different
2110 -fgnat-encodings values.
2111 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2112 values.
2113 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2114 values.
2115 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2116 values.
2117 * gdb.ada/array_of_variable_length.exp: Test different
2118 -fgnat-encodings values.
2119 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2120 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2121 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2122 change.
2123 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2124 values.
2125 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2126 * gdb.ada/out_of_line_in_inlined.exp: Test different
2127 -fgnat-encodings values.
2128 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2129 values.
2130 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2131 values.
2132 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2133 -fgnat-encodings values.
2134 * gdb.ada/variant_record_packed_array.exp: Test different
2135 -fgnat-encodings values.
2136
a7400e44
TT
21372020-11-04 Tom Tromey <tromey@adacore.com>
2138
2139 * gdb.ada/enum_idx_packed.exp: Add tests.
2140 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2141 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2142 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2143 declarations.
2144
c40907bf
TV
21452020-11-03 Tom de Vries <tdevries@suse.de>
2146
2147 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2148 terminator comments.
2149 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2150 terminator.
2151
f468977a
SM
21522020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2153
2154 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2155 integer format test with regexp.
2156
1c2bec19
GB
21572020-11-02 Gary Benson <gbenson@redhat.com>
2158
2159 * gdb.base/print-file-var.exp (test): Separate compiler and
2160 linker options, and build using build_executable_from_specs
2161 to accommodate this.
2162
6539a36d
GB
21632020-11-02 Gary Benson <gbenson@redhat.com>
2164
2165 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2166 for .c files compiled as C++ with Clang if any shared
2167 libraries are specified.
2168
7ea44a51
GB
21692020-11-02 Gary Benson <gbenson@redhat.com>
2170
2171 * lib/attributes.h: New header.
2172 * gdb.base/backtrace.c: Include the above. Replace
2173 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2174 * gdb.base/infcall-nested-structs.c: Likewise.
2175 * gdb.base/vla-optimized-out.c: Likewise.
2176
ab8f783d
TV
21772020-11-02 Tom de Vries <tdevries@suse.de>
2178
2179 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2180
d77c9224
JB
21812020-11-01 Joel Brobecker <brobecker@adacore.com>
2182
2183 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2184 System.Min_Int and System.Max_Int with smaller hardcoded
2185 constants.
2186
0e5b0dd0
SM
21872020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2188
2189 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2190 * configure: Re-generate.
2191
136821d9
SM
21922020-10-30 Simon Marchi <simon.marchi@efficios.com>
2193
2194 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2195 expected output.
2196
b78b3a29
TBA
21972020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2198
2199 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2200 behavior.
2201 * gdb.base/paginate-bg-execution.exp: Ditto.
2202 * gdb.base/paginate-inferior-exit.exp: Ditto.
2203 * gdb.base/double-prompt-target-event-error.c: Remove.
2204 * gdb.base/double-prompt-target-event-error.exp: Remove.
2205
cfaa8f76
TBA
22062020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2207
2208 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2209 inferiors' and 'detach inferiors' do not change the current
2210 inferior.
2211
0ad0e70c
TV
22122020-10-29 Tom de Vries <tdevries@suse.de>
2213
2214 * gdb.threads/tls.exp: Fix DUPLICATEs.
2215
99cc6b2a
TV
22162020-10-28 Tom de Vries <tdevries@suse.de>
2217
2218 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2219
efe9b873
TV
22202020-10-28 Tom de Vries <tdevries@suse.de>
2221
2222 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2223 * gdb.base/reread.exp: Same.
2224
6b68fd45
TV
22252020-10-28 Tom de Vries <tdevries@suse.de>
2226
2227 * lib/gdb.exp (readnow): Handle arg.
2228 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2229
32a5f98a
TV
22302020-10-28 Tom de Vries <tdevries@suse.de>
2231
2232 * gdb.base/relocate.exp: Update regexp for -readnow.
2233
f93b8760
TV
22342020-10-28 Tom de Vries <tdevries@suse.de>
2235
2236 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2237 -readnow.
2238
1b00ef06
TV
22392020-10-28 Tom de Vries <tdevries@suse.de>
2240
2241 PR symtab/26772
2242 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2243 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2244
364bb903
TV
22452020-10-28 Tom de Vries <tdevries@suse.de>
2246
2247 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2248 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2249 complaint during file command for -readnow.
2250
445a033f
TV
22512020-10-28 Tom de Vries <tdevries@suse.de>
2252
2253 * gdb.cp/nsalias.exp: Fix typo in test name.
2254
fdd67a42
TV
22552020-10-28 Tom de Vries <tdevries@suse.de>
2256
2257 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2258
706baf4c
TV
22592020-10-28 Tom de Vries <tdevries@suse.de>
2260
2261 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2262 -readnow.
2263
b448cca5
TV
22642020-10-27 Tom de Vries <tdevries@suse.de>
2265
2266 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2267
5868da03
TV
22682020-10-27 Tom de Vries <tdevries@suse.de>
2269
2270 * gdb.base/maint.exp: Update for -readnow.
2271
06db6ec3
TV
22722020-10-27 Tom de Vries <tdevries@suse.de>
2273
2274 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2275 -readnow.
2276
934a1764
GB
22772020-10-14 Gary Benson <gbenson@redhat.com>
2278
2279 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2280 "_vptr$Base" as correct, in addition to "_vptr.Base".
2281 (test_mixed): Likewise.
2282
0bf21fbd
GB
22832020-10-27 Gary Benson <gbenson@redhat.com>
2284
2285 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2286 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2287
b1d4d8d1
TBA
22882020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2289
2290 * gdb.base/condbreak.exp: Update the completion tests to
2291 consider the '-force' flag.
2292
bd24c5d6
TV
22932020-10-27 Tom de Vries <tdevries@suse.de>
2294
2295 * gdb.base/list-ambiguous-readnow.exp: New file.
2296
733d554a
TBA
22972020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2298
2299 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2300 the condition.
2301 * gdb.linespec/cpcompletion.exp: Update to consider the
2302 '-force-condition' keyword.
2303 * gdb.linespec/explicit.exp: Ditto.
2304 * lib/completion-support.exp: Ditto.
2305
b5fa468f
TBA
23062020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2307
2308 * gdb.base/condbreak-multi-context.cc: New file.
2309 * gdb.base/condbreak-multi-context.exp: New file.
2310
b3247276
TT
23112020-10-26 Tom Tromey <tom@tromey.com>
2312
2313 * lib/mi-support.exp (default_mi_gdb_start): Call
2314 gdb_stdin_log_init.
2315 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2316 subtract one from gdb_instances.
2317 (gdb_stdin_log_write): Flush in_file.
2318
1c47ec3e
TV
23192020-10-26 Tom de Vries <tdevries@suse.de>
2320
2321 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2322
6390859c
TT
23232020-10-26 Tom Tromey <tromey@adacore.com>
2324
2325 * gdb.ada/unsigned_range/foo.adb: New file.
2326 * gdb.ada/unsigned_range/pack.adb: New file.
2327 * gdb.ada/unsigned_range/pack.ads: New file.
2328 * gdb.ada/unsigned_range.exp: New file.
2329
55c3ad88
TV
23302020-10-26 Tom de Vries <tdevries@suse.de>
2331
2332 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2333
1612c4bb
TV
23342020-10-26 Tom de Vries <tdevries@suse.de>
2335
2336 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2337 for CU.
2338 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2339
7d72802b
TV
23402020-10-23 Tom de Vries <tdevries@suse.de>
2341
2342 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2343 DW_FORM_string.
2344 (Dwarf::_default_form): New proc.
2345 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2346 guessed.
2347
9476b583
TV
23482020-10-23 Tom de Vries <tdevries@suse.de>
2349
2350 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2351 * gdb.dwarf2/atomic-type.exp: Same.
2352 * gdb.dwarf2/bad-regnum.exp: Same.
2353 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2354 * gdb.dwarf2/dw2-align.exp: Same.
2355 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2356 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2357 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2358 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2359 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2360 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2361 * gdb.dwarf2/enum-type.exp: Same.
2362 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2363 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2364 * gdb.dwarf2/main-subprogram.exp: Same.
2365 * gdb.dwarf2/missing-type-name.exp: Same.
2366 * gdb.dwarf2/nonvar-access.exp: Same.
2367 * gdb.dwarf2/typedef-void-finish.exp: Same.
2368 * gdb.dwarf2/var-access.exp: Same.
2369 * gdb.dwarf2/void-type.exp: Same.
2370
4a636814
SM
23712020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2372
2373 PR gdb/26693
2374 * gdb.dwarf2/template-specification-full-name.exp: New test.
2375
557fc257
LM
23762020-10-22 Luis Machado <luis.machado@linaro.org>
2377
2378 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2379 expected an offset from the function.
2380 * gdb.base/msym-bp.exp (test): Likewise.
2381
6b4c676c
AB
23822020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2383
2384 * gdb.fortran/array-slices.exp: Add a new test.
2385
98cec4f6
GB
23862020-10-21 Gary Benson <gbenson@redhat.com>
2387
2388 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2389 fullname test with Clang. Also expand comments generally.
2390
ae86f581
TV
23912020-10-20 Tom de Vries <tdevries@suse.de>
2392
2393 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2394
8c161360
TV
23952020-10-20 Tom de Vries <tdevries@suse.de>
2396
2397 * gdb.dwarf2/arr-stride.c: Remove.
2398 * gdb.dwarf2/arr-stride.exp: Use main.c.
2399 * gdb.dwarf2/arr-subrange.c: Remove.
2400 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2401 * gdb.dwarf2/bad-regnum.c: Remove.
2402 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2403 * gdb.dwarf2/corrupt.c: Remove.
2404 * gdb.dwarf2/corrupt.exp: Use main.c.
2405 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2406 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2407 * gdb.dwarf2/dw2-icycle.c: Remove.
2408 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2409 * gdb.dwarf2/formdata16.c: Remove.
2410 * gdb.dwarf2/formdata16.exp: Use main.c.
2411 * gdb.dwarf2/implptrconst.c: Remove.
2412 * gdb.dwarf2/implptrconst.exp: Use main.c.
2413 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2414 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2415 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2416 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2417
9c2412ec
TV
24182020-10-20 Tom de Vries <tdevries@suse.de>
2419
2420 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2421 file.
2422 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2423
0cd2ad78
TV
24242020-10-20 Tom de Vries <tdevries@suse.de>
2425
2426 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2427 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2428 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2429 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2430 * gdb.dwarf2/dw2-ranges.exp: Same.
2431 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2432 * gdb.dwarf2/var-access.exp: Same.
2433
22cc388e
TT
24342020-10-19 Tom Tromey <tromey@adacore.com>
2435
2436 PR tui/26719
2437 * gdb.tui/list.exp: Check source window contents after focus
2438 change.
2439
520596f2
TV
24402020-10-17 Tom de Vries <tdevries@suse.de>
2441
2442 PR symtab/26317
2443 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2444
d1c8a76d
TV
24452020-10-17 Tom de Vries <tdevries@suse.de>
2446
2447 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2448 as suffix.
2449 * gdb.dwarf2/atomic.c: Rename to ...
2450 * gdb.dwarf2/atomic-type.c: ... this.
2451 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2452 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2453 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2454 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2455 * gdb.dwarf2/fission-mix2.c: Rename to ...
2456 * gdb.dwarf2/fission-mix-2.c: ... this.
2457 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2458 standard_testfile.
2459 * gdb.dwarf2/ada-valprint-error.exp: Same.
2460 * gdb.dwarf2/arr-stride.exp: Same.
2461 * gdb.dwarf2/arr-subrange.exp: Same.
2462 * gdb.dwarf2/atomic-type.exp: Same.
2463 * gdb.dwarf2/bad-regnum.exp: Same.
2464 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2465 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2466 * gdb.dwarf2/clang-debug-names.exp: Same.
2467 * gdb.dwarf2/comp-unit-lang.exp: Same.
2468 * gdb.dwarf2/corrupt.exp: Same.
2469 * gdb.dwarf2/count.exp: Same.
2470 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2471 * gdb.dwarf2/data-loc.exp: Same.
2472 * gdb.dwarf2/dw2-align.exp: Same.
2473 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2474 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2475 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2476 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2477 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2478 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2479 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2480 * gdb.dwarf2/dw2-inline-param.exp: Same.
2481 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2482 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2483 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2484 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2485 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2486 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2487 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2488 * gdb.dwarf2/dw2-param-error.exp: Same.
2489 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2490 * gdb.dwarf2/dw2-ranges.exp: Same.
2491 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2492 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2493 * gdb.dwarf2/dw4-sig-types.exp: Same.
2494 * gdb.dwarf2/dynarr-ptr.exp: Same.
2495 * gdb.dwarf2/enum-type.exp: Same.
2496 * gdb.dwarf2/fission-mix.exp: Same.
2497 * gdb.dwarf2/formdata16.exp: Same.
2498 * gdb.dwarf2/implptrconst.exp: Same.
2499 * gdb.dwarf2/implptrpiece.exp: Same.
2500 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2501 * gdb.dwarf2/main-subprogram.exp: Same.
2502 * gdb.dwarf2/method-ptr.exp: Same.
2503 * gdb.dwarf2/missing-sig-type.exp: Same.
2504 * gdb.dwarf2/nonvar-access.exp: Same.
2505 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2506 * gdb.dwarf2/shortpiece.exp: Same.
2507 * gdb.dwarf2/staticvirtual.exp: Same.
2508 * gdb.dwarf2/subrange.exp: Same.
2509 * gdb.dwarf2/symtab-producer.exp: Same.
2510 * gdb.dwarf2/typedef-void-finish.exp: Same.
2511 * gdb.dwarf2/var-access.exp: Same.
2512 * gdb.dwarf2/variant.exp: Same.
2513 * gdb.dwarf2/void-type.exp: Same.
2514 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2515 dw2-ranges-main.c.
2516 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2517
472d09c1
TV
25182020-10-16 Tom de Vries <tdevries@suse.de>
2519
2520 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2521
afe75f6d
TV
25222020-10-16 Tom de Vries <tdevries@suse.de>
2523
2524 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2525
8c8bd0ba
TV
25262020-10-14 Tom de Vries <tdevries@suse.de>
2527
2528 PR testsuite/26732
2529 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2530 scenario 2.
2531 * gdb.ada/mi_catch_ex_hand.exp: Same.
2532
b75d55d4
PA
25332020-10-13 Pedro Alves <pedro@palves.net>
2534
2535 * lib/mi-support.exp (mi_clean_restart): New.
2536 (mi_run_to_main): Delete.
2537 All callers adjust to use mi_clean_restart / mi_runto_main.
2538
e777225b
PA
25392020-10-13 Pedro Alves <pedro@palves.net>
2540
2541 * config/monitor.exp: Use "list -q".
2542 * gdb.arch/gdb1558.exp: Use "break -q".
2543 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2544 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2545 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2546 * gdb.base/commands.exp: Use "break -q".
2547 * gdb.base/condbreak.exp: Use "break -q".
2548 * gdb.base/ctf-ptype.exp: Use "list -q".
2549 * gdb.base/define.exp: Use "break -q".
2550 * gdb.base/del.exp: Use "break -q".
2551 * gdb.base/fullname.exp: Use "break -q".
2552 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2553 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2554 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2555 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2556 "hbreak -q".
2557 * gdb.base/included.exp: Use "list -q".
2558 * gdb.base/label.exp: Use "break -q".
2559 * gdb.base/lineinc.exp: Use "break -q".
2560 * gdb.base/list.exp: Use "list -q".
2561 * gdb.base/macscp.exp: Use "list -q".
2562 * gdb.base/pending.exp: Use "break -q".
2563 * gdb.base/prologue-include.exp: Use "break -q".
2564 * gdb.base/ptype.exp: Use "list -q".
2565 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2566 * gdb.base/server-del-break.exp: Use "break -q".
2567 * gdb.base/style.exp: Use "break -q".
2568 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2569 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2570 * gdb.cp/exception.exp: Use "tbreak -q".
2571 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2572 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2573 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2574 * gdb.dwarf2/pr13961.exp: Use "break -q".
2575 * gdb.linespec/explicit.exp: Use "list -q".
2576 * gdb.linespec/linespec.exp: Use "break -q".
2577 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2578 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2579 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2580 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2581 * gdb.trace/change-loc.exp: Use "break -q".
2582 * gdb.trace/pending.exp: Use "break -q".
2583 * gdb.tui/basic.exp: Use "list -q".
2584 * gdb.tui/list-before.exp: Use "list -q".
2585 * gdb.tui/list.exp: Use "list -q".
2586 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2587
8abd8ee8
PA
25882020-10-13 Pedro Alves <pedro@palves.net>
2589
2590 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2591 saved breakpoints file.
2592 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2593 inspecting breakpoint list.
2594 * lib/gdb.exp (runto_main): Add "qualified" to options.
2595 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2596 and handle it.
2597 (mi_runto_main): Pass 1 as qualified argument.
2598
f71e6719
PA
25992020-10-13 Pedro Alves <pedro@palves.net>
2600
2601 * lib/mi-support.exp (mi_runto_main): New proc.
2602 (mi_run_to_main): Use it.
2603 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2604 * gdb.mi/mi-var-cmd.exp: Likewise.
2605 * gdb.mi/mi-var-invalidate.exp: Likewise.
2606 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2607 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2608 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2609 * gdb.mi/user-selected-context-sync.exp: Likewise.
2610 * gdb.opt/inline-cmds.exp: Likewise.
2611 * gdb.python/py-framefilter-mi.exp: Likewise.
2612 * gdb.python/py-mi.exp: Likewise.
2613
50441f0f
PA
26142020-10-13 Pedro Alves <pedro@palves.net>
2615
2616 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2617 "runto main".
2618 * gdb.ada/small_reg_param.exp: Likewise.
2619 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2620 * gdb.base/annota1.exp: Likewise.
2621 * gdb.base/anon.exp: Likewise.
2622 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2623 * gdb.base/dprintf-non-stop.exp: Likewise.
2624 * gdb.base/dprintf.exp: Likewise.
2625 * gdb.base/gdb11530.exp: Likewise.
2626 * gdb.base/gdb11531.exp: Likewise.
2627 * gdb.base/gnu_vector.exp: Likewise.
2628 * gdb.base/interrupt-noterm.exp: Likewise.
2629 * gdb.base/memattr.exp: Likewise.
2630 * gdb.base/step-over-syscall.exp: Likewise.
2631 * gdb.base/watch-cond-infcall.exp: Likewise.
2632 * gdb.base/watch-read.exp: Likewise.
2633 * gdb.base/watch-vfork.exp: Likewise.
2634 * gdb.base/watch_thread_num.exp: Likewise.
2635 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2636 * gdb.guile/scm-frame-inline.exp: Likewise.
2637 * gdb.linespec/explicit.exp: Likewise.
2638 * gdb.opt/inline-break.exp: Likewise.
2639 * gdb.python/py-frame-inline.exp: Likewise.
2640 * gdb.reverse/break-precsave.exp: Likewise.
2641 * gdb.reverse/break-reverse.exp: Likewise.
2642 * gdb.reverse/consecutive-precsave.exp: Likewise.
2643 * gdb.reverse/consecutive-reverse.exp: Likewise.
2644 * gdb.reverse/finish-precsave.exp: Likewise.
2645 * gdb.reverse/finish-reverse.exp: Likewise.
2646 * gdb.reverse/fstatat-reverse.exp: Likewise.
2647 * gdb.reverse/getresuid-reverse.exp: Likewise.
2648 * gdb.reverse/i386-precsave.exp: Likewise.
2649 * gdb.reverse/i386-reverse.exp: Likewise.
2650 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2651 * gdb.reverse/i387-env-reverse.exp: Likewise.
2652 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2653 * gdb.reverse/insn-reverse.exp: Likewise.
2654 * gdb.reverse/machinestate-precsave.exp: Likewise.
2655 * gdb.reverse/machinestate.exp: Likewise.
2656 * gdb.reverse/pipe-reverse.exp: Likewise.
2657 * gdb.reverse/readv-reverse.exp: Likewise.
2658 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2659 * gdb.reverse/rerun-prec.exp: Likewise.
2660 * gdb.reverse/s390-mvcle.exp: Likewise.
2661 * gdb.reverse/solib-precsave.exp: Likewise.
2662 * gdb.reverse/solib-reverse.exp: Likewise.
2663 * gdb.reverse/step-precsave.exp: Likewise.
2664 * gdb.reverse/step-reverse.exp: Likewise.
2665 * gdb.reverse/time-reverse.exp: Likewise.
2666 * gdb.reverse/until-precsave.exp: Likewise.
2667 * gdb.reverse/until-reverse.exp: Likewise.
2668 * gdb.reverse/waitpid-reverse.exp: Likewise.
2669 * gdb.reverse/watch-precsave.exp: Likewise.
2670 * gdb.reverse/watch-reverse.exp: Likewise.
2671 * gdb.threads/kill.exp: Likewise.
2672 * gdb.threads/tid-reuse.exp: Likewise.
2673
d3a07122
SM
26742020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2675
2676 PR gdb/26642
2677 * gdb.base/maint-target-async-off.c: New test.
2678 * gdb.base/maint-target-async-off.exp: New test.
2679
c65c6c42
AM
26802020-10-13 Alan Modra <amodra@gmail.com>
2681
2682 * gdb.arch/powerpc-altivec.s,
2683 * gdb.arch/powerpc-power7.s,
2684 * gdb.arch/powerpc-power8.s,
2685 * gdb.arch/powerpc-power9.s,
2686 * gdb.arch/powerpc-vsx.s,
2687 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2688 * gdb.arch/powerpc-altivec.exp,
2689 * gdb.arch/powerpc-power7.exp,
2690 * gdb.arch/powerpc-power8.exp,
2691 * gdb.arch/powerpc-power9.exp,
2692 * gdb.arch/powerpc-vsx.exp,
2693 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2694 disassembly of mfvsrd/mtvsrd.
2695
f4a0f710
AM
26962020-10-13 Alan Modra <amodra@gmail.com>
2697
2698 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2699 "target architecture" output.
2700 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2701 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2702 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2703 * gdb.arch/s390-disassembler-options.exp: Likewise.
2704
87a37e5e
PA
27052020-10-12 Pedro Alves <pedro@palves.net>
2706
2707 PR exp/26602
2708 PR c++/26550
2709 * gdb.cp/ambiguous.cc (marker1): Delete.
2710 (main): Initialize all the fields of the locals. Replace marker1
2711 call with a "set breakpoint here" marker.
2712 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2713 instead of running to marker1. Add tests printing all the
2714 variables and all the fields of the variables.
2715 (test_ambiguous): New proc, expecting the new GDB output when a
2716 field access is ambiguous. Change all "warning: X ambiguous"
2717 tests to use it.
2718
71e1b6b0
GB
27192020-10-12 Gary Benson <gbenson@redhat.com>
2720
2721 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2722 * gdb.base/msym-bp-2.c (foo): Likewise.
2723 * gdb.base/msym-lang.c (foo): Likewise.
2724 * gdb.base/msym-lang-main.c (foo): Likewise.
2725 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2726 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2727 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2728 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2729 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2730 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2731 * gdb.python/py-objfile.c (static_var): Likewise.
2732 * gdb.python/py-symbol.c (rr): Likewise.
2733 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2734 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2735
9370fd51
AB
27362020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2737
2738 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2739 output of backtrace.
2740
7c184d33
TT
27412020-10-09 Tom Tromey <tromey@adacore.com>
2742
2743 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2744 (Rec): Add field. Fix range.
2745 * gdb.ada/scalar_storage.exp: Update.
2746
3d87245c
HD
27472020-10-09 Hannes Domani <ssbssa@yahoo.de>
2748
2749 PR exp/26714
2750 * gdb.base/printcmds.exp: Add tests for void results.
2751
f5c4b229
JV
27522020-10-09 Jan Vrany <jan.vrany@labware.com>
2753
2754 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2755 is emmited for both 'set directories' and 'directory' commands.
2756
b2701685
TT
27572020-10-08 Tom Tromey <tom@tromey.com>
2758
2759 * gdb.base/style.exp: Check that "main"'s name is styled.
2760
e86efb33
TT
27612020-10-07 Tom Tromey <tromey@adacore.com>
2762
2763 * gdb.base/find.exp: Rename some tests.
2764
30897591
GB
27652020-10-06 Gary Benson <gbenson@redhat.com>
2766
2767 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2768 * gdb.base/list1.c (unused): Likewise.
2769
ced4a4c1
GB
27702020-10-06 Gary Benson <gbenson@redhat.com>
2771
2772 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2773 __attribute__ ((used)).
2774 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2775
ed3bdac4
AB
27762020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2777
2778 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2779 make use of regions throughout.
2780 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2781 not {...}.
2782 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2783
cd096ec8
HD
27842020-10-05 Hannes Domani <ssbssa@yahoo.de>
2785
2786 * gdb.base/call-sc.c: Fix return struct on stack test case.
2787 * gdb.base/call-sc.exp: Likewise.
2788
3ee6f75d
GB
27892020-10-02 Gary Benson <gbenson@redhat.com>
2790
2791 * README: Fix "paralell".
2792
f65825ec
GB
27932020-09-30 Gary Benson <gbenson@redhat.com>
2794
2795 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2796 Convert directive to lowercase.
2797 (.Labbrev1_begin): Add missing label.
2798 (abbrev code 0x1): Remove DW_AT_stmt_list.
2799 (.Ldie_b): Likewise.
2800
5f278258
TT
28012020-09-27 Tom Tromey <tom@tromey.com>
2802
2803 * gdb.tui/new-layout.exp: Use with_test_prefix.
2804
8f9929bb
GR
28052020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2806
2807 PR python/26586
2808 * gdb.python/python.exp: add test cases for the from_tty
2809 argument to gdb.execute.
2810
c20c017b
GB
28112020-09-25 Gary Benson <gbenson@redhat.com>
2812
2813 * gdb.base/infcall-nested-structs.exp.tcl: Add
2814 additional_flags=-Wno-tautological-compare for C++
2815 tests when compiling using Clang.
2816
68d654af
GB
28172020-09-25 Gary Benson <gbenson@redhat.com>
2818
2819 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2820 for .c files.
2821
b551a89f
TT
28222020-09-24 Tom Tromey <tromey@adacore.com>
2823
2824 PR tui/26638:
2825 * gdb.tui/list.exp: Check output of "focus next".
2826
20a5fcbd
TT
28272020-09-23 Tom Tromey <tom@tromey.com>
2828
2829 * gdb.dwarf2/intbits.exp: New file.
2830 * gdb.dwarf2/intbits.c: New file.
2831
b167e53f
PA
28322020-09-20 Pedro Alves <pedro@palves.net>
2833
2834 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2835 spawn_id before calling remote_close. Close secondary MI channel.
2836
dbc49e9f
PA
28372020-09-20 Pedro Alves <pedro@palves.net>
2838
2839 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2840 fails.
2841
c8d5abea
AB
28422020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2843
2844 * gdb.fortran/array-slices.exp: Update expected results.
2845 * gdb.fortran/class-allocatable-array.exp: Likewise.
2846 * gdb.fortran/multi-dim.exp: Likewise.
2847 * gdb.fortran/vla-type.exp: Likewise.
2848 * gdb.mi/mi-vla-fortran.exp: Likewise.
2849
14f9473c
VC
28502020-09-18 Victor Collod <vcollod@nvidia.com>
2851
2852 PR gdb/26635
2853 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2854 compatible with i386, and move it to...
2855 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2856 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2857 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2858
e8ef12b9
PA
28592020-09-18 Pedro Alves <pedro@palves.net>
2860
2861 PR gdb/26631
2862 * gdb.multi/multi-target-thread-find.exp: New file.
2863
e11daf7a
PA
28642020-09-18 Pedro Alves <pedro@palves.net>
2865
2866 * gdb.multi/multi-target-continue.exp: New file, factored out from
2867 multi-target.exp.
2868 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2869 multi-target.exp.
2870 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2871 multi-target.exp.
2872 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2873 multi-target.exp.
2874 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2875 multi-target.exp.
2876 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2877 multi-target.exp.
2878 * gdb.multi/multi-target.exp: Delete.
2879
d0edc2b8
AB
28802020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2881
2882 * gdb.fortran/array-slices.exp: Add missing message data.
2883
7474326c
PA
28842020-09-17 Pedro Alves <pedro@palves.net>
2885
2886 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2887
dd23068d
PA
28882020-09-17 Pedro Alves <pedro@palves.net>
2889
2890 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2891 full prototype.
2892
0640a543
PA
28932020-09-17 Pedro Alves <pedro@palves.net>
2894
2895 * gdb.python/py-as-string.c: Add cast.
2896
ef0cdbc1
PA
28972020-09-17 Pedro Alves <pedro@palves.net>
2898
2899 * gdb.base/sizeof.c (fill): Add cast.
2900
3a5eeb8b
PA
29012020-09-17 Pedro Alves <pedro@palves.net>
2902
2903 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2904
a8129512
PA
29052020-09-17 Pedro Alves <pedro@palves.net>
2906
2907 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2908 linkage name.
2909 * gdb.base/prologue.exp: Use print /d.
2910 * gdb.base/symbol-alias.exp: Handle C++ output.
2911 * gdb.base/symbol-alias2.c: Handle C++ output.
2912 [__cplusplus] (func): Explicitly specify linkage name.
2913
a83cdcb6
PA
29142020-09-17 Pedro Alves <pedro@palves.net>
2915
2916 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2917 (struct my_key_t): ... this. Adjust all references.
2918 (struct value_t): Rename to ...
2919 (struct my_value_t): ... this. Adjust all references.
2920 (create_map, add_map_element, create_map_map)
2921 (add_map_map_element): Add casts.
2922
d4bcee5c
PA
29232020-09-17 Pedro Alves <pedro@palves.net>
2924
2925 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2926 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2927
81f90489
PA
29282020-09-17 Pedro Alves <pedro@palves.net>
2929
2930 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2931
0a229804
PA
29322020-09-17 Pedro Alves <pedro@palves.net>
2933
2934 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2935 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2936 (charfoo, intfoo): Define full prototype.
2937 * gdb.base/ptype1.c (charfoo): Define full prototype.
2938 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2939 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2940
c3e5138d
PA
29412020-09-17 Pedro Alves <pedro@palves.net>
2942
2943 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2944 Don't define.
2945 (utf_32_string): Compile for both C and C++.
2946 * gdb.base/charset.exp: Use "print /d".
2947
151fdbad
PA
29482020-09-17 Pedro Alves <pedro@palves.net>
2949
2950 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2951 (nullptr): Rename to ...
2952 (null_ptr): ... this.
2953 * gdb.base/watchpoint.exp: Adjust to rename.
2954
18a25b64
PA
29552020-09-17 Pedro Alves <pedro@palves.net>
2956
2957 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2958 (three_not_flag): Add casts.
2959
11fac337
PA
29602020-09-17 Pedro Alves <pedro@palves.net>
2961
2962 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2963 char array.
2964 (main): Add references to Barrier, TestStrings, TestStringsH and
2965 TestStringsW.
2966 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2967 and expect a full prototype in C++.
2968
52626c58
PA
29692020-09-17 Pedro Alves <pedro@palves.net>
2970
2971 * gdb.base/nested-addr.c (main): Add cast.
2972 * gdb.base/nested-addr.exp: Use "print /d".
2973
52bb0902
PA
29742020-09-17 Pedro Alves <pedro@palves.net>
2975
2976 * gdb.base/break.exp (func): New. Use it throughout when
2977 expecting a function name.
2978
73e18ac9
PA
29792020-09-17 Pedro Alves <pedro@palves.net>
2980
2981 * gdb.base/display.exp: Issue "set print asm-demangle on".
2982
c8b18808
PA
29832020-09-17 Pedro Alves <pedro@palves.net>
2984
2985 * gdb.base/find.c: Include <string.h>.
2986 (init_bufs): Add cast.
2987 * gdb.base/find.exp: Issue "set print asm-demangle on".
2988
fe830662
TT
29892020-09-16 Tom Tromey <tromey@adacore.com>
2990
2991 PR gdb/26598:
2992 * gdb.base/skipcxx.exp: New file.
2993 * gdb.base/skipcxx.cc: New file.
2994
945ff6e2
TV
29952020-09-16 Tom de Vries <tdevries@suse.de>
2996
2997 PR testsuite/26617
2998 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2999 WITH_DEBUG_SECTIONS is defined.
3000 (xstr, str): New macro.
3001 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
3002 to get start and size of _Dmain.
3003 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
3004 using additional_flags.
3005
da1df1db
TBA
30062020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3007
3008 * gdb.base/bp-cmds-sourced-script.c: New file.
3009 * gdb.base/bp-cmds-sourced-script.exp: New test.
3010 * gdb.base/bp-cmds-sourced-script.gdb: New file.
3011
337882d4
TV
30122020-09-16 Tom de Vries <tdevries@suse.de>
3013
3014 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
3015 get the gdb prompt after issuing "monitor exit".
3016
7361f908
TV
30172020-09-16 Tom de Vries <tdevries@suse.de>
3018
3019 PR testsuite/26624
3020 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
3021
4d91ddd3
TV
30222020-09-16 Tom de Vries <tdevries@suse.de>
3023
3024 PR testsuite/26618
3025 * gdb.tui/new-layout.exp: Escape unbalanced braces.
3026
08cc37dd
TT
30272020-09-15 Tom Tromey <tromey@adacore.com>
3028
3029 PR rust/26197:
3030 * lib/rust-support.exp (rust_llvm_version): New proc.
3031 * gdb.rust/simple.exp: Check rust_llvm_version.
3032
ee6372f2
TV
30332020-09-14 Tom de Vries <tdevries@suse.de>
3034
3035 * gdb.rust/traits.exp: Fix PATH warning.
3036
dc3a371e
PA
30372020-09-13 Pedro Alves <pedro@palves.net>
3038
3039 * gdb.base/catch-follow-exec.c (main): Add explicit return
3040 statement.
3041 * gdb.base/catch-signal.c (main): Likewise.
3042 * gdb.base/condbreak-call-false.c (main): Likewise.
3043 * gdb.base/consecutive.c (main): Add explicit return
3044 statement and return type.
3045 * gdb.base/cursal.c (main): Add explicit return statement.
3046 * gdb.base/cvexpr.c (main): Likewise.
3047 * gdb.base/display.c (main): Add explicit return statement and
3048 return type.
3049 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3050 * gdb.base/endianity.c (main): Likewise.
3051 * gdb.base/execd-prog.c (main): Likewise.
3052 * gdb.base/gdb1090.c (main): Likewise.
3053 * gdb.base/info_qt.c (main): Likewise.
3054 * gdb.base/lineinc.c (main): Likewise.
3055 * gdb.base/load-command.c (main): Likewise.
3056 * gdb.base/macscp1.c (main): Likewise.
3057 * gdb.base/pr10179-a.c (main): Likewise.
3058 * gdb.base/quit-live.c (main): Likewise.
3059 * gdb.base/scope0.c (main): Likewise.
3060 * gdb.base/settings.c (main): Likewise.
3061 * gdb.base/stack-checking.c (main): Return int.
3062 * gdb.base/varargs.c (main): Add explicit return statement.
3063 * gdb.cp/ambiguous.cc (main): Likewise.
3064 * gdb.cp/anon-struct.cc (main): Likewise.
3065 * gdb.cp/anon-union.cc (main): Likewise.
3066 * gdb.cp/bool.cc (main): Likewise.
3067 * gdb.cp/bs15503.cc (main): Likewise.
3068 * gdb.cp/cplusfuncs.cc (main): Likewise.
3069 * gdb.cp/cttiadd.cc (main): Likewise.
3070 * gdb.cp/extern-c.cc (main): Likewise.
3071 * gdb.cp/filename.cc (main): Likewise.
3072 * gdb.cp/formatted-ref.cc (main): Likewise.
3073 * gdb.cp/mb-ctor.cc (main): Likewise.
3074 * gdb.cp/member-ptr.cc (main): Likewise.
3075 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3076 * gdb.cp/overload-const.cc (main): Likewise.
3077 * gdb.cp/paren-type.cc (main): Likewise.
3078 * gdb.cp/parse-lang.cc (main): Likewise.
3079 * gdb.cp/pr-1023.cc (main): Likewise.
3080 * gdb.cp/psmang1.cc (main): Likewise.
3081 * gdb.cp/readnow-language.cc (main): Likewise.
3082 * gdb.cp/ref-params.cc (main): Likewise.
3083 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3084 * gdb.cp/virtbase2.cc (main): Likewise.
3085 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3086 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3087 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3088 * gdb.mi/mi-console.c (main): Likewise.
3089 * gdb.mi/mi-read-memory.c (main): Likewise.
3090 * gdb.modula2/multidim.c (main): Likewise.
3091 * gdb.opt/inline-small-func.c (main): Likewise.
3092 * gdb.python/py-rbreak.c (main): Likewise.
3093 * gdb.stabs/exclfwd1.c (main): Likewise.
3094 * gdb.trace/qtro.c (main): Likewise.
3095
af26601c
PA
30962020-09-13 Pedro Alves <pedro@palves.net>
3097
3098 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3099 instead of getenv.
3100
2f4b83cd
PA
31012020-09-13 Pedro Alves <pedro@palves.net>
3102
3103 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3104 instead of spawning GDB with remote_spawn.
3105 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3106 gdb_spawn instead of spawning GDB with remote_spawn.
3107
c49da0e4
PA
31082020-09-13 Pedro Alves <pedro@palves.net>
3109
3110 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3111 file and add calls to first and second.
3112 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3113 add call to f.
3114
6791b117
PA
31152020-09-13 Pedro Alves <pedro@palves.net>
3116
3117 * gdb.mi/mi-break-qualified.cc: New file.
3118 * gdb.mi/mi-break-qualified.exp: New file.
3119 * lib/mi-support.exp (mi_create_breakpoint_multi)
3120 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3121 procedures.
3122 (mi_create_breakpoint_1): New, factored out from
3123 mi_create_breakpoint.
3124
3b8d4c5c
PA
31252020-09-13 Pedro Alves <pedro@palves.net>
3126
3127 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3128 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3129 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3130 (register_class): Delete.
3131 (main): Don't call register_class.
3132
d5f96005
PA
31332020-09-13 Pedro Alves <pedro@palves.net>
3134
3135 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3136 (do_tests): Remove "calling method for small class" test.
3137 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3138 (register_class): Delete.
3139 (main): Don't call register_class.
3140 * gdb.cp/call-method-register.exp: New file, based on bits removed
3141 from classes.exp.
3142 * gdb.cp/call-method-register.cc: New file, based on bits removed
3143 from classes.cc.
3144
77f2120b
PA
31452020-09-13 Pedro Alves <pedro@palves.net>
3146
3147 * gdb.base/msym-bp-2.c: New.
3148 * gdb.base/msym-bp-shl-lib.c: New file.
3149 * gdb.base/msym-bp-shl-main-2.c: New file.
3150 * gdb.base/msym-bp-shl-main.c: New file.
3151 * gdb.base/msym-bp-shl.exp: New file.
3152 * gdb.base/msym-bp.c: New file.
3153 * gdb.base/msym-bp.exp: New file.
3154
32aea73e
JB
31552020-09-13 Joel Brobecker <brobecker@adacore.com>
3156
3157 * gdb.base/default.exp: Change $_gdb_major to 11.
3158
2a67f09d
FW
31592020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3160 Felix Willgerodt <Felix.Willgerodt@intel.com>
3161
3162 * x86-avx512bf16.c: New file.
3163 * x86-avx512bf16.exp: Likewise.
3164 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3165
ad570dd7
TV
31662020-09-11 Tom de Vries <tdevries@suse.de>
3167
3168 PR exp/26602
3169 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3170
a56f7391
TBA
31712020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3172
3173 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3174
918619e5
AM
31752020-09-10 Alan Modra <amodra@gmail.com>
3176
3177 PR 26597
3178 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3179
cac1e71d
TV
31802020-09-08 Tom de Vries <tdevries@suse.de>
3181
3182 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3183 after gdb_starti_cmd.
3184
c5cd900e
AKS
31852020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3186
3187 * lib/fortran.exp (fortran_complex8): New proc.
3188 (fortran_complex16): New proc.
3189 * gdb.fortran/complex.exp: Use routines from fortran.exp
3190 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3191 * gdb.fortran/vla-ptr-info.exp: Likewise.
3192
8f5c6526
TV
31932020-09-03 Tom de Vries <tdevries@suse.de>
3194
3195 PR breakpoint/26546
3196 * gdb.base/label-without-address.exp: Runto main first.
3197
02c6f3f1
TT
31982020-09-02 Tom Tromey <tromey@adacore.com>
3199
3200 * gdb.ada/mi_var_access.exp: Test children of access variable.
3201 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3202 * gdb.ada/mi_var_array.exp: Update.
3203
efe24f05
KB
32042020-08-31 Kevin Buettner <kevinb@redhat.com>
3205
3206 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3207 on docker w/ AUFS storage driver.
3208
973695d6
KB
32092020-08-31 Kevin Buettner <kevinb@redhat.com>
3210
3211 * gdb.base/corefile2.exp (renamed binfile): New tests.
3212
f3bd50f1
SM
32132020-08-31 Simon Marchi <simon.marchi@efficios.com>
3214
3215 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3216
22b9b4b0
SL
32172020-08-31 Simon Marchi <simon.marchi@efficios.com>
3218
3219 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3220 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3221
8efaf6b3
SM
32222020-08-31 Simon Marchi <simon.marchi@efficios.com>
3223
3224 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3225 output, printing a "not saved" value from history and printing a
3226 convenience variable created from a "not saved" value.
3227
e840f2e3
TV
32282020-08-31 Tom de Vries <tdevries@suse.de>
3229
3230 * gdb.base/eh_return.exp: Use nopie.
3231
8f57f343
PA
32322020-08-28 Pedro Alves <pedro@palves.net>
3233
3234 * gdb.base/advance-until-multiple-locations.exp
3235 (advance_overload, until_overload): Adjust to match the
3236 frame/function header instead of the source line text.
3237
626d2320
TV
32382020-08-28 Tom de Vries <tdevries@suse.de>
3239
3240 * gdb.base/label-without-address.c: New test.
3241 * gdb.base/label-without-address.exp: New file.
3242
df631783
PA
32432020-08-27 Pedro Alves <pedro@palves.net>
3244
3245 PR gdb/26523
3246 PR gdb/26524
3247 * gdb.base/advance-until-multiple-locations.cc: New.
3248 * gdb.base/advance-until-multiple-locations.exp: New.
3249
48b076bb
SM
32502020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3251
3252 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3253
c2015ce4
AB
32542020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3255
3256 * gdb.arch/amd64-byte.exp: Make test names unique, use
3257 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3258 * gdb.arch/amd64-dword.exp: Likewise.
3259 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3260 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3261 unique.
3262 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3263 * gdb.arch/amd64-word.exp: Make test names unique, use
3264 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3265 * gdb.arch/i386-byte.exp: Make test names unique, use
3266 gdb_breakpoint.
3267 * gdb.arch/i386-word.exp: Likewise.
3268
995d3a19
SV
32692020-08-25 Shahab Vahedi <shahab@synopsys.com>
3270
3271 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3272
8cac2b31
SM
32732020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3274
3275 PR gdb/26532
3276 * gdb.threads/stepi-random-signal.exp: Update pattern.
3277
2bc19622
SM
32782020-08-25 Simon Marchi <simon.marchi@efficios.com>
3279
3280 PR gdb/26532
3281 * gdb.base/ui-redirect.exp: Update pattern.
3282
b04aa1fc
GB
32832020-08-25 Gary Benson <gbenson@redhat.com>
3284
3285 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3286 when compiling with clang.
8571e9c8 3287 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 3288
9f68b453
GB
32892020-08-25 Gary Benson <gbenson@redhat.com>
3290
3291 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3292 Add additional_flags=-Wno-inaccessible-base when compiling
3293 with GCC >= 10.1 or clang. Add additional_flags=-w when
3294 compiling with GCC < 10.
3295
3945d2d7
GM
32962020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3297
3298 PR m2/26372
fc5d6901
SM
3299 * gdb.modula2/multidim.c: New file.
3300 * gdb.modula2/multidim.exp: New file.
3945d2d7 3301
60122dbe
SM
33022020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3303
3304 * lib/gdb.exp (runto): Always emit fail on internal error.
3305
1eb8556f
SM
33062020-08-24 Simon Marchi <simon.marchi@efficios.com>
3307
3308 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3309 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3310 Likewise.
3311 * gdb.threads/stepi-random-signal.exp: Likewise.
3312
33bf4c5c
TBA
33132020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3314
3315 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3316 * gdb.trace/strace.exp: Ditto.
3317
c2fd7fae
AKS
33182020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3319
3320 * gdb.fortran/vla-type.exp: Skip commands not required for
3321 the Flang compiled binaries after prologue fix.
3322
326afb72
TT
33232020-08-17 Tom de Vries <tdevries@suse.de>
3324 Tom Tromey <tromey@adacore.com>
3325
3326 PR rust/26197:
3327 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3328
3ae7ab99
TT
33292020-08-17 Tom Tromey <tromey@adacore.com>
3330
3331 * gdb.ada/mi_var_access.exp: New file.
3332 * gdb.ada/mi_var_access/mi_access.adb: New file.
3333 * gdb.ada/mi_var_access/pck.adb: New file.
3334 * gdb.ada/mi_var_access/pck.ads: New file.
3335
f569c1c5
TV
33362020-08-16 Tom de Vries <tdevries@suse.de>
3337
3338 PR gdb/25350
3339 * gdb.base/eh_return.c: New test.
3340 * gdb.base/eh_return.exp: New file.
3341
3d11c30a
TV
33422020-08-15 Tom de Vries <tdevries@suse.de>
3343
3344 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3345 (mixed_func_1d_): Use fortran_charlen_t in decl.
3346
547ce8f0
TV
33472020-08-15 Tom de Vries <tdevries@suse.de>
3348
3349 PR backtrace/26390
3350 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3351 Update expected pattern.
3352
a54a7f13
PA
33532020-08-13 Pedro Alves <pedro@palves.net>
3354
3355 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3356 * gdb.fortran/library-module.exp: Likewise.
3357 * gdb.fortran/logical.exp: Likewise.
3358 * gdb.fortran/module.exp: Likewise.
3359 * gdb.fortran/print_type.exp: Likewise.
3360 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3361 * gdb.fortran/vla-datatypes.exp: Likewise.
3362 * gdb.fortran/vla-history.exp: Likewise.
3363 * gdb.fortran/vla-ptr-info.exp: Likewise.
3364 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3365 * gdb.fortran/vla-ptype.exp: Likewise.
3366 * gdb.fortran/vla-sizeof.exp: Likewise.
3367 * gdb.fortran/vla-type.exp: Likewise.
3368 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3369 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3370 * gdb.fortran/vla-value-sub.exp: Likewise.
3371 * gdb.fortran/vla-value.exp: Likewise.
3372
7a82e903
PA
33732020-08-13 Pedro Alves <pedro@palves.net>
3374
3375 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3376 * gdb.ada/access_to_packed_array.exp: Likewise.
3377 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3378 * gdb.ada/addr_arith.exp: Likewise.
3379 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3380 * gdb.ada/arr_arr.exp: Likewise.
3381 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3382 * gdb.ada/array_bounds.exp: Likewise.
3383 * gdb.ada/array_of_variable_length.exp: Likewise.
3384 * gdb.ada/array_ptr_renaming.exp: Likewise.
3385 * gdb.ada/array_subscript_addr.exp: Likewise.
3386 * gdb.ada/arraydim.exp: Likewise.
3387 * gdb.ada/arrayparam.exp: Likewise.
3388 * gdb.ada/arrayptr.exp: Likewise.
3389 * gdb.ada/assign_1.exp: Likewise.
3390 * gdb.ada/assign_arr.exp: Likewise.
3391 * gdb.ada/atomic_enum.exp: Likewise.
3392 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3393 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3394 * gdb.ada/bias.exp: Likewise.
3395 * gdb.ada/boolean_expr.exp: Likewise.
3396 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3397 * gdb.ada/bp_enum_homonym.exp: Likewise.
3398 * gdb.ada/bp_inlined_func.exp: Likewise.
3399 * gdb.ada/bp_on_var.exp: Likewise.
3400 * gdb.ada/bp_range_type.exp: Likewise.
3401 * gdb.ada/bp_reset.exp: Likewise.
3402 * gdb.ada/call_pn.exp: Likewise.
3403 * gdb.ada/catch_assert_if.exp: Likewise.
3404 * gdb.ada/catch_ex.exp: Likewise.
3405 * gdb.ada/catch_ex_std.exp: Likewise.
3406 * gdb.ada/char_enum.exp: Likewise.
3407 * gdb.ada/char_param.exp: Likewise.
3408 * gdb.ada/complete.exp: Likewise.
3409 * gdb.ada/cond_lang.exp: Likewise.
3410 * gdb.ada/convvar_comp.exp: Likewise.
3411 * gdb.ada/dgopt.exp: Likewise.
3412 * gdb.ada/disc_arr_bound.exp: Likewise.
3413 * gdb.ada/display_nested.exp: Likewise.
3414 * gdb.ada/dot_all.exp: Likewise.
3415 * gdb.ada/dyn_loc.exp: Likewise.
3416 * gdb.ada/dyn_stride.exp: Likewise.
3417 * gdb.ada/excep_handle.exp: Likewise.
3418 * gdb.ada/expr_delims.exp: Likewise.
3419 * gdb.ada/expr_with_funcall.exp: Likewise.
3420 * gdb.ada/exprs.exp: Likewise.
3421 * gdb.ada/fin_fun_out.exp: Likewise.
3422 * gdb.ada/fixed_cmp.exp: Likewise.
3423 * gdb.ada/formatted_ref.exp: Likewise.
3424 * gdb.ada/frame_arg_lang.exp: Likewise.
3425 * gdb.ada/frame_args.exp: Likewise.
3426 * gdb.ada/fullname_bp.exp: Likewise.
3427 * gdb.ada/fun_addr.exp: Likewise.
3428 * gdb.ada/fun_in_declare.exp: Likewise.
3429 * gdb.ada/fun_overload_menu.exp: Likewise.
3430 * gdb.ada/fun_renaming.exp: Likewise.
3431 * gdb.ada/funcall_char.exp: Likewise.
3432 * gdb.ada/funcall_param.exp: Likewise.
3433 * gdb.ada/funcall_ptr.exp: Likewise.
3434 * gdb.ada/funcall_ref.exp: Likewise.
3435 * gdb.ada/homonym.exp: Likewise.
3436 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3437 * gdb.ada/info_auto_lang.exp: Likewise.
3438 * gdb.ada/info_exc.exp: Likewise.
3439 * gdb.ada/info_types.exp: Likewise.
3440 * gdb.ada/int_deref.exp: Likewise.
3441 * gdb.ada/interface.exp: Likewise.
3442 * gdb.ada/iwide.exp: Likewise.
3443 * gdb.ada/lang_switch.exp: Likewise.
3444 * gdb.ada/length_cond.exp: Likewise.
3445 * gdb.ada/maint_with_ada.exp: Likewise.
3446 * gdb.ada/mi_catch_assert.exp: Likewise.
3447 * gdb.ada/mi_catch_ex.exp: Likewise.
3448 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3449 * gdb.ada/mi_dyn_arr.exp: Likewise.
3450 * gdb.ada/mi_ex_cond.exp: Likewise.
3451 * gdb.ada/mi_exc_info.exp: Likewise.
3452 * gdb.ada/mi_interface.exp: Likewise.
3453 * gdb.ada/mi_prot.exp: Likewise.
3454 * gdb.ada/mi_ref_changeable.exp: Likewise.
3455 * gdb.ada/mi_string_access.exp: Likewise.
3456 * gdb.ada/mi_task_arg.exp: Likewise.
3457 * gdb.ada/mi_task_info.exp: Likewise.
3458 * gdb.ada/mi_var_array.exp: Likewise.
3459 * gdb.ada/mi_var_union.exp: Likewise.
3460 * gdb.ada/mi_variant.exp: Likewise.
3461 * gdb.ada/minsyms.exp: Likewise.
3462 * gdb.ada/mod_from_name.exp: Likewise.
3463 * gdb.ada/nested.exp: Likewise.
3464 * gdb.ada/null_array.exp: Likewise.
3465 * gdb.ada/optim_drec.exp: Likewise.
3466 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3467 * gdb.ada/packed_array_assign.exp: Likewise.
3468 * gdb.ada/packed_tagged.exp: Likewise.
3469 * gdb.ada/pp-rec-component.exp: Likewise.
3470 * gdb.ada/print_chars.exp: Likewise.
3471 * gdb.ada/print_pc.exp: Likewise.
3472 * gdb.ada/ptr_typedef.exp: Likewise.
3473 * gdb.ada/ptype_arith_binop.exp: Likewise.
3474 * gdb.ada/ptype_array.exp: Likewise.
3475 * gdb.ada/ptype_field.exp: Likewise.
3476 * gdb.ada/ptype_tagged_param.exp: Likewise.
3477 * gdb.ada/ptype_union.exp: Likewise.
3478 * gdb.ada/py_range.exp: Likewise.
3479 * gdb.ada/py_taft.exp: Likewise.
3480 * gdb.ada/rdv_wait.exp: Likewise.
3481 * gdb.ada/rec_comp.exp: Likewise.
3482 * gdb.ada/rec_return.exp: Likewise.
3483 * gdb.ada/ref_param.exp: Likewise.
3484 * gdb.ada/ref_tick_size.exp: Likewise.
3485 * gdb.ada/rename_subscript_param.exp: Likewise.
3486 * gdb.ada/repeat_dyn.exp: Likewise.
3487 * gdb.ada/same_component_name.exp: Likewise.
3488 * gdb.ada/same_enum.exp: Likewise.
3489 * gdb.ada/scalar_storage.exp: Likewise.
3490 * gdb.ada/set_wstr.exp: Likewise.
3491 * gdb.ada/small_reg_param.exp: Likewise.
3492 * gdb.ada/str_binop_equal.exp: Likewise.
3493 * gdb.ada/str_ref_cmp.exp: Likewise.
3494 * gdb.ada/str_uninit.exp: Likewise.
3495 * gdb.ada/sub_variant.exp: Likewise.
3496 * gdb.ada/sym_print_name.exp: Likewise.
3497 * gdb.ada/taft_type.exp: Likewise.
3498 * gdb.ada/tagged.exp: Likewise.
3499 * gdb.ada/tagged_access.exp: Likewise.
3500 * gdb.ada/task_bp.exp: Likewise.
3501 * gdb.ada/task_switch_in_core.exp: Likewise.
3502 * gdb.ada/tasks.exp: Likewise.
3503 * gdb.ada/tick_last_segv.exp: Likewise.
3504 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3505 * gdb.ada/type_coercion.exp: Likewise.
3506 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3507 * gdb.ada/unchecked_union.exp: Likewise.
3508 * gdb.ada/uninitialized_vars.exp: Likewise.
3509 * gdb.ada/var_arr_attrs.exp: Likewise.
3510 * gdb.ada/var_arr_typedef.exp: Likewise.
3511 * gdb.ada/var_rec_arr.exp: Likewise.
3512 * gdb.ada/variant-record.exp: Likewise.
3513 * gdb.ada/variant.exp: Likewise.
3514 * gdb.ada/variant_record_packed_array.exp: Likewise.
3515 * gdb.ada/varsize_limit.exp: Likewise.
3516 * gdb.ada/whatis_array_val.exp: Likewise.
3517 * gdb.ada/widewide.exp: Likewise.
3518 * gdb.ada/win_fu_syms.exp: Likewise.
3519
35202020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
3521
3522 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3523
10c381b5
AB
35242020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3525
3526 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3527 unset the array variable.
3528
8f34b746
TV
35292020-08-03 Tom de Vries <tdevries@suse.de>
3530
3531 PR symtab/26333
3532 * lib/dwarf.exp (DW_LNE_user): New proc.
3533 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3534 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3535
0245e136
KB
35362020-07-31 Kevin Buettner <kevinb@redhat.com>
3537
3538 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3539 to 'uintptr_t'
3540 (inttypes.h): Include.
3541
9ef1ec5d
KB
35422020-07-31 Kevin Buettner <kevinb@redhat.com>
3543
3544 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3545 (C5_24k): Delete.
3546 (C5_8k, C5_64k, C5_256k): New macros.
3547 (buf_ro): Allocate 256 KiB of initialized data.
3548
4c55e970
TBA
35492020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3550
3551 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3552 that attempt to overwrite an existing condition with a condition
3553 that fails parsing and also with a condition that parses fine
3554 but contains junk at the end.
3555
1e620590
TBA
35562020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3557
3558 * gdb.base/condbreak-bad.c: New test.
3559 * gdb.base/condbreak-bad.exp: New file.
3560
e12dcc50
TV
35612020-07-30 Tom de Vries <tdevries@suse.de>
3562
3563 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3564 out of ...
3565 (GDBInfoModuleSymbols::check_entry): ... here.
3566 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3567 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3568 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3569
6cc64caa
TV
35702020-07-30 Tom de Vries <tdevries@suse.de>
3571
3572 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3573 "__class_some_module_Number_t" optional.
3574
90fd07fc
TV
35752020-07-29 Tom de Vries <tdevries@suse.de>
3576
3577 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3578 multiple locations.
3579
f5c79e97
TV
35802020-07-29 Tom de Vries <tdevries@suse.de>
3581
3582 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3583 rather than function name.
3584
f75a0693
AB
35852020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3586
3587 PR symtab/26270:
3588 * gdb.cp/disasm-func-name.cc: New file.
3589 * gdb.cp/disasm-func-name.exp: New file.
3590
4888741a
TT
35912020-07-28 Tom Tromey <tromey@adacore.com>
3592
3593 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3594 'varval' location.
3595
43d5901d
AB
35962020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3597
3598 * gdb.python/py-unwind.py: Update to make use of a register
3599 descriptor.
3600
14fa8fb3
AB
36012020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3602
3603 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3604
e79eb02f
AB
36052020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3606
3607 PR fortran/23051
3608 PR fortran/26139
3609 * gdb.fortran/class-allocatable-array.exp: New file.
3610 * gdb.fortran/class-allocatable-array.f90: New file.
3611 * gdb.fortran/pointer-to-pointer.exp: New file.
3612 * gdb.fortran/pointer-to-pointer.f90: New file.
3613
876518dd
TV
36142020-07-25 Tom de Vries <tdevries@suse.de>
3615
3616 PR symtab/26243
3617 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3618 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3619
6dcfb80a
TV
36202020-07-24 Tom de Vries <tdevries@suse.de>
3621
3622 PR testsuite/26293
3623 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3624
e7bc9db8
PA
36252020-07-23 Pedro Alves <pedro@palves.net>
3626
3627 * gdb.server/server-kill.exp (prepare): New, factored out from the
3628 top level.
3629 (kill_server): New.
3630 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3631 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3632
78344df7
AB
36332020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3634
3635 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3636
25dfed24
SL
36372020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3638
3639 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3640 Initialize to empty string at top level.
3641 (gdb_wrapper_init): Revert check for file existence on build.
3642 Build the wrapper in its default place, not a build-specific
3643 location. When host == build, make the pathname absolute.
3644 (gdb_compile): Delete leftover declaration of
3645 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3646 string instead of uninitialized.
3647
7da515fd
KB
36482020-07-22 Kevin Buettner <kevinb@redhat.com>
3649
3650 * gdb.base/corefile2.exp: New file.
3651 * gdb.base/coremaker2.exp: New file.
3652
9c5ec5c2
KB
36532020-07-22 Kevin Buettner <kevinb@redhat.com>
3654
3655 * gdb.base/coredump-filter.exp: Add second
3656 non-Private-Shared-Anon-File test.
3657 (test_disasm): Rename binfile for test which is expected
3658 to fail.
3659
f9e233c9
KB
36602020-07-22 Kevin Buettner <kevinb@redhat.com>
3661
3662 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3663 data in core file".
3664 * gdb.base/coremaker.c (buf2ro): New global.
3665 (mmapdata): Add a read-only mmap mapping.
3666
94c265d7
KB
36672020-07-22 Kevin Buettner <kevinb@redhat.com>
3668
3669 PR corefiles/25631
3670 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3671 New test.
3672 * gdb.base/coremaker.c (buf3): New global.
3673 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3674 flags.
3675
36762020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3677
3678 * gdb.base/coremaker.c (filler_ro): New global constant.
3679
32fa152e
TT
36802020-07-22 Tom Tromey <tromey@adacore.com>
3681
3682 * gdb.ada/mi_prot.exp: New file.
3683 * gdb.ada/mi_prot/pkg.adb: New file.
3684 * gdb.ada/mi_prot/pkg.ads: New file.
3685 * gdb.ada/mi_prot/prot.adb: New file.
3686
c8474dc3
TBA
36872020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3688
3689 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3690 loads two JITers.
3691
baf8791e
AB
36922020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3693
3694 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3695
f7306dac
AB
36962020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3697
3698 * gdb.python/py-arch-reg-names.exp: Additional tests.
3699
6d3d6e4b
TV
37002020-07-21 Tom de Vries <tdevries@suse.de>
3701
3702 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3703 breakpoint locations".
3704 * gdb.reverse/solib-reverse.exp: Same.
3705
803d0592
TV
37062020-07-21 Tom de Vries <tdevries@suse.de>
3707
3708 * gdb.reverse/step-reverse.c (callee): Merge statements.
3709
e9bdc510
TV
37102020-07-21 Tom de Vries <tdevries@suse.de>
3711
3712 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3713 line numbers for some variables.
3714
f0f9e75a
TV
37152020-07-21 Tom de Vries <tdevries@suse.de>
3716
3717 * gdb.opt/inline-locals.c (init_array): New func.
3718 (func1): Use init_array.
3719 * gdb.opt/inline-locals.exp: Update pattern.
3720
bd460ecb
TV
37212020-07-21 Tom de Vries <tdevries@suse.de>
3722
3723 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3724 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3725
ae5369e7
LC
37262020-07-20 Ludovic Courtès <ludo@gnu.org>
3727
3728 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3729 * gdb.guile/types-module.exp: Remove "ERROR:" from
3730 regexps since Guile 3.0 no longer prints that.
3731
68cf161c
LC
37322020-07-20 Ludovic Courtès <ludo@gnu.org>
3733
3734 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3735 error regexp to match on Guile 2.2.
3736
c14b4913
GB
37372020-07-20 Gary Benson <gbenson@redhat.com>
3738
3739 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3740 with clang.
3741
b243ba58
TV
37422020-07-20 Tom de Vries <tdevries@suse.de>
3743
3744 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3745 (omp_set_lock_in_order): New function.
3746 (single_scope, multi_scope, nested_func, nested_parallel): Use
3747 omp_set_lock_in_order and omp_unset_lock.
3748 (main): Init and destroy lock and lock2.
3749
c06ad8b5
TV
37502020-07-20 Tom de Vries <tdevries@suse.de>
3751
3752 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3753
6e22f117
TV
37542020-07-20 Tom de Vries <tdevries@suse.de>
3755
3756 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3757
33176ea7
TV
37582020-07-17 Tom de Vries <tdevries@suse.de>
3759
3760 * gdb.base/valgrind-infcall-2.c: New test.
3761 * gdb.base/valgrind-infcall-2.exp: New file.
3762 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3763
90c3ec2d
TV
37642020-07-17 Tom de Vries <tdevries@suse.de>
3765
3766 * gdb.dlang/circular.c (found): Use found_label as label name.
3767 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3768 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3769 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3770 * gdb.dwarf2/ada-linkage-name.exp: Same.
3771 * gdb.dwarf2/arr-subrange.exp: Same.
3772 * gdb.dwarf2/atomic-type.exp: Same.
3773 * gdb.dwarf2/comp-unit-lang.exp: Same.
3774 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3775 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3776 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3777 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3778 * gdb.dwarf2/implptr-64bit.exp: Same.
3779 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3780 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3781 * gdb.dwarf2/imported-unit.exp: Same.
3782 * gdb.dwarf2/main-subprogram.exp: Same.
3783 * gdb.dwarf2/missing-type-name.exp: Same.
3784 * gdb.dwarf2/nonvar-access.exp: Same.
3785 * gdb.dwarf2/struct-with-sig.exp: Same.
3786 * gdb.dwarf2/typedef-void-finish.exp: Same.
3787 * gdb.dwarf2/void-type.exp: Same.
3788
10da644d
TV
37892020-07-17 Tom de Vries <tdevries@suse.de>
3790
3791 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3792 src parameter.
3793 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3794 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3795 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3796 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3797 * gdb.dwarf2/dwz.exp: Same.
3798 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3799 * gdb.dwarf2/implref-array.exp: Same.
3800 * gdb.dwarf2/implref-const.exp: Same.
3801 * gdb.dwarf2/implref-global.exp: Same.
3802 * gdb.dwarf2/implref-struct.exp: Same.
3803 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3804 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3805 * gdb.dwarf2/var-access.exp: Same.
3806 * gdb.dwarf2/varval.exp: Same.
3807 * gdb.trace/entry-values.exp: Same.
3808
315e6afc
TV
38092020-07-17 Tom de Vries <tdevries@suse.de>
3810
3811 * lib/dwarf.exp (Dwarf::extern): Remove.
3812 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3813 * gdb.dlang/circular.exp: Same.
3814 * gdb.dwarf2/comp-unit-lang.exp: Same.
3815 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3816 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3817 * gdb.dwarf2/dwz.exp: Same.
3818 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3819 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3820 * gdb.dwarf2/imported-unit.exp: Same.
3821 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3822
5597c940
SL
38232020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3824
3825 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3826 Use double quotes instead of single quotes.
3827
d0ce17d8
CT
38282020-07-16 Caroline Tice <cmtice@google.com>
3829
3830 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3831 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3832
853772cc
TV
38332020-07-16 Tom de Vries <tdevries@suse.de>
3834
3835 * lib/dwarf.exp (program): Initialize _line.
3836 (DW_LNE_end_sequence): Reinitialize _line.
3837 (DW_LNS_advance_line): Update _line.
3838 (line): New proc.
3839 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3840 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3841 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3842 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3843 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3844 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3845
fe07b572
AB
38462020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3847
3848 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3849 generic.
3850
52781cce
TV
38512020-07-15 Tom de Vries <tdevries@suse.de>
3852
3853 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3854 is_amd64_regs_target.
3855
3dcc261c
AB
38562020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3857
3858 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3859 * gdb.fortran/ptype-on-functions.f90: Likewise.
3860
054a0959
SM
38612020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3862
3863 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3864 values in documentation for addr_size to 4 and 8.
3865
ccb9eba6
AB
38662020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3867
3868 * gdb.arch/amd64-osabi.exp: Update.
3869 * gdb.arch/arm-disassembler-options.exp: Update.
3870 * gdb.arch/powerpc-disassembler-options.exp: Update.
3871 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3872 * gdb.arch/s390-disassembler-options.exp: Update.
3873 * gdb.base/all-architectures.exp.tcl: Update.
3874 * gdb.base/attach-pie-noexec.exp: Update.
3875 * gdb.base/catch-syscall.exp: Update.
3876 * gdb.xml/tdesc-arch.exp: Update.
3877
025a39a7
TV
38782020-07-14 Tom de Vries <tdevries@suse.de>
3879
3880 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3881 (local_gettid): ... this.
3882 (fn): Update.
3883
74e4b667
SL
38842020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3885
3886 * gdb.base/info_sources.exp: Skip directory match tests on
3887 remote hosts.
3888
f413dd74
GB
38892020-07-13 Gary Benson <gbenson@redhat.com>
3890
3891 * gdb.base/savedregs.exp (caller): Use parentheses to
3892 make expected expression evaluation ordering explicit.
3893
915771bb
GB
38942020-07-13 Gary Benson <gbenson@redhat.com>
3895
3896 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3897
2a122642
GB
38982020-07-13 Gary Benson <gbenson@redhat.com>
3899
3900 * gdb.base/bigcore.c (main): Use a volatile pointer when
3901 attempting to trigger a SIGSEGV.
3902 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3903 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3904 * gdb.base/savedregs.c (thrower): Likewise.
3905 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3906
3f00c730
GB
39072020-07-13 Gary Benson <gbenson@redhat.com>
3908
3909 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3910 defining and using VLA structure fields into...
3911 * gdb.base/vla-struct-fields.c: New file.
3912 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3913 tests into...
3914 * gdb.base/vla-struct-fields.exp: New file.
3915
963eeee4
TV
39162020-07-13 Tom de Vries <tdevries@suse.de>
3917
3918 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3919 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3920 * gdb.base/gold-gdb-index.exp: Same.
3921 * gdb.base/morestack.exp: Same.
3922
0ed35c9a
DX
39232020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3924
3925 PR rust/26121
3926 * gdb.rust/modules.rs: Prevent linker from discarding test
3927 symbol.
3928
4fdba23d
PA
39292020-07-10 Pedro Alves <pedro@palves.net>
3930
3931 PR gdb/26199
3932 * gdb.multi/multi-target.c (exit_thread): New.
3933 (thread_start): Break loop if EXIT_THREAD.
3934 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3935 (top level) Call test_no_resumed.
3936
15f3b077
TT
39372020-07-08 Tom Tromey <tromey@adacore.com>
3938
3939 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3940 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3941
9fc501fd
AB
39422020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3943
3944 PR python/22748
3945 * gdb.opt/inline-frame-tailcall.c: New file.
3946 * gdb.opt/inline-frame-tailcall.exp: New file.
3947 * gdb.python/py-unwind-inline.c: New file.
3948 * gdb.python/py-unwind-inline.exp: New file.
3949 * gdb.python/py-unwind-inline.py: New file.
3950
64cb3757
AB
39512020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3952
3953 * gdb.python/py-arch-reg-groups.exp: New file.
3954
0f767f94
AB
39552020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3956
3957 * gdb.python/py-arch-reg-names.exp: New file.
3958
87dbc774
AB
39592020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3960
3961 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3962 gdb.PendingFrame.architecture method.
3963
d8cc8af6
TV
39642020-07-06 Tom de Vries <tdevries@suse.de>
3965
3966 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3967
3c8ea5be
PA
39682020-07-03 Pedro Alves <palves@redhat.com>
3969
3970 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3971 explicitly write negative numbers.
3972 * gdb.base/structs2.exp: Adjust expected output.
3973
bf90c83a
PA
39742020-07-03 Pedro Alves <palves@redhat.com>
3975
3976 * gdb.base/charset.c (init_string): Change all char parameters to
3977 unsigned char parameters.
3978
2eb82157
PA
39792020-07-03 Pedro Alves <palves@redhat.com>
3980
3981 * gdb.base/call-sc.exp (start_scalars_test): Use
3982 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3983 * gdb.base/overlays.c: Remove references to PARAMS.
3984 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3985 * gdb.base/reread.exp: Don't set 'prototypes' global.
3986 * gdb.base/structs.exp (start_structs_test): Use
3987 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3988 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3989 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3990 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3991 call.
3992 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3993
9adda7af
PA
39942020-07-03 Pedro Alves <palves@redhat.com>
3995
3996 * gdb.base/m32rovly.c: Delete.
3997 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3998
2a17c803
PW
39992020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4000
4001 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
4002 of gdb_py_test_multiple.
4003 * gdb.python/py-cmd.exp: Likewise.
4004 * gdb.python/py-events.exp: Likewise.
4005 * gdb.python/py-function.exp: Likewise.
4006 * gdb.python/py-inferior.exp: Likewise.
4007 * gdb.python/py-infthread.exp: Likewise.
4008 * gdb.python/py-linetable.exp: Likewise.
4009 * gdb.python/py-parameter.exp: Likewise.
4010 * gdb.python/py-value.exp: Likewise.
4011
b011fe1a
TV
40122020-06-30 Tom de Vries <tdevries@suse.de>
4013
4014 PR testsuite/26175
4015 * lib/future.exp (gdb_default_target_compile): Detect and handle
4016 early_flags.
4017
df5b8876
SM
40182020-06-29 Simon Marchi <simon.marchi@efficios.com>
4019
4020 * boards/simavr.exp (gdb_load): Catch errors when closing
4021 previous connection. Close connection, wait for process and
4022 unset simavr_spawn_id on failure.
4023
a3ca48cd
TV
40242020-06-29 Tom de Vries <tdevries@suse.de>
4025
4026 * lib/gdb.exp (unknown): Make test-case unresolved.
4027
b0237c0e
TV
40282020-06-29 Tom de Vries <tdevries@suse.de>
4029
4030 PR gdb/25475
4031 * gdb.server/solib-list.exp: Verify that the symbol reload
4032 confirmation question is asked.
4033
c0b3b3bd
PW
40342020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4035
4036 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
4037 have a input seq nr in each pass message.
fe4c3d43 4038 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
4039 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
4040 * gdb.python/python.exp: Make test names unique,
4041 use gdb_test_multiline instead of gdb_py_test_multiple,
4042 use $gdb_test_name.
4043 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
4044
1776e3e5
NA
40452020-06-26 Nick Alcock <nick.alcock@oracle.com>
4046
4047 * configure.ac: Add --enable-libctf.
4048 * aclocal.m4: sinclude ../config/enable.m4.
4049 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4050 * lib/gdb.exp (skip_ctf_tests): Use it.
4051 * gdb.base/ctf-constvars.exp: Error message tweak.
4052 * gdb.base/ctf-ptype.exp: Likewise.
4053 * configure: Regenerate.
4054
f53b3eeb
GB
40552020-06-26 Gary Benson <gbenson@redhat.com>
4056
4057 * gdb.cp/try_catch.cc: Include string.h.
4058 (main): Replace comparison against string literal with
4059 strcmp, avoiding build failure with -Wstring-compare.
4060 Add "marker test-complete".
4061 * gdb.cp/try_catch.exp: Run the test to the above marker,
4062 then verify that the value of "test" is still true.
4063
6d74da72
AB
40642020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4065
4066 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4067
2e52d038
AB
40682020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4069
4070 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4071
3b9fce96
AB
40722020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4073
4074 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4075 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4076 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4077 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4078 * gdb.arch/riscv-tdesc-loading.exp: New file.
4079
ed69cbc8
AB
40802020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4081
4082 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4083
767a879e
AB
40842020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4085
4086 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4087 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4088 * gdb.arch/riscv-tdesc-regs.c: New file.
4089 * gdb.arch/riscv-tdesc-regs.exp: New file.
4090
221db974
PA
40912020-06-24 Pedro Alves <palves@redhat.com>
4092
4093 * gdb.arch/amd64-entry-value-paramref.exp: Use
4094 prepare_for_testing_full and don't pass "c++" for the .S file
4095 build spec.
4096 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4097 $options, since it's an assembly file. Remove -Wno-deprecated.
4098 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4099 compiling C++ programs.
4100
331733cd
PA
41012020-06-24 Pedro Alves <palves@redhat.com>
4102
4103 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4104 Clang, add "-Wno-unknown-warning-option" to the options.
4105
caa7fd04
AB
41062020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4107
4108 * gdb.xml/tdesc-reload.c: New file.
4109 * gdb.xml/tdesc-reload.exp: New file.
4110 * gdb.xml/maint-xml-dump-01.xml: New file.
4111 * gdb.xml/maint-xml-dump-02.xml: New file.
4112 * gdb.xml/maint-xml-dump.exp: New file.
4113
bb8d1260
SL
41142020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4115
4116 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4117 Adjust for omitted commands when TUI is disabled.
4118
7e4b9c4c
GB
41192020-06-23 Gary Benson <gbenson@redhat.com>
4120 Pedro Alves <palves@redhat.com>
4121
4122 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4123 * gdb.cp/nsimport.cc: Likewise.
4124 * gdb.cp/nsnested.cc: Likewise.
4125 * gdb.cp/nsnoimports.cc: Likewise.
4126 * gdb.cp/nsusing.cc: Likewise.
4127 * gdb.cp/smartp.cc: Likewise.
4128 * gdb.python/py-pp-integral.c: Likewise.
4129 * gdb.python/py-pp-re-notag.c: Likewise.
4130
2e573c0a
GB
41312020-06-23 Gary Benson <gbenson@redhat.com>
4132
4133 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4134 * gdb.cp/nsimport.cc: Likewise.
4135 * gdb.cp/nsnested.cc: Likewise.
4136 * gdb.cp/nsnoimports.cc: Likewise.
4137 * gdb.cp/nsusing.cc: Likewise.
4138 * gdb.cp/smartp.cc: Likewise.
4139 * gdb.python/py-pp-integral.c: Likewise.
4140 * gdb.python/py-pp-re-notag.c: Likewise.
4141
746ebfe8
PW
41422020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4143
4144 * gdb.base/default-args.exp: New test.
4145 * gdb.base/default-args.c: New file.
4146 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4147 * gdb.base/default.exp: Update to new help text.
4148 * gdb.base/help.exp: Likewise.
4149 * gdb.base/page.exp: Likewise.
4150 * gdb.base/style.exp: Likewise.
4151 * gdb.guile/guile.exp: Likewise.
4152 * gdb.python/python.exp: Likewise.
4153
e822f2cd
SL
41542020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4155
4156 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4157 remote host. Fix search path syntax on Windows host.
4158
48e9cc84
PW
41592020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4160
4161 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4162 over 'exec-file-mismatch'.
4163 * gdb.base/attach.c: Mark should_exit volatile.
4164 * gdb.base/attach2.c: Likewise. Add a comment explaining
4165 why the sleep cannot be big.
4166 * gdb.base/attach3.c: New file.
4167
160f8a8f
SL
41682020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4169
4170 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4171 prefix optional.
4172
4d91c2a4
SL
41732020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4174
4175 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4176 for remote host.
4177
87f83f20
SL
41782020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4179 Hafiz Abid Qadeer <abidh@codesourcery.com>
4180
4181 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4182 file sent to remote host.
4183 (top level): Allow int32_t as type of 32-bit register.
4184
37ab8655
TV
41852020-06-19 Tom de Vries <tdevries@suse.de>
4186
4187 * lib/gdb.exp (gdb_note): New proc.
4188 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4189 (gdb_default_target_compile): ... here. Only call
4190 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4191 (use_gdb_compile): Change to array.
4192 (toplevel): Update sets of use_gdb_compile to specify language.
4193 Warn about default_target_compile override. Store dejagnu's version
4194 of default_target_compile in dejagnu_default_target_compile.
4195
a8a56685
TV
41962020-06-18 Tom de Vries <tdevries@suse.de>
4197
4198 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4199 (default_gdb_init): ... here.
4200
581bea2c
SL
42012020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4202
4203 Fix TUI support checks in gdb.tui tests.
4204
4205 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4206 just say UNSUPPORTED.
4207 * gdb.tui/corefile-run.exp: Likewise.
4208 * gdb.tui/empty.exp: Likewise.
4209 * gdb.tui/list-before.exp: Likewise.
4210 * gdb.tui/list.exp: Likewise.
4211 * gdb.tui/main.exp: Likewise.
4212 * gdb.tui/regs.exp: Likewise.
4213 * gdb.tui/resize.exp: Likewise.
4214 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4215 * gdb.tui/tui-layout-asm.exp: Likewise.
4216 * gdb.tui/tui-missing-src.exp: Likewise.
4217 * gdb.tui/winheight.exp: Likewise.
4218 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4219
05e682e3
SL
42202020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4221
4222 Fix TCL error in gdb.python/py-format-string.exp.
4223
4224 * gdb.python/py-format-string.exp: Move test for python support
4225 earlier, out of function body.
4226
efb763a5
SM
42272020-06-15 Simon Marchi <simon.marchi@efficios.com>
4228
4229 * gdb.base/index-cache-load-twice.c: New.
4230 * gdb.base/index-cache-load-twice.exp: New.
4231
43327b20
KS
42322020-06-17 Keith Seitz <keiths@redhat.com>
4233
99cf27cf 4234 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
4235 when executing "gdb --configuration".
4236
081e778c
TV
42372020-06-17 Tom de Vries <tdevries@suse.de>
4238
4239 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4240 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4241 conditional on presence of gdb_tcl_unknown.
4242 (gdb_finish): Make override undo conditional on presence of
4243 gdb_tcl_unknown.
4244
d2d1ea20
TT
42452020-06-16 Tom Tromey <tom@tromey.com>
4246
4247 * gdb.python/tui-window.py (failwin): New function. Register it
4248 as a TUI window type.
4249 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4250
c802e8a7
GB
42512020-06-16 Gary Benson <gbenson@redhat.com>
4252
4253 * gdb.python/py-nested-maps.c (create_map): Add missing return
4254 value.
4255 (create_map_map): Likewise.
4256
ff08abb8
TBA
42572020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4258
4259 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4260 variable.
4261 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4262 and use the already-defined 'options' variable.
4263
a29d5112
AB
42642020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4265 Tom de Vries <tdevries@suse.de>
4266
4267 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4268 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4269 (gdb_setup_known_globals): New proc.
4270 (gdb_cleanup_globals): New proc.
4271 * lib/gdb.exp (load_lib): New override proc.
4272 (gdb_stdin_log_init): Set var in_file as persistent global.
4273 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4274 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4275 fpc_compiler as persistent global.
4276
8c74a764
TV
42772020-06-12 Tom de Vries <tdevries@suse.de>
4278
4279 * lib/tuiterm.exp (spawn): Rename to ...
4280 (tui_spawn): ... this.
4281 (toplevel): Move rename of spawn ...
4282 (gdb_init_tuiterm): ... here. New proc.
4283 (gdb_finish_tuiterm): New proc.
4284 * lib/gdb.exp (gdb_finish_hooks): New global var.
4285 (gdb_finish): Handle gdb_finish_hooks.
4286 (tuiterm_env): New proc.
4287 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4288 tuiterm_env.
4289 * gdb.tui/basic.exp: Same.
4290 * gdb.tui/corefile-run.exp: Same.
4291 * gdb.tui/empty.exp: Same.
4292 * gdb.tui/list-before.exp: Same.
4293 * gdb.tui/list.exp: Same.
4294 * gdb.tui/main.exp: Same.
4295 * gdb.tui/new-layout.exp: Same.
4296 * gdb.tui/regs.exp: Same.
4297 * gdb.tui/resize.exp: Same.
4298 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4299 * gdb.tui/tui-layout-asm.exp: Same.
4300 * gdb.tui/tui-missing-src.exp: Same.
4301 * gdb.tui/winheight.exp: Same.
4302
26783bce
TV
43032020-06-12 Tom de Vries <tdevries@suse.de>
4304
4305 PR testsuite/26110
4306 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4307 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4308
2b4e6a3f
TT
43092020-06-11 Tom Tromey <tom@tromey.com>
4310
4311 PR gdb/18318:
4312 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4313 floating point tests.
4314
2f33032a
KS
43152020-06-11 Keith Seitz <keiths@redhat.com>
4316
4317 PR gdb/21356
4318 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4319 vla_struct.
4320 Add new struct vla_typedef and union vla_typedef_union and
4321 corresponding instantiation objects.
4322 Initialize new objects.
4323 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4324 and vla_typedef_union_object.
4325 Fixup type for vla_struct_object.
4326
a8baf0a3
TV
43272020-06-11 Tom de Vries <tdevries@suse.de>
4328
4329 * lib/gdb.exp (with_override): New proc, factored out of ...
4330 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4331
7ab96794
TV
43322020-06-10 Tom de Vries <tdevries@suse.de>
4333
4334 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4335
cab5c3b7
SM
43362020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4337
4338 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4339 parameter, update callers.
4340
f8c41851
SM
43412020-06-04 Simon Marchi <simon.marchi@efficios.com>
4342
4343 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4344 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4345 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4346
1c07a73f
TV
43472020-06-04 Tom de Vries <tdevries@suse.de>
4348
4349 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4350
95146b5d
TV
43512020-06-04 Tom de Vries <tdevries@suse.de>
4352
4353 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4354 exp_continue.
4355
0cfcd4f0
TV
43562020-06-04 Tom de Vries <tdevries@suse.de>
4357
4358 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4359
f9b5d5ea
TV
43602020-06-03 Tom de Vries <tdevries@suse.de>
4361
4362 PR symtab/26046
4363 * gdb.cp/breakpoint-locs-2.cc: New test.
4364 * gdb.cp/breakpoint-locs.cc: New test.
4365 * gdb.cp/breakpoint-locs.exp: New file.
4366 * gdb.cp/breakpoint-locs.h: New test.
4367
5144dfba
TV
43682020-06-03 Tom de Vries <tdevries@suse.de>
4369
4370 PR testsuite/25609
4371 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4372 value of global verbose.
4373 * gdb.base/jit-elf.exp: Same.
4374 * gdb.base/jit-reader.exp: Same.
4375
621eacdf
TV
43762020-06-02 Tom de Vries <tdevries@suse.de>
4377
4378 * gdb.dwarf2/multidictionary.exp: Don't use
4379 gdb_spawn_with_cmdline_opts.
4380
1313c56e
AB
43812020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4382
4383 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4384 use_header case.
4385 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4386 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4387 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4388 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4389 * gdb.dwarf2/dw2-inline-header.c: New file.
4390 * gdb.dwarf2/dw2-inline-header.h: New file.
4391
f68f85b5
PA
43922020-05-30 Pedro Alves <palves@redhat.com>
4393
4394 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4395 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4396
678048e8
GB
43972020-05-29 Gary Benson <gbenson@redhat.com>
4398
4399 * gdb.compile/compile-cplus.exp (additional_flags): Also
4400 set when building with clang.
4401 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4402 when building with clang.
4403
9fcafd23
GB
44042020-05-29 Gary Benson <gbenson@redhat.com>
4405
4406 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4407 building with clang.
4408 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4409
735d5a07
GB
44102020-05-29 Gary Benson <gbenson@redhat.com>
4411
4412 * gdb.cp/koenig.exp (prepare_for_testing): Add
4413 additional_flags=-Wno-unused-comparison.
4414 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4415
4ad2c6a0
GB
44162020-05-28 Gary Benson <gbenson@redhat.com>
4417
4418 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4419 statement.
4420
09fe663e
GB
44212020-05-28 Gary Benson <gbenson@redhat.com>
4422
4423 * gdb.cp/classes.exp (prepare_for_testing): Add
4424 additional_flags=-Wno-deprecated-register.
4425 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4426 * gdb.cp/misc.exp: Likewise.
4427
cee00f17
GB
44282020-05-28 Gary Benson <gbenson@redhat.com>
4429
4430 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4431 (test_op_new::operator new): Add return statement.
4432 (test_op_new_array::operator new[]): Likewise.
4433
636edd00
PA
44342020-05-27 Pedro Alves <palves@redhat.com>
4435
4436 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4437 check. Use test_gdb_complete_unique instead of
4438 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4439 test_gdb_complete_multiple instead of
4440 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4441
c2b75043
LM
44422020-05-27 Luis Machado <luis.machado@linaro.org>
4443
4444 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4445 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4446 * gdb.arch/arm-disassembler-options.exp: Likewise.
4447 * gdb.arch/arm-disp-step.exp: Likewise.
4448 * gdb.arch/thumb-prologue.exp: Likewise.
4449 * gdb.base/async.exp: Likewise.
4450 * gdb.base/auxv.exp: Likewise.
4451 * gdb.base/complex-parts.exp: Likewise.
4452 * gdb.base/ena-dis-br.exp: Likewise.
4453 * gdb.base/foll-exec.exp: Likewise.
4454 * gdb.base/permissions.exp: Likewise.
4455 * gdb.base/relocate.exp: Likewise.
4456 * gdb.base/return2.exp: Likewise.
4457 * gdb.base/sigbpt.exp: Likewise.
4458 * gdb.base/siginfo-obj.exp: Likewise.
4459 * gdb.cp/converts.exp: Likewise.
4460 * gdb.cp/exceptprint.exp: Likewise.
4461 * gdb.cp/inherit.exp: Likewise.
4462 * gdb.cp/nsnoimports.exp: Likewise.
4463 * gdb.cp/virtbase2.exp: Likewise.
4464 * gdb.mi/mi-var-cmd.exp: Likewise.
4465 * gdb.mi/var-cmd.c: Likewise.
4466
53a47a3e
TT
44672020-05-26 Tom Tromey <tromey@adacore.com>
4468
4469 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4470
0bc2354b
TT
44712020-05-26 Tom Tromey <tromey@adacore.com>
4472
4473 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4474 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4475 type.
4476 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4477 variable.
4478
0db49895
CBG
44792020-05-26 Christian Biesinger <cbiesinger@google.com>
4480
4481 * Makefile.in: Use = instead of == for the test command
4482 for portability.
4483
40d22035
TV
44842020-05-26 Tom de Vries <tdevries@suse.de>
4485
4486 * gdb.base/gold-gdb-index-2.c: New test.
4487 * gdb.base/gold-gdb-index.c: New test.
4488 * gdb.base/gold-gdb-index.exp: New file.
4489 * gdb.base/gold-gdb-index.h: New test.
4490
043e2e02
TV
44912020-05-25 Tom de Vries <tdevries@suse.de>
4492
4493 * boards/gold-gdb-index.exp: New file.
4494
462f72c5
SM
44952020-05-25 Simon Marchi <simon.marchi@efficios.com>
4496
4497 * boards/simavr.exp: New file.
4498
6cf66e76
SM
44992020-05-25 Simon Marchi <simon.marchi@efficios.com>
4500
4501 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4502 * gdb.base/inferior-args.exp: New file.
4503 * gdb.base/inferior-args.c: New file.
4504
75d04512
SM
45052020-05-25 Simon Marchi <simon.marchi@efficios.com>
4506
4507 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4508 inferior_args. Pass it to gdb_reload.
4509 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4510 inferior_args.
4511 (gdb_reload): Add inferior_args argument.
4512 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4513 pass it to gdbserver_run.
4514 * boards/native-gdbserver.exp: Do not set noargs.
4515 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4516 inferior_args argument.
4517 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4518 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4519 * gdb.base/args.exp: Likewise.
4520
42cf1844
TV
45212020-05-25 Tom de Vries <tdevries@suse.de>
4522
4523 * lib/gdb.exp (exec_is_pie): Add comment.
4524
8f7d38ef
TV
45252020-05-25 Tom de Vries <tdevries@suse.de>
4526
4527 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4528 instead of $binfile in the untested message.
4529
465e1b0f
TV
45302020-05-25 Tom de Vries <tdevries@suse.de>
4531
4532 PR testsuite/26031
4533 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4534
3c5a0e02
TV
45352020-05-25 Tom de Vries <tdevries@suse.de>
4536
4537 * boards/gold.exp: New file.
4538
0a4f5f8c
TT
45392020-05-23 Tom Tromey <tom@tromey.com>
4540
4541 * gdb.base/style.exp: Remove completion styling test.
4542 * lib/gdb-utils.exp (style): Remove completion styles.
4543
eca1f90c
TT
45442020-05-23 Tom Tromey <tom@tromey.com>
4545
4546 * gdb.base/style.exp: Add completion styling test.
4547 * lib/gdb-utils.exp (style): Add completion styles.
4548
7c13f4e8
AB
45492020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4550
4551 * gdb.base/annota1.exp: Update expected results.
4552 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4553 test name.
4554 * gdb.cp/annota3.exp: Update expected results.
4555
41977d16
SM
45562020-05-20 Simon Marchi <simon.marchi@efficios.com>
4557
4558 PR gdb/26016
4559 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4560 against MAP_FAILED.
4561 * gdb.base/coremaker.c (mmapdata): Likewise.
4562 * gdb.base/jit-reader-host.c (main): Likewise.
4563 * gdb.base/sym-file-loader.c (load): Likewise.
4564 (load_shlib): Likewise.
4565
b4757f2e
TT
45662020-05-20 Tom Tromey <tromey@adacore.com>
4567
4568 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4569
9a0bacfb
TV
45702020-05-20 Tom de Vries <tdevries@suse.de>
4571
4572 PR symtab/25833
4573 * gdb.base/with-mf-inc.c: New test.
4574 * gdb.base/with-mf-main.c: New test.
4575 * gdb.base/with-mf.exp: New file.
4576
76571211
TT
45772020-05-19 Tom Tromey <tromey@adacore.com>
4578
4579 * gdb.rust/simple.exp: Restore missing test result.
4580
4cd9f3d5
TV
45812020-05-19 Tom de Vries <tdevries@suse.de>
4582
4583 * gdb.base/gdb-caching-proc.exp: Fix typo.
4584
7d874253
TT
45852020-05-19 Tom Tromey <tromey@adacore.com>
4586
4587 * gdb.rust/simple.exp: Add some test descriptions.
4588 (test_one_slice): Use with_test_prefix.
4589
1d727695
TV
45902020-05-18 Tom de Vries <tdevries@suse.de>
4591
4592 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4593
7f32a4d5
PA
45942020-05-17 Pedro Alves <palves@redhat.com>
4595
4596 PR gdb/25741
4597 * gdb.base/hw-sw-break-same-address.exp: New file.
4598
7cfd74cf
PA
45992020-05-16 Pedro Alves <palves@redhat.com>
4600
4601 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4602 LAST_LOADED_FILE accordingly.
4603
57b4f16e
PW
46042020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4605
4606 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4607
7c05caf7
PW
46082020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4609
4610 * gdb.base/help.exp: Test apropos and help for commands
4611 having aliases. Fixed comments not starting with an
4612 upper-case letter or not finishing with a dot.
4613
7aa1b46f
PW
46142020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4615
3b3aaacb
PW
4616 * gdb.base/alias.exp: Update help output check.
4617
57b4f16e 46182020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4619
7aa1b46f
PW
4620 * gdb.base/default.exp: Update output following fixes.
4621
0605465f
PW
46222020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4623
4624 * gdb.base/alias.exp: Test aliases starting with a prefix of
4625 another alias.
4626
86e4e63d
GB
46272020-05-15 Gary Benson <gbenson@redhat.com>
4628
4629 * gdb.base/info-os.c (main): Add return statement.
4630 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4631 * gdb.base/large-frame-2.c (func): Likewise.
4632 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4633 * gdb.base/pr10179-b.c (foo2): Likewise.
4634 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4635 * gdb.base/watch-cond.c (func): Likewise.
4636 * gdb.multi/goodbye.c (verylongfun): Likewise.
4637 * gdb.multi/hello.c (commonfun): Likewise.
4638 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4639 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4640 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4641 Likewise.
4642 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4643 * gdb.threads/interrupt-while-step-over.c (child_function):
4644 Likewise.
4645 * gdb.trace/actions-changed.c (end): Likewise.
4646
163df4df
GB
46472020-05-15 Gary Benson <gbenson@redhat.com>
4648
4649 * gdb.opencl/callfuncs.exp: Report when test skipped.
4650 * gdb.opencl/convs_casts.exp: Likewise.
4651 * gdb.opencl/datatypes.exp: Likewise.
4652 * gdb.opencl/operators.exp: Likewise.
4653 * gdb.opencl/vec_comps.exp: Likewise.
4654
6dbc505a
TV
46552020-05-15 Tom de Vries <tdevries@suse.de>
4656
4657 * gdb.base/align.exp.in: Rename to ...
4658 * gdb.base/align.exp.tcl: ... this.
4659 * gdb.base/align-c++.exp: Update.
4660 * gdb.base/align-c.exp: Update.
4661 * gdb.base/all-architectures.exp.in: Rename to ...
4662 * gdb.base/all-architectures.exp: ... this.
4663 * gdb.base/all-architectures-0.exp: Update.
4664 * gdb.base/all-architectures-1.exp: Update.
4665 * gdb.base/all-architectures-2.exp: Update.
4666 * gdb.base/all-architectures-3.exp: Update.
4667 * gdb.base/all-architectures-4.exp: Update.
4668 * gdb.base/all-architectures-5.exp: Update.
4669 * gdb.base/all-architectures-6.exp: Update.
4670 * gdb.base/all-architectures-7.exp: Update.
4671 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4672 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4673 * gdb.base/infcall-nested-structs-c++.exp: Update.
4674 * gdb.base/infcall-nested-structs-c.exp: Update.
4675 * gdb.base/info-types.exp.in: Rename to ...
4676 * gdb.base/info-types.exp.tcl: ... this.
4677 * gdb.base/info-types-c++.exp: Update.
4678 * gdb.base/info-types-c.exp: Update.
4679 * gdb.base/max-depth.exp.in: Rename to ...
4680 * gdb.base/max-depth.exp.tcl: ... this.
4681 * gdb.base/max-depth-c++.exp: Update.
4682 * gdb.base/max-depth-c.exp: Update.
4683 * gdb.cp/cpexprs.exp.in: Rename to ...
4684 * gdb.cp/cpexprs.exp.tcl: ... this.
4685 * gdb.cp/cpexprs-debug-types.exp: Update.
4686 * gdb.cp/cpexprs.exp: Update.
4687 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4688 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4689 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4690 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4691 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4692 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4693 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4694 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4695 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4696 * gdb.dwarf2/clang-debug-names.exp: Update.
4697
d1034d78
AB
46982020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4699
4700 * lib/check-test-names.exp: Remove code that prevents this file
4701 loading when tests are run in parallel.
4702
3c5c3649
PA
47032020-05-15 Pedro Alves <palves@redhat.com>
4704
4705 * gdb.multi/multi-kill.exp (start_inferior): Remove
4706 'testpid' parameter. Refer to namespace variable directly.
4707 (testpid): Declare as namespace variable.
4708
272c36b8
PA
47092020-05-15 Pedro Alves <palves@redhat.com>
4710
4711 * gdb.multi/multi-kill.exp: Wrap in namespace.
4712 (start_inferior): Add TESTPID parameter. Use it instead of the
4713 testpid global.
4714 (top level): Define empty TESTPID array, and pass it down to
4715 start_inferior.
4716
02eba61a
TV
47172020-05-14 Tom de Vries <tdevries@suse.de>
4718
4719 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4720 output.
4721
971a3747
TV
47222020-05-14 Tom de Vries <tdevries@suse.de>
4723
4724 * gdb.base/align.exp: Split into ...
4725 * gdb.base/align.exp.in: ...
4726 * gdb.base/align-c++.exp: ...
4727 * gdb.base/align-c.exp: ... these.
4728 * gdb.base/infcall-nested-structs.exp: Split into ...
4729 * gdb.base/infcall-nested-structs.exp.in: ...
4730 * gdb.base/infcall-nested-structs-c++.exp: ...
4731 * gdb.base/infcall-nested-structs-c.exp: ... these.
4732 * gdb.base/info-types.exp: Split into ...
4733 * gdb.base/info-types.exp.in: ...
4734 * gdb.base/info-types-c++.exp: ...
4735 * gdb.base/info-types-c.exp: ... these.
4736 * gdb.base/max-depth.exp: Split into ...
4737 * gdb.base/max-depth.exp.in: ...
4738 * gdb.base/max-depth-c++.exp: ...
4739 * gdb.base/max-depth-c.exp: ... these.
4740 * gdb.cp/infcall-nodebug.exp: Split into ...
4741 * gdb.cp/infcall-nodebug.exp.in: ...
4742 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4743 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4744 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4745 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4746
a05575d3
TBA
47472020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4748 Pedro Alves <palves@redhat.com>
4749
4750 * gdb.multi/multi-exit.c: New file.
4751 * gdb.multi/multi-exit.exp: New file.
4752 * gdb.multi/multi-kill.c: New file.
4753 * gdb.multi/multi-kill.exp: New file.
4754
6ad82919
TBA
47552020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4756
4757 * gdb.base/annota1.exp: Update the expected output.
4758 * gdb.cp/annota2.exp: Ditto.
4759
843f4d93
AB
47602020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4761
4762 * lib/check-test-names.exp: Disable when testing is being run in
4763 parallel.
4764
c7c66341
TV
47652020-05-12 Tom de Vries <tdevries@suse.de>
4766
4767 * gdb.base/jit-elf.exp: Fix string concat.
4768
1b59ca1c
TV
47692020-05-12 Tom de Vries <tdevries@suse.de>
4770
4771 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4772 messages.
4773
b4991d29
TV
47742020-05-12 Tom de Vries <tdevries@suse.de>
4775
4776 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4777
dbb0ab10
TV
47782020-05-12 Tom de Vries <tdevries@suse.de>
4779
4780 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4781 * gdb.ada/mi_catch_ex.exp: Same.
4782 * gdb.ada/mi_catch_ex_hand.exp: Same.
4783
7549fed8
TV
47842020-05-12 Tom de Vries <tdevries@suse.de>
4785
4786 * gdb.fortran/complex.exp: Use with_test_prefix.
4787
af2d5cd8
TV
47882020-05-12 Tom de Vries <tdevries@suse.de>
4789
4790 * gdb.trace/passcount.exp: Fix test-names.
4791
7c121311
TV
47922020-05-12 Tom de Vries <tdevries@suse.de>
4793
4794 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4795
c9f3b40e
TV
47962020-05-12 Tom de Vries <tdevries@suse.de>
4797
4798 * gdb.gdb/complaints.exp: Use with_test_prefix.
4799 * gdb.xml/tdesc-regs.exp: Same.
4800 * gdb.opt/inline-locals.exp: Fix test name.
4801
111b33f0
TV
48022020-05-12 Tom de Vries <tdevries@suse.de>
4803
4804 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4805 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4806 * gdb.dwarf2/implref-struct.exp: Same.
4807 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4808 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4809
ebf47080
SM
48102020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4811
4812 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4813
d30dcd12
AB
48142020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4815
4816 * lib/check-test-names.exp (all_test_names): New module variable.
4817 (counts): Add 'duplicates' field.
4818 (_check_duplicates): New procedure.
4819 (check): Also check for duplicates.
4820 (do_log_summary): Print duplicates count.
4821 (do_reset_vars): Reset counter for duplicate test names, and
4822 discard all know test names.
4823
34584c09
AB
48242020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4825
4826 * lib/gdb.exp: Include check-test-names.exp library.
4827 * lib/check-test-names.exp: New file.
4828
e0002117
TV
48292020-05-11 Tom de Vries <tdevries@suse.de>
4830
4831 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4832
53f539a3
KS
48332020-05-11 Keith Seitz <keiths@redhat.com>
4834
4835 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4836
113ee09a
TV
48372020-05-11 Tom de Vries <tdevries@suse.de>
4838
4839 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4840 * gdb.cp/cpexprs.exp.in: .. here.
4841 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4842 cpexprs.exp.
4843
ba3e70b0
KS
48442020-05-11 Keith Seitz <keiths@redhat.com>
4845
4846 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4847 test names.
4848 * gdb.ada/arrayptr.exp: Likewise.
4849 * gdb.ada/assign_arr.exp: Likewise.
4850 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4851 * gdb.ada/bp_on_var.exp: Likewise.
4852 * gdb.ada/call_pn.exp: Likewise.
4853 * gdb.ada/complete.exp: Likewise.
4854 * gdb.ada/fun_overload_menu.exp: Likewise.
4855 * gdb.ada/funcall_param.exp: Likewise.
4856 * gdb.ada/funcall_ref.exp: Likewise.
4857 * gdb.ada/packed_array_assign.exp: Likewise.
4858 * gdb.ada/same_component_name.exp: Likewise.
4859 * gdb.ada/type_coercion.exp: Likewise.
4860 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4861 * gdb.ada/variant_record_packed_array.exp: Likewise.
4862
3ee6bb11
TV
48632020-05-11 Tom de Vries <tdevries@suse.de>
4864
4865 PR symtab/25941
4866 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4867 out of ...
4868 * gdb.dwarf2/clang-debug-names.exp: ... here.
4869 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4870 clang-debug-names.exp.in.
4871 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4872 * gdb.dwarf2/clang-debug-names-2.c: New test.
4873
86cd6bc8
AKS
48742020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4875
4876 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4877 (fortran_runto_main): New Proc, fortran version of runto_main.
4878 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4879 * gdb.fortran/array-bounds.exp: Likewise.
4880 * gdb.fortran/array-slices.exp: Likewise.
4881 * gdb.fortran/block-data.exp: Likewise.
4882 * gdb.fortran/charset.exp: Likewise.
4883 * gdb.fortran/common-block.exp: Likewise.
4884 * gdb.fortran/complex.exp: Likewise.
4885 * gdb.fortran/derived-type-function.exp: Likewise.
4886 * gdb.fortran/derived-type.exp: Likewise.
4887 * gdb.fortran/info-modules.exp: Likewise.
4888 * gdb.fortran/info-types.exp: Likewise.
4889 * gdb.fortran/intrinsics.exp: Likewise.
4890 * gdb.fortran/library-module.exp: Likewise.
4891 * gdb.fortran/logical.exp: Likewise.
4892 * gdb.fortran/max-depth.exp: Likewise.
4893 * gdb.fortran/module.exp: Likewise.
4894 * gdb.fortran/multi-dim.exp: Likewise.
4895 * gdb.fortran/nested-funcs.exp: Likewise.
4896 * gdb.fortran/print-formatted.exp: Likewise.
4897 * gdb.fortran/print_type.exp: Likewise.
4898 * gdb.fortran/printing-types.exp: Likewise.
4899 * gdb.fortran/ptr-indentation.exp: Likewise.
4900 * gdb.fortran/ptype-on-functions.exp: Likewise.
4901 * gdb.fortran/subarray.exp: Likewise.
4902 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4903 * gdb.fortran/vla-datatypes.exp: Likewise.
4904 * gdb.fortran/vla-history.exp: Likewise.
4905 * gdb.fortran/vla-ptr-info.exp: Likewise.
4906 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4907 * gdb.fortran/vla-ptype.exp: Likewise.
4908 * gdb.fortran/vla-sizeof.exp: Likewise.
4909 * gdb.fortran/vla-type.exp: Likewise.
4910 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4911 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4912 * gdb.fortran/vla-value-sub.exp: Likewise.
4913 * gdb.fortran/vla-value.exp: Likewise.
4914 * gdb.fortran/whatis_type.exp: Likewise.
4915 * gdb.mi/mi-var-child-f.exp: Likewise.
4916
6dc55ce9 49172020-05-09 Tom de Vries <tdevries@suse.de>
4918
4919 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4920
283cb58c
TV
49212020-05-08 Tom de Vries <tdevries@suse.de>
4922
4923 * gdb.dwarf2/clang-debug-names.c: New test.
4924 * gdb.dwarf2/clang-debug-names.exp: New file.
4925
ac4a4f1c
SM
49262020-05-06 Simon Marchi <simon.marchi@efficios.com>
4927
4928 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4929 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4930
24fe640b
TV
49312020-05-06 Tom de Vries <tdevries@suse.de>
4932
4933 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4934 breakpoint is at a "recommended breakpoint location".
4935 * gdb.reverse/consecutive-reverse.exp: Same.
4936
0d8683a3
TV
49372020-05-06 Tom de Vries <tdevries@suse.de>
4938
4939 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4940 address.
4941
b8983c46
TV
49422020-05-06 Tom de Vries <tdevries@suse.de>
4943
4944 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4945
abf6d805
TV
49462020-05-06 Tom de Vries <tdevries@suse.de>
4947
4948 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4949 info for r.
4950
0fc2a808
TV
49512020-05-06 Tom de Vries <tdevries@suse.de>
4952
4953 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4954 necessary.
4955
873dd427
TV
49562020-05-06 Tom de Vries <tdevries@suse.de>
4957
4958 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4959 void.
4960
7c99e7e2
TV
49612020-05-06 Tom de Vries <tdevries@suse.de>
4962
4963 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4964 of ...
4965 * gdb.base/async.exp: ... here.
4966 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4967 "recommended breakpoint location".
4968
6173d6a6
TV
49692020-05-06 Tom de Vries <tdevries@suse.de>
4970
4971 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4972
6015a067
TV
49732020-05-04 Tom de Vries <tdevries@suse.de>
4974
4975 * gdb.base/async.exp: Check whether instruction addresses are a
4976 "recommended breakpoint location".
4977
3b6acaee
TT
49782020-05-03 Tom Tromey <tom@tromey.com>
4979
4980 * gdb.base/sepdebug.exp: Remove "catch" test.
4981 * gdb.base/break.exp: Remove "catch" test.
4982 * gdb.base/default.exp: Update expected output.
4983
5beb4d17
TV
49842020-05-02 Tom de Vries <tdevries@suse.de>
4985
4986 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4987 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4988 * gdb.arch/i386-mpx-map.exp: Same.
4989 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4990 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4991 * gdb.arch/i386-mpx.exp: Same.
4992
8caf140d
TV
49932020-05-02 Tom de Vries <tdevries@suse.de>
4994
4995 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4996
693196cb
TV
49972020-05-01 Tom de Vries <tdevries@suse.de>
4998
4999 * gdb.ada/operator_bp.exp: Allow more than required amount of
5000 breakpoint.
5001
53ae0aa9
TV
50022020-05-01 Tom de Vries <tdevries@suse.de>
5003
5004 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
5005
ee9d1e5f
HD
50062020-04-30 Hannes Domani <ssbssa@yahoo.de>
5007
5008 PR gdb/18706
5009 * gdb.cp/stub-array-size.cc: New test.
5010 * gdb.cp/stub-array-size.exp: New file.
5011 * gdb.cp/stub-array-size.h: New test.
5012 * gdb.cp/stub-array-size2.cc: New test.
5013
d5cf82c0
HD
50142020-04-30 Hannes Domani <ssbssa@yahoo.de>
5015
5016 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
5017 output to the new format.
5018
42e165c3
SM
50192020-04-29 Simon Marchi <simon.marchi@efficios.com>
5020
5021 * gdb.base/break.exp: Use with_test_prefix.
5022
6e4e3fe1
TV
50232020-04-29 Tom de Vries <tdevries@suse.de>
5024
5025 * lib/gdb.exp (debug_types): New proc.
5026 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
5027 * gdb.python/py-symtab.exp: Same.
5028
d642b692
HD
50292020-04-29 Hannes Domani <ssbssa@yahoo.de>
5030
5031 PR gdb/17320
5032 * gdb.base/pretty-array.c: New test.
5033 * gdb.base/pretty-array.exp: New file.
5034
ea90f227
TV
50352020-04-29 Tom de Vries <tdevries@suse.de>
5036
5037 PR symtab/25889
5038 * gdb.cp/cpexprs.exp: Adapt for inclusion.
5039 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
5040 and include cpexprs.exp.
5041
a65189c9
TV
50422020-04-28 Mark Williams <mark@myosotissp.com>
5043
5044 PR gdb/24480
5045 * dw4-toplevel-types.exp: Test for top level types.
5046 * dw4-toplevel-types.cc: Test for top level types.
5047
32d1f47a
TBA
50482020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5049
5050 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5051 (theads -> threads).
5052
56a4f5a1
TV
50532020-04-28 Tom de Vries <tdevries@suse.de>
5054
5055 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5056
0b2f8a3b
TV
50572020-04-28 Tom de Vries <tdevries@suse.de>
5058
5059 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5060
5390c717
TV
50612020-04-28 Tom de Vries <tdevries@suse.de>
5062
5063 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5064
15cd93d0
TV
50652020-04-28 Tom de Vries <tdevries@suse.de>
5066
5067 * gdb.dwarf2/main-foo.c: New test.
5068 * gdb.dwarf2/struct-with-sig.exp: New file.
5069
d472f0fb
TV
50702020-04-25 Tom de Vries <tdevries@suse.de>
5071
5072 * boards/debug-types.exp: New file.
5073
8d840e05
AB
50742020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5075
5076 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5077
bcfe6157
TT
50782020-04-24 Tom Tromey <tom@tromey.com>
5079
5080 PR symtab/12707:
5081 * gdb.python/py-symbol.exp: Update expected results for
5082 linkage_name test.
5083 * gdb.cp/print-demangle.exp: New file.
5084 * gdb.base/c-linkage-name.exp: Fix test.
5085 * gdb.guile/scm-symbol.exp: Update expected results for
5086 linkage_name test.
5087
f049a313
TT
50882020-04-24 Tom Tromey <tom@tromey.com>
5089
5090 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5091 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5092 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5093 assembler.
5094
7cf28874
TV
50952020-04-24 Tom de Vries <tdevries@suse.de>
5096
5097 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5098 C++.
5099
dac2fef7
TT
51002020-04-24 Tom Tromey <tromey@adacore.com>
5101
5102 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5103 values.
5104 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5105 values. Update test for minimal encodings.
5106 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5107 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5108 values. Update test for minimal encodings.
5109
1acda803
TT
51102020-04-24 Tom Tromey <tromey@adacore.com>
5111
5112 PR python/23662:
5113 * gdb.ada/variant.exp: Add Python checks.
5114 * gdb.rust/simple.exp: Add dynamic type checks.
5115
adfb9815
TT
51162020-04-24 Tom Tromey <tromey@adacore.com>
5117
5118 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5119 Make array type matching more lax.
5120 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5121 * gdb.ada/mi_variant.exp: New file.
5122 * gdb.ada/mi_variant/pck.ads: New file.
5123 * gdb.ada/mi_variant/pkg.adb: New file.
5124 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5125 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5126
7d79de9a
TT
51272020-04-24 Tom Tromey <tromey@adacore.com>
5128
5129 * gdb.ada/variant.exp: Add dynamic field offset tests.
5130 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5131 * gdb.ada/variant/pkg.adb: Add new variables.
5132
f8e89861
TT
51332020-04-24 Tom Tromey <tromey@adacore.com>
5134
5135 * gdb.ada/variant.exp: New file
5136 * gdb.ada/variant/pkg.adb: New file
5137 * gdb.ada/variant/pck.adb: New file
5138
86e887ae
TV
51392020-04-24 Tom de Vries <tdevries@suse.de>
5140
5141 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5142
88428775
TV
51432020-04-24 Tom de Vries <tdevries@suse.de>
5144
5145 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5146 flags.
5147
4e86f6e7
TV
51482020-04-24 Tom de Vries <tdevries@suse.de>
5149
5150 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5151
2016d3e6
TV
51522020-04-24 Tom de Vries <tdevries@suse.de>
5153
5154 * lib/gdb.exp (default_gdb_start): Handle eof.
5155 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5156 failure.
5157 * gdb.base/readnever.exp: Handle clean_restart failure.
5158
70bc38f5
TV
51592020-04-23 Tom de Vries <tdevries@suse.de>
5160
5161 * gdb.base/decl-before-def.exp: Run to main and print a again.
5162
de82891c
TV
51632020-04-23 Tom de Vries <tdevries@suse.de>
5164
5165 * gdb.base/decl-before-def-decl.c: New test.
5166 * gdb.base/decl-before-def-def.c: New test.
5167 * gdb.base/decl-before-def.exp: New file.
5168
96038148
TV
51692020-04-23 Tom de Vries <tdevries@suse.de>
5170
5171 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5172
54ac3df1
TV
51732020-04-22 Tom de Vries <tdevries@suse.de>
5174
5175 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5176 debug_info_offset.
5177 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5178 before $objsfile in the line line.
5179
714534e1
TV
51802020-04-22 Tom de Vries <tdevries@suse.de>
5181
5182 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5183
16a7dbf4
MS
51842020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5185
5186 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5187 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5188 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5189 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5190 * gdb.base/jit-protocol.h: Update definitions to match all usage
5191 contexts.
5192
51932020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5194
5195 * gdb.base: Rename all jit related test and source files.
5196
51972020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5198
5199 * gdb.base/jit-reader.exp: Relax register output check.
5200
317d2668
TV
52012020-04-22 Tom de Vries <tdevries@suse.de>
5202
5203 PR symtab/25764
5204 * gdb.base/psym-external-decl-2.c: New test.
5205 * gdb.base/psym-external-decl.c: New test.
5206 * gdb.base/psym-external-decl.exp: New file.
5207 * gdb.threads/tls.exp: Add PR25807 kfail.
5208
eea9e357
TV
52092020-04-22 Tom de Vries <tdevries@suse.de>
5210
5211 PR symtab/25801
5212 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5213 in "info source" output.
5214
3d5afab3
TV
52152020-04-22 Tom de Vries <tdevries@suse.de>
5216
5217 PR symtab/25700
5218 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5219 symtab for imported_unit.c.
5220
b32102f6
GB
52212020-04-21 Gary Benson <gbenson@redhat.com>
5222
5223 * gdb.base/advance.c (func): New argument, to match call site.
5224 (func2, func3): Add return statements.
5225
d43b7a2d
TBA
52262020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5227
5228 * gdb.multi/run-only-second-inf.c: New file.
5229 * gdb.multi/run-only-second-inf.exp: New file.
5230
d89edf9b
MM
52312020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5232
5233 * gdb.btrace/multi-inferior.c: New test.
5234 * gdb.btrace/multi-inferior.exp: New file.
5235
1a476b6d
MM
52362020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5237
5238 * gdb.btrace/enable-new-thread.c: New test.
5239 * gdb.btrace/enable-new-thread.exp: New file.
5240
4778a5f8
TV
52412020-04-21 Tom de Vries <tdevries@suse.de>
5242
5243 PR gdb/25471
5244 * gdb.threads/killed-outside.c: New test.
5245 * gdb.threads/killed-outside.exp: New file.
5246
9b2c992c
GB
52472020-04-20 Gary Benson <gbenson@redhat.com>
5248
5249 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5250 * gdb.base/nested-subp2.exp: Likewise.
5251 * gdb.base/nested-subp3.exp: Likewise.
5252
b5d1d6f7
GB
52532020-04-20 Gary Benson <gbenson@redhat.com>
5254
5255 * gdb.base/nested-subp1.exp: Disable test when using clang.
5256 * gdb.base/nested-subp2.exp: Likewise.
5257 * gdb.base/nested-subp3.exp: Likewise.
5258
25230285
GB
52592020-04-20 Gary Benson <gbenson@redhat.com>
5260
5261 * gdb.cp/exception.cc: Fix compilation error with clang.
5262
fa93cc8f
GB
52632020-04-20 Gary Benson <gbenson@redhat.com>
5264
809730f3 5265 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 5266
e0c45f30
GB
52672020-04-20 Gary Benson <gbenson@redhat.com>
5268
5269 * gdb.base/jit-main.c: Fix compilation error with clang.
5270
4ddfec93
KR
52712020-04-17 Kamil Rytarowski <n54@gmx.com>
5272
5273 * gdb.base/attach-twice.c: Include "sys/types.h".
5274 (PTRACE_ATTACH): Add fallback definition.
5275 (main): Pass `0' to the 4th argument of `ptrace'.
5276
2bed205e
KR
52772020-04-17 Kamil Rytarowski <n54@gmx.com>
5278
5279 * gdb.base/fork-running-state.c: Include "signal.h".
5280
0743fc83
TT
52812020-04-17 Tom Tromey <tromey@adacore.com>
5282
5283 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5284 Update tests.
5285 * gdb.btrace/cpu.exp: Update tests.
5286 * gdb.base/maint.exp: Update tests.
5287 * gdb.base/default.exp: Update tests.
5288 * gdb.base/completion.exp: Update tests.
5289
efba5c23
TV
52902020-04-16 Tom de Vries <tdevries@suse.de>
5291
5292 PR symtab/25791
5293 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5294 (ensure_gdb_index): and factor out and move ...
5295 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5296 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5297
d191d716
TV
52982020-04-16 Tom de Vries <tdevries@suse.de>
5299
5300 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5301 loading exec.
5302
99f1bc6a
AB
53032020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5304
5305 * gdb.base/many-completions.exp: New file.
5306
194d088f
TV
53072020-04-14 Tom de Vries <tdevries@suse.de>
5308
5309 PR symtab/25718
5310 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5311
c1a66c06
TV
53122020-04-14 Tom de Vries <tdevries@suse.de>
5313
5314 PR symtab/25720
5315 * gdb.base/maint-expand-symbols-header-file.c: New test.
5316 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5317 * gdb.base/maint-expand-symbols-header-file.h: New test.
5318
21b0982c
AB
53192020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5320
5321 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5322 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5323 get_func_info.
5324 (get_func_info): Delete.
5325 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5326 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5327 * lib/dwarf.exp (get_func_info): New function.
5328
dd1cab06
TV
53292020-04-13 Tom de Vries <tdevries@suse.de>
5330
5331 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5332 to what find_gnatmake does.
5333
71ea2b6b
TV
53342020-04-10 Tom de Vries <tdevries@suse.de>
5335
5336 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5337 -readnow.
5338
bdfc1e8a
TV
53392020-04-10 Tom de Vries <tdevries@suse.de>
5340
5341 PR cli/25808
5342 * gdb.base/style.c: Add leading newlines.
5343 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5344 Check listing of main's one-line body.
5345
14ca8ecf
TV
53462020-04-08 Tom de Vries <tdevries@suse.de>
5347
5348 * lib/gdb.exp (psymtabs_p): New proc.
5349 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5350 importing unit" unsupported if there are no partial symbols.
5351
e21d048f
TV
53522020-04-08 Tom de Vries <tdevries@suse.de>
5353
5354 PR testsuite/25760
5355 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5356
25c11aca
TV
53572020-04-07 Tom de Vries <tdevries@suse.de>
5358
5359 PR symtab/25796
5360 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5361
5707e24b
TV
53622020-04-07 Tom de Vries <tdevries@suse.de>
5363
5364 * gdb.base/check-psymtab.c: New test.
5365 * gdb.base/check-psymtab.exp: New file.
5366
6ee448cc
TT
53672020-04-06 Tom Tromey <tromey@adacore.com>
5368
5369 * gdb.ada/variant-record/proc.adb: New file.
5370 * gdb.ada/variant-record/value.adb: New file.
5371 * gdb.ada/variant-record/value.s: New file.
5372 * gdb.ada/variant-record.exp: New file.
5373
9e7c9a03
HD
53742020-04-03 Hannes Domani <ssbssa@yahoo.de>
5375
5376 PR gdb/25325
5377 * gdb.cp/typed-enum.cc: New test.
5378 * gdb.cp/typed-enum.exp: New file.
5379
c90d28ac
AB
53802020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5381
5382 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5383 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5384 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5385 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5386 * gdb.opt/inline-small-func.c: New file.
5387 * gdb.opt/inline-small-func.exp: New file.
5388 * gdb.opt/inline-small-func.h: New file.
5389
34e9a9fa
AB
53902020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5391
5392 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5393 function.
5394
6a354911
AB
53952020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5396
5397 * lib/dwarf.exp (function_range): Allow compiler options to be
5398 specified.
5399
880d9777
TV
54002020-04-02 Tom de Vries <tdevries@suse.de>
5401
5402 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5403 __attribute__((always_inline)).
5404 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5405
f32682ea
TV
54062020-04-02 Tom de Vries <tdevries@suse.de>
5407
5408 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5409 (gdbserver_gdb_exit): ... here. Add timeout warning.
5410 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5411 (connect_target_extended_remote): Append new server_spawn_id to
5412 server_spawn_ids.
5413 (cleanup): New proc.
5414 (setup, <toplevel>): Call cleanup.
5415
d3214198
TV
54162020-04-02 Tom de Vries <tdevries@suse.de>
5417
5418 * gdb.base/main-psymtab.exp: New file.
5419
cc77ed24
TV
54202020-04-02 Tom de Vries <tdevries@suse.de>
5421
5422 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5423
3638a098
TT
54242020-04-01 Tom Tromey <tom@tromey.com>
5425
5426 * gdb.base/complex-parts.exp: Add type tests.
5427
c34e8714
TT
54282020-04-01 Tom Tromey <tom@tromey.com>
5429
5430 * gdb.base/complex-parts.exp: Add arithmetic tests.
5431
981c08ce
TT
54322020-04-01 Tom Tromey <tom@tromey.com>
5433
5434 * gdb.compile/compile.exp: Update.
5435 * gdb.compile/compile-cplus.exp: Update.
5436 * gdb.base/varargs.exp: Update.
5437 * gdb.base/floatn.exp: Update.
5438 * gdb.base/endianity.exp: Update.
5439 * gdb.base/callfuncs.exp (do_function_calls): Update.
5440 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5441 (complex_float_integral_args): Update.
5442 * gdb.base/complex.exp: Update.
5443 * gdb.base/complex-parts.exp: Update.
5444
3d1cfd43
TT
54452020-04-01 Tom Tromey <tromey@adacore.com>
5446
5447 * gdb.rust/union.rs: New file.
5448 * gdb.rust/union.exp: New file.
5449 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5450 (main): Update.
5451 * gdb.rust/simple.exp: Move union tests to union.exp.
5452
e033dfa9
TT
54532020-04-01 Tom Tromey <tromey@adacore.com>
5454
5455 * gdb.rust/simple.rs (main): Remove "y0".
5456
53cccef1
TBA
54572020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5458
5459 * gdb.multi/stop-all-on-exit.c: New test.
5460 * gdb.multi/stop-all-on-exit.exp: New file.
5461
60e22c1e
HD
54622020-04-01 Hannes Domani <ssbssa@yahoo.de>
5463
5464 PR gdb/24789
5465 * gdb.cp/misc.cc: Add integer reference variable.
5466 * gdb.cp/misc.exp: Add test.
5467
e139a727
TBA
54682020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5469
5470 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5471 scenario to cover execution until the end and also the case
5472
16b0db75
TV
54732020-03-31 Tom de Vries <tdevries@suse.de>
5474
5475 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5476 c. Use "maint info symtabs" to check symtab expansion.
5477
c0502da6
TV
54782020-03-30 Tom de Vries <tdevries@suse.de>
5479
5480 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5481 unsupported.
5482 (verify_psymtab_expanded): Move ...
5483 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5484 test.
5485 (readnow): New proc.
5486
5935fd15
AB
54872020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5488
5489 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5490 with $hex.
5491
1773be9e
TT
54922020-03-20 Tom Tromey <tromey@adacore.com>
5493
5494 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5495
70304be9
TT
54962020-03-20 Tom Tromey <tromey@adacore.com>
5497
5498 * gdb.ada/sub_variant/subv.adb: New file.
5499 * gdb.ada/sub_variant.exp: New file.
5500
0dd7b8f7
TV
55012020-03-20 Tom de Vries <tdevries@suse.de>
5502
5503 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5504 first break fails.
5505 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5506
cada5fc9
AB
55072020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5508
5509 * gdb.server/exit-multiple-threads.c: New file.
5510 * gdb.server/exit-multiple-threads.exp: New file.
5511
6b8c53f2
AB
55122020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5513
5514 * gdb.fortran/mixed-lang-stack.c: New file.
5515 * gdb.fortran/mixed-lang-stack.cpp: New file.
5516 * gdb.fortran/mixed-lang-stack.exp: New file.
5517 * gdb.fortran/mixed-lang-stack.f90: New file.
5518
19a2740f
AB
55192020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5520
5521 * gdb.linespec/cp-completion-aliases.cc: New file.
5522 * gdb.linespec/cp-completion-aliases.exp: New file.
5523
d8c8b848
TV
55242020-03-19 Tom de Vries <tdevries@suse.de>
5525
5526 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5527 more precise.
5528
a9933ccf
TV
55292020-03-18 Tom de Vries <tdevries@suse.de>
5530
5531 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5532 * gdb.dwarf2/break-inline-psymtab.c: New test.
5533 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5534
2f89101f
TV
55352020-03-16 Tom de Vries <tdevries@suse.de>
5536
5537 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5538 cache_verify and cache_verify_proc.
5539
6b9374f1
TV
55402020-03-15 Tom de Vries <tdevries@suse.de>
5541
5542 * gdb.server/solib-list.exp: Handle
5543 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5544
eaeaf44c
TV
55452020-03-15 Tom de Vries <tdevries@suse.de>
5546
5547 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5548 objfiles".
5549
3293bbaf
TT
55502020-03-14 Tom Tromey <tom@tromey.com>
5551
5552 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5553
ab44624c
TV
55542020-03-14 Tom de Vries <tdevries@suse.de>
5555
5556 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5557
54c43825
TV
55582020-03-14 Tom de Vries <tdevries@suse.de>
5559
5560 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5561 result in line-by-line fashion.
5562
2ac70237
TV
55632020-03-14 Tom de Vries <tdevries@suse.de>
5564
5565 * lib/gdb.exp (supports_statement_frontiers): New proc.
5566 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5567
09546b56
TV
55682020-03-14 Tom de Vries <tdevries@suse.de>
5569
5570 * gdb.base/printcmds.exp: Add missing quoting for "print
5571 teststring2".
5572
a1f6a07c
TT
55732020-03-13 Tom Tromey <tom@tromey.com>
5574
5575 * gdb.base/printcmds.exp (test_print_strings): Add regression
5576 test.
5577 * gdb.base/printcmds.c (charptr): New typedef.
5578 (teststring2): New global.
5579
1b83d09c
AB
55802020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5581
5582 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5583 full path in the test name.
5584 (test_ld): Add some with_test_prefix blocks to make test names
5585 unique.
5586
2d61316c
TV
55872020-03-13 Tom de Vries <tdevries@suse.de>
5588
5589 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5590
2e9145ac
TV
55912020-03-13 Tom de Vries <tdevries@suse.de>
5592
5593 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5594
96c7f873
TV
55952020-03-13 Tom de Vries <tdevries@suse.de>
5596
5597 PR symtab/25646
5598 * gdb.dwarf2/imported-unit.exp: Add test.
5599
49ba92c0
TV
56002020-03-13 Tom de Vries <tdevries@suse.de>
5601
5602 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5603 (var1, var2): New variable.
5604 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5605 matching symbols.
5606
301b21e0
TV
56072020-03-13 Tom de Vries <tdevries@suse.de>
5608
5609 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5610 (Term::command): Use prompt prefix.
5611 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5612 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5613 command_no_prompt_prefix instead of prefix.
5614 * gdb.tui/tui-layout-asm.exp: Same.
5615
3f512721
SM
56162020-03-12 Simon Marchi <simon.marchi@efficios.com>
5617
5618 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5619
40310f30
SM
56202020-03-12 Simon Marchi <simon.marchi@efficios.com>
5621
5622 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5623 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5624 on" while stepping over the test instruction, match printed
5625 message.
5626
09252140
TV
56272020-03-12 Tom de Vries <tdevries@suse.de>
5628
5629 * gdb.base/info-types.exp: Use exp_continue during matching of output
5630 of "info types".
5631
14e9c72c
TV
56322020-03-12 Tom de Vries <tdevries@suse.de>
5633
5634 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5635
e515d67e
TV
56362020-03-12 Tom de Vries <tdevries@suse.de>
5637
5638 * gdb.fortran/module.exp: Use exp_continue during matching of output
5639 of "info variable -n".
5640
307eafd8
TV
56412020-03-12 Tom de Vries <tdevries@suse.de>
5642
5643 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5644 gdb.dwarf2/dw2-ranges-base.c.
5645
9a2de3fc
TV
56462020-03-12 Tom de Vries <tdevries@suse.de>
5647
5648 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5649 in presence of GLIBC debuginfo.
5650
3217502e
TV
56512020-03-12 Tom de Vries <tdevries@suse.de>
5652
5653 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5654 $core.
5655
1281424c
TV
56562020-03-12 Tom de Vries <tdevries@suse.de>
5657
5658 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5659 more precise.
5660
038b97fc
SM
56612020-03-11 Simon Marchi <simon.marchi@efficios.com>
5662
5663 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5664 from Unix to Windows path.
5665
5308d1e7
TV
56662020-03-11 Tom de Vries <tdevries@suse.de>
5667
5668 * gdb.ada/minsyms.exp: Set language to ada.
5669
f870f78f
TV
56702020-03-11 Tom de Vries <tdevries@suse.de>
5671
5672 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5673
5a13315d
TV
56742020-03-11 Tom de Vries <tdevries@suse.de>
5675
5676 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5677
976862ed
TT
56782020-03-11 Tom Tromey <tromey@adacore.com>
5679
5680 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5681
7462c383
TV
56822020-03-11 Tom de Vries <tdevries@suse.de>
5683
5684 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5685
1c6c46a0
TV
56862020-03-11 Tom de Vries <tdevries@suse.de>
5687
5688 * gdb.base/break-interp.exp: Limit verbose scope.
5689
44f41bb7
TV
56902020-03-11 Tom de Vries <tdevries@suse.de>
5691
5692 * gdb.fortran/logical.f90: Define variable with character type.
5693 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5694
b76f3a42
TV
56952020-03-11 Tom de Vries <tdevries@suse.de>
5696
5697 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5698
1c33af77
TV
56992020-03-11 Tom de Vries <tdevries@suse.de>
5700
5701 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5702 symtabs.
5703
8c95582d
AB
57042020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5705 Bernd Edlinger <bernd.edlinger@hotmail.de>
5706
5707 * gdb.cp/step-and-next-inline.cc: New file.
5708 * gdb.cp/step-and-next-inline.exp: New file.
5709 * gdb.cp/step-and-next-inline.h: New file.
5710 * gdb.dwarf2/dw2-is-stmt.c: New file.
5711 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5712 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5713 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5714 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5715
cecf8547
AB
57162020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5717
5718 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5719 is-stmt flag in the line table.
5720
0ba678c9
TV
57212020-03-09 Tom de Vries <tdevries@suse.de>
5722
5723 * lib/gdb.exp (cached_file): Create cache dir.
5724
72fbdf83
TV
57252020-03-07 Tom de Vries <tdevries@suse.de>
5726
5727 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5728 * gdb.cp/rvalue-ref-params.exp: Same.
5729
436b5e99
TV
57302020-03-06 Tom de Vries <tdevries@suse.de>
5731
5732 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5733 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5734
09f2921c
TV
57352020-03-06 Tom de Vries <tdevries@suse.de>
5736
5737 * README: Fix "the the".
5738 * gdb.base/dprintf.exp: Same.
5739
50a3cc5d
TV
57402020-03-05 Tom de Vries <tdevries@suse.de>
5741
5742 * gdb.base/maint.exp: Update "main print statistics" expected output.
5743
0a709cba
AKS
57442020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5745
5746 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5747 (fortran_int8): Likewise.
5748 (fortran_real4): Likewise.
5749 (fortran_real8): Likewise.
5750 (fortran_complex4): Likewise.
5751 (fortran_logical4): Likewise.
5752 (fortran_character1): Likewise.
5753
5e5d66b6
AB
57542020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5755
5756 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5757 printed as true.
5758
7b973adc
SDJ
57592020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5760
5761 * gdb.base/printcmds.exp: Add test to verify printf of a
5762 variable holding an address.
5763
478e490a
TV
57642020-03-03 Tom de Vries <tdevries@suse.de>
5765
5766 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5767
1ef44e86
TV
57682020-03-03 Tom de Vries <tdevries@suse.de>
5769
5770 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5771 gdb_test_multiple call.
5772
b98cc2cf
TV
57732020-03-03 Tom de Vries <tdevries@suse.de>
5774
5775 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5776 gdb_test_multiple calls.
5777
63e163f2
AB
57782020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5779
5780 * gdb.base/default.exp: Remove test of 'set history filename'.
5781 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5782 filename to the empty string.
5783 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5784 and GDBHISTSIZE.
5785
24ed6739
AB
57862020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5787
5788 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5789 disabled.
5790
590003dc 57912020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5792 Tom de Vries <tdevries@suse.de>
590003dc
TV
5793
5794 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5795 -prompt prefix, before user_code argument. Add -lbl option likewise.
5796 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5797 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5798 argument.
5799 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5800 have "\r\n" at start-of-line, instead of at end-of-line.
5801
f5e46084
SM
58022020-02-28 Simon Marchi <simon.marchi@efficios.com>
5803
5804 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5805 libinproctrace.so.
5806
f7a7000d
LM
58072020-02-28 Luis Machado <luis.machado@linaro.org>
5808
5809 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5810 to "p/x".
5811
718e0816
LM
58122020-02-28 Luis Machado <luis.machado@linaro.org>
5813
5814 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5815 asm/ptrace.h and error.h.
5816
13c3a74a
TV
58172020-02-28 Tom de Vries <tdevries@suse.de>
5818
5819 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5820 (struct wrapper, do_something, mundane/symada__cS): Move ...
5821 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5822 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5823 Update "print symada__cS before partial symtab expansion" regexp.
5824 Update breakpoint location. Flush symbol cache after expansion.
5825
85d2d5bb
LM
58262020-02-28 Luis Machado <luis.machado@linaro.org>
5827
5828 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5829
3608f86c
TV
58302020-02-27 Tom de Vries <tdevries@suse.de>
5831
5832 * config/sid.exp: Remove unused globals.
5833 * gdb.base/attach.exp: Same.
5834 * gdb.base/catch-load.exp: Same.
5835 * gdb.base/dbx.exp: Same.
5836 * lib/gdb.exp: Same.
5837 * lib/mi-support.exp: Same.
5838 * lib/prompt.exp: Same.
5839
c8d4f6df
TV
58402020-02-27 Tom de Vries <tdevries@suse.de>
5841
5842 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5843 not set.
5844
0d79cdc4
AM
58452020-02-26 Aaron Merey <amerey@redhat.com>
5846
5847 * gdb.debuginfod: New directory for debuginfod tests.
5848 * gdb.debuginfod/main.c: New test file.
5849 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5850
0dce4280
TV
58512020-02-26 Tom de Vries <tdevries@suse.de>
5852
5853 PR gdb/25603
5854 * gdb.base/persistent-lang.cc: New test.
5855 * gdb.base/persistent-lang.exp: New file.
5856
9e80cfa1
AB
58572020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5858
5859 * gdb.fortran/derived-type-striding.exp: Add a new test.
5860 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5861 new test.
5862
2078dbb2
AB
58632020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5864
5865 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5866 names.
5867
70d49700
TV
58682020-02-25 Tom de Vries <tdevries@suse.de>
5869
5870 PR go/18926
5871 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5872
a88ef40d
TV
58732020-02-24 Tom de Vries <tdevries@suse.de>
5874
5875 PR gdb/25592
5876 * gdb.base/info-locals-unused-static-var.c: New test.
5877 * gdb.base/info-locals-unused-static-var.exp: New file.
5878
01b1af32
TT
58792020-02-22 Tom Tromey <tom@tromey.com>
5880
5881 * gdb.python/tui-window.exp: New file.
5882 * gdb.python/tui-window.py: New file.
5883
7c043ba6
TT
58842020-02-22 Tom Tromey <tom@tromey.com>
5885
5886 PR tui/17850:
5887 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5888 tests.
5889
c22fef7e
TT
58902020-02-22 Tom Tromey <tom@tromey.com>
5891
5892 * gdb.tui/new-layout.exp: Add sub-layout tests.
5893
ee325b61
TT
58942020-02-22 Tom Tromey <tom@tromey.com>
5895
5896 * gdb.tui/new-layout.exp: New file.
5897
3f0cbb04
TT
58982020-02-22 Tom Tromey <tom@tromey.com>
5899
5900 * gdb.rust/rust-style.rs: New file.
5901 * gdb.rust/rust-style.exp: New file.
5902 * gdb.base/style.exp: Test structure printing.
5903 * gdb.base/style.c (struct some_struct): New type.
5904 (enum etype): New type.
5905 (struct_value): New global.
5906
75525152
TV
59072020-02-21 Tom de Vries <tdevries@suse.de>
5908
5909 PR go/18926
5910 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5911 Remove blanket xfails. Use message argument for gdb_breakpoint.
5912 Make continuing to breakpoint test conditional on setting breakpoint.
5913 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5914 DW_AT_name attribute. Add xfail for GCC PR93866.
5915
bd360d30
AB
59162020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5917
5918 * gdb.dwarf2/cpp-linkage-name.c: New file.
5919 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5920
c7adb09f 59212020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5922
5923 * lib/gdb.exp (gdb_wrapper_init): Reset
5924 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5925 not exist.
5926
a9c79803
TV
59272020-02-20 Tom de Vries <tdevries@suse.de>
5928
5929 PR go/17018
5930 * gdb.go/hello.exp: Copy ...
5931 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5932 print of st to print value of global definition. Add xfail for GCC
5933 PR93844.
5934 * gdb.go/hello.exp: Remove printing of st before definition.
5935 * gdb.go/hello.go: Copy ...
5936 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5937 to st.
5938 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5939
d7445728
TV
59402020-02-20 Tom de Vries <tdevries@suse.de>
5941
5942 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5943 (gdb_simple_compile): Handle compile_flags go by using .go extension
5944 for source file.
5945 * gdb.go/chan.exp: Use support_go_compile.
5946 * gdb.go/handcall.exp: Same.
5947 * gdb.go/hello.exp: Same.
5948 * gdb.go/integers.exp: Same.
5949 * gdb.go/max-depth.exp: Same.
5950 * gdb.go/methods.exp: Same.
5951 * gdb.go/package.exp: Same.
5952 * gdb.go/strings.exp: Same.
5953 * gdb.go/types.exp: Same.
5954 * gdb.go/unsafe.exp: Same.
5955
c9c41e6d
TV
59562020-02-19 Tom de Vries <tdevries@suse.de>
5957
5958 * gdb.python/lib-types.exp: Make xfail more strict.
5959
f20ff837
TV
59602020-02-19 Tom de Vries <tdevries@suse.de>
5961
5962 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5963
08410482
DE
59642020-02-19 Doug Evans <dje@google.com>
5965
5966 PR rust/25535
5967 * gdb.rust/simple.exp: Add test.
5968 * gdb.rust/simple.rs: Add test.
5969
623563f7
TV
59702020-02-19 Tom de Vries <tdevries@suse.de>
5971
5972 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5973 output line-by-line.
5974
d3308cfd
TV
59752020-02-19 Tom de Vries <tdevries@suse.de>
5976
5977 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5978
86cbc5dc
TV
59792020-02-19 Tom de Vries <tdevries@suse.de>
5980
5981 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5982 prelink.
5983
9db2b96b
TV
59842020-02-19 Tom de Vries <tdevries@suse.de>
5985
5986 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5987 (gdb_do_cache): Use gdb_do_cache_wrap.
5988 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5989
89e2fdc5
TV
59902020-02-19 Tom de Vries <tdevries@suse.de>
5991
5992 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5993 gdb_compile option.
5994
373d7ac0
SM
59952020-02-18 Simon Marchi <simon.marchi@efficios.com>
5996
5997 * gdb.base/printcmds.exp (test_print_enums): Update expected
5998 output.
5999
b29a2df0
SM
60002020-02-18 Simon Marchi <simon.marchi@efficios.com>
6001
6002 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
6003 for "unknown".
6004
6740f0cc
SM
60052020-02-18 Simon Marchi <simon.marchi@efficios.com>
6006
6007 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
6008 enumerator.
6009
edd45eb0
SM
60102020-02-18 Simon Marchi <simon.marchi@efficios.com>
6011
6012 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
6013 FE_, add FE_NONE.
6014 (three): Update.
6015 (enum flag_enum_without_zero): New enum.
6016 (flag_enum_without_zero): New variable.
6017 (enum not_flag_enum): New enum.
6018 (three_not_flag): New variable.
6019 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
6020 (test_print_enums): Add more tests for printing flag enums.
6021
d4295de4
TV
60222020-02-18 Tom de Vries <tdevries@suse.de>
6023
6024 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
6025 (gdb_compile_ada): ... here.
6026 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
6027 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
6028
f251f505
TT
60292020-02-14 Tom Tromey <tom@tromey.com>
6030
6031 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
6032 build directory.
6033 * boards/gdbserver-base.exp: Update path to gdbserver.
6034
8f432634
TV
60352020-02-13 Tom de Vries <tdevries@suse.de>
6036
6037 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
6038
92b6eaf7
TV
60392020-02-13 Tom de Vries <tdevries@suse.de>
6040
6041 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
6042 are missing.
6043
f3b0f7fe
TV
60442020-02-13 Tom de Vries <tdevries@suse.de>
6045
6046 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6047 call.
6048
f6be8713
SDJ
60492020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6050
6051 PR tui/25126
6052 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6053 * gdb.base/cached-source-file.c: New file.
6054 * gdb.base/cached-source-file.exp: New file.
6055
b2770d5e
TV
60562020-02-11 Tom de Vries <tdevries@suse.de>
6057
6058 PR testsuite/25488
6059 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6060
44f6938e
TV
60612020-02-10 Tom de Vries <tdevries@suse.de>
6062
6063 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6064
5f0e2eb7
MR
60652020-02-10 Maciej W. Rozycki <macro@wdc.com>
6066
6067 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6068 and $after_addr are both integers before making a comparison.
6069
46ce2b6f
TV
60702020-02-09 Tom de Vries <tdevries@suse.de>
6071
6072 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6073 command output and paste it into gdb.log. If any, paste catch message
6074 to gdb.log.
6075
5abbbe1d
TT
60762020-02-07 Tom Tromey <tromey@adacore.com>
6077
6078 PR breakpoints/24915:
6079 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6080
1d5d29e7
SV
60812020-02-06 Shahab Vahedi <shahab@synopsys.com>
6082
6083 * gdb.tui/tui-missing-src.exp: Add the "missing source
6084 file" test for the TUI.
6085
b0999b9b
AB
60862020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6087
6088 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6089 including a port number in the output.
6090
c3b149eb
AKS
60912020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6092
6093 * lib/fortran.exp (fortran_int4): Handle clang.
6094 (fortran_int8): Likewise.
6095 (fortran_real4): Likewise.
6096 (fortran_real8): Likewise.
6097 (fortran_complex4): Likewise.
6098 (fortran_logical4): Likewise.
6099 (fortran_character1): Likewise.
6100
f8dcc90b
TV
61012020-02-04 Tom de Vries <tdevries@suse.de>
6102
6103 * README (Race detection): Add note.
6104
f90ac7c2
TV
61052020-02-04 Tom de Vries <tdevries@suse.de>
6106
6107 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6108
780636ae
TV
61092020-02-04 Tom de Vries <tdevries@suse.de>
6110
6111 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6112
5d2e1193
RA
61132020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6114
6115 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6116 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6117 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6118 blttar, bnetarl.
6119 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6120 binary for blttar, bnetarl.
6121 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6122 wait instruction. Delete ldmx test.
6123 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6124
e409c542
AKS
61252020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6126
6127 * gdb.fortran/array-bounds-high.exp: New file.
6128 * gdb.fortran/array-bounds-high.f90: New file.
6129
b0029748
LD
61302020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6131
6132 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6133 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6134
195a8287
TV
61352020-02-01 Tom de Vries <tdevries@suse.de>
6136
6137 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6138
42330a68
AB
61392020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6140
6141 PR tui/9765
6142 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6143 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6144
b62a8028
LM
61452020-01-29 Luis Machado <luis.machado@linaro.org>
6146
6147 * gdb.arch/aarch64-brk-patterns.c: New source file.
6148 * gdb.arch/aarch64-brk-patterns.exp: New test.
6149
5f440116
TBA
61502020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6151
6152 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6153 GCC/Clang version.
6154 * gdb.cp/pass-by-ref.exp: Ditto.
6155
ee2a6fc6
TV
61562020-01-29 Tom de Vries <tdevries@suse.de>
6157
6158 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6159 * gdb.threads/watchpoint-fork-mt.c: Same.
6160 * gdb.threads/watchpoint-fork-parent.c: Same.
6161 * gdb.threads/watchpoint-fork-st.c: Same.
6162 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6163
16b10d6e
LM
61642020-01-27 Luis Machado <luis.machado@linaro.org>
6165
6166 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6167 sitting at a syscall instruction when we hit the syscall function's
6168 breakpoint.
6169 Check PC against one obtained with the x command.
6170 Validate syscall number.
6171 (step_over_syscall): Don't continue to the syscall instruction if
6172 we're already there.
6173
b1468492
PW
61742020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6175
6176 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6177
7ffa82e1
AB
61782020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6179
6180 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6181 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6182
3d92a3e3
AB
61832020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6184
6185 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6186 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6187
94a72be7
AB
61882020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6189
6190 * gdb.base/maint.exp: Update line table parsing test.
6191 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6192
53af73bf
PA
61932020-01-24 Pedro Alves <palves@redhat.com>
6194
6195 PR gdb/25410
6196 * gdb.multi/multi-re-run-1.c: New.
6197 * gdb.multi/multi-re-run-2.c: New.
6198 * gdb.multi/multi-re-run.exp: New.
6199
1ba1ac88
AB
62002020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6201
6202 PR gdb/23718
6203 * gdb.server/server-kill-python.exp: New file.
6204
f3364a6d
AB
62052020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6206
6207 * gdb.server/multi-ui-errors.c: New file.
6208 * gdb.server/multi-ui-errors.exp: New file.
6209
733d0a67
AB
62102020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6211
6212 PR tui/9765
6213 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6214
4f13c1c0
TT
62152020-01-19 Tom Tromey <tom@tromey.com>
6216
6217 * gdb.tui/main.exp: Add check for plain "file".
6218
40c94099
CB
62192020-01-16 Christian Biesinger <cbiesinger@google.com>
6220
6221 * lib/gdb.exp: Fix spelling error (seperatelly).
6222
ff47f4f0
TT
62232020-01-14 Tom Tromey <tom@tromey.com>
6224
6225 PR symtab/12535:
6226 * gdb.python/python.exp: Test decode_line with empty string
6227 argument.
6228
717c684d
BE
62292020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6230
6231 * gdb.base/skip-inline.exp: Extend test.
6232
44e4c775
AB
62332020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6234
6235 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6236 * gdb.dwarf2/dw2-bad-elf.c: New file.
6237 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6238
d93c6db7
AB
62392020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6240
6241 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6242 _line_saw_file.
6243
9a6d629c
AB
62442020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6245
6246 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6247 border.
6248
d9ebdab7
TBA
62492020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6250
6251 * gdb.multi/multi-target.exp (setup): Factor out "info
6252 connections" and "info inferiors" tests to ...
6253 (test_info_inferiors): ... this new procedure.
6254 (top level): Run new "info-inferiors" tests.
6255
f3c469b9
PA
62562020-01-10 Pedro Alves <palves@redhat.com>
6257
6258 * gdb.server/bkpt-other-inferior.exp: New file.
6259
121b3efd
PA
62602020-01-10 Pedro Alves <palves@redhat.com>
6261
6262 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6263 of "add-inferior".
6264 * gdb.base/quit-live.exp: Likewise.
6265 * gdb.base/remote-exec-file.exp: Likewise.
6266 * gdb.guile/scm-progspace.exp: Likewise.
6267 * gdb.linespec/linespec.exp: Likewise.
6268 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6269 * gdb.mi/user-selected-context-sync.exp: Likewise.
6270 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6271 "info inferiors" tests.
6272 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6273 "add-inferior".
6274 * gdb.multi/watchpoint-multi.exp: Likewise.
6275 * gdb.python/py-inferior.exp: Likewise.
6276 * gdb.server/extended-remote-restart.exp: Likewise.
6277 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6278 "info inferiors".
6279 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6280 * gdb.trace/report.exp: Likewise.
6281
1dadb1dd
PA
62822020-01-10 Pedro Alves <palves@redhat.com>
6283
6284 * gdb.multi/multi-target.c: New file.
6285 * gdb.multi/multi-target.exp: New file.
6286 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6287 mode requested, but remote does not support non-stop".
6288
78f2c40a
PA
62892020-01-10 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6292 disconnect before reconnecting.
6293
e7af6c70
TBA
62942020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6295 Pedro Alves <palves@redhat.com>
6296
6297 * gdb.server/connect-without-multi-process.exp: Also test
6298 continuing to end.
6299
acdf84a6
PA
63002020-01-10 Pedro Alves <palves@redhat.com>
6301
6302 * gdb.base/remote-exec-file.exp: New file.
6303
873657b9
PA
63042020-01-10 Pedro Alves <palves@redhat.com>
6305
6306 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6307 output.
6308 * gdb.threads/async.c: New.
6309 * gdb.threads/async.exp: New.
6310 * gdb.multi/tids-gid-reset.c: New.
6311 * gdb.multi/tids-gid-reset.exp: New.
6312
7f0ae84c
GB
63132020-01-10 George Barrett <bob@bob131.so>
6314
6315 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6316 to help in finding the image relocation offset.
6317 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6318 options in arguments.
6319 (stap_test_no_debuginfo): Likewise.
6320 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6321 test variants.
6322 (stap_test): Add null semaphore relocation test.
6323
47e9d49d
GB
63242020-01-10 George Barrett <bob@bob131.so>
6325
6326 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6327 * gdb.base/stap-probe.exp: Likewise.
6328 (stap_test): Pass argument as an additional flag.
6329 (stap_test_no_debuginfo): Likewise.
6330 (stap_test): Check `info probes stap' output for semaphore
6331 addresses if the test binary is supposed to have them.
6332
f5a7c406
AB
63332020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6334
6335 * gdb.tui/basic.exp: Add more scrolling tests.
6336
9ae6bf64
TT
63372020-01-09 Tom Tromey <tom@tromey.com>
6338
6339 PR tui/18932:
6340 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6341 meangingful value.
6342 (Term::command, Term::resize): Update.
6343 * gdb.tui/basic.exp: Add scrolling test.
6344
b2efe70c
AB
63452020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6346
6347 * gdb.tui/tui-layout-asm.exp: New file.
6348
3804da7e
AB
63492020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6350
6351 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6352
b40aa28f
AB
63532020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6354
6355 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6356 (Term::enter_tui): Use Term::prepare_for_tui.
6357
63ffd7c9
AB
63582020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6359
6360 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6361 called.
6362
3be966f6
AB
63632020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6364
6365 * gdb.base/skip.exp: Fix race condition in test.
6366
153d79c4
AB
63672020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6368
6369 * gdb.base/backtrace.c: New file.
6370 * gdb.base/backtrace.exp: New file.
6371
f2302a34
AB
63722020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6373
6374 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6375
6ec1d75e
PW
63762020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6377
6378 * gdb.base/style.exp: Test that warnings are styled.
6379
c296cbe6
BE
63802019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6381
6382 * gdb.base/line65535.exp: New file.
6383 * gdb.base/line65535.c: New file.
6384
b28a729d
SM
63852019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6386
6387 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6388 * lib/gnat_debug_info_test.adb: New file.
6389 * gdb.ada/ptype_tagged_param.exp: Use
6390 gnat_runtime_has_debug_info, expect a different output if
6391 runtime does not have debug info.
6392
7f2d7a0d
SM
63932019-12-20 Simon Marchi <simon.marchi@efficios.com>
6394
6395 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6396 (another) quote in test name.
6397
f3bce483
SM
63982019-12-20 Simon Marchi <simon.marchi@efficios.com>
6399
6400 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6401 Add quote in test name.
6402
c855a912
TBA
64032019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6404
6405 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6406 directory instead.
6407 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6408 * gdb.cp/pass-by-ref-2.cc: New file.
6409 * gdb.cp/pass-by-ref-2.exp: New file.
6410
fc9d2d72
TT
64112019-12-20 Tom Tromey <tom@tromey.com>
6412
6413 * gdb.tui/list-before.exp: New file.
6414
77b97e00
TT
64152019-12-20 Tom Tromey <tom@tromey.com>
6416
6417 * gdb.tui/list.exp: Check for source on initial listing.
6418
f69656d0
TT
64192019-12-11 Tom Tromey <tromey@adacore.com>
6420
6421 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6422 Add crlf test.
6423
99a55965
SM
64242019-12-18 Simon Marchi <simon.marchi@efficios.com>
6425
6426 * gdb.base/default.exp: Update value of $_gdb_major.
6427
5024637f
BE
64282019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6429
6430 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6431
b63634be
BE
64322019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6433
6434 * gdb.base/skip.exp: Whitespace fix.
6435
45d73523
BE
64362019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6437
6438 * gdb.base/skip-inline.c: New file.
6439 * gdb.base/skip-inline.exp: New file.
6440
d043f8c8
SM
64412019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6442
6443 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6444 jit_function_00 to jit_function_stack_mangle.
6445 * gdb.base/jithost.c (jit_function_t): Rename to...
6446 (jit_function_stack_mangle_t): ... this.
6447 (jit_function_add_t): New typedef.
6448 (jit_function_00_code): Rename to...
6449 (jit_function_stack_mangle_code): ... this, make static.
6450 (jit_function_add_code): New.
6451 (main): Generate "add" function and call it. Adjust to changes
6452 in jithost_abi.
6453 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6454 (struct jithost_abi) <begin, end>: Remove fields.
6455 <object, function_stack_mangle, function_add>: New fields.
6456 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6457 code_end>: Remove fields.
6458 <func_stack_mangle>: New field.
6459 (read_debug_info): Adjust to renaming, create block for "add"
6460 function.
6461 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6462
873de05c
TT
64632019-12-11 Tom Tromey <tom@tromey.com>
6464
6465 * gdb.tui/resize.exp: Fix regexp.
6466 * gdb.tui/regs.exp: Fix regexps.
6467 * gdb.tui/main.exp: Fix regexp.
6468
3d979945
TT
64692019-12-11 Tom Tromey <tom@tromey.com>
6470
6471 * gdb.tui/resize.exp: Update.
6472 * gdb.tui/empty.exp (layouts): Update.
6473
2192a9d3
TT
64742019-12-11 Tom Tromey <tom@tromey.com>
6475
6476 * gdb.tui/regs.exp: Update.
6477 * gdb.tui/empty.exp (layouts): Update.
6478 * gdb.tui/basic.exp: Update.
6479 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6480
d8edc8b7
PW
64812019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6482
6483 * gdb.base/options.exp: Add -raw-values in the print completion list.
6484 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6485
4c12d936
KB
64862019-12-10 Kevin Buettner <kevinb@redhat.com>
6487
6488 * gdb.threads/omp-par-scope.c: New file.
6489 * gdb/threads/omp-par-scope.exp: New file.
6490
26b911fb
KB
64912019-12-10 Kevin Buettner <kevinb@redhat.com>
6492
bb47f919
KB
6493 * lib/gdb.exp (support_nested_function_tests): New proc.
6494
64952019-12-10 Kevin Buettner <kevinb@redhat.com>
6496
6497 * lib/gdb.exp (gdb_compile_openmp): New proc.
6498 (build_executable_from_specs): Add an "openmp" option.
6499 (gdb_compile_pthreads): Add non-executable case.
26b911fb 6500
6c71eb7d
TT
65012019-12-10 Tom Tromey <tromey@adacore.com>
6502
6503 * gdb.ada/unchecked_union.exp: New file.
6504 * gdb.ada/unchecked_union/pck.adb: New file.
6505 * gdb.ada/unchecked_union/pck.ads: New file.
6506 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6507 * gdb-utils.exp (string_to_regexp): Also quote "?".
6508
bac7c5cf
GB
65092019-12-10 George Barrett <bob@bob131.so>
6510
6511 Test scripted probe breakpoints.
6512 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6513 * gdb.python/py-breakpoint.c (main): Likewise.
6514 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6515 specifier test.
6516 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6517
330f1d38
TBA
65182019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6519
6520 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6521 an rvalue parameter.
6522 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6523 parameter.
6524
b43315e2
AB
65252019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6526
6527 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6528 modules.
6529
54f73dad
AB
65302019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6531
6532 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6533 broken version of GCC.
6534
d57cbee9
AB
65352019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6536
6537 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6538 sym-info-cmds library.
6539 * gdb.fortran/info-types.exp: Likewise.
6540 * lib/sym-info-cmds.exp: New file.
6541
c14aab8c
TV
65422019-12-08 Tom de Vries <tdevries@suse.de>
6543
6544 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6545
aa2d5a42
KS
65462019-12-07 Keith Seitz <keiths@redhat.com>
6547
6548 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6549 * gdb.base/corefile-buildid-shlib.c: New file.
6550 * gdb.base/corefile-buildid.c: New file.
6551 * gdb.base/corefile-buildid.exp: New file.
6552
93e55f0a
TV
65532019-12-06 Tom de Vries <tdevries@suse.de>
6554
6555 * gdb.dwarf2/varval.exp: Add decl before def test.
6556
c7d12402
TBA
65572019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6558
6559 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6560
06acc08f
TBA
65612019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6562
6563 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6564 CV and reference conversion for overload resolution.
6565 * gdb.cp/rvalue-ref-overload.exp: Test it.
6566
e0fad1ea
PW
65672019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6568
6569 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6570 * gdb.base/frameapply.exp: Test faas without command.
6571
8d70a9f0
AB
65722019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6573
6574 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6575 Fortran tests.
6576 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6577 order.
6578
36c8fb93
AB
65792019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6580
6581 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6582 casting to type with no kind specified.
6583 (test_basic_parsing_of_type_kinds): Additional tests for types
6584 with no kind specified, and add tests for single/double
6585 precision/complex types.
6586
4139ff00
TT
65872019-12-04 Tom Tromey <tromey@adacore.com>
6588
6589 * gdb.base/endianity.c (struct other) <x>: New field.
6590 (main): Initialize it.
6591 * gdb.base/endianity.exp: Update.
6592
a05cf17a
TT
65932019-12-04 Tom Tromey <tromey@adacore.com>
6594
6595 * gdb.ada/scalar_storage/storage.adb: New file.
6596 * gdb.ada/scalar_storage/pck.adb: New file.
6597 * gdb.ada/scalar_storage/pck.ads: New file.
6598 * gdb.ada/scalar_storage.exp: New file.
6599
103a685e
TT
66002019-12-04 Tom Tromey <tromey@adacore.com>
6601
6602 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6603 (main): Initialize it.
6604 * gdb.base/endianity.exp: Update.
6605
c2512106
AB
66062019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6607
6608 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6609
293b38d6
AB
66102019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6611
6612 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6613 -symbol-info-module-functions and -symbol-info-module-variables.
6614
216a7e6b
AB
66152019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6616
6617 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6618
5bbd8269
AB
66192019-12-01 Richard Bunt <richard.bunt@arm.com>
6620 Andrew Burgess <andrew.burgess@embecosm.com>
6621
6622 * gdb.fortran/derived-type-striding.exp: New file.
6623 * gdb.fortran/derived-type-striding.f90: New file.
6624 * gdb.fortran/array-slices.exp: New file.
6625 * gdb.fortran/array-slices.f90: New file.
6626
be09caf1
PW
66272019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6628
6629 * gdb.base/define.exp: Test . in command names.
6630 * gdb.base/setshow.exp: Update test, as . is now part of
6631 command name.
6632
643c0cbe
PW
66332019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6634
6635 * gdb.base/define-prefix.exp: New file.
6636
dcdec678
AB
66372019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6638
6639 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6640 compile.
6641 (skip_btrace_pt_tests): Likewise.
6642
640ab947
AB
66432019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6644
6645 * gdb.fortran/info-modules.exp: Compile source files in correct
6646 order.
6647
d22670f0
KB
66482019-11-27 Kevin Buettner <kevinb@redhat.com>
6649
6650 * gdb.dwarf2/imported-unit.exp: New file.
6651 * gdb.dwarf2/imported-unit.c: New file.
6652
db5960b4
AB
66532019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6654
6655 * gdb.mi/mi-fortran-modules-2.f90: New file.
6656 * gdb.mi/mi-fortran-modules.exp: New file.
6657 * gdb.mi/mi-fortran-modules.f90: New file.
6658
7dc42066
AB
66592019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6660
6661 * gdb.mi/mi-sym-info-1.c: New file.
6662 * gdb.mi/mi-sym-info-2.c: New file.
6663 * gdb.mi/mi-sym-info.exp: New file.
6664
0dfeecca
TT
66652019-11-22 Tom Tromey <tromey@adacore.com>
6666
6667 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6668 * gdb.ada/tasks/foo.adb: Add another stopping location.
6669
34877895
PJ
66702019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6671
6672 * gdb.base/endianity.c: New test.
6673 * gdb.base/endianity.exp: New file.
6674
2e84f897
LD
66752019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6676
6677 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6678
65d1cd5f
TV
66792019-11-21 Tom de Vries <tdevries@suse.de>
6680
6681 PR gdb/24956
6682 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6683
4f22c3f4
SDJ
66842019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6685
6686 * gdb.python/py-progspace.exp: Add missing parentheses on some
6687 'print' commands.
6688
9f6ad286
TT
66892019-11-19 Tom Tromey <tom@tromey.com>
6690
6691 * gdb.tui/winheight.exp: New file.
6692
0b8dbf3f
AB
66932019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6694
6695 * gdb.base/ctf-whatis.c: Delete.
6696 * gdb.base/ctf-whatis.exp: Delete.
6697 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6698
f833b7a7
AB
66992019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6700
6701 * gdb.base/ctf-cvexpr.exp: Delete.
6702 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6703
30d0a636
AB
67042019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6705
6706 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6707 the compiler. Clean up header comment a little.
6708 * gdb.base/ctf-ptype.exp: Likewise.
6709 * gdb.base/ctf-whatis.exp: Likewise.
6710 * lib/gdb.exp (skip_ctf_tests): New proc.
6711
494409bb
SDJ
67122019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6713
6714 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6715 * gdb.tui/corefile-run.exp: New file.
6716
55708e99
TT
67172019-11-14 Tom Tromey <tromey@adacore.com>
6718
6719 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6720 regression tests.
6721
45e42163
TT
67222019-11-12 Tom Tromey <tom@tromey.com>
6723
6724 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6725 after any command. Expect prompt after WAIT_FOR is seen.
6726 (enter_tui): Enable resize messages.
6727 (command): Expect command in output.
6728 (get_line): Avoid error when cursor appears to be off-screen.
6729 (dump_screen): Include screen size in title.
6730 (_do_resize): New proc, from "resize".
6731 (resize): Rewrite. Do resize in two steps.
6732 * gdb.tui/empty.exp (layouts): Fix entries.
6733 (check_boxes): Remove xfail.
6734 (check_text): Dump screen on failure.
6735
086baaf1
AB
67362019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6737
6738 * gdb.python/py-symbol.exp: Add test for
6739 gdb.lookup_static_symbols.
6740
09ff83af
AB
67412019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6742
6743 * gdb.python/py-symbol.c: Declare and call function from new
6744 py-symbol-2.c file.
6745 * gdb.python/py-symbol.exp: Compile both source files, and add new
6746 tests for gdb.lookup_static_symbol.
6747 * gdb.python/py-symbol-2.c: New file.
6748
11af934b
TV
67492019-11-02 Tom de Vries <tdevries@suse.de>
6750
6751 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6752 * gdb.base/anon.exp: Same.
6753 * gdb.base/auto-connect-native-target.exp: Same.
6754 * gdb.base/call-ar-st.exp: Same.
6755 * gdb.base/catch-syscall.exp: Same.
6756 * gdb.base/commands.exp: Same.
6757 * gdb.base/default.exp: Same.
6758 * gdb.base/display.exp: Same.
6759 * gdb.base/float.exp: Same.
6760 * gdb.base/foll-fork.exp: Same.
6761 * gdb.base/help.exp: Same.
6762 * gdb.base/info-macros.exp: Same.
6763 * gdb.base/info-proc.exp: Same.
6764 * gdb.base/info-target.exp: Same.
6765 * gdb.base/long_long.exp: Same.
6766 * gdb.base/macscp.exp: Same.
6767 * gdb.base/memattr.exp: Same.
6768 * gdb.base/nofield.exp: Same.
6769 * gdb.base/pointers.exp: Same.
6770 * gdb.base/printcmds.exp: Same.
6771 * gdb.base/ptype.exp: Same.
6772 * gdb.base/restore.exp: Same.
6773 * gdb.base/return.exp: Same.
6774 * gdb.base/scope.exp: Same.
6775 * gdb.base/set-noassign.exp: Same.
6776 * gdb.base/setshow.exp: Same.
6777 * gdb.base/shlib-call.exp: Same.
6778 * gdb.base/signals.exp: Same.
6779 * gdb.base/sigstep.exp: Same.
6780 * gdb.base/skip.exp: Same.
6781 * gdb.base/solib-symbol.exp: Same.
6782 * gdb.base/stap-probe.exp: Same.
6783 * gdb.base/step-line.exp: Same.
6784 * gdb.base/step-test.exp: Same.
6785 * gdb.base/style.exp: Same.
6786 * gdb.base/varargs.exp: Same.
6787 * gdb.base/vla-datatypes.exp: Same.
6788 * gdb.base/vla-ptr.exp: Same.
6789 * gdb.base/vla-sideeffect.exp: Same.
6790 * gdb.base/volatile.exp: Same.
6791 * gdb.base/watch-cond-infcall.exp: Same.
6792 * gdb.base/watchpoint.exp: Same.
6793
e96ec2ba
TV
67942019-11-02 Tom de Vries <tdevries@suse.de>
6795
6796 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6797 * gdb.cp/cpexprs.exp: Same.
6798 * gdb.cp/except-multi-location.exp: Same.
6799 * gdb.cp/exceptprint.exp: Same.
6800 * gdb.cp/gdb2384.exp: Same.
6801 * gdb.cp/inherit.exp: Same.
6802 * gdb.cp/m-static.exp: Same.
6803 * gdb.cp/meth-typedefs.exp: Same.
6804 * gdb.cp/misc.exp: Same.
6805 * gdb.cp/namespace.exp: Same.
6806 * gdb.cp/non-trivial-retval.exp: Same.
6807 * gdb.cp/overload.exp: Same.
6808 * gdb.cp/pr17132.exp: Same.
6809 * gdb.cp/re-set-overloaded.exp: Same.
6810 * gdb.cp/rvalue-ref-types.exp: Same.
6811 * gdb.cp/templates.exp: Same.
6812
bd5766ec
LM
68132019-11-01 Luis Machado <luis.machado@linaro.org>
6814
6815 PR gdb/25124
6816
6817 * gdb.arch/pr25124.S: New file.
6818 * gdb.arch/pr25124.exp: New file.
6819
165f8965
AB
68202019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6821
6822 * gdb.fortran/info-modules.exp: Update expected results, and add
6823 additional tests for 'info module functinos', and 'info module
6824 variables'.
6825 * gdb.fortran/info-types.exp: Update expected results.
6826 * gdb.fortran/info-types.f90: Extend testcase with additional
6827 module variables and functions.
6828
59c35742
AB
68292019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6830
6831 * gdb.fortran/info-modules.exp: New file.
6832 * gdb.fortran/info-types.exp: Build with new file.
6833 * gdb.fortran/info-types.f90: Include and use new module.
6834 * gdb.fortran/info-types-2.f90: New file.
6835
f3fb2519
PW
68362019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6837
6838 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6839 * gdb.base/settings.exp: Test all settings types using
6840 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6841 that now verifies that the value of "maint show" is the same as
6842 returned by the settings functions. Test the type of the
6843 maintenance settings.
6844 * gdb.base/default.exp: Update show_conv_list.
6845
d1e36019
TV
68462019-10-31 Tom de Vries <tdevries@suse.de>
6847
6848 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6849 gdb_test.
6850 * gdb.arch/amd64-disp-step.exp: Same.
6851 * gdb.asm/asm-source.exp: Same.
6852 * gdb.btrace/buffer-size.exp: Same.
6853 * gdb.btrace/cpu.exp: Same.
6854 * gdb.btrace/enable.exp: Same.
6855 * gdb.dwarf2/count.exp: Same.
6856 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6857 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6858 * gdb.fortran/vla-datatypes.exp: Same.
6859 * gdb.fortran/vla-history.exp: Same.
6860 * gdb.fortran/vla-ptype.exp: Same.
6861 * gdb.fortran/vla-value.exp: Same.
6862 * gdb.fortran/whatis_type.exp: Same.
6863 * gdb.guile/guile.exp: Same.
6864 * gdb.multi/tids.exp: Same.
6865 * gdb.python/py-finish-breakpoint.exp: Same.
6866 * gdb.python/py-framefilter.exp: Same.
6867 * gdb.python/py-pp-registration.exp: Same.
6868 * gdb.python/py-xmethods.exp: Same.
6869 * gdb.python/python.exp: Same.
6870 * gdb.server/connect-with-no-symbol-file.exp: Same.
6871 * gdb.server/no-thread-db.exp: Same.
6872 * gdb.server/run-without-local-binary.exp: Same.
6873 * gdb.stabs/weird.exp: Same.
6874 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6875 * gdb.threads/thread-find.exp: Same.
6876 * gdb.threads/tls-shared.exp: Same.
6877 * gdb.threads/tls.exp: Same.
6878 * gdb.threads/wp-replication.exp: Same.
6879 * gdb.trace/ax.exp: Same.
6880 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6881
3d11e68e
TV
68822019-10-31 Tom de Vries <tdevries@suse.de>
6883
6884 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6885 * gdb.ada/array_subscript_addr.exp: Same.
6886 * gdb.ada/arrayidx.exp: Same.
6887 * gdb.ada/arrayparam.exp: Same.
6888 * gdb.ada/arrayptr.exp: Same.
6889 * gdb.ada/boolean_expr.exp: Same.
6890 * gdb.ada/call_pn.exp: Same.
6891 * gdb.ada/complete.exp: Same.
6892 * gdb.ada/fixed_cmp.exp: Same.
6893 * gdb.ada/fun_addr.exp: Same.
6894 * gdb.ada/funcall_param.exp: Same.
6895 * gdb.ada/interface.exp: Same.
6896 * gdb.ada/mod_from_name.exp: Same.
6897 * gdb.ada/null_array.exp: Same.
6898 * gdb.ada/packed_array.exp: Same.
6899 * gdb.ada/packed_tagged.exp: Same.
6900 * gdb.ada/print_chars.exp: Same.
6901 * gdb.ada/print_pc.exp: Same.
6902 * gdb.ada/ptype_arith_binop.exp: Same.
6903 * gdb.ada/ptype_field.exp: Same.
6904 * gdb.ada/ptype_tagged_param.exp: Same.
6905 * gdb.ada/rec_return.exp: Same.
6906 * gdb.ada/ref_tick_size.exp: Same.
6907 * gdb.ada/str_ref_cmp.exp: Same.
6908 * gdb.ada/taft_type.exp: Same.
6909 * gdb.ada/tagged.exp: Same.
6910 * gdb.ada/type_coercion.exp: Same.
6911 * gdb.ada/uninitialized_vars.exp: Same.
6912
60b6ede8
TV
69132019-10-30 Tom de Vries <tdevries@suse.de>
6914
6915 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6916
30baf67b
TV
69172019-10-26 Tom de Vries <tdevries@suse.de>
6918
6919 * gdb.base/bigcore.c: Fix typos in comments.
6920 * gdb.base/ctf-ptype.c: Same.
6921 * gdb.base/long_long.c: Same.
6922 * gdb.dwarf2/dw2-op-out-param.S: Same.
6923 * gdb.python/py-evthreads.c: Same.
6924 * gdb.reverse/i387-stack-reverse.c: Same.
6925 * gdb.trace/tfile.c: Same.
6926 * lib/compiler.c: Same.
6927 * lib/compiler.cc: Same.
6928
158da0d1
TV
69292019-10-25 Tom de Vries <tdevries@suse.de>
6930
6931 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6932 gdb_test_multiple calls.
6933 * gdb.reverse/sigall-reverse.exp: Same.
6934 * gdb.reverse/solib-precsave.exp: Same.
6935 * gdb.reverse/solib-reverse.exp: Same.
6936 * gdb.reverse/until-precsave.exp: Same.
6937 * gdb.reverse/until-reverse.exp: Same.
6938
4ccdfbec
TV
69392019-10-24 Tom de Vries <tdevries@suse.de>
6940
6941 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6942 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6943 kfail using -wrap pattern flag and convenience variable
6944 gdb_test_name.
6945
33d569b7
AB
69462019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6947
6948 * gdb.python/py-progspace.exp: Add tests for the
6949 Progspace.block_for_pc method.
6950
4d0b984b
TT
69512019-10-23 Tom Tromey <tom@tromey.com>
6952
6953 * configure: Rebuild.
6954 * aclocal.m4: Use m4_include, not sinclude.
6955
94cb3754
TV
69562019-10-21 Tom de Vries <tdevries@suse.de>
6957
6958 * gdb.base/infcall-nested-structs.c: Add
6959 __attribute__((noinline,noclone)) to all functions.
6960 (call_all): Add missing variable initialization. Simplify return value.
6961 (breakpt): Increment volatile variable, to prevent call from being
6962 optimized out.
6963 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6964
062f1fc1
TV
69652019-10-17 Tom de Vries <tdevries@suse.de>
6966
6967 * gdb.fortran/module.exp: Allow info variables to print info for files
6968 other than module.f90.
6969
0b54364d
AB
69702019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6971
6972 * gdb.fortran/module.exp: Extend with 'info variables' test.
6973
7ff5fae7
AB
69742019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6975
6976 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6977 F77_FOR_TARGET.
6978
d10eccaa
TV
69792019-10-16 Tom de Vries <tdevries@suse.de>
6980
6981 PR tdep/25096
6982 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6983
745ff14e
TV
69842019-10-16 Tom de Vries <tdevries@suse.de>
6985
6986 PR tdep/24104
6987 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6988 Add KFAIL for PR tdep/25096.
6989
03e1ab94
TV
69902019-10-16 Tom de Vries <tdevries@suse.de>
6991
6992 PR testsuite/25059
6993 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6994
b17fcc10
TV
69952019-10-16 Tom de Vries <tdevries@suse.de>
6996
6997 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6998 as signed.
6999
9223170f
SM
70002019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
7001
7002 * gdb.mi/list-thread-groups-available.exp: Read entries one by
7003 one instead of increasing timeout.
7004
d6e76313
TV
70052019-10-13 Tom de Vries <tdevries@suse.de>
7006
7007 PR record/25038
7008 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
7009 * gdb.reverse/sigall-reverse.exp: Same.
7010 * gdb.reverse/solib-precsave.exp: Same.
7011 * gdb.reverse/solib-reverse.exp: Same.
7012 * gdb.reverse/step-precsave.exp: Same.
7013 * gdb.reverse/until-precsave.exp: Same.
7014 * gdb.reverse/until-reverse.exp: Same.
7015 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
7016
6dfc0041
AA
70172019-10-10 Andreas Arnez <arnez@linux.ibm.com>
7018
7019 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
7020 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
7021 (cmp_struct_05_01, cmp_struct_static_02_01)
7022 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
7023 comparisons.
7024
abcf2cc8
TV
70252019-10-10 Tom de Vries <tdevries@suse.de>
7026
7027 PR testsuite/24888
7028 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7029 gnatlink.
7030
a50faaf6
TV
70312019-10-09 Tom de Vries <tdevries@suse.de>
7032
7033 PR testsuite/25048
7034 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
7035
60ff3cd7
AB
70362019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7037
7038 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
7039 exceptions due to missing debug information.
7040
dfee8566
TV
70412019-10-07 Tom de Vries <tdevries@suse.de>
7042
7043 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
7044
3d63690a
AB
70452019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7046
7047 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7048 * gdb.base/annota1.exp: Update to use gdb_test_name.
7049
30d1f018
WP
70502019-10-07 Weimin Pan <weimin.pan@oracle.com>
7051
7052 * gdb.base/ctf-whatis.exp: New file.
7053 * gdb.base/ctf-whatis.c: New file.
7054 * gdb.base/ctf-ptype.exp: New file.
7055 * gdb.base/ctf-ptype.c: New file.
7056 * gdb.base/ctf-constvars.exp: New file.
7057 * gdb.base/ctf-constvars.c: New file.
7058 * gdb.base/ctf-cvexpr.exp: New file.
7059
4dbbb47c
TV
70602019-10-04 Tom de Vries <tdevries@suse.de>
7061
7062 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7063 for loop.
7064
77c2dba3
TT
70652019-10-03 Tom Tromey <tom@tromey.com>
7066
7067 PR rust/24976:
7068 * gdb.rust/simple.rs (Union2): New type.
7069 (main): Use Union2.
7070 * gdb.rust/simple.exp: Add test.
7071
179aed7f
AB
70722019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7073
7074 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7075 nested function prefix.
7076
0a4b0913
AB
70772019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7078 Richard Bunt <richard.bunt@arm.com>
7079 Andrew Burgess <andrew.burgess@embecosm.com>
7080
7081 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7082 nested functions.
7083 * gdb.fortran/nested-funcs.f90: Update expected results.
7084 * gdb.fortran/nested-funcs-2.exp: New file.
7085 * gdb.fortran/nested-funcs-2.f90: New file.
7086
082cce05
AB
70872019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7088
7089 * gdb.python/py-parameter.exp: Make test names unique.
7090 * gdb.python/py-template.exp: Likewise.
7091 * gdb.python/py-value.exp: Likewise.
7092
2b74ba5a
AB
70932019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7094
7095 * gdb.base/break-interp.exp: Reduce test name duplication.
7096 * gdb.base/call-sc.exp: Likewise.
7097 * gdb.base/callfuncs.exp: Likewise.
7098 * gdb.base/charset.exp: Likewise.
7099 * gdb.base/dump.exp: Likewise.
7100 * gdb.base/ena-dis-br.exp: Likewise.
7101 * gdb.base/relational.exp: Likewise.
7102 * gdb.base/step-over-syscall.exp: Likewise.
7103 * gdb.base/structs.exp: Likewise.
7104
58eb20d5
AB
71052019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7106
7107 * gdb.linespec/explicit.exp: Make test names unique.
7108 * gdb.linespec/ls-errs.exp: Likewise.
7109
4d421147
AB
71102019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7111
7112 * gdb.reverse/break-precsave.exp: Make test names unique.
7113 * gdb.reverse/break-reverse.exp: Likewise.
7114 * gdb.reverse/finish-precsave.exp: Likewise.
7115 * gdb.reverse/finish-reverse.exp: Likewise.
7116 * gdb.reverse/machinestate-precsave.exp: Likewise.
7117 * gdb.reverse/machinestate.exp: Likewise.
7118 * gdb.reverse/readv-reverse.exp: Likewise.
7119 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7120 * gdb.reverse/sigall-precsave.exp: Likewise.
7121 * gdb.reverse/sigall-reverse.exp: Likewise.
7122 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7123 * gdb.reverse/watch-precsave.exp: Likewise.
7124 * gdb.reverse/watch-reverse.exp: Likewise.
7125
d8c06f22
AB
71262019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7127
7128 * gdb.threads/stop-with-handle.c: New file.
7129 * gdb.threads/stop-with-handle.exp: New file.
7130
3a56ed86
TV
71312019-10-03 Tom de Vries <tdevries@suse.de>
7132
7133 PR testsuite/25059
7134 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7135 directory" line to be missing.
7136
42275044
TV
71372019-10-03 Tom de Vries <tdevries@suse.de>
7138
7139 PR testsuite/25059
7140 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7141 type optional.
7142
9ef62df0
AA
71432019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7144
7145 * gdb.python/py-format-string.c (string.h): New include.
7146 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7147 the same value, for endianness-independence.
7148 * gdb.python/py-format-string.exp (default_regexp_dict)
7149 (test_pretty_structs, test_format): Adjust expected output to the
7150 changed initialization.
7151
37f6a7f4
TT
71522019-10-02 Tom Tromey <tromey@adacore.com>
7153
7154 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7155
1d58d6a2
PA
71562019-10-02 Pedro Alves <palves@redhat.com>
7157 Andrew Burgess <andrew.burgess@embecosm.com>
7158
7159 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7160 "print-file-var.h".
7161 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7162 (get_version_1): Print this_version_id and its address.
7163 Add extern "C" wrappers around interface functions.
7164 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7165 "print-file-var.h".
7166 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7167 (get_version_2): Print this_version_id and its address.
7168 Add extern "C" wrappers around interface functions.
7169 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7170 <stddef.h> and "print-file-var.h".
7171 Add extern "C" wrappers around interface functions.
7172 [VERSION_ID_MAIN] (this_version_id): Define.
7173 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7174 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7175 up extern "C" blocks.
7176 * gdb.base/print-file-var.exp (test): New, factored out from top
7177 level.
7178 (top level): Test all combinations of attribute hidden or not,
7179 dlopen or not, and this_version_id symbol in main file or not.
7180 Compile tests as both C++ and C, make test names unique.
7181
d770d56f
TT
71822019-10-01 Tom Tromey <tom@tromey.com>
7183
7184 * gdb.base/style.exp: Test "show logging filename".
7185
7f6aba03
TT
71862019-10-01 Tom Tromey <tom@tromey.com>
7187
7188 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7189 * gdb.base/style.exp: Add metadata style test.
7190
14309bb6
TT
71912019-10-01 Tom Tromey <tom@tromey.com>
7192
7193 * gdb.base/style.exp: Test "pwd".
7194
2a3c1174
PA
71952019-10-01 Tom Tromey <tom@tromey.com>
7196
7197 * gdb.base/style.exp: Update tests.
7198
53d666ec
AA
71992019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7200
7201 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7202 'six' to unsigned.
7203 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7204 'five'. Use an all-ones bit pattern for each.
7205 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7206 to its changed values.
7207
4a56a520
TT
72082019-09-30 Tom Tromey <tromey@adacore.com>
7209
7210 * gdb.rust/traits.rs: Disable all warnings.
7211
0df0352a
TV
72122019-09-29 Tom de Vries <tdevries@suse.de>
7213
aac66a4c 7214 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 7215
73d9a918
TV
72162019-09-29 Tom de Vries <tdevries@suse.de>
7217
7218 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7219
060b3ab4
TV
72202019-09-27 Tom de Vries <tdevries@suse.de>
7221
7222 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7223
68f7d34d
TV
72242019-09-27 Tom de Vries <tdevries@suse.de>
7225
7226 PR record/23188
7227 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7228
5d63b30a
TT
72292019-09-26 Tom Tromey <tromey@adacore.com>
7230
7231 * gdb.ada/py_taft.exp: New file.
7232 * gdb.ada/py_taft/main.adb: New file.
7233 * gdb.ada/py_taft/pkg.adb: New file.
7234 * gdb.ada/py_taft/pkg.ads: New file.
7235
3d435220
TV
72362019-09-24 Tom de Vries <tdevries@suse.de>
7237
7238 PR gdb/24598
7239 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7240
77d03678
TV
72412019-09-22 Tom de Vries <tdevries@suse.de>
7242
7243 * gdb.base/restore.exp: Allow register variables to be optimized out at
7244 -O0.
7245
abf516c6
UW
72462019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7247
7248 * gdb.arch/spu-info.exp: Remove file.
7249 * gdb.arch/spu-info.c: Remove file.
7250 * gdb.arch/spu-ls.exp: Remove file.
7251 * gdb.arch/spu-ls.c: Remove file.
7252
7253 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7254 * gdb.asm/spu.inc: Remove file.
7255
7256 * gdb.base/dump.exp: Remove support for spu*-*-*.
7257 * gdb.base/stack-checking.exp: Likewise.
7258 * gdb.base/overlays.exp: Likewise.
7259 * gdb.base/ovlymgr.c: Likewise.
7260 * gdb.base/spu.ld: Remove file.
7261
7262 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7263 * gdb.cp/cpexprs.exp: Likewise.
7264 * gdb.cp/exception.exp: Likewise.
7265 * gdb.cp/gdb2495.exp: Likewise.
7266 * gdb.cp/mb-templates.exp: Likewise.
7267 * gdb.cp/pr9167.exp: Likewise.
7268 * gdb.cp/userdef.exp: Likewise.
7269
7270 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7271
7272 * gdb.cell: Remove directory.
7273 * lib/cell.exp: Remove file.
7274
e452e88f
TV
72752019-09-19 Tom de Vries <tdevries@suse.de>
7276
7277 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7278
8a625130
TV
72792019-09-19 Tom de Vries <tdevries@suse.de>
7280
7281 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7282
81dc3ab5
TV
72832019-09-19 Tom de Vries <tdevries@suse.de>
7284
7285 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7286 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7287 (gdb_target_cmd): ... here.
7288 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7289 value 2.
7290
b078f3ac
AB
72912019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7292
7293 * gdb.base/source-dir.exp: Avoid having directory names in test
7294 names.
7295
f1b620e9
MG
72962019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7297
7298 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7299 directory.
7300
67f3ed6a
AB
73012019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7302
7303 * gdb.base/list-missing-source.exp: New file.
7304
d1b70248
TV
73052019-09-14 Tom de Vries <tdevries@suse.de>
7306
7307 PR teststuite/24599
7308 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7309 * lib/ada.exp (gnatmake_version_at_least): New proc.
7310
5fabdcd6
AB
73112019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7312
7313 * gdb.base/maint.exp: Use exec_has_index_section.
7314
aa17805f
AB
73152019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7316
7317 * gdb.base/maint.exp: Add test for 'maint info sections'.
7318
25e5c209
TV
73192019-09-12 Tom de Vries <tdevries@suse.de>
7320
7321 * gdb.base/store.exp: Allow register variables to be optimized out at
7322 -O0.
7323
4993045d
PW
73242019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7325
7326 * gdb.ada/rdv_wait.exp: Update to new task names.
7327 * gdb.base/task_switch_in_core.exp: Likewise.
7328 * gdb.base/info_sources_base.c: Likewise.
7329
8a516164
TT
73302019-09-10 Tom Tromey <tromey@adacore.com>
7331
7332 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7333
aa391654
TT
73342019-09-10 Tom Tromey <tromey@adacore.com>
7335
7336 * gdb.ada/dgopt.exp: New file.
7337 * gdb.ada/dgopt/x.adb: New file.
7338
8634b462
TT
73392019-09-08 Tom Tromey <tom@tromey.com>
7340
7341 * gdb.tui/resize.exp: Remove setup_xfail.
7342 * gdb.tui/regs.exp: Remove setup_xfail.
7343 * gdb.tui/basic.exp: Remove setup_xfail.
7344
736b0f76
DB
73452019-09-06 David Blaikie <dblaikie@gmail.com>
7346
7347 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7348 * gdb.cp/cplabel.exp: Ditto.
7349 * gdb.linespec/ls-errs.exp: Ditto.
7350
30331a6c
TV
73512019-09-05 Tom de Vries <tdevries@suse.de>
7352
7353 * lib/gdb.exp (cmp_file_string): New proc.
7354 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7355 runto_main. Verify save breakpoints output.
7356
98b0ebab
PW
73572019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7358
7359 * gdb.base/info-var.exp: Test info variables without running
7360 to main, to avoid expect's buffer overflow.
7361
4e962e74
TT
73622019-09-03 Tom Tromey <tromey@adacore.com>
7363
7364 * gdb.ada/bias.exp: New file.
7365 * gdb.ada/bias/bias.adb: New file.
7366 * gdb.ada/print_chars.exp: Add regression test.
7367 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7368 (MC): New variable.
7369
2ea1a07a
SL
73702019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7371
7372 * gdb.base/argv0-symlink.exp: Run only on native target
7373 and local host.
7374
8077c50d
TV
73752019-08-29 Tom de Vries <tdevries@suse.de>
7376
7377 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7378 diverse debug info.
7379 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7380
48352473
TV
73812019-08-28 Tom de Vries <tdevries@suse.de>
7382
7383 * gdb.base/info-var.exp: Allow info variables to print info for files
7384 other than info-var-f1.c and info-var-f2.c.
7385
d8f27c60
AB
73862019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7387
7388 * gdb.fortran/info-types.exp: Add module.
7389 * gdb.fortran/info-types.f90: Update expected results.
7390
1f20c35e
AB
73912019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7392
7393 * gdb.fortran/info-types.exp: New file.
7394 * gdb.fortran/info-types.f90: New file.
7395 * lib/fortran.exp (fortran_character1): New proc.
7396
4acfdd20
AB
73972019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7398
7399 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7400 functions'. Reindent as needed.
7401 * gdb.base/info-var-f1.c: New file.
7402 * gdb.base/info-var-f2.c: New file.
7403 * gdb.base/info-var.exp: New file.
7404 * gdb.base/info-var.h: New file.
7405
5c31b358
TV
74062019-08-26 Tom de Vries <tdevries@suse.de>
7407
7408 PR c++/24852
7409 * gdb.cp/no-libstdcxx-probe.exp: New test.
7410
b694989f
TV
74112019-08-26 Tom de Vries <tdevries@suse.de>
7412
7413 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7414 * tests need to be skipped.
7415 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7416 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7417 mi_skip_libstdcxx_probe_tests.
7418
d9c4ba53
SDJ
74192019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7420
7421 * gdb.python/py-xmethods.exp: Use raw strings when passing
7422 arguments to SimpleXMethodMatcher.
7423
395fad09
TV
74242019-08-22 Tom de Vries <tdevries@suse.de>
7425
7426 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7427 more informative.
7428
26c957f1
PA
74292019-08-21 Pedro Alves <palves@redhat.com>
7430
7431 * gdb.base/with.exp: Test "with" with no arguments.
7432
61f80d5d
TV
74332019-08-21 Tom de Vries <tdevries@suse.de>
7434
7435 * gdb.base/gdb-caching-proc.exp: Sort files.
7436
d7a11d13
TV
74372019-08-20 Tom de Vries <tdevries@suse.de>
7438
7439 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7440 compilation.
7441
34dafe9f
TV
74422019-08-16 Tom de Vries <tdevries@suse.de>
7443
7444 * gdb.base/compare-sections.exp ("after run to main"): Allow
7445 mismatched read-only sections for PIE executables.
7446
398fdd60
TT
74472019-08-16 Tom Tromey <tom@tromey.com>
7448
7449 * lib/tuiterm.exp (_csi_Z): New proc.
7450 * gdb.tui/basic.exp: Update window positions.
7451 * gdb.tui/empty.exp: Update window positions.
7452
d8f9e51c
SL
74532019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7454
7455 * gdb.base/examine-backward.exp: Correct regexp for
7456 "examine 3 bytes backward from ${address_zero}".
7457
3df505f6
TT
74582019-08-15 Tom Tromey <tom@tromey.com>
7459
7460 * gdb.tui/empty.exp: Enable resizing tests.
7461
272560b5
TT
74622019-08-15 Tom Tromey <tromey@adacore.com>
7463
7464 * gdb.ada/char_enum.exp: Add regression tests.
7465 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7466 and '0'.
7467 (Char, Gchar): Update.
7468 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7469
08235187
CB
74702019-08-15 Christian Biesinger <cbiesinger@google.com>
7471
7472 * gdb.python/python.exp: Expect a leading underscore on
7473 GdbOutput{,Error}File.
7474
22a2ab04
SL
74752019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7476
7477 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7478 Windows host.
7479
835b995b
SL
74802019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7481
7482 * gdb.base/batch-preserve-term-settings.exp
7483 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7484
97dd8e07
CB
74852019-08-15 Christian Biesinger <cbiesinger@google.com>
7486
7487 * lib/gdb.exp: When running on a mingw target, replace
7488 /x/ with x:/.
7489
75faf5c4
AH
74902019-08-14 Alan Hayward <alan.hayward@arm.com>
7491
7492 * gdb.arch/aarch64-prologue.c: New test.
7493 * gdb.arch/aarch64-prologue.exp: New file.
7494
abc6c00f
TV
74952019-08-13 Tom de Vries <tdevries@suse.de>
7496
7497 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7498 Thread.
7499
74c2c1f4
SL
75002019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7501
7502 * gdb.python/py-completion.exp: Download the .py file to the host
7503 and use its host pathname. Conditionalize tests that use
7504 tab completion and manipulate files on the build machine.
7505 * gdb.python/py-events.exp: Download the .py file to the host
7506 and use its host pathname.
7507 * gdb.python/py-evsignal.exp: Likewise.
7508 * gdb.python/py-evthreads.exp: Likewise.
7509 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7510 pathname syntax.
7511 * gdb.python/py-framefilter.exp: Download the .py file to the right
7512 place on the host. Match Windows pathname syntax.
7513 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7514 .py file to the host and use its host pathname.
7515 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7516 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7517 build pathname. Skip symlink test on Windows host. Add missing
7518 newline at end of file.
7519 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7520 and use its host pathname.
7521 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7522 * gdb.python/py-section-script.exp: Use host location of binfile
7523 on safe-path. Use correct path separator on Windows host.
7524 Reorder alternatives in gdb_test_multiple to prevent matching
7525 the wrong alternative on success.
7526 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7527
ca2589f3
PP
75282019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7529
7530 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7531 expect the GDB inferior to no longer immediately stop after
7532 being resumed with "signal SIGINT".
7533
020a839d
SL
75342019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7535
7536 * gdb.linespec/break-ask.exp: Generalize regexps to match
7537 Windows pathnames too.
7538
128d6509
TV
75392019-08-08 Tom de Vries <tdevries@suse.de>
7540
7541 PR testsuite/24862
7542 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7543
590042fc
PW
75442019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7545
7546 * gdb.base/style.exp: Update tests for help doc new invariants.
7547 * gdb.base/help.exp: Likewise.
7548
046bebe1
TT
75492019-08-06 Tom Tromey <tom@tromey.com>
7550
7551 * gdb.base/style.exp: Add disassemble test.
7552 * gdb.base/style.c (some_called_function): New function.
7553 (main): Use it.
7554
0b27c27d
CB
75552019-08-05 Christian Biesinger <cbiesinger@google.com>
7556
7557 * gdb.python/py-block.exp: Test dictionary access on blocks.
7558
580f1034
SM
75592019-08-05 Simon Marchi <simon.marchi@efficios.com>
7560
7561 PR gdb/24863
7562 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7563 -list-thread-groups --available test when running under
7564 check-read1.
7565
d86bd7cb
TV
75662019-08-05 Tom de Vries <tdevries@suse.de>
7567
7568 PR testsuite/24863
7569 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7570 * gdb.base/help.exp: Use with_read1_timeout_factor.
7571 * gdb.base/info-macros.exp: Same.
7572 * gdb.cp/nested-types.exp: Same.
7573
a80cf5d8
TV
75742019-08-05 Tom de Vries <tdevries@suse.de>
7575
7576 * lib/gdb.exp (version_at_least): Factor out of ...
7577 (tcl_version_at_least): ... here.
7578 (gdb_compile): Fail if pie results in non-PIE executable.
7579 (readelf_version, readelf_prints_pie): New proc.
7580 (exec_is_pie): Return -1 if unknown.
7581
d0962838
TV
75822019-08-05 Tom de Vries <tdevries@suse.de>
7583
7584 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7585
2252ff3d
SL
75862019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7587
7588 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7589
26655f53
SL
75902019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7591
7592 * lib/completion-support.exp (test_gdb_complete_none): Skip
7593 tab completion tests if no readline support.
7594 (test_gdb_complete_unique_re): Likewise.
7595 (test_gdb_complete_multiple): Likewise.
7596
db4dc13e
PW
75972019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7598
7599 * gdb.base/info_sources.exp: New file.
7600 * gdb.base/info_sources.c: New file.
7601 * gdb.base/info_sources_base.c: New file.
7602
0eba165a
PFC
76032019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7604
7605 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7606 prefix argument.
7607 (test_exit_status): Add prefix argument.
7608
59bd512b
TV
76092019-08-01 Tom de Vries <tdevries@suse.de>
7610
7611 PR testsuite/24863
7612 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7613 calling exp_continue for new thread and thread exited messages.
7614
2a3ad588
TV
76152019-08-01 Tom de Vries <tdevries@suse.de>
7616
7617 PR testsuite/24863
7618 * gdb.base/structs.exp: Fix check-read1 timeout using
7619 gdb_test_sequence.
7620 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7621
117eb594
TV
76222019-08-01 Tom de Vries <tdevries@suse.de>
7623
7624 PR testsuite/24863
7625 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7626 line.
7627
ed591340
TV
76282019-08-01 Tom de Vries <tdevries@suse.de>
7629
7630 PR testsuite/24863
7631 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7632
aa3b6533
TT
76332019-07-30 Tom Tromey <tromey@adacore.com>
7634
7635 * gdb.ada/display_nested.exp: New file.
7636 * gdb.ada/display_nested/foo.adb: New file.
7637 * gdb.ada/display_nested/pack.adb: New file.
7638 * gdb.ada/display_nested/pack.ads: New file.
7639
2906593f
CB
76402019-07-30 Christian Biesinger <cbiesinger@google.com>
7641
7642 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7643 namespace.
7644 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7645
0f575925
TV
76462019-07-30 Tom de Vries <tdevries@suse.de>
7647
7648 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7649 instead.
7650
b13057d9
TV
76512019-07-30 Tom de Vries <tdevries@suse.de>
7652
7653 PR testsuite/24834
7654 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7655 (exec_is_pie): New proc.
7656
5c4dde85
CB
76572019-07-29 Christian Biesinger <cbiesinger@google.com>
7658
7659 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7660
c620ed88
CB
76612019-07-29 Christian Biesinger <cbiesinger@google.com>
7662
7663 * gdb.python/py-objfile.c: Add global and static vars.
7664 * gdb.python/py-objfile.exp: Test new functions Objfile.
7665 lookup_global_symbol and lookup_static_symbol.
7666
3d235706
TT
76672019-07-29 Tom Tromey <tom@tromey.com>
7668
7669 * lib/tuiterm.exp (Term::_csi_@): New proc.
7670 (Term::_csi_X): Don't move cursor.
7671
c7e4c0a6
PW
76722019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7673
7674 * gdb.base/options.exp: Update backtrace - completion to
7675 new option -frame-info.
7676 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7677 Test new 'set print frame-info'. Test backtrace -frame-info
7678 overriding 'set print frame-info'.
7679 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7680 Test new 'set print frame-info'.
7681 Verify consistency of backtrace with and without filters, with and
7682 without -no-filters.
7683 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7684 default.
7685
de28a3b7
TV
76862019-07-29 Tom de Vries <tdevries@suse.de>
7687
7688 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7689 no arguments".
7690
507dd60e
TV
76912019-07-29 Tom de Vries <tdevries@suse.de>
7692
7693 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7694 is a substring of the first for "complete non-unique file name".
7695
5beafce9
TV
76962019-07-29 Tom de Vries <tdevries@suse.de>
7697
7698 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7699 with ".*".
7700
2d274232
TV
77012019-07-29 Tom de Vries <tdevries@suse.de>
7702
7703 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7704 Pass prompt_regexp parameter to gdb_test_multiple calls.
7705
9197cd8b
TV
77062019-07-29 Tom de Vries <tdevries@suse.de>
7707
7708 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7709 print registers" regexps.
9197cd8b 7710
b528dae0
TV
77112019-07-29 Tom de Vries <tdevries@suse.de>
7712
7713 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7714
d17725d7
TV
77152019-07-29 Tom de Vries <tdevries@suse.de>
7716
7717 PR gdb/24855
7718 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7719 (skip_python_tests_prompt): Add prompt_regexp argument to
7720 gdb_test_multiple calls.
7721
52b75bf1
TT
77222019-07-27 Tom Tromey <tom@tromey.com>
7723
7724 * gdb.tui/main.exp: New file.
7725
2b1d00c2
TT
77262019-07-27 Tom Tromey <tom@tromey.com>
7727
7728 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7729 optional.
7730 * gdb.tui/empty.exp: New file.
7731
ded631d5
TT
77322019-07-27 Tom Tromey <tom@tromey.com>
7733
7734 * lib/tuiterm.exp (spawn): New proc.
7735 (Term::resize): New proc.
7736 * gdb.tui/resize.exp: New file.
7737
58ac439d
TT
77382019-07-27 Tom Tromey <tom@tromey.com>
7739
7740 * gdb.tui/list.exp: New file.
7741
fe1f56ee
TT
77422019-07-27 Tom Tromey <tom@tromey.com>
7743
7744 * gdb.tui/regs.exp: New file.
7745
f790b310
TT
77462019-07-27 Tom Tromey <tom@tromey.com>
7747
7748 * gdb.tui/basic.exp: Add "layout split" test.
7749
d95fc6ee
TT
77502019-07-27 Tom Tromey <tom@tromey.com>
7751
7752 * gdb.tui/basic.exp: Add "layout asm" test.
7753
c3786b3a
TT
77542019-07-27 Tom Tromey <tom@tromey.com>
7755
7756 * lib/tuiterm.exp: New file.
7757 * gdb.tui/basic.exp: New file.
7758
98a617f8
KB
77592019-07-27 Kevin Buettner <kevinb@redhat.com>
7760
7761 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7762 Enable tests associated with this flag. Adjust regex
7763 referencing "foo_low" to now refer to "foo_cold" instead.
7764
5c076da4
KB
77652019-07-27 Kevin Buettner <kevinb@redhat.com>
7766
7767 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7768 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7769 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7770 foo_cold. Revise comments to match.
7771 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7772 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7773 were wrapped into this proc; Call do_test in loop from outermost
7774 level.
7775 (foo_low): Rename all occurrences to "foo_cold".
7776 (backtrace from baz): New test.
7777 (x2/i foo_cold): New test.
7778 (info line *foo_cold): New test.
7779
1512d3b7
TV
77802019-07-26 Tom de Vries <tdevries@suse.de>
7781
7782 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7783
297989a1
TV
77842019-07-25 Tom de Vries <tdevries@suse.de>
7785
7786 PR testsuite/24830
7787 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7788 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7789 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7790 (skip_libstdcxx_probe_tests): ... here.
7791 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7792
b3b965fb
TV
77932019-07-24 Tom de Vries <tdevries@suse.de>
7794
7795 PR testsuite/24807
7796 * gdb.objc/basicclass.m: Include stdio.h.
7797 * gdb.objc/nondebug.m: Same.
7798 * gdb.objc/objcdecode.m: Same.
7799
4625b4d0
TV
78002019-07-24 Tom de Vries <tdevries@suse.de>
7801
7802 PR testsuite/24612
7803 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7804 additional_flags.
7805
024a5840
TV
78062019-07-24 Tom de Vries <tdevries@suse.de>
7807
7808 PR testsuite/24831
7809 * gdb.multi/tids.exp: Update error messages for info threads.
7810
c76ddaa3
TV
78112019-07-24 Tom de Vries <tdevries@suse.de>
7812
7813 * gdb.base/info-types.exp: Allow info types to print info for more than
7814 one file.
7815
9a618ef6
TV
78162019-07-23 Tom de Vries <tdevries@suse.de>
7817
7818 PR testsuite/24842
7819 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7820 gdb_spawn_with_cmdline_opts.
7821
40eadf04
SP
78222019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7823
7824 * gdb.arch/arm-cmse-sgstubs.c: New test.
7825 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7826
5ba29434
TV
78272019-07-23 Tom de Vries <tdevries@suse.de>
7828
7829 PR testsuite/24711
7830 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7831 issuing next command.
7832
a8e9d247
AB
78332019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7834
7835 * gdb.ada/info_auto_lang.exp: Update expected results.
7836 * gdb.base/info-types.c: Add additional types to check.
7837 * gdb.base/info-types.exp: Update expected results.
7838
eb86c5e2
AB
78392019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7840
7841 * gdb.base/info-types.c: New file.
7842 * gdb.base/info-types.exp: New file.
7843
01e175fe
AB
78442019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7845
7846 * gdb.arch/riscv-bp-infcall.c: New file.
7847 * gdb.arch/riscv-bp-infcall.exp: New file.
7848
6b78c3f8
AB
78492019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7850
7851 PR breakpoints/24541
7852 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7853
da738167
TV
78542019-07-14 Tom de Vries <tdevries@suse.de>
7855
7856 PR testsuite/24760
7857 * gdb.objc/basicclass.exp: Fix unterminated string.
7858
0d4e84ed
AB
78592019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7860 Andrew Burgess <andrew.burgess@embecosm.com>
7861
7862 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7863 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7864 negative bounds.
7865 * gdb.fortran/vla-value.exp: Print elements of an array with
7866 negative bounds.
7867 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7868 testing.
7869
021d8588
AB
78702019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7871
7872 * gdb.base/options.exp (expect_string): Dequote strings in
7873 results.
7874 (test-string): Test strings with different quoting and reindent.
7875
f06f1252
TT
78762019-07-10 Tom Tromey <tromey@adacore.com>
7877
7878 * gdb.ada/mi_ex_cond.exp: Update expected results.
7879 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7880 * gdb.ada/mi_catch_ex.exp: Update expected results.
7881 * gdb.ada/mi_catch_assert.exp: Update expected results.
7882 * gdb.ada/catch_ex.exp (catch_exception_info)
7883 (catch_exception_entry, catch_assert_entry)
7884 (catch_unhandled_entry): Update.
7885 * gdb.ada/catch_assert_if.exp: Update expected results.
7886
b863685d
RB
78872019-07-10 Richard Bunt <richard.bunt@arm.com>
7888 Stephen Roberts <stephen.roberts@arm.com>
7889
7890 * gdb.base/define.exp: Restore original prompt.
7891
cb1e4e32
PA
78922019-07-09 Pedro Alves <palves@redhat.com>
7893
7894 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7895 breakpoints" output.
7896 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7897 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7898 throw" creates breakpoint.
7899 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7900 'type="catchpoint"'.
7901
b58a68fe
PA
79022019-07-09 Pedro Alves <palves@redhat.com>
7903
7904 PR c++/15468
7905 * gdb.cp/except-multi-location-lib.cc: New.
7906 * gdb.cp/except-multi-location-main.cc: New.
7907 * gdb.cp/except-multi-location.exp: New.
7908
0826779b
PW
79092019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7910
7911 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7912 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7913 argument and update callers.
7914
5b0e2db4
AB
79152019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7916
7917 * gdb.arch/amd64-break-on-asm-line.S: New file.
7918 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7919
1f6f6e21
PW
79202019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7921
7922 * gdb.base/printcmds.exp: Test printing C string and
7923 C wide string convenience vars without transiting via the inferior.
7924 Also make test names unique.
7925
ea142fbf
AH
79262019-07-08 Alan Hayward <alan.hayward@arm.com>
7927
5862c886 7928 PR breakpoints/25011
ea142fbf
AH
7929 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7930
213fd9fa
PA
79312019-07-04 Pedro Alves <palves@redhat.com>
7932
7933 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7934 body returned ok(0), break(3) or continue(4).
7935 * gdb.testsuite/foreach_with_prefix.exp: New file.
7936
2b40fda7
AH
79372019-07-04 Alan Hayward <alan.hayward@arm.com>
7938
7939 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7940
a26c8de0
PA
79412019-07-03 Pedro Alves <palves@redhat.com>
7942
7943 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7944 "return -code".
7945
5f4ba3e7
PA
79462019-07-03 Pedro Alves <palves@redhat.com>
7947
7948 PR cli/24732
7949 * gdb.base/shell.exp: Load completion-support.exp.
7950 Adjust expected error output. Add completion tests.
7951
a994424f
PA
79522019-07-03 Pedro Alves <palves@redhat.com>
7953
7954 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7955 string_to_regexp.
7956
3d9be6f5
PA
79572019-07-03 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7960 (expect_integer): Adjust to expect "-string".
7961 (expect_string): New.
7962 (all_options): Expect "-string".
7963 (test-flag, test-boolean): Adjust to expect "-string".
7964 (test-string): New proc.
7965 (top level): Call it.
7966
41fc454c
PA
79672019-07-03 Pedro Alves <palves@redhat.com>
7968
7969 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7970 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7971 the expected output in the success.
7972
b2b2a215
PA
79732019-07-03 Pedro Alves <palves@redhat.com>
7974
7975 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7976 Split one gdb_test_multiple call in two to avoid a race.
7977
fdbc9870
PA
79782019-07-03 Pedro Alves <palves@redhat.com>
7979
7980 * gdb.base/with.c: New file.
7981 * gdb.base/with.exp: New file.
7982
c6ac8931
PA
79832019-07-03 Pedro Alves <palves@redhat.com>
7984
7985 * gdb.base/settings.exp: Replace all references to "maint
7986 test-settings set" with references to "maint set test-settings",
7987 and all references to "maint test-settings show" with references
7988 to "maint show test-settings".
7989
970f9d09
PA
79902019-07-03 Pedro Alves <palves@redhat.com>
7991
7992 * gdb.base/settings.exp (test-string): Adjust expected out when
7993 testing "maint test-settings show filename"
7994
54d66006
PA
79952019-07-02 Pedro Alves <palves@redhat.com>
7996
7997 * gdb.base/options.exp (test-info-threads): New procedure.
7998 (top level): Call it.
7999
10d06d82
TT
80002019-06-28 Tom Tromey <tromey@adacore.com>
8001
8002 * gdb.dwarf2/ada-linkage-name.c: New file.
8003 * gdb.dwarf2/ada-linkage-name.exp: New file.
8004
3d507ff2
TT
80052019-06-27 Tom Tromey <tromey@adacore.com>
8006
d039f014 8007 PR c++/20020:
3d507ff2
TT
8008 * gdb.cp/constexpr-field.exp: Use setup_xfail.
8009
8af58ffe
TV
80102019-06-26 Tom de Vries <tdevries@suse.de>
8011
8012 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
8013
22e21752
TV
80142019-06-26 Tom de Vries <tdevries@suse.de>
8015
8016 * gdb.base/index-cache.exp: Add back missing debug option.
8017
b65b566c
PW
80182019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8019
8020 * gdb.base/alias.exp: Test non matching/non existing prefixes.
8021
5c2c8c69
TV
80222019-06-25 Tom de Vries <tdevries@suse.de>
8023
8024 PR testsuite/24727
8025 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
8026
164e3873
TV
80272019-06-24 Tom de Vries <tdevries@suse.de>
8028
8029 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
8030
824eacee
TV
80312019-06-24 Tom de Vries <tdevries@suse.de>
8032
8033 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
8034 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
8035 * gdb.trace/unavailable-dwarf-piece.exp: Same.
8036
385b97d3
TV
80372019-06-24 Tom de Vries <tdevries@suse.de>
8038
8039 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
8040
c596f180
TV
80412019-06-21 Tom de Vries <tdevries@suse.de>
8042
8043 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
8044
b13a7d03
TV
80452019-06-21 Tom de Vries <tdevries@suse.de>
8046
8047 PR testsuite/24518
8048 PR ada/24713
8049 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8050 index.
8051
899277ae
TT
80522019-06-19 Tom Tromey <tromey@adacore.com>
8053
8054 * gdb.ada/length_cond.exp: Add intro comment.
8055
680e1bee
TT
80562019-06-19 Tom Tromey <tromey@adacore.com>
8057
8058 * gdb.ada/length_cond.exp: New file.
8059 * gdb.ada/length_cond/length_cond.adb: New file.
8060 * gdb.ada/length_cond/pck.adb: New file.
8061 * gdb.ada/length_cond/pck.ads: New file.
8062
0ed4690a
TV
80632019-06-18 Tom de Vries <tdevries@suse.de>
8064
8065 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8066
d20ed5fd
TT
80672019-06-18 Tom Tromey <tromey@adacore.com>
8068
8069 * gdb.base/list0.h: Add comment explaining control character.
8070
86e04673
TV
80712019-06-18 Tom de Vries <tdevries@suse.de>
8072
8073 * boards/fission.exp: Break up long debug_flags line.
8074
c4973306
SM
80752019-06-16 Tom de Vries <tdevries@suse.de>
8076
8077 PR gdb/24445
8078 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8079 generated index.
8080
93cb9841
AB
80812019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8082
8083 PR gdb/24686
8084 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8085 improve detection of bug gdb/24541.
8086
399aaebd
SM
80872019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8088
8089 PR gdb/24669
8090 * gdb.base/index-cache.exp (uses_readnow,
8091 expecting_index_cache_use): Define global variable.
8092 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8093 expecting_index_cache_use.
8094
584a927c
AB
80952019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8096 Andrew Burgess <andrew.burgess@embecosm.com>
8097
8098 * gdb.fortran/pointers.f90: New file.
8099 * gdb.fortran/print_type.exp: New file.
8100 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8101 * gdb.fortran/vla-type.exp: Likewise.
8102 * gdb.fortran/vla-value.exp: Likewise.
8103 * gdb.mi/mi-vla-fortran.exp: Likewise.
8104
30056ea0
AB
81052019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8106
8107 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8108 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8109 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8110 as a stop reason.
8111
ec8e2b6d
AB
81122019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8113
8114 * gdb.base/annota1.exp: Update expected results.
8115 * gdb.cp/annota2.exp: Likewise.
8116 * gdb.cp/annota3.exp: Likewise.
8117
09e4c4e1
AB
81182019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8119
8120 * gdb.base/style-logging.exp: Remove path from test name.
8121
0735b091
TT
81222019-06-14 Tom Tromey <tromey@adacore.com>
8123
8124 PR gdb/24502:
8125 * gdb.base/style-logging.exp: New file.
8126
f5686554
TT
81272019-06-14 Tom Tromey <tromey@adacore.com>
8128
8129 * gdb.base/symfile-warn.exp: New file.
8130 * gdb.base/symfile-warn.c: New file.
8131
a0c1ffed
TT
81322019-06-14 Tom Tromey <tromey@adacore.com>
8133
8134 * gdb.base/annotate-symlink.exp: New file.
8135
f411722c
TT
81362019-06-14 Tom Tromey <tromey@adacore.com>
8137
8138 * gdb.ada/set_wstr.exp: Add reassignment test.
8139
4268ec18
TT
81402019-06-14 Tom Tromey <tromey@adacore.com>
8141
8142 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8143 'unchecked_access and 'unrestricted_access as well.
8144
9a9e394b
TT
81452019-06-14 Tom Tromey <tromey@adacore.com>
8146
8147 PR ada/24539:
8148 * gdb.ada/vla.exp: Update tests.
8149 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8150 pragma.
8151
4c048731
PA
81522019-06-13 Pedro Alves <palves@redhat.com>
8153
8154 * gdb.base/settings.exp (test-integer): Test junk after
8155 "unlimited".
8156
6665660a
PA
81572019-06-13 Pedro Alves <palves@redhat.com>
8158
8159 * gdb.base/options.exp (test-thread-apply): New.
8160 (top level): Call it.
8161
5d707134
PA
81622019-06-13 Pedro Alves <palves@redhat.com>
8163
8164 * gdb.base/options.exp (test-frame-apply): New.
8165 (top level): Test print commands with different "frame apply"
8166 prefixes.
8167
e2a689da
PA
81682019-06-13 Pedro Alves <palves@redhat.com>
8169
e79be6e5 8170 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
8171 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8172 'max_completions' parameter and handle it.
8173 (test_gdb_completion_offers_commands): New.
8174
90a1ef87
PA
81752019-06-13 Pedro Alves <palves@redhat.com>
8176
8177 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8178
d4c16835
PA
81792019-06-13 Pedro Alves <palves@redhat.com>
8180
8181 * gdb.base/options.exp (test-backtrace): New.
8182 (top level): Call it.
8183
2daf894e
PA
81842019-06-13 Pedro Alves <palves@redhat.com>
8185
8186 * gdb.guile/scm-frame-args.exp: Use "set print
8187 raw-frame-arguments" instead of "set print raw frame-arguments".
8188 * gdb.python/py-frame-args.exp: Likewise.
8189
e6ed716c
PA
81902019-06-13 Pedro Alves <palves@redhat.com>
8191
8192 * gdb.compile/compile.exp: Adjust expected output to option
8193 processing changes.
8194
7d8062de
PA
81952019-06-13 Pedro Alves <palves@redhat.com>
8196
8197 * gdb.base/options.exp: Build executable.
8198 (test-print): New procedure.
8199 (top level): Call it, once for "print" and another for "compile
8200 print".
8201
9d0faba9
PA
82022019-06-13 Pedro Alves <palves@redhat.com>
8203
8204 * gdb.base/options.c: New file.
8205 * gdb.base/options.exp: New file.
8206
dee7b4c8
PA
82072019-06-13 Pedro Alves <palves@redhat.com>
8208
8209 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8210 that "o" is ambiguous.
8211
dca0f6c0
PA
82122019-06-13 Pedro Alves <palves@redhat.com>
8213
8214 * gdb.base/settings.c: New file.
8215 * gdb.base/settings.exp: New file.
8216
ccf46844
PA
82172019-06-13 Pedro Alves <palves@redhat.com>
8218
8219 * gdb.base/completion.exp: Fix comment typo.
8220
b9a3f842
PA
82212019-06-13 Pedro Alves <palves@redhat.com>
8222
8223 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8224 foo --1" test.
8225
d106773e
PA
82262019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8227
8228 * gdb.fortran/block-data.f: New.
8229 * gdb.fortran/block-data.exp: New.
8230
fea82da0
TV
82312019-06-11 Tom de Vries <tdevries@suse.de>
8232
8233 PR testsuite/24521
8234 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8235 message.
8236
8c2e74f1
TV
82372019-06-11 Tom de Vries <tdevries@suse.de>
8238
8239 PR testsuite/24521
8240 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8241
b49851c8
TV
82422019-06-11 Tom de Vries <tdevries@suse.de>
8243
8244 * boards/readnow.exp: New file.
8245
a7067863
AB
82462019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8247
8248 * gdb.fortran/vla-sizeof.exp: Update expected results.
8249
1a3da2cd
AB
82502019-06-06 Amos Bird <amosbird@gmail.com>
8251
8252 * gdb.base/annota1.exp (thread_switch): Add test for
8253 thread-exited annotation.
8254
3847a7bf
TT
82552019-06-06 Tom Tromey <tromey@adacore.com>
8256
8257 * gdb.base/maint.exp: Expect command started/finished output.
8258
0088ba59
AB
82592019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8260
8261 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8262 comment.
8263 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8264
312617a3
AB
82652019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8266
8267 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8268 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8269 * gdb.arch/riscv-unwind-long-insn.c: New file.
8270 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8271
e1f2e1a2
CB
82722019-06-04 Christian Biesinger <cbiesinger@google.com>
8273
d3238f7d 8274 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 8275
206584bd
PW
82762019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8277
8278 * lib/gdb.exp (help_list_trailer): New regexp variable
8279 factorizing the help trailer message.
8280 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8281 arg to allow to better factorize various tests.
8282 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8283 (test_prefix_command_help): Use help_list_trailer.
8284 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8285 * gdb.guile/scm-cmd.exp: Likewise.
8286 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8287 * gdb.base/help.exp: Use test_user_defined_class_help.
8288 * gdb.base/style.exp: Add tests for styling of help and apropos.
8289 * lib/gdb-utils.exp (style): Add title and highlight styles.
8290
708dc93e
PW
82912019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8292
8293 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8294 $_shell_exitsignal.
8295 * gdb.base/default.exp: Update for new convenience variables.
8296
f49055a5
TT
82972019-05-29 Tom Tromey <tromey@adacore.com>
8298
8299 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8300 to "break complete ada" test case's regexp.
8301
4330d61d
TT
83022019-05-29 Tom Tromey <tromey@adacore.com>
8303
8304 PR c++/20020:
8305 * gdb.cp/constexpr-field.exp: New file.
8306 * gdb.cp/constexpr-field.cc: New file.
8307
000439d5
TT
83082019-05-29 Tom Tromey <tromey@adacore.com>
8309
8310 * gdb.base/finish.exp (finish_no_print): New proc.
8311 (finish_tests): Call it.
8312
5a01c34c
TV
83132019-05-24 Tom de Vries <tdevries@suse.de>
8314
8315 * gdb.dwarf2/gdb-add-index.exp: New file.
8316
18125b16
TT
83172019-05-22 Tom Tromey <tromey@adacore.com>
8318
8319 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8320 * gdb.base/style.exp: Use "style".
8321 * lib/gdb-utils.exp (style): New proc.
8322
af1a8d03
TV
83232019-05-22 Tom de Vries <tdevries@suse.de>
8324
8325 * gdb.base/align.exp: Require c++11.
8326
e7fe496b
TV
83272019-05-22 Tom de Vries <tdevries@suse.de>
8328
8329 PR testsuite/24586
8330 * gdb.python/py-mi-var-info-path-expression.exp: Call
8331 mi_skip_python_tests to check if python is supported.
8332
8fca4da0
AH
83332019-05-22 Alan Hayward <alan.hayward@arm.com>
8334
8335 * gdb.arch/aarch64-pauth.c: New test.
8336 * gdb.arch/aarch64-pauth.exp: New file.
8337
b7060614
AH
83382019-05-22 Alan Hayward <alan.hayward@arm.com>
8339
8340 * README (Re-running Tests Outside The Testsuite): New section.
8341
669d0468
TV
83422019-05-21 Tom de Vries <tdevries@suse.de>
8343
8344 * gdb.arch/amd64-eval.exp: Require c++11.
8345 * gdb.base/max-depth.exp: Same.
8346 * gdb.compile/compile-cplus-array-decay.exp: Same.
8347 * gdb.cp/meth-typedefs.exp: Same.
8348 * gdb.cp/subtypes.exp: Same.
8349 * gdb.cp/temargs.exp: Same.
8350
ce3ebcaa
AH
83512019-05-21 Alan Hayward <alan.hayward@arm.com>
8352
8353 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8354
34d11c68
AB
83552019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8356
8357 PR gdb/18644
8358 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8359 * gdb.fortran/printing-types.exp: Add new test.
8360 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8361 testing.
8362 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8363 setup_kfail call.
8364
87781e84
AH
83652019-05-17 Alan Hayward <alan.hayward@arm.com>
8366
8367 * README (Running the Testsuite): Change example.
8368 (Testsuite Parameters): Remove TRANSCRIPT.
8369 * lib/gdb.exp: Remove TRANSCRIPT check.
8370
b420b89e
AH
83712019-05-17 Alan Hayward <alan.hayward@arm.com>
8372
8373 * README (Testsuite Parameters): Add replay logging to
8374 GDBSERVER_DEBUG.
8375 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8376 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8377 as a comma separated list.
8378 (gdb_debug_init): Override procedure.
8379
408e9b8b
AH
83802019-05-17 Alan Hayward <alan.hayward@arm.com>
8381
8382 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8383 (gdb_write_cmd_file): New procedure.
8384 * lib/gdbserver-support.exp (gdbserver_start): Call
8385 gdbserver_write_cmd_file.
8386 (gdbserver_write_cmd_file): New procedure.
8387
f9e2e39d
AH
83882019-05-17 Alan Hayward <alan.hayward@arm.com>
8389
8390 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8391 (delete_breakpoints): Likewise.
8392 (gdb_run_cmd): Likewise.
8393 (gdb_start_cmd): Likewise.
8394 (gdb_starti_cmd): Likewise.
8395 (gdb_internal_error_resync): Likewise.
8396 (gdb_test_multiple): Likewise.
8397 (gdb_reinitialize_dir): Likewise.
8398 (default_gdb_exit): Likewise.
8399 (gdb_file_cmd): Mark kill as optional.
8400 (default_gdb_start): Call gdb_stdin_log_init.
8401 (send_gdb): Call gdb_stdin_log_write.
8402 (rerun_to_main): Mark Y as an answer.
8403 (gdb_stdin_log_init): New function.
8404 (gdb_stdin_log_write): Likewise.
8405
81f47ac2
AH
84062019-05-17 Alan Hayward <alan.hayward@arm.com>
8407
8408 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8409 * gdb.base/debug-expr.exp: Likewise.
8410 * gdb.base/foll-fork.exp: Likewise.
8411 * gdb.base/foll-vfork.exp: Likewise.
8412 * gdb.base/fork-print-inferior-events.exp: Likewise.
8413 * gdb.base/gdb-sigterm.exp: Likewise.
8414 * gdb.base/gdbinit-history.exp: Likewise.
8415 * gdb.base/osabi.exp: Likewise.
8416 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8417 * gdb.base/ui-redirect.exp: Likewise.
8418 * gdb.gdb/unittest.exp: Likewise.
8419 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8420 * gdb.mi/mi-watch.exp: Likewise.
8421 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8422 * gdb.mi/user-selected-context-sync.exp: Likewise.
8423 * gdb.python/python.exp: Disable debug test when debugging.
8424 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8425 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8426 Likewise.
8427 * gdb.threads/stepi-random-signal.exp: Likewise.
8428
29b52314
AH
84292019-05-17 Alan Hayward <alan.hayward@arm.com>
8430
8431 * Makefile.in: Pass through GDB_DEBUG.
8432 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8433 (gdb,debug): Add board setting.
8434 * lib/gdb.exp (default_gdb_start): Start debugging.
8435 (gdb_debug_enabled): New procedure.
8436 (gdb_debug_init): Likewise.
29b52314
AH
8437
84382019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 8439
29b52314
AH
8440 * Makefile.in: Pass through GDB_DEBUG.
8441 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
8442 (gdb,debug): Add board setting.
8443 * lib/gdb.exp (default_gdb_start): Start debugging.
8444 (gdb_debug_enabled): New procedure.
8445 (gdb_debug_init): Likewise.
29b52314 8446
ca1285d1
AH
84472019-05-17 Alan Hayward <alan.hayward@arm.com>
8448
8449 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8450
f3a09c80
AH
84512019-05-17 Alan Hayward <alan.hayward@arm.com>
8452
8453 * gdb.base/ui-redirect.exp: Test redirection.
8454
26648588
JV
84552019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8456
8457 * gdb.mi/mi-complete.exp: New file.
8458 * gdb.mi/mi-complete.cc: Likewise.
8459
14237686
AB
84602019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8461
8462 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8463 indexed and sliced arrays, and pointers to arrays.
8464
e7bd7fba
TT
84652019-05-14 Tom Tromey <tromey@adacore.com>
8466
8467 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8468 styling test.
8469
2764128d
TV
84702019-05-14 Tom de Vries <tdevries@suse.de>
8471
8472 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8473 selection entry encoding.
8474
71bed2db
TT
84752019-05-10 Tom Tromey <tromey@adacore.com>
8476
8477 * gdb.ada/info_exc.exp: Add "complete" test.
8478
63b667ad
TV
84792019-05-09 Tom de Vries <tdevries@suse.de>
8480
8481 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8482 CU-relative.
8483
9cfd2b89
TV
84842019-05-09 Tom de Vries <tdevries@suse.de>
8485
8486 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8487 CU-relative.
8488
2228ef77
XR
84892019-05-08 Joel Brobecker <brobecker@adacore.com>
8490
8491 * gdb.ada/frame_arg_lang.exp: New testcase.
8492 * gdb.ada/frame_arg_lang/bla.adb: New file.
8493 * gdb.ada/frame_arg_lang/pck.ads: New file.
8494 * gdb.ada/frame_arg_lang/pck.adb: New file.
8495 * gdb.ada/frame_arg_lang/foo.c: New file.
8496
80e55b13
TT
84972019-05-08 Tom Tromey <tromey@adacore.com>
8498
8499 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8500
9d3421af
TT
85012019-05-08 Tom Tromey <tromey@adacore.com>
8502
8503 * gdb.base/ptype-offsets.exp: Update tests.
8504
844333e2
TT
85052019-05-08 Tom Tromey <tromey@adacore.com>
8506
8507 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8508 cases.
8509 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8510 "short".
8511
988915ee
TT
85122019-05-08 Tom Tromey <tromey@adacore.com>
8513
8514 * gdb.ada/vla.exp: New file.
8515 * gdb.ada/vla/vla.adb: New file.
8516
7bd55dac
TV
85172019-05-07 Tom de Vries <tdevries@suse.de>
8518
8519 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8520
75f06e9d
TV
85212019-05-07 Tom de Vries <tdevries@suse.de>
8522
8523 PR testsuite/24522
8524 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8525 section.
8526
77e7aaa4
TV
85272019-05-07 Tom de Vries <tdevries@suse.de>
8528
8529 PR testsuite/24522
8530 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8531 .debug_aranges section.
8532
456ba0fa
TV
85332019-05-07 Tom de Vries <tdevries@suse.de>
8534
8535 PR testsuite/24159
8536 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8537
5a56d6a6
TV
85382019-05-06 Tom de Vries <tdevries@suse.de>
8539
8540 * lib/gdb.exp (exec_has_index_section): New proc.
8541 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8542 section.
8543
9d6d4be8
TV
85442019-05-04 Tom de Vries <tdevries@suse.de>
8545
8546 * boards/cc-with-debug-names.exp: New file.
8547
222a8d25
TT
85482019-05-03 Tom Tromey <tromey@adacore.com>
8549
8550 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8551 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8552 * gdb.ada/char_enum.exp: Add test.
8553
0fdfd794
TV
85542019-05-03 Tom de Vries <tdevries@suse.de>
8555
8556 * boards/cc-with-gdb-index.exp: New file.
8557
80062eb9
AB
85582019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8559
8560 * gdb.rust/simple.exp: Add new test case.
8561 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8562 (main): Initialise an instance of the new struct.
8563
4504bbde
TT
85642019-05-01 Tom Tromey <tromey@adacore.com>
8565
8566 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8567 record.
8568 (NPR): New variable.
8569 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8570 test.
8571
d48e62f4
TT
85722019-05-01 Tom Tromey <tromey@adacore.com>
8573
8574 * gdb.ada/packed_array_assign.exp: Add packed assignment
8575 regression test.
8576
f59f30f5
TV
85772019-05-01 Tom de Vries <tdevries@suse.de>
8578
8579 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8580
b70bfc54
TV
85812019-05-01 Tom de Vries <tdevries@suse.de>
8582
8583 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8584
15f18d14
AT
85852019-04-30 Ali Tamur <tamur@google.com>
8586
8587 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8588
2ff0a947
TT
85892019-04-30 Tom Tromey <tromey@adacore.com>
8590
8591 * lib/ada.exp (find_ada_tool): New proc.
8592 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8593 * gdb.ada/catch_ex_std.exp: New file.
8594 * gdb.ada/catch_ex_std/foo.adb: New file.
8595 * gdb.ada/catch_ex_std/some_package.adb: New file.
8596 * gdb.ada/catch_ex_std/some_package.ads: New file.
8597
a776957c
TT
85982019-04-30 Tom Tromey <tromey@adacore.com>
8599
8600 PR c++/24470:
8601 * gdb.cp/temargs.cc: Add test code from PR.
8602
bc68014d
AB
86032019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8604
8605 * gdb.fortran/vla-datatypes.exp: Update expected results.
8606 * gdb.fortran/vla-ptype.exp: Likewise.
8607 * gdb.fortran/vla-type.exp: Likewise.
8608 * gdb.fortran/vla-value.exp: Likewise.
8609
f1fdc960
AB
86102019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8611
8612 * gdb.fortran/ptr-indentation.exp: Update expected results.
8613 * gdb.fortran/ptype-on-functions.exp: Likewise.
8614 * gdb.fortran/vla-ptr-info.exp: Likewise.
8615 * gdb.fortran/vla-value.exp: Likewise.
8616
bf7a4de1
AB
86172019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8618
8619 * gdb.fortran/ptype-on-functions.exp: New file.
8620 * gdb.fortran/ptype-on-functions.f90: New file.
8621
bbe75b9d
AB
86222019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8623
8624 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8625 case void string.
8626
1db455a7
AB
86272019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8628
8629 * gdb.fortran/complex.exp: Expand.
8630 * gdb.fortran/complex.f: Renamed to...
8631 * gdb.fortran/complex.f90: ...this, and extended to add more
8632 complex values.
8633
b6d03bb2
AB
86342019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8635
8636 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8637 MODULO, CMPLX.
8638
2e62ab40
AB
86392019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8640 Richard Bunt <richard.bunt@arm.com>
8641
8642 * gdb.base/max-depth.c: New file.
8643 * gdb.base/max-depth.exp: New file.
8644 * gdb.python/py-nested-maps.c: New file.
8645 * gdb.python/py-nested-maps.exp: New file.
8646 * gdb.python/py-nested-maps.py: New file.
8647 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8648 (test_all_common): Call test_max_depth.
8649 * gdb.fortran/max-depth.exp: New file.
8650 * gdb.fortran/max-depth.f90: New file.
8651 * gdb.go/max-depth.exp: New file.
8652 * gdb.go/max-depth.go: New file.
8653 * gdb.modula2/max-depth.exp: New file.
8654 * gdb.modula2/max-depth.c: New file.
8655 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8656
d2b584a5
TV
86572019-04-29 Tom de Vries <tdevries@suse.de>
8658
8659 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8660
136afab8
PW
86612019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8662
8663 * gdb.base/callexit.exp: Test may-call-functions off.
8664
725cbb63
KS
86652019-04-25 Keith Seitz <keiths@redhat.com>
8666
8667 PR c++/24367
8668 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8669 (another_incomplete_struct, test_incomplete): New definitions.
8670 (main): Use new definitions.
8671 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8672 functions.
8673
701adfb0
PA
86742019-04-25 Ali Tamur <tamur@google.com>
8675
8676 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8677
82433e3e
SDJ
86782019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8679
8680 PR corefiles/11608
8681 PR corefiles/18187
8682 * gdb.base/coredump-filter-build-id.exp: New file.
8683
dd06d4d6
AH
86842019-04-25 Alan Hayward <alan.hayward@arm.com>
8685
e79be6e5
SM
8686 * Makefile.in: Pass through GDBSERVER_DEBUG.
8687 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8688 (gdbserver,debug): Add board setting.
8689 * gdb.trace/tspeed.exp: Skip when debugging.
8690 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8691 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8692
1670072e
TT
86932019-04-24 Tom Tromey <tromey@adacore.com>
8694
8695 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8696 Rust.
8697
a59240a4
TT
86982019-04-24 Tom Tromey <tromey@adacore.com>
8699
8700 * gdb.arch/amd64-eval.exp: Test bitfield return.
8701 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8702 (class Foo) <return_bitfields>: New method.
8703 (main): Call it.
8704
b907456c
AB
87052019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8706
8707 * gdb.cp/many-args.cc: New file.
8708 * gdb.cp/many-args.exp: New file.
8709
5c565afd
TV
87102019-04-23 Tom de Vries <tdevries@suse.de>
8711
8712 PR gdb/24433
8713 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8714
ba22ff86
AH
87152019-04-23 Alan Hayward <alan.hayward@arm.com>
8716
8717 * gdb.trace/backtrace.exp: Use nopie flag.
8718 * gdb.trace/circ.exp: Likewise.
8719 * gdb.trace/collection.exp: Likewise.
8720 * gdb.trace/ftrace.exp: Likewise.
8721 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8722 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8723 * gdb.trace/qtro.exp: Likewise.
8724 * gdb.trace/read-memory.exp: Likewise.
8725 * gdb.trace/report.exp: Likewise.
8726 * gdb.trace/tfile.exp: Likewise.
8727 * gdb.trace/tfind.exp: Likewise.
8728 * gdb.trace/unavailable.exp: Likewise.
8729
7905fc35
PA
87302019-04-22 Pedro Alves <palves@redhat.com>
8731
8732 * gdb.base/solib-probes-nosharedlibrary.c,
8733 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8734
8ecb59f8
TT
87352019-04-19 Tom Tromey <tromey@adacore.com>
8736
8737 * gdb.ada/ptype_union.c: New file.
8738 * gdb.ada/ptype_union.exp: New file.
8739
62160ec9
TT
87402019-04-19 Tom Tromey <tromey@adacore.com>
8741
8742 PR symtab/24423:
8743 * gdb.base/list0.h (foo): Add a control-l character.
8744
36cd4ba5
TV
87452019-04-18 Tom de Vries <tdevries@suse.de>
8746
8747 PR gdb/24433
8748 * boards/local-board.exp: Set sysroot to "".
8749
b73715df
TV
87502019-04-18 Tom de Vries <tdevries@suse.de>
8751 Pedro Alves <palves@redhat.com>
8752
8753 PR gdb/24454
8754 * gdb.threads/vfork-follow-child-exec.c: New file.
8755 * gdb.threads/vfork-follow-child-exec.exp: New file.
8756 * gdb.threads/vfork-follow-child-exit.c: New file.
8757 * gdb.threads/vfork-follow-child-exit.exp: New file.
8758
4aa866af
LS
87592019-04-15 Leszek Swirski <leszeks@google.com>
8760
8761 * gdb.arch/amd64-eval.cc: New file.
8762 * gdb.arch/amd64-eval.exp: New file.
8763
e5a1a79a
AH
87642019-04-11 Alan Hayward <alan.hayward@arm.com>
8765
8766 * gdb.server/sysroot.c: New test.
8767 * gdb.server/sysroot.exp: New file.
8768 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8769 matching param.
8770
41077b66
AB
87712019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8772
8773 * gdb.base/align.exp: Extend test to cover structures containing
8774 only static fields.
8775
c30391f8
TV
87762019-04-11 Tom de Vries <tdevries@suse.de>
8777
8778 * boards/cc-with-dwz-m.exp: New file.
8779 * boards/cc-with-dwz.exp: New file.
8780 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8781
e242fd12
SM
87822019-04-09 Simon Marchi <simon.marchi@efficios.com>
8783
8784 * gdb.base/start-cpp.exp: New file.
8785 * gdb.base/start-cpp.cc: New file.
8786
2b0c8b01
KB
87872019-04-08 Kevin Buettner <kevinb@redhat.com>
8788
8789 * gdb.python/py-thrhandle.exp: Adjust tests to call
8790 thread_from_handle instead of thread_from_thread_handle.
8791
947210e5
KB
87922019-04-08 Kevin Buettner <kevinb@redhat.com>
8793
8794 * gdb.python/py-thrhandle.exp: Add tests for
8795 gdb.InferiorThread.handle.
8796
d7df6549
AB
87972019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8798
8799 * gdb.python/py-function.exp: Check calling helper function from
8800 all languages.
8801 * lib/gdb.exp (gdb_supported_languages): New proc.
8802
8bdc1658
AB
88032019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8804
8805 * gdb.base/complex-parts.c: New file.
8806 * gdb.base/complex-parts.exp: New file.
8807
05caa1d2
TT
88082019-04-01 Tom Tromey <tromey@adacore.com>
8809
8810 PR symtab/23331:
8811 * gdb.dwarf2/dw2-ranges-main.c: New file.
8812 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8813 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8814
7734102d
EZ
88152019-03-30 Simon Marchi <simark@simark.ca>
8816
8817 * gdb.base/default.exp: Add values for $_gdb_major and
8818 $_gdb_minor.
8819
188e1fa9
TT
88202019-03-29 Tom Tromey <tromey@adacore.com>
8821
8822 * gdb.base/help.exp: Tighten apropos regexp.
8823
2880242d
KS
88242019-03-29 Keith Seitz <keiths@redhat.com>
8825
8826 * gdb.fortran/array-bounds.exp: New file.
8827 * gdb.fortran/array-bounds.f90: New file.
8828
077cad8e
PW
88292019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8830
8831 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8832
80047cfc
PW
88332019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8834
8835 * gdb.multi/hello.c (main): Increase alarm timer.
8836
f489207e
SL
88372019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8838
8839 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8840 factor when no hardware watchpoint support.
8841
c92df149
AH
88422019-03-28 Alan Hayward <alan.hayward@arm.com>
8843 Pedro Alves <palves@redhat.com>
8844
8845 * boards/local-board.exp: set sysroot to /.
8846
933aebfa
AH
88472019-03-27 Alan Hayward <alan.hayward@arm.com>
8848
8849 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8850 in child.
8851
9f9aa852
AB
88522019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8853
8854 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8855 field.
8856 (make_container): Initialise new field.
8857 * gdb.python/py-prettyprint.exp: Add new tests.
8858 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8859 <display_hint>: New method.
8860
3714a195
AB
88612019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8862
8863 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8864 gdb_continue_to_breakpoint more throughout this test.
8865 (run_lang_tests) Supply unique test names, and use
8866 gdb_test_no_output.
8867
18c77628
AB
88682019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8869
8870 * gdb.base/finish-pretty.exp: Update expected results.
8871 * gdb.base/pretty-print.c: New file.
8872 * gdb.base/pretty-print.exp: New file.
8873
9a93502f
PA
88742019-03-25 Pedro Alves <palves@redhat.com>
8875
8876 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8877 move comments outside list. Append '-i "" eof' section.
8878
968aa7ae
AH
88792019-03-22 Alan Hayward <alan.hayward@arm.com>
8880
34a7f2a4 8881 PR testsuite/25016
968aa7ae
AH
8882 * README: Add pie options.
8883 * gdb.base/break-interp.exp: Ensure pie is disabled.
8884 * gdb.base/dump.exp: Likewise.
8885 * lib/gdb.exp (gdb_compile): Add pie option.
8886
4c7d57e7
TT
88872019-03-19 Tom Tromey <tromey@adacore.com>
8888
8889 * gdb.mi/mi2-cli-display.c: New file.
8890 * gdb.mi/mi2-cli-display.exp: New file.
8891
bff8c71f
TT
88922019-03-18 Joel Brobecker <brobecker@adacore.com>
8893 Tom Tromey <tromey@adacore.com>
8894
8895 * gdb.ada/ptype_array/pck.adb: New file.
8896 * gdb.ada/ptype_array/pck.ads: New file.
8897 * gdb.ada/ptype_array/foo.adb: New file.
8898 * gdb.ada/ptype_array.exp: New file.
8899
d085f989
TT
89002019-03-14 Tom Tromey <tromey@adacore.com>
8901
8902 * gdb.base/style.exp: Add "set style sources" test.
8903
b4be1b06
SM
89042019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8905
8906 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8907 * mi-breakpoint-multiple-locations.exp: ... this.
8908 (make_breakpoints_pattern): New proc.
8909 (do_test): Add mi_version parameter, test -break-insert,
8910 -break-info and =breakpoint-created.
8911
7cde5fc2
AB
89122019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8913
8914 * config/default.exp: Remove 'load_lib gdb.exp'.
8915 * config/monitor.exp: Likewise.
8916 * config/sid.exp: Likewise.
8917 * config/sim.exp: Likewise.
8918 * config/slite.exp: Likewise.
8919 * config/unix.exp: Likewise.
8920 * gdb.base/default.exp: Remove unhelpful comment.
8921
efbecbc1
AB
89222019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8923
8924 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8925
0841c79a
AB
89262019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8927
8928 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8929
4a270568
AB
89302019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8931
8932 * gdb.fortran/type-kinds.exp: Update expected results.
8933
067630bd
AB
89342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8935
8936 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8937
3be47f7a
AB
89382019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8939
8940 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8941 function.
8942 (test_basic_parsing_of_type_kinds): Expand types tested.
8943 (test_parsing_invalid_type_kinds): New function.
8944
4d00f5d8
AB
89452019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8946
8947 * gdb.fortran/intrinsics.exp: New file.
8948 * gdb.fortran/intrinsics.f90: New file.
8949 * gdb.fortran/type-kinds.exp: New file.
8950
c8f91604
AB
89512019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8952
8953 * gdb.fortran/dot-ops.exp: New file.
8954
dd9f2c76
AB
89552019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8956
8957 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8958 Check upper and lower case logical literals.
8959
84ec9724
AB
89602019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8961
8962 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8963 Remove duplicate tests.
8964
c3734e09
AH
89652019-03-06 Alan Hayward <alan.hayward@arm.com>
8966
8967 * lib/gdb.exp (builtin_cd): rename of cd.
8968 (cd): Override builtin.
8969
aa3cfbda
RB
89702019-03-06 Richard Bunt <richard.bunt@arm.com>
8971
8972 * gdb.fortran/function-calls.exp: New file.
8973 * gdb.fortran/function-calls.f90: New test.
8974
7b63ad86
RB
89752019-03-04 Richard Bunt <richard.bunt@arm.com>
8976
8977 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8978 on user program standard output.
8979 * gdb.fortran/short-circuit-argument-list.f90: Record function
8980 calls.
8981
01abb042
AH
89822019-02-28 Alan Hayward <alan.hayward@arm.com>
8983
c3734e09
AH
8984 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8985 failure.
01abb042 8986
92137da0
RO
89872019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8988
8989 PR gdb/8527
8990 * gdb.base/interrupt-daemon-attach.c,
8991 gdb.base/interrupt-daemon-attach.exp: New test.
8992
5862844d
PA
89932019-02-27 Pedro Alves <palves@redhat.com>
8994
8995 * gdb.base/page.exp: Add tests for "set width/height -1".
8996
8ed25214
PA
89972019-02-27 Pedro Alves <palves@redhat.com>
8998
8999 * gdb.base/page.exp: Add tests for "set/show width/height" with
9000 "infinite" values.
9001
6c28e44a
TT
90022019-02-27 Tom Tromey <tromey@adacore.com>
9003
9004 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
9005 2.4.
9006 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
9007 workaround.
9008
bf9a735e
AB
90092019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
9010
9011 * gdb.base/align.exp: Extend to compile in both C and C++, and add
9012 tests for structs with static members.
9013
8791793c
TT
90142019-02-26 Tom Tromey <tromey@adacore.com>
9015
9016 * gdb.python/py-value.exp (test_value_from_buffer): Check for
9017 ValueError, not TypeError.
9018
bc2a507e
KB
90192019-02-26 Kevin Buettner <kevinb@redhat.com>
9020
9021 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
9022 call from main program.
9023
e0e7d3bd
JB
90242019-02-23 Joel Brobecker <brobecker@adacore.com>
9025
9026 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
9027 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
9028 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
9029 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
9030 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
9031
9600246d
KS
90322019-02-22 Keith Seitz <keiths@redhat.com>
9033
9034 PR symtab/23853
9035 * gdb.base/symlink-sourcefile.c: New file.
9036 * gdb.base/symlink-sourcefile.exp: New file.
9037
0c95f9ed
TT
90382019-02-20 Tom Tromey <tom@tromey.com>
9039
9040 * gdb.base/info_qt.exp: Update.
9041
6caa91b6
SM
90422019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
9043
9044 * gdb.base/source.exp: Move "error in sourced script" code to
9045 the end.
9046 * gdb.base/source-error.gdb: Move contents to
9047 source-error-1.gdb. Add new code to source source-error-1.gdb.
9048 * gdb.base/source-error-1.gdb: New file, from previous
9049 source-error.gdb.
9050
6506371f
TT
90512019-02-17 Tom Tromey <tom@tromey.com>
9052
9053 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9054 for macro styling.
9055 * gdb.base/style.c (SOME_MACRO): New macro.
9056
a0087920
TT
90572019-02-17 Tom Tromey <tom@tromey.com>
9058
9059 * gdb.base/style.exp: Add line-wrapping tests.
9060 * gdb.base/page.exp: Add test for quitting during pagination.
9061
a2cd4f14
JB
90622019-02-17 Joel Brobecker <brobecker@adacore.com>
9063
9064 * gdb.ada/big_packed_array: New testcase.
9065 * gdb.ada/homonym.exp: Fix incorrect expected output for
9066 "break <homonym__get_value>" test.
9067
9d70ffbc
WP
90682019-02-13 Weimin Pan <weimin.pan@oracle.com>
9069
9070 PR breakpoints/21870
9071 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9072 and prepare_for_testing. Add comment.
9073 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9074 redundant cleanup call. Clean up comment.
9075
01c7ae81
WP
90762019-02-12 Weimin Pan <weimin.pan@oracle.com>
9077
9078 PR breakpoints/21870
9079 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9080 * gdb.arch/aarch64-dbreg-contents.c: New file.
9081
aff29d1c
JB
90822019-02-10 Joel Brobecker <brobecker@adacore.com>
9083
9084 * gdb.ada/mi_ref_changeable: New testcase.
9085
df0da8a2
AH
90862019-02-07 Alan Hayward <alan.hayward@arm.com>
9087
9088 * gdb.base/attach.exp: Add double attach test.
9089
bd447abb
SM
90902019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9091
9092 * lib/gdb.exp (default_gdb_start): Don't match pagination
9093 prompt.
9094 (gdb_init): Set stty_init.
9095
1dbc40b9
TT
90962019-01-27 Tom Tromey <tom@tromey.com>
9097
9098 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9099 skip_python_tests.
9100
353229bf
AH
91012019-01-24 Alan Hayward <alan.hayward@arm.com>
9102
9103 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9104 New structure.
9105 (struct struct_static_02_02): Likewise.
9106 (struct struct_static_02_03): Likewise.
9107 (struct struct_static_02_04): Likewise.
9108 (struct struct_static_04_01): Likewise.
9109 (struct struct_static_04_02): Likewise.
9110 (struct struct_static_04_03): Likewise.
9111 (struct struct_static_04_04): Likewise.
9112 (struct struct_static_06_01): Likewise.
9113 (struct struct_static_06_02): Likewise.
9114 (struct struct_static_06_03): Likewise.
9115 (struct struct_static_06_04): Likewise.
9116 (cmp_struct_static_02_01): Likewise.
9117 (cmp_struct_static_02_02): Likewise.
9118 (cmp_struct_static_02_03): Likewise.
9119 (cmp_struct_static_02_04): Likewise.
9120 (cmp_struct_static_04_01): Likewise.
9121 (cmp_struct_static_04_02): Likewise.
9122 (cmp_struct_static_04_03): Likewise.
9123 (cmp_struct_static_04_04): Likewise.
9124 (cmp_struct_static_06_01): Likewise.
9125 (cmp_struct_static_06_02): Likewise.
9126 (cmp_struct_static_06_03): Likewise.
9127 (cmp_struct_static_06_04): Likewise.
9128 (call_all): Test new structs.
9129 * gdb.base/infcall-nested-structs.exp: Likewise.
9130
73021deb
AH
91312019-01-21 Alan Hayward <alan.hayward@arm.com>
9132 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9133
fc65c7db
AH
91342019-01-21 Alan Hayward <alan.hayward@arm.com>
9135 * gdb.base/stack-protector.c: New test.
9136 * gdb.base/stack-protector.exp: New file.
9137 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9138 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9139 option.
9140 (gdb_compile): Remove stack protector for GCC and prevent
9141 recursion.
9142
c24bdb02
KS
91432019-01-16 Keith Seitz <keiths@redhat.com>
9144
9145 PR gdb/23773
9146 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9147
6f072a10
PFC
91482019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9149
9150 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9151 aliases.
9152 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9153 tests.
9154 * gdb.arch/powerpc-vector-regs.c: New file.
9155 * gdb.arch/powerpc-vector-regs.exp: New file.
9156
a7b8d682
PFC
91572019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9158
9159 * gdb.arch/altivec-regs.exp: Fix the list passed to
9160 gdb_expect_list when testing "info vector".
9161
6eb6fb67
AB
91622019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9163
9164 * gdb.base/style.exp: Don't include path in testname.
9165
b56f80d8
KS
91662019-01-10 Keith Seitz <keiths@redhat.com>
9167
9168 PR gdb/23712
9169 PR symtab/23010
9170 * gdb.dwarf2/multidictionary.exp: New file.
9171
041be526
SM
91722019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9173
9174 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9175 (test_gnuv3_style_demangling): ... this.
9176 (test_lucid_style_demangling): Remove.
9177 (test_arm_style_demangling): Remove.
9178 (test_hp_style_demangling): Remove.
9179 (do_tests): Remove calls to the above.
9180
d820d0c3
AB
91812019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9182
9183 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9184 case.
9185
f097f5ad
TT
91862019-01-06 Tom Tromey <tom@tromey.com>
9187
9188 PR gdb/28155:
9189 * gdb.dwarf2/typedef-void-finish.exp: New file.
9190
2cd8cc0b
TT
91912018-12-28 Tom Tromey <tom@tromey.com>
9192 Simon Marchi <simark@simark.ca>
9193
9194 * gdb.base/jit-exec.exp: New file.
9195 * gdb.base/jit-exec.c: New file.
9196 * gdb.base/jit-execd.c: New file.
9197
35fb8261
TT
91982018-12-28 Tom Tromey <tom@tromey.com>
9199
9200 * gdb.base/style.exp: Update test to check for address styling.
9201
47fd17cd
TT
92022018-12-28 Tom Tromey <tom@tromey.com>
9203
9204 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9205 message.
9206
d47032b7
TT
92072018-12-28 Tom Tromey <tom@tromey.com>
9208
9209 * gdb.base/style.exp: Add test for version number styling.
9210
af79b68d
TT
92112018-12-28 Tom Tromey <tom@tromey.com>
9212
9213 * gdb.base/style.exp: Add test for print_address_symbolic.
9214
0bb296cb
TT
92152018-12-28 Tom Tromey <tom@tromey.com>
9216
9217 * gdb.base/style.exp: Add test for breakpoint setting.
9218
80ae2043
TT
92192018-12-28 Tom Tromey <tom@tromey.com>
9220
9221 * gdb.base/style.exp: Add test for variable names.
9222
cbe56571
TT
92232018-12-28 Tom Tromey <tom@tromey.com>
9224
9225 * gdb.base/style.exp: New file.
9226 * gdb.base/style.c: New file.
9227
9162a27c
TT
92282018-12-28 Tom Tromey <tom@tromey.com>
9229
9230 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9231 "dumb".
9232 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9233 the TERM environment variable.
9234
bc543c90
TT
92352018-12-27 Tom Tromey <tom@tromey.com>
9236
9237 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9238 pagination test.
9239
6f0ffe50
AB
92402018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9241
9242 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9243 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9244
b5a1e557
PW
92452018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9246
9247 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9248 Filename a.adb changed to bp_fun_addr.adb.
9249 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9250
6e8b1ab2
JV
92512018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9252
9253 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9254 non-PIE executables.
9255 * README: Mention the gdb,nopie_flag board setting.
9256 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9257 non-PIE executable.
9258 * gdb.arch/amd64-entry-value.exp: Likewise.
9259 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9260 * gdb.arch/i386-float.exp: Likewise.
9261 * gdb.arch/i386-signal.exp: Likewise.
9262 * gdb.mi/mi-reg-undefined.exp: Likewise.
9263
d00a27c5
PM
92642018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9265
9266 PR gdb/23974
9267 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9268
161d081c
PW
92692018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9270
9271 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9272 Update order of results accordingly.
9273
b001de23
AB
92742018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9275
9276 * gdb.base/annota1.exp: Update a test regexp.
9277
99e1a184
AB
92782018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9279
9280 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9281
7a81c1e2
PW
92822018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9283
9284 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9285 (reuse_time): Initialize to REUSE_TIME_CAP.
9286 (check_rc): New function.
9287 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9288 Check pthread_create rc.
9289 (spawner_thread_func): Check pthread_create and pthread_join rc.
9290
73e8dc90
PA
92912018-12-08 Pedro Alves <palves@redhat.com>
9292
9293 * gdb.base/list.exp (test_forward_search): Rename to ...
9294 (test_forward_reverse_search): ... this. Also test reverse-search
9295 and the forward-search alias.
9296
13f2ed32
AB
92972018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9298
9299 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9300 local timeout variable before return, and remove all local timeout
9301 variable entirely.
9302 (gdb_load): Likewise.
9303
64d27cfc
TV
93042018-12-01 Tom de Vries <tdevries@suse.de>
9305
9306 * gdb.base/gdb-caching-proc.exp: New file.
9307
f63c03b4
SDJ
93082018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9309
9310 * Makefile.in (TIMESTAMP): New variable.
9311 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9312 command.
9313 (check-single-racy): Likewise.
9314 (check/%.exp): Likewise.
9315 (check-racy/%.exp): Likewise.
9316 (workers/%.worker): Likewise.
9317 (build-perf): Likewise.
9318 (check-perf): Likewise.
9319 * README: Describe new "TS" and "TS_FORMAT" variables.
9320 * print-ts.py: New file.
9321
1c97054b
BF
93222018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9323
9324 PR python/23714
9325 * gdb.python/python.exp: Test command repetition after
9326 gdb.execute.
9327
1871a62d
AB
93282018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9329
9330 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9331 is correctly aligned.
9332
fb5e1ed9
PW
93332018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9334
9335 * gdb.ada/info_auto_lang.exp: New testcase.
9336 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9337 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9338 * gdb.ada/info_auto_lang/some_c.c: New file.
9339
43d397ca
PW
93402018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9341
9342 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9343 FUNC_lang language syntax.
9344
beddd671
PW
93452018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9346
9347 * gdb.base/info_minsym.c: New file.
9348 * gdb.base/info_minsym.exp: New file.
9349
73fc52c4
TT
93502018-11-19 Tom Tromey <tom@tromey.com>
9351
9352 PR rust/23625:
9353 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9354 * gdb.rust/expr.exp: Update expected output. Change one test.
9355
994b876a
TT
93562018-11-19 Tom Tromey <tom@tromey.com>
9357
9358 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9359
6769f276
PA
93602018-11-19 Pedro Alves <palves@redhat.com>
9361
9362 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9363 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9364 see the expected warning.
9365
38a72da0
AH
93662018-11-16 Alan Hayward <alan.hayward@arm.com>
9367
9368 PR gdb/22736:
9369 * gdb.cp/infcall-nodebug-lib.c: New test.
9370 * gdb.cp/infcall-nodebug-main.c: New test.
9371 * gdb.cp/infcall-nodebug.exp: New file.
9372
53a89d6e
SM
93732018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9374
9375 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9376 completer tests.
9377
9325300d
TV
93782018-11-09 Tom de Vries <tdevries@suse.de>
9379
9380 * gdb.base/msym-lang.c: New test.
9381 * gdb.base/msym-lang.exp: New file.
9382 * gdb.base/msym-lang-main.c: New test.
9383
20f0d60d
TT
93842018-11-08 Tom Tromey <tom@tromey.com>
9385
9386 PR gdb/23555:
9387 PR gdb/23838:
9388 * gdb.base/warning.exp: New file.
9389
b5420128
JB
93902018-11-08 Jan Beulich <jbeulich@suse.com>
9391
9392 * testsuite/gdb.arch/i386-avx512.c,
9393 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9394
cd115d61
AB
93952018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9396
9397 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9398 point hardware.
9399
35ee2dc2
AB
94002018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9401
9402 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9403 * gdb.dwarf2/missing-type-name.exp: New file.
9404
31aceee8
TV
94052018-11-06 Tom de Vries <tdevries@suse.de>
9406
9407 * gdb.base/many-headers.c: New test.
9408 * gdb.base/many-headers.exp: New file.
9409
109be305
JW
94102018-11-06 Jim Wilson <jimw@sifive.com>
9411
9412 * gdb.base/code_elim.exp: For riscv, set additional_flags
9413 to include -msmall-data-limit=0.
9414
e2b7af72
JB
94152018-11-01 Joel Brobecker <brobecker@adacore.com>
9416
9417 * gdb.ada/watch_minus_l: New testcase.
9418
cdcda965
SM
94192018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9420
9421 * gdb.arch/aix-sighandle.c: New file.
9422 * gdb.arch/aix-sighandle.exp: New file.
9423
92dcebf3
AB
94242018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9425
9426 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9427 registers being unions.
9428
68b9ac18
TV
94292018-10-31 Tom de Vries <tdevries@suse.de>
9430
9431 * lib/valgrind.exp: New file.
9432 (vgdb_start, vgdb_stop): New procs, factored out of ...
9433 * gdb.base/valgrind-bt.exp: ... here, ...
9434 * gdb.base/valgrind-disp-step.exp: ... here and ...
9435 * gdb.base/valgrind-infcall.exp: ... here.
9436
1443936e
TV
94372018-10-31 Tom de Vries <tdevries@suse.de>
9438
9439 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9440
eb77c9df
AB
94412018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9442
9443 * gdb.dwarf2/void-type.c: New file.
9444 * gdb.dwarf2/void-type.exp: New file.
9445
82b5e646
PW
94462018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9447
9448 * gdb.base/info_qt.c: New file.
9449 * gdb.base/info_qt.exp: New file.
9450
8d619c01
EBM
94512018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9452
9453 * gdb.arch/powerpc-htm-regs.c: New file.
9454 * gdb.arch/powerpc-htm-regs.exp: New file.
9455
f2cf6173
EBM
94562018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9457
9458 * gdb.arch/powerpc-tar.c: New file.
9459 * gdb.arch/powerpc-tar.exp: New file.
9460
7ca18ed6
EBM
94612018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9462
9463 * gdb.arch/powerpc-ppr-dscr.c: New file.
9464 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9465
bfcc0eba
TV
94662018-10-25 Tom de Vries <tdevries@suse.de>
9467
9468 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9469
fe1a5cad
TV
94702018-10-24 Tom de Vries <tdevries@suse.de>
9471
9472 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9473 longer exists error.
9474
a76dc3b7
TV
94752018-10-24 Tom de Vries <tdevries@suse.de>
9476
9477 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9478
4df46df7
TV
94792018-10-24 Tom de Vries <tdevries@suse.de>
9480
9481 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9482 --db-attach in valgrind.
9483
0dbfcfff
AB
94842018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9485
9486 * gdb.arch/riscv-reg-aliases.c: New file.
9487 * gdb.arch/riscv-reg-aliases.exp: New file.
9488
b04480b1
AH
94892018-10-19 Alan Hayward <alan.hayward@arm.com>
9490
9491 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9492
2c6ac8d7
AH
94932018-10-19 Alan Hayward <alan.hayward@arm.com>
9494
9495 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9496
2bc69f25
AH
94972018-10-19 Alan Hayward <alan.hayward@arm.com>
9498
9499 * gdb.cp/ovldbreak.exp: Fix regexps.
9500
1f1ae3a3
AH
95012018-10-19 Alan Hayward <alan.hayward@arm.com>
9502
9503 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9504
94c18618
SDJ
95052018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9506
9507 PR cli/23785
9508 * gdb.base/restore.exp: New test to check if "restore" with an
9509 invalid file doesn't segfault.
9510
812cd6eb
TV
95112018-10-18 Tom de Vries <tdevries@suse.de>
9512
9513 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9514 * gdb.ada/excep_handle.exp: Same.
9515 * gdb.ada/mi_string_access.exp: Same.
9516 * gdb.ada/mi_var_union.exp: Same.
9517 * gdb.arch/arc-analyze-prologue.exp: Same.
9518 * gdb.arch/arc-decode-insn.exp: Same.
9519 * gdb.base/readnever.exp: Same.
9520 * gdb.fortran/printing-types.exp: Same.
9521 * gdb.guile/scm-lazy-string.exp: Same.
9522
c4b90788
TV
95232018-10-16 Tom de Vries <tdevries@suse.de>
9524
9525 PR gdb/23730
9526 * gdb.base/catch-follow-exec.c: Add copyright notice.
9527 * gdb.base/catch-follow-exec.exp: Rewrite to use
9528 gdb_spawn_with_cmdline_opts. Require gdb-native.
9529
8bca2978
SL
95302018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9531
9532 * gdb.trace/actions-changed.exp: Check for arch support.
9533 * gdb.trace/actions.exp: Likewise.
9534 * gdb.trace/ax.exp: Likewise.
9535 * gdb.trace/backtrace.exp: Likewise.
9536 * gdb.trace/change-loc.exp: Likewise.
9537 * gdb.trace/deltrace.exp: Likewise.
9538 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9539 * gdb.trace/ftrace.exp: Likewise.
9540 * gdb.trace/infotrace.exp: Check for arch support.
9541 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9542 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9543 * gdb.trace/mi-tsv-changed.exp: Likewise.
9544 * gdb.trace/packetlen.exp: Likewise.
9545 * gdb.trace/passc-dyn.exp: Likewise.
9546 * gdb.trace/passcount.exp: Likewise.
9547 * gdb.trace/pending.exp: Likewise.
9548 * gdb.trace/range-stepping.exp: Check for shlib support.
9549 * gdb.trace/report.exp: Check for arch support.
9550 * gdb.trace/save-trace.exp: Likewise.
9551 * gdb.trace/signal.exp: Check for signal support.
9552 * gdb.trace/tfind.exp: Check for arch support.
9553 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9554 * gdb.trace/trace-common.h: Add comment.
9555 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9556 * gdb.trace/trace-enable-disable.exp: Likewise.
9557 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9558 * gdb.trace/tracecmd.exp: Check for arch support.
9559 * gdb.trace/tspeed.exp: Check for shlib and target support.
9560 * gdb.trace/tstatus.exp: Check for arch support.
9561 * gdb.trace/tsv.exp: Likewise.
9562 * gdb.trace/while-dyn.exp: Likewise.
9563 * gdb.trace/while-stepping.exp: Likewise.
9564 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9565
f9c49bff
SM
95662018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9567
9568 * gdb.trace/tspeed.exp: Remove nowarnings.
9569 (prepare_for_trace_test): Declare "global ipalib".
9570 * gdb.trace/tspeed.c: Include unistd.h.
9571 (main): Remove superfluous printf argument.
9572
d4330bde
SL
95732018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9574
9575 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9576 directory prefix on the filename.
9577
8ecfd7bd
SDJ
95782018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9579
9580 * gdb.gdb/unittest.exp: Update expected message informing that
9581 selftests have been disabled.
9582 * gdb.server/unittest.exp: Likewise.
9583
58bbcd02
TV
95842018-10-09 Tom de Vries <tdevries@suse.de>
9585
9586 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9587 with runto_main.
9588
9f6b697b
WP
95892018-10-08 Weimin Pan <weimin.pan@oracle.com>
9590
9591 PR c++/16841
9592 * gdb.cp/virtbase2.cc: New file.
9593 * gdb.cp/virtbase2.exp: New file.
9594
add5ded5
TT
95952018-10-06 Tom Tromey <tom@tromey.com>
9596
9597 PR python/19399:
9598 * gdb.python/py-inferior.exp: Add architecture test.
9599
f9e48344
TT
96002018-10-06 Tom Tromey <tom@tromey.com>
9601
9602 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9603 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9604
2a8be203
TT
96052018-10-06 Tom Tromey <tom@tromey.com>
9606
9607 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9608 of a "throw" catchpoint.
9609
e04caa70
SDJ
96102018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9611
9612 * gdb.base/info-proc.exp: Update string expected from "help info
9613 proc".
9614
5ca8c39f
TT
96152018-10-04 Tom Tromey <tom@tromey.com>
9616
9617 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9618 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9619 (test_initial_complaints, test_empty_complaints): Update.
9620 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9621
3453e7e4
TT
96222018-10-04 Tom Tromey <tom@tromey.com>
9623
9624 PR cli/19551:
9625 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9626 * lib/gdb.exp (gdb_file_cmd): Update.
9627 * gdb.stabs/weird.exp (print_weird_var): Update.
9628 * gdb.server/solib-list.exp: Update.
9629 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9630 * gdb.mi/mi-cli.exp: Update.
9631 * gdb.linespec/linespec.exp: Update.
9632 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9633 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9634 * gdb.cp/cp-relocate.exp: Update.
9635 * gdb.base/sym-file.exp: Update.
9636 * gdb.base/relocate.exp: Update.
9637 * gdb.base/readnever.exp: Update.
9638 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9639 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9640 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9641 * gdb.base/code_elim.exp: Update.
9642 * gdb.base/break-unload-file.exp (test_break): Update.
9643 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9644 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9645 Update.
9646 * gdb.base/attach.exp (do_attach_tests): Update.
9647 * gdb.base/sepdebug.exp: Update.
9648 * gdb.python/py-section-script.exp: Update.
9649
6afcf761
TT
96502018-10-04 Tom Tromey <tom@tromey.com>
9651
9652 PR cli/22234:
9653 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9654 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9655 output.
9656
fef1b293
TT
96572018-10-04 Tom Tromey <tom@tromey.com>
9658
9659 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9660 set width and height to 0.
9661 (test_command_line_attach_run): Use -quiet.
9662
ca98345e
SL
96632018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9664
9665 * lib/gdb.exp (skip_ifunc_tests): New.
9666 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9667 other compile failures.
9668 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9669
ff34e6ae
SM
96702018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9671
9672 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9673 is_amd64_regs_target.
9674
6bb8890e
AH
96752018-10-01 Alan Hayward <alan.hayward@arm.com>
9676
9677 * gdb.arch/aarch64-sighandler-regs.c: New test.
9678 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9679 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9680
224d30d3
MM
96812018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9682
9683 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9684 assembly.
9685
f67ffa6a
AB
96862018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9687
9688 * gdb.base/frame-selection.exp: New file.
9689 * gdb.base/frame-selection.c: New file.
9690
9fc3183f
AH
96912018-09-27 Alan Hayward <alan.hayward@arm.com>
9692
9693 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9694 pthread barrier.
9695 (main): Likewise.
9696
d354055e
AB
96972018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9698
9699 * gdb.base/large-frame-1.c: New file.
9700 * gdb.base/large-frame-2.c: New file.
9701 * gdb.base/large-frame.exp: New file.
9702 * gdb.base/large-frame.h: New file.
9703
db727370
JL
97042018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9705
9706 PR gdb/20948
9707 * gdb.base/write_mem.exp: New test.
9708 * gdb.base/write_mem.c: Likewise.
9709
ae778caf
TT
97102018-09-23 Tom Tromey <tom@tromey.com>
9711
9712 PR python/18852:
9713 * gdb.python/py-parameter.exp: Add test for parameter that throws
9714 on "set".
9715
fd3ba736
TT
97162018-09-23 Tom Tromey <tom@tromey.com>
9717
9718 PR python/17284:
9719 * gdb.python/py-template.exp (test_template_arg): Add test for
9720 negative template argument number.
9721
39a24317
TT
97222018-09-23 Tom Tromey <tom@tromey.com>
9723
9724 PR python/14062:
9725 * gdb.python/python.exp: Add test for post_event error.
9726
f5769a2c
TT
97272018-09-23 Tom Tromey <tom@tromey.com>
9728
9729 PR python/18170:
9730 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9731 convert pointers to int and long.
9732
1c1e54f6
TT
97332018-09-23 Tom Tromey <tom@tromey.com>
9734
9735 PR python/20126:
9736 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9737 signed-ness conversion tests.
9738
fb4fa946
TT
97392018-09-23 Tom Tromey <tom@tromey.com>
9740
9741 PR python/18352;
9742 * gdb.python/py-value.exp (test_float_conversion): New proc.
9743 Use it.
9744
a466edac
HAQ
97452018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9746
9747 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9748
4ee9b0c5
SL
97492018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9750
9751 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9752 no readline.
9753 * gdb.base/utf8-identifiers.exp: Likewise.
9754 * gdb.cp/cpcompletion.exp: Likewise.
9755 * gdb.linespec/cpcompletion.exp: Likewise.
9756 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9757 * gdb.linespec/cpls-ops.exp: Likewise.
9758
23be8da7
RB
97592018-09-19 Richard Bunt <richard.bunt@arm.com>
9760 Chris January <chris.january@arm.com>
9761
9762 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9763 * gdb.fortran/short-circuit-argument-list.exp: New file.
9764 * gdb.fortran/short-circuit-argument-list.f90: New test.
9765
5031d0ae
SDJ
97662018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9767
9768 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9769 "arch=" keyword when executing "-stack-list-frames".
9770
b4c0d1a4
SDJ
97712018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9772
9773 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9774 "arch=" keyword when executing "-stack-list-frames".
9775
7a6d2b45
SDJ
97762018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9777
9778 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9779 break ada".
9780
8588b356
SM
97812018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9782
9783 PR python/23669
9784 * gdb.python/python.exp: Test gdb.execute("show commands").
9785
65e65158
TT
97862018-09-16 Tom Tromey <tom@tromey.com>
9787
9788 * gdb.base/new-ui.exp (do_execution_tests): Update.
9789 * gdb.base/dbx.exp (test_breakpoints): Update.
9790
bf326452
AH
97912018-09-14 Alan Hayward <alan.hayward@arm.com>
9792
9793 * lib/gdb.exp (gdb_simple_compile): Add proc.
9794 (is_elf_target): Use gdb_simple_compile.
9795 (skip_altivec_tests): Likewise.
9796 (skip_vsx_tests): Likewise.
9797 (skip_tsx_tests): Likewise.
9798 (skip_btrace_tests): Likewise.
9799 (skip_btrace_pt_tests): Likewise.
9800 (gdb_can_simple_compile): Likewise.
9801 (gdb_has_argv0): Likewise.
9802 (gdb_target_symbol_prefix): Likewise.
9803 (target_supports_scheduler_locking): Likewise.
9804
2361b0fb
TT
98052018-09-13 Tom Tromey <tom@tromey.com>
9806
9807 * Makefile.in (TAGS): Recognize proc_with_prefix and
9808 gdb_caching_proc.
9809
0ae1a321
SM
98102018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9811
9812 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9813 method.
9814
a40bf0c2
SM
98152018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9816
9817 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9818 and a few other Inferior properties when the Inferior is no
9819 longer valid.
9820
4a3fe98f
TT
98212018-09-13 Tom Tromey <tom@tromey.com>
9822
9823 PR rust/23650:
9824 * gdb.rust/simple.exp: Add test for enum field access error.
9825
098b2108
TT
98262018-09-13 Tom Tromey <tom@tromey.com>
9827
9828 PR rust/23626:
9829 * gdb.rust/simple.rs (EmptyEnum): New type.
9830 (main): Use it.
9831 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9832
1256af7d
SM
98332018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9834
9835 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9836 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9837 * gdb.python/py-symtab.exp: Update test printing an objfile.
9838
4aa8e6c2
SM
98392018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9840
9841 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9842 object.
9843
c221b2f7
AH
98442018-09-12 Alan Hayward <alan.hayward@arm.com>
9845
9846 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9847 (support_complex_tests): Use gdb_can_simple_compile.
9848 (is_ilp32_target): Likewise.
9849 (is_lp64_target): Likewise.
9850 (is_64_target): Likewise.
9851 (is_amd64_regs_target): Likewise.
9852 (is_aarch32_target): Likewise.
9853 (gdb_int128_helper): Likewise.
9854
6f1107b5
JK
98552018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9856
9857 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9858
1f5d1570
JG
98592018-09-10 Jerome Guitton <guitton@adacore.com>
9860
9861 * gdb.ada/same_component_name: Add test for case of tagged record
9862 with variable-length fields.
9863
cc330e39
XR
98642018-09-10 Xavier Roirand <roirand@adacore.com>
9865
9866 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9867 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9868 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9869 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9870
b9c50e9a
XR
98712018-09-10 Xavier Roirand <roirand@adacore.com>
9872
9873 * gdb.ada/mi_string_access.exp: New testcase.
9874 * gdb.ada/mi_string_access/bar.adb: New file.
9875 * gdb.ada/mi_string_access/pck.adb: New file.
9876 * gdb.ada/mi_string_access/pck.asd: New file.
9877
2963898f
XR
98782018-09-10 Xavier Roirand <roirand@adacore.com>
9879
9880 * gdb.ada/mi_var_union.exp: New testcase.
9881 * gdb.ada/mi_var_union/bar.adb: New file.
9882 * gdb.ada/mi_var_union/pck.adb: New file.
9883 * gdb.ada/mi_var_union/pck.asd: New file.
9884
1aac008f
TT
98852018-09-08 Tom Tromey <tom@tromey.com>
9886
9887 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9888
332cf4c9
TT
98892018-09-08 Tom Tromey <tom@tromey.com>
9890
9891 PR python/16047:
9892 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9893 (register_pretty_printers): Register new printer.
9894 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9895 test.
9896 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9897 (an_int_type3): New global.
9898
424da6cf
JB
98992018-09-08 Joel Brobecker <brobecker@adacore.com>
9900
9901 * gdb.ada/expr_with_funcall: New testcase.
9902
2a62dfa9
JB
99032018-09-08 Joel Brobecker <brobecker@adacore.com>
9904
9905 * gdb.ada/packed_array_assign: New testcase.
9906
96b6697f
AB
99072018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9908
9909 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9910 names, and add test prefixes to make test names unique.
9911
e4a62c65
TV
99122018-09-05 Tom de Vries <tdevries@suse.de>
9913
9914 * gdb.dwarf2/varval.exp: Add test.
9915
dd083ee2
GB
99162018-09-04 Gary Benson <gbenson@redhat.com>
9917
9918 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9919 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9920
aef9346c
TT
99212018-08-31 Tom Tromey <tom@tromey.com>
9922
9923 * gdb.rust/simple.rs: Rename second variable "v".
9924
c67f2e15
AB
99252018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9926
9927 * gdb.base/funcargs.c (use_a): New function.
9928 (recurse): Call use_a.
9929
078a0207
KS
99302018-08-29 Keith Seitz <keiths@redhat.com>
9931
9932 * gdb.compile/compile-cplus-anonymous.cc: New file.
9933 * gdb.compile/compile-cplus-anonymous.exp: New file.
9934 * gdb.compile/compile-cplus-array-decay.cc: New file.
9935 * gdb.compile/compile-cplus-array-decay.exp: New file.
9936 * gdb.compile/compile-cplus-inherit.cc: New file.
9937 * gdb.compile/compile-cplus-inherit.exp: New file.
9938 * gdb.compile/compile-cplus-member.cc: New file.
9939 * gdb.compile/compile-cplus-member.exp: New file.
9940 * gdb.compile/compile-cplus-method.cc: New file.
9941 * gdb.compile/compile-cplus-method.exp: New file.
9942 * gdb.compile/compile-cplus-mod.c: "New" file.
9943 * gdb.compile/compile-cplus-namespace.cc: New file.
9944 * gdb.compile/compile-cplus-namespace.exp: New file.
9945 * gdb.compile/compile-cplus-nested.cc: New file.
9946 * gdb.compile/compile-cplus-nested.exp: New file.
9947 * gdb.compile/compile-cplus-print.c: "New" file.
9948 * gdb.compile/compile-cplus-print.exp: "New" file.
9949 * gdb.compile/compile-cplus-virtual.cc: New file.
9950 * gdb.compile/compile-cplus-virtual.exp: New file.
9951 * gdb.compile/compile-cplus.c: "New" file.
9952 * gdb.compile/compile-cplus.exp: "New" file.
9953 * lib/compile-support.exp: New file.
9954
b0f492b9
GB
99552018-08-16 Gary Benson <gbenson@redhat.com>
9956
9957 PR gdb/13000:
9958 * gdb.base/batch-exit-status.exp: New file.
9959 * gdb.base/batch-exit-status.good-commands: Likewise.
9960 * gdb.base/batch-exit-status.bad-commands: Likewise.
9961
36eb4c5f
AH
99622018-08-29 Alan Hayward <alan.hayward@arm.com>
9963
9964 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9965 (struct struct02): Likewise.
9966 (struct struct03): Likewise.
9967 (struct struct04): Likewise.
9968 (struct struct_01_01): New struct.
9969 (struct struct_01_02): Likewise.
9970 (struct struct_01_03): Likewise.
9971 (struct struct_01_04): Likewise.
9972 (struct struct_02_01): Likewise.
9973 (struct struct_02_02): Likewise.
9974 (struct struct_02_03): Likewise.
9975 (struct struct_02_04): Likewise.
9976 (struct struct_04_01): Likewise.
9977 (struct struct_04_02): Likewise.
9978 (struct struct_04_03): Likewise.
9979 (struct struct_04_04): Likewise.
9980 (struct struct_05_01): Likewise.
9981 (struct struct_05_02): Likewise.
9982 (struct struct_05_03): Likewise.
9983 (struct struct_05_04): Likewise.
9984 (cmp_struct01): Remove function.
9985 (cmp_struct02): Likewise.
9986 (cmp_struct03): Likewise.
9987 (cmp_struct04): Likewise.
9988 (cmp_struct_01_01): Add Function.
9989 (cmp_struct_01_02): Likewise.
9990 (cmp_struct_01_03): Likewise.
9991 (cmp_struct_01_04): Likewise.
9992 (cmp_struct_02_01): Likewise.
9993 (cmp_struct_02_02): Likewise.
9994 (cmp_struct_02_03): Likewise.
9995 (cmp_struct_02_04): Likewise.
9996 (cmp_struct_04_01): Likewise.
9997 (cmp_struct_04_02): Likewise.
9998 (cmp_struct_04_03): Likewise.
9999 (cmp_struct_04_04): Likewise.
10000 (cmp_struct_05_01): Likewise.
10001 (cmp_struct_05_02): Likewise.
10002 (cmp_struct_05_03): Likewise.
10003 (cmp_struct_05_04): Likewise.
10004 (call_all): Add new structs.
10005 * gdb.base/infcall-nested-structs.exp: Likewise.
10006
3bf9c013
JV
100072018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
10008
10009 * gdb.python/py-framefilter-mi.exp: Update regexp to
10010 check for "arch" field in frame output.
10011
450d1e88
KB
100122018-08-23 Kevin Buettner <kevinb@redhat.com>
10013
10014 * gdb.dwarf2/dw2-ranges-func.c: New file.
10015 * gdb.dwarf2/dw2-ranges-func.exp: New file.
10016
ae739fe7
SM
100172018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
10018
10019 * gdb.base/term.exp: Compare terminal settings with values from
10020 the inferior.
10021 * gdb.base/term.c: Get and set terminal settings.
10022
6d52907e
JV
100232018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
10024
10025 * lib/mi-support.exp (mi_expect_stop): Update regexp to
10026 accommodate new "arch" field in frame output.
10027 * gdb.mi/mi-return.exp: Likewise.
10028 * gdb.mi/mi-stack.exp: Likewise.
10029 * gdb.mi/mi-syn-frame.exp: Likewise.
10030 * gdb.mi/user-selected-context-sync.exp: Likewise.
10031
be2d111a
MS
100322018-08-19 Michael Spang <spang@google.com>
10033
10034 PR gdb/11786
10035 * gdb.base/gcore-tls-pie.c: New file.
10036 * gdb.base/gcore-tls-pie.exp: New file.
10037
ae3a7c47
KB
100382018-08-18 Kevin Buettner <kevinb@redhat.com>
10039
10040 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
10041 * gdb.dwarf2/varval.c: New file.
10042 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 10043
2ecae92e
AH
100442018-08-17 Alan Hayward <alan.hayward@arm.com>
10045
10046 PR gdb/18931
10047 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10048
c1854f1d
KS
100492018-08-16 Keith Seitz <keiths@redhat.com>
10050
10051 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10052 tests expected to pass.
10053
26fb3983
JV
100542018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10055
10056 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10057 -data-disassemble -a.
10058 (test_disassembly_bogus_args): Likewise.
10059
67943c00
AB
100602018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10061
10062 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10063
5ff2bbae
AB
100642018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10065
10066 * gdb.base/vla-optimized-out.exp: Add new test.
10067
e5bbcd0f
AB
100682018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10069
10070 * gdb.base/vla-optimized-out-o3.exp: Delete.
10071 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10072 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10073 deleted tests.
10074
9d4a934c
AB
100752018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10076
10077 PR gdb/18050:
10078 * gdb.server/extended-remote-restart.c: New file.
10079 * gdb.server/extended-remote-restart.exp: New file.
10080
045cf012
SM
100812018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10082
10083 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10084 "set variable index = 42".
10085
87d6a7aa
SM
100862018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10087
10088 * boards/index-cache-gdb.exp: New file.
10089 * gdb.dwarf2/index-cache.exp: New file.
10090 * gdb.dwarf2/index-cache.c: New file.
10091 * gdb.base/maint.exp: Check if we are using the index cache.
10092
96d68bd4
RO
100932018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10094
10095 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10096 MAKEFLAGS.
10097
5a699617
RO
100982018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10099
10100 * dg-extract-results.sh: Move to toplevel contrib.
10101 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10102 * Makefile.in (check-parallel-racy): Likewise.
10103
5bd18990
AB
101042018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10105
10106 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10107 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10108 tests if the target supports scheduler locking.
10109
3fbbcf47
TV
101102018-08-04 Tom de Vries <tdevries@suse.de>
10111
10112 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10113
3e1d3d8c
TT
101142018-08-02 Tom Tromey <tom@tromey.com>
10115
10116 PR symtab/16842.
10117 * gdb.cp/temargs.exp: Test "info address" of a template
10118 parameter.
10119
5abe0f0c
JV
101202018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10121
10122 * gdb.python/py-mi-var-info-path-expression.c: New file.
10123 * gdb.python/py-mi-var-info-path-expression.py: New file.
10124 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10125
fb66cde8
SDJ
101262018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10127
10128 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10129 error after "cannot resolve name" string.
10130
c708f4d2
AB
101312018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10132
10133 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10134 started.
10135 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10136
37cc0cae
TV
101372018-07-28 Tom de Vries <tdevries@suse.de>
10138
10139 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10140
63b4ecf7
TV
101412018-07-26 Tom de Vries <tdevries@suse.de>
10142
10143 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10144
3c3bb058
AB
101452018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10146
10147 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10148 is visible.
10149
9e7f3bbb
TV
101502018-07-26 Tom de Vries <tdevries@suse.de>
10151
10152 PR breakpoints/23366
10153 * gdb.base/catch-follow-exec.c: New test.
10154 * gdb.base/catch-follow-exec.exp: New file.
10155
16f808ec
TV
101562018-07-25 Tom de Vries <tdevries@suse.de>
10157
10158 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10159 vla-optimized-out.c.
10160
d7154a8d
JV
101612018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10162
10163 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10164 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10165
232a0032
TV
101662018-07-20 Tom de Vries <tdevries@suse.de>
10167
10168 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10169 NOCLONE macro.
10170 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10171
fbb1d502
TV
101722018-07-19 Tom de Vries <tdevries@suse.de>
10173
10174 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10175 regular expression.
10176
42dc7699
TV
101772018-07-18 Tom de Vries <tdevries@suse.de>
10178
10179 * gdb.base/vla-optimized-out.c: New test.
10180 * gdb.base/vla-optimized-out.exp: New file.
10181
7f1f7e23
SDJ
101822018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10183
10184 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10185 message "No address associated with hostname" when gdbserver
10186 cannot resolve the hostname.
10187
5759ebb3
PW
101882018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10189
10190 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10191 Add some test prefixes to make tests unique.
10192
3606ccab
PW
101932018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10194
10195 * gdb.base/frameapply.c: New file.
10196 * gdb.base/frameapply.exp: New file.
10197
529c08b2
PW
101982018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10199
10200 * gdb.base/skip.exp: Update expected error message.
10201
c7ab0aef
SDJ
102022018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10203 Jan Kratochvil <jan.kratochvil@redhat.com>
10204 Paul Fertser <fercerpav@gmail.com>
10205 Tsutomu Seki <sekiriki@gmail.com>
10206
10207 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10208 parameter.
10209 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10210 by default.
10211 * boards/native-gdbserver.exp: Likewise.
10212 * gdb.server/run-without-local-binary.exp: Improve regexp used
10213 for detecting when a remote debugging connection succeeds.
10214 * gdb.server/server-connect.exp: New file.
10215 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10216 Do not prefix the port number with ":".
10217 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10218 support for detecting and using it. Add '$debughost_gdbserver'
10219 to the list of arguments used to start gdbserver. Handle case
10220 when gdbserver cannot resolve a network name.
10221
16ff70dd
SDJ
102222018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10223
10224 PR c++/23373
10225 * gdb.base/ptype-offsets.cc (struct static_member): New
10226 struct.
10227 (main) <stmember>: New variable.
10228 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10229 with a static member in it.
10230
3541979f
AB
102312018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10232
10233 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10234 watchpoints enabled and disabled.
10235
c8ad9b9a
AB
102362018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10237
10238 * gdb.base/examine-backward.exp: Still run tests around address
10239 0x0, even if address 0x0 is not readable. Update the pattern for
10240 matching address 0x0 in expected output.
10241
e0e5e971
AB
102422018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10243
10244 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10245 malloc/free.
10246
1ea5da02
TV
102472018-07-04 Tom de Vries <tdevries@suse.de>
10248
10249 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10250
471b9d15
MR
102512018-07-02 Maciej W. Rozycki <macro@mips.com>
10252
10253 PR tdep/8282
10254 * gdb.arch/mips-disassembler-options.exp: New test.
10255 * gdb.arch/mips-disassembler-options.s: New test source.
10256
75acb486
PA
102572018-06-29 Pedro Alves <palves@redhat.com>
10258
10259 * gdb.threads/names.exp: Adjust expected "info threads" output.
10260
cd2bb709
PA
102612018-06-29 Pedro Alves <palves@redhat.com>
10262
10263 * gdb.opt/inline-break.exp (line number, address): Add "info
10264 break" tests.
10265
991ff292
PA
102662018-06-29 Pedro Alves <palves@redhat.com>
10267
10268 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10269 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10270 number and address and running to them.
10271
356819b6 102722018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
10273
10274 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10275
2512d7ef
JK
102762018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10277
10278 * lib/compiler.c: Remove executable permission flag.
10279
be1b6474
RB
102802018-06-28 Richard Bunt <richard.bunt@arm.com>
10281
10282 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10283 code.
10284 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10285
291f9a96
PT
102862018-06-28 Petr Tesarik <ptesarik@suse.cz>
10287
10288 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10289
ed6dfe51
PT
102902018-06-28 Petr Tesarik <ptesarik@suse.cz>
10291
10292 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10293 address argument is omitted.
10294
d4d429d5
PT
102952018-06-28 Petr Tesarik <ptesarik@suse.cz>
10296
10297 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10298
7ab6656f
OJ
102992018-06-27 Omair Javaid <omair.javaid@linaro.org>
10300
10301 PR gdb/21695
10302 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10303 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10304
a33ccfc7
TT
103052018-06-26 Tom Tromey <tom@tromey.com>
10306
10307 PR rust/22574:
10308 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10309 * gdb.rust/simple.rs (struct SimpleLayout): New.
10310
6d72d289
SM
103112018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10312
10313 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10314 "info registers" output.
10315
8363f9d5
RB
103162018-06-21 Richard Bunt <richard.bunt@arm.com>
10317
10318 * gdb.base/watchpoint-hw-attach.c: New test.
10319 * gdb.base/watchpoint-hw-attach.exp: New file.
10320
f00674fe
SM
103212018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10322
10323 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10324 through /bin/sh.
10325 * boards/dwarf4-gdb-index.exp: Likewise.
10326 * boards/fission-dwp.exp: Likewise.
10327
1d554008
UW
103282018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10329
10330 * gdb.base/float128.exp: Add comment and improved fail message
10331 to the failure case of "print large128" test.
10332
d0ac1c44
SM
103332018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10334
10335 * configure.ac: Remove AC_PREREQ.
10336 * configure: Re-generate.
10337
61b04dd0
PA
103382018-06-19 Pedro Alves <palves@redhat.com>
10339
10340 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10341 (func_extern_caller): New.
10342 (main): Call func_extern_caller.
10343 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10344 logic change.
10345
f63b508a
SM
103462018-06-18 Weimin Pan <weimin.pan@oracle.com>
10347
10348 PR gdb/16841
10349 * gdb.cp/typedef-base.cc: New file.
10350 * gdb.cp/typedef-base.exp: New file.
10351
0fe3a558
TV
103522018-06-18 Tom de Vries <tdevries@suse.de>
10353
10354 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10355
7010835a
AB
103562018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10357 Richard Bunt <Richard.Bunt@arm.com>
10358
10359 * gdb.threads/attach-slow-waitpid.c: New file.
10360 * gdb.threads/attach-slow-waitpid.exp: New file.
10361 * gdb.threads/slow-waitpid.c: New file.
10362
14897d65
PA
103632018-06-14 Pedro Alves <palves@redhat.com>
10364
10365 * gdb.base/fork-running-state.c: Include <errno.h>.
10366 (exit_if_relative_exits): New.
10367 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10368 exits.
10369 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10370 child exits.
10371
5d9a0608
TV
103722018-06-14 Tom de Vries <tdevries@suse.de>
10373
10374 PR cli/22573
10375 * gdb.base/finish-pretty.c: New test.
10376 * gdb.base/finish-pretty.exp: New file.
10377
11ae5818
PA
103782018-06-14 Pedro Alves <palves@redhat.com>
10379
10380 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10381 gdb's expected startup output.
10382
1d39de44
PA
103832018-06-14 Pedro Alves <palves@redhat.com>
10384
10385 * lib/selftest-support.exp (selftest_setup): Remove inlined
10386 function handling.
10387
70ee0000
TV
103882018-06-14 Tom de Vries <tdevries@suse.de>
10389
10390 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10391 matching of breakpoint printing.
10392
11f4b608
TV
103932018-06-13 Tom de Vries <tdevries@suse.de>
10394
10395 PR testsuite/23269
10396 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10397 (fork_child): ... here, and ...
10398 (fork_parent): ... here.
10399
104002018-06-12 Tom de Vries <tdevries@suse.de>
10401
10402 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10403
9516f85a
AB
104042018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10405 Stephen Roberts <stephen.roberts@arm.com>
10406
10407 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10408 rewrite test to describe action performed, rather than possible
10409 failure.
10410
5045b3d7
GB
104112018-06-08 Gary Benson <gbenson@redhat.com>
10412
10413 * gdb.threads/check-libthread-db.exp: New file.
10414 * gdb.threads/check-libthread-db.c: Likewise.
10415
c61b06a1
TT
104162018-06-05 Tom Tromey <tom@tromey.com>
10417
10418 * gdb.base/default.exp: Update expected "show version" output.
10419
eb6af809
TT
104202018-06-05 Tom Tromey <tom@tromey.com>
10421
10422 PR cli/12326:
10423 * gdb.cp/static-print-quit.exp: Update.
10424 * lib/gdb.exp (pagination_prompt): Update.
10425 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10426 * gdb.python/python.exp: Update.
10427
178d6a63
JB
104282018-06-04 Joel Brobecker <brobecker@adacore.com>
10429
10430 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10431
8e817061
JB
104322018-06-01 Joel Brobecker <brobecker@adacore.com>
10433
10434 * gdb.ada/bp_fun_addr: New testcase.
10435
e86ca25f
TT
104362018-06-01 Tom Tromey <tom@tromey.com>
10437
10438 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10439 results.
10440 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10441 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10442 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10443 * gdb.base/maint.exp (maint_pass_if): Update.
10444
4b2dfa9d
MR
104452018-05-31 Maciej W. Rozycki <macro@mips.com>
10446
10447 * gdb.base/endian.exp: New test.
10448 * gdb.base/endian.c: New test source.
10449
45f25d6c
AB
104502018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10451
10452 PR gdb/23203
10453 * gdb.base/bt-selected-frame.c: New file.
10454 * gdb.base/bt-selected-frame.exp: New file.
10455 * lib/gdb.exp (get_current_frame_number): New function.
10456
d9f6d7f8
MR
104572018-05-24 Maciej W. Rozycki <macro@mips.com>
10458 Pedro Alves <palves@redhat.com>
10459
10460 * gdb.threads/tls-core.c: Include <stdlib.h>
10461 (thread_proc): Call `abort'.
10462 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10463 (tls_core_test): New procedure, bits factored out from ...
10464 (top level): ... here. Test both native cores and gcore cores.
10465
ff1cf532
TT
104662018-05-23 Tom Tromey <tom@tromey.com>
10467
10468 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10469
b98664d3
TT
104702018-05-23 Tom Tromey <tom@tromey.com>
10471
10472 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10473 symfile_complaints.
10474 (test_short_complaints): Likewise.
10475 (test_empty_complaints): Likewise.
10476 (test_initial_complaints): Update.
10477
4e9668d0
TT
104782018-05-23 Tom Tromey <tom@tromey.com>
10479
10480 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10481
43ba33c7
TT
104822018-05-23 Tom Tromey <tom@tromey.com>
10483
10484 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10485 (test_short_complaints): Update.
10486
035522c0
PA
104872018-05-22 Pedro Alves <palves@redhat.com>
10488
10489 * gdb.base/remote.exp: Only gdb_start after compiling the
10490 testcase. Issue "disconnect" before testing "set remote" command
10491 defaults. Issue clean_restart before running to main.
10492
cc0be08f
PA
104932018-05-22 Pedro Alves <palves@redhat.com>
10494
10495 * gdb.base/remote.exp: Adjust expected output of "show remote
10496 memory-write-packet-size". Add tests for "set remote
10497 memory-write-packet-size 0" and "set remote
10498 memory-write-packet-size fixed/limit".
10499
b1b60145
PA
105002018-05-22 Pedro Alves <palves@redhat.com>
10501
10502 PR gdb/22973
10503 * gdb.base/utf8-identifiers.c: New file.
10504 * gdb.base/utf8-identifiers.exp: New file.
10505
0ec848ad
PFC
105062018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10507
10508 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10509
2c3305f6
PFC
105102018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10511
10512 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10513
ce1e8424
TT
105142018-05-18 Tom Tromey <tom@tromey.com>
10515
10516 * gdb.base/ptype-offsets.exp: Update.
10517
ddfe970e
KS
105182018-05-17 Keith Seitz <keiths@redhat.com>
10519
10520 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10521 in expected breakpoint stop locations.
10522 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10523 move to proper scope to test variable values.
10524 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10525 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10526 New functions.
10527 (main): Call not_inline_func3.
10528 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10529 inline_func1, inline_func2, and inline_func3. Test that when each
10530 breakpoint is hit, GDB properly reports both the stop location
10531 and the backtrace. Repeat tests for temporary breakpoints.
10532
0726fcc6
MR
105332018-05-15 Maciej W. Rozycki <macro@mips.com>
10534
10535 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10536 rather then trying to access it in determining whether the PID
10537 of `gdbserver' could have been retrieved.
10538
8ee22052
AB
105392018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10540
10541 * gdb.arch/amd64-init-x87-values.S: New file.
10542 * gdb.arch/amd64-init-x87-values.exp: New file.
10543
7785df48
JK
105442018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10545
10546 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10547
56bcdbea
TT
105482018-05-04 Tom Tromey <tom@tromey.com>
10549
10550 PR python/22730:
10551 * gdb.python/python.exp: Test multi-line execute.
10552
a913fffb
TT
105532018-05-04 Tom Tromey <tom@tromey.com>
10554
10555 PR python/22731:
10556 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10557
7a2c85f2
TT
105582018-05-04 Tom Tromey <tom@tromey.com>
10559
10560 PR gdb/11750:
10561 * gdb.base/define.exp: Test defining a user command inside a user
10562 command.
10563 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10564
a3b60e45
JK
105652018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10566 Pedro Alves <palves@redhat.com>
10567
10568 PR breakpoints/19806 and support for PR external/20207.
10569 * gdb.base/watchpoint-unaligned.c: New file.
10570 * gdb.base/watchpoint-unaligned.exp: New file.
10571
45fe4a03
AB
105722018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10573
10574 * gdb.base/maint.exp: Make test names unique, use
10575 test_prefix_command_help to test 'help maint info', and remove
10576 repeated test of 'help maint'.
10577
9be2ae8f
TT
105782018-05-04 Tom Tromey <tom@tromey.com>
10579
10580 PR gdb/22619:
10581 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10582 behavior.
10583
11859c31
AB
105842018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10585
10586 * gdb.base/maint.exp: Process output from 'maint print registers'
10587 line at a time.
10588
089a9490
AB
105892018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10590
10591 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10592 timeout.
10593
9b0797e2
AB
105942018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10595
10596 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10597 filter pattern.
10598
f6ac5f3d
PA
105992018-05-02 Pedro Alves <palves@redhat.com>
10600
10601 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10602 to_log_command renames.
10603 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10604
77d3c63b
TT
106052018-05-02 Tom Tromey <tom@tromey.com>
10606
10607 * gdb.python/py-parameter.exp: Set test message.
10608
0489430a
TT
106092018-05-02 Tom Tromey <tom@tromey.com>
10610
10611 PR python/20084:
10612 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10613 PARAM_ZUINTEGER_UNLIMITED tests.
10614
1632f8ba
DR
106152018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10616
10617 PR rust/23124
10618 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10619 when casting.
10620
6d7bb824
TT
106212018-04-30 Tom Tromey <tom@tromey.com>
10622
10623 * gdb.python/py-type.exp: Check align attribute.
10624 * gdb.python/py-type.c: New "aligncheck" global.
10625
007e1530
TT
106262018-04-30 Tom Tromey <tom@tromey.com>
10627
10628 PR exp/17095:
10629 * gdb.dwarf2/dw2-align.exp: New file.
10630 * gdb.cp/align.exp: New file.
10631 * gdb.base/align.exp: New file.
10632 * lib/gdb.exp (gdb_int128_helper): New proc.
10633 (has_int128_c, has_int128_cxx): New caching procs.
10634
6873858b
TT
106352018-04-27 Tom Tromey <tom@tromey.com>
10636
10637 PR rust/22545:
10638 * gdb.rust/simple.exp: Add inclusive range tests.
10639
79188d8d
PA
106402018-04-26 Pedro Alves <palves@redhat.com>
10641
10642 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10643 ifunc breakpoint locations correctly of ifunc breakpoints set
10644 while the program resolves the ifunc.
10645
c7075ad5
PA
106462018-04-26 Pedro Alves <palves@redhat.com>
10647
10648 * gdb.base/gnu-ifunc-final.c: New file.
10649 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10650 * gdb.base/gnu-ifunc.exp (executable): Delete.
10651 (staticexecutable): Adjust.
10652 (lib_opts, exec_opts): Delete.
10653 (make_binsuffix, build, set-break): New procedures.
10654 (misc_tests): New, with tests factored out from the top level.
10655 (top level): Test different combinations of ifunc resolver name,
10656 resolver with and with debug info, and ifunc target with and
10657 without debug info. Wrap static tests with with_target_prefix.
10658
8388016d
PA
106592018-04-26 Pedro Alves <palves@redhat.com>
10660
10661 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10662 return type" warnings.
10663
249b5733
PA
106642018-04-25 Pedro Alves <palves@redhat.com>
10665
10666 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10667 killed".
10668 * gdb.base/kill-after-signal.exp: Likewise.
10669 * gdb.threads/kill.exp: Likewise.
10670
f67c0c91
SDJ
106712018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10672 Sergio Durigan Junior <sergiodj@redhat.com>
10673 Pedro Alves <palves@redhat.com>
10674
10675 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10676 regexps to expect for '[Inferior ... detached]' as well.
10677 * gdb.base/attach.exp: Likewise.
10678 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10679 "gdb_continue_to_end".
10680 (test_catch_syscall_with_wrong_args): Likewise.
10681 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10682 ']'. Don't set 'verbose' on.
10683 * gdb.base/foll-vfork.exp: Likewise.
10684 * gdb.base/fork-print-inferior-events.c: New file.
10685 * gdb.base/fork-print-inferior-events.exp: New file.
10686 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10687 '[Inferior ... has been killed]' message.
10688 * gdb.base/kill-after-signal.exp: Likewise.
10689 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10690 detach message.
10691 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10692 message.
10693 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10694 regexps to expect for '[Inferior ... detached]' as well.
10695 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10696
0a8ddac4
SM
106972018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10698
10699 PR gdb/23104
10700 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10701
701adfb0
PA
107022018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10703
10704 PR gdb/23095
10705 * gdb.base/break-probes.exp: Pass shlib_load to
10706 prepare_for_testing. Set normal_bp to r_debug_state if target is
10707 bsd.
10708
d27d16bf
RB
107092018-04-19 Richard Bunt <richard.bunt@arm.com>
10710
10711 * gdb.threads/multiple-successive-infcall.c: New test.
10712 * gdb.threads/multiple-successive-infcall.exp: New file.
10713
a037790e
TT
107142018-04-17 Tom Tromey <tom@tromey.com>
10715
10716 * gdb.rust/simple.rs (Union): New type.
10717 (main): New local "u".
10718 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10719
e3a91079
AA
107202018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10721
10722 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10723 number information in output of "whereis" command.
10724 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10725
b744723f
AA
107262018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10727
10728 * gdb.ada/info_types.exp: Adjust expected output to the line
10729 numbers now printed by "info var/func/type".
10730 * gdb.base/completion.exp: Likewise.
10731 * gdb.base/included.exp: Likewise.
10732 * gdb.cp/cp-relocate.exp: Likewise.
10733 * gdb.cp/cplusfuncs.exp: Likewise.
10734 * gdb.cp/namespace.exp: Likewise.
10735 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10736
4a4495d6
MM
107372018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10738
10739 * gdb.btrace/cpu.exp: New.
10740
1d509aa6
MM
107412018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10742
10743 * gdb.base/step-indirect-call-thunk.exp: New.
10744 * gdb.base/step-indirect-call-thunk.c: New.
10745 * gdb.reverse/step-indirect-call-thunk.exp: New.
10746 * gdb.reverse/step-indirect-call-thunk.c: New.
10747
6295b6da
SM
107482018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10749
10750 * gdb.base/pie-fork.c: New file.
10751 * gdb.base/pie-fork.exp: New file.
10752
50146e70
TT
107532018-04-11 Tom Tromey <tom@tromey.com>
10754
10755 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10756
f50d8a2e
PA
107572018-04-10 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10760 exits. Instead loop running forever.
10761 (fork_parent): Run forever too.
10762
a0be7a36
SM
107632018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10764
10765 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10766 mi_continue_to_line.
10767 * gdb.mi/mi-stack.c (callee4): Add comment.
10768
9b73db36
SM
107692018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10770
10771 * gdb.mi/mi-stack.exp: Fix indentation.
10772
c912f608
SM
107732018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10774
10775 PR gdb/22979
10776 * gdb.arch/amd64-osabi.exp: New file.
10777
26540402
SM
107782018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10779
10780 PR gdb/22980
10781 * gdb.base/osabi.exp: New file.
10782
121ad66c 107832018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10784
10785 * gdb.cp/static-typedef-print.exp: New file.
10786 * gdb.cp/static-typedef-print.cc: New file.
10787
3fcded8f
JB
107882018-03-27 Joel Brobecker <brobecker@adacore.com>
10789
10790 * gdb.ada/varsize_limit: New testcase.
10791
59cc4834
JB
107922018-03-27 Joel Brobecker <brobecker@adacore.com>
10793
10794 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10795
10796 * gdb.ada/notcplusplus: New testcase.
10797
10798 * gdb.base/c-linkage-name.c: New file.
10799 * gdb.base/c-linkage-name.exp: New testcase.
10800
4ca59a9f
TT
108012018-03-26 Tom Tromey <tom@tromey.com>
10802
10803 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10804 * gdb.python/py-framefilter.py (name_error): New global.
10805 (ErrorInName.function): Use name_error.
10806
978d6c75
TT
108072018-03-26 Tom Tromey <tom@tromey.com>
10808
10809 PR backtrace/15582:
10810 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10811
b7fee5a3
KS
108122018-03-23 Keith Seitz <keiths@redhat.com>
10813
10814 PR c++/22968
10815 * gdb.cp/subtypes.exp: New file.
10816 * gdb.cp/subtypes.h: New file.
10817 * gdb.cp/subtypes.cc: New file.
10818 * gdb.cp/subtypes-2.cc: New file.
10819
376be529
AB
108202018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10821
10822 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10823 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10824 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10825 -nostartfiles when compiling the test. Confirm that all registers
10826 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10827
066cfa98
AB
108282018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10829
10830 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10831 option, syntax was wrong anyway.
10832 * gdb.arch/arm-disp-step.exp: Likewise.
10833 * gdb.arch/sparc64-regs.exp: Likewise.
10834 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10835 option, syntax was wrong anyway, switch to use
10836 prepare_for_testing.
10837 * gdb.arch/i386-disp-step.exp: Likewise.
10838
079670b9
AA
108392018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10840
10841 * gdb.ada/exec_changed.exp: Replace "target_info exists
10842 use_gdb_stub" by "use_gdb_stub".
10843 * gdb.ada/start.exp: Likewise.
10844 * gdb.base/async-shell.exp: Likewise.
10845 * gdb.base/attach-pie-misread.exp: Likewise.
10846 * gdb.base/attach-wait-input.exp: Likewise.
10847 * gdb.base/break-entry.exp: Likewise.
10848 * gdb.base/break-interp.exp: Likewise.
10849 * gdb.base/dprintf-detach.exp: Likewise.
10850 * gdb.base/nostdlib.exp: Likewise.
10851 * gdb.base/solib-nodir.exp: Likewise.
10852 * gdb.base/statistics.exp: Likewise.
10853 * gdb.base/testenv.exp: Likewise.
10854 * gdb.mi/mi-exec-run.exp: Likewise.
10855 * gdb.mi/mi-start.exp: Likewise.
10856 * gdb.multi/dummy-frame-restore.exp: Likewise.
10857 * gdb.multi/multi-arch-exec.exp: Likewise.
10858 * gdb.multi/multi-arch.exp: Likewise.
10859 * gdb.multi/tids.exp: Likewise.
10860 * gdb.multi/watchpoint-multi.exp: Likewise.
10861 * gdb.python/py-events.exp: Likewise.
10862 * gdb.threads/attach-into-signal.exp: Likewise.
10863 * gdb.threads/attach-stopped.exp: Likewise.
10864 * gdb.threads/threadapply.exp: Likewise.
10865 * lib/selftest-support.exp: Likewise.
10866
26d6cec4
AA
108672018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10868
10869 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10870
4ee89e90
SR
108712018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10872
10873 * gdb.perf/template-breakpoints.cc: New file.
10874 * gdb.perf/template-breakpoints.exp: New file.
10875 * gdb.perf/template-breakpoints.py: New file.
10876
92630041
TT
108772018-03-19 Tom Tromey <tom@tromey.com>
10878
10879 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10880 y0.
10881 * gdb.rust/simple.exp: Test bare identifier form of struct
10882 initializer.
10883
76727919
TT
108842018-03-19 Tom Tromey <tom@tromey.com>
10885
10886 * gdb.gdb/observer.exp: Remove.
10887
194ed413
AA
108882018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10889
10890 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10891 "qualified" option when setting breakpoints.
10892 * gdb.trace/backtrace.exp: Likewise.
10893 * gdb.trace/circ.exp: Likewise.
10894 * gdb.trace/collection.exp: Likewise.
10895 * gdb.trace/disconnected-tracing.exp: Likewise.
10896 * gdb.trace/ftrace-lock.exp: Likewise.
10897 * gdb.trace/ftrace.exp: Likewise.
10898 * gdb.trace/infotrace.exp: Likewise.
10899 * gdb.trace/packetlen.exp: Likewise.
10900 * gdb.trace/passc-dyn.exp: Likewise.
10901 * gdb.trace/qtro.exp: Likewise.
10902 * gdb.trace/read-memory.exp: Likewise.
10903 * gdb.trace/report.exp: Likewise.
10904 * gdb.trace/signal.exp: Likewise.
10905 * gdb.trace/status-stop.exp: Likewise.
10906 * gdb.trace/strace.exp: Likewise.
10907 * gdb.trace/tfind.exp: Likewise.
10908 * gdb.trace/trace-break.exp: Likewise.
10909 * gdb.trace/trace-condition.exp: Likewise.
10910 * gdb.trace/trace-mt.exp: Likewise.
10911 * gdb.trace/tstatus.exp: Likewise.
10912 * gdb.trace/tsv.exp: Likewise.
10913 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10914 * gdb.trace/unavailable.exp: Likewise.
10915 * gdb.trace/while-dyn.exp: Likewise.
10916
8b067d2c
AA
109172018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10918
10919 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10920 that libinproctrace is copied to the target.
10921
3ae9ce5d
TT
109222018-03-14 Tom Tromey <tom@tromey.com>
10923
10924 PR cli/14977:
10925 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10926 a null pointer.
10927 * gdb.base/wchar.exp: Likewise.
10928
b8c2339b
TT
109292018-03-14 Tom Tromey <tom@tromey.com>
10930
10931 PR cli/19918:
10932 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10933 flag.
10934
4872dc46
SM
109352018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10936
10937 PR gdb/22841
10938 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10939 "target" to remote_exec.
10940
e4fe3756
SM
109412018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10942
10943 PR gdb/22841
10944 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10945 ${board}_upload): Remove.
10946
e95a97d4
AA
109472018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10948
10949 * gdb.cp/watch-cp.cc: New test.
10950 * gdb.cp/watch-cp.exp: New file.
10951
dbbb1059
AB
109522018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10953
10954 * gdb.base/infcall-nested-structs.exp: New file.
10955 * gdb.base/infcall-nested-structs.c: New file.
10956 * gdb.base/float.exp: Add riscv support.
10957
ecc054c0
TP
109582018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10959
10960 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10961 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10962
25e3c82c
SDJ
109632018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10964
10965 * gdb.server/abspath.exp: New file.
10966 * lib/gdb.exp (with_cwd): New procedure.
10967
3083294d
SM
109682018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10969
10970 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10971 use it.
10972 (gdb_is_target_remote_prompt): New proc.
10973 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10974 (gdb_is_target_native): Pass prompt parameter to
10975 gdb_is_target_1.
10976
3275ef47
SM
109772018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10978
10979 * gdb.base/load-command.c: New file.
10980 * gdb.base/load-command.exp: New file.
10981 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10982 (gdb_is_target_1): ...this, and generalize for other targets
10983 than just remote.
10984 (gdb_is_target_remote): Use gdb_is_target_1.
10985 (gdb_is_target_native): use gdb_is_target_1.
10986
6893c19a
TT
109872018-02-26 Tom Tromey <tom@tromey.com>
10988
10989 PR python/16497:
10990 * gdb.python/py-framefilter.exp: Update test.
10991
2ddeaf8a
TT
109922018-02-26 Tom Tromey <tom@tromey.com>
10993
10994 * gdb.dwarf2/variant.c: New file.
10995 * gdb.dwarf2/variant.exp: New file.
10996
c9317f21
TT
109972018-02-26 Tom Tromey <tom@tromey.com>
10998
10999 * gdb.rust/simple.exp: Accept more possible results in enum test.
11000
6f6d0c26
SM
110012018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
11002
11003 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
11004 parentheses.
11005
11b03145
MR
110062018-02-23 Maciej W. Rozycki <macro@mips.com>
11007
11008 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
11009 name of a variable: $actual_linejj -> $actual_line.
11010
54a27fe5
JB
110112018-02-21 John Baldwin <jhb@FreeBSD.org>
11012
11013 * gdb.arch/amd64-i386-address.exp: Fix a typo.
11014
de65820c
MM
110152018-02-20 Markus Metzger <markus.t.metzger@intel.com>
11016
11017 * gdb.btrace/buffer-size.exp: Do not force BTS.
11018
980548fd
PA
110192018-02-14 Pedro Alves <palves@redhat.com>
11020
11021 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
11022 getting a "Quit".
11023
c4e12631
MM
110242018-02-09 Markus Metzger <markus.t.metzger@intel.com>
11025
11026 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
11027 Fix test name.
11028
c2e0e465
SM
110292018-02-07 Simon Marchi <simon.marchi@ericsson.com>
11030
11031 * gdb.cp/m-static.exp: Check type of optimized out static
11032 member.
11033
f7216783
AB
110342018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
11035
11036 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
11037 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
11038
0625771b
LS
110392018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
11040 Leszek Swirski <leszeks@google.com>
11041
11042 * gdb.python/py-prettyprint.c
11043 (struct to_string_returns_value_inner,
11044 struct to_string_returns_value_wrapper): New.
11045 (main): Add tsrvw variable.
11046 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11047 ToStringReturnsValueWrapper): New classes.
11048 (register_pretty_printers): Register new pretty-printers.
11049 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11050 recursive pretty printer.
11051 * gdb.python/py-mi.exp: Likewise.
11052
59498c30
LS
110532018-02-01 Leszek Swirski <leszeks@google.com>
11054
11055 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11056 functions with the same name as an include file are parsed
11057 correctly.
11058
d4d38844
YQ
110592018-02-01 Yao Qi <yao.qi@linaro.org>
11060
11061 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11062 "\[^\r\n\]*".
11063
07e5f5cf
NP
110642018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11065
11066 * gdb.arch/powerpc-prologue-frame.s: New file.
11067 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11068 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11069
929b5ad4
JB
110702018-01-31 Joel Brobecker <brobecker@adacore.com>
11071
11072 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11073
e671cd59
PA
110742018-01-30 Pedro Alves <palves@redhat.com>
11075
11076 PR gdb/13211
11077 * gdb.base/interrupt-daemon.c: New.
11078 * gdb.base/interrupt-daemon.exp: New.
11079 * gdb.multi/multi-term-settings.c: New.
11080 * gdb.multi/multi-term-settings.exp: New.
11081
fc413dc4
JB
110822018-01-30 Joel Brobecker <brobecker@adacore.com>
11083
11084 * gdb.base/break.exp: Save the location where the breakpoint
11085 on break.c:47 was actually inserted when debugging the version
11086 compiled at -O2 and use it in the expected output of the "info
11087 break" test performed soon after.
11088
5c319bb2
PA
110892018-01-22 Pedro Alves <palves@redhat.com>
11090 Sergio Durigan Junior <sergiodj@redhat.com>
11091
11092 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11093 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11094
a9e40818
JB
110952018-01-22 Joel Brobecker <brobecker@adacore.com>
11096
11097 * gdb.base/break-include.c, gdb.base/break-include.inc,
11098 gdb.base/break-include.exp: New files.
11099 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11100 line number now being the actual line number where the breakpoint
11101 was inserted.
11102 * gdb.mi/mi-break.exp: Likewise.
11103 * gdb.mi/mi-reverse.exp: Likewise.
11104 * gdb.mi/mi-simplerun.exp: Ditto.
11105
e707fc44
AB
111062018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11107
11108 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11109 varobj.
11110 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11111
ae451627
AB
111122018-01-21 Don Breazeal <donb@codesourcery.com>
11113 Andrew Burgess <andrew.burgess@embecosm.com>
11114
11115 * gdb.mi/basics.c: Add new global.
11116 * gdb.mi/mi-frame-regs.exp: New file.
11117 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11118 case.
11119
b1b189e0
AB
111202018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11121
11122 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11123 non-parameter, and on an unknown symbol.
11124
fcfcc376
TT
111252018-01-19 Tom Tromey <tom@tromey.com>
11126
11127 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11128 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11129
634c1c31
AA
111302018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11131
11132 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11133 setrlimit and chdir to int.
11134
d6ad07fd
AA
111352018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11136
11137 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11138 function.
11139 (my_tend): Likewise.
11140 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11141 rationale of avoiding FP- and vector instructions.
11142
adf8243b
RK
111432018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11144
11145 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11146 "info reg" with "\[ \t\]*".
11147 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11148 "\[ \t\]+".
11149 * gdb.arch/s390-multiarch.exp: Ditto.
11150 * gdb.base/pc-fp.exp: Ditto.
11151 * gdb.reverse/i386-precsave.exp: Ditto.
11152 * gdb.reverse/i386-reverse.exp: Ditto.
11153 * gdb.reverse/i387-env-reverse.exp: Ditto.
11154 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11155
dcc06925
AA
111562018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11157
11158 * lib/gdb.exp (gdb_compile): Re-enable use of
11159 universal_compile_options for languages other than Rust.
11160
25d4fd80
AA
111612018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11162
11163 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11164
ee7f689e 111652018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
11166
11167 PR gdb/16577
11168 * gdb.base/solib-vanish.exp: New.
11169 * gdb.base/solib-vanish-main.c: New.
11170 * gdb.base/solib-vanish-lib1.c: New.
11171 * gdb.base/solib-vanish-lib2.c: New.
11172
d8447b6b
YQ
111732018-01-17 Yao Qi <yao.qi@linaro.org>
11174
11175 * gdb.compile/compile.exp: Match the address printed for
11176 frame in the output of command "bt".
11177
86d6a90c
TT
111782018-01-15 Tom Tromey <tom@tromey.com>
11179
11180 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11181 compute sp_reg.
11182
cbcdb1aa
AB
111832018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11184
11185 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11186 to prepare.
11187 (prepare): Return 0 on error, 1 on success.
11188
eea61984
PA
111892018-01-12 Pedro Alves <palves@redhat.com>
11190
11191 * gdb.base/continue-after-aborted-step-over.c: New.
11192 * gdb.base/continue-after-aborted-step-over.exp: New.
11193
6181e9c2
SM
111942018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11195
11196 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11197 options when not creating an executable.
11198
3cada740
PA
111992018-01-11 Pedro Alves <palves@redhat.com>
11200
11201 PR remote/22597
11202 * gdb.server/stop-reply-no-thread.c: New file.
11203 * gdb.server/stop-reply-no-thread.exp: New file.
11204
c63d3e8d
PA
112052018-01-10 Pedro Alves <palves@redhat.com>
11206
11207 PR gdb/22670
11208 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11209 functions too. Test setting breakpoints and printing C functions
11210 with no debug info too.
11211 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11212
d4c2a405
PA
112132018-01-10 Pedro Alves <palves@redhat.com>
11214
11215 PR gdb/22670
11216 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11217 a fail.
11218
8825213e
PA
112192018-01-10 Pedro Alves <palves@redhat.com>
11220
11221 PR gdb/22670
11222 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11223
605fd3c6
YQ
112242018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11225
11226 * gdb.server/unittest.exp: Match the output in non-development
11227 mode.
11228
1e5ded6c
YQ
112292018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11230
11231 * gdb.gdb/unittest.exp: Match output in non-development mode.
11232
30066b0b
JB
112332018-01-08 Joel Brobecker <brobecker@adacore.com>
11234
11235 * gdb.ada/access_tagged_param.exp: Relax expected output
11236 for value of "ObjL" in "continue" to pck.inspect breakpoint
11237 test.
11238
04bafb1e
XR
112392018-01-08 Joel Brobecker <brobecker@adacore.com>
11240
9f86398b
JB
11241 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11242 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 11243
e379cee6
PA
112442018-01-05 Pedro Alves <palves@redhat.com>
11245
11246 PR gdb/18653
11247 * gdb.base/libsegfault.exp: New.
11248
de63c46b
PA
112492018-01-05 Joel Brobecker <brobecker@adacore.com>
11250
11251 PR gdb/22670
11252 * gdb.ada/access_tagged_param.exp: New file.
11253 * gdb.ada/access_tagged_param/foo.adb: New file.
11254
f98fc17b
PA
112552018-01-05 Pedro Alves <palves@redhat.com>
11256
11257 PR gdb/22670
11258 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11259 exercise lower case too, and to exercise both full matching and
11260 wild matching.
11261
342f8240
JB
112622018-01-05 Joel Brobecker <brobecker@adacore.com>
11263
11264 * gdb.ada/rename_subscript_param: New testcase.
11265
7150d33c
JG
112662018-01-05 Jerome Guitton <guitton@adacore.com>
11267
11268 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11269
cc0e770c
JB
112702018-01-05 Joel Brobecker <brobecker@adacore.com>
11271
11272 * gdb.ada/convvar_comp: New testcase.
11273
672a41aa 112742018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
11275
11276 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11277 (My_Table): New global variable.
11278 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11279
7365ec2f
JB
112802018-01-04 Joel Brobecker <brobecker@adacore.com>
11281
11282 PR gdb/22670
11283 * gdb.ada/maint_with_ada: New testcase.
11284
289483b6
JB
112852018-01-04 Joel Brobecker <brobecker@adacore.com>
11286
11287 PR gdb/22670
11288 * gdb.ada/bp_c_mixed_case: New testcase.
11289
344420da
JB
112902018-01-04 Joel Brobecker <brobecker@adacore.com>
11291
11292 PR gdb/22670
11293 * gdb.ada/complete.exp: Add "complete break ada" test.
11294
66fc87a0
JB
112952018-01-04 Joel Brobecker <brobecker@adacore.com>
11296
11297 PR gdb/22670
11298 * gdb.ada/info_addr_mixed_case: New testcase.
11299
9f757bf7
XR
113002018-01-03 Xavier Roirand <roirand@adacore.com>
11301
11302 * gdb.ada/excep_handle.exp: New testcase.
11303 * gdb.ada/excep_handle/foo.adb: New file.
11304 * gdb.ada/excep_handle/pck.ads: New file.
11305
bd570f80
JB
113062018-01-03 Joel Brobecker <brobecker@adacore.com>
11307
11308 * gdb.base/step-line.c: Add extra empty line in copyright header.
11309 * gdb.base/step-line.inp: Likewise.
11310
9fe561ab
JB
113112018-01-02 Joel Brobecker <brobecker@adacore.com>
11312
11313 * gdb.ada/dyn_stride.exp: Add slice test.
11314
a405673c
JB
113152018-01-02 Joel Brobecker <brobecker@adacore.com>
11316
11317 * gdb.ada/dyn_stride: New testcase.
11318
cef0f868
SH
113192017-12-27 Stafford Horne <shorne@gmail.com>
11320
11321 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11322 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11323
b67d92b0
SH
113242017-12-27 Stafford Horne <shorne@gmail.com>
11325
11326 * gdb.base/reggroups.c: New file.
11327 * gdb.base/reggroups.exp: New file.
11328
eccab96d
JB
113292017-12-18 Joel Brobecker <brobecker@adacore.com>
11330
11331 * gdb.dwarf2/ada-valprint-error.c: New file.
11332 * gdb.dwarf2/ada-valprint-error.exp: New file.
11333
0e2da9f0
JB
113342017-12-18 Joel Brobecker <brobecker@adacore.com>
11335
11336 * gdb.ada/assign_arr: New testcase.
11337
cb923fcc
XR
113382017-12-18 Xavier Roirand <roirand@adacore.com>
11339
11340 * gdb.ada/funcall_ptr: New testcase.
11341
7c161838
SDJ
113422017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11343
11344 PR cli/16224
11345 * gdb.base/ptype-offsets.cc: New file.
11346 * gdb.base/ptype-offsets.exp: New file.
11347
1af17fd9
YQ
113482017-12-15 Yao Qi <yao.qi@linaro.org>
11349
11350 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11351 if XML is disabled.
11352
828d5846
XR
113532017-12-15 Xavier Roirand <roirand@adacore.com>
11354
11355 * gdb.ada/same_component_name: New testcase.
11356
79e8fcaa
JB
113572017-12-14 Joel Brobecker <brobecker@adacore.com>
11358
11359 * gdb.ada/str_binop_equal: New testcase.
11360
e05fa6f9
JB
113612017-12-14 Joel Brobecker <brobecker@adacore.com>
11362
11363 * gdb.ada/task_switch_in_core: New testcase.
11364
b89641ba
SM
113652017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11366
11367 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11368 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11369 call test_bkpt_qualified.
11370 (test_bkpt_qualified): New proc.
11371
6892d2e4
PA
113722017-12-13 Pedro Alves <palves@redhat.com>
11373
11374 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11375 Tighten regexp by matching with an anchor.
11376
a22ecf70
PA
113772017-12-13 Pedro Alves <palves@redhat.com>
11378
11379 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11380 ("expression with namespace"): New set of tests.
11381 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11382 (Nested::Test_NS::qux): New.
11383 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11384 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11385
9937536c
JB
113862017-12-13 Joel Brobecker <brobecker@adacore.com>
11387
11388 * gdb.base/server-del-break.c: New file.
11389 * gdb.base/server-del-break.exp: New file.
11390
fe49c6f5
SH
113912017-12-12 Stafford Horne <shorne@gmail.com>
11392
11393 * gdb.xml/tdesc-regs.exp: Add or1k support.
11394
c3d18620
SH
113952017-12-12 Stafford Horne <shorne@gmail.com>
11396
11397 * gdb.base/bp-permanent.c: Define nop of or1k.
11398
c5f9cfc8
JB
113992017-12-11 Joel Brobecker <brobecker@adacore.com>
11400
11401 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11402 output with components being reordered.
11403
a9c135fc
JB
114042017-12-11 Joel Brobecker <brobecker@adacore.com>
11405
11406 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11407 output with components being reordered.
11408
927aa2e7
JK
114092017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11410 Pedro Alves <palves@redhat.com>
11411
11412 * gdb.base/maint.exp (check for .gdb_index): Check also for
11413 .debug_names.
11414 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11415 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11416 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11417 (.gdb_index used after symbol reloading): Support also .debug_names.
11418 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11419
f17d9474
YQ
114202017-12-08 Yao Qi <yao.qi@linaro.org>
11421
11422 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11423 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11424
a0de8c21
YQ
114252017-12-08 Yao Qi <yao.qi@linaro.org>
11426
11427 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11428 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11429
a738ea1d
YQ
114302017-12-08 Yao Qi <yao.qi@linaro.org>
11431
11432 * gdb.arch/aarch64-tagged-pointer.c: New file.
11433 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11434
1cd9a73b
SDJ
114352017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11436
11437 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11438 "int".
11439
fa6eb693
KS
114402017-12-07 Keith Seitz <keiths@redhat.com>
11441
11442 PR breakpoints/22569
11443 * gdb.linespec/ls-errs.exp: Change expected result of "break
11444 -source this file has spaces.c -line 3".
11445 Check that an explicit source file followed by whitespace is
11446 identified as an invalid explicit location.
11447
883fd55a
KS
114482017-12-07 Keith Seitz <keiths@redhat.com>
11449
11450 * gdb.cp/nested-types.cc: New file.
11451 * gdb.cp/nested-types.exp: New file.
11452 * lib/cp-support.exp: Load data-structures.exp library.
11453 (debug_cp_test_ptype_class): New global.
11454 (cp_ptype_class_verbose, next_line): New procedures.
11455 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11456 Add and document new return value.
11457 Switch the list of lines to a queue.
11458 Add support for new `type' key for nested type definitions.
11459 Add debugging/troubleshooting messages.
11460 * lib/data-structures.exp: New file.
11461
ec72db3e
SM
114622017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11463
11464 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11465 with proc_with_prefix, don't use with_test_prefix.
11466
99598d71
TT
114672017-12-07 Tom Tromey <tom@tromey.com>
11468
11469 * gdb.base/break.exp: Add test for empty "commands".
11470
a8806230
YQ
114712017-12-07 Yao Qi <yao.qi@linaro.org>
11472
11473 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11474 malloc and catch syscall.
11475
824cc835
PM
114762017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11477
e79be6e5 11478 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
11479 tests for explicit locations.
11480
7cc244de
PA
114812017-12-06 Pedro Alves <palves@redhat.com>
11482
11483 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11484 force-disabling XML descriptions.
11485
50a1fdd5
PA
114862017-12-04 Pedro Alves <palves@redhat.com>
11487
11488 PR gdb/22499
11489 * gdb.arch/amd64-disp-step-avx.S: New file.
11490 * gdb.arch/amd64-disp-step-avx.exp: New file.
11491
f0fb2488
PA
114922017-12-03 Pedro Alves <palves@redhat.com>
11493
11494 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11495 and <string.h>.
11496 (parent_function): Print distinct messages when waitpid fails, or
11497 the child exits with a signal, or the child exits for an unhandled
11498 reason.
11499 * gdb.threads/process-dies-while-detaching.exp
11500 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11501 it. Wait for both inferior output and GDB's prompt. Use an
11502 indirect spawn id list.
11503 (do_detach): New parameter 'child_exit'. Use it to compute
11504 expected inferior output.
11505 (test_detach, test_detach_watch, test_detach_killed_outside):
11506 Adjust to pass down the expected child exit kind.
11507
97cbe998
SDJ
115082017-12-01 Joel Brobecker <brobecker@adacore.com>
11509 Sergio Durigan Junior <sergiodj@redhat.com>
11510 Pedro Alves <palves@redhat.com>
11511
11512 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11513
40fc416f
SDJ
115142017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11515
11516 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11517 to 'symbol-file' and 'add-symbol-file' can be
11518 position-independent.
11519
1cc75e92
YQ
115202017-12-01 Yao Qi <yao.qi@linaro.org>
11521
11522 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11523 the URL in copyright header.
11524 * gdb.arch/aarch64-fp.exp: Likewise.
11525 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11526 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11527 * gdb.base/expand-psymtabs.exp: Likewise.
11528 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11529 * gdb.fortran/common-block.exp: Likewise.
11530 * gdb.fortran/common-block.f90: Likewise.
11531 * gdb.fortran/logical.exp: Likewise.
11532 * gdb.fortran/vla-datatypes.f90: Likewise.
11533 * gdb.fortran/vla-sub.f90: Likewise.
11534
875fb7a7
JB
115352017-11-30 Joel Brobecker <brobecker@adacore.com>
11536
11537 * gdb.ada/repeat_dyn: New testcase.
11538
6f14765f
UW
115392017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11540
11541 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11542 Update for changed thread numbering.
11543 * gdb.cell/bt.exp: Update for changed GDB output.
11544
f1af7b94
SM
115452017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11546
11547 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11548 setting isremote by hand.
11549 * boards/dwarf4-gdb-index.exp: Likewise.
11550 * boards/fission.exp: Likewise.
11551 * boards/stabs.exp: Likewise.
11552
e3919f3e
PA
115532017-11-30 Pedro Alves <palves@redhat.com>
11554
11555 * gdb.linespec/cpls-ops.exp
11556 (check_explicit_skips_function_argument): Extract the underlying
11557 type of size_t instead of hardcoding it.
11558
bd69330d
PA
115592017-11-29 Pedro Alves <palves@redhat.com>
11560
11561 PR c++/19436
11562 * gdb.linespec/cpls-abi-tag.cc: New file.
11563 * gdb.linespec/cpls-abi-tag.exp: New file.
11564
a20714ff
PA
115652017-11-29 Pedro Alves <palves@redhat.com>
11566
11567 * gdb.base/langs.exp: Use -qualified.
11568 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11569 it.
11570 * gdb.cp/namespace.exp: Use -qualified.
11571 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11572 (overload-3, template-overload, template-ret-type, const-overload)
11573 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11574 procedures.
11575 (test_driver): Call them.
11576 * gdb.cp/save-bp-qualified.cc: New.
11577 * gdb.cp/save-bp-qualified.exp: New.
11578 * gdb.linespec/explicit.exp: Test -qualified.
11579 * lib/completion-support.exp (completion::explicit_opts_list): Add
11580 "-qualified".
11581 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11582
f6f1d339
PM
115832017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11584
11585 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11586
02ca603a
TT
115872017-11-29 Tom Tromey <tom@tromey.com>
11588
11589 * gdb.base/relocate.exp: Update invalid argument test.
11590 Add new tests for invalid arguments.
11591
ed6c0bfb
TP
115922017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11593
11594 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11595 Return 0 as a long.
11596 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11597
f106e10e
TP
115982017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11599
11600 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11601 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11602 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11603 func ().
11604 * gdb.cp/shadow.cc (B.func): Return 0.
11605
10329bb2
JB
116062017-11-27 Joel Brobecker <brobecker@adacore.com>
11607
11608 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11609 expected output in gdb_expect call to allow the exception
11610 message to be present as well. Fix syntax confusion to avoid
11611 TCL thinking that exception_name is an array.
11612
617cd4bc
UW
116132017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11614
11615 * gdb.arch/spu-info.c: Include <unistd.h>.
11616 (do_signal_test): Fix broken calls to write.
11617 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11618 Fix checks for empty mailboxes. Update signal tests for corrected
11619 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11620 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11621 * gdb.cell/arch.exp: Use standard_output_file.
11622 * gdb.cell/break.exp: Likewise.
11623 * gdb.cell/bt.exp: Likewise.
11624 * gdb.cell/core.exp: Likewise.
11625 * gdb.cell/dwarfaddr.exp: Likewise.
11626 * gdb.cell/ea-cache.exp: Likewise.
11627 * gdb.cell/ea-standalone.exp: Likewise.
11628 * gdb.cell/f-regs.exp: Likewise.
11629 * gdb.cell/fork.exp: Likewise.
11630 * gdb.cell/gcore.exp: Likewise.
11631 * gdb.cell/mem-access.exp: Likewise.
11632 * gdb.cell/ptype.exp: Likewise.
11633 * gdb.cell/registers.exp: Likewise.
11634 * gdb.cell/sizeof.exp: Likewise.
11635 * gdb.cell/solib-symbol.exp: Likewise.
11636 * gdb.cell/solib.exp: Likewise.
617cd4bc 11637
a81aaca0
PA
116382017-11-25 Pedro Alves <palves@redhat.com>
11639
11640 * gdb.base/complete-empty.exp: New file.
11641 * gdb.base/completion.exp: Adjust.
11642
6a3c6ee4
PA
116432017-11-25 Pedro Alves <palves@redhat.com>
11644
11645 * gdb.linespec/cpls-ops.cc: New file.
11646 * gdb.linespec/cpls-ops.exp: New file.
11647 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11648 factored out from ...
11649 (test_complete_prefix_range): ... this.
11650
8955eb2d
PA
116512017-11-24 Pedro Alves <palves@redhat.com>
11652
11653 * gdb.linespec/cpcompletion.exp: New file.
11654 * gdb.linespec/cpls-hyphen.cc: New file.
11655 * gdb.linespec/cpls.cc: New file.
11656 * gdb.linespec/cpls2.cc: New file.
11657 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11658 test to use test_gdb_complete_unique. Add label completion,
11659 keyword completion and explicit location completion tests.
11660 * lib/completion-support.exp: New file.
11661
e547c119
JB
116622017-11-24 Joel Brobecker <brobecker@adacore.com>
11663
11664 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11665 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11666 when hitting an exception catchpoint.
11667
7c3c1aa8
YQ
116682017-11-22 Yao Qi <yao.qi@linaro.org>
11669
11670 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11671
41bd68f5
SM
116722017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11673
11674 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11675 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11676 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11677
1daad298
YQ
116782017-11-22 Yao Qi <yao.qi@linaro.org>
11679
11680 * gdb.base/info-os.exp: Pass pthreads.
11681 * gdb.multi/multi-attach.exp: Likewise.
11682
88465e87
YQ
116832017-11-22 Yao Qi <yao.qi@linaro.org>
11684
11685 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11686 compiler.
11687
dc196b23
YQ
116882017-11-22 Yao Qi <yao.qi@linaro.org>
11689
11690 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11691 * gdb.base/break-interp.exp: Likewise.
11692 * gdb.base/jit-attach-pie.exp: Likewise.
11693
2400729e
UW
116942017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11695
11696 * gdb.base/float128.c (large128): New variable.
11697 * gdb.base/float128.exp: Add test to print largest __float128 value.
11698
7a26362d
UW
116992017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11700
11701 * gdb.arch/vsx-regs.exp: Update register content checks.
11702
ed0f4273
UW
117032017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11704
11705 * gdb.arch/ppc-longdouble.exp: New file.
11706 * gdb.arch/ppc-longdouble.c: Likewise.
11707
a25d69c6
PA
117082017-11-21 Pedro Alves <palves@redhat.com>
11709
11710 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11711
73fcf641
PA
117122017-11-20 Pedro Alves <palves@redhat.com>
11713
11714 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11715 (long_double_typedef): New typedefs.
11716 Use DEF on double and long double.
11717 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11718 cases.
11719 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11720 and 'long_double_ptr_same_size' locals. Use them to decide
11721 whether cast from array/function to float is valid/invalid.
11722
71a3c369
TT
117232017-11-17 Tom Tromey <tom@tromey.com>
11724
11725 * gdb.rust/traits.rs: New file.
11726 * gdb.rust/traits.exp: New file.
11727
ced9779b
JB
117282017-11-17 Joel Brobecker <brobecker@adacore.com>
11729
11730 * gdb.ada/minsyms: New testcase.
11731
a0922d80
PA
117322017-11-16 Pedro Alves <palves@redhat.com>
11733
11734 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11735 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11736
ea04e54c
PA
117372017-11-16 Pedro Alves <palves@redhat.com>
11738
11739 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11740 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11741
e849ea89
PA
117422017-11-16 Pedro Alves <palves@redhat.com>
11743
11744 * gdb.server/reconnect-ctrl-c.c: New file.
11745 * gdb.server/reconnect-ctrl-c.exp: New file.
11746
d8ae99a7
PM
117472017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11748
11749 * gdb.python/py-rbreak.exp: New file.
11750 * gdb.python/py-rbreak.c: New file.
11751 * gdb.python/py-rbreak-func2.c: New file.
11752
968a13f8
PA
117532017-11-16 Pedro Alves <palves@redhat.com>
11754
11755 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11756 pattern.
11757 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11758 GDB.
11759
71774bc9
SM
117602017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11761
11762 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11763 regex.
11764
ddbb44cf
SM
117652017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11766
11767 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11768 test names.
11769
584a564f
PA
117702017-11-09 Pedro Alves <palves@redhat.com>
11771
11772 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11773 factored out from ...
11774 (top level): ... here, and adjusted to avoid expecting beyond the
11775 prompt in a single gdb_test_multiple.
11776
5ed7a928
PA
117772017-11-09 Pedro Alves <palves@redhat.com>
11778
11779 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11780 output.
11781 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11782 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11783 * gdb.server/ext-run.exp ("kill" test): Likewise.
11784 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11785
a60e0738
PA
117862017-11-09 Pedro Alves <palves@redhat.com>
11787
11788 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11789 match till end of line.
11790
2c88253f
PA
117912017-11-09 Pedro Alves <palves@redhat.com>
11792
11793 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11794
c7a38517
PA
117952017-11-09 Pedro Alves <palves@redhat.com>
11796
11797 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11798 New procedures, factored out from ...
11799 (top level): ... here, and adjusted to avoid expecting beyond the
11800 prompt in one go.
11801
f29f4b6b
PA
118022017-11-09 Pedro Alves <palves@redhat.com>
11803
11804 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11805 output. Fix '?' match.
11806
286acbb5
JB
118072017-11-08 Joel Brobecker <brobecker@adacore.com>
11808
11809 * gdb.ada/scoped_watch: New testcase.
11810 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11811 which is actually correct.
11812 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11813 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11814
62d7ae92
PA
118152017-11-08 Pedro Alves <palves@redhat.com>
11816
11817 * gdb.gdb/complaints.exp (test_initial_complaints)
11818 (test_serial_complaints, test_short_complaints): Call
11819 complaint_internal instead of complaint.
11820
280ca31f
DT
118212017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11822
11823 * gdb.threads/tls-core.c: New file.
11824 * gdb.threads/tls-core.exp: Likewise.
11825
b5ec771e
PA
118262017-11-08 Pedro Alves <palves@redhat.com>
11827
11828 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11829 (p Exported_Capitalized): New test.
11830 (p exported_capitalized): New test.
11831
a02b41a7
PA
118322017-11-07 Pedro Alves <palves@redhat.com>
11833
11834 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11835
95e95a6d
PA
118362017-11-07 Pedro Alves <palves@redhat.com>
11837
11838 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11839 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11840 (disable_invalid, disable_inverted, disable_negative): New
11841 procedures.
11842 ("bad numbers"): New set of tests.
11843
cee62dbd
PA
118442017-11-07 Pedro Alves <palves@redhat.com>
11845
11846 * gdb.cp/ena-dis-br-range.exp: Add tests.
11847
cc638e86
PA
118482017-11-07 Pedro Alves <palves@redhat.com>
11849
11850 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11851
d0fe4701
XR
118522017-11-07 Xavier Roirand <roirand@adacore.com>
11853 Pedro Alves <palves@redhat.com>
11854
11855 * gdb.base/ena-dis-br.exp: Add reference to
11856 gdb.cp/ena-dis-br-range.exp.
11857 * gdb.cp/ena-dis-br-range.exp: New file.
11858 * gdb.cp/ena-dis-br-range.cc: New file.
11859
46f67f80
PA
118602017-11-06 Pedro Alves <palves@redhat.com>
11861
11862 * gdb.base/attach-non-pgrp-leader.c: New.
11863 * gdb.base/attach-non-pgrp-leader.exp: New.
11864
726e1356
PA
118652017-11-06 Pedro Alves <palves@redhat.com>
11866
11867 * configure.ac: No longer check for termio.h and sgtty.h.
11868 * configure: Regenerate.
11869 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11870 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11871 Remove termio and sgtty code.
11872
50ab6ace
YQ
118732017-11-03 Yao Qi <yao.qi@linaro.org>
11874
11875 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11876 in GDB is disabled.
11877
8e68731c
YQ
118782017-11-03 Yao Qi <yao.qi@linaro.org>
11879
11880 * gdb.python/py-thrhandle.exp: Skip it if python is not
11881 enabled.
11882
3a87ae65
SM
118832017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11884
11885 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11886 as a breakpoint command.
11887
484d8d36
MD
118882017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11889
11890 PR python/21213
11891 * gdb.python/py-infthread.exp: Test calling
11892 InferiorThread.inferior () multiple times in a row.
11893
4a27f119
KS
118942017-10-27 Keith Seitz <keiths@redhat.com>
11895
11896 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11897 Test "info break" for every inlined function breakpoint.
11898
bb11dd58
YQ
118992017-10-27 Yao Qi <yao.qi@linaro.org>
11900
11901 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11902
a43f3893
PF
119032017-10-26 Patrick Frants <osscontribute@gmail.com>
11904
11905 * gdb.cp/classes.exp (test_static_members): Test printing
11906 Outer::instance.
11907 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11908 (Inner::instance, Outer::instance): New.
11909
792ccf00
PA
119102017-10-24 Pedro Alves <palves@redhat.com>
11911
11912 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11913 extra console" test in two stages.
11914
eb2bfbad
PA
119152017-10-24 Pedro Alves <palves@redhat.com>
11916
11917 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11918
1f75a651
PA
119192017-10-24 Pedro Alves <palves@redhat.com>
11920
11921 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11922 loop.
11923
779990d9
PA
119242017-10-24 Pedro Alves <palves@redhat.com>
11925
11926 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11927 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11928
ad9b8f5d
PA
119292017-10-24 Pedro Alves <palves@redhat.com>
11930
11931 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11932 parameter and handle it. Don't output read value in test name.
11933
fee6da6e
PA
119342017-10-24 Pedro Alves <palves@redhat.com>
11935
11936 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11937 custom test name.
11938
10389c2c
PA
119392017-10-24 Pedro Alves <palves@redhat.com>
11940
11941 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11942 include the unstable output directory name in the test's name.
11943 (initial_setup_simple) <'set args'>: Use custom test name.
11944
a80e65a9
PA
119452017-10-24 Pedro Alves <palves@redhat.com>
11946
11947 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11948 with explicit test name.
11949
15763a09
PA
119502017-10-20 Pedro Alves <palves@redhat.com>
11951
11952 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11953 'wait -i'. Use gdb_assert and remote_close.
11954
49a4ce2e
AB
119552017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11956
11957 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11958 number from variable rather than hard-coded.
11959
a75868f5
PA
119602017-10-19 Pedro Alves <palves@redhat.com>
11961
11962 * gdb.base/long-inferior-output.c: New file.
11963 * gdb.base/long-inferior-output.exp: New file.
11964
c8ba13ad
KS
119652017-11-18 Keith Seitz <keiths@redhat.com>
11966
11967 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11968 method.
11969 (main): Call it.
11970 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11971 Add additional user-defined conversion operator tests.
11972
b27de576
PA
119732017-10-17 Pedro Alves <palves@redhat.com>
11974
11975 * boards/native-stdio-gdbserver.exp: Load "local-board".
11976
8484c955
PA
119772017-10-17 Pedro Alves <palves@redhat.com>
11978
11979 * gdb.base/quit-live.c: New file.
11980 * gdb.base/quit-live.exp: New file.
11981
83d5a34d
KS
119822017-10-16 Keith Seitz <keiths@redhat.com>
11983
11984 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11985 (class_with_protected_typedef, class_with_private_typedef)
11986 (struct_with_public_typedef, struct_with_protected_typedef)
11987 (struct_with_private_typedef): New classes/structs.
11988 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11989 typedefs and access specifiers.
11990
739b3f1d
PA
119912017-10-16 Pedro Alves <palves@redhat.com>
11992 Simon Marchi <simon.marchi@polymtl.ca>
11993
11994 * README (Local vs Remote vs Native): New section.
11995 * boards/local-board.exp: New file, with bits factored out from
11996 ...
11997 * boards/native-extended-gdbserver.exp: ... here. Load
11998 "local-board".
11999 * boards/native-gdbserver.exp: Load "local-board".
12000 (${board}_spawn, ${board}_exec): Delete.
12001 * boards/native-stdio-gdbserver.exp: Most contents factored out to
12002 ...
12003 * boards/stdio-gdbserver-base.exp: ... this new file.
12004 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
12005 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
12006 procedure.
12007 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
12008 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
12009 stdio_gdbserver_command.
12010 (${board}_get_remote_address, ${board}_get_comm_port)
12011 (${board}_download, ${board}_upload): Delete.
12012 (get_target_remote_pipe_cmd): New.
12013
fe68b953
SM
120142017-10-16 Simon Marchi <simon.marchi@ericsson.com>
12015
12016 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
12017 test_bkpt_deletion, test_bkpt_cond_and_cmds,
12018 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
12019 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
12020 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
12021 remove with_test_prefix.
12022
300b6685
PA
120232017-10-13 Pedro Alves <palves@redhat.com>
12024
12025 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
12026 * gdb.base/annota1.exp: Use it instead of is_remote.
12027 * gdb.base/annota3.exp: Use it instead of is_remote.
12028 * gdb.cp/annota2.exp: Use it instead of is_remote.
12029 * gdb.cp/annota3.exp: Use it instead of is_remote.
12030 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
12031
50500caf
PA
120322017-10-13 Pedro Alves <palves@redhat.com>
12033
12034 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
12035 (test_num_test_vars, run_and_count_vars, find_env)
12036 (test_set_unset_env, test_inherit_env_var): New procedures.
12037 (top level): Use them.
12038
dad0c6d2
PA
120392017-10-13 Pedro Alves <palves@redhat.com>
12040
12041 * lib/selftest-support.exp (selftest_setup): Extend comments, and
12042 also skip on stub-like targets.
12043
8b0553c1
PA
120442017-10-13 Pedro Alves <palves@redhat.com>
12045
12046 PR gdb/22293
12047 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12048 (top level): Move some tests to ...
12049 (test_not_found): ... this new procedure.
12050 (top level): Call it.
12051
7594f623
PA
120522017-10-13 Pedro Alves <palves@redhat.com>
12053
12054 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12055 expect different "info terminal" output if testing with a
12056 non-native target.
12057
ebe3b402
PA
120582017-10-13 Pedro Alves <palves@redhat.com>
12059 Simon Marchi <simon.marchi@polymtl.ca>
12060
12061 PR python/12966
12062 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12063
42f1b161
PA
120642017-10-13 Pedro Alves <palves@redhat.com>
12065
12066 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12067 already.
12068
8d6ef72b
PA
120692017-10-13 Pedro Alves <palves@redhat.com>
12070
12071 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12072 is_remote.
12073
d7bcd5b8
PA
120742017-10-13 Pedro Alves <palves@redhat.com>
12075
12076 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12077 is_remote.
12078
df479dc6
PA
120792017-10-13 Pedro Alves <palves@redhat.com>
12080
12081 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12082 is set.
12083 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12084 instead of is_remote.
12085
23fb630a
PA
120862017-10-13 Pedro Alves <palves@redhat.com>
12087
12088 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12089 (top level): Add comment.
12090
cc77b1dc
PA
120912017-10-13 Pedro Alves <palves@redhat.com>
12092
12093 * gdb.base/remote.exp (top level): Fix comment typo and add
12094 missing return.
12095
27c9e813
PA
120962017-10-13 Pedro Alves <palves@redhat.com>
12097 Simon Marchi <simon.marchi@polymtl.ca>
12098
12099 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12100 calls and add comments. Skip test if use_gdb_stub is set.
12101 (top level): Use "set cwd" command instead of "cd" command.
12102
5e830d98
PA
121032017-10-13 Pedro Alves <palves@redhat.com>
12104
12105 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12106 is_remote target check.
12107
f5ca0032
PA
121082017-10-13 Pedro Alves <palves@redhat.com>
12109
12110 * gdb.base/scope.exp: Use build_executable + clean_restart +
12111 gdb_file_cmd instead of prepare_for_testing and no longer skip
12112 "before run" tests on is_remote target boards. Update comments.
12113 * boards/native-extended-gdbserver.exp
12114 (extended_gdbserver_load_last_file): New, factored out from ...
12115 (gdb_load): ... this. Move further below and add comment.
12116 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12117
8aed1c0d
PA
121182017-10-12 Pedro Alves <palves@redhat.com>
12119
12120 * gdb.base/attach.exp: Remove references to gdb64.
12121 * gdb.base/dbx.exp: Remove references to gdb64.
12122
cfa34c87
SM
121232017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12124 Pedro Alves <palves@redhat.com>
12125
12126 * gdb.base/label.exp: Remove is_remote target check.
12127
9192b7de
PA
121282017-10-12 Pedro Alves <palves@redhat.com>
12129
12130 * gdb.base/auvx.exp (coredir): Update comment.
12131 (top level) <core_works>: Use "set cwd" command instead of "cd"
12132 command.
12133
6bf0052d
PA
121342017-10-12 Pedro Alves <palves@redhat.com>
12135 Simon Marchi <simon.marchi@polymtl.ca>
12136
12137 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12138 target boards.
12139
e48ef82d
PA
121402017-10-12 Pedro Alves <palves@redhat.com>
12141 Simon Marchi <simon.marchi@polymtl.ca>
12142
12143 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12144 Instead skip if there's any gdb_protocol set.
12145
8d7aea57
SM
121462017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12147 Pedro Alves <palves@redhat.com>
12148
12149 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12150
30440677
PA
121512017-10-12 Pedro Alves <palves@redhat.com>
12152 Simon Marchi <simon.marchi@polymtl.ca>
12153
12154 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12155 instead of on dejagnu remote boards.
12156
4e04f045 121572017-10-12 Pedro Alves <palves@redhat.com>
175654b9 12158 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
12159
12160 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12161 checks. Use build_executable + clean_restart instead of
12162 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12163 of enabling non-stop after starting gdb.
12164
871a186e
PA
121652017-10-12 Pedro Alves <palves@redhat.com>
12166
12167 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12168 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12169 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12170 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12171
56d704da
AK
121722017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12173
12174 * gdb.arch/arc-tdesc-cpu.exp: New file.
12175 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12176
2f20e312
SM
121772017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12178
12179 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12180
65630365
PA
121812017-10-10 Pedro Alves <palves@redhat.com>
12182
12183 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12184 expect CLI output.
12185
bf469271
PA
121862017-10-10 Pedro Alves <palves@redhat.com>
12187
12188 * lib/selftest-support.exp (selftest_setup): Update for
12189 captured_command_loop's prototype change.
12190
777a42f1
PA
121912017-10-09 Pedro Alves <palves@redhat.com>
12192
12193 Test both arch1=>arch2 and arch2=>arch1.
12194
12195 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12196 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12197 factored out to...
12198 (append_arch1_options, append_arch2_options, append_arch_options)
12199 (build_executables): New procedures.
12200 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12201 local.
12202 (top level): Add new 'first_arch' testing axis.
12203
cbd2b4e3
PA
122042017-10-09 Pedro Alves <palves@redhat.com>
12205
12206 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12207 (barrier): New.
12208 (thread_start, all_started): New functions.
12209 (main): Spawn new thread and wait until it is scheduled.
12210 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12211 option.
12212 (do_test): Add 'selected_thread' parameter. Run to all_started
12213 instead of main. Explicitly set the breakpoint at main. Switch
12214 to the SELECTED_THREAD thread.
12215 (top level): Test handling the exec event with either the main
12216 thread or the second thread selected.
12217
5c9e4427
PA
122182017-10-09 Pedro Alves <palves@redhat.com>
12219
12220 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12221 logic. Move STOP marker after the value checks.
12222 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12223 regexp.
12224
b3b7c423
SL
122252017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12226
12227 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12228
3b4b2f16
UW
122292017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12230
12231 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12232 integer-to-dfp conversion.
12233 * gdb.base/dfp-test.exp: Likewise.
12234
5cd63fda
PA
122352017-10-04 Pedro Alves <palves@redhat.com>
12236
12237 * gdb.multi/hangout.c: Include <unistd.h>.
12238 (hangout_loop): New function.
12239 (main): Call alarm. Call hangout_loop in a loop.
12240 * gdb.multi/hello.c: Include <unistd.h>.
12241 (hello_loop): New function.
12242 (main): Call alarm. Call hangout_loop in a loop.
12243 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12244 inferior with the other selected.
12245
4c71c105
SM
122462017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12247
12248 * gdb.mi/list-thread-groups-available.exp: New file.
12249 * gdb.mi/list-thread-groups-available.c: New file.
12250
bc3b087d
SDJ
122512017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12252
12253 * gdb.base/set-cwd.exp: Make it available on
12254 native-extended-gdbserver.
12255
d092c5a2
SDJ
122562017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12257
12258 * gdb.base/set-cwd.c: New file.
12259 * gdb.base/set-cwd.exp: Likewise.
12260
45320ffa
TT
122612017-10-02 Tom Tromey <tom@tromey.com>
12262
12263 PR rust/22236:
12264 * gdb.rust/simple.rs (main): New variable "fslice".
12265 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12266
b3e3859b
TT
122672017-10-02 Tom Tromey <tom@tromey.com>
12268
12269 * gdb.rust/simple.exp: Test ptype of a slice.
12270
01af5e0d
TT
122712017-10-02 Tom Tromey <tom@tromey.com>
12272
12273 * gdb.rust/simple.exp: Test index of slice.
12274
a9bbfbd8
TT
122752017-09-27 Tom Tromey <tom@tromey.com>
12276
12277 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12278
df8899e5
TP
122792017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12280 Pedro Alves <palves@redhat.com>
12281
12282 * gdb.base/compare-sections.exp (get value of read-only section): Read
12283 as unsigned value.
12284 (corrupt read-only section): Likewise and don't set written if patching
12285 failed.
12286
757bf54b
KB
122872017-09-21 Kevin Buettner <kevinb@redhat.com>
12288
12289 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12290 files.
12291
06871ae8
PA
122922017-09-20 Pedro Alves <palves@redhat.com>
12293
12294 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12295 symbol names in gdb's output.
12296 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12297
e5f25bc5
PA
122982017-09-20 Pedro Alves <palves@redhat.com>
12299
12300 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12301 Rename to ...
12302 (test_list_ambiguous_symbol): ... this and add a symbol name
12303 parameter. Adjust.
12304 (test_list_ambiguous_function): Reimplement on top of
12305 test_list_ambiguous_symbol and also test listing ambiguous
12306 variables.
12307 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12308 (ambiguous_fun): ... this.
12309 (ambiguous_var): New.
12310 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12311 (ambiguous_fun): ... this.
12312 (ambiguous_var): New.
12313
4e5a4f58
JB
123142017-09-19 John Baldwin <jhb@FreeBSD.org>
12315
12316 * gdb.base/starti.c: New file.
12317 * gdb.base/starti.exp: New file.
12318 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12319
26e53f3e
PA
123202017-09-14 Pedro Alves <palves@redhat.com>
12321
12322 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12323 (top level): Use it instead of runto.
12324
cb791d59
TT
123252017-09-11 Tom Tromey <tom@tromey.com>
12326
12327 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12328
7c96f8c1
TT
123292017-09-11 Tom Tromey <tom@tromey.com>
12330
12331 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12332 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12333
469412dd
CW
123342017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12335
12336 * gdb.fortran/printing-types.exp: New file.
12337 * gdb.fortran/printing-types.exp: New file.
12338
e0f86435
BH
123392017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12340
12341 * gdb.fortran/vla-ptype.exp: Fix typos.
12342 * gdb.fortran/vla-value.exp: Same.
12343
9e9af4be
BH
123442017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12345
12346 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12347 * gdb.mi/mi-var-child-f.exp: Likewise.
12348 * gdb.mi/mi-vla-fortran.exp: Likewise.
12349
a5ad232b 123502017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
12351 Christoph Weinmann <christoph.t.weinmann@intel.com>
12352 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
12353
12354 * gdb.fortran/ptr-indentation.f90: New file.
12355 * gdb.fortran/ptr-indentation.exp: New file.
12356
5aec60eb
TT
123572017-09-05 Tom Tromey <tom@tromey.com>
12358
12359 PR gdb/22010:
12360 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12361
8f8f8152
TP
123622017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12363
12364 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12365
fbd1b771
JK
123662017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12367
12368 * gdb.threads/tls-nodebug-pie.c: New file.
12369 * gdb.threads/tls-nodebug-pie.exp: New file.
12370
5eb5f850
TT
123712017-09-05 Tom Tromey <tom@tromey.com>
12372
12373 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12374 for rust.
12375
ae780a21
SM
123762017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12377
12378 * gdb.multi/multi-arch-exec.exp: Test with different
12379 "follow-exec-mode" settings.
12380 (do_test): New procedure.
12381
3693fdb3
PA
123822017-09-04 Pedro Alves <palves@redhat.com>
12383
12384 * gdb.base/func-static.c (S::method const, S::method volatile)
12385 (S::method volatile const): New methods.
12386 (c_s, v_s, cv_s): New instances.
12387 (main): Call method() on them.
12388 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12389 (cannot_resolve): New procedure.
12390 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12391 print-quote-unquoted columns.
12392 (do_test): Test printing each scope too.
12393
e68cb8e0
PA
123942017-09-04 Pedro Alves <palves@redhat.com>
12395
12396 * gdb.base/local-static.exp: Also test with
12397 class::method::variable wholly quoted.
12398 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12399
858be34c
PA
124002017-09-04 Pedro Alves <palves@redhat.com>
12401
12402 * gdb.base/local-static.c: New.
12403 * gdb.base/local-static.cc: New.
12404 * gdb.base/local-static.exp: New.
12405
46a4882b
PA
124062017-09-04 Pedro Alves <palves@redhat.com>
12407
12408 * gdb.asm/asm-source.exp: Add casts to int.
12409 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12410 (dataglobal64_1, dataglobal64_2): New globals.
12411 * gdb.base/nodebug.exp: Test different expressions involving the
12412 new globals, with print, whatis and ptype. Add casts to int.
12413 * gdb.base/solib-display.exp: Add casts to int.
12414 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12415 * gdb.cp/m-static.exp: Add cast to int.
12416 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12417 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12418 tls variable with no debug info without a cast. Test with a cast
12419 to int too.
12420 * gdb.trace/entry-values.exp: Add casts.
12421
2c5a2be1
PA
124222017-09-04 Pedro Alves <palves@redhat.com>
12423
12424 * gdb.base/nodebug.exp: Test that ptype's error about functions
12425 with unknown return type includes the function name too.
12426
7022349d
PA
124272017-09-04 Pedro Alves <palves@redhat.com>
12428
12429 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12430 return type of munmap in infcall.
12431 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12432 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12433 type of ftell in infcall.
12434 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12435 type of getpid in infcall.
12436 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12437 infcall.
12438 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12439 Bail on failure to extract the pid.
12440 * gdb.base/nodebug.c: #include <stdint.h>.
12441 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12442 New functions.
12443 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12444 Change expected output of print/whatis/ptype with functions with
12445 no debug info. Test all supported languages. Call
12446 test_call_promotion.
12447 * gdb.compile/compile.exp: Adjust expected output to expect
12448 warning.
12449 * gdb.threads/siginfo-threads.exp: Likewise.
12450
54990598
PA
124512017-09-04 Pedro Alves <palves@redhat.com>
12452
12453 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12454 "prototypes". Test calling float functions via prototyped and
12455 unprototyped function pointers.
12456 (perform_all_tests): New parameter "prototypes". Pass it down.
12457 (top level): Pass down "prototypes" parameter to
12458 perform_all_tests.
12459
34d16ea2
SM
124602017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12461
12462 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12463 Test with nested loops.
12464
9521ecda
SM
124652017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12466
12467 * gdb.base/commands.exp: Call the new procedures.
12468 (loop_break_test, loop_continue_test): New procedures.
12469
80a65e9b
SM
124702017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12471
12472 * gdb.base/commands.exp: Call new procedure.
12473 (define_if_without_arg_test): New procedure.
12474
e439fa14
PA
124752017-09-04 Pedro Alves <palves@redhat.com>
12476
12477 * gdb.base/list-ambiguous.exp: New file.
12478 * gdb.base/list-ambiguous0.c: New file.
12479 * gdb.base/list-ambiguous1.c: New file.
12480 * gdb.base/list.exp (test_list_range): Adjust expected output.
12481
0a2dde4a
SDJ
124822017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12483
12484 * gdb.base/share-env-with-gdbserver.c: New file.
12485 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12486
5e89eb3a
SM
124872017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12488
12489 * gdb.base/commands.exp (gdbvar_simple_if_test,
12490 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12491 progvar_simple_if_test, progvar_simple_while_test,
12492 progvar_complex_if_while_test, user_defined_command_test,
12493 user_defined_command_args_eval,
12494 user_defined_command_args_stack_test,
12495 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12496 temporary_breakpoint_commands,
12497 gdb_test_no_prompt, redefine_hook_test,
12498 redefine_backtrace_test): Remove "global gdb_prompt".
12499
fd437cbc
SM
125002017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12501
12502 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12503 New proc, call it from toplevel.
12504
87215ad1
SDJ
125052017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12506
12507 PR remote/21852
12508 * gdb.server/normal.c: New file, copied from gdb.base.
12509 * gdb.server/run-without-local-binary.exp: New file.
12510
58afddc6
WP
125112017-08-07 Weimin Pan <weimin.pan@oracle.com>
12512
12513 * gdb.arch/sparc64-adi.exp: New file.
12514 * gdb.arch/sparc64-adi.c: New file.
12515
5277199a
PA
125162017-08-22 Pedro Alves <palves@redhat.com>
12517
12518 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12519 (top level): Add "list all overloads" tests.
12520
14278e1f
TT
125212017-08-22 Tom Tromey <tom@tromey.com>
12522
12523 * gdb.gdb/xfullpath.exp: Remove.
12524
bf223d3e
PA
125252017-08-21 Pedro Alves <palves@redhat.com>
12526
12527 PR gdb/19487
12528 * gdb.base/symbol-alias.c: New.
12529 * gdb.base/symbol-alias2.c: New.
12530 * gdb.base/symbol-alias.exp: New.
12531
c973d0aa
PA
125322017-08-21 Pedro Alves <palves@redhat.com>
12533
12534 * gdb.base/dfp-test.c
12535 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12536 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12537 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12538 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12539 * gdb.base/whatis-ptype-typedefs.c: New.
12540 * gdb.base/whatis-ptype-typedefs.exp: New.
12541 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12542 (an_int, an_int_type, an_int_type2): New globals.
12543 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12544 involving typedefs and cast expressions.
12545 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12546 (lookup_typedefs_function): New.
12547 (typedefs_pretty_printers_dict): New.
12548 (top level): Register lookup_typedefs_function in
12549 gdb.pretty_printers.
12550
6d580b63
YQ
125512017-08-18 Yao Qi <yao.qi@linaro.org>
12552
12553 * gdb.server/unittest.exp: New.
12554
206726fb
SDJ
125552017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12556
12557 PR gdb/21954
12558 * gdb.base/environ.exp: Add test to check if 'unset environment'
12559 works.
12560
bf0ec4c2
AA
125612017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12562
12563 * lib/gdb.exp (universal_compile_options): New caching proc.
12564 (gdb_compile): Suppress GCC's coloring of messages.
12565
d6382fff
TT
125662017-08-14 Tom Tromey <tom@tromey.com>
12567
12568 PR gdb/21675:
12569 * gdb.base/printcmds.exp (test_radices): New function.
12570 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12571 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12572 * lib/gdb.exp (get_integer_valueof): Use p/d.
12573
c2c2dd9f
SM
125742017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12575
12576 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12577 characters.
12578
fdffd6f4
TT
125792017-08-05 Tom Tromey <tom@tromey.com>
12580
12581 * gdb.rust/simple.exp: Allow String to appear in a different
12582 namespace.
12583
27d41eac
YQ
125842017-07-26 Yao Qi <yao.qi@linaro.org>
12585
12586 * gdb.gdb/unittest.exp: Invoke command
12587 "maintenance check xml-descriptions".
12588
031ed05d
AA
125892017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12590
12591 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12592 calling context.
12593 (hex128): Drop erroneous calculation of parameters.
12594
dcd27ddf
SM
125952017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12596
12597 * gdb.python/py-unwind.exp: Disable stack protection when
12598 building test file.
12599
47e77640
PA
126002017-07-20 Pedro Alves <palves@redhat.com>
12601
12602 * gdb.base/default.exp (set language): Adjust expected output.
12603
62d2a18a
PA
126042017-07-20 Pedro Alves <palves@redhat.com>
12605
12606 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12607 (test_minsym): ... this, and make static.
12608 (get_pck__foo__bar__minsym): Rename to ...
12609 (get_test_minsym): ... this.
12610 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12611 symbol names and comments.
12612 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12613 (get_test_minsym): ... this.
12614 (pck__foo__bar__minsym__2): Rename to ...
12615 (test_minsym): ... this.
12616 (main): Adjust.
12617
c45ec17c
PA
126182017-07-17 Pedro Alves <palves@redhat.com>
12619
12620 * gdb.base/completion.exp: Adjust expected output.
12621 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12622 the completer works.
12623
c6756f62
PA
126242017-07-17 Pedro Alves <palves@redhat.com>
12625
12626 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12627
5bd68487
AB
126282017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12629
12630 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12631
8880f2a9
TT
126322017-07-14 Tom Tromey <tom@tromey.com>
12633
12634 PR rust/21764:
12635 * gdb.rust/simple.exp: Add tests.
12636
65547233
TT
126372017-07-14 Tom Tromey <tom@tromey.com>
12638
12639 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12640
8f14146e
PA
126412017-07-14 Pedro Alves <palves@redhat.com>
12642
12643 * gdb.linespec/base/one/thefile.cc (z1): New function.
12644 * gdb.linespec/base/two/thefile.cc (z2): New function.
12645 * gdb.linespec/linespec.exp: Add tests.
12646
b4365d02
AB
126472017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12648
12649 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12650 to mi_create_breakpoint.
12651
5d2cbaa5
AB
126522017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12653
12654 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12655 mi_create_breakpoint.
12656
11cb5716
IB
126572017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12658
12659 * gdb.dlang/demangle.exp: Update for demangling changes.
12660
03278692
TT
126612017-07-09 Tom Tromey <tom@tromey.com>
12662
12663 * gdb.dwarf2/shortpiece.exp: New file.
12664
33c5cd75
DB
126652017-07-06 David Blaikie <dblaikie@gmail.com>
12666
12667 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12668 built from fissiont-multi-cu{1,2}.c.
12669 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12670 except putting 'main' and 'func' in separate CUs in the same DWO file.
12671 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12672 test.
12673 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12674 test.
12675
8455d262
PA
126762017-07-06 Pedro Alves <palves@redhat.com>
12677
12678 * gdb.python/py-unwind.exp: Test flushregs.
12679
dc4bde35
SDJ
126802017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12681
12682 PR cli/21688
12683 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12684 tests for alias commands and trailing whitespace.
12685
51ed89aa
SDJ
126862017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12687
12688 PR cli/21688
12689 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12690 procedure. Call it.
12691
eb17d413
PA
126922017-06-29 Pedro Alves <palves@redhat.com>
12693
12694 * gdb.base/printcmds.exp: Add tests.
12695
41664b45
DG
126962017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12697
12698 PR gdb/21337
12699 * gdb.base/reread-readsym.exp: New file.
12700 * gdb.base/reread-readsym.c: New file.
12701
75312ae3
KB
127022017-06-21 Kevin Buettner <kevinb@redhat.com>
12703
12704 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12705 subpattern.
12706
66953522
PB
127072017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12708
12709 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12710 extended mnemonic.
12711 * gdb.arch/powerpc-power9.s: Likewise.
12712
5524b525
AA
127132017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12714
12715 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12716 on 32-bit x86 targets. Exploit is_*_target macros where
12717 appropriate.
12718
03c8af18
AA
127192017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12720
12721 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12722 register pieces.
12723
3bf31011
AA
127242017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12725
12726 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12727 located in one or more DWARF pieces.
12728
805acca0
AA
127292017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12730
12731 * lib/gdb.exp (get_endianness): New proc.
12732 * gdb.arch/aarch64-fp.exp: Use it.
12733 * gdb.arch/altivec-regs.exp: Likewise.
12734 * gdb.arch/e500-regs.exp: Likewise.
12735 * gdb.arch/vsx-regs.exp: Likewise.
12736 * gdb.base/dump.exp: Likewise.
12737 * gdb.base/funcargs.exp: Likewise.
12738 * gdb.base/gnu_vector.exp: Likewise.
12739 * gdb.dwarf2/formdata16.exp: Likewise.
12740 * gdb.dwarf2/implptrpiece.exp: Likewise.
12741 * gdb.dwarf2/nonvar-access.exp: Likewise.
12742 * gdb.python/py-inferior.exp: Likewise.
12743 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12744
e9352324
AA
127452017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12746
12747 PR gdb/21226
12748 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12749 stack value pieces are taken from the LSB end.
12750
d5d1163e
AA
127512017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12752
12753 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12754 variable at nonzero offset.
12755
0567c986
AA
127562017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12757
12758 * gdb.dwarf2/var-access.c: New file.
12759 * gdb.dwarf2/var-access.exp: New test.
12760 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12761
973e9aab
TT
127622017-06-12 Tom Tromey <tom@tromey.com>
12763
12764 * gdb.dwarf2/formdata16.exp: Add tests.
12765
d9109c80
TT
127662017-06-12 Tom Tromey <tom@tromey.com>
12767
12768 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12769
30a25466
TT
127702017-06-12 Tom Tromey <tom@tromey.com>
12771
12772 PR exp/16225:
12773 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12774 * gdb.arch/vsx-regs.exp: Update tests.
12775 * gdb.arch/s390-vregs.exp (hex128): New proc.
12776 Update test.
12777 * gdb.arch/altivec-regs.exp: Update tests.
12778
aefd8b33
SDJ
127792017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12780
12781 * gdb.base/startup-with-shell.c: New file.
12782 * gdb.base/startup-with-shell.exp: Likewise.
12783
2090129c
SDJ
127842017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12785
12786 * gdb.server/non-existing-program.exp: Update regex in order to
12787 reflect the fact that gdbserver is now using fork_inferior (with a
12788 shell) to startup the inferior.
12789
8e86a419
SM
127902017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12791
12792 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12793 support function calls from GDB.
12794
e6cf65f2
TT
127952017-05-21 Tom Tromey <tom@tromey.com>
12796
12797 PR rust/21466:
12798 * gdb.rust/unsized.exp: New file.
12799 * gdb.rust/unsized.rs: New file.
12800
43cc5389
TT
128012017-05-19 Tom Tromey <tom@tromey.com>
12802
12803 PR rust/21484:
12804 * gdb.rust/watch.exp: New file.
12805 * gdb.rust/watch.rs: New file.
12806
ec8df234
TT
128072017-05-18 Tom Tromey <tom@tromey.com>
12808
12809 * gdb.rust/simple.exp: Allow Box to be qualified.
12810
3e3e7fae
TP
128112017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12812
12813 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12814
59cc050d
PA
128152017-05-18 Pedro Alves <palves@redhat.com>
12816
12817 * gdb.base/fileio.c (test_write, test_read, test_close)
12818 (test_fstat): Don't print 'ret' in the fail path.
12819
c8f6abd1
PA
128202017-05-18 Pedro Alves <palves@redhat.com>
12821
12822 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12823 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12824 (test_system, test_rename, test_unlink, test_time): Change
12825 prototypes.
12826 * gdb.base/fileio.exp (stop_msg): Adjust.
12827
d2a03b77
PA
128282017-05-18 Pedro Alves <palves@redhat.com>
12829
12830 * gdb.base/fileio.c (null_str): New global.
12831 (test_stat): Use it.
12832 * gdb.base/fileio.exp: Remove nowarnings.
12833
0d5c6999
YQ
128342017-05-17 Yao Qi <yao.qi@linaro.org>
12835
12836 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12837
21873064
YQ
128382017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12839
12840 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12841 argument command.
12842 (top-level): Invoke test_set_inferior_tty.
12843
d512d31c
PA
128442017-05-04 Pedro Alves <palves@redhat.com>
12845
12846 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12847 Add parens to print call for Python 3.
12848
90cef2ed
KS
128492017-05-03 Keith Seitz <keiths@redhat.com>
12850
12851 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12852 (main): Call it.
12853
14f819c8
TW
128542017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12855
12856 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12857 to prev and next.
12858
913aeadd
TW
128592017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12860
12861 * gdb.python/py-record-btrace.exp: Remove test for
12862 gdb.BtraceInstruction.error.
12863
a3be24ad
TW
128642017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12865
12866 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12867
ae20e79a
TW
128682017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12869
12870 * gdb.python/py-record-btrace-threads.c: New file.
12871 * gdb.python/py-record-btrace-threads.exp: New file.
12872
45ce1b47
SDJ
128732017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12874
12875 PR testsuite/8595
12876 * gdb.base/environ.exp: Make test available in all architectures.
12877 Move bits related to "info program" testing to
12878 gdb.base/info-program.exp. Rewrite tests to use the two new
12879 procedures mentione below.
12880 (test_set_show_env_var) New procedure.
12881 (test_set_show_env_var_equal): Likewise.
12882 * gdb.base/info-program.exp: New file.
12883
e15c3eb4
KS
128842017-04-27 Keith Seitz <keiths@redhat.com>
12885
12886 * gdb.cp/oranking.cc (test15): New function.
12887 (main): Call test15 and declare additional variables for testing.
12888 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12889 "p foo101('abc')" tests.
12890 Add tests for cv qualifier overloads.
12891 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12892 "lvalue reference overload" test.
12893 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12894 "print value of f1 on Child&& in f2" test.
12895
3a3fd0fd
PA
128962017-04-19 Pedro Alves <palves@redhat.com>
12897
12898 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12899 procedure.
12900 (top level): Call it.
12901 * lib/gdb.exp (gdb_define_cmd): New procedure.
12902
53375380
PA
129032017-04-12 Pedro Alves <palves@redhat.com>
12904
12905 PR gdb/21323
12906 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12907 (wchar): New global.
12908 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12909 (do_test_wide_char, wide_char_types_no_program, top level): Add
12910 wchar_t testing.
12911
53e710ac
PA
129122017-04-12 Pedro Alves <palves@redhat.com>
12913
12914 PR c++/21323
12915 * gdb.cp/wide_char_types.c: New file.
12916 * gdb.cp/wide_char_types.exp: New file.
12917
0ad9d8c7
SDJ
129182017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12919
12920 PR gdb/21352
12921 * gdb.trace/tsv.exp: Add test for "tsave -r".
12922
b1b45502
IB
129232017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12924
12925 * gdb.dlang/watch-loc.c: New file.
12926 * gdb.dlang/watch-loc.exp: New file.
12927
ec13808e
JK
129282017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12929
12930 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12931
fe5f7374
AK
129322017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12933
12934 * gdb.arch/arc-analyze-prologue.S: New file.
12935 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12936
eea78757
AK
129372017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12938
12939 * gdb.arch/arc-decode-insn.S: New file.
12940 * gdb.arch/arc-decode-insn.exp: Likewise.
12941
5badf10a
IR
129422017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12943
12944 PR tdep/20928
12945 * gdb.arch/sparc64-regs.exp: New file.
12946 * gdb.arch/sparc64-regs.S: Likewise.
12947
cee59b3f
TW
129482017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12949
12950 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12951 and memory view on Python 3.
12952
c0f55cc6
AV
129532017-03-20 Artemiy Volkov <artemiyv@acm.org>
12954 Keith Seitz <keiths@redhat.com>
12955
12956 PR gdb/14441
12957 * gdb.cp/demangle.exp: Add rvalue reference tests.
12958 * gdb.cp/rvalue-ref-casts.cc: New file.
12959 * gdb.cp/rvalue-ref-casts.exp: New file.
12960 * gdb.cp/rvalue-ref-overload.cc: New file.
12961 * gdb.cp/rvalue-ref-overload.exp: New file.
12962 * gdb.cp/rvalue-ref-params.cc: New file.
12963 * gdb.cp/rvalue-ref-params.exp: New file.
12964 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12965 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12966 * gdb.cp/rvalue-ref-types.cc: New file.
12967 * gdb.cp/rvalue-ref-types.exp: New file.
12968 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12969 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12970
51457a05
MAL
129712017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12972
12973 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12974 New procedure.
12975
5b291c04
MAL
129762017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12977
12978 * lib/mi-support.exp (mi_gdb_test): Add additional message
12979 for unexpected output.
12980
59a56148
AA
129812017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12982
12983 * gdb.base/examine-backward.c (Barrier): New character array
12984 constant, to ensure that TestStrings is preceded by a string
12985 terminator.
12986
7942e96e
AA
129872017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12988
12989 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12990 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12991 and implicit pointer into such a location.
12992
6ebac3fb
DE
129932017-03-16 Doug Evans <dje@google.com>
12994
12995 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12996
ec3b243d
TP
129972017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12998
12999 * gdb.cp/m-static.exp: Fix expectation for prototype of
13000 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
13001
130022017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
13003
13004 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
13005 * gdb.guile/scm-lazy-string.c: New file.
13006 * gdb.guile/scm-value.exp: Move lazy string tests to ...
13007 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
13008 for pointer, array, typedef lazy strings.
13009
2cc36e25 130102017-03-16 Doug Evans <dje@google.com>
34b43320
DE
13011
13012 PR python/17728, python/18439, python/18779
13013 * gdb.python/py-value.c (main) Delete locals sptr, sn.
13014 * gdb.python/py-lazy-string.c (pointer): New typedef.
13015 (main): New locals ptr, array, typedef_ptr.
13016 * gdb.python/py-value.exp: Move lazy string tests to ...
13017 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
13018 array, typedef lazy strings.
ec3b243d 13019
0efcde63
AK
130202017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
13021
13022 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
13023 Add optional 'test' parameter.
13024
7978d7c3
SM
130252017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13026
13027 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13028 Skip for versions of DejaGnu < 1.5.
13029
896c0c1e
SM
130302017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13031
13032 * lib/gdb.exp (dejagnu_version): New proc.
13033 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13034 Use dejagnu_version.
13035
5f4d1085
KS
130362017-03-10 Keith Seitz <keiths@redhat.com>
13037
13038 PR c++/8128
13039 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
13040 type from destructor regexps.
13041 Add a branch which actually passes the test.
13042 Adjust "ptype t5i" test names.
13043
1de05205
PA
130442017-03-08 Pedro Alves <palves@redhat.com>
13045
13046 * gdb.base/step-over-exit.exp: Add explicit test message.
13047
c65d6b55
PA
130482017-03-08 Pedro Alves <palves@redhat.com>
13049
13050 PR gdb/18360
13051 * gdb.threads/interrupt-while-step-over.c: New file.
13052 * gdb.threads/interrupt-while-step-over.exp: New file.
13053
2e86a283
PA
130542017-03-08 Pedro Alves <palves@redhat.com>
13055
13056 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13057 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13058
25dcbff6
PA
130592017-03-08 Pedro Alves <palves@redhat.com>
13060
13061 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13062 PKRU as not supported as a PASS.
13063
dc9366eb
PA
130642017-03-08 Pedro Alves <palves@redhat.com>
13065
13066 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13067 prefix instead of $binfile1/$binfile2.
13068 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13069 in test message.
13070 * gdb.python/py-completion.exp: Use "load python file" as test
13071 messages instead of unstable path names.
13072
6e5d74e7
PA
130732017-03-08 Pedro Alves <palves@redhat.com>
13074 Jan Kratochvil <jan.kratochvil@redhat.com>
13075
13076 PR cli/21218
13077 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13078 New proc.
13079 (top level): Call it.
13080
9753a2f6
PA
130812017-03-08 Pedro Alves <palves@redhat.com>
13082
13083 PR tui/21216
13084 * gdb.tui/tui-nl-filtered-output.exp: New file.
13085
1a4dd9dd
PA
130862017-03-08 Pedro Alves <palves@redhat.com>
13087
13088 * gdb.base/completion.exp: Move TUI completion tests to ...
13089 * gdb.tui/completion.exp: ... this new file.
13090
7cbbff33
PA
130912017-03-08 Pedro Alves <palves@redhat.com>
13092
13093 * gdb.base/tui-disasm-long-lines.c,
13094 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13095 gdb.base/tui-layout.exp: Move to ...
13096 * gdb.tui/: ... this new directory.
13097
5f6fd321
PA
130982017-03-07 Pedro Alves <palves@redhat.com>
13099
13100 * gdb.base/tui-layout.c: New file.
13101 * gdb.base/tui-layout.exp: New file.
13102
44959fa8
PA
131032017-03-07 Pedro Alves <palves@redhat.com>
13104
13105 * gdb.base/tui-layout.c: Rename to ...
13106 * gdb.base/tui-disasm-long-lines.c: ... this.
13107 * gdb.base/tui-layout.exp: Rename to ...
13108 * gdb.base/tui-disasm-long-lines.exp: ... this.
13109
f8c4e718
PA
131102017-03-07 Pedro Alves <palves@redhat.com>
13111
13112 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13113
6dbb839a 131142017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
13115
13116 * i386-mpx-call.c: New file.
13117 * i386-mpx-call.exp: New file.
13118
65b48a81
PB
131192017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13120
13121 * gdb.arch/powerpc-power.exp: Delete test.
13122 * gdb.arch/powerpc-power.s: Likewise.
13123 * gdb.disasm/disassembler-options.exp: New test.
13124 * gdb.arch/powerpc-altivec.exp: Likewise.
13125 * gdb.arch/powerpc-altivec.s: Likewise.
13126 * gdb.arch/powerpc-altivec2.exp: Likewise.
13127 * gdb.arch/powerpc-altivec2.s: Likewise.
13128 * gdb.arch/powerpc-altivec3.exp: Likewise.
13129 * gdb.arch/powerpc-altivec3.s: Likewise.
13130 * gdb.arch/powerpc-power7.exp: Likewise.
13131 * gdb.arch/powerpc-power7.s: Likewise.
13132 * gdb.arch/powerpc-power8.exp: Likewise.
13133 * gdb.arch/powerpc-power8.s: Likewise.
13134 * gdb.arch/powerpc-power9.exp: Likewise.
13135 * gdb.arch/powerpc-power9.s: Likewise.
13136 * gdb.arch/powerpc-vsx.exp: Likewise.
13137 * gdb.arch/powerpc-vsx.s: Likewise.
13138 * gdb.arch/powerpc-vsx2.exp: Likewise.
13139 * gdb.arch/powerpc-vsx2.s: Likewise.
13140 * gdb.arch/powerpc-vsx3.exp: Likewise.
13141 * gdb.arch/powerpc-vsx3.s: Likewise.
13142 * gdb.arch/arm-disassembler-options.exp: Likewise.
13143 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13144 * gdb.arch/s390-disassembler-options.exp: Likewise.
13145
17cd4947
LM
131462017-02-23 Luis Machado <lgustavo@codesourcery.com>
13147
13148 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13149 (check_supported_features): ... this. Changed return type to void.
13150 (supports_rdseed): New static global.
13151 (rdseed): Check supports_rdseed.
13152 (initialize): Call check_supported_features.
13153
2039d74e
EBM
131542017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13155
13156 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13157 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13158 and lqarx/stqcx.
13159 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13160 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13161
a51d7ecf
EBM
131622017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13163
13164 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13165 uppercase.
13166
0224619f
JK
131672017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13168
13169 * gdb.dwarf2/formdata16.c: New file.
13170 * gdb.dwarf2/formdata16.exp: New file.
13171 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13172
216f72a1
JK
131732017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13174
13175 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13176 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13177 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13178 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13179 DW_AT_GNU_*.
13180
43988095
JK
131812017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13182
13183 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13184
99e8a4f9
SDJ
131852017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13186
13187 PR gdb/21164
13188 * gdb.base/maint.exp: Add testcases for when the commands do
13189 not have arguments.
13190
b58a8c0c
TP
131912017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13192
13193 * gdb.cp/chained-calls.exp: Use p instead of P.
13194
4e746bb6
TW
131952017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13196
13197 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13198 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13199
3f77c769
TT
132002017-02-14 Tom Tromey <tom@tromey.com>
13201
13202 PR python/13598:
13203 * gdb.python/py-events.exp: Add before_prompt event tests.
13204
075beec0
AA
132052017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13206
13207 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13208
bf5f525c
LM
132092017-02-13 Luis Machado <lgustavo@codesourcery.com>
13210
13211 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13212 (main): Call my_unique_function_name.
13213 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13214 completion of patterns with a single match.
13215 Add missing -re switches to gdb_test_multiple calls.
13216
13a66184
LM
132172017-02-13 Luis Machado <lgustavo@codesourcery.com>
13218
13219 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13220 return if core file is not recognized.
13221
26a06916
SM
132222017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13223
13224 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13225 and extra UIs.
13226
b761ca9e
SM
132272017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13228
13229 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13230 proc_with_prefix.
13231
b964bee0
TT
132322017-02-10 Tom Tromey <tom@tromey.com>
13233
13234 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13235
18da0c51
MG
132362017-02-10 Martin Galvan <martingalvan@sourceware.org>
13237
13238 PR gdb/21122
13239 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13240
604c4576
JG
132412017-02-08 Jerome Guitton <guitton@adacore.com>
13242
13243 * gdb.base/define.exp: Add test for command abbreviations
13244 in define.
13245
20b477a7
LM
132462017-02-06 Luis Machado <lgustavo@codesourcery.com>
13247
13248 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13249 * gdb.reverse/insn-reverse-x86.c: New file.
13250
3f7b46f2
IR
132512017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13252
13253 PR tdep/20936
13254 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13255
f0fd41c1
TT
132562017-02-03 Tom Tromey <tom@tromey.com>
13257
13258 PR rust/21097:
13259 * gdb.rust/simple.exp: Add new tests.
13260
5be5dbf0
PA
132612017-02-02 Pedro Alves <palves@redhat.com>
13262
13263 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13264 tests.
13265
7346ef59
AA
132662017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13267
13268 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13269 taking a 2-byte value out of a 4-byte DWARF implicit value on
13270 big-endian targets.
13271 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13272 logic. Add test cases for DW_OP_implicit.
13273
787f0025
MM
132742017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13275
13276 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13277
68777c29
MM
132782017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13279
13280 * gdb.btrace/enable.exp: Call gdb_exit before
13281 skip_gdbserver_tests.
13282
0a1c7e28
MM
132832017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13284
13285 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13286 GDBFLAGS.
13287
b5ac99b0
MM
132882017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13289
13290 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13291 the test is skipped.
13292 * gdb.btrace/data.exp: Likewise.
13293 * gdb.btrace/delta.exp: Likewise.
13294 * gdb.btrace/dlopen.exp: Likewise.
13295 * gdb.btrace/enable-running.exp: Likewise.
13296 * gdb.btrace/enable.exp: Likewise.
13297 * gdb.btrace/exception.exp: Likewise.
13298 * gdb.btrace/function_call_history.exp: Likewise.
13299 * gdb.btrace/gcore.exp: Likewise.
13300 * gdb.btrace/instruction_history.exp: Likewise.
13301 * gdb.btrace/multi-thread-step.exp: Likewise.
13302 * gdb.btrace/nohist.exp: Likewise.
13303 * gdb.btrace/non-stop.exp: Likewise.
13304 * gdb.btrace/reconnect.exp: Likewise.
13305 * gdb.btrace/record_goto-step.exp: Likewise.
13306 * gdb.btrace/record_goto.exp: Likewise.
13307 * gdb.btrace/rn-dl-bind.exp: Likewise.
13308 * gdb.btrace/segv.exp: Likewise.
13309 * gdb.btrace/step.exp: Likewise.
13310 * gdb.btrace/stepi.exp: Likewise.
13311 * gdb.btrace/tailcall-only.exp: Likewise.
13312 * gdb.btrace/tailcall.exp: Likewise.
13313 * gdb.btrace/tsx.exp: Likewise.
13314 * gdb.btrace/unknown_functions.exp: Likewise.
13315 * gdb.btrace/vdso.exp: Likewise.
13316
cd4007e4
MM
133172017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13318
13319 * gdb.btrace/enable-running.c: New.
13320 * gdb.btrace/enable-running.exp: New.
13321
2735833d
WT
133222017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13323
13324 * gdb.arch/amd64-gs_base.c: New file.
13325 * gdb.arch/amd64-gs_base.exp: New file.
13326
b51e1e94
LM
133272017-01-26 Luis Machado <lgustavo@codesourcery.com>
13328
13329 * lib/memory.exp: Remove spurious empty newlines.
13330
72ca0410
SM
133312017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13332
13333 * gdb.python/py-bad-printers.exp: Load python file using "source".
13334 * gdb.python/py-events.exp: Likewise.
13335 * gdb.python/py-evsignal.exp: Likewise.
13336 * gdb.python/py-evthreads.exp: Likewise.
13337 * gdb.python/py-frame-args.exp: Likewise.
13338 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13339 * gdb.python/py-framefilter-mi.exp: Likewise.
13340 * gdb.python/py-framefilter.exp: Likewise.
13341 * gdb.python/py-mi.exp: Likewise.
13342 * gdb.python/py-pp-maint.exp: Likewise.
13343 * gdb.python/py-pp-registration.exp: Likewise.
13344 * gdb.python/py-prettyprint.exp: Likewise.
13345 (run_lang_tests): Likewise.
13346 * gdb.python/py-typeprint.exp: Likewise.
13347
e309aa65
LM
133482017-01-26 Luis Machado <lgustavo@codesourcery.com>
13349
13350 * lib/memory.exp: New file.
13351 * lib/gdb.exp: Load memory.exp.
13352 * gdb.base/memattr.exp (delete_memory): Move proc to
13353 lib/memory.exp and rename to delete_memory_regions.
13354 Replace delete_memory with delete_memory_regions.
13355 Cleanup memory regions before tests.
13356 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13357 before tests.
13358
515aff23
LM
133592017-01-26 Luis Machado <lgustavo@codesourcery.com>
13360
13361 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13362 files.
13363 (initialize): New function conditionally defined.
13364 (testcases): Move within conditional block.
13365 (main): Call initialize.
13366 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13367 of gdb.reverse/insn-reverse.c.
13368 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13369 gdb.reverse/insn-reverse.c.
13370
d8b49cf0
YQ
133712017-01-26 Yao Qi <yao.qi@linaro.org>
13372
13373 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13374 disassemble on address 0.
13375
f13a9a0c
YQ
133762017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13377 Yao Qi <yao.qi@linaro.org>
13378
13379 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13380 * gdb.dwarf2/implptr-64bit.S: Remove.
13381 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13382 variables in caller's context. Add DW_OP_implicit_value.
13383
5ac95241
YQ
133842017-01-25 Yao Qi <yao.qi@linaro.org>
13385
13386 * lib/dwarf.exp (Dwarf::_location): Handle
13387 DW_OP_GNU_implicit_pointer with proper size.
13388
23e82930
LM
133892017-01-20 Luis Machado <lgustavo@codesourcery.com>
13390
13391 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13392 and add untested calls.
13393
d334ae25
LM
133942017-01-20 Luis Machado <lgustavo@codesourcery.com>
13395
13396 * gdb.python/python.exp: Check line number against what GDB thinks
13397 the line number is for func1.
13398
f5e6296e
IB
133992017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13400
13401 * gdb.dlang/debug-expr.exp: New file.
13402
5b362f04
LM
134032016-12-23 Luis Machado <lgustavo@codesourcery.com>
13404
13405 Fix test names for the following files:
13406
13407 * gdb.ada/exec_changed.exp
13408 * gdb.ada/info_types.exp
13409 * gdb.arch/aarch64-atomic-inst.exp
13410 * gdb.arch/aarch64-fp.exp
13411 * gdb.arch/altivec-abi.exp
13412 * gdb.arch/altivec-regs.exp
13413 * gdb.arch/amd64-byte.exp
13414 * gdb.arch/amd64-disp-step.exp
13415 * gdb.arch/amd64-dword.exp
13416 * gdb.arch/amd64-entry-value-inline.exp
13417 * gdb.arch/amd64-entry-value-param.exp
13418 * gdb.arch/amd64-entry-value-paramref.exp
13419 * gdb.arch/amd64-entry-value.exp
13420 * gdb.arch/amd64-i386-address.exp
13421 * gdb.arch/amd64-invalid-stack-middle.exp
13422 * gdb.arch/amd64-invalid-stack-top.exp
13423 * gdb.arch/amd64-optimout-repeat.exp
13424 * gdb.arch/amd64-prologue-skip.exp
13425 * gdb.arch/amd64-prologue-xmm.exp
13426 * gdb.arch/amd64-stap-special-operands.exp
13427 * gdb.arch/amd64-stap-wrong-subexp.exp
13428 * gdb.arch/amd64-tailcall-cxx.exp
13429 * gdb.arch/amd64-tailcall-noret.exp
13430 * gdb.arch/amd64-tailcall-ret.exp
13431 * gdb.arch/amd64-tailcall-self.exp
13432 * gdb.arch/amd64-word.exp
13433 * gdb.arch/arm-bl-branch-dest.exp
13434 * gdb.arch/arm-disp-step.exp
13435 * gdb.arch/arm-neon.exp
13436 * gdb.arch/arm-single-step-kernel-helper.exp
13437 * gdb.arch/avr-flash-qualifier.exp
13438 * gdb.arch/disp-step-insn-reloc.exp
13439 * gdb.arch/e500-abi.exp
13440 * gdb.arch/e500-regs.exp
13441 * gdb.arch/ftrace-insn-reloc.exp
13442 * gdb.arch/i386-avx512.exp
13443 * gdb.arch/i386-bp_permanent.exp
13444 * gdb.arch/i386-byte.exp
13445 * gdb.arch/i386-cfi-notcurrent.exp
13446 * gdb.arch/i386-disp-step.exp
13447 * gdb.arch/i386-dr3-watch.exp
13448 * gdb.arch/i386-float.exp
13449 * gdb.arch/i386-gnu-cfi.exp
13450 * gdb.arch/i386-mpx-map.exp
13451 * gdb.arch/i386-mpx-sigsegv.exp
13452 * gdb.arch/i386-mpx-simple_segv.exp
13453 * gdb.arch/i386-mpx.exp
13454 * gdb.arch/i386-permbkpt.exp
13455 * gdb.arch/i386-prologue.exp
13456 * gdb.arch/i386-signal.exp
13457 * gdb.arch/i386-size-overlap.exp
13458 * gdb.arch/i386-unwind.exp
13459 * gdb.arch/i386-word.exp
13460 * gdb.arch/mips-fcr.exp
13461 * gdb.arch/powerpc-d128-regs.exp
13462 * gdb.arch/powerpc-stackless.exp
13463 * gdb.arch/ppc64-atomic-inst.exp
13464 * gdb.arch/s390-stackless.exp
13465 * gdb.arch/s390-tdbregs.exp
13466 * gdb.arch/s390-vregs.exp
13467 * gdb.arch/sparc-sysstep.exp
13468 * gdb.arch/thumb-bx-pc.exp
13469 * gdb.arch/thumb-singlestep.exp
13470 * gdb.arch/thumb2-it.exp
13471 * gdb.arch/vsx-regs.exp
13472 * gdb.asm/asm-source.exp
13473 * gdb.base/a2-run.exp
13474 * gdb.base/advance.exp
13475 * gdb.base/all-bin.exp
13476 * gdb.base/anon.exp
13477 * gdb.base/args.exp
13478 * gdb.base/arithmet.exp
13479 * gdb.base/async-shell.exp
13480 * gdb.base/async.exp
13481 * gdb.base/attach-pie-noexec.exp
13482 * gdb.base/attach-twice.exp
13483 * gdb.base/auto-load.exp
13484 * gdb.base/bang.exp
13485 * gdb.base/bitfields.exp
13486 * gdb.base/break-always.exp
13487 * gdb.base/break-caller-line.exp
13488 * gdb.base/break-entry.exp
13489 * gdb.base/break-inline.exp
13490 * gdb.base/break-on-linker-gcd-function.exp
13491 * gdb.base/break-probes.exp
13492 * gdb.base/break.exp
13493 * gdb.base/breakpoint-shadow.exp
13494 * gdb.base/call-ar-st.exp
13495 * gdb.base/call-sc.exp
13496 * gdb.base/call-signal-resume.exp
13497 * gdb.base/call-strs.exp
13498 * gdb.base/callfuncs.exp
13499 * gdb.base/catch-fork-static.exp
13500 * gdb.base/catch-gdb-caused-signals.exp
13501 * gdb.base/catch-load.exp
13502 * gdb.base/catch-signal-fork.exp
13503 * gdb.base/catch-signal.exp
13504 * gdb.base/catch-syscall.exp
13505 * gdb.base/charset.exp
13506 * gdb.base/checkpoint.exp
13507 * gdb.base/chng-syms.exp
13508 * gdb.base/code-expr.exp
13509 * gdb.base/code_elim.exp
13510 * gdb.base/commands.exp
13511 * gdb.base/completion.exp
13512 * gdb.base/complex.exp
13513 * gdb.base/cond-expr.exp
13514 * gdb.base/condbreak.exp
13515 * gdb.base/consecutive.exp
13516 * gdb.base/continue-all-already-running.exp
13517 * gdb.base/coredump-filter.exp
13518 * gdb.base/corefile.exp
13519 * gdb.base/dbx.exp
13520 * gdb.base/debug-expr.exp
13521 * gdb.base/define.exp
13522 * gdb.base/del.exp
13523 * gdb.base/disabled-location.exp
13524 * gdb.base/disasm-end-cu.exp
13525 * gdb.base/disasm-optim.exp
13526 * gdb.base/display.exp
13527 * gdb.base/duplicate-bp.exp
13528 * gdb.base/ena-dis-br.exp
13529 * gdb.base/ending-run.exp
13530 * gdb.base/enumval.exp
13531 * gdb.base/environ.exp
13532 * gdb.base/eu-strip-infcall.exp
13533 * gdb.base/eval-avoid-side-effects.exp
13534 * gdb.base/eval-skip.exp
13535 * gdb.base/exitsignal.exp
13536 * gdb.base/expand-psymtabs.exp
13537 * gdb.base/filesym.exp
13538 * gdb.base/find-unmapped.exp
13539 * gdb.base/finish.exp
13540 * gdb.base/float.exp
13541 * gdb.base/foll-exec-mode.exp
13542 * gdb.base/foll-exec.exp
13543 * gdb.base/foll-fork.exp
13544 * gdb.base/fortran-sym-case.exp
13545 * gdb.base/freebpcmd.exp
13546 * gdb.base/func-ptr.exp
13547 * gdb.base/func-ptrs.exp
13548 * gdb.base/funcargs.exp
13549 * gdb.base/gcore-buffer-overflow.exp
13550 * gdb.base/gcore-relro-pie.exp
13551 * gdb.base/gcore-relro.exp
13552 * gdb.base/gcore.exp
13553 * gdb.base/gdb1090.exp
13554 * gdb.base/gdb11530.exp
13555 * gdb.base/gdb11531.exp
13556 * gdb.base/gdb1821.exp
13557 * gdb.base/gdbindex-stabs.exp
13558 * gdb.base/gdbvars.exp
13559 * gdb.base/hbreak.exp
13560 * gdb.base/hbreak2.exp
13561 * gdb.base/included.exp
13562 * gdb.base/infcall-input.exp
13563 * gdb.base/inferior-died.exp
13564 * gdb.base/infnan.exp
13565 * gdb.base/info-macros.exp
13566 * gdb.base/info-os.exp
13567 * gdb.base/info-proc.exp
13568 * gdb.base/info-shared.exp
13569 * gdb.base/info-target.exp
13570 * gdb.base/infoline.exp
13571 * gdb.base/interp.exp
13572 * gdb.base/interrupt.exp
13573 * gdb.base/jit-reader.exp
13574 * gdb.base/jit-simple.exp
13575 * gdb.base/kill-after-signal.exp
13576 * gdb.base/kill-detach-inferiors-cmd.exp
13577 * gdb.base/label.exp
13578 * gdb.base/langs.exp
13579 * gdb.base/ldbl_e308.exp
13580 * gdb.base/line-symtabs.exp
13581 * gdb.base/linespecs.exp
13582 * gdb.base/list.exp
13583 * gdb.base/long_long.exp
13584 * gdb.base/longest-types.exp
13585 * gdb.base/maint.exp
13586 * gdb.base/max-value-size.exp
13587 * gdb.base/memattr.exp
13588 * gdb.base/mips_pro.exp
13589 * gdb.base/morestack.exp
13590 * gdb.base/moribund-step.exp
13591 * gdb.base/multi-forks.exp
13592 * gdb.base/nested-addr.exp
13593 * gdb.base/nextoverexit.exp
13594 * gdb.base/noreturn-finish.exp
13595 * gdb.base/noreturn-return.exp
13596 * gdb.base/nostdlib.exp
13597 * gdb.base/offsets.exp
13598 * gdb.base/opaque.exp
13599 * gdb.base/pc-fp.exp
13600 * gdb.base/permissions.exp
13601 * gdb.base/print-symbol-loading.exp
13602 * gdb.base/prologue-include.exp
13603 * gdb.base/psymtab.exp
13604 * gdb.base/ptype.exp
13605 * gdb.base/random-signal.exp
13606 * gdb.base/randomize.exp
13607 * gdb.base/range-stepping.exp
13608 * gdb.base/readline-ask.exp
13609 * gdb.base/recpar.exp
13610 * gdb.base/recurse.exp
13611 * gdb.base/relational.exp
13612 * gdb.base/restore.exp
13613 * gdb.base/return-nodebug.exp
13614 * gdb.base/return.exp
13615 * gdb.base/run-after-attach.exp
13616 * gdb.base/save-bp.exp
13617 * gdb.base/scope.exp
13618 * gdb.base/sect-cmd.exp
13619 * gdb.base/set-lang-auto.exp
13620 * gdb.base/set-noassign.exp
13621 * gdb.base/setvar.exp
13622 * gdb.base/sigall.exp
13623 * gdb.base/sigbpt.exp
13624 * gdb.base/siginfo-addr.exp
13625 * gdb.base/siginfo-infcall.exp
13626 * gdb.base/siginfo-obj.exp
13627 * gdb.base/siginfo.exp
13628 * gdb.base/signals-state-child.exp
13629 * gdb.base/signest.exp
13630 * gdb.base/sigstep.exp
13631 * gdb.base/sizeof.exp
13632 * gdb.base/skip.exp
13633 * gdb.base/solib-corrupted.exp
13634 * gdb.base/solib-nodir.exp
13635 * gdb.base/solib-search.exp
13636 * gdb.base/stack-checking.exp
13637 * gdb.base/stale-infcall.exp
13638 * gdb.base/stap-probe.exp
13639 * gdb.base/start.exp
13640 * gdb.base/step-break.exp
13641 * gdb.base/step-bt.exp
13642 * gdb.base/step-line.exp
13643 * gdb.base/step-over-exit.exp
13644 * gdb.base/step-over-syscall.exp
13645 * gdb.base/step-resume-infcall.exp
13646 * gdb.base/step-test.exp
13647 * gdb.base/store.exp
13648 * gdb.base/structs3.exp
13649 * gdb.base/sym-file.exp
13650 * gdb.base/symbol-without-target_section.exp
13651 * gdb.base/term.exp
13652 * gdb.base/testenv.exp
13653 * gdb.base/ui-redirect.exp
13654 * gdb.base/until.exp
13655 * gdb.base/unwindonsignal.exp
13656 * gdb.base/value-double-free.exp
13657 * gdb.base/vla-datatypes.exp
13658 * gdb.base/vla-ptr.exp
13659 * gdb.base/vla-sideeffect.exp
13660 * gdb.base/volatile.exp
13661 * gdb.base/watch-cond-infcall.exp
13662 * gdb.base/watch-cond.exp
13663 * gdb.base/watch-non-mem.exp
13664 * gdb.base/watch-read.exp
13665 * gdb.base/watch-vfork.exp
13666 * gdb.base/watchpoint-cond-gone.exp
13667 * gdb.base/watchpoint-delete.exp
13668 * gdb.base/watchpoint-hw-hit-once.exp
13669 * gdb.base/watchpoint-hw.exp
13670 * gdb.base/watchpoint-stops-at-right-insn.exp
13671 * gdb.base/watchpoints.exp
13672 * gdb.base/wchar.exp
13673 * gdb.base/whatis-exp.exp
13674 * gdb.btrace/buffer-size.exp
13675 * gdb.btrace/data.exp
13676 * gdb.btrace/delta.exp
13677 * gdb.btrace/dlopen.exp
13678 * gdb.btrace/enable.exp
13679 * gdb.btrace/exception.exp
13680 * gdb.btrace/function_call_history.exp
13681 * gdb.btrace/gcore.exp
13682 * gdb.btrace/instruction_history.exp
13683 * gdb.btrace/nohist.exp
13684 * gdb.btrace/reconnect.exp
13685 * gdb.btrace/record_goto-step.exp
13686 * gdb.btrace/record_goto.exp
13687 * gdb.btrace/rn-dl-bind.exp
13688 * gdb.btrace/segv.exp
13689 * gdb.btrace/step.exp
13690 * gdb.btrace/stepi.exp
13691 * gdb.btrace/tailcall-only.exp
13692 * gdb.btrace/tailcall.exp
13693 * gdb.btrace/tsx.exp
13694 * gdb.btrace/unknown_functions.exp
13695 * gdb.btrace/vdso.exp
13696 * gdb.compile/compile-ifunc.exp
13697 * gdb.compile/compile-ops.exp
13698 * gdb.compile/compile-print.exp
13699 * gdb.compile/compile-setjmp.exp
13700 * gdb.cp/abstract-origin.exp
13701 * gdb.cp/ambiguous.exp
13702 * gdb.cp/annota2.exp
13703 * gdb.cp/annota3.exp
13704 * gdb.cp/anon-ns.exp
13705 * gdb.cp/anon-struct.exp
13706 * gdb.cp/anon-union.exp
13707 * gdb.cp/arg-reference.exp
13708 * gdb.cp/baseenum.exp
13709 * gdb.cp/bool.exp
13710 * gdb.cp/breakpoint.exp
13711 * gdb.cp/bs15503.exp
13712 * gdb.cp/call-c.exp
13713 * gdb.cp/casts.exp
13714 * gdb.cp/chained-calls.exp
13715 * gdb.cp/class2.exp
13716 * gdb.cp/classes.exp
13717 * gdb.cp/cmpd-minsyms.exp
13718 * gdb.cp/converts.exp
13719 * gdb.cp/cp-relocate.exp
13720 * gdb.cp/cpcompletion.exp
13721 * gdb.cp/cpexprs.exp
13722 * gdb.cp/cplabel.exp
13723 * gdb.cp/cplusfuncs.exp
13724 * gdb.cp/cpsizeof.exp
13725 * gdb.cp/ctti.exp
13726 * gdb.cp/derivation.exp
13727 * gdb.cp/destrprint.exp
13728 * gdb.cp/dispcxx.exp
13729 * gdb.cp/enum-class.exp
13730 * gdb.cp/exception.exp
13731 * gdb.cp/exceptprint.exp
13732 * gdb.cp/expand-psymtabs-cxx.exp
13733 * gdb.cp/expand-sals.exp
13734 * gdb.cp/extern-c.exp
13735 * gdb.cp/filename.exp
13736 * gdb.cp/formatted-ref.exp
13737 * gdb.cp/fpointer.exp
13738 * gdb.cp/gdb1355.exp
13739 * gdb.cp/gdb2495.exp
13740 * gdb.cp/hang.exp
13741 * gdb.cp/impl-this.exp
13742 * gdb.cp/infcall-dlopen.exp
13743 * gdb.cp/inherit.exp
13744 * gdb.cp/iostream.exp
13745 * gdb.cp/koenig.exp
13746 * gdb.cp/local.exp
13747 * gdb.cp/m-data.exp
13748 * gdb.cp/m-static.exp
13749 * gdb.cp/mb-ctor.exp
13750 * gdb.cp/mb-inline.exp
13751 * gdb.cp/mb-templates.exp
13752 * gdb.cp/member-name.exp
13753 * gdb.cp/member-ptr.exp
13754 * gdb.cp/meth-typedefs.exp
13755 * gdb.cp/method.exp
13756 * gdb.cp/method2.exp
13757 * gdb.cp/minsym-fallback.exp
13758 * gdb.cp/misc.exp
13759 * gdb.cp/namelessclass.exp
13760 * gdb.cp/namespace-enum.exp
13761 * gdb.cp/namespace-nested-import.exp
13762 * gdb.cp/namespace.exp
13763 * gdb.cp/nextoverthrow.exp
13764 * gdb.cp/no-dmgl-verbose.exp
13765 * gdb.cp/non-trivial-retval.exp
13766 * gdb.cp/noparam.exp
13767 * gdb.cp/nsdecl.exp
13768 * gdb.cp/nsimport.exp
13769 * gdb.cp/nsnested.exp
13770 * gdb.cp/nsnoimports.exp
13771 * gdb.cp/nsrecurs.exp
13772 * gdb.cp/nsstress.exp
13773 * gdb.cp/nsusing.exp
13774 * gdb.cp/operator.exp
13775 * gdb.cp/oranking.exp
13776 * gdb.cp/overload-const.exp
13777 * gdb.cp/overload.exp
13778 * gdb.cp/ovldbreak.exp
13779 * gdb.cp/ovsrch.exp
13780 * gdb.cp/paren-type.exp
13781 * gdb.cp/parse-lang.exp
13782 * gdb.cp/pass-by-ref.exp
13783 * gdb.cp/pr-1023.exp
13784 * gdb.cp/pr-1210.exp
13785 * gdb.cp/pr-574.exp
13786 * gdb.cp/pr10687.exp
13787 * gdb.cp/pr12028.exp
13788 * gdb.cp/pr17132.exp
13789 * gdb.cp/pr17494.exp
13790 * gdb.cp/pr9067.exp
13791 * gdb.cp/pr9167.exp
13792 * gdb.cp/pr9631.exp
13793 * gdb.cp/printmethod.exp
13794 * gdb.cp/psmang.exp
13795 * gdb.cp/psymtab-parameter.exp
13796 * gdb.cp/ptype-cv-cp.exp
13797 * gdb.cp/ptype-flags.exp
13798 * gdb.cp/re-set-overloaded.exp
13799 * gdb.cp/ref-types.exp
13800 * gdb.cp/rtti.exp
13801 * gdb.cp/scope-err.exp
13802 * gdb.cp/shadow.exp
13803 * gdb.cp/smartp.exp
13804 * gdb.cp/static-method.exp
13805 * gdb.cp/static-print-quit.exp
13806 * gdb.cp/temargs.exp
13807 * gdb.cp/templates.exp
13808 * gdb.cp/try_catch.exp
13809 * gdb.cp/typedef-operator.exp
13810 * gdb.cp/typeid.exp
13811 * gdb.cp/userdef.exp
13812 * gdb.cp/using-crash.exp
13813 * gdb.cp/var-tag.exp
13814 * gdb.cp/virtbase.exp
13815 * gdb.cp/virtfunc.exp
13816 * gdb.cp/virtfunc2.exp
13817 * gdb.cp/vla-cxx.exp
13818 * gdb.disasm/t01_mov.exp
13819 * gdb.disasm/t02_mova.exp
13820 * gdb.disasm/t03_add.exp
13821 * gdb.disasm/t04_sub.exp
13822 * gdb.disasm/t05_cmp.exp
13823 * gdb.disasm/t06_ari2.exp
13824 * gdb.disasm/t07_ari3.exp
13825 * gdb.disasm/t08_or.exp
13826 * gdb.disasm/t09_xor.exp
13827 * gdb.disasm/t10_and.exp
13828 * gdb.disasm/t11_logs.exp
13829 * gdb.disasm/t12_bit.exp
13830 * gdb.disasm/t13_otr.exp
13831 * gdb.dlang/circular.exp
13832 * gdb.dwarf2/arr-stride.exp
13833 * gdb.dwarf2/arr-subrange.exp
13834 * gdb.dwarf2/atomic-type.exp
13835 * gdb.dwarf2/bad-regnum.exp
13836 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13837 * gdb.dwarf2/callframecfa.exp
13838 * gdb.dwarf2/clztest.exp
13839 * gdb.dwarf2/corrupt.exp
13840 * gdb.dwarf2/data-loc.exp
13841 * gdb.dwarf2/dup-psym.exp
13842 * gdb.dwarf2/dw2-anon-mptr.exp
13843 * gdb.dwarf2/dw2-anonymous-func.exp
13844 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13845 * gdb.dwarf2/dw2-bad-unresolved.exp
13846 * gdb.dwarf2/dw2-basic.exp
13847 * gdb.dwarf2/dw2-canonicalize-type.exp
13848 * gdb.dwarf2/dw2-case-insensitive.exp
13849 * gdb.dwarf2/dw2-common-block.exp
13850 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13851 * gdb.dwarf2/dw2-compressed.exp
13852 * gdb.dwarf2/dw2-const.exp
13853 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13854 * gdb.dwarf2/dw2-cu-size.exp
13855 * gdb.dwarf2/dw2-dup-frame.exp
13856 * gdb.dwarf2/dw2-entry-value.exp
13857 * gdb.dwarf2/dw2-icycle.exp
13858 * gdb.dwarf2/dw2-ifort-parameter.exp
13859 * gdb.dwarf2/dw2-inline-break.exp
13860 * gdb.dwarf2/dw2-inline-param.exp
13861 * gdb.dwarf2/dw2-intercu.exp
13862 * gdb.dwarf2/dw2-intermix.exp
13863 * gdb.dwarf2/dw2-lexical-block-bare.exp
13864 * gdb.dwarf2/dw2-linkage-name-trust.exp
13865 * gdb.dwarf2/dw2-minsym-in-cu.exp
13866 * gdb.dwarf2/dw2-noloc.exp
13867 * gdb.dwarf2/dw2-op-call.exp
13868 * gdb.dwarf2/dw2-op-out-param.exp
13869 * gdb.dwarf2/dw2-opt-structptr.exp
13870 * gdb.dwarf2/dw2-param-error.exp
13871 * gdb.dwarf2/dw2-producer.exp
13872 * gdb.dwarf2/dw2-ranges-base.exp
13873 * gdb.dwarf2/dw2-ref-missing-frame.exp
13874 * gdb.dwarf2/dw2-reg-undefined.exp
13875 * gdb.dwarf2/dw2-regno-invalid.exp
13876 * gdb.dwarf2/dw2-restore.exp
13877 * gdb.dwarf2/dw2-restrict.exp
13878 * gdb.dwarf2/dw2-single-line-discriminators.exp
13879 * gdb.dwarf2/dw2-strp.exp
13880 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13881 * gdb.dwarf2/dw2-unresolved.exp
13882 * gdb.dwarf2/dw2-var-zero-addr.exp
13883 * gdb.dwarf2/dw4-sig-types.exp
13884 * gdb.dwarf2/dwz.exp
13885 * gdb.dwarf2/dynarr-ptr.exp
13886 * gdb.dwarf2/enum-type.exp
13887 * gdb.dwarf2/gdb-index.exp
13888 * gdb.dwarf2/implptr-64bit.exp
13889 * gdb.dwarf2/implptr-optimized-out.exp
13890 * gdb.dwarf2/implptr.exp
13891 * gdb.dwarf2/implref-array.exp
13892 * gdb.dwarf2/implref-const.exp
13893 * gdb.dwarf2/implref-global.exp
13894 * gdb.dwarf2/implref-struct.exp
13895 * gdb.dwarf2/mac-fileno.exp
13896 * gdb.dwarf2/main-subprogram.exp
13897 * gdb.dwarf2/member-ptr-forwardref.exp
13898 * gdb.dwarf2/method-ptr.exp
13899 * gdb.dwarf2/missing-sig-type.exp
13900 * gdb.dwarf2/nonvar-access.exp
13901 * gdb.dwarf2/opaque-type-lookup.exp
13902 * gdb.dwarf2/pieces-optimized-out.exp
13903 * gdb.dwarf2/pieces.exp
13904 * gdb.dwarf2/pr10770.exp
13905 * gdb.dwarf2/pr13961.exp
13906 * gdb.dwarf2/staticvirtual.exp
13907 * gdb.dwarf2/subrange.exp
13908 * gdb.dwarf2/symtab-producer.exp
13909 * gdb.dwarf2/trace-crash.exp
13910 * gdb.dwarf2/typeddwarf.exp
13911 * gdb.dwarf2/valop.exp
13912 * gdb.dwarf2/watch-notconst.exp
13913 * gdb.fortran/array-element.exp
13914 * gdb.fortran/charset.exp
13915 * gdb.fortran/common-block.exp
13916 * gdb.fortran/complex.exp
13917 * gdb.fortran/derived-type-function.exp
13918 * gdb.fortran/derived-type.exp
13919 * gdb.fortran/logical.exp
13920 * gdb.fortran/module.exp
13921 * gdb.fortran/multi-dim.exp
13922 * gdb.fortran/nested-funcs.exp
13923 * gdb.fortran/print-formatted.exp
13924 * gdb.fortran/subarray.exp
13925 * gdb.fortran/vla-alloc-assoc.exp
13926 * gdb.fortran/vla-datatypes.exp
13927 * gdb.fortran/vla-history.exp
13928 * gdb.fortran/vla-ptr-info.exp
13929 * gdb.fortran/vla-ptype-sub.exp
13930 * gdb.fortran/vla-ptype.exp
13931 * gdb.fortran/vla-sizeof.exp
13932 * gdb.fortran/vla-type.exp
13933 * gdb.fortran/vla-value-sub-arbitrary.exp
13934 * gdb.fortran/vla-value-sub-finish.exp
13935 * gdb.fortran/vla-value-sub.exp
13936 * gdb.fortran/vla-value.exp
13937 * gdb.fortran/whatis_type.exp
13938 * gdb.go/chan.exp
13939 * gdb.go/handcall.exp
13940 * gdb.go/hello.exp
13941 * gdb.go/integers.exp
13942 * gdb.go/methods.exp
13943 * gdb.go/package.exp
13944 * gdb.go/strings.exp
13945 * gdb.go/types.exp
13946 * gdb.go/unsafe.exp
13947 * gdb.guile/scm-arch.exp
13948 * gdb.guile/scm-block.exp
13949 * gdb.guile/scm-breakpoint.exp
13950 * gdb.guile/scm-cmd.exp
13951 * gdb.guile/scm-disasm.exp
13952 * gdb.guile/scm-equal.exp
13953 * gdb.guile/scm-frame-args.exp
13954 * gdb.guile/scm-frame-inline.exp
13955 * gdb.guile/scm-frame.exp
13956 * gdb.guile/scm-iterator.exp
13957 * gdb.guile/scm-math.exp
13958 * gdb.guile/scm-objfile.exp
13959 * gdb.guile/scm-ports.exp
13960 * gdb.guile/scm-symbol.exp
13961 * gdb.guile/scm-symtab.exp
13962 * gdb.guile/scm-value-cc.exp
13963 * gdb.guile/types-module.exp
13964 * gdb.linespec/break-ask.exp
13965 * gdb.linespec/cpexplicit.exp
13966 * gdb.linespec/explicit.exp
13967 * gdb.linespec/keywords.exp
13968 * gdb.linespec/linespec.exp
13969 * gdb.linespec/ls-dollar.exp
13970 * gdb.linespec/ls-errs.exp
13971 * gdb.linespec/skip-two.exp
13972 * gdb.linespec/thread.exp
13973 * gdb.mi/mi-async.exp
13974 * gdb.mi/mi-basics.exp
13975 * gdb.mi/mi-break.exp
13976 * gdb.mi/mi-catch-load.exp
13977 * gdb.mi/mi-cli.exp
13978 * gdb.mi/mi-cmd-param-changed.exp
13979 * gdb.mi/mi-console.exp
13980 * gdb.mi/mi-detach.exp
13981 * gdb.mi/mi-disassemble.exp
13982 * gdb.mi/mi-eval.exp
13983 * gdb.mi/mi-file-transfer.exp
13984 * gdb.mi/mi-file.exp
13985 * gdb.mi/mi-fill-memory.exp
13986 * gdb.mi/mi-inheritance-syntax-error.exp
13987 * gdb.mi/mi-linespec-err-cp.exp
13988 * gdb.mi/mi-logging.exp
13989 * gdb.mi/mi-memory-changed.exp
13990 * gdb.mi/mi-read-memory.exp
13991 * gdb.mi/mi-record-changed.exp
13992 * gdb.mi/mi-reg-undefined.exp
13993 * gdb.mi/mi-regs.exp
13994 * gdb.mi/mi-return.exp
13995 * gdb.mi/mi-reverse.exp
13996 * gdb.mi/mi-simplerun.exp
13997 * gdb.mi/mi-solib.exp
13998 * gdb.mi/mi-stack.exp
13999 * gdb.mi/mi-stepi.exp
14000 * gdb.mi/mi-syn-frame.exp
14001 * gdb.mi/mi-until.exp
14002 * gdb.mi/mi-var-block.exp
14003 * gdb.mi/mi-var-child.exp
14004 * gdb.mi/mi-var-cmd.exp
14005 * gdb.mi/mi-var-cp.exp
14006 * gdb.mi/mi-var-display.exp
14007 * gdb.mi/mi-var-invalidate.exp
14008 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
14009 * gdb.mi/mi-vla-fortran.exp
14010 * gdb.mi/mi-watch.exp
14011 * gdb.mi/mi2-var-child.exp
14012 * gdb.mi/user-selected-context-sync.exp
14013 * gdb.modula2/unbounded-array.exp
14014 * gdb.multi/dummy-frame-restore.exp
14015 * gdb.multi/multi-arch-exec.exp
14016 * gdb.multi/multi-arch.exp
14017 * gdb.multi/tids.exp
14018 * gdb.multi/watchpoint-multi.exp
14019 * gdb.opencl/callfuncs.exp
14020 * gdb.opencl/convs_casts.exp
14021 * gdb.opencl/datatypes.exp
14022 * gdb.opencl/operators.exp
14023 * gdb.opencl/vec_comps.exp
14024 * gdb.opt/clobbered-registers-O2.exp
14025 * gdb.opt/inline-break.exp
14026 * gdb.opt/inline-bt.exp
14027 * gdb.opt/inline-cmds.exp
14028 * gdb.opt/inline-locals.exp
14029 * gdb.pascal/case-insensitive-symbols.exp
14030 * gdb.pascal/floats.exp
14031 * gdb.pascal/gdb11492.exp
14032 * gdb.python/lib-types.exp
14033 * gdb.python/py-arch.exp
14034 * gdb.python/py-as-string.exp
14035 * gdb.python/py-bad-printers.exp
14036 * gdb.python/py-block.exp
14037 * gdb.python/py-breakpoint-create-fail.exp
14038 * gdb.python/py-breakpoint.exp
14039 * gdb.python/py-caller-is.exp
14040 * gdb.python/py-cmd.exp
14041 * gdb.python/py-explore-cc.exp
14042 * gdb.python/py-explore.exp
14043 * gdb.python/py-finish-breakpoint.exp
14044 * gdb.python/py-finish-breakpoint2.exp
14045 * gdb.python/py-frame-args.exp
14046 * gdb.python/py-frame-inline.exp
14047 * gdb.python/py-frame.exp
14048 * gdb.python/py-framefilter-mi.exp
14049 * gdb.python/py-infthread.exp
14050 * gdb.python/py-lazy-string.exp
14051 * gdb.python/py-linetable.exp
14052 * gdb.python/py-mi-events.exp
14053 * gdb.python/py-mi-objfile.exp
14054 * gdb.python/py-mi.exp
14055 * gdb.python/py-objfile.exp
14056 * gdb.python/py-pp-integral.exp
14057 * gdb.python/py-pp-maint.exp
14058 * gdb.python/py-pp-re-notag.exp
14059 * gdb.python/py-pp-registration.exp
14060 * gdb.python/py-recurse-unwind.exp
14061 * gdb.python/py-strfns.exp
14062 * gdb.python/py-symbol.exp
14063 * gdb.python/py-symtab.exp
14064 * gdb.python/py-sync-interp.exp
14065 * gdb.python/py-typeprint.exp
14066 * gdb.python/py-unwind-maint.exp
14067 * gdb.python/py-unwind.exp
14068 * gdb.python/py-value-cc.exp
14069 * gdb.python/py-xmethods.exp
14070 * gdb.reverse/amd64-tailcall-reverse.exp
14071 * gdb.reverse/break-precsave.exp
14072 * gdb.reverse/break-reverse.exp
14073 * gdb.reverse/consecutive-precsave.exp
14074 * gdb.reverse/consecutive-reverse.exp
14075 * gdb.reverse/finish-precsave.exp
14076 * gdb.reverse/finish-reverse-bkpt.exp
14077 * gdb.reverse/finish-reverse.exp
14078 * gdb.reverse/fstatat-reverse.exp
14079 * gdb.reverse/getresuid-reverse.exp
14080 * gdb.reverse/i386-precsave.exp
14081 * gdb.reverse/i386-reverse.exp
14082 * gdb.reverse/i386-sse-reverse.exp
14083 * gdb.reverse/i387-env-reverse.exp
14084 * gdb.reverse/i387-stack-reverse.exp
14085 * gdb.reverse/insn-reverse.exp
14086 * gdb.reverse/machinestate-precsave.exp
14087 * gdb.reverse/machinestate.exp
14088 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14089 * gdb.reverse/pipe-reverse.exp
14090 * gdb.reverse/readv-reverse.exp
14091 * gdb.reverse/recvmsg-reverse.exp
14092 * gdb.reverse/rerun-prec.exp
14093 * gdb.reverse/s390-mvcle.exp
14094 * gdb.reverse/step-precsave.exp
14095 * gdb.reverse/step-reverse.exp
14096 * gdb.reverse/time-reverse.exp
14097 * gdb.reverse/until-precsave.exp
14098 * gdb.reverse/until-reverse.exp
14099 * gdb.reverse/waitpid-reverse.exp
14100 * gdb.reverse/watch-precsave.exp
14101 * gdb.reverse/watch-reverse.exp
14102 * gdb.rust/generics.exp
14103 * gdb.rust/methods.exp
14104 * gdb.rust/modules.exp
14105 * gdb.rust/simple.exp
14106 * gdb.server/connect-with-no-symbol-file.exp
14107 * gdb.server/ext-attach.exp
14108 * gdb.server/ext-restart.exp
14109 * gdb.server/ext-wrapper.exp
14110 * gdb.server/file-transfer.exp
14111 * gdb.server/server-exec-info.exp
14112 * gdb.server/server-kill.exp
14113 * gdb.server/server-mon.exp
14114 * gdb.server/wrapper.exp
14115 * gdb.stabs/exclfwd.exp
14116 * gdb.stabs/gdb11479.exp
14117 * gdb.threads/clone-new-thread-event.exp
14118 * gdb.threads/corethreads.exp
14119 * gdb.threads/current-lwp-dead.exp
14120 * gdb.threads/dlopen-libpthread.exp
14121 * gdb.threads/gcore-thread.exp
14122 * gdb.threads/sigstep-threads.exp
14123 * gdb.threads/watchpoint-fork.exp
14124 * gdb.trace/actions-changed.exp
14125 * gdb.trace/backtrace.exp
14126 * gdb.trace/change-loc.exp
14127 * gdb.trace/circ.exp
14128 * gdb.trace/collection.exp
14129 * gdb.trace/disconnected-tracing.exp
14130 * gdb.trace/ftrace.exp
14131 * gdb.trace/mi-trace-frame-collected.exp
14132 * gdb.trace/mi-trace-unavailable.exp
14133 * gdb.trace/mi-traceframe-changed.exp
14134 * gdb.trace/mi-tsv-changed.exp
14135 * gdb.trace/no-attach-trace.exp
14136 * gdb.trace/passc-dyn.exp
14137 * gdb.trace/qtro.exp
14138 * gdb.trace/range-stepping.exp
14139 * gdb.trace/read-memory.exp
14140 * gdb.trace/save-trace.exp
14141 * gdb.trace/signal.exp
14142 * gdb.trace/status-stop.exp
14143 * gdb.trace/tfile.exp
14144 * gdb.trace/trace-break.exp
14145 * gdb.trace/trace-buffer-size.exp
14146 * gdb.trace/trace-condition.exp
14147 * gdb.trace/tracefile-pseudo-reg.exp
14148 * gdb.trace/tstatus.exp
14149 * gdb.trace/unavailable.exp
14150 * gdb.trace/while-dyn.exp
14151 * gdb.trace/while-stepping.exp
14152
34c41c68
DE
141532016-12-22 Doug Evans <xdje42@gmail.com>
14154
14155 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14156 and msymbols.
14157
16e69324
YQ
141582016-12-19 Yao Qi <yao.qi@linaro.org>
14159
14160 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14161 (test_with_self): Don't call do_steps_and_nexts, and remove
14162 code about stepping into xmalloc.
14163
f94f411b
YQ
141642016-12-09 Yao Qi <yao.qi@linaro.org>
14165
14166 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14167
141682016-12-09 Yao Qi <yao.qi@linaro.org>
14169
14170 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14171
f1b5deee
PA
141722016-12-09 Pedro Alves <palves@redhat.com>
14173
14174 * gdb.base/all-architectures-0.exp: New file.
14175 * gdb.base/all-architectures-1.exp: New file.
14176 * gdb.base/all-architectures-2.exp: New file.
14177 * gdb.base/all-architectures-3.exp: New file.
14178 * gdb.base/all-architectures-4.exp: New file.
14179 * gdb.base/all-architectures-5.exp: New file.
14180 * gdb.base/all-architectures-6.exp: New file.
14181 * gdb.base/all-architectures-7.exp: New file.
14182 * gdb.base/all-architectures.exp.in: New file.
14183
364ca42e
YQ
141842016-12-09 Yao Qi <yao.qi@linaro.org>
14185
14186 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14187
107c2d62
LM
141882016-12-02 Luis Machado <lgustavo@codesourcery.com>
14189
14190 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14191 possible.
14192 Remove useless pattern-matching code.
14193
df3ee9ca
PA
141942016-12-02 Pedro Alves <palves@redhat.com>
14195
14196 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14197 procedure.
14198 (top level): Call it.
14199
ec835369
PA
142002016-12-02 Pedro Alves <palves@redhat.com>
14201
14202 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14203 New procedure.
14204 (top level): Call it.
14205
01770bbd
PA
142062016-12-02 Pedro Alves <palves@redhat.com>
14207
14208 PR cli/20559
14209 * gdb.base/commands.exp (user_defined_command_args_eval): New
14210 procedure.
14211 (top level): Call it.
14212
008459ea
LM
142132016-12-02 Luis Machado <lgustavo@codesourcery.com>
14214
14215 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14216 timeout handling.
14217
0c1b455e
TT
142182016-12-02 Tom Tromey <tom@tromey.com>
14219
14220 * gdb.dwarf2/main-subprogram.c: New file.
14221 * gdb.dwarf2/main-subprogram.exp: New file.
14222
018572b8
LM
142232016-12-01 Luis Machado <lgustavo@codesourcery.com>
14224
14225 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14226 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14227 gdb_test_no_output for a couple of cases.
14228 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14229
84c93cd5
LM
142302016-12-01 Luis Machado <lgustavo@codesourcery.com>
14231
14232 Fix test names and standardize compilation error messages throughout
14233 the following files:
14234
14235 * gdb.ada/start.exp
14236 * gdb.arch/alpha-step.exp
14237 * gdb.arch/e500-prologue.exp
14238 * gdb.arch/ftrace-insn-reloc.exp
14239 * gdb.arch/gdb1291.exp
14240 * gdb.arch/gdb1431.exp
14241 * gdb.arch/gdb1558.exp
14242 * gdb.arch/i386-dr3-watch.exp
14243 * gdb.arch/i386-sse-stack-align.exp
14244 * gdb.arch/ia64-breakpoint-shadow.exp
14245 * gdb.arch/pa-nullify.exp
14246 * gdb.arch/powerpc-aix-prologue.exp
14247 * gdb.arch/thumb-bx-pc.exp
14248 * gdb.base/annota1.exp
14249 * gdb.base/annota3.exp
14250 * gdb.base/arrayidx.exp
14251 * gdb.base/assign.exp
14252 * gdb.base/attach.exp
14253 * gdb.base/auxv.exp
14254 * gdb.base/bang.exp
14255 * gdb.base/bfp-test.exp
14256 * gdb.base/bigcore.exp
14257 * gdb.base/bitfields2.exp
14258 * gdb.base/break-fun-addr.exp
14259 * gdb.base/break-probes.exp
14260 * gdb.base/call-rt-st.exp
14261 * gdb.base/callexit.exp
14262 * gdb.base/catch-fork-kill.exp
14263 * gdb.base/charset.exp
14264 * gdb.base/checkpoint.exp
14265 * gdb.base/comprdebug.exp
14266 * gdb.base/constvars.exp
14267 * gdb.base/coredump-filter.exp
14268 * gdb.base/cursal.exp
14269 * gdb.base/cvexpr.exp
14270 * gdb.base/detach.exp
14271 * gdb.base/display.exp
14272 * gdb.base/dmsym.exp
14273 * gdb.base/dprintf-pending.exp
14274 * gdb.base/dso2dso.exp
14275 * gdb.base/dtrace-probe.exp
14276 * gdb.base/dump.exp
14277 * gdb.base/enum_cond.exp
14278 * gdb.base/exe-lock.exp
14279 * gdb.base/exec-invalid-sysroot.exp
14280 * gdb.base/execl-update-breakpoints.exp
14281 * gdb.base/exprs.exp
14282 * gdb.base/fileio.exp
14283 * gdb.base/find.exp
14284 * gdb.base/finish.exp
14285 * gdb.base/fixsection.exp
14286 * gdb.base/foll-vfork.exp
14287 * gdb.base/frame-args.exp
14288 * gdb.base/gcore.exp
14289 * gdb.base/gdb1250.exp
14290 * gdb.base/global-var-nested-by-dso.exp
14291 * gdb.base/gnu-ifunc.exp
14292 * gdb.base/hashline1.exp
14293 * gdb.base/hashline2.exp
14294 * gdb.base/hashline3.exp
14295 * gdb.base/hbreak-in-shr-unsupported.exp
14296 * gdb.base/huge.exp
14297 * gdb.base/infcall-input.exp
14298 * gdb.base/info-fun.exp
14299 * gdb.base/info-shared.exp
14300 * gdb.base/jit-simple.exp
14301 * gdb.base/jit-so.exp
14302 * gdb.base/jit.exp
14303 * gdb.base/jump.exp
14304 * gdb.base/label.exp
14305 * gdb.base/lineinc.exp
14306 * gdb.base/logical.exp
14307 * gdb.base/longjmp.exp
14308 * gdb.base/macscp.exp
14309 * gdb.base/miscexprs.exp
14310 * gdb.base/new-ui-echo.exp
14311 * gdb.base/new-ui-pending-input.exp
14312 * gdb.base/new-ui.exp
14313 * gdb.base/nodebug.exp
14314 * gdb.base/nofield.exp
14315 * gdb.base/offsets.exp
14316 * gdb.base/overlays.exp
14317 * gdb.base/pending.exp
14318 * gdb.base/pointers.exp
14319 * gdb.base/pr11022.exp
14320 * gdb.base/printcmds.exp
14321 * gdb.base/prologue.exp
14322 * gdb.base/ptr-typedef.exp
14323 * gdb.base/realname-expand.exp
14324 * gdb.base/relativedebug.exp
14325 * gdb.base/relocate.exp
14326 * gdb.base/remote.exp
14327 * gdb.base/reread.exp
14328 * gdb.base/return2.exp
14329 * gdb.base/savedregs.exp
14330 * gdb.base/sep.exp
14331 * gdb.base/sepdebug.exp
14332 * gdb.base/sepsymtab.exp
14333 * gdb.base/set-inferior-tty.exp
14334 * gdb.base/setshow.exp
14335 * gdb.base/shlib-call.exp
14336 * gdb.base/sigaltstack.exp
14337 * gdb.base/siginfo-addr.exp
14338 * gdb.base/signals.exp
14339 * gdb.base/signull.exp
14340 * gdb.base/sigrepeat.exp
14341 * gdb.base/so-impl-ld.exp
14342 * gdb.base/solib-display.exp
14343 * gdb.base/solib-overlap.exp
14344 * gdb.base/solib-search.exp
14345 * gdb.base/solib-symbol.exp
14346 * gdb.base/structs.exp
14347 * gdb.base/structs2.exp
14348 * gdb.base/symtab-search-order.exp
14349 * gdb.base/twice.exp
14350 * gdb.base/unload.exp
14351 * gdb.base/varargs.exp
14352 * gdb.base/watchpoint-solib.exp
14353 * gdb.base/watchpoint.exp
14354 * gdb.base/whatis.exp
14355 * gdb.base/wrong_frame_bt_full.exp
14356 * gdb.btrace/dlopen.exp
14357 * gdb.cell/ea-standalone.exp
14358 * gdb.cell/ea-test.exp
14359 * gdb.cp/dispcxx.exp
14360 * gdb.cp/gdb2384.exp
14361 * gdb.cp/method2.exp
14362 * gdb.cp/nextoverthrow.exp
14363 * gdb.cp/pr10728.exp
14364 * gdb.disasm/am33.exp
14365 * gdb.disasm/h8300s.exp
14366 * gdb.disasm/mn10300.exp
14367 * gdb.disasm/sh3.exp
14368 * gdb.dwarf2/dw2-dir-file-name.exp
14369 * gdb.fortran/complex.exp
14370 * gdb.fortran/library-module.exp
14371 * gdb.guile/scm-pretty-print.exp
14372 * gdb.guile/scm-symbol.exp
14373 * gdb.guile/scm-type.exp
14374 * gdb.guile/scm-value.exp
14375 * gdb.linespec/linespec.exp
14376 * gdb.mi/gdb701.exp
14377 * gdb.mi/gdb792.exp
14378 * gdb.mi/mi-breakpoint-changed.exp
14379 * gdb.mi/mi-dprintf-pending.exp
14380 * gdb.mi/mi-dprintf.exp
14381 * gdb.mi/mi-exit-code.exp
14382 * gdb.mi/mi-pending.exp
14383 * gdb.mi/mi-solib.exp
14384 * gdb.mi/new-ui-mi-sync.exp
14385 * gdb.mi/pr11022.exp
14386 * gdb.mi/user-selected-context-sync.exp
14387 * gdb.opt/solib-intra-step.exp
14388 * gdb.python/py-events.exp
14389 * gdb.python/py-finish-breakpoint.exp
14390 * gdb.python/py-mi.exp
14391 * gdb.python/py-prettyprint.exp
14392 * gdb.python/py-shared.exp
14393 * gdb.python/py-symbol.exp
14394 * gdb.python/py-template.exp
14395 * gdb.python/py-type.exp
14396 * gdb.python/py-value.exp
14397 * gdb.reverse/solib-precsave.exp
14398 * gdb.reverse/solib-reverse.exp
14399 * gdb.server/solib-list.exp
14400 * gdb.stabs/weird.exp
14401 * gdb.threads/reconnect-signal.exp
14402 * gdb.threads/stepi-random-signal.exp
14403 * gdb.trace/actions.exp
14404 * gdb.trace/ax.exp
14405 * gdb.trace/backtrace.exp
14406 * gdb.trace/change-loc.exp
14407 * gdb.trace/deltrace.exp
14408 * gdb.trace/ftrace-lock.exp
14409 * gdb.trace/ftrace.exp
14410 * gdb.trace/infotrace.exp
14411 * gdb.trace/mi-tracepoint-changed.exp
14412 * gdb.trace/packetlen.exp
14413 * gdb.trace/passcount.exp
14414 * gdb.trace/pending.exp
14415 * gdb.trace/range-stepping.exp
14416 * gdb.trace/report.exp
14417 * gdb.trace/stap-trace.exp
14418 * gdb.trace/tfind.exp
14419 * gdb.trace/trace-break.exp
14420 * gdb.trace/trace-condition.exp
14421 * gdb.trace/trace-enable-disable.exp
14422 * gdb.trace/trace-mt.exp
14423 * gdb.trace/tracecmd.exp
14424 * gdb.trace/tspeed.exp
14425 * gdb.trace/tsv.exp
14426 * lib/perftest.exp
14427
fb9feb35
LM
144282016-12-01 Luis Machado <lgustavo@codesourcery.com>
14429
14430 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14431 with gdb_test_no_output.
14432 Use command as test name.
14433
cd2ddb6c
LM
144342016-12-01 Luis Machado <lgustavo@codesourcery.com>
14435
14436 Fix test names starting with uppercase throughout the files.
14437
14438 * gdb.ada/assign_1.exp
14439 * gdb.ada/boolean_expr.exp
14440 * gdb.base/arrayidx.exp
14441 * gdb.base/del.exp
14442 * gdb.base/gcore-buffer-overflow.exp
14443 * gdb.base/testenv.exp
14444 * gdb.compile/compile.exp
14445 * gdb.python/py-framefilter-invalidarg.exp
14446 * gdb.python/py-framefilter.exp
14447
bb95117e
LM
144482016-12-01 Luis Machado <lgustavo@codesourcery.com>
14449
14450 Fix test names starting with uppercase throughout the files.
14451
14452 * gdb.ada/array_return.exp
14453 * gdb.ada/expr_delims.exp
14454 * gdb.ada/mi_dyn_arr.exp
14455 * gdb.ada/mi_interface.exp
14456 * gdb.ada/mi_var_array.exp
14457 * gdb.ada/watch_arg.exp
14458 * gdb.arch/alpha-step.exp
14459 * gdb.arch/altivec-regs.exp
14460 * gdb.arch/e500-regs.exp
14461 * gdb.arch/powerpc-d128-regs.exp
14462 * gdb.base/arrayidx.exp
14463 * gdb.base/break.exp
14464 * gdb.base/checkpoint.exp
14465 * gdb.base/debug-expr.exp
14466 * gdb.base/dmsym.exp
14467 * gdb.base/radix.exp
14468 * gdb.base/sepdebug.exp
14469 * gdb.base/testenv.exp
14470 * gdb.base/watch_thread_num.exp
14471 * gdb.base/watchpoint-cond-gone.exp
14472 * gdb.cell/break.exp
14473 * gdb.cell/ea-cache.exp
14474 * gdb.compile/compile.exp
14475 * gdb.cp/gdb2495.exp
14476 * gdb.gdb/selftest.exp
14477 * gdb.gdb/xfullpath.exp
14478 * gdb.go/hello.exp
14479 * gdb.go/integers.exp
14480 * gdb.objc/basicclass.exp
14481 * gdb.pascal/hello.exp
14482 * gdb.pascal/integers.exp
14483 * gdb.python/py-breakpoint.exp
14484 * gdb.python/py-cmd.exp
14485 * gdb.python/py-linetable.exp
14486 * gdb.python/py-xmethods.exp
14487 * gdb.python/python.exp
14488 * gdb.reverse/consecutive-precsave.exp
14489 * gdb.reverse/finish-precsave.exp
14490 * gdb.reverse/i386-precsave.exp
14491 * gdb.reverse/machinestate-precsave.exp
14492 * gdb.reverse/sigall-precsave.exp
14493 * gdb.reverse/solib-precsave.exp
14494 * gdb.reverse/step-precsave.exp
14495 * gdb.reverse/until-precsave.exp
14496 * gdb.reverse/watch-precsave.exp
14497 * gdb.threads/leader-exit.exp
14498 * gdb.threads/pthreads.exp
14499 * gdb.threads/wp-replication.exp
14500 * gdb.trace/actions.exp
14501 * gdb.trace/mi-tsv-changed.exp
14502 * gdb.trace/tsv.exp
14503
de97fdd4
LM
145042016-12-01 Luis Machado <lgustavo@codesourcery.com>
14505
14506 Fix test names starting with uppercase throughout the files.
14507
14508 * gdb.arch/i386-bp_permanent.exp
14509 * gdb.arch/i386-gnu-cfi.exp
14510 * gdb.base/disasm-end-cu.exp
14511 * gdb.base/macscp.exp
14512 * gdb.base/pending.exp
14513 * gdb.base/watch_thread_num.exp
14514 * gdb.cp/exception.exp
14515 * gdb.cp/gdb2495.exp
14516 * gdb.cp/local.exp
14517 * gdb.python/py-evsignal.exp
14518 * gdb.python/python.exp
14519 * gdb.trace/tracecmd.exp
14520
9f058c10
LM
145212016-12-01 Luis Machado <lgustavo@codesourcery.com>
14522
14523 Fix test names starting with uppercase throughout the files.
14524
14525 * gdb.base/charset.exp
14526 * gdb.base/eval.exp
14527 * gdb.base/multi-forks.exp
14528 * gdb.guile/scm-progspace.exp
14529 * gdb.opencl/datatypes.exp
14530 * gdb.python/py-block.exp
14531 * gdb.python/py-function.exp
14532 * gdb.python/py-symbol.exp
14533 * gdb.python/py-symtab.exp
14534 * gdb.python/py-xmethods.exp
14535 * gdb.reverse/break-precsave.exp
14536 * gdb.reverse/break-reverse.exp
14537 * gdb.reverse/consecutive-precsave.exp
14538 * gdb.reverse/consecutive-reverse.exp
14539 * gdb.reverse/finish-precsave.exp
14540 * gdb.reverse/finish-reverse-bkpt.exp
14541 * gdb.reverse/finish-reverse.exp
14542 * gdb.reverse/fstatat-reverse.exp
14543 * gdb.reverse/getresuid-reverse.exp
14544 * gdb.reverse/i386-precsave.exp
14545 * gdb.reverse/i386-reverse.exp
14546 * gdb.reverse/i386-sse-reverse.exp
14547 * gdb.reverse/i387-stack-reverse.exp
14548 * gdb.reverse/insn-reverse.exp
14549 * gdb.reverse/machinestate-precsave.exp
14550 * gdb.reverse/machinestate.exp
14551 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14552 * gdb.reverse/pipe-reverse.exp
14553 * gdb.reverse/readv-reverse.exp
14554 * gdb.reverse/recvmsg-reverse.exp
14555 * gdb.reverse/rerun-prec.exp
14556 * gdb.reverse/s390-mvcle.exp
14557 * gdb.reverse/sigall-precsave.exp
14558 * gdb.reverse/sigall-reverse.exp
14559 * gdb.reverse/solib-precsave.exp
14560 * gdb.reverse/solib-reverse.exp
14561 * gdb.reverse/step-precsave.exp
14562 * gdb.reverse/step-reverse.exp
14563 * gdb.reverse/time-reverse.exp
14564 * gdb.reverse/until-precsave.exp
14565 * gdb.reverse/until-reverse.exp
14566 * gdb.reverse/waitpid-reverse.exp
14567 * gdb.reverse/watch-precsave.exp
14568 * gdb.reverse/watch-reverse.exp
14569
cdc7edd7
LM
145702016-12-01 Luis Machado <lgustavo@codesourcery.com>
14571
14572 Fix test names starting with uppercase throughout the files.
14573
14574 * gdb.arch/i386-mpx-simple_segv.exp
14575 * gdb.arch/i386-mpx.exp
14576 * gdb.arch/i386-permbkpt.exp
14577 * gdb.arch/pa-nullify.exp
14578 * gdb.arch/powerpc-d128-regs.exp
14579 * gdb.arch/vsx-regs.exp
14580 * gdb.base/bfp-test.exp
14581 * gdb.base/break.exp
14582 * gdb.base/breakpoint-shadow.exp
14583 * gdb.base/callfuncs.exp
14584 * gdb.base/charset.exp
14585 * gdb.base/commands.exp
14586 * gdb.base/completion.exp
14587 * gdb.base/dfp-test.exp
14588 * gdb.base/echo.exp
14589 * gdb.base/ending-run.exp
14590 * gdb.base/eval.exp
14591 * gdb.base/expand-psymtabs.exp
14592 * gdb.base/float128.exp
14593 * gdb.base/floatn.exp
14594 * gdb.base/foll-exec-mode.exp
14595 * gdb.base/gdb1056.exp
14596 * gdb.base/gdb11531.exp
14597 * gdb.base/kill-after-signal.exp
14598 * gdb.base/multi-forks.exp
14599 * gdb.base/overlays.exp
14600 * gdb.base/pending.exp
14601 * gdb.base/sepdebug.exp
14602 * gdb.base/testenv.exp
14603 * gdb.base/valgrind-db-attach.exp
14604 * gdb.base/watch_thread_num.exp
14605 * gdb.base/watchpoint-cond-gone.exp
14606 * gdb.base/watchpoint.exp
14607 * gdb.base/watchpoints.exp
14608 * gdb.cp/arg-reference.exp
14609 * gdb.cp/baseenum.exp
14610 * gdb.cp/operator.exp
14611 * gdb.cp/shadow.exp
14612 * gdb.dwarf2/dw2-op-out-param.exp
14613 * gdb.dwarf2/dw2-reg-undefined.exp
14614 * gdb.go/chan.exp
14615 * gdb.go/hello.exp
14616 * gdb.go/integers.exp
14617 * gdb.go/methods.exp
14618 * gdb.go/package.exp
14619 * gdb.guile/scm-parameter.exp
14620 * gdb.guile/scm-progspace.exp
14621 * gdb.guile/scm-value.exp
14622 * gdb.mi/mi-pending.exp
14623 * gdb.mi/user-selected-context-sync.exp
14624 * gdb.multi/multi-attach.exp
14625 * gdb.multi/tids.exp
14626 * gdb.opt/clobbered-registers-O2.exp
14627 * gdb.pascal/floats.exp
14628 * gdb.pascal/integers.exp
14629 * gdb.python/py-block.exp
14630 * gdb.python/py-events.exp
14631 * gdb.python/py-parameter.exp
14632 * gdb.python/py-symbol.exp
14633 * gdb.python/py-symtab.exp
14634 * gdb.python/py-type.exp
14635 * gdb.python/py-value.exp
14636 * gdb.python/py-xmethods.exp
14637 * gdb.python/python.exp
14638 * gdb.reverse/break-precsave.exp
14639 * gdb.reverse/consecutive-precsave.exp
14640 * gdb.reverse/finish-precsave.exp
14641 * gdb.reverse/i386-precsave.exp
14642 * gdb.reverse/machinestate-precsave.exp
14643 * gdb.reverse/sigall-precsave.exp
14644 * gdb.reverse/solib-precsave.exp
14645 * gdb.reverse/step-precsave.exp
14646 * gdb.reverse/until-precsave.exp
14647 * gdb.reverse/watch-precsave.exp
14648 * gdb.server/ext-attach.exp
14649 * gdb.server/ext-restart.exp
14650 * gdb.server/ext-run.exp
14651 * gdb.server/ext-wrapper.exp
14652 * gdb.stabs/gdb11479.exp
14653 * gdb.stabs/weird.exp
14654 * gdb.threads/attach-many-short-lived-threads.exp
14655 * gdb.threads/kill.exp
14656 * gdb.threads/watchpoint-fork.exp
14657
bc6c7af4
LM
146582016-12-01 Luis Machado <lgustavo@codesourcery.com>
14659
14660 Fix test names starting with uppercase throughout all the files below.
14661
14662 * gdb.ada/array_return.exp
14663 * gdb.ada/catch_ex.exp
14664 * gdb.ada/info_exc.exp
14665 * gdb.ada/mi_catch_ex.exp
14666 * gdb.ada/mi_dyn_arr.exp
14667 * gdb.ada/mi_ex_cond.exp
14668 * gdb.ada/mi_exc_info.exp
14669 * gdb.ada/mi_interface.exp
14670 * gdb.ada/mi_task_arg.exp
14671 * gdb.ada/mi_task_info.exp
14672 * gdb.ada/mi_var_array.exp
14673 * gdb.arch/alpha-step.exp
14674 * gdb.arch/amd64-disp-step.exp
14675 * gdb.arch/arm-disp-step.exp
14676 * gdb.arch/disp-step-insn-reloc.exp
14677 * gdb.arch/e500-prologue.exp
14678 * gdb.arch/ftrace-insn-reloc.exp
14679 * gdb.arch/gdb1558.exp
14680 * gdb.arch/i386-bp_permanent.exp
14681 * gdb.arch/i386-disp-step.exp
14682 * gdb.arch/i386-float.exp
14683 * gdb.arch/i386-gnu-cfi.exp
14684 * gdb.arch/ia64-breakpoint-shadow.exp
14685 * gdb.arch/mips16-thunks.exp
14686 * gdb.arch/pa-nullify.exp
14687 * gdb.arch/powerpc-aix-prologue.exp
14688 * gdb.arch/powerpc-power.exp
14689 * gdb.arch/ppc-dfp.exp
14690 * gdb.arch/s390-tdbregs.exp
14691 * gdb.arch/spu-info.exp
14692 * gdb.arch/spu-ls.exp
14693 * gdb.arch/thumb-bx-pc.exp
14694 * gdb.base/advance.exp
14695 * gdb.base/annota-input-while-running.exp
14696 * gdb.base/arrayidx.exp
14697 * gdb.base/asmlabel.exp
14698 * gdb.base/async.exp
14699 * gdb.base/attach-wait-input.exp
14700 * gdb.base/auto-connect-native-target.exp
14701 * gdb.base/batch-preserve-term-settings.exp
14702 * gdb.base/bfp-test.exp
14703 * gdb.base/bigcore.exp
14704 * gdb.base/bp-permanent.exp
14705 * gdb.base/break-always.exp
14706 * gdb.base/break-fun-addr.exp
14707 * gdb.base/break-idempotent.exp
14708 * gdb.base/break-main-file-remove-fail.exp
14709 * gdb.base/break-probes.exp
14710 * gdb.base/break-unload-file.exp
14711 * gdb.base/break.exp
14712 * gdb.base/call-ar-st.exp
14713 * gdb.base/call-rt-st.exp
14714 * gdb.base/call-sc.exp
14715 * gdb.base/call-signal-resume.exp
14716 * gdb.base/call-strs.exp
14717 * gdb.base/callexit.exp
14718 * gdb.base/callfuncs.exp
14719 * gdb.base/catch-gdb-caused-signals.exp
14720 * gdb.base/catch-signal-siginfo-cond.exp
14721 * gdb.base/catch-syscall.exp
14722 * gdb.base/compare-sections.exp
14723 * gdb.base/cond-eval-mode.exp
14724 * gdb.base/condbreak-call-false.exp
14725 * gdb.base/consecutive-step-over.exp
14726 * gdb.base/cursal.exp
14727 * gdb.base/disabled-location.exp
14728 * gdb.base/disasm-end-cu.exp
14729 * gdb.base/display.exp
14730 * gdb.base/double-prompt-target-event-error.exp
14731 * gdb.base/dprintf-bp-same-addr.exp
14732 * gdb.base/dprintf-detach.exp
14733 * gdb.base/dprintf-next.exp
14734 * gdb.base/dprintf-non-stop.exp
14735 * gdb.base/dprintf-pending.exp
14736 * gdb.base/dso2dso.exp
14737 * gdb.base/ending-run.exp
14738 * gdb.base/enum_cond.exp
14739 * gdb.base/examine-backward.exp
14740 * gdb.base/exe-lock.exp
14741 * gdb.base/exec-invalid-sysroot.exp
14742 * gdb.base/execl-update-breakpoints.exp
14743 * gdb.base/execution-termios.exp
14744 * gdb.base/fileio.exp
14745 * gdb.base/fixsection.exp
14746 * gdb.base/foll-exec-mode.exp
14747 * gdb.base/foll-exec.exp
14748 * gdb.base/fork-running-state.exp
14749 * gdb.base/frame-args.exp
14750 * gdb.base/fullpath-expand.exp
14751 * gdb.base/func-ptr.exp
14752 * gdb.base/gcore-relro-pie.exp
14753 * gdb.base/gdb1090.exp
14754 * gdb.base/gdb1555.exp
14755 * gdb.base/global-var-nested-by-dso.exp
14756 * gdb.base/gnu-ifunc.exp
14757 * gdb.base/hbreak-in-shr-unsupported.exp
14758 * gdb.base/hbreak-unmapped.exp
14759 * gdb.base/hook-stop.exp
14760 * gdb.base/infcall-input.exp
14761 * gdb.base/info-fun.exp
14762 * gdb.base/info-shared.exp
14763 * gdb.base/interrupt-noterm.exp
14764 * gdb.base/jit-so.exp
14765 * gdb.base/jit.exp
14766 * gdb.base/line-symtabs.exp
14767 * gdb.base/list.exp
14768 * gdb.base/longjmp.exp
14769 * gdb.base/macscp.exp
14770 * gdb.base/max-value-size.exp
14771 * gdb.base/nodebug.exp
14772 * gdb.base/nofield.exp
14773 * gdb.base/overlays.exp
14774 * gdb.base/paginate-after-ctrl-c-running.exp
14775 * gdb.base/paginate-bg-execution.exp
14776 * gdb.base/paginate-inferior-exit.exp
14777 * gdb.base/pending.exp
14778 * gdb.base/pr11022.exp
14779 * gdb.base/printcmds.exp
14780 * gdb.base/ptr-typedef.exp
14781 * gdb.base/ptype.exp
14782 * gdb.base/randomize.exp
14783 * gdb.base/range-stepping.exp
14784 * gdb.base/realname-expand.exp
14785 * gdb.base/relativedebug.exp
14786 * gdb.base/remote.exp
14787 * gdb.base/savedregs.exp
14788 * gdb.base/sepdebug.exp
14789 * gdb.base/set-noassign.exp
14790 * gdb.base/shlib-call.exp
14791 * gdb.base/shreloc.exp
14792 * gdb.base/sigaltstack.exp
14793 * gdb.base/sigbpt.exp
14794 * gdb.base/siginfo-addr.exp
14795 * gdb.base/siginfo-obj.exp
14796 * gdb.base/siginfo-thread.exp
14797 * gdb.base/signest.exp
14798 * gdb.base/signull.exp
14799 * gdb.base/sigrepeat.exp
14800 * gdb.base/skip.exp
14801 * gdb.base/so-impl-ld.exp
14802 * gdb.base/solib-corrupted.exp
14803 * gdb.base/solib-disc.exp
14804 * gdb.base/solib-display.exp
14805 * gdb.base/solib-overlap.exp
14806 * gdb.base/solib-search.exp
14807 * gdb.base/solib-symbol.exp
14808 * gdb.base/source-execution.exp
14809 * gdb.base/sss-bp-on-user-bp-2.exp
14810 * gdb.base/sss-bp-on-user-bp.exp
14811 * gdb.base/stack-checking.exp
14812 * gdb.base/stale-infcall.exp
14813 * gdb.base/step-break.exp
14814 * gdb.base/step-line.exp
14815 * gdb.base/step-over-exit.exp
14816 * gdb.base/step-test.exp
14817 * gdb.base/structs.exp
14818 * gdb.base/sym-file.exp
14819 * gdb.base/symtab-search-order.exp
14820 * gdb.base/term.exp
14821 * gdb.base/type-opaque.exp
14822 * gdb.base/unload.exp
14823 * gdb.base/until-nodebug.exp
14824 * gdb.base/until.exp
14825 * gdb.base/unwindonsignal.exp
14826 * gdb.base/watch-cond.exp
14827 * gdb.base/watch-non-mem.exp
14828 * gdb.base/watch_thread_num.exp
14829 * gdb.base/watchpoint-reuse-slot.exp
14830 * gdb.base/watchpoint-solib.exp
14831 * gdb.base/watchpoint.exp
14832 * gdb.btrace/dlopen.exp
14833 * gdb.cell/arch.exp
14834 * gdb.cell/break.exp
14835 * gdb.cell/bt.exp
14836 * gdb.cell/core.exp
14837 * gdb.cell/data.exp
14838 * gdb.cell/dwarfaddr.exp
14839 * gdb.cell/ea-cache.exp
14840 * gdb.cell/ea-standalone.exp
14841 * gdb.cell/ea-test.exp
14842 * gdb.cell/f-regs.exp
14843 * gdb.cell/fork.exp
14844 * gdb.cell/gcore.exp
14845 * gdb.cell/mem-access.exp
14846 * gdb.cell/ptype.exp
14847 * gdb.cell/registers.exp
14848 * gdb.cell/sizeof.exp
14849 * gdb.cell/solib-symbol.exp
14850 * gdb.cell/solib.exp
14851 * gdb.compile/compile-tls.exp
14852 * gdb.cp/exception.exp
14853 * gdb.cp/gdb2495.exp
14854 * gdb.cp/local.exp
14855 * gdb.cp/mb-inline.exp
14856 * gdb.cp/mb-templates.exp
14857 * gdb.cp/pr10687.exp
14858 * gdb.cp/pr9167.exp
14859 * gdb.cp/scope-err.exp
14860 * gdb.cp/templates.exp
14861 * gdb.cp/virtfunc.exp
14862 * gdb.dwarf2/dw2-dir-file-name.exp
14863 * gdb.dwarf2/dw2-single-line-discriminators.exp
14864 * gdb.fortran/complex.exp
14865 * gdb.fortran/library-module.exp
14866 * gdb.guile/guile.exp
14867 * gdb.guile/scm-cmd.exp
14868 * gdb.guile/scm-frame-inline.exp
14869 * gdb.guile/scm-objfile.exp
14870 * gdb.guile/scm-pretty-print.exp
14871 * gdb.guile/scm-symbol.exp
14872 * gdb.guile/scm-type.exp
14873 * gdb.guile/scm-value.exp
14874 * gdb.linespec/keywords.exp
14875 * gdb.linespec/ls-errs.exp
14876 * gdb.linespec/macro-relative.exp
14877 * gdb.linespec/thread.exp
14878 * gdb.mi/mi-breakpoint-changed.exp
14879 * gdb.mi/mi-dprintf-pending.exp
14880 * gdb.mi/mi-fullname-deleted.exp
14881 * gdb.mi/mi-logging.exp
14882 * gdb.mi/mi-pending.exp
14883 * gdb.mi/mi-solib.exp
14884 * gdb.mi/new-ui-mi-sync.exp
14885 * gdb.mi/user-selected-context-sync.exp
14886 * gdb.multi/dummy-frame-restore.exp
14887 * gdb.multi/multi-arch-exec.exp
14888 * gdb.multi/remove-inferiors.exp
14889 * gdb.multi/watchpoint-multi-exit.exp
14890 * gdb.opt/solib-intra-step.exp
14891 * gdb.perf/backtrace.exp
14892 * gdb.perf/single-step.exp
14893 * gdb.perf/skip-command.exp
14894 * gdb.perf/skip-prologue.exp
14895 * gdb.perf/solib.exp
14896 * gdb.python/lib-types.exp
14897 * gdb.python/py-as-string.exp
14898 * gdb.python/py-bad-printers.exp
14899 * gdb.python/py-block.exp
14900 * gdb.python/py-breakpoint.exp
14901 * gdb.python/py-cmd.exp
14902 * gdb.python/py-events.exp
14903 * gdb.python/py-evthreads.exp
14904 * gdb.python/py-finish-breakpoint.exp
14905 * gdb.python/py-finish-breakpoint2.exp
14906 * gdb.python/py-frame-inline.exp
14907 * gdb.python/py-frame.exp
14908 * gdb.python/py-inferior.exp
14909 * gdb.python/py-infthread.exp
14910 * gdb.python/py-mi.exp
14911 * gdb.python/py-objfile.exp
14912 * gdb.python/py-pp-maint.exp
14913 * gdb.python/py-pp-registration.exp
14914 * gdb.python/py-prettyprint.exp
14915 * gdb.python/py-recurse-unwind.exp
14916 * gdb.python/py-shared.exp
14917 * gdb.python/py-symbol.exp
14918 * gdb.python/py-symtab.exp
14919 * gdb.python/py-template.exp
14920 * gdb.python/py-type.exp
14921 * gdb.python/py-unwind-maint.exp
14922 * gdb.python/py-unwind.exp
14923 * gdb.python/py-value.exp
14924 * gdb.python/python.exp
14925 * gdb.reverse/finish-reverse-bkpt.exp
14926 * gdb.reverse/insn-reverse.exp
14927 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14928 * gdb.reverse/solib-precsave.exp
14929 * gdb.reverse/solib-reverse.exp
14930 * gdb.stabs/gdb11479.exp
14931 * gdb.stabs/weird.exp
14932 * gdb.threads/fork-child-threads.exp
14933 * gdb.threads/fork-plus-threads.exp
14934 * gdb.threads/fork-thread-pending.exp
14935 * gdb.threads/forking-threads-plus-breakpoint.exp
14936 * gdb.threads/hand-call-in-threads.exp
14937 * gdb.threads/interrupted-hand-call.exp
14938 * gdb.threads/linux-dp.exp
14939 * gdb.threads/local-watch-wrong-thread.exp
14940 * gdb.threads/next-while-other-thread-longjmps.exp
14941 * gdb.threads/non-ldr-exit.exp
14942 * gdb.threads/pending-step.exp
14943 * gdb.threads/print-threads.exp
14944 * gdb.threads/process-dies-while-detaching.exp
14945 * gdb.threads/process-dies-while-handling-bp.exp
14946 * gdb.threads/pthreads.exp
14947 * gdb.threads/queue-signal.exp
14948 * gdb.threads/reconnect-signal.exp
14949 * gdb.threads/signal-command-handle-nopass.exp
14950 * gdb.threads/signal-command-multiple-signals-pending.exp
14951 * gdb.threads/signal-delivered-right-thread.exp
14952 * gdb.threads/signal-sigtrap.exp
14953 * gdb.threads/sigthread.exp
14954 * gdb.threads/staticthreads.exp
14955 * gdb.threads/stepi-random-signal.exp
14956 * gdb.threads/thread-unwindonsignal.exp
14957 * gdb.threads/thread_check.exp
14958 * gdb.threads/thread_events.exp
14959 * gdb.threads/tid-reuse.exp
14960 * gdb.threads/tls-nodebug.exp
14961 * gdb.threads/tls-shared.exp
14962 * gdb.threads/tls-so_extern.exp
14963 * gdb.threads/tls.exp
14964 * gdb.threads/wp-replication.exp
14965 * gdb.trace/actions-changed.exp
14966 * gdb.trace/actions.exp
14967 * gdb.trace/backtrace.exp
14968 * gdb.trace/change-loc.exp
14969 * gdb.trace/collection.exp
14970 * gdb.trace/deltrace.exp
14971 * gdb.trace/disconnected-tracing.exp
14972 * gdb.trace/entry-values.exp
14973 * gdb.trace/ftrace-lock.exp
14974 * gdb.trace/ftrace.exp
14975 * gdb.trace/infotrace.exp
14976 * gdb.trace/mi-trace-frame-collected.exp
14977 * gdb.trace/mi-trace-unavailable.exp
14978 * gdb.trace/mi-traceframe-changed.exp
14979 * gdb.trace/mi-tracepoint-changed.exp
14980 * gdb.trace/mi-tsv-changed.exp
14981 * gdb.trace/no-attach-trace.exp
14982 * gdb.trace/packetlen.exp
14983 * gdb.trace/passc-dyn.exp
14984 * gdb.trace/passcount.exp
14985 * gdb.trace/pending.exp
14986 * gdb.trace/pr16508.exp
14987 * gdb.trace/qtro.exp
14988 * gdb.trace/range-stepping.exp
14989 * gdb.trace/read-memory.exp
14990 * gdb.trace/report.exp
14991 * gdb.trace/save-trace.exp
14992 * gdb.trace/signal.exp
14993 * gdb.trace/stap-trace.exp
14994 * gdb.trace/status-stop.exp
14995 * gdb.trace/strace.exp
14996 * gdb.trace/tfile.exp
14997 * gdb.trace/tfind.exp
14998 * gdb.trace/trace-break.exp
14999 * gdb.trace/trace-condition.exp
15000 * gdb.trace/trace-enable-disable.exp
15001 * gdb.trace/trace-mt.exp
15002 * gdb.trace/tracecmd.exp
15003 * gdb.trace/tracefile-pseudo-reg.exp
15004 * gdb.trace/tspeed.exp
15005 * gdb.trace/tstatus.exp
15006 * gdb.trace/tsv.exp
15007 * gdb.trace/unavailable.exp
15008 * gdb.trace/while-dyn.exp
15009 * gdb.trace/while-stepping.exp
15010 * lib/gdb-guile.exp
15011 * lib/gdb.exp
15012 * lib/mi-support.exp
15013 * lib/pascal.exp
15014 * lib/perftest.exp
15015 * lib/prelink-support.exp
15016 * lib/selftest-support.exp
15017
ad02e4fe
SM
150182016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
15019
15020 * Makefile.in: Include disable-implicit-rules.mk.
15021
22347e55
AA
150222016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15023
15024 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
15025 non-byte-aligned bit fields.
15026
da5b30da
AA
150272016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15028
15029 PR gdb/12616
15030 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
15031 respects the DW_AT_data_bit_offset attribute.
15032
b593ecca
SM
150332016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
15034
15035 * gdb.base/default.exp: Fix output of "set language".
15036
3b165252
SM
150372016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
15038
15039 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
15040 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15041 make.
15042 * configure.ac: Remove checks for the make program.
15043 * configure: Re-generate.
15044
1a2f3d7f
KB
150452016-11-16 Kevin Buettner <kevinb@redhat.com>
15046
15047 * gdb.python/py-recurse-unwind.c (main): Add loop.
15048 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15049 to read_register() and gdb.parse_and_eval(). Make each code
15050 call a separate case that can be individually tested.
15051 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15052 proc. Call cont_and_backtrace for each of the code paths that
15053 we want to test in the unwinder.
15054
b7f38fda
AA
150552016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15056
15057 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15058 the definition of struct S.
15059
1f8db343
CM
150602016-11-11 Catherine Moore <clm@codesourcery.com>
15061
15062 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15063
fad0c9fb
PA
150642016-11-09 Pedro Alves <palves@redhat.com>
15065
15066 * gdb.base/commands.exp (runto_or_return): New procedure.
15067 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15068 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15069 (progvar_simple_while_test, progvar_complex_if_while_test)
15070 (if_while_breakpoint_command_test)
15071 (infrun_breakpoint_command_test, breakpoint_command_test)
15072 (user_defined_command_test, watchpoint_command_test)
15073 (test_command_prompt_position, redefine_hook_test)
15074 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15075 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15076 multi_line_input and multi_line. Remove gdb_expect and
15077 gdb_stop_suppressing_tests uses.
15078 * lib/gdb.exp (valnum_re): New global.
15079 (multi_line_input): New procedure.
15080
8354c62c
SM
150812016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15082
15083 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15084 Remove.
15085 (test_setup): Define with proc_with_prefix.
15086 (test_cli_inferior): Likewise.
15087 (test_cli_thread): Likewise.
15088 (test_cli_frame): Likewise.
15089 (test_cli_select_frame): Likewise.
15090 (test_cli_up_down): Likewise.
15091 (test_mi_thread_select): Likewise.
15092 (test_mi_stack_select_frame): Likewise.
15093 (test_cli_in_mi_inferior): Likewise.
15094 (test_cli_in_mi_thread): Likewise.
15095 (test_cli_in_mi_frame): Likewise.
15096 (top level): Do not use with_test_prefix_procname.
15097
64f367a2
PA
150982016-11-09 Pedro Alves <palves@redhat.com>
15099
15100 * gdb.base/commands.exp (gdbvar_simple_if_test)
15101 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15102 (progvar_simple_if_test, progvar_simple_while_test)
15103 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15104 (infrun_breakpoint_command_test, breakpoint_command_test)
15105 (user_defined_command_test, watchpoint_command_test)
15106 (test_command_prompt_position, deprecated_command_test)
15107 (bp_deleted_in_command, temporary_breakpoint_commands)
15108 (stray_arg0_test, source_file_with_indented_comment)
15109 (recursive_source_test, if_commands_test)
15110 (error_clears_commands_left, redefine_hook_test)
15111 (redefine_backtrace_test): Use proc_with_prefix.
15112 * lib/gdb.exp (proc_with_prefix): New proc.
15113
0bb65f1e
AA
151142016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15115
15116 * gdb.base/tui-layout.c: New file.
15117 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15118 disassembly window contains very long lines.
15119
7353f247
TT
151202016-11-08 Tom Tromey <tom@tromey.com>
15121
15122 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15123 depend on Python 2.
15124
30a7bb83
TT
151252016-11-08 Tom Tromey <tom@tromey.com>
15126
15127 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15128 New method.
15129
cdf5a07c
MG
151302016-10-29 Manish Goregaokar <manish@mozilla.com>
15131
2806dc7e 15132 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 15133
51a789c3
MG
151342016-10-27 Manish Goregaokar <manish@mozilla.com>
15135
2806dc7e
PA
15136 * gdb.rust/simple.rs: Add test for univariant enums without
15137 discriminants and for encoded struct-like enums.
51a789c3 15138
f610ab6d
PA
151392016-10-28 Pedro Alves <palves@redhat.com>
15140
15141 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15142 gdb_test_multiple, tighten regexps and match symtabs and line
15143 tables incrementally.
15144
b129b0ca
LM
151452016-10-28 Luis Machado <lgustavo@codesourcery.com>
15146
15147 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15148 general.
15149
ecf45d2c
SL
151502016-10-25 Luis Machado <lgustavo@codesourcery.com>
15151
15152 * gdb.base/exec-invalid-sysroot.exp: New file.
15153
b8d38ee4
JK
151542016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15155
15156 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15157
f90fd8c2
JK
151582016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15159
15160 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15161
2d2476aa
MR
151622016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15163
2806dc7e
PA
15164 * gdb.base/killed-outside.exp: Remove $options from a call to
15165 `prepare_for_testing'.
2d2476aa 15166
e42b25a0
SM
151672016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15168
15169 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15170 Change test message.
15171
3ccdb432
SM
151722016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15173
15174 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15175 Update comment.
15176
5bad3170
SM
151772016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15178
15179 * gdb.trace/mi-trace-save.exp: New file.
15180
5ad9dba7
YQ
151812016-10-13 Yao Qi <yao.qi@linaro.org>
15182
15183 * gdb.base/code_elim.exp (get_var_address): Remove.
15184 * gdb.base/relocate.exp: Likewise.
15185 * gdb.base/shreloc.exp: Likewise.
15186 * lib/gdb.exp (get_var_address): New.
15187
62df7e21
YQ
151882016-10-13 Yao Qi <yao.qi@linaro.org>
15189
15190 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15191 floating point tests if $skip_float_test is false.
15192
4dac951e
LM
151932016-10-12 Luis Machado <lgustavo@codesourcery.com>
15194
15195 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15196 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15197 argc values.
15198 Add 1 to argc so we guarantee distinct initial/modified argc values.
15199
8f1a8fc4
JK
152002016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15201
15202 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15203
16c85b5d
JK
152042016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15205
15206 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15207 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15208 * gdb.arch/vsx-regs.exp: Likewise.
15209
1d0e042a
YQ
152102016-10-07 Yao Qi <yao.qi@linaro.org>
15211
15212 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15213
68dadef5
MM
152142016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15215
15216 * gdb.python/python.exp: Test decode_line("*0").
15217
33fa2c6e
DE
152182016-10-06 Doug Evans <dje@google.com>
15219
15220 * gdb.python/py-value.exp (test_value_creation): Add test for large
15221 unsigned 64-bit value.
15222
9c37b5ae
TT
152232016-10-06 Tom Tromey <tom@tromey.com>
15224
15225 * gdb.compile/compile.exp: Change java tests to rust.
15226 * gdb.base/setshow.exp: Change java tests to rust.
15227 * gdb.base/default.exp: Remove java from language list.
15228 * README (Examples): Update language example.
15229 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15230 test.
15231 * lib/gdb.exp (skip_java_tests): Remove.
15232 * lib/java.exp: Remove.
15233 * gdb.java: Remove.
15234
78b86327
MR
152352016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15236
15237 * gdb.arch/mips-fcr.exp: New test.
15238 * gdb.arch/mips-fcr.c: Source for the new test.
15239
7470adbb
MR
152402016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15241
15242 * gdb.base/solib-disc.exp: Use `standard_output_file'
15243 throughout.
15244
4a556533
PA
152452016-10-06 Pedro Alves <palves@redhat.com>
15246
15247 * gdb.base/jit-simple-dl.c: New file.
15248 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15249 * gdb.base/jit-simple.c: ... this.
15250 * gdb.base/jit-simple.exp (jit_run): Delete.
15251 (build_jit): New proc.
15252 (jit_test_reread): Recompile either the main program or the shared
15253 library, depending on what is being tested. Skip changing address
15254 if caller wants to. Compare before/after addresses. If testing
15255 standalone, explicitly load the binary. Test "maint info
15256 breakpoints".
15257 (top level): Add "standalone vs shared lib" and "change address"
15258 vs "same address" axes.
15259
5a122fbc
PA
152602016-10-06 Pedro Alves <palves@redhat.com>
15261
15262 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15263 call.
15264 (jit_run): Delete.
15265 (jit_test_reread): Use with_test_prefix. Reload the main binary
15266 explicitly. Compare the before/after addresses of the JIT
15267 descriptor.
15268
ee8da4b8
DE
152692016-08-15 Doug Evans <dje@google.com>
15270
15271 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15272 for single bitfields is bool.
15273 * gdb.xml/tdesc-regs.exp: Ditto.
15274
f389f6fe
JK
152752016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15276
15277 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15278
fdebf1a4
YQ
152792016-10-05 Yao Qi <yao.qi@linaro.org>
15280
15281 * lib/gdb.exp (support_complex_tests): Return zero if
15282 gdb_skip_float_test return true.
15283
9c36d954 152842016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15285 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
15286
15287 PR gdb/20487
15288 * gdb.mi/user-selected-context-sync.exp: New file.
15289 * gdb.mi/user-selected-context-sync.c: New file.
15290
4034d0ff 152912016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 15292 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
15293
15294 PR gdb/20487
15295 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15296 =thread-select-event check.
15297
a4297203
PB
152982016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15299
15300 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15301 the compulsory L operand changes.
15302 * gdb.arch/powerpc-power.s: Likewise.
15303
bb805577
JK
153042016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15305
15306 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15307 * gdb.base/jit-attach-pie.c: New file.
15308 * gdb.base/jit-attach-pie.exp: New file.
15309
6d61dee5
PA
153102016-09-28 Pedro Alves <palves@redhat.com>
15311
15312 * gdb.base/infcall-input.c: New file.
15313 * gdb.base/infcall-input.exp: New file.
15314
f73842fc
YQ
153152016-09-22 Yao Qi <yao.qi@linaro.org>
15316
15317 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15318 (gdb_exit): Rename it to ...
15319 (gdbserver_gdb_exit): ... Close GDBserver.
15320 (gdb_exit): New proc, call gdbserver_gdb_exit.
15321 (mi_gdb_exit): Likewise.
15322
90681dab
YQ
153232016-09-22 Yao Qi <yao.qi@linaro.org>
15324
15325 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15326 path.
15327 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15328 Remove duplication.
15329
9c211fd8
YQ
153302016-09-22 Yao Qi <yao.qi@linaro.org>
15331
15332 * lib/gdbserver-support.exp: Check the existence of
15333 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15334
ad0a504f
AK
153352016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15336
15337 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15338
36cf1806
TT
153392016-09-21 Tom Tromey <tom@tromey.com>
15340
15341 PR gdb/20604:
15342 * gdb.base/quit.exp: New file.
15343
74172ecf
SM
153442016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15345
15346 * .gitignore: New file.
15347
3d0ec882
MR
153482016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15349
15350 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15351 throughout.
15352
8193adea
AA
153532016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15354
15355 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15356
d41a5c09
JK
153572016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15358
15359 * gdb.cp/casts.cc (decltype): Move it ...
15360 (main): ... with its call to ...
15361 * gdb.cp/casts03.cc: ... a new file.
15362 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15363
d2dfe700
JK
153642016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15365
15366 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15367
e2a92b16
PB
153682016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15369
15370 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15371 and sync up the test with tests in gas/testsuite/gas/ppc.
15372 * gdb.arch/powerpc-power.exp: Likewise.
15373
49b4de64
JK
153742016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15375
15376 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15377
2c29df25
SDJ
153782016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15379 Jan Kratochvil <jan.kratochvil@redhat.com>
15380
15381 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15382 make m1's definition to be different from m2's. Use 'dummy' as an
15383 argument for probe 'two'.
15384
cc3c2846
JB
153852016-09-10 Jon Beniston <jon@beniston.com>
15386
15387 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15388 for sim target.
15389
e1b2624a
AA
153902016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15391
15392 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15393 variable declaration.
15394 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15395 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15396 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15397 received HWCAP as its argument.
15398
4295e285
PA
153992016-09-06 Pedro Alves <palves@redhat.com>
15400
15401 * gdb.base/new-ui-pending-input.c: New file.
15402 * gdb.base/new-ui-pending-input.exp: New file.
15403 * gdb.exp (clear_gdb_spawn_id): New procedure.
15404 (with_spawn_id): Check whether gdb_spawn_id exists before
15405 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15406 on exit.
15407
00d5215e
UW
154082016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15409
15410 * gdb.base/float128.c: New file.
15411 * gdb.base/float128.exp: Likewise.
15412 * gdb.base/floatn.c: Likewise.
15413 * gdb.base/floatn.exp: Likewise.
15414
a9ff5f12
UW
154152016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15416
15417 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15418
f245535c
PA
154192016-09-05 Pedro Alves <palves@redhat.com>
15420
15421 PR backtrace/19927
15422 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15423 unwinders are immediately called as side effect of "source" or
15424 "disable unwinder" commands.
15425 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15426
ae9cf263
YQ
154272016-09-02 Yao Qi <yao.qi@linaro.org>
15428
15429 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15430 is true and $type is "float" or "double".
15431
27aba047
YQ
154322016-09-02 Yao Qi <yao.qi@linaro.org>
15433
15434 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15435 true.
15436 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15437 * gdb.base/call-rt-st.exp: Likewise.
15438 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15439 return value instead of gdb,skip_float_test.
15440 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15441 (do_function_calls): Use its return value instead of
15442 gdb,skip_float_test.
15443 * gdb.base/finish.exp: Likewise.
15444 * gdb.base/funcargs.exp: Likewise.
15445 * gdb.base/return.exp: Likewise.
15446 * gdb.base/return2.exp: Likewise.
15447 * gdb.base/varargs.exp: Likewise.
15448 * lib/gdb.exp (gdb_skip_float_test): Change it to
15449 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15450
5af962df
AA
154512016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15452
15453 * gdb.multi/tids.exp: Test "thread apply all".
15454
7fac6910
JK
154552016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15456
15457 * gdb.base/default.exp (tty): Remove.
15458
bb1fe4ac
KB
154592016-08-24 Kevin Buettner <kevinb@redhat.com>
15460
2806dc7e
PA
15461 * gdb.python/py-recurse-unwind.c: New file.
15462 * gdb.python/py-recurse-unwind.py: New file.
15463 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 15464
0a1ddfa6
SM
154652016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15466
15467 * gdb.base/set-inferior-tty.exp: New file.
15468 * gdb.base/set-inferior-tty.c: New file.
15469
d9de1fe3
PA
154702016-08-23 Pedro Alves <palves@redhat.com>
15471
15472 PR gdb/20494
15473 * gdb.base/new-ui-echo.c: New file.
15474 * gdb.base/new-ui-echo.exp: New file.
15475
e9d9abd7
YQ
154762016-08-23 Yao Qi <yao.qi@linaro.org>
15477
15478 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15479 gdbserver_spawn.
15480 * gdb.server/connect-without-multi-process.exp (do_test):
15481 Likewise.
15482
3589529e
YQ
154832016-08-23 Yao Qi <yao.qi@linaro.org>
15484
15485 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15486 standalone_txt. Delete gdb_txt and standalone_txt on host
15487 and target. Spawn the binary on target. Copy files from
15488 target to host.
15489
6bb90213
PA
154902016-08-22 Pedro Alves <palves@redhat.com>
15491
15492 PR gdb/20505
15493 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15494 with_test_prefix. Factor out bits to ...
15495 (test_no_vdso): ... this new procedure.
15496
20c2c024
CL
154972016-08-19 Carl Love <cel@us.ibm.com>
15498
15499 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15500 maintaining separate logic for constructing the output path.
15501 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15502 * gdb.arch/ppc-dfp.exp: Likewise.
15503 * gdb.arch/ppc-fp.exp: Likewise.
15504 * gdb.arch/vsx-regs.exp: Likewise.
15505 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15506 binprefix for generating the additional binary files.
15507
0646e07d
PA
155082016-08-19 Pedro Alves <palves@redhat.com>
15509
15510 * gdb.trace/mi-trace-frame-collected.exp
15511 (test_trace_frame_collected): On x32, expect two registers.
15512
46da9242
CL
155132016-08-18 Carl Love <cel@us.ibm.com>
15514
15515 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15516 and sync up the test with tests in gas/testsuite/gas/ppc.
15517 * gdb.arch/powerpc-power.exp: Likewise.
15518
eb2332d7
SM
155192016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15520
15521 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15522 expected error message.
15523
63c61e04
SM
155242016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15525
15526 * gdb.multi/remove-inferiors.exp: New file.
15527 * gdb.multi/remove-inferiors.c: New file.
15528
7b17065f
YQ
155292016-08-12 Yao Qi <yao.qi@linaro.org>
15530
15531 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15532 argument list.
15533
01d3dedf
PA
155342016-08-10 Pedro Alves <palves@redhat.com>
15535
15536 PR gdb/19187
15537 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15538 setup_kfails.
15539
3eb7562a
PA
155402016-08-09 Pedro Alves <palves@redhat.com>
15541 Simon Marchi <simon.marchi@ericsson.com>
15542
15543 PR gdb/20418
15544 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15545 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15546
80614914
PA
155472016-08-09 Pedro Alves <palves@redhat.com>
15548
15549 PR mi/20431
15550 * gdb.mi/mi-cmd-error.exp: New file.
15551
f348d89a
PA
155522016-08-09 Pedro Alves <palves@redhat.com>
15553
15554 PR gdb/18653
15555 * gdb.base/signals-state-child.c: New file.
15556 * gdb.base/signals-state-child.exp: New file.
15557 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15558
e5ca03b4
PA
155592016-08-09 Pedro Alves <palves@redhat.com>
15560
15561 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15562
282a0691
TT
155632016-08-03 Tom Tromey <tom@tromey.com>
15564
15565 PR python/18565:
15566 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15567
41bfcd63
YQ
155682016-08-01 Yao Qi <yao.qi@linaro.org>
15569
15570 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15571 variable mode to "multi-process" if $multi_process is 1, otherwise
15572 set it to "single-process".
15573
e3465b24
YQ
155742016-08-01 Yao Qi <yao.qi@linaro.org>
15575
15576 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15577 * gdb.cp/cpexprs.exp: Likewise.
15578 * gdb.cp/m-static.exp: Likewise.
15579
0b31a4bc
TT
155802016-07-26 Tom Tromey <tom@tromey.com>
15581
15582 PR python/20190:
15583 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15584 test.
15585
e0461dbb
MM
155862016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15587
15588 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15589 selecting assembly source files.
15590 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15591 assembly source files.
15592 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15593 assembly source files.
15594 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15595 selecting assembly source files.
15596
8194e927
SM
155972016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15598
15599 * gdb.base/new-ui.exp (do_test_invalid_args): New
15600 procedure.
15601
c0272db5
TW
156022016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15603
15604 * gdb.btrace/reconnect.c: New file.
15605 * gdb.btrace/reconnect.exp: New file.
15606
e3487908
GKB
156072016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15608
15609 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15610 to test_catch_syscall_group.
15611 (test_catch_syscall_group): New.
15612
12df5c00
TT
156132016-07-21 Tom Tromey <tom@tromey.com>
15614
15615 * gdb.rust/simple.rs (main): Use empty struct expression.
15616 * gdb.rust/simple.exp: Add tests for empty struct expression.
15617
bae62ee2
YQ
156182016-07-21 Yao Qi <yao.qi@linaro.org>
15619
15620 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15621 if gdb_skip_xml_test is true on some targets.
15622
b1b53fb3
YQ
156232016-07-21 Yao Qi <yao.qi@linaro.org>
15624
15625 * gdb.server/solib-list.exp: Unset last_loaded_file.
15626
027d97f8
JK
156272016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15628
15629 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15630 "step into captured_main (args)".
15631
7674d381
JK
156322016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15633
15634 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15635
72b5d099
JK
156362016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15637
15638 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15639
1f960ced
PA
156402016-07-19 Pedro Alves <palves@redhat.com>
15641
15642 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15643 * gdb.opt/inline-bt.exp: Likewise.
15644 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15645 additional_flags=-Winline.
15646 * gdb.opt/inline-locals.exp: Likewise.
15647 * gdb.opt/inline-markers.c (ATTR): Define.
15648 (inlined_fn): Use it.
15649
f25827c1
YQ
156502016-07-19 Yao Qi <yao.qi@linaro.org>
15651
15652 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15653 (test_with_self): Remove some code. Remove argument executable.
15654 (top-level): Use do_self_tests.
15655
37539ebe
DB
156562016-07-15 Zachary Welch <zwelch@codesourcery.com>
15657 Don Breazeal <donb@codesourcery.com>
15658
15659 * gdb.base/maint.exp: Escape paths used in regular expressions.
15660 * gdb.stabs/weird.exp: Likewise.
15661
dac790e1
TT
156622016-07-13 Tom Tromey <tom@tromey.com>
15663
15664 PR python/15620, PR python/18620:
15665 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15666 (test_bkpt_events): New procs.
15667
93daf339
TT
156682016-07-13 Tom Tromey <tom@tromey.com>
15669
15670 PR python/17698:
15671 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15672 test.
15673 (test_watchpoints): Likewise.
15674 (test_bkpt_pending): New proc.
15675
6571a381
TT
156762016-07-13 Tom Tromey <tom@tromey.com>
15677
15678 PR cli/18053:
15679 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15680 completion test.
15681
e8732474
JK
156822016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15683
15684 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15685 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15686 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15687 f_label.
15688 (g): Rename g_end_lbl to g_label.
15689 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15690 low_pc and high_pc.
15691 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15692
e0f3fd7c
TT
156932016-07-12 Tom Tromey <tom@tromey.com>
15694
15695 PR python/19293:
15696 * gdb.python/py-unwind-maint.exp: Update tests.
15697
3cfe46b6
YQ
156982016-07-12 Yao Qi <yao.qi@linaro.org>
15699
15700 * lib/selftest-support.exp (selftest_setup): Match the output
15701 when captured_main is inlined.
15702
4f19a0e6
WT
157032016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15704
15705 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15706 New variables.
15707 (print this%a, print this%b, print this): New tests.
15708 * gdb.fortran/derived-types.f90 (this): New object and
15709 initialization.
15710
986cf455
SM
157112016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15712
15713 * gdb.ada/arraydim.exp: Remove extra directory level in build
15714 directory.
15715
f0464b23
SM
157162016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15717
15718 * lib/ada.exp: Remove extra directory level in build directory.
15719 * gdb.ada/cond_lang.exp: Likewise.
15720 * gdb.ada/exec_changed.exp: Likewise.
15721 * gdb.ada/lang_switch.exp: Likewise.
15722
42d94011
MG
157232016-07-06 Manish Goregaokar <manish@mozilla.com>
15724
2806dc7e
PA
15725 * simple.rs: Add test for raw pointer subscripting.
15726 * simple.exp: Add test expectations.
42d94011 15727
647c264c
YQ
157282016-07-05 Yao Qi <yao.qi@linaro.org>
15729
15730 * gdb.mi/mi-reverse.exp: Match =record-started output.
15731
20aa2c60
PA
157322016-07-01 Pedro Alves <palves@redhat.com>
15733
15734 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15735 procedure.
15736 (jit_reader_test): Test the jit reader's unwinder.
15737 * gdb.base/jithost.c (jit_function_00_code): New global.
15738 (main): Use memcpy to fill in the mmapped code, instead of poking
15739 bytes manually here.
15740 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15741 value.
15742 (read_debug_info): Save the function's range.
15743 (read_sp): New function.
15744 (unwind_frame): Use it. Also unwind RBP.
15745 (get_frame_id): Use read_sp.
15746 (gdb_init_reader): Use calloc instead of malloc.
15747 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15748 parameter. Use gdb_test_multiple.
15749
ced2dffb
PA
157502016-07-01 Pedro Alves <palves@redhat.com>
15751 Antoine Tremblay <antoine.tremblay@ericsson.com>
15752
15753 * gdb.threads/process-dies-while-detaching.c: New file.
15754 * gdb.threads/process-dies-while-detaching.exp: New file.
15755
63000888
PA
157562016-07-01 Pedro Alves <palves@redhat.com>
15757
15758 * gdb.multi/watchpoint-multi-exit.c: New file.
15759 * gdb.multi/watchpoint-multi-exit.exp: New file.
15760
038d4868
PA
157612016-06-30 Pedro Alves <palves@redhat.com>
15762
15763 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15764 unset inferior_spawn_id.
15765
994e9c83
PA
157662016-06-30 Pedro Alves <palves@redhat.com>
15767
15768 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15769 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15770
e5653468
YQ
157712016-06-29 Yao Qi <yao.qi@linaro.org>
15772
15773 * gdb.base/return.c: Add copyright header.
15774
803b47e5
TT
157752016-06-29 Tom Tromey <tom@tromey.com>
15776
15777 PR python/20129:
15778 * gdb.python/py-framefilter.exp: Add tests for setting priority
15779 and disabling of non-existent frame filter.
15780
28244707
YQ
157812016-06-29 Yao Qi <yao.qi@linaro.org>
15782
15783 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15784 0x0f07ff.
15785
a31d2f06
YQ
157862016-06-28 Yao Qi <yao.qi@linaro.org>
15787
15788 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15789 triplets. Start gdb, execute catch syscall, and continue. Check
15790 gdb's output to determine catch syscall is supported.
15791
921d8f54
MG
157922016-06-27 Manish Goregaokar <manish@mozilla.com>
15793
25d49b86
PA
15794 * gdb.rust/simple.rs: Add test for returning unit in a function.
15795 * gdb.rust/simple.exp: Add expectation for functions returning
15796 unit.
921d8f54 15797
f4952523
PMR
157982016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15799
15800 * gdb.python/py-breakpoint-create-fail.c,
15801 gdb.python/py-breakpoint-create-fail.exp,
15802 gdb.python/py-breakpoint-create-fail.py: New testcase.
15803
fccb08f8
MG
158042016-06-25 Manish Goregaokar <manish@mozilla.com>
15805
15806 PR gdb/20239
15807 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15808 * gdb.rust/simple.exp: Add test expectations for new NonZero
15809 tests.
fccb08f8 15810
6b850546
DT
158112016-06-24 David Taylor <dtaylor@emc.com>
15812
15813 * gdb.base/offsets.exp: New file.
15814 * gdb.base/offsets.c: New file.
15815
17621150
TT
158162016-06-23 Tom Tromey <tom@tromey.com>
15817
15818 PR gdb/16483:
15819 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15820 before any filters are loaded.
15821
04d59df6
WT
158222016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15823
15824 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15825 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15826 structs.
15827 * gdb.fortran/derived-type-function.exp: New file.
15828 * gdb.fortran/derived-type-function.f90: New file.
15829
15830
ac69f786
PA
158312016-06-21 Pedro Alves <palves@redhat.com>
15832
15833 * gdb.base/new-ui.exp: New file.
15834 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15835 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15836 (with_spawn_id): New procedure.
15837
49940788
PA
158382016-06-21 Pedro Alves <palves@redhat.com>
15839
15840 * gdb.mi/mi-exec-run.exp: New file.
15841
ef274d26
PA
158422016-06-21 Pedro Alves <palves@redhat.com>
15843
15844 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15845 breakpoint command's output on the main UI.
15846 (test_break): New procedure, factored out from calls in the top
15847 level.
15848 (top level): Use foreach_with_prefix to test MI as main UI and as
15849 separate UI.
15850
468afe6c
PA
158512016-06-21 Pedro Alves <palves@redhat.com>
15852
15853 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15854 (test_awatch_creation_and_listing)
15855 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15856 Remove 'type' parameter.
15857 (test_watchpoint_all): New parameter mi_mode. Remove
15858 with_test_prefix.
15859 (top level): Use foreach_with_prefix, and add main/separate UI MI
15860 testing axis.
15861
51f77c37
PA
158622016-06-21 Pedro Alves <palves@redhat.com>
15863
15864 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15865 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15866 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15867 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15868 (gdb_main_spawn_id, mi_spawn_id): Declare and
15869 comment.
15870 (mi_create_inferior_pty): New procedure,
15871 factored out from default_mi_gdb_start.
15872 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15873 procedures.
15874 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15875 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15876 Use mi_create_inferior_pty.
15877 (mi_gdb_start): Use eval to pass down args list.
15878
8980e177
PA
158792016-06-21 Pedro Alves <palves@redhat.com>
15880
15881 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15882 * gdb.opt/inline-cmds.exp: Add MI tests.
15883
f38d3ad1
PA
158842016-06-21 Pedro Alves <palves@redhat.com>
15885
15886 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15887
45db7c09
PA
158882016-06-21 Pedro Alves <palves@redhat.com>
15889
15890 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15891 (top level): Use it instead of mi_execute_to.
15892
5a069ab3
PA
158932016-06-21 Pedro Alves <palves@redhat.com>
15894
15895 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15896 (cont_handler_str): New.
15897 (signal_stop_handler): Set stop_handler_str instead of printing to
15898 stdout.
15899 (continue_handler): Set cont_handler_str instead of printing to
15900 stdout.
15901 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15902 mi_send_resuming_command. Print stop_handler_str and
15903 cont_handler_str instead of expecting the python events print
15904 directly.
15905
2838cc1d
SD
159062016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15907
15908 * gdb.base/jit-reader.exp: New file.
15909 * gdb.base/jithost.c: New file.
15910 * gdb.base/jithost.h: New file.
15911 * gdb.base/jitreader.c : New file.
15912 * gdb.base/jit-protocol.h: New file.
15913
21a77091
YQ
159142016-06-17 Yao Qi <yao.qi@linaro.org>
15915
15916 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15917 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15918 and detach-on-fork. Adjust tests.
15919 (top level): Invoke break_cond_on_syscall with combinations of
15920 syscall, follow-fork-mode and detach-on-fork.
15921
f50bf8e5
YQ
159222016-06-17 Yao Qi <yao.qi@linaro.org>
15923
15924 * gdb.base/step-over-exit.c: New.
15925 * gdb.base/step-over-exit.exp: New.
15926
a28d8e50
YTL
159272016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15928
15929 * gdb.base/float.exp: Add target check for nds32*-*-*.
15930 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15931
cad8e26d
AB
159322016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15933
15934 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15935 for unsupported target features.
15936 * gdb.base/call-rt-st.exp: Likewise.
15937 * gdb.base/call-sc.exp: Likewise.
15938 * gdb.base/call-signal-resume.exp: Likewise.
15939 * gdb.base/call-strs.exp: Likewise.
15940 * gdb.base/callexit.exp: Likewise.
15941 * gdb.base/callfuncs.exp: Likewise.
15942 * gdb.base/nodebug.exp: Likewise.
15943 * gdb.base/printcmds.exp: Likewise.
15944 * gdb.base/ptype.exp: Likewise.
15945 * gdb.base/structs.exp: Likewise.
15946 * gdb.base/unwindonsignal.exp: Likewise.
15947 * gdb.cp/gdb2495.exp: Likewise.
15948 * gdb.cp/templates.exp: Likewise.
15949 * gdb.cp/virtfunc.exp: Likewise.
15950 * gdb.threads/hand-call-in-threads.exp: Likewise.
15951 * gdb.threads/interrupted-hand-call.exp: Likewise.
15952 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15953
347dc102
TT
159542016-06-10 Tom Tromey <tom@tromey.com>
15955
15956 PR rust/20110:
15957 * gdb.rust/expr.exp: Add test for integer constant larger than
15958 i32.
15959
5e13cf25
BH
159602016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15961
15962 * gdb.fortran/nested-funcs.exp: New.
15963 * gdb.fortran/nested-funcs.f90: New.
15964
bb556f1f
TK
159652016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15966
15967 * gdb.base/examine-backward.c: New file.
15968 * gdb.base/examine-backward.exp: New file.
15969
38b022b4
SM
159702016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15971
15972 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15973 matching.
15974
1b40ec05
TT
159752016-06-02 Tom Tromey <tom@tromey.com>
15976
15977 PR python/18984:
15978 * gdb.python/py-shared.exp: Add solib_name test.
15979
193bd378
SM
159802016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15981
15982 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15983
3326303b
MG
159842016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15985
15986 PR c++/19893
15987 * gdb.dwarf2/implref.exp: Rename to...
15988 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15989 * gdb.dwarf2/implref-array.c: New file.
15990 * gdb.dwarf2/implref-array.exp: Likewise.
15991 * gdb.dwarf2/implref-global.c: Likewise.
15992 * gdb.dwarf2/implref-global.exp: Likewise.
15993 * gdb.dwarf2/implref-struct.c: Likewise.
15994 * gdb.dwarf2/implref-struct.exp: Likewise.
15995
825c8ef2
AT
159962016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15997
15998 * gdb.trace/trace-condition.exp: Add 64bit tests.
15999
2320162a
AT
160002016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16001
16002 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
16003 bits types.
16004 (main): Adapt to 8 to 64 bits types.
16005 * gdb.trace/trace-condition.exp: Add new tests.
16006
a7818233
AT
160072016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16008
16009 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
16010
0d336466
AT
160112016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16012
16013 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
16014 Move condition tests...
16015 * gdb.trace/trace-condition.exp: Here.
16016
7faeb45a
AT
160172016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16018
16019 * gdb.trace/trace-condition.exp: Add counter-case tests.
16020
e385593e
JK
160212016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16022
16023 PR c++/15231
16024 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
16025 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
16026
744608cc
PA
160272016-05-27 Pedro Alves <palves@redhat.com>
16028
16029 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
16030 New procedure.
16031 (top level): Call it, and bail out of DejaGnu is known to be bad.
16032
ac775bf4
AB
160332016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
16034
16035 * gdb.base/whatis.c: Extend the test case.
16036 * gdb.base/whatis.exp: Add additional tests.
16037
2bbad2ea
BH
160382016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16039
16040* gdb.fortran/type.f90: Add pointer variable.
16041* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
16042
8b70175d
BH
160432016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16044
16045 * gdb.fortran/vla-type.exp: Fix testcase name.
16046
86d8a848
BH
160472016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16048
16049 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16050
e188eb36
BH
160512016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16052
16053 * gdb.fortran/type.f90: Add nested structures.
16054 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16055 * gdb.fortran/derived-type.exp: Adapt expected output.
16056 * gdb.fortran/vla-type.exp: Adapt expected output.
16057
9b2db1fd
BH
160582016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16059
16060 * gdb.fortran/whatis_type.exp: Adapt expected output.
16061
72b17055
BH
160622016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16063
16064 * gdb.fortran/print_type.exp: Fix expected output.
16065 * gdb.fortran/whatis_type.exp: Fix expected output.
16066
3cd81d8d
BH
160672016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16068
16069 * gdb.fortran/whatis_type.exp: Use multi_line.
16070
ddae9462
TT
160712016-05-24 Tom Tromey <tom@tromey.com>
16072
16073 PR python/17386:
16074 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16075 use value as an index.
16076
1957f6b8
TT
160772016-05-23 Tom Tromey <tom@tromey.com>
16078
16079 PR python/17981:
16080 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16081 no-breakpoint case.
16082
026a9174
PA
160832016-05-24 Pedro Alves <palves@redhat.com>
16084
16085 PR gdb/19828
16086 * gdb.threads/clone-attach-detach.c: New file.
16087 * gdb.threads/clone-attach-detach.exp: New file.
16088
e70a7231
FR
160892016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16090
16091 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16092
0f6ed0e0
TT
160932016-05-23 Tom Tromey <tom@tromey.com>
16094
16095 PR python/19438, PR python/18393:
16096 * gdb.python/py-progspace.exp: Add "dir" test.
16097 * gdb.python/py-objfile.exp: Add "dir" test.
16098
ffd19d61
YQ
160992016-05-23 Yao Qi <yao.qi@linaro.org>
16100
16101 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16102 * gdb.arch/thumb2-it.exp: Likewise.
16103
9e8f9b05
SM
161042016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16105
16106 * gdb.mi/mi-threads-interrupt.c: New file.
16107 * gdb.mi/mi-threads-interrupt.exp: New file.
16108
61c6156d
SM
161092016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16110
16111 PR gdb/18077
16112 * gdb.mi/mi-async-run.exp: New file.
16113 * gdb.mi/mi-async-run.c: New file.
16114
67218854
TT
161152016-05-17 Tom Tromey <tom@tromey.com>
16116 Manish Goregaokar <manishsmail@gmail.com>
16117
16118 * lib/rust-support.exp: New file.
16119 * lib/gdb.exp (skip_rust_tests): New proc.
16120 (build_executable_from_specs): Handle rust.
16121 * lib/future.exp (gdb_find_rustc): New proc.
16122 (gdb_default_target_compile): Handle rust.
16123 * gdb.rust/expr.exp: New file.
16124 * gdb.rust/generics.exp: New file.
16125 * gdb.rust/generics.rs: New file.
16126 * gdb.rust/methods.exp: New file.
16127 * gdb.rust/methods.rs: New file.
16128 * gdb.rust/modules.exp: New file.
16129 * gdb.rust/modules.rs: New file.
16130 * gdb.rust/simple.exp: New file.
16131 * gdb.rust/simple.rs: New file.
16132
c44af4eb
TT
161332016-05-17 Tom Tromey <tom@tromey.com>
16134
16135 * gdb.base/default.exp (set language): Add rust.
16136
dcd1f979
TT
161372016-05-17 Tom Tromey <tom@tromey.com>
16138
16139 * gdb.gdb/unittest.exp: New file.
16140
155b7f57
YQ
161412016-05-16 Yao Qi <yao.qi@linaro.org>
16142
16143 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16144 shell_prompt. Update shell_prompt_re.
16145
8ddd5a6c
DE
161462016-05-12 Doug Evans <dje@google.com>
16147
16148 PR symtab/19999
16149 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16150 $options when building executable.
16151 * gdb.dwarf2/fission-loclists-pie.S: New file.
16152 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16153
02e370d9
SM
161542016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16155
16156 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16157 of [is_remote target],
16158
8929ad8b
SM
161592016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16160
16161 * lib/gdb.exp (use_gdb_stub): New procedure.
16162
6c447423
DE
161632016-05-03 Yunlian Jiang <yunlian@google.com>
16164 Doug Evans <dje@google.com>
16165
16166 PR symtab/19914
16167 * gdb.dwarf2/dwp-sepdebug.c: New file.
16168 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16169
444e826c
SM
161702016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16171
16172 * gdb.base/detach.exp: Remove is_remote check.
16173
740feeaa
SM
161742016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16175
16176 * gdb.base/annota-input-while-running.exp: Don't check for
16177 [is_remote target]. Enable annotations after running to main.
16178 Remove unused "set test..." line.
16179
9080ac9d
SM
161802016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16181
16182 * gdb.trace/trace-enable-disable.exp: New file.
16183 * gdb.trace/trace-enable-disable.c: New file.
16184
952ebca5
SM
161852016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16186
16187 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16188 use it in info sharedlibrary test.
16189 * gdb.trace/ftrace-lock.exp: Likewise.
16190 * gdb.trace/ftrace.exp: Likewise.
16191 * gdb.trace/range-stepping.exp: Likewise.
16192 * gdb.trace/trace-break.exp: Likewise.
16193 * gdb.trace/trace-condition.exp: Likewise.
16194 * gdb.trace/trace-mt.exp: Likewise.
16195
d9019901
SM
161962016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16197
16198 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16199 (gdb_load_shlib): ... this.
16200 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16201 gdb_load_shlib.
16202 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16203 * gdb.base/ctxobj.exp: Likewise.
16204 * gdb.base/dprintf-pending.exp: Likewise.
16205 * gdb.base/dso2dso.exp: Likewise.
16206 * gdb.base/fixsection.exp: Likewise.
16207 * gdb.base/gcore-relro.exp: Likewise.
16208 * gdb.base/gdb1555.exp: Likewise.
16209 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16210 * gdb.base/gnu-ifunc.exp: Likewise.
16211 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16212 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16213 * gdb.base/pending.exp: Likewise.
16214 * gdb.base/print-file-var.exp: Likewise.
16215 * gdb.base/print-symbol-loading.exp: Likewise.
16216 * gdb.base/shlib-call.exp: Likewise.
16217 * gdb.base/shreloc.exp: Likewise.
16218 * gdb.base/so-impl-ld.exp: Likewise.
16219 * gdb.base/solib-disc.exp: Likewise.
16220 * gdb.base/solib-nodir.exp: Likewise.
16221 * gdb.base/solib-overlap.exp: Likewise.
16222 * gdb.base/solib-symbol.exp: Likewise.
16223 * gdb.base/solib-weak.exp (do_test): Likewise.
16224 * gdb.base/sym-file.exp: Likewise.
16225 * gdb.base/symtab-search-order.exp: Likewise.
16226 * gdb.base/type-opaque.exp: Likewise.
16227 * gdb.base/unload.exp: Likewise.
16228 * gdb.base/watchpoint-solib.exp: Likewise.
16229 * gdb.compile/compile.exp: Likewise.
16230 * gdb.cp/gdb2384.exp: Likewise.
16231 * gdb.cp/infcall-dlopen.exp: Likewise.
16232 * gdb.cp/re-set-overloaded.exp: Likewise.
16233 * gdb.fortran/library-module.exp: Likewise.
16234 * gdb.opt/solib-intra-step.exp: Likewise.
16235 * gdb.python/py-finish-breakpoint.exp: Likewise.
16236 * gdb.python/py-shared.exp: Likewise.
16237 * gdb.reverse/solib-precsave.exp: Likewise.
16238 * gdb.reverse/solib-reverse.exp: Likewise.
16239 * gdb.server/solib-list.exp: Likewise.
16240 * gdb.threads/dlopen-libpthread.exp: Likewise.
16241 * gdb.threads/tls-shared.exp: Likewise.
16242 * gdb.threads/tls-so_extern.exp: Likewise.
16243 * gdb.trace/change-loc.exp: Likewise.
16244 * gdb.trace/ftrace-lock.exp: Likewise.
16245 * gdb.trace/ftrace.exp: Likewise.
16246 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16247 * gdb.trace/pending.exp: Likewise.
16248 * gdb.trace/range-stepping.exp: Likewise.
16249 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16250 (strace_info_marker): Likewise.
16251 (strace_probe_marker): Likewise.
16252 (strace_trace_on_same_addr): Likewise.
16253 (strace_trace_on_diff_addr): Likewise.
16254 * gdb.trace/trace-break.exp: Likewise.
16255 * gdb.trace/trace-condition.exp: Likewise.
16256 * gdb.trace/trace-mt.exp: Likewise.
16257
fca4cfd9
SM
162582016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16259
16260 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16261 result of gdb_remote_download.
16262 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16263 * gdb.base/dso2dso.exp: Likewise.
16264 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16265 * gdb.base/print-file-var.exp: Likewise.
16266 * gdb.base/shlib-call.exp: Likewise.
16267 * gdb.base/shreloc.exp: Likewise.
16268 * gdb.base/solib-overlap.exp: Likewise.
16269 * gdb.base/solib-weak.exp (do_test): Likewise.
16270 * gdb.base/unload.exp: Likewise.
16271
11cf4ffb
YQ
162722016-04-27 Yao Qi <yao.qi@linaro.org>
16273
16274 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16275 exists.
16276
3e2e34f8
KB
162772016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16278
16279 * vla-type.exp: Print structure from toplevel.
16280
8f07e298
BH
162812016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16282
16283 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16284 of dynamic types.
16285 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16286 of dynamic types.
16287
9920b434
BH
162882016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16289
16290 * gdb.fortran/vla-type.f90: New file.
16291 * gdb.fortran/vla-type.exp: New file.
16292
f3abeff5
YQ
162932016-04-25 Yao Qi <yao.qi@linaro.org>
16294
16295 * gdb.base/branch-to-self.c: New file.
16296 * gdb.base/branch-to-self.exp: New file.
16297
0a5d52f0
YQ
162982016-04-22 Yao Qi <yao.qi@linaro.org>
16299
16300 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16301 more after $hex.
16302
495346f6
YQ
163032016-04-22 Yao Qi <yao.qi@linaro.org>
16304
16305 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16306 * gdb.base/annota3.exp: Likewise.
16307
4a7e075c
YQ
163082016-04-22 Yao Qi <yao.qi@linaro.org>
16309
16310 * gdb.reverse/step-precsave.exp: Do one step and test program
16311 stops in "callee" and do multiple steps until program goes out
16312 of "callee".
16313 * gdb.reverse/step-reverse.exp: Likewise.
16314
5b061e98
YQ
163152016-04-22 Yao Qi <yao.qi@linaro.org>
16316
16317 * gdb.trace/signal.exp: Also pass if
16318 $tracepoint_hits($i) > $iterations.
16319
5c5dc57f
YQ
163202016-04-22 Yao Qi <yao.qi@linaro.org>
16321
16322 * gdb.trace/signal.c: New file.
16323 * gdb.trace/signal.exp: New file.
16324
a55411b9
DE
163252016-04-19 Doug Evans <xdje42@gmail.com>
16326
16327 * gdb.base/bad-file.exp: New file.
16328
a22df60a
MG
163292016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16330
16331 * gdb.dwarf2/implref.exp: New file.
16332
0c13f7e5
BH
163332016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16334
16335 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16336 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16337 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16338 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16339 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16340 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16341 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16342 * lib/fortran.exp (fortran_int4): New procedure.
16343 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16344 (fortran_logical4): Likewise.
16345
9b9b09e9
BH
163462016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16347
16348 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16349
a14d1f4d
BH
163502016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16351
16352 * lib/compiler.c: Add Intel specific preprocessor macros.
16353 * lib/compiler.cc: Likewise.
25d49b86 16354
7d49b1d0
LM
163552016-04-13 Luis Machado <lgustavo@codesourcery.com>
16356
16357 * gdb.server/connect-with-no-symbol-file.c: New file.
16358 * gdb.server/connect-with-no-symbol-file.exp: New file.
16359
8392fa22
SM
163602016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16361
16362 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16363
8c4c4aeb
SM
163642016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16365
16366 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16367 standard output directory.
16368
45e3745e
AT
163692016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16370
16371 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16372
e26b7e41
MM
163732016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16374
16375 * gdb.btrace/instruction_history.c (loop): Add declaration.
16376
8ce09462
AT
163772016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16378
16379 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16380
2e88a1ea
SM
163812016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16382
16383 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16384 parentheses to print.
16385 (continue_handler): Likewise.
16386
f48e22e3
SM
163872016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16388
16389 * gdb.server/solib-list.exp: Remove is_remote check.
16390 Pass shlib= to gdb_compile. Don't link shared library with
16391 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16392 Run binary filename through "readlink -f" on the target.
16393
096be756
PA
163942016-04-08 Pedro Alves <palves@redhat.com>
16395
16396 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16397 interpreter filename as argument to gdbserver_spawn.
16398 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16399 Return empty if $last_loaded_file does not exist.
16400
06500533
JK
164012016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16402
16403 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16404 * gdb.base/jit-main.c: Use exit after usage.
16405
2d35e871
JK
164062016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16407
16408 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16409 GDBHISTSIZE prior to the tests.
16410 * gdb.base/gdbinit-history.exp: Likewise.
16411
164122016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
16413
16414 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16415 instead of build_executable. Use gdb_load_shlibs.
16416
c8064e7e
YQ
164172016-04-07 Yao Qi <yao.qi@linaro.org>
16418
16419 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16420 Execute "si" command.
16421
bde47561
YQ
164222016-04-07 Yao Qi <yao.qi@linaro.org>
16423
16424 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16425 number instead of the comments on some line.
16426
b16f8a3b
DB
164272016-04-06 Don Breazeal <donb@codesourcery.com>
16428
16429 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16430 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16431
c2f901df
SM
164322016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16433
16434 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16435 standard_output_file. Remove unused binfile variable.
16436
ac17fda0
CU
164372016-04-05 Catalin Udma <catalin.udma@freescale.com>
16438
16439 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16440 * gdb.python/py-mi-objfile.exp: Match "list main" output
16441 in console format.
16442
03a8c4df
SM
164432016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16444
16445 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16446 absolute.
16447
6e774b13
SM
164482016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16449
16450 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16451 absolute.
16452 * gdb.trace/ftrace.exp: Likewise.
16453 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16454 targets as well.
16455 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16456 (gdb_load_shlibs): Copy libraries to test directory when testing
16457 natively. Only set solib-search-path if testing remotely.
16458 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16459
7817ea46
SM
164602016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16461
16462 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16463 gdb_download. Use it even if the target is not remote.
16464 * gdb.base/jit.exp (compile_jit_test): Likewise.
16465 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16466 output directory if the destination board is local, otherwise use
16467 the standard remote_download from DejaGnu.
16468 (gdb_download): Remove.
16469 (gdb_load_shlibs): Use gdb_remote_download instead of
16470 gdb_download.
16471 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16472 Use gdb_remote_download instead of gdb_download. Use it even if
16473 the target is not remote.
16474 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16475 instead of gdb_download.
16476
7beb7f68
SM
164772016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16478
16479 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16480 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16481 run.
16482
cc63428a
AV
164832016-04-01 Artemiy Volkov <artemiyv@acm.org>
16484
16485 PR gdb/19820
16486 * gdb.base/printcmds.exp: Add artificial arrays tests.
16487
64cdf930
PA
164882016-03-31 Pedro Alves <palves@redhat.com>
16489
16490 PR gdb/19858
16491 * gdb.base/jit-main.c: Include unistd.h.
16492 (ATTACH): Define to 0 if not already defined.
16493 (wait_for_gdb, mypid): New globals.
16494 (WAIT_FOR_GDB): New macro.
16495 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16496 some breakpoint locations.
16497 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16498 New procedures.
16499 (one_jit_test): Add REATTACH parameter, and handle it. Use
16500 continue_to_test_location.
16501 (top level): Test attach, and adjusts calls to one_jit_test.
16502
40dea8cb
PA
165032016-03-31 Pedro Alves <palves@redhat.com>
16504
16505 PR gdb/19858
16506 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16507 BINSUFFIX parameter, and handle it.
16508 (top level): Adjust calls compile_jit_test.
16509
e7ea3ec7
CU
165102016-03-31 Catalin Udma <catalin.udma@freescale.com>
16511
16512 PR python/19743
16513 * gdb.python/py-mi-events-gdb.py: New file.
16514 * gdb.python/py-mi-events.c: New file.
16515 * gdb.python/py-mi-events.exp: New file.
16516
e6359af3
YQ
165172016-03-30 Yao Qi <yao.qi@linaro.org>
16518
16519 * gdb.reverse/until-precsave.exp: Match function name only.
16520 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16521 Move malloc to a condition block.
16522 * gdb.reverse/until-reverse.exp: Match function name only.
16523
a4105d04
MK
165242016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16525
16526 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16527 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16528 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16529 variable for GPR 0 instead of assuming it is register 0.
16530 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16531 * lib/trace-support.exp: Add s390 registers.
16532
bfa6adb9
YQ
165332016-03-29 Yao Qi <yao.qi@linaro.org>
16534
16535 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16536
1e6697ea
YQ
165372016-03-24 Yao Qi <yao.qi@linaro.org>
16538
16539 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16540 test message.
16541
64bcd522
AA
165422016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16543
16544 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16545 maintaining separate logic for constructing the output path.
16546
7868401b
DB
165472016-03-16 Don Breazeal <donb@codesourcery.com>
16548
16549 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16550 Retry fork and waitpid on interrupted system call errors.
16551 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16552 Use with_timeout_factor to increase timeout by factor of 10.
16553
1cafadb4
DB
165542016-03-15 Don Breazeal <donb@codesourcery.com>
16555
16556 * gdb.cp/scope-err.cc: New test program.
16557 * gdb.cp/scope-err.exp: New test script.
16558 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16559 lines and "set breakpoint here" comment.
16560 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16561 Fixed some whitespace and format issues.
16562 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16563 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16564
81516450
DE
165652016-03-15 Doug Evans <dje@google.com>
16566
16567 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16568 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16569 All callers updated. Add tests for enums, mixed flags register.
16570
aa52b601
DE
165712016-03-15 Doug Evans <dje@google.com>
16572
16573 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16574 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16575
fa4ff313
SM
165762016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16577
16578 * gdb.base/default.exp: Add $_as_string to the list of expected
16579 convenience functions.
16580
f2403c39
AB
165812016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16582
16583 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16584
f2f3ccb9
SM
165852016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16586
16587 * gdb.python/py-as-string.exp: New file.
16588 * gdb.python/py-as-string.c: New file.
16589
00dbd492
PA
165902016-03-09 Pedro Alves <palves@redhat.com>
16591
16592 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16593 signal" -> "Thread NN received signal" output change.
16594 * gdb.threads/ia64-sigill.exp: Likewise.
16595 * gdb.threads/linux-dp.exp: Likewise.
16596 * gdb.threads/manythreads.exp: Likewise.
16597 * gdb.threads/pending-step.exp: Likewise.
16598 * gdb.threads/print-threads.exp: Likewise.
16599 * gdb.threads/sigstep-threads.exp: Likewise.
16600 * gdb.threads/staticthreads.exp: Likewise.
16601 * gdb.threads/tls.exp: Likewise.
16602
1e6697ea
YQ
166032016-03-09 Pedro Alves <palves@redhat.com>
16604
16605 * gdb.base/command-line-input.exp: New file.
16606
b04fd3be
MK
166072016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16608
16609 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16610 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16611 * gdb.trace/pending.exp: Accept leading dot before function name.
16612 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16613 * lib/trace-support.exp: Set registers for ppc.
16614
98fa59e9
MK
166152016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16616
16617 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16618 use it for disassembly; accept .main in addition to main in backtrace.
16619
f77198c8
MK
166202016-03-09 Wei-cheng Wang <cole945@gmail.com>
16621 Marcin Kościelnicki <koriakin@0x04.net>
16622
16623 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16624 (gdb_recursion_test_ptr): New global variable.
16625 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16626 gdb_recursion_test.
16627 (gdb_c_test): Ditto.
16628
ba84e0da
MK
166292016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16630
16631 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16632 ordering.
16633
4366d36e
MK
166342016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16635
16636 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16637 (bar): Add bar_start_lbl label.
16638 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16639 of foo/bar for emitting DWARF and tracing.
16640
5eb264df
SDJ
166412016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16642
16643 * analyze-racy-logs.py: Set executable bit.
16644
fb6a751f
SDJ
166452016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16646
16647 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16648 (CHECK_TARGET_TMP): Likewise.
16649 (check-single-racy): New rule.
16650 (check-parallel-racy): Likewise.
16651 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16652 (do-check-parallel-racy): New rule.
16653 (check-racy/%.exp): Likewise.
16654 * README (Racy testcases): New section.
16655 * analyze-racy-logs.py: New file.
16656
bdf7e230
DE
166572016-03-03 Doug Evans <dje@google.com>
16658
16659 * gdb.base/skip.exp: Use with_test_prefix.
16660
4719d415
YQ
166612016-03-03 Yao Qi <yao.qi@linaro.org>
16662
16663 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16664 Invoke step_over_syscall "clone" and break_cond_on_syscall
16665 "clone".
16666 * gdb.base/step-over-clone.c: New file.
16667
ea507862
YQ
166682016-03-03 Yao Qi <yao.qi@linaro.org>
16669
16670 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16671 code format.
16672
8fc8cbda
YQ
166732016-03-03 Yao Qi <yao.qi@linaro.org>
16674
16675 * gdb.base/disp-step-fork.c: Rename to ...
16676 * gdb.base/step-over-fork.c: ... it. New file.
16677 * gdb.base/disp-step-vfork.c: Rename to ...
16678 * gdb.base/step-over-vfork.c: ... it. New file.
16679 * gdb.base/disp-step-syscall.exp: Rename to ...
16680 * gdb.base/step-over-syscall.exp: ... it. New file.
16681 (disp_step_cross_syscall): Rename to ...
16682 (step_over_syscall): ... it.
16683
92fa70b0
YQ
166842016-03-03 Yao Qi <yao.qi@linaro.org>
16685
16686 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16687 If target supports condition evaluation on target, invoke
16688 break_cond_on_syscall for fork and vfork.
16689
e197ad3c
YQ
166902016-03-03 Yao Qi <yao.qi@linaro.org>
16691
16692 * gdb.base/disp-step-syscall.exp: Don't invoke
16693 support_displaced_stepping.
16694 (disp_step_cross_syscall): Test with displaced stepping off and
16695 on if supported.
16696
0b47da9f
YQ
166972016-03-03 Yao Qi <yao.qi@linaro.org>
16698
16699 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16700 proc.
16701 (setup): New proc.
16702 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16703 and setup.
16704
065ab6dc
BH
167052016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16706
16707 * gdb.fortran/vla-history.exp: Remove breakpoint.
16708
07e448ad 167092016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16710
25d49b86
PA
16711 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16712 exceeds timeout.
07e448ad 16713
9ac2d526 167142016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16715
25d49b86
PA
16716 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16717 breakpoint.
9ac2d526 16718
17807369
BH
167192016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16720
16721 * gdb.mi/vla.f90: Nullify pointer after declaration.
16722
86e501af
PA
167232016-03-01 Pedro Alves <palves@redhat.com>
16724
16725 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16726
1e903e32
PA
167272016-03-01 Pedro Alves <palves@redhat.com>
16728
16729 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16730 before anything else.
16731 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16732 _GNU_SOURCE here.
16733 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16734 before anything else.
16735 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16736
6ccb54e2
PA
167372016-03-01 Pedro Alves <palves@redhat.com>
16738
16739 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16740
30ca9da1
YQ
167412016-03-01 Yao Qi <yao.qi@linaro.org>
16742
16743 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16744 prepare_for_testing.
16745
dc856b38
YQ
167462016-03-01 Yao Qi <yao.qi@linaro.org>
16747
16748 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16749
4a932159
AA
167502016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16751
16752 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16753 manually constructing the output path.
16754
f2489477
AA
167552016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16756
16757 * gdb.arch/s390-stackless.S: New.
16758 * gdb.arch/s390-stackless.exp: New.
16759
38899f16
IB
167602016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16761
16762 * gdb.dlang/circular.c: New file.
16763 * gdb.dlang/circular.exp: New file.
16764
9fde51ed
YQ
167652016-02-26 Yao Qi <yao.qi@linaro.org>
16766
16767 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16768 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16769 (testcases): Update.
16770
ce90fefe
YQ
167712016-02-26 Yao Qi <yao.qi@linaro.org>
16772
16773 * gdb.reverse/aarch64.c: Rename to ...
16774 * gdb.reverse/insn-reverse.c: ... it.
16775 * gdb.reverse/aarch64.exp: Rename to ...
16776 * gdb.reverse/insn-reverse.exp: ... it.
16777
3263bceb
YQ
167782016-02-26 Yao Qi <yao.qi@linaro.org>
16779
16780 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16781 (testcase_ftype): New.
16782 (testcases): New array.
16783 (n_testcases): New.
16784 (main): Call each element in testcases.
16785 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16786 (read_testcase): New.
16787 Do the tests in a loop.
16788
6cb59ff1
YQ
167892016-02-25 Yao Qi <yao.qi@linaro.org>
16790
16791 * gdb.base/branches.c: Remove.
16792
ae91f625
MK
167932016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16794
16795 PR gdb/13808
16796 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16797
678b48b7
MK
167982016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16799
16800 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16801
7337a6f2
MK
168022016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16803
16804 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16805 change x86_64 call_insn to 'callq'.
16806
861ca91f
AT
168072016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16808
16809 * gdb.trace/tfile-avx.c: Move to...
16810 * gdb.trace/tracefile-pseudo-reg.c: Here.
16811 * gdb.trace/tfile-avx.exp: Move to...
16812 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16813
bf74e428
GB
168142016-02-24 Gary Benson <gbenson@redhat.com>
16815
16816 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16817 message on attach.
16818
cce0e923
DE
168192016-02-23 Doug Evans <dje@google.com>
16820
16821 * gdb.base/skip.c (test_skip): New function.
16822 (end_test_skip_file_and_function): New function.
16823 (test_skip_file_and_function): New function.
16824 * gdb.base/skip1.c (test_skip): New function.
16825 (skip1_test_skip_file_and_function): New function.
16826 * gdb.base/skip.exp: Add tests for new skip options.
16827 * gdb.base/skip-solib.exp: Update expected output.
16828 * gdb.perf/skip-command.cc: New file.
16829 * gdb.perf/skip-command.exp: New file.
16830 * gdb.perf/skip-command.py: New file.
16831
4000e47e
MK
168322016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16833
16834 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16835 info registers pattern.
16836
24f75ead
IB
168372016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16838
16839 * lib/future.exp: Add D support.
16840 (gdb_find_gdc): New proc.
16841 (gdb_default_target_compile): Add D support.
16842
fbb7bcbe
WW
168432016-02-18 Wei-cheng Wang <cole945@gmail.com>
16844
16845 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16846 user+system time.
16847 (trace_speed_test): Determine the iteration count for a time
16848 between 15..30 seconds.
16849
012b3a21
WT
168502016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16851
16852 * gdb.arch/i386-mpx-sigsegv.c: New file.
16853 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16854 * gdb.arch/i386-mpx-simple_segv.c: New file.
16855 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16856
2d5189bd
YQ
168572016-02-18 Yao Qi <yao.qi@linaro.org>
16858
16859 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16860 Don't call setup_kfail.
16861
40fb20d0
YQ
168622016-02-18 Yao Qi <yao.qi@linaro.org>
16863
16864 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16865 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16866
21b1f8d2
DE
168672016-02-16 Doug Evans <dje@google.com>
16868
16869 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16870 * gdb.base/skip1.c: Ditto.
16871 * gdb.base/skip.exp: Whitespace cleanup.
16872
4041ed77
DB
168732016-02-16 Don Breazeal <donb@codesourcery.com>
16874
16875 PR remote/19496
16876 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16877 Remove kfail for PR remote/19496.
16878
c4ef31bf
SM
168792016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16880
16881 * lib/gdb.exp (standard_temp_file): Return a path specific to
16882 the runtest invocation.
16883
266b65b3
SM
168842016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16885
16886 * gdb.trace/save-trace.exp: Change relative path to be in the
16887 standard output directory.
16888
a7a0a6a9
JK
168892016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16890
16891 * gdb.arch/i386-prologue.c: Add missing prototypes.
16892
c99dbb42
JK
168932016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16894
16895 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16896 * gdb.arch/i386-prologue.exp: Likewise.
16897 * gdb.arch/i386-size.exp: Likewise.
16898
aa480355
SM
168992016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16900
16901 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16902 define object file path.
16903 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16904 file path.
16905 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16906 standard_output_file to define binfile.
16907
ba881f50
JK
169082016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16909
16910 Fix compatibility with recent gfortran-5.3.1.
16911 * gdb.fortran/vla-history.exp (print vla1 allocated)
16912 (print vla2 allocated, print $2, print $3): Remove
16913 (print $4): Rename to ...
16914 (print $2): ... here.
16915 (print $9): Rename to ...
16916 (print $5): ... here.
16917 (print $10): Rename to ...
16918 (print $6): ... here.
16919 * gdb.fortran/vla.f90: Add pvla initialization.
16920
e9fb005c
JK
169212016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16922
16923 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16924 New test.
16925 * gdb.fortran/vla-value-sub.exp: Likewise.
16926
e44e00ff
MK
169272016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16928
16929 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16930
97e94151
SM
169312016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16932
16933 * i386-biarch-core.exp: Define corefile using
16934 standard_output_file.
16935
01113bc1
YQ
169362016-02-12 Yao Qi <yao.qi@linaro.org>
16937
16938 * gdb.arch/arm-single-step-kernel-helper.c: New.
16939 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16940
33b4777c
MM
169412016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16942
16943 * gdb.btrace/tailcall-only.exp: New.
16944 * gdb.btrace/tailcall-only.c: New.
16945 * gdb.btrace/x86_64-tailcall-only.S: New.
16946 * gdb.btrace/i686-tailcall-only.S: New.
16947
acc23c11
PA
169482016-02-11 Pedro Alves <palves@redhat.com>
16949
16950 * README (Parallel testing): Add missing double quotes.
16951
e352bf0a
PA
169522016-02-11 Pedro Alves <palves@redhat.com>
16953
16954 * README (Parallel testing): New section.
16955 (GDB_PARALLEL): Rewrite.
16956 (FORCE_PARALLEL): Document.
16957
9f5fed78
MK
169582016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16959
16960 * gdb.trace/tfile-avx.c: New test.
16961 * gdb.trace/tfile-avx.exp: New test.
16962
9ef9e6a6
KS
169632016-02-09 Keith Seitz <keiths@redhat.com>
16964
16965 PR breakpoints/19546
16966 * gdb.base/infcall-exec.c: New file.
16967 * gdb.base/infcall-exec2.c: New file.
16968 * gdb.base/infcall-exec.exp: New file.
16969
a96e36da
KS
169702016-02-09 Keith Seitz <keiths@redhat.com>
16971
16972 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16973 (toplevel): Call test_bkpt_address.
16974
9f61929f
KS
169752016-02-09 Keith Seitz <keiths@redhat.com>
16976
16977 PR python/19506
16978 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16979 (toplevel): Call test_bkpt_address.
16980
1e94266c
SM
169812016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16982
16983 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16984 to AC_OUTPUT.
16985 * configure: Regenerate.
16986
2a7f3dff
PA
169872016-02-09 Pedro Alves <palves@redhat.com>
16988
16989 PR breakpoints/19548
16990 * gdb.base/execl-update-breakpoints.c (some_function): New
16991 function.
16992 (main): Call it.
16993 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16994 Tighten expected GDB output.
16995
2151ccc5
SM
169962016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16997
16998 * Makefile.in (ALL_SUBDIRS): Remove.
16999 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
17000 (distclean maintainer-clean realclean): Likewise.
17001 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
17002 * configure: Regenerate.
17003 * gdb.ada/Makefile.in: Delete.
17004 * gdb.arch/Makefile.in: Likewise.
17005 * gdb.asm/Makefile.in: Likewise.
17006 * gdb.base/Makefile.in: Likewise.
17007 * gdb.btrace/Makefile.in: Likewise.
17008 * gdb.cell/Makefile.in: Likewise.
17009 * gdb.compile/Makefile.in: Likewise.
17010 * gdb.cp/Makefile.in: Likewise.
17011 * gdb.disasm/Makefile.in: Likewise.
17012 * gdb.dlang/Makefile.in: Likewise.
17013 * gdb.dwarf2/Makefile.in: Likewise.
17014 * gdb.fortran/Makefile.in: Likewise.
17015 * gdb.gdb/Makefile.in: Likewise.
17016 * gdb.go/Makefile.in: Likewise.
17017 * gdb.guile/Makefile.in: Likewise.
17018 * gdb.java/Makefile.in: Likewise.
17019 * gdb.linespec/Makefile.in: Likewise.
17020 * gdb.mi/Makefile.in: Likewise.
17021 * gdb.modula2/Makefile.in: Likewise.
17022 * gdb.multi/Makefile.in: Likewise.
17023 * gdb.objc/Makefile.in: Likewise.
17024 * gdb.opencl/Makefile.in: Likewise.
17025 * gdb.opt/Makefile.in: Likewise.
17026 * gdb.pascal/Makefile.in: Likewise.
17027 * gdb.perf/Makefile.in: Likewise.
17028 * gdb.python/Makefile.in: Likewise.
17029 * gdb.reverse/Makefile.in: Likewise.
17030 * gdb.server/Makefile.in: Likewise.
17031 * gdb.stabs/Makefile.in: Likewise.
17032 * gdb.threads/Makefile.in: Likewise.
17033 * gdb.trace/Makefile.in: Likewise.
17034 * gdb.xml/Makefile.in: Likewise.
17035 * lib/gdb.exp (make_gdb_parallel_path): Add check for
17036 GDB_PARALLEL.
17037 (standard_output_file): Remove check for GDB_PARALLEL, always
17038 return path in outputs/$subdir/$testname.
17039
437277d4
SM
170402016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17041
17042 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
17043 (site.exp): Assign abs_srcdir to tcl's srcdir.
17044
31d913c7
YQ
170452016-02-04 Yao Qi <yao.qi@linaro.org>
17046
17047 * gdb.base/foll-exec-mode.c: Include limits.h.
17048 (main): Add parameters argc and argv. Get directory from
17049 argv[0].
17050 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17051 compilation.
17052 * gdb.base/foll-exec.c: Include limits.h.
17053 (main): Add parameters argc and argv.
17054 Get directory from argv[0].
17055 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17056 Adjust tests on the number of lines as source code changed.
17057 * gdb.base/foll-vfork-exit.c: Include limits.h.
17058 (main): Add one line of statement before vfork.
17059 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17060 (main): Add parameters argc and argv. Get directory from
17061 argv[0].
17062 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17063 (setup_gdb): Set tbreak to skip some source lines.
17064 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17065 (main): Add parameters argc and argv. Get directory from
17066 argv[0].
17067 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17068 compilation.
17069 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17070 (main): Add parameters argc and argv. Get directory from
17071 argv[0].
17072 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17073 compilation.
17074
9482b9fb
DE
170752016-02-01 Doug Evans <dje@google.com>
17076
17077 * gdb.base/skip.exp: Clean up multiple references to same test name.
17078
6b2e4f10
PA
170792016-02-01 Pedro Alves <palves@redhat.com>
17080
ccb6afd6 17081 PR remote/19496
6b2e4f10
PA
17082 * gdb.threads/forking-threads-plus-breakpoint.exp
17083 (displaced_stepping_supported): New global.
17084 (probe_displaced_stepping_support): New procedure.
17085 (do_test): Add 'displaced' parameter, and use it.
17086 (top level): Check for displaced stepping support. Add displaced
17087 stepping on/off testing axis.
17088
37a8db1a
AB
170892016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17090
17091 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17092 pointer. Don't perform further tests on the unassociated pointer
17093 if the first test fails.
17094
5fdf6324
AB
170952016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17096
17097 * gdb.base/max-value-size.c: New file.
17098 * gdb.base/max-value-size.exp: New file.
17099 * gdb.base/huge.exp: Disable max-value-size for this test.
17100
935c6144
IB
171012016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17102
17103 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17104
7fe8399d
YQ
171052016-01-28 Yao Qi <yao.qi@linaro.org>
17106
17107 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17108
a2077e25
PA
171092016-01-25 Pedro Alves <palves@redhat.com>
17110
17111 PR threads/19461
17112 * gdb.base/fork-running-state.c: New file.
17113 * gdb.base/fork-running-state.exp: New file.
17114
1d2736d4
PA
171152016-01-25 Pedro Alves <palves@redhat.com>
17116
17117 PR gdb/19494
17118 * gdb.base/catch-fork-kill.c: New file.
17119 * gdb.base/catch-fork-kill.exp: New file.
17120
f1da4b11
PA
171212016-01-25 Pedro Alves <palves@redhat.com>
17122
17123 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17124 Delete, moved to lib/gdb.exp.
17125 * gdb.threads/forking-threads-plus-breakpoint.exp
17126 (foreach_with_prefix): Likewise.
17127 * gdb.threads/process-dies-while-handling-bp.exp
17128 (foreach_with_prefix): Likewise.
17129 * lib/gdb.exp (foreach_with_prefix): New procedure.
17130
45f38546
MK
171312016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17132
17133 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17134 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17135
dc29a1ce
MK
171362016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17137
17138 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17139 endian targets.
17140
092127d7
JK
171412016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17142 Pedro Alves <palves@redhat.com>
17143
17144 Fix testsuite compatibility with Guile.
17145 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17146 number.
17147
31d765d3
JK
171482016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17149
17150 Fix testsuite compatibility with Guile.
17151 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17152 (thread 1): New test for backtrace through signal handler.
17153
1ac78c04
YQ
171542016-01-22 Yao Qi <yao.qi@linaro.org>
17155
17156 PR testsuite/19491
17157 * gdb.base/multi-forks.c: Include
17158 ../lib/unbuffer_output.c
17159 (main): Call gdb_unbuffer_output.
17160
4f5946a8
DE
171612016-01-21 Doug Evans <dje@google.com>
17162
17163 * lib/ada.exp (gdb_compile_ada): Fix typo.
17164
305e13e6
JB
171652016-01-21 Joel Brobecker <brobecker@adacore.com>
17166
17167 * gdb.base/break-fun-addr.exp: New file.
17168 * gdb.base/break-fun-addr1.c: New file.
17169 * gdb.base/break-fun-addr2.c: New file.
17170
5f5dfff6
SM
171712016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17172
17173 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17174 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17175 enum flag values.
17176
fd356fa2
AA
171772016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17178
17179 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17180 when GDB can not set the vector return value. Add more comments
17181 for clarification.
17182
9df22175
AT
171832016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17184
17185 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17186 command.
17187
41d1845e
SM
171882016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17189
17190 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17191
01ac6840
SM
171922016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17193
17194 * Makefile.in (check-single): Pass --status to runtest.
17195 (check/%.exp): Likewise.
17196
171972016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17198
17199 * Makefile.in (check-parallel): Propagate return code from make
17200 do-check-parallel.
17201
bd0a71fa
MK
172022016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17203
17204 * gdb.trace/ftrace.exp: Fix expected message on continue.
17205 * gdb.trace/pending.exp: Fix expected message on continue.
17206 * gdb.trace/trace-break.exp: Fix expected message on continue.
17207
8bcbad33
SM
172082016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17209
17210 * lib/gdb.exp (gdb_test): Remove unused global references.
17211
f303dbd6
PA
172122016-01-18 Pedro Alves <palves@redhat.com>
17213
17214 * gdb.base/async-shell.exp: Adjust expected output.
17215 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17216 * gdb.base/siginfo-thread.exp: Adjust expected output.
17217 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17218 * gdb.java/jnpe.exp: Adjust expected output.
17219 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17220 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17221 * gdb.threads/leader-exit.exp: Adjust expected output.
17222 * gdb.threads/manythreads.exp: Adjust expected output.
17223 * gdb.threads/pthreads.exp: Adjust expected output.
17224 * gdb.threads/schedlock.exp: Adjust expected output.
17225 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17226 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17227 expected output.
17228 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17229 output.
17230 * gdb.threads/sigthread.exp: Adjust expected output.
17231 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17232
b2789696
YQ
172332016-01-18 Yao Qi <yao.qi@linaro.org>
17234
17235 * gdb.guile/scm-section-script.c: Replace @progbits with
17236 %progbits.
17237 * gdb.python/py-section-script.c: Likewise.
17238
71ef29a8
PA
172392016-01-15 Pedro Alves <palves@redhat.com>
17240
17241 * gdb.multi/tids.exp: Test star wildcard ranges.
17242
3f5b7598
PA
172432016-01-15 Pedro Alves <palves@redhat.com>
17244
17245 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17246 command from "thread apply" invocation.
17247 (thr_apply_info_thr_invalid): Default the expected output to the
17248 input tid list.
17249 (top level): Add tests that use convenience variables. Add tests
17250 for "thread apply" with a valid TID list, but missing the command.
17251
663f6d42
PA
172522016-01-13 Pedro Alves <palves@redhat.com>
17253
17254 * gdb.base/default.exp: Expect $_gthread as well.
17255 * gdb.multi/tids.exp: Test $_gthread.
17256 * gdb.threads/thread-specific.exp: Test $_gthread.
17257
c84f6bbf
PA
172582016-01-13 Pedro Alves <palves@redhat.com>
17259
17260 * gdb.multi/tids.exp: Test "info threads -gid".
17261
22a02324
PA
172622016-01-13 Pedro Alves <palves@redhat.com>
17263
17264 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17265 Breakpoint.thread.
17266 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17267
5d5658a1
PA
172682016-01-07 Pedro Alves <palves@redhat.com>
17269
17270 * gdb.base/break.exp: Adjust to output changes.
17271 * gdb.base/hbreak2.exp: Likewise.
17272 * gdb.base/sepdebug.exp: Likewise.
17273 * gdb.base/watch_thread_num.exp: Likewise.
17274 * gdb.linespec/keywords.exp: Likewise.
17275 * gdb.multi/info-threads.exp: Likewise.
17276 * gdb.threads/thread-find.exp: Likewise.
17277 * gdb.multi/tids.c: New file.
17278 * gdb.multi/tids.exp: New file.
17279
84654457
PA
172802016-01-13 Pedro Alves <palves@redhat.com>
17281
17282 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17283
e3940304
PA
172842016-01-13 Pedro Alves <palves@redhat.com>
17285
17286 * gdb.base/default.exp: Expect $_inferior as well.
17287 * gdb.multi/base.exp: Test $_inferior.
17288
a911d87a
PA
172892016-01-13 Pedro Alves <palves@redhat.com>
17290
17291 PR breakpoints/19388
17292 * gdb.base/catch-signal-siginfo-cond.c: New file.
17293 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17294
82075af2
JS
172952016-01-12 Josh Stone <jistone@redhat.com>
17296 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17297
17298 * gdb.base/catch-syscall.c (do_execve): New variable.
17299 (main): Conditionally trigger an execve.
17300 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17301 (test_catch_syscall_execve): New, check entry/return across execve.
17302 (do_syscall_tests): Call test_catch_syscall_execve.
17303
e46eeedd
PA
173042016-01-12 Pedro Alves <palves@redhat.com>
17305
17306 * gdb.base/random-signal.exp (do_test): New procedure, with body
17307 of testcase moved in.
17308
01d8c27e
JK
173092016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17310 Pedro Alves <palves@redhat.com>
17311
17312 * gdb.base/funcargs.exp (finish from indirectly called function):
17313 Reintroduce the case for 'First'.
17314
9a706302
JK
173152016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17316 Pedro Alves <palves@redhat.com>
17317
17318 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17319 (tcatch_vfork_then_child_follow_exec)
17320 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17321 identification.
17322
c0ecb95f
JK
173232016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17324
17325 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17326 and repeats to unlimited.
17327 * gdb.python/py-value.exp: Likewise.
17328 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17329 and repeats to unlimited.
17330
6cfc1fcb
JK
173312016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17332
17333 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17334 and reordering the functions.
17335 * gdb.multi/hangout.c: Likewise.
17336 * gdb.multi/hello.c: Likewise.
17337
582a1b00
SM
173382016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17339
17340 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17341 absolute.
17342 (SingleStatisticTestResult.report): Use dict.keys instead of
17343 dict.iterkeys.
17344
79bc59cb
PA
173452016-01-06 Pedro Alves <palves@redhat.com>
17346
17347 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17348
43368e1d
MM
173492016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17350
17351 * gdb.btrace/dlopen.exp: New.
17352 * gdb.btrace/dlopen.c: New.
17353 * gdb.btrace/dlopen-dso.c: New.
17354
79fad5b8
SL
173552015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17356
17357 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17358 PATTERN argument is optional.
17359
ab8314b3
JB
173602015-12-24 Joel Brobecker <brobecker@adacore.com>
17361
17362 * lib/ada.exp (target_compile_ada_from_dir): New function.
17363 (gdb_compile_ada): Reimplement avoiding the use of project files.
17364 * gdb.ada/gnat_ada.gpr: Delete.
17365 * gdb.ada/cond_lang.exp: Adjust test to make path before
17366 filename optional.
17367 * gdb.ada/small_reg_param.exp: Likewise.
17368
fe33faff
SM
173692015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17370
17371 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17372
6d265cb4
TP
173732015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17374
17375 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17376 case.
17377
10125099
SM
173782015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17379
17380 * gdb.base/break.exp: Remove dead code.
17381 * gdb.base/sepdebug.exp: Likewise.
17382
3ca22649
SM
173832015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17384
17385 * gdb.asm/asm-source.exp: Remove HP-UX references.
17386 * gdb.base/annota1.exp: Likewise.
17387 * gdb.base/annota3.exp: Likewise.
17388 * gdb.base/attach.exp: Likewise.
17389 * gdb.base/bigcore.exp: Likewise.
17390 * gdb.base/break.exp: Likewise.
17391 * gdb.base/call-ar-st.exp: Likewise.
17392 * gdb.base/callfuncs.exp: Likewise.
17393 * gdb.base/catch-fork-static.exp: Likewise.
17394 * gdb.base/display.exp: Likewise.
17395 * gdb.base/foll-exec-mode.exp: Likewise.
17396 * gdb.base/foll-exec.exp: Likewise.
17397 * gdb.base/foll-fork.exp: Likewise.
17398 * gdb.base/foll-vfork.exp: Likewise.
17399 * gdb.base/funcargs.exp: Likewise.
17400 * gdb.base/hbreak2.exp: Likewise.
17401 * gdb.base/inferior-died.exp: Likewise.
17402 * gdb.base/interrupt.exp: Likewise.
17403 * gdb.base/multi-forks.exp: Likewise.
17404 * gdb.base/nodebug.exp: Likewise.
17405 * gdb.base/sepdebug.exp: Likewise.
17406 * gdb.base/solib1.c: Likewise.
17407 * gdb.base/step-test.exp: Likewise.
17408 * gdb.mi/non-stop.c: Likewise.
17409 * gdb.mi/pthreads.c: Likewise.
17410 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17411 * gdb.threads/pthreads.c: Likewise.
17412 * gdb.threads/staticthreads.exp: Likewise.
17413 * lib/future.exp: Likewise.
17414 * lib/gdb.exp: Likewise.
17415 * gdb.base/so-indr-cl.c: Remove.
17416 * gdb.base/so-indr-cl.exp: Likewise.
17417 * gdb.base/solib.c: Likewise.
17418 * gdb.base/solib.exp: Likewise.
17419 * gdb.base/solib2.c: Likewise.
17420
b6304613
SM
174212015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17422
17423 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17424 * gdb.base/call-ar-st.exp: Likewise.
17425 * gdb.base/callfuncs.exp: Likewise.
17426 * gdb.base/condbreak.exp: Likewise.
17427 * gdb.base/constvars.exp: Likewise.
17428 * gdb.base/hbreak2.exp: Likewise.
17429 * gdb.base/langs.exp: Likewise.
17430 * gdb.base/list.exp: Likewise.
17431 * gdb.base/long_long.exp: Likewise.
17432 * gdb.base/ptype.exp: Likewise.
17433 * gdb.base/scope.exp: Likewise.
17434 * gdb.base/signals.exp: Likewise.
17435 * gdb.base/so-impl-ld.exp: Likewise.
17436 * gdb.base/varargs.exp: Likewise.
17437 * gdb.base/volatile.exp: Likewise.
17438 * gdb.base/whatis.exp: Likewise.
17439 * gdb.cp/cplusfuncs.exp: Likewise.
17440 * gdb.cp/inherit.exp: Likewise.
17441 * gdb.cp/local.exp: Likewise.
17442 * gdb.cp/member-ptr.exp: Likewise.
17443 * gdb.cp/method.exp: Likewise.
17444 * gdb.cp/overload.exp: Likewise.
17445 * gdb.cp/templates.exp: Likewise.
17446 * gdb.stabs/weird.exp: Likewise.
17447 * lib/compiler.c: Likewise.
17448 * lib/compiler.cc: Likewise.
17449 * lib/cp-support.exp: Likewise.
17450 * lib/gdb.exp: Likewise.
17451
bf401b07
SM
174522015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17453
17454 * configure.ac: Remove HP-UX case.
17455 * configure: Regenerate.
17456
aff9c0f8
SM
174572015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17458
17459 * lib/gdb.exp (gdb_compile): Add function doc.
17460
a6904d5a
PA
174612015-12-17 Pedro Alves <palves@redhat.com>
17462
17463 PR threads/19354
17464 * gdb.multi/info-threads.exp: New file.
17465
a22279dd
YQ
174662015-12-15 Yao Qi <yao.qi@linaro.org>
17467
17468 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17469 is aarch64*-*-*.
17470
0588c796
SL
174712015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17472
17473 * gdb.base/history-duplicates.exp: Skip if no readline support.
17474
5d978e17
SL
174752015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17476
17477 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17478
7e763b86
SL
174792015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17480
17481 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17482
87a3a92c
SL
174832015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17484
17485 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17486 ctrl-C if nointerrupts target property is set.
17487 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17488 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17489 * gdb.base/paginate-bg-execution.exp: Likewise.
17490 * gdb.base/paginate-execution-startup.exp: Likewise.
17491 * gdb.base/random-signal.exp: Likewise.
17492 * gdb.base/range-stepping.exp: Likewise.
17493 * gdb.cp/annota2.exp: Likewise.
17494 * gdb.cp/annota3.exp: Likewise.
17495 * gdb.gdb/selftest.exp: Likewise.
17496 * gdb.threads/continue-pending-status.exp: Likewise.
17497 * gdb.threads/leader-exit.exp: Likewise.
17498 * gdb.threads/manythreads.exp: Likewise.
17499 * gdb.threads/pthreads.exp: Likewise.
17500 * gdb.threads/schedlock.exp: Likewise.
17501 * gdb.threads/sigthread.exp: Likewise.
17502
a8f077dc
DB
175032015-12-11 Don Breazeal <donb@codesourcery.com>
17504
17505 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17506 remote.
17507 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17508 * gdb.base/foll-exec.exp (main): Enable for target remote.
17509 * gdb.base/foll-fork.exp (main): Likewise.
17510 * gdb.base/foll-vfork.exp (main): Likewise.
17511 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17512 (proc continue_to_exit_bp_loc): Use clean_restart.
17513 * gdb.base/pie-execl.exp (main): Disable for target remote.
17514 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17515 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17516 * gdb.threads/execl.exp (main): Likewise.
17517 * gdb.threads/fork-child-threads.exp (main): Likewise.
17518 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17519 remote.
17520 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17521 remote.
17522 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17523 pid.tid style ptids, instead of just tid.
17524 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17525 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17526 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17527 ptids, instead of just tid.
17528
3b2464a8
AB
175292015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17530
17531 * gdb.base/list.exp (test_list_forward): Add end of file error
17532 test.
17533 (test_repeat_list_command): Add end of file error test.
17534 (test_list_backwards): Add beginning of file error test.
17535
a0def019
AB
175362015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17537
17538 * gdb.base/list.exp (test_list_invalid_args): New function,
17539 defined, and called.
17540
5c000dff
AB
175412015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17542
17543 * gdb.base/list.exp (test_list): Make test names unique.
17544
f1637ebe
YQ
175452015-12-11 Yao Qi <yao.qi@linaro.org>
17546
17547 * gdb.base/coremaker2.c: Remove.
17548
36d6fc0a
PA
175492015-12-10 Pedro Alves <palves@redhat.com>
17550
17551 * gdb.multi/base.exp: Remove stale "spaces" references.
17552
762f7747
PA
175532015-12-10 Pedro Alves <palves@redhat.com>
17554
17555 * gdb.multi/base.exp: Don't use nowarnings.
17556 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17557 * gdb.multi/hangout.c: Include stdio.h.
17558 * gdb.multi/hello.c: Include stdlib.h.
17559 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17560 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17561 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17562
28d2bfb9
AB
175632015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17564
17565 * gdb.dwarf2/dw2-ranges-base.c: New file.
17566 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17567 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17568 support additional line table, and debug ranges generation.
17569 (Dwarf::ranges): New function, generate .debug_ranges.
17570 (Dwarf::lines): Support generating simple line table programs.
17571 (Dwarf::assemble): Initialise new namespace variables.
17572
5fc2beac
KB
175732015-12-09 Kevin Buettner <kevinb@redhat.com>
17574
17575 * gdb.base/async.exp (proc test_background): Add case for
17576 asynchronous execution not supported.
17577
1c35a88f
LM
175782015-12-09 Luis Machado <lgustavo@codesourcery.com>
17579
17580 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17581 format and change test names to make them unique.
17582
b593e3d9
RK
175832015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17584 Pedro Alves <pedro@redhat.com>
17585
17586 PR gdb/18702
17587 Add checking of floatformats setup on x86_64 hosts.
17588 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17589 (smallval, bigval): New labels/constants.
17590 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17591 float" after loading bigval and smallval.
17592
d72413e6
PMR
175932015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17594
17595 * gdb.ada/fun_overload_menu.exp: New testcase.
17596 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17597
ece66d65
JS
175982015-12-04 Josh Stone <jistone@redhat.com>
17599
17600 * gdb.base/catch-fork-static.exp: New.
17601
41d0efca
YQ
176022015-12-03 Yao Qi <yao.qi@linaro.org>
17603
17604 * gdb.base/sizeof.c: Don't include stdio.h and
17605 ../lib/unbuffer_output.c.
17606 (main): New variable 'size' and 'value'. Remove printf and
17607 gdb_unbuffer_output. Assign return value to size and value.
17608 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17609 at the beginning.
17610 (check_sizeof): Check the result by printing variable 'size'.
17611 (check_valueof): Check the result by printing variable 'value'.
17612
99fd02d9
YQ
176132015-12-01 Yao Qi <yao.qi@linaro.org>
17614
17615 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17616 for aarch64*-*-linux* target.
17617
f2faf941
PA
176182015-11-30 Pedro Alves <palves@redhat.com>
17619
17620 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17621
04bf20c5
PA
176222015-11-30 Pedro Alves <palves@redhat.com>
17623
17624 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17625 Handle non-stop mode vCont replies.
17626
09df4675
PA
176272015-11-30 Pedro Alves <palves@redhat.com>
17628
17629 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17630 prepare_for_testing. Start gdb with "set non-stop on" appended to
17631 GDBFLAGS. Lax expected stop output.
17632
58b584af
YQ
176332015-11-27 Yao Qi <yao.qi@linaro.org>
17634
17635 * gdb.arch/arm-neon.exp: New.
17636 * gdb.arch/arm-neon.c: New.
17637
dfcb77a8
YQ
176382015-11-27 Yao Qi <yao.qi@linaro.org>
17639
17640 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17641
88e8ec1b
YQ
176422015-11-27 Yao Qi <yao.qi@linaro.org>
17643
17644 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17645 frames-invalid annotation.
17646
bfde72c2
YQ
176472015-11-27 Yao Qi <yao.qi@linaro.org>
17648
17649 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17650
f6512a69
SM
176512015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17652
17653 * gdb.threads/names.exp: New file.
17654 * gdb.threads/names.c: New file.
17655 * README: Mention gdb,no_thread_names.
17656
46a3515b
MM
176572015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17658
17659 PR 19297
17660 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17661 support" error.
17662
62147a22
PA
176632015-11-24 Pedro Alves <palves@redhat.com>
17664
17665 PR 17539
17666 * gdb.base/display.exp: Expect displays to be sorted in ascending
17667 order. Use multi_line.
17668 * gdb.base/solib-display.exp: Likewise.
17669
2f341b6e
PA
176702015-11-24 Pedro Alves <palves@redhat.com>
17671
17672 PR 17539
25d49b86
PA
17673 * gdb.base/display.exp: Expect displays to be sorted in ascending
17674 order. Use multi_line.
17675 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17676
7e0aa6aa
PA
176772015-11-24 Pedro Alves <palves@redhat.com>
17678
17679 PR 17539
17680 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17681 threads in ascending order.
17682 * gdb.base/foll-fork.exp: Likewise.
17683 * gdb.base/foll-vfork.exp: Likewise.
17684 * gdb.base/multi-forks.exp: Likewise.
17685 * gdb.mi/mi-nonstop.exp: Likewise.
17686 * gdb.mi/mi-nsintrall.exp: Likewise.
17687 * gdb.multi/base.exp: Likewise.
17688 * gdb.multi/multi-arch.exp: Likewise.
17689 * gdb.python/py-inferior.exp: Likewise.
17690 * gdb.threads/break-while-running.exp: Likewise.
17691 * gdb.threads/execl.exp: Likewise.
17692 * gdb.threads/gcore-thread.exp: Likewise.
17693 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17694 * gdb.threads/kill.exp: Likewise.
17695 * gdb.threads/linux-dp.exp: Likewise.
17696 * gdb.threads/multiple-step-overs.exp: Likewise.
17697 * gdb.threads/next-bp-other-thread.exp: Likewise.
17698 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17699 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17700 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17701 * gdb.threads/thread-find.exp: Likewise.
17702 * gdb.threads/tls.exp: Likewise.
17703 * lib/mi-support.exp (mi_reverse_list): Delete.
17704 (mi_check_thread_states): No longer reverse list.
17705
2cc57ad8
PA
177062015-11-24 Pedro Alves <palves@redhat.com>
17707
17708 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17709 use lowercase.
17710
c93e8391
SM
177112015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17712
17713 * gdb.trace/actions.c: Include trace-common.h.
17714 (main): Add a location for a fast tracepoint.
17715 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17716 the normal tracepoints.
17717 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17718
045ccf91
SM
177192015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17720
17721 * save-trace.exp: Factor out code to these...
17722 (gdb_save_tracepoints): New.
17723 (gdb_load_tracepoints): New.
17724 (do_save_load_test): New.
17725
5506f9f6
KB
177262015-11-23 Kevin Buettner <kevinb@redhat.com>
17727
17728 * gdb.base/asmlabel.exp: New test.
17729 * gdb.base/asmlabel.c: New test case.
17730
16c3b12f
JB
177312015-11-23 Joel Brobecker <brobecker@adacore.com>
17732
17733 * gdb.base/wrong_frame_bt_full-main.c: New file.
17734 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17735 * gdb.base/wrong_frame_bt_full.exp: New file.
17736
155bfbd3
JB
177372015-11-23 Joel Brobecker <brobecker@adacore.com>
17738
17739 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17740
bb097445
JM
177412015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17742
206853a0 17743 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17744 pstate register when comparing registers values in
17745 sparc64-*-linux-gnu targets to avoid spurious differences.
17746
9c88ed8f
JM
177472015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17748
206853a0 17749 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17750
96161e25
SL
177512015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17752
17753 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17754 as type argument to gdb_compile.
17755 * gdb.base/nested-subp2.exp: Likewise.
17756 * gdb.base/nested-subp3.exp: Likewise.
17757
340c2830
DV
177582015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17759
17760 * lib/dwarf.exp (_note): Fix left shift of negative value.
17761 * gdb.trace/trace-condition.exp: Likewise.
17762
c1862d0f
YQ
177632015-11-13 Yao Qi <yao.qi@linaro.org>
17764
17765 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17766 comments about d10v.
17767 (test_scalar_returns): Likewise.
17768 * gdb.base/d10v.ld: Remove.
17769 * gdb.base/overlays.exp: Remove the target triplet checking for
17770 d10v-*-*.
17771 * gdb.base/structs.exp (test_struct_returns): Remove the
17772 comments about d10v.
17773 (test_struct_calls): Likewise.
17774
77ae9c19
YQ
177752015-11-13 Yao Qi <yao.qi@linaro.org>
17776
17777 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17778 * gdb.base/gnu_vector.c: Don't include stdio.h.
17779 (main): Don't print res and call add_some_intvecs.
17780
430e004e
MK
177812015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17782
17783 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17784 macro.
17785 (func5): Removed.
17786 (func4): Use FAST_TRACEPOINT_LABEL.
17787 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17788 macro.
17789 (func): Removed.
17790 (thread_function): Use FAST_TRACEPOINT_LABEL.
17791 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17792 (func): Remove.
17793 (marker): Use FAST_TRACEPOINT_LABEL.
17794 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17795 (pendfunc1): Remove.
17796 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17797 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17798 (foo): Remove.
17799 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17800 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17801 macro.
17802 (func): Remove.
17803 (marker): Use FAST_TRACEPOINT_LABEL.
17804 * gdb.trace/trace-common.h: New header.
17805 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17806 macro.
17807 (func): Remove.
17808 (marker): Use FAST_TRACEPOINT_LABEL.
17809 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17810 (func): Remove.
17811 (thread_function): Use FAST_TRACEPOINT_LABEL.
17812
6e7675a7
MK
178132015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17814
17815 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17816 in front.
17817 * gdb.trace/change-loc.exp: Use global pcreg definition.
17818 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17819 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17820 in front.
17821 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17822 * gdb.trace/pending.exp: Likewise.
17823 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17824 * gdb.trace/trace-break.exp: Likewise.
17825 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17826 in front.
17827 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17828 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17829 in front.
17830 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17831
dddc0e16
JB
178322015-11-09 Joel Brobecker <brobecker@adacore.com>
17833
17834 * gdb.ada/fin_fun_out: New testcase.
17835
c6f0b406
KB
178362015-11-07 Kevin Buettner <kevinb@redhat.com>
17837
17838 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17839 value associated with DW_AT_byte_size.
17840 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17841 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17842 DW_AT_upper_bound.
17843
f01dcfd9
KB
178442015-11-07 Kevin Buettner <kevinb@redhat.com>
17845
17846 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17847 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17848 version.
17849 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17850 gdb.dwarf2/dw2-canonicalize-type.exp,
17851 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17852 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17853 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17854 provided by gdb_target_symbol_prefix_flags_asm.
17855 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17856 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17857 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17858 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17859 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17860 macros where needed). Use this macro for symbols which require
17861 the prefix provided by SYMBOL_PREFIX.
17862
2223449a
KB
178632015-11-05 Kevin Buettner <kevinb@redhat.com>
17864
17865 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17866 New procs.
17867 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17868 representing expressions, of more than one list element.
17869 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17870 to prepend linker symbol prefix to f.
17871 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17872 table_1 and table_2.
17873 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17874 Likewise, for f and g.
17875 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17876 for ptr.
17877 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17878 for main.
17879 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17880 table_1_ptr and table_2_ptr.
17881
6f2f1a3a
JK
178822015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17883 Joel Brobecker <brobecker@adacore.com>
17884
17885 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17886
566c56c9
MK
178872015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17888
17889 * gdb.reverse/s390-mvcle.c: New test.
17890 * gdb.reverse/s390-mvcle.exp: New file.
17891 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17892
d5f0636b
MK
178932015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17894
17895 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17896
7ad8b86c
MK
178972015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17898
17899 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17900 reaching marker2.
17901 * gdb.reverse/getresuid-reverse.exp: Likewise.
17902 * gdb.reverse/pipe-reverse.exp: Likewise.
17903 * gdb.reverse/readv-reverse.exp: Likewise.
17904 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17905 * gdb.reverse/time-reverse.exp: Likewise.
17906 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17907
4081c0f1
YQ
179082015-10-30 Yao Qi <yao.qi@linaro.org>
17909
17910 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17911 (empty_cycle): Remove.
17912 (main): Don't call empty_cycle. Don't use watch_count_done.
17913 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17914 empty_cycle. Rewrite the code counting HW watchpoints.
17915
452b4ba5
MK
179162015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17917
17918 * gdb.reverse/fstatat-reverse.c: New test.
17919 * gdb.reverse/fstatat-reverse.exp: New file.
17920 * gdb.reverse/getresuid-reverse.c: New test.
17921 * gdb.reverse/getresuid-reverse.exp: New file.
17922 * gdb.reverse/pipe-reverse.c: New test.
17923 * gdb.reverse/pipe-reverse.exp: New file.
17924 * gdb.reverse/readv-reverse.c: New test.
17925 * gdb.reverse/readv-reverse.exp: New file.
17926 * gdb.reverse/recvmsg-reverse.c: New test.
17927 * gdb.reverse/recvmsg-reverse.exp: New file.
17928 * gdb.reverse/time-reverse.c: New test.
17929 * gdb.reverse/time-reverse.exp: New file.
17930 * gdb.reverse/waitpid-reverse.c: New test.
17931 * gdb.reverse/waitpid-reverse.exp: New file.
17932
5e2e7507
JK
179332015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17934
17935 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17936
0fde2c53
DE
179372015-10-26 Doug Evans <dje@google.com>
17938
17939 PR symtab/17391
17940 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17941 * gdb.dwarf2/bad-regnum.c: New file.
17942 * gdb.dwarf2/bad-regnum.exp: New file.
17943
1a70ae97
DE
179442015-10-26 Doug Evans <dje@google.com>
17945
17946 PR python/18938
17947 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17948 file.
17949
27dc26ab
JK
179502015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17951
17952 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17953 for a change by "Mention language in compile error message".
17954
bed91f4d
SM
179552015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17956
17957 PR python/18073
17958 * gdb.python/py-type.c (C::a_method): New.
17959 (C::a_const_method): New.
17960 (C::a_static_method): New.
17961 (a_function): New.
17962 * gdb.python/py-type.exp (test_fields): Test getting fields
17963 from function and method.
17964
3f2f83dd
KB
179652015-10-21 Keven Boell <keven.boell@intel.com>
17966
17967 * gdb.fortran/vla-alloc-assoc.exp: New file.
17968 * gdb.fortran/vla-datatypes.exp: New file.
17969 * gdb.fortran/vla-datatypes.f90: New file.
17970 * gdb.fortran/vla-history.exp: New file.
17971 * gdb.fortran/vla-ptype-sub.exp: New file.
17972 * gdb.fortran/vla-ptype.exp: New file.
17973 * gdb.fortran/vla-sizeof.exp: New file.
17974 * gdb.fortran/vla-sub.f90: New file.
17975 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17976 * gdb.fortran/vla-value-sub-finish.exp: New file.
17977 * gdb.fortran/vla-value-sub.exp: New file.
17978 * gdb.fortran/vla-value.exp: New file.
17979 * gdb.fortran/vla-ptr-info.exp: New file.
17980 * gdb.mi/mi-vla-fortran.exp: New file.
17981 * gdb.mi/vla.f90: New file.
17982
27145d50
SL
179832015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17984
17985 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17986 of hardwired timeout value.
17987
5f3ff4f8
JK
179882015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17989 Pedro Alves <palves@redhat.com>
17990
17991 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17992 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17993
bfd09d20
JS
179942015-10-19 Josh Stone <jistone@redhat.com>
17995
17996 * gdb.base/catch-syscall.c: Include <sched.h>.
17997 (unknown_syscall): New variable.
17998 (main): Trigger a vfork and an unknown syscall.
17999 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
18000 (unknown_syscall_number): Likewise.
18001 (check_call_to_syscall): Accept an optional syscall pattern.
18002 (check_return_from_syscall): Likewise.
18003 (check_continue): Likewise.
18004 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
18005 (test_catch_syscall_skipping_return): New test toggling off 'catch
18006 syscall' to step over the syscall return, then toggling back on.
18007 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
18008 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
18009 (do_syscall_tests): Call test_catch_syscall_without_args and
18010 test_catch_syscall_mid_vfork.
18011 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
18012 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
18013
b32b93c6
AS
180142015-10-19 Andrew Stubbs <ams@codesourcery.com>
18015
18016 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
18017 print g_vE): Add new pass patterns.
18018 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
18019 print various symbol names for vptr fields.
18020
9d622bda
AB
180212015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
18022
18023 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
18024 results.
18025
0fd8ac1c
YQ
180262015-10-12 Yao Qi <yao.qi@linaro.org>
18027
18028 * gdb.arch/disp-step-insn-reloc.exp: New test case.
18029
34240514
YQ
180302015-10-12 Yao Qi <yao.qi@linaro.org>
18031
18032 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
18033 is aarch64*-*-linux*.
18034
8240f442
YQ
180352015-10-12 Yao Qi <yao.qi@linaro.org>
18036
18037 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
18038 (can_relocate_bcond_true): ... it.
18039 (can_relocate_bcond_false): New function.
18040 (foo): Likewise.
18041 (can_relocate_bl): Likewise.
18042 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
18043 can_relocate_bl.
18044
2520f728
PMR
180452015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18046
18047 * gdb.base/nested-addr.c: New file.
18048 * gdb.base/nested-addr.exp: New testcase.
18049
abcef95a
MM
180502015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18051
18052 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18053 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18054 its output. Ignore the output of "record goto begin" and instead
18055 check that GDB is replaying.
18056
145e3ddb
PA
180572015-10-09 Pedro Alves <palves@redhat.com>
18058
18059 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18060 (top level): Use it in the run with no args test.
18061
d5d8c4e1
IB
180622015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18063
18064 * gdb.dlang/properties.exp: New file.
18065
06e635ef
SL
180662015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18067
18068 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18069 whether or not address 0x1000 is mapped on the target.
18070
e019fd1d
SM
180712015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18072
18073 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18074 build.
18075
77ba2a67
MM
180762015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18077
18078 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18079 instruction-history test.
18080
c60eb31f
DE
180812015-09-28 Doug Evans <dje@google.com>
18082
18083 * gdb.base/gcore.c (array_func): Add reference to static_array.
18084
9a3c8263
SM
180852015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18086
18087 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18088 source line.
18089
9720e656
SL
180902015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18091
18092 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18093 short or char as base type.
18094
938d3bf2
SL
180952015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18096
18097 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18098 to allow any size enum.
18099
e6c2c623
PMR
181002015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18101
18102 * gdb.ada/array_ptr_renaming.exp: New testcase.
18103 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18104 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18105
06da0f77
PL
181062015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18107
18108 * gdb.trace/ftrace-lock.c: New file.
18109 * gdb.trace/ftrace-lock.exp: New file.
18110
4f51c22a
PL
181112015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18112
18113 * gdb.arch/insn-reloc.c: New file.
18114 * gdb.arch/ftrace-insn-reloc.exp: New file.
18115
7041adf4
PL
181162015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18117
18118 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18119 instruction.
18120 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18121 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18122 * gdb.trace/range-stepping.c: Likewise.
18123 * gdb.trace/trace-break.c: Likewise.
18124 * gdb.trace/trace-mt.c (thread_function): Likewise.
18125 * gdb.trace/ftrace.c (marker): Likewise.
18126 * gdb.trace/trace-condition.c (marker): Likewise.
18127 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18128 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18129 is_aarch64_target.
18130
015d2e7e
DE
181312015-09-18 Doug Evans <xdje42@gmail.com>
18132
18133 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18134 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18135
26b188a2
SL
181362015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18137
18138 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18139 the breakpoint.
18140
79dc332b
SL
181412015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18142
18143 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18144 the pending breakpoint. Remove timeout override for "Run till
18145 MI pending breakpoint on pendfunc3 on thread 2" test.
18146
f57929f2
SL
181472015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18148
18149 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18150 filename pattern.
18151
3f469b17
SL
181522015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18153
18154 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18155 in breakpoint filename pattern.
18156
515b89b3
SL
181572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18158
7800dbe4
SL
18159 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18160
181612015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18162
515b89b3
SL
18163 * gdb.linespec/explicit.exp: Check for readline support for
18164 tab-completion tests. Fix obvious typo.
18165
d2939ba2
MM
181662015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18167
18168 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18169 and replay.
18170
cbb55fa7
MM
181712015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18172
18173 * gdb.btrace/non-stop.c: New.
18174 * gdb.btrace/non-stop.exp: New.
18175
43691ca1
PL
181762015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18177 Yao Qi <yao.qi@linaro.org>
18178
18179 * gdb.trace/trace-condition.c: New file.
18180 * gdb.trace/trace-condition.exp: New file.
18181
d78908cf
WW
181822015-09-16 Wei-cheng Wang <cole945@gmail.com>
18183
18184 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18185 for testing bytecode compilation.
18186
1ed415e2
PA
181872015-09-16 Pedro Alves <palves@redhat.com>
18188 Sandra Loosemore <sandra@codesourcery.com>
18189
18190 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18191 (SECONDS): Redefine.
18192 (main): Call pthread_kill and alarm early.
18193 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18194 support.
18195 (test): If the target can't hardware step and doesn't support
18196 displaced stepping, increase the timeout.
18197
d136eff5
PA
181982015-09-16 Pedro Alves <palves@redhat.com>
18199
18200 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18201 (enable_debug): New procedures.
18202 (test): Use them. Bail out if waiting for threads fails.
18203 (top level): Bail out if a test fails.
18204
991f019c
YQ
182052015-09-16 Yao Qi <yao.qi@linaro.org>
18206
18207 * gdb.asm/asm-source.exp: Set asm-arch for
18208 aarch64*-*-* target.
18209 * gdb.asm/aarch64.inc: New file.
18210
bfca584f
PMR
182112015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18212
18213 * gdb.ada/array_of_variable_length.exp: New testcase.
18214 * gdb.ada/array_of_variable_length/foo.adb: New file.
18215 * gdb.ada/array_of_variable_length/pck.adb: New file.
18216 * gdb.ada/array_of_variable_length/pck.ads: New file.
18217
b326e587
DE
182182015-09-15 Doug Evans <dje@google.com>
18219
18220 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18221 of function static local variable.
18222
5382cfab
PW
182232015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18224
18225 * gdb.threads/tls-so_extern.exp: New test file.
18226 * gdb.threads/tls-so_extern.c: New test file.
18227 * gdb.threads/tls-so_extern_main.c: New test file.
18228
141c5cc4
JK
182292015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18230
18231 * gdb.opt/solib-intra-step-lib.c: New file.
18232 * gdb.opt/solib-intra-step-main.c: New file.
18233 * gdb.opt/solib-intra-step.exp: New file.
18234
d15dcecd
PA
182352015-09-15 Pedro Alves <palves@redhat.com>
18236
18237 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18238 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18239
4c2f2a79
PA
182402015-09-14 Pedro Alves <palves@redhat.com>
18241
18242 * gdb.base/hook-stop-continue.c: Delete.
18243 * gdb.base/hook-stop-continue.exp: Delete.
18244 * gdb.base/hook-stop-frame.c: Delete.
18245 * gdb.base/hook-stop-frame.exp: Delete.
18246 * gdb.base/hook-stop.c: New file.
18247 * gdb.base/hook-stop.exp: New file.
18248
919e6dbe
PMR
182492015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18250
18251 * gdb.ada/access_to_packed_array.exp: New testcase.
18252 * gdb.ada/access_to_packed_array/foo.adb: New file.
18253 * gdb.ada/access_to_packed_array/pack.adb: New file.
18254 * gdb.ada/access_to_packed_array/pack.ads: New file.
18255
157280a4
MM
182562015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18257
18258 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18259 buffer size test.
18260
2fd33e94
DB
182612015-09-11 Don Breazeal <donb@codesourcery.com>
18262
18263 * gdb.base/foll-exec.c: Add copyright header. Fix
18264 formatting issues.
18265 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18266 (do_exec_tests): Use clean_restart in place of zap_session,
18267 and for test initialization. Fix formatting issues. Use
18268 fail in place of perror.
18269 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18270 an expect statement to match an expression with output from
18271 the program under debug.
18272 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18273 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18274 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18275 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18276 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18277
e70b6e8e
DE
182782015-09-09 Doug Evans <dje@google.com>
18279
18280 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18281
7a551a51
DE
182822015-09-09 Doug Evans <dje@google.com>
18283
18284 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18285
4c666f84
DE
182862015-09-09 Doug Evans <dje@google.com>
18287
18288 * gdb.base/savedregs.exp: Fix typo.
18289
243a9253
PA
182902015-09-09 Pedro Alves <palves@redhat.com>
18291
18292 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18293
c0fa8fbd
SL
182942015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18295
18296 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18297 command actually switches threads. Give up on remaining
18298 tests if target fails to stop at breakpoint.
18299
cd7c1778
PMR
183002015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18301
18302 * gdb.ada/funcall_char.exp: New testcase.
18303 * gdb.ada/funcall_char/foo.adb: New file.
18304
dc5c8746
PMR
183052015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18306
18307 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18308 expected outputs. Add two testcases for completing ambiguous
18309 functions.
18310 * gdb.ada/complete/aux_pck.adb: New file.
18311 * gdb.ada/complete/aux_pck.ads: New file.
18312 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18313 Ambiguous_Func functions.
18314 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18315 * gdb.ada/complete/pck.adb: Likewise.
18316
4e83a1e7
UW
183172015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18318
18319 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18320 failures to run the test program under GDB.
18321
8ce74153
LM
183222015-08-26 Luis Machado <lgustavo@codesourcery.com>
18323
18324 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18325 to C.
18326
e9756d52
PP
183272015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18328
18329 * gdb.base/run-after-attach.exp: New test file.
18330 * gdb.base/run-after-attach.c: New test file.
18331
8d37573b
DB
183322015-08-26 Don Breazeal <donb@codesourcery.com>
18333
18334 * gdb.base/foll-exec-2.c: New test program.
18335 * gdb.base/foll-exec-2.exp: New test.
18336
63e43d3a
PMR
183372015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18338
18339 * gdb.base/nested-subp1.exp: New file.
18340 * gdb.base/nested-subp1.c: New file.
18341 * gdb.base/nested-subp2.exp: New file.
18342 * gdb.base/nested-subp2.c: New file.
18343 * gdb.base/nested-subp3.exp: New file.
18344 * gdb.base/nested-subp3.c: New file.
18345
3d40fbb5
PA
183462015-08-24 Pedro Alves <palves@redhat.com>
18347
18348 * gdb.server/connect-without-multi-process.c: New file.
18349 * gdb.server/connect-without-multi-process.exp: New file.
18350
4422ac93
LM
183512015-08-24 Luis Machado <lgustavo@codesourcery.com>
18352
18353 * gdb.opt/inline-markers.c: Make z int.
18354
91dddb86
LM
183552015-08-24 Luis Machado <lgustavo@codesourcery.com>
18356
18357 * gdb.opt/inline-markers.c: Make z volatile.
18358
a48847ee
LM
183592015-08-24 Luis Machado <lgustavo@codesourcery.com>
18360
18361 * gdb.opt/inline-bt.c: New volatile global z.
18362 * gdb.opt/inline-cmds.c: Likewise.
18363 * gdb.opt/inline-locals.c: Likewise.
18364 * gdb.opt/inline-markers.c: New extern global z.
18365 (marker): Use z.
18366 (inline_fn): Likewise.
18367
0ebbc52b
PA
183682015-08-24 Pedro Alves <palves@redhat.com>
18369
18370 * config/m32r-stub.exp: Remove file.
18371 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18372 * gdb.base/call-rt-st.exp: Likewise.
18373 * gdb.base/call-strs.exp: Likewise.
18374 * gdb.base/default.exp: Remove references to h8300-*-hms and
18375 *-*-udi*.
18376 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18377
77c365df
AA
183782015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18379
18380 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18381 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18382 and "return" use KFAIL when GDB can not read/write the vector
18383 return value.
18384
4313b8c0
GB
183852015-08-21 Gary Benson <gbenson@redhat.com>
18386
18387 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18388
0e433b32
PA
183892015-08-20 Pedro Alves <palves@redhat.com>
18390
18391 * gdb.server/solib-list.exp: No longer expect an interior stop in
18392 non-stop mode.
18393
221e1a37
PA
183942015-08-20 Pedro Alves <palves@redhat.com>
18395
18396 * gdb.server/connect-stopped-target.c: New file.
18397 * gdb.server/connect-stopped-target.exp: New file.
18398
40e3ad0e
PA
183992015-08-20 Pedro Alves <palves@redhat.com>
18400
18401 * gdb.dwarf2/comp-unit-lang.exp: New file.
18402 * gdb.dwarf2/comp-unit-lang.c: New file.
18403
af39b327
PMR
184042015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18405
18406 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18407 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18408
7d45c7c3 184092015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 18410
7d45c7c3
KB
18411 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18412 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18413
4d6cceb4
DE
184142015-08-18 Doug Evans <dje@google.com>
18415 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18416
18417 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18418 skip_python_tests. New arg prompt_regexp.
18419 (skip_python_tests): New function.
18420 * lib/mi-support.exp (mi_skip_python_tests): New function.
18421 * gdb.python/py-mi-objfile-gdb.py: New file.
18422 * gdb.python/py-mi-objfile.c: New file.
18423 * gdb.python/py-mi-objfile.exp: New file.
18424
ad89c2aa
KS
184252015-08-17 Keith Seitz <keiths@redhat.com>
18426
18427 * gdb.linespec/explicit.exp: Move strace test from here ...
18428 * gdb.trace/strace.exp: ... to here.
18429
e3ae3c43
PP
184302015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18431
18432 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18433 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18434
604b2636
DE
184352015-08-14 Doug Evans <xdje42@gmail.com>
18436
18437 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18438 inferior before selecting a new file.
18439
6ff0ba5f
DE
184402015-08-14 Doug Evans <xdje42@gmail.com>
18441
18442 * gdb.mi/mi-disassemble.exp: Update.
18443 * gdb.base/disasm-optim.S: New file.
18444 * gdb.base/disasm-optim.c: New file.
18445 * gdb.base/disasm-optim.h: New file.
18446 * gdb.base/disasm-optim.exp: New file.
18447
9ca98f92
KS
184482015-08-14 Keith Seitz <keiths@redhat.com>
18449
18450 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18451 "evaluated-by".
18452
52bbc560
JB
184532015-08-13 Joel Brobecker <brobecker@adacore.com>
18454
18455 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18456
5d8c3ed3
PMR
184572015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18458
18459 * gdb.ada/fun_renaming.exp: New testcase.
18460 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18461 * gdb.ada/fun_renaming/pack.adb: New file.
18462 * gdb.ada/fun_renaming/pack.ads: New file.
18463
ea8812bc
KS
184642015-08-12 Keith Seitz <keiths@redhat.com>
18465
18466 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18467 gdb_get_line_number.
18468
4dafcdeb
JB
184692015-08-12 Joel Brobecker <brobecker@adacore.com>
18470
18471 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18472 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18473 gdb.base/dso2dso.exp: New files.
18474
5ba32597
SDJ
184752015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18476 Pedro Alves <palves@redhat.com>
18477 Keith Seitz <keiths@redhat.com>
18478
18479 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18480 GDBFLAGS.
18481
b6dafabf
PP
184822015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18483
18484 * gdb.base/gdbhistsize-history.exp
18485 (test_histsize_history_setting): Use save_vars.
18486 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18487 Use save_vars.
18488 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18489 * gdb.base/readline.exp: Use save_vars.
18490
abe8e607
PP
184912015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18492
18493 * lib/gdb.exp (save_vars): New proc.
18494
629500fa
KS
184952015-08-11 Keith Seitz <keiths@redhat.com>
18496
18497 * gdb.base/help.exp: Update help_breakpoint_text.
18498
eb8c4e2e
KS
184992015-08-11 Keith Seitz <keiths@redhat.com>
18500
18501 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18502 (at toplevel): Call test_explicit_breakpoints.
18503 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18504 breakpoints.
18505 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18506 breakpoint conditions, "-cond".
18507
87f0e720
KS
185082015-08-11 Keith Seitz <keiths@redhat.com>
18509
18510 * gdb.linespec/3explicit.c: New file.
18511 * gdb.linespec/cpexplicit.cc: New file.
18512 * gdb.linespec/cpexplicit.exp: New file.
18513 * gdb.linespec/explicit.c: New file.
18514 * gdb.linespec/explicit.exp: New file.
18515 * gdb.linespec/explicit2.c: New file.
18516 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18517 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18518 before using in the matching pattern.
18519 Clarify that `prefix' is a regular expression.
18520
f00aae0f
KS
185212015-08-11 Keith Seitz <keiths@redhat.com>
18522
18523 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18524 test.
18525 Add tests for missing ",FMT" and ",".
18526
e27852be
DE
185272015-08-10 Doug Evans <dje@google.com>
18528 Keith Seitz <keiths@redhat.com>
18529
18530 PR gdb/17960
18531 * gdb.base/completion.exp: Add location completer tests.
18532
7f03bd92
PA
185332015-08-07 Pedro Alves <palves@redhat.com>
18534
18535 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18536 tests here.
18537 (top level): Run do_test with and without displaced stepping.
18538
3fc8eb30
PA
185392015-08-07 Pedro Alves <palves@redhat.com>
18540
18541 * gdb.base/valgrind-disp-step.c: New file.
18542 * gdb.base/valgrind-disp-step.exp: New file.
18543
d4569d7b
PA
185442015-08-07 Pedro Alves <palves@redhat.com>
18545
18546 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18547 Delete function.
18548 (main): Add alarm. Run an infinite loop instead of calling
18549 wait_threads.
18550 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18551 comment.
18552 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18553 Delete function.
18554 (main): Add alarm. Run an infinite loop instead of calling
18555 wait_threads.
18556 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18557 comment.
18558
e1316e60
PA
185592015-08-07 Pedro Alves <palves@redhat.com>
18560
18561 * gdb.base/checkpoint-ns.exp: New file.
18562 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18563 standard_testfile.
18564
da8c46d2
MM
185652015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18566
18567 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18568 * gdb.btrace/instruction_history.exp: Update.
18569 * gdb.btrace/tsx.exp: New.
18570 * gdb.btrace/tsx.c: New.
18571
de1c2c52
PA
185722015-08-06 Pedro Alves <palves@redhat.com>
18573
18574 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18575 increase timeout.
18576 * gdb.reverse/until-precsave.exp: Bump timeouts.
18577
782e0bf4
PA
185782015-08-06 Pedro Alves <palves@redhat.com>
18579
18580 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18581
83e97ed0
PA
185822015-08-06 Pedro Alves <palves@redhat.com>
18583
18584 PR gdb/18749
18585 * gdb.threads/process-dies-while-handling-bp.c: New file.
18586 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18587
863d01bd
PA
185882015-08-06 Pedro Alves <palves@redhat.com>
18589
18590 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18591 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18592
0a39bb32
PA
185932015-08-05 Pedro Alves <palves@redhat.com>
18594
18595 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18596 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18597
ee2d2b10
SL
185982015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18599
18600 * gdb.base/bp-permanent.exp: Report test as unsupported if
18601 the target cannot stop at the permanent breakpoint.
18602
4e1bdb00
DE
186032015-08-03 Doug Evans <dje@google.com>
18604
18605 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18606 10000.
18607
3d338901
DE
186082015-08-03 Doug Evans <dje@google.com>
18609
18610 * Makefile.in (workers/%.worker, build-perf): New rule.
18611 (GDB_PERFTEST_MODE): New variable.
18612 (check-perf): Use it.
18613 (clean): Clean up gdb.perf parallel build subdirs.
18614 * lib/build-piece.exp: New file.
18615 * lib/gdb.exp (make_gdb_parallel_path): New function
18616 (standard_output_file, standard_temp_file): Call it.
18617 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18618 of $GDB_PARALLEL.
18619 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18620
af061d3e
DE
186212015-08-03 Doug Evans <dje@google.com>
18622
8e1afc81 18623 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18624 (LOG_FILE_NAME): New global.
18625 (TextReporter.__init__): Initialize self.txt_sum.
18626 (TextReporter.report): Add support for multiple data-points.
18627 Move report to perftest.sum, put raw data in perftest.log.
18628 (TextReporter.start): Open sum and log files.
18629 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18630 * gdb.perf/lib/perftest/testresult.py
18631 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18632
2c8c5d37
PA
186332015-07-31 Pedro Alves <palves@redhat.com>
18634
18635 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18636 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18637 kill_wait_spawned_process instead of explicit "kill -9".
18638 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18639 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18640 kill_wait_spawned_process.
18641 * gdb.base/attach-twice.exp: Likewise.
18642 * gdb.base/attach.exp: Likewise.
18643 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18644 gdb_test_multiple.
18645 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18646 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18647 kill_wait_spawned_process.
18648 * gdb.base/valgrind-infcall.exp: Likewise.
18649 * gdb.multi/multi-attach.exp: Likewise.
18650 * gdb.python/py-prompt.exp: Likewise.
18651 * gdb.python/py-sync-interp.exp: Likewise.
18652 * gdb.server/ext-attach.exp: Likewise.
18653 * gdb.threads/attach-into-signal.exp (corefunc): Use
18654 spawn_wait_for_attach, spawn_id_get_pid and
18655 kill_wait_spawned_process.
18656 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18657 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18658 spawn_id_get_pid and kill_wait_spawned_process.
18659 * gdb.threads/attach-stopped.exp (corefunc): Use
18660 spawn_wait_for_attach, spawn_id_get_pid and
18661 kill_wait_spawned_process.
18662 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18663 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18664 kill_wait_spawned_process instead of explicit "kill -9".
18665 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18666 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18667 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18668 processes. Don't map cygwin/windows pids here. Now returns a
18669 spawn id list.
18670
032a0fca
SL
186712015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18672
18673 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18674 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18675 correct patch.
18676
61a934ca
SL
186772015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18678
18679 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18680
4bc4d428
SL
186812015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18682
18683 Reapply:
18684 2014-05-21 Mark Wielaard <mjw@redhat.com>
18685
18686 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18687
998d452a
PA
186882015-07-30 Pedro Alves <palves@redhat.com>
18689
18690 * linux-low.c (handle_extended_wait): Set the child's last
18691 reported status to TARGET_WAITKIND_STOPPED.
18692
69dde7dc
PA
186932015-07-30 Pedro Alves <palves@redhat.com>
18694
18695 PR threads/18600
18696 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18697 only shows inferior 1.
18698
4dd63d48
PA
186992015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18700 Pedro Alves <palves@redhat.com>
18701
18702 PR threads/18600
18703 * gdb.threads/fork-plus-threads.c: New file.
18704 * gdb.threads/fork-plus-threads.exp: New file.
18705
d618e4c5
PP
187062015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18707
18708 * gdb.base/batch-preserve-term-settings.exp
18709 (test_terminal_settings_preserved_after_cli_exit): Use
18710 send_quit_command.
18711
1eef6428
PA
187122015-07-29 Pedro Alves <palves@redhat.com>
18713 Don Breazeal <donb@codesourcery.com>
18714
18715 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18716 output from both inferior_spawn_id and gdb_spawn_id.
18717
7da5b897
SDJ
187182015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18719
18720 * gdb.threads/attach-into-signal.exp (corefunc): Use
18721 with_test_prefix on nested loops, uniquefying the test messages.
18722
dac804df
SDJ
187232015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18724
18725 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18726 commit.
18727
06265e53
PP
187282015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18729
18730 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18731 New proc.
18732 (test_terminal_settings_preserved_after_sigterm): New test.
18733
18206ca3
PP
187342015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18735
18736 * gdb.base/batch-preserve-term-settings.exp
18737 (test_terminal_settings_preserved_after_cli_exit): New test.
18738
90074d11
PP
187392015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18740
18741 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18742 manipulation of saved_gdbflags.
18743 (test_terminal_settings_preserved): Remove global declaration of
18744 the unused variable pagination_prompt. Remove manipulation of
18745 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18746 GDBFLAGS.
18747
eb1a7902
PA
187482015-07-29 Pedro Alves <palves@redhat.com>
18749
18750 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18751
8b75dd3b
PA
187522015-07-29 Pedro Alves <palves@redhat.com>
18753
18754 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18755 at the top.
18756
dedad4e3
PA
187572015-07-29 Pedro Alves <palves@redhat.com>
18758
18759 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18760 (main): Call gdb_unbuffer_output.
18761 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18762 (main): Call gdb_unbuffer_output.
18763 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18764 (main): Call gdb_unbuffer_output.
18765 * gdb.base/call-strs.exp: Adjust to step over the
18766 gdb_unbuffer_output call.
18767 * gdb.base/catch-gdb-caused-signals.c: Include
18768 "../lib/unbuffer_output.c".
18769 (main): Call gdb_unbuffer_output.
18770 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18771 (main): Call gdb_unbuffer_output.
18772 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18773 (main): Call gdb_unbuffer_output.
18774 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18775 (main): Call gdb_unbuffer_output.
18776 * gdb.base/shlib-call.exp: Adjust to step over the
18777 gdb_unbuffer_output call.
18778 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18779 (main): Call gdb_unbuffer_output.
18780 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18781 (main): Call gdb_unbuffer_output.
18782 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18783 (main): Rename to ...
18784 (test): ... this.
18785 (main): Reimplement.
18786 * gdb.base/varargs.exp: Run to test instead of to main.
18787 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18788 (main): Call gdb_unbuffer_output.
18789
58789a91
PA
187902015-07-29 Pedro Alves <palves@redhat.com>
18791
18792 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18793 factore out from mi_continue_dprintf. For call-style dprintfs,
18794 expect dprintf output out of $inferior_spawn_id.
18795 (mi_continue_dprintf): Use mi_expect_dprintf.
18796 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18797 (main): Call gdb_unbuffer_output.
18798
e8376742
PA
187992015-07-29 Pedro Alves <palves@redhat.com>
18800
18801 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18802 (default_mi_gdb_start): Set inferior_spawn_id instead of
18803 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18804 gdb_spawn_id.
18805 (mi_gdb_test): Always expect inferior output from both
18806 $inferior_spawn_id and $gdb_spawn_id.
18807
08280010
PA
188082015-07-29 Pedro Alves <palves@redhat.com>
18809
18810 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18811 send_inferior and $inferior_spawn_id.
18812
4d30e432
PA
188132015-07-29 Pedro Alves <palves@redhat.com>
18814
18815 * gdb.gdb/complaints.exp (test_initial_complaints)
18816 (test_serial_complaints, test_short_complaints): Use
18817 gdb_test_stdio.
18818 (test_empty_complaint): Handle $inferior_spawn_id !=
18819 $gdb_spawn_id.
18820
0d30a335
PA
188212015-07-29 Pedro Alves <palves@redhat.com>
18822
18823 * gdb.base/varargs.exp: Use gdb_test_stdio.
18824
39413b29
PA
188252015-07-29 Pedro Alves <palves@redhat.com>
18826
18827 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18828
7cb000a9
PA
188292015-07-29 Pedro Alves <palves@redhat.com>
18830
18831 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18832
d7b8ac82
PA
188332015-07-29 Pedro Alves <palves@redhat.com>
18834
18835 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18836 parameter into two new parameters, "inf_result" and "gdb_result".
18837 Expect inferior output and gdb output from $inferior_spawn_id and
18838 $gdb_spawn_id, respectively. Adjust all callers.
18839
789c3a0c
PA
188402015-07-29 Pedro Alves <palves@redhat.com>
18841
18842 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18843 of gdb_test_sequence.
18844
77e760c3
PA
188452015-07-29 Pedro Alves <palves@redhat.com>
18846
18847 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18848 (saw_spurious_output): Expect inferior output from
18849 $inferior_spawn_id. Use gdb_test_stdio.
18850
8396d2cd
PA
188512015-07-29 Pedro Alves <palves@redhat.com>
18852
18853 * gdb.base/dprintf.exp: Use standard_testfile. Change
18854 prepare_for_testing call.
18855 (srcfile): Don't set.
18856 (restart): New procedure.
18857 (test_dprintf): New procecure, use to continue over dprintfs.
18858 (test_call, test_agent): New procedures, tests moved here.
18859 Restart gdb and recreate dprintfs. Adjust expected output.
18860
2051d61f
PA
188612015-07-29 Pedro Alves <palves@redhat.com>
18862
18863 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18864
452397af
PA
188652015-07-29 Pedro Alves <palves@redhat.com>
18866
18867 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18868
8aed9555
PA
188692015-07-29 Pedro Alves <palves@redhat.com>
18870
18871 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18872 gdb_test_stdio.
18873
188a61b4
PA
188742015-07-29 Pedro Alves <palves@redhat.com>
18875
18876 * lib/gdb.exp (gdb_test_stdio): New procedure.
18877
12264a45
PA
188782015-07-29 Pedro Alves <palves@redhat.com>
18879
18880 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18881
23ffc893
PA
188822015-07-29 Pedro Alves <palves@redhat.com>
18883
18884 * gdb.base/call-signal-resume.exp: Remove check for
18885 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18886 * gdb.base/unwindonsignal.exp: Likewise.
18887 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18888 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18889
65566918
PA
188902015-07-29 Pedro Alves <palves@redhat.com>
18891
18892 * gdb.base/siginfo-addr.c (pass): New function.
18893 (handler): Call it iff si_addr is correct.
18894 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18895 Set a breakpoint at "pass" and continue to it.
18896
d60a9221
SDJ
188972015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18898
18899 * gdb.python/py-objfile.exp: Make some tests have unique names.
18900 * gdb.python/py-pp-registration.exp: Likewise.
18901
bde40b8f
PA
189022015-07-28 Pedro Alves <palves@redhat.com>
18903
18904 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18905
13e1dec8
SM
189062015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18907
18908 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18909
da33c9a7
SM
189102015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18911
18912 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18913
077836f7
PP
189142015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18915
18916 * gdb.base/gdb-sigterm-2.exp: New test.
18917
b8cc7b2e
DE
189182015-07-25 Doug Evans <xdje42@gmail.com>
18919
18920 Revert:
18921 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18922 (workers/%.worker, build-perf): New rule.
18923 (GDB_PERFTEST_MODE): New variable.
18924 (check-perf): Use it.
18925 (clean): Clean up gdb.perf parallel build subdirs.
18926 * lib/build-piece.exp: New file.
18927 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18928 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18929 name.
18930 (standard_temp_file): Ditto.
18931 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18932 of $GDB_PARALLEL.
18933
c8bd4544
DE
189342015-07-24 Doug Evans <dje@google.com>
18935
18936 * gdb.perf/lib/perftest/utils.py: New file.
18937 * gdb.perf/gm-hello.cc: New file.
18938 * gdb.perf/gm-pervasive-typedef.cc: New file.
18939 * gdb.perf/gm-pervasive-typedef.h: New file.
18940 * gdb.perf/gm-std.cc: New file.
18941 * gdb.perf/gm-std.h: New file.
18942 * gdb.perf/gm-use-cerr.cc: New file.
18943 * gdb.perf/gm-utils.h: New file.
18944 * gdb.perf/gmonster-null-lookup.py: New file.
18945 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18946 * gdb.perf/gmonster-print-cerr.py: New file.
18947 * gdb.perf/gmonster-ptype-string.py: New file.
18948 * gdb.perf/gmonster-runto-main.py: New file.
18949 * gdb.perf/gmonster-select-file.py: New file.
18950 * gdb.perf/gmonster1-null-lookup.exp: New file.
18951 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18952 * gdb.perf/gmonster1-print-cerr.exp: New file.
18953 * gdb.perf/gmonster1-ptype-string.exp: New file.
18954 * gdb.perf/gmonster1-runto-main.exp: New file.
18955 * gdb.perf/gmonster1-select-file.exp: New file.
18956 * gdb.perf/gmonster1.cc: New file.
18957 * gdb.perf/gmonster1.exp: New file.
18958 * gdb.perf/gmonster2-null-lookup.exp: New file.
18959 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18960 * gdb.perf/gmonster2-print-cerr.exp: New file.
18961 * gdb.perf/gmonster2-ptype-string.exp: New file.
18962 * gdb.perf/gmonster2-runto-main.exp: New file.
18963 * gdb.perf/gmonster2-select-file.exp: New file.
18964 * gdb.perf/gmonster2.cc: New file.
18965 * gdb.perf/gmonster2.exp: New file.
18966
6eab34f3
DE
189672015-07-24 Doug Evans <dje@google.com>
18968
18969 * gdb.perf/README: New file.
18970 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18971 * lib/gen-perf-test.exp: New file.
18972
63738bfd
DE
189732015-07-24 Doug Evans <dje@google.com>
18974
18975 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18976 (PerfTest::startup): New function.
18977 (PerfTest::run): Return result of calling body.
18978 (PerfTest::assemble): Rewrite.
18979 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18980 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18981 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18982 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18983 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18984
7b606f95
DE
189852015-07-24 Doug Evans <dje@google.com>
18986
18987 * lib/gdb.exp (clean_restart): Make executable optional.
18988
a97b16b8
DE
189892015-07-24 Doug Evans <dje@google.com>
18990
18991 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18992 compiler_info references.
18993 * gdb.cp/temargs.exp: Ditto.
18994 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18995 (get_compiler_info): Early exit if already computed. Set compiler_info
18996 to "unknown" if there was a problem.
18997 (test_compiler_info): Add function comment. Call get_compiler_info.
18998
35baa57f
DE
189992015-07-24 Doug Evans <dje@google.com>
19000
19001 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19002 (workers/%.worker, build-perf): New rule.
19003 (GDB_PERFTEST_MODE): New variable.
19004 (check-perf): Use it.
19005 (clean): Clean up gdb.perf parallel build subdirs.
19006 * lib/build-piece.exp: New file.
19007 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19008 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19009 name.
19010 (standard_temp_file): Ditto.
19011 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19012 of $GDB_PARALLEL.
19013
6ebea266
DE
190142015-07-24 Doug Evans <dje@google.com>
19015
19016 * lib/future.exp (gdb_default_target_compile): New option
19017 "early_flags".
19018 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
19019 --as-needed.
19020
1e76a7e9
SDJ
190212015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
19022
19023 * gdb.base/catch-syscall.exp: Call gdb_exit before
19024 gdb_skip_xml_test.
19025
5068630a
PA
190262015-07-24 Pedro Alves <palves@redhat.com>
19027
19028 * gdb.python/py-events.exp: Accept output between the stop event
19029 and the prompt.
19030 * gdb.python/py-evsignal.exp: Likewise.
19031 * gdb.python/py-evthreads.exp: Likewise.
19032
77598427
PA
190332015-07-24 Pedro Alves <palves@redhat.com>
19034
19035 PR gdb/18717
19036 * gdb.threads/non-ldr-exit.c: New file.
19037 * gdb.threads/non-ldr-exit.exp: New file.
19038
11e6c98f
YQ
190392015-07-24 Yao Qi <yao.qi@linaro.org>
19040
19041 * gdb.server/ext-wrapper.exp: Test --wrapper option when
19042 restarting process.
19043
51aee833
YQ
190442015-07-24 Yao Qi <yao.qi@linaro.org>
19045
19046 * gdb.server/ext-restart.exp: New file.
19047
8cfe207c
YQ
190482015-07-24 Yao Qi <yao.qi@linaro.org>
19049
19050 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19051 argument options.
19052 * gdb.server/ext-wrapper.exp: New file.
19053
cc12ce38
DE
190542015-07-23 Doug Evans <dje@google.com>
19055
19056 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19057 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19058
d0d84780
PMR
190592015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19060
19061 * gdb.ada/var_arr_typedef.exp: New testcase.
19062 * gdb.ada/var_arr_typedef/pack.adb: New file.
19063 * gdb.ada/var_arr_typedef/pack.ads: New file.
19064 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19065
8b558f79
JB
190662015-07-20 Joel Brobecker <brobecker@adacore.com>
19067
19068 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19069
775a3298
JK
190702015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19071
19072 * gdb.arch/i386-biarch-core.exp: Replace istarget
19073 by "complete set gnutarget". Remove expectation for the "core-file"
19074 command.
19075
db1ff28b
JK
190762015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19077
19078 Revert the previous commit:
19079 Tests for validate symbol file using build-id.
19080
0a94970d
JK
190812015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19082
19083 Tests for validate symbol file using build-id.
19084 * gdb.base/solib-mismatch-lib.c: New file.
19085 * gdb.base/solib-mismatch-libmod.c: New file.
19086 * gdb.base/solib-mismatch.c: New file.
19087 * gdb.base/solib-mismatch.exp: New file.
19088
03346981
SL
190892015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19090
19091 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19092 nios2-*-linux*.
19093 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19094 * gdb.base/siginfo.exp: Likewise.
19095 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19096
42422cc7
PL
190972015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19098
19099 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19100 Move it to ...
19101 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19102 ... here.
19103 * gdb.trace/range-stepping.exp: Check that the target supports
19104 range stepping.
19105
cfa68bae
JK
191062015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19107
19108 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19109
8ffdba26
PA
191102015-07-14 Pedro Alves <palves@redhat.com>
19111
19112 * gdb.base/killed-outside.exp: New file.
19113 * gdb.base/killed-outside.c: New file.
19114
218a5a11
JK
191152015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19116
19117 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19118 (n at main): New.
19119 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19120
e03ed3c6
AA
191212015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19122
19123 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19124 infcall tests instead of setting up for KFAIL.
19125
485668e5
MM
191262015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19127
19128 * gdb.btrace/record_goto-step.exp: New.
19129
08464196
JK
191302015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19131
19132 PR compile/18484
19133 * gdb.compile/compile.c (struct struct_type): Add volatile to
19134 selffield's type.
19135 * gdb.compile/compile.exp
19136 (compile code struct_object.selffield = &struct_object): Skip further
19137 struct_object tests if this one xfails.
19138
bcf5c1d9
RC
191392015-07-08 Robert O'Callahan <robert@ocallahan.org>
19140
19141 PR exp/18617
19142 * gdb.trace/ax.exp: Add test.
19143
4931af25
YQ
191442015-07-07 Yao Qi <yao.qi@linaro.org>
19145
19146 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19147 instead of istarget "aarch64*-*-*".
19148 * gdb.arch/aarch64-fp.exp: Likewise.
19149 * gdb.base/float.exp: Likewise.
19150 * gdb.reverse/aarch64.exp: Likewise.
19151 * lib/gdb.exp (is_aarch64_target): New proc.
19152
9fcf688e
YQ
191532015-07-07 Yao Qi <yao.qi@linaro.org>
19154
19155 * lib/gdb.exp (is_aarch32_target): New proc.
19156 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19157 instead of "istarget "arm*-*-*"".
19158 * gdb.arch/arm-disp-step.exp: Likewise.
19159 * gdb.arch/thumb-bx-pc.exp: Likewise.
19160 * gdb.arch/thumb-prologue.exp: Likewise.
19161 * gdb.arch/thumb-singlestep.exp: Likewise.
19162 * gdb.base/disp-step-syscall.exp: Likewise.
19163 * gdb.base/float.exp: Likewise.
19164
fbd8d50d
YQ
191652015-07-07 Yao Qi <yao.qi@linaro.org>
19166
19167 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19168 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19169
71be1fdc
YQ
191702015-07-07 Yao Qi <yao.qi@linaro.org>
19171
19172 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19173 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19174 if it exists.
19175 * gdb.multi/multi-arch.exp: Likewise.
19176
3e221d36
SM
191772015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19178
19179 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19180 print.
19181
d441430b
YQ
191822015-07-07 Yao Qi <yao.qi@linaro.org>
19183
19184 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19185
06f810bd
MG
191862015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19187
19188 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19189 '[' and ']' characters.
19190
5e61e7c0
IB
191912015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19192
19193 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19194
28bf096c
PA
191952015-06-29 Pedro Alves <palves@redhat.com>
19196
19197 PR threads/18127
19198 * gdb.threads/hand-call-new-thread.c: New file.
19199 * gdb.threads/hand-call-new-thread.c: New file.
19200
ee93cd5e
KS
192012015-06-26 Keith Seitz <keiths@redhat.com>
19202 Doug Evans <dje@google.com>
19203
19204 PR 16253
19205 * gdb.cp/var-tag-2.cc: New file.
19206 * gdb.cp/var-tag-3.cc: New file.
19207 * gdb.cp/var-tag-4.cc: New file.
19208 * gdb.cp/var-tag.cc: New file.
19209 * gdb.cp/var-tag.exp: New file.
19210
fc637f04
PP
192112015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19212
19213 * gdb.base/history-duplicates.exp: New test.
19214
2e52ae68
PP
192152015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19216
19217 * gdb.base/completion.exp: Test the completion of the "focus"
19218 command.
19219
6e22494e
JK
192202015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19221
19222 * gdb.arch/amd64-prologue-skip.S: New file.
19223 * gdb.arch/amd64-prologue-skip.exp: New file.
19224
bf7b9cd9
SM
192252015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19226
19227 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19228 is_address_zero_readable check.
19229
201e8dfd
PB
192302015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19231
19232 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19233 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19234
5cd867b4
YQ
192352015-06-24 Yao Qi <yao.qi@linaro.org>
19236
19237 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19238 linux targets.
19239
4d7be007
YQ
192402015-06-24 Yao Qi <yao.qi@linaro.org>
19241
19242 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19243 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19244 * gdb.base/siginfo-thread.exp: Likewise.
19245
07fcd301
YQ
192462015-06-22 Yao Qi <yao.qi@linaro.org>
19247
19248 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19249
52042a00
YQ
192502015-06-22 Yao Qi <yao.qi@linaro.org>
19251
19252 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19253 aarch64*-*-*.
19254 (skip_hw_watchpoint_tests): Likewise.
19255
74bd41ce
PP
192562015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19257
19258 * gdb.base/gdbinit-history.exp: Test the interaction between
19259 setting GDBHISTSIZE and setting the history size via .gdbinit.
19260
bc460514
PP
192612015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19262
19263 PR gdb/16999
19264 * gdb.base/gdbhistsize-history.exp: New test.
19265
b58c513b
PP
192662015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19267
19268 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19269 with GDBHISTSIZE.
19270 * gdb.base/readline.exp: Likewise.
19271
92046791
YQ
192722015-06-17 Yao Qi <yao.qi@linaro.org>
19273
19274 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19275 line.
19276
2093d2d3
PP
192772015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19278
19279 * gdb.base/gdbinit-history.exp: Add test case to check that
19280 an unlimited history file does not get truncated on exit.
19281
e6c693af
AA
192822015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19283
19284 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19285 (VECTOR): New macro. Use it...
19286 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19287 ...for these typedefs.
19288 (int8, char1, int1, double1): New typedefs.
19289 (struct just_int2, struct two_int2): New structures.
19290 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19291 (add_structvecs, add_singlevecs): New functions.
19292 (main): Call add_some_intvecs twice.
19293 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19294 the compile and exit upon failure. Try compiling for the "native"
19295 architecture. Test inferior function calls with vector arguments
19296 and vector return value handling with "finish" and "return".
19297
c74f7d1c
JT
192982015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19299
19300 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19301 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19302 PE file.
19303 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19304
98aa42ee
AT
193052015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19306
19307 PR breakpoints/16465
19308 * gdb.mi/mi-dprintf-pending.c: New file.
19309 * gdb.mi/mi-dprintf-pending.exp: New test.
19310 * gdb.mi/mi-dprintf-pendshr.c: New file.
19311
7d73c23c 193122015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 19313 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
19314
19315 * gdb.arch/i386-mpx-map.c: New file.
19316 * gdb.arch/i386-mpx-map.exp: New File.
19317
193182015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19319
19320 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19321 * gdb.arch/i386-mpx.exp: Indentation fixed.
19322
193232015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19324
19325 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19326 function and improved indentation.
19327 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19328 gdb_test_multiple. Added additional tests to skip the test.
19329
193302015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19331
19332 * gdb.arch/i386-avx512.c: Change path in include file.
19333 * gdb.arch/i386-avx512.exp: Change include dir path
19334 compilation flag.
19335 * gdb.arch/i386-mpx.c: Change path in include file.
19336 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19337 flag.
19338
d5eba19a
JK
193392015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19340
19341 * gdb.compile/compile-print.exp (compile print *vararray@3)
19342 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19343
7f361056
JK
193442015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19345
19346 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19347 (do not keep jit in memory): ... this.
19348 (expect 5): Change it to ...
19349 (expect no 5): ... this.
19350
3b462ec2
SM
193512015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19352
19353 PR gdb/15564
19354 * gdb.mi/mi-detach.exp: New file.
19355
e0619de6
JK
193562015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19357
19358 PR symtab/18392
19359 * gdb.arch/amd64-tailcall-self.S: New file.
19360 * gdb.arch/amd64-tailcall-self.c: New file.
19361 * gdb.arch/amd64-tailcall-self.exp: New file.
19362
e970cb34
DB
193632015-05-28 Don Breazeal <donb@codesourcery.com>
19364
19365 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19366 tests for remote targets by checking is_target_gdbserver.
19367
b2e2f908
DE
193682015-05-27 Doug Evans <dje@google.com>
19369
19370 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19371 * gdb.dwarf2/opaque-type-lookup.c: New file.
19372 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19373
82c7be31
DE
193742015-05-26 Doug Evans <dje@google.com>
19375
19376 * gdb.cp/iostream.cc: New file.
19377 * gdb.cp/iostream.exp: New file.
19378
b4f54984
DE
193792015-05-26 Doug Evans <dje@google.com>
19380
19381 * gdb.dwarf2/dw2-op-call.exp: Update.
19382 * gdb.dwarf2/dw4-sig-types.exp: Update.
19383 * gdb.dwarf2/implptr.exp: Update.
19384 * gdb.mi/mi-cmd-param-changed.exp: Update.
19385
4ea6efe9
DE
193862015-05-26 Doug Evans <dje@google.com>
19387
19388 * gdb.python/py-lazy-string.c: New file.
19389 * gdb.python/py-lazy-string.exp: New file.
19390 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19391 (main): Update. Add estring3.
19392 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19393 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19394
f6bb7db3
YQ
193952015-05-26 Omair Javaid <omair.javaid@linaro.org>
19396 Yao Qi <yao.qi@linaro.org>
19397
19398 * gdb.reverse/aarch64.c: New.
19399 * gdb.reverse/aarch64.exp: New.
19400
a81bfbd0
OJ
194012015-05-26 Omair Javaid <omair.javaid@linaro.org>
19402
25d49b86
PA
19403 * lib/gdb.exp (supports_process_record): Return true for
19404 aarch64*-linux*.
a81bfbd0
OJ
19405 (supports_reverse): Likewise.
19406
158bf1b4
PP
194072015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19408
19409 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19410 Use with_test_prefix.
19411
a0145030
AB
194122015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19413
19414 * gdb.base/completion.exp: Add test for completion of layout
19415 names.
19416
ebe3b578
AB
194172015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19418
19419 * lib/gdb.exp (skip_tui_tests): New proc.
19420 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19421
84204ed7
PA
194222015-05-19 Pedro Alves <palves@redhat.com>
19423
19424 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19425 Save the whole env array instead of just HOME. Unset HISTSIZE in
19426 the environment while testing. Restore whole environment
19427 afterwards.
19428
37442ce1
DE
194292015-05-16 Doug Evans <xdje42@gmail.com>
19430
19431 * gdb.guile/scm-ports.c: New file.
19432 * gdb.guile/scm-ports.exp: Add memory port tests.
19433
36de76f9
JK
194342015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19435
19436 * gdb.compile/compile-print.c: New file.
19437 * gdb.compile/compile-print.exp: New file.
19438
3a9558c4
JK
194392015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19440
19441 * gdb.compile/compile-ops.exp: Cast param to void.
19442 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19443 (compile code struct_object.selffield = &struct_object): Add xfail.
19444
aa715135
JG
194452015-05-15 Joel Brobecker <brobecker@adacore.com>
19446
19447 * gdb.ada/arr_enum_with_gap: New testcase.
19448
931e5bc3
JG
194492015-05-15 Joel Brobecker <brobecker@adacore.com>
19450
19451 * gdb.ada/byte_packed_arr: New testcase.
19452
9cd4d857
JB
194532015-05-15 Joel Brobecker <brobecker@adacore.com>
19454
19455 * gdb.ada/pckd_neg: New testcase.
19456
ebfd00d2
PP
194572015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19458
19459 PR gdb/17820
19460 * gdb.base/gdbinit-history.exp: New test.
19461 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19462 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19463
4c082a81
SC
194642015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19465
19466 * gdb.python/py-xmethods.cc: Enhance test case.
19467 * gdb.python/py-xmethods.exp: New tests.
19468 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19469 function.
19470 (B_indexoper): Likewise.
19471 (global_dm_list) : Add new xmethod worker functions.
19472
f7797074
SDJ
194732015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19474
19475 * gdb.base/coredump-filter.exp: Correctly unset
19476 "coredump_var_addr" array.
19477
a4674e4e
PA
194782015-05-08 Pedro Alves <palves@redhat.com>
19479
19480 * gdb.server/non-existing-program.exp: Unset spawn_id.
19481
df2eb078
SC
194822015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19483
19484 PR python/18291
19485 * gdb.python/py-xmethods.exp: Add tests.
19486
422349a3
YQ
194872015-05-08 Yao Qi <yao.qi@linaro.org>
19488
19489 PR gdb/18208
19490 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19491 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19492 function set_coredump_filter, and remove remote_exec call.
19493 Remove argument ipid. Callers update.
19494 (top level): Don't get inferior's PID.
19495
63fc80ce
AA
194962015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19497
19498 * gdb.base/watch_thread_num.exp: Skip test on targets without
19499 access watchpoints.
19500
80ad801e
PA
195012015-05-06 Pedro Alves <palves@redhat.com>
19502
19503 PR server/18081
19504 * gdb.server/non-existing-program.exp: New file.
19505
0fa7fe50
JB
195062015-05-05 Joel Brobecker <brobecker@adacore.com>
19507
19508 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19509
3ea89b92
PMR
195102015-05-05 Joel Brobecker <brobecker@adacore.com>
19511
19512 * gdb.ada/out_of_line_in_inlined: New testcase.
19513
87b8eff0
JB
195142015-05-05 Joel Brobecker <brobecker@adacore.com>
19515
19516 * gdb.ada/var_rec_arr: New testcase.
19517
5fccc635
YQ
195182015-04-30 Yao Qi <yao.qi@linaro.org>
19519
19520 * gdb.base/break-idempotent.exp: If
19521 skip_hw_watchpoint_multi_tests returns true, skip the tests
19522 on "rwatch" and "awatch".
19523
42d38f42
YQ
195242015-04-30 Yao Qi <yao.qi@linaro.org>
19525
19526 * gdb.base/relativedebug.exp: Invoke gdb command
19527 "info sharedlibrary", and if libc.so doesn't have debug info,
19528 skip the test.
19529
2ce1cdbf
DE
195302015-04-29 Doug Evans <dje@google.com>
19531
19532 * gdb.python/py-xmethods.exp: Add ptype tests.
19533 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19534 get_result_type method.
19535
f24a38c5
LM
195362015-04-29 Luis Machado <lgustavo@codesourcery.com>
19537
19538 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19539 the target does not support hardware watchpoints.
19540
ecbf2b3c
LM
195412015-04-29 Luis Machado <lgustavo@codesourcery.com>
19542
19543 * gdb.base/break-always.exp: Abort testing if writing to memory
19544 causes an error.
19545
34f5f757
DE
195462015-04-28 Doug Evans <dje@google.com>
19547
19548 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19549 * gdb.python/py-pp-registration.exp: ... here. New file.
19550 * gdb.python/py-pp-registration.c: New file.
19551 * gdb.python/py-pp-registration.py: New file.
19552
69b4374a
DE
195532015-04-28 Doug Evans <dje@google.com>
19554
19555 * gdb.python/py-bad-printers.c: New file.
19556 * gdb.python/py-bad-printers.py: New file.
19557 * gdb.python/py-bad-printers.exp: New file.
19558
59fb7612
SS
195592015-04-28 Sasha Smundak <asmundak@google.com>
19560
19561 * gdb.python/py-type.exp: New test.
19562
2631b16a
AW
195632015-04-28 Andy Wingo <wingo@igalia.com>
19564
19565 * gdb.python/py-parameter.exp:
19566 * gdb.guile/scm-parameter.exp: Escape the path that we are
19567 matching against, as it might contain characters that are special
19568 to regular expressions.
19569
460efde1
JB
195702015-04-27 Joel Brobecker <brobecker@adacore.com>
19571
19572 * gdb.ada/rec_comp: New testcase.
19573
2d369d8e
SDJ
195742015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19575
19576 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19577 before using it.
19578
cf75d6c3
AB
195792015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19580
19581 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19582 new tests for verilog output.
19583
8dbe7ca5
YQ
195842015-04-24 Yao Qi <yao.qi@linaro.org>
19585
19586 * boards/remote-gdbserver-on-localhost.exp: New file.
19587
4ef9fb2f
PA
195882015-04-23 Pedro Alves <palves@redhat.com>
19589
19590 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19591 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19592 "end of file", remove $inferior_spawn_id from the indirect list.
19593
0a803169
PA
195942015-04-23 Pedro Alves <palves@redhat.com>
19595
19596 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19597
749ef8f8
PA
195982015-04-23 Pedro Alves <palves@redhat.com>
19599
19600 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19601 on $any_spawn_id instead of only on $gdb_spawn_id.
19602
8aae4344
PM
196032015-04-21 Pierre Muller <muller@sourceware.org>
19604
19605 PR pascal/17815
19606 * lib/pascal.exp (gpc_compile): Add new option "class".
19607 (fpc_compile): Likewise.
19608 * gdb.pascal/case-insensitive-symbols.pas: New file.
19609 * gdb.pascal/case-insensitive-symbols.exp: New file.
19610
1586c8fb
GB
196112015-04-20 Gary Benson <gbenson@redhat.com>
19612
19613 * gdb.base/attach.exp: Fix three extended remote failures.
19614
1b6e6f5c
GB
196152015-04-17 Gary Benson <gbenson@redhat.com>
19616
19617 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19618 the main executable over the remote protocol.
19619
e797481d
PA
196202015-04-16 Pedro Alves <palves@redhat.com>
19621
19622 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19623 a new gdbserver if gdbserver_reconnect_p is set.
19624
1ca99c42
PA
196252015-04-16 Pedro Alves <palves@redhat.com>
19626
19627 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19628 is set, don't exit gdbserver.
19629
af9fd6f8
AA
196302015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19631
19632 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19633 appropriate .insn, such that an older assembler can be used.
19634 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19635 the z/Architecture instruction set on 31-bit targets as well.
19636
04ff1e61
AA
196372015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19638
19639 * gdb.go/handcall.exp: Remove all logic related to the first
19640 breakpoint and rely on go_runto_main instead.
19641 * gdb.go/strings.exp: Likewise.
19642 * gdb.go/unsafe.exp: Likewise.
19643 * gdb.go/hello.exp: Likewise. Also rename the remaining
19644 breakpoint marker to "breakpoint 1".
19645 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19646 * gdb.go/strings.go: Likewise.
19647 * gdb.go/unsafe.go: Likewise.
19648 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19649 "set breakpoint 2 here" and rename the remaining breakpoint marker
19650 to "breakpoint 1".
19651
40d2f8d6
SM
196522015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19653
19654 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19655 if itertools.imap is not present.
19656 * gdb.python/py-objfile.exp: Add parentheses.
19657 * gdb.python/py-type.exp: Same.
19658 * gdb.python/py-unwind-maint.py: Same.
19659
8cbc97c6
YQ
196602015-04-15 Yao Qi <yao.qi@linaro.org>
19661
19662 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19663 of ":$ptr_size" and set its form explicitly.
19664
45fd756c
YQ
196652015-04-15 Pedro Alves <palves@redhat.com>
19666 Yao Qi <yao.qi@linaro.org>
19667
19668 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19669 timeout by factor of 4.
19670 (test_regular_watch): Likewise.
19671 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19672 * gdb.reverse/sigall-reverse.exp: Likewise.
19673 * gdb.reverse/until-precsave.exp: Likewise.
19674 * lib/gdb.exp (with_timeout_factor): New proc.
19675 (gdb_expect): Move some code to ...
19676 (get_largest_timeout): ... here. New procedure.
19677
9e811bc3
LM
196782015-04-14 Luis Machado <lgustavo@codesourcery.com>
19679
19680 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19681
0ff6fcb2
LM
196822015-04-13 Luis Machado <lgustavo@codesourcery.com>
19683
19684 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19685 to write to the .text section.
19686
7578d5f7
LM
196872015-04-13 Luis Machado <lgustavo@codesourcery.com>
19688
19689 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19690 Handle the case of targets that do not provide PID information.
19691
2efe15c4
YQ
196922015-04-13 Yao Qi <yao.qi@linaro.org>
19693
19694 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19695 and use expect instead of gdb_expect.
19696
8cd8f2f8
SDJ
196972015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19698
19699 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19700 "coredump_var_addr" to avoid naming conflict with other testcases.
19701
9ee41772
PA
197022015-04-10 Pedro Alves <palves@redhat.com>
19703
19704 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19705 gdb_test_sequence and gdb_assert.
19706
07473109
PA
197072015-04-10 Pedro Alves <palves@redhat.com>
19708
19709 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19710 test messages that don't include the breakpoint address.
19711
de3db44c
YQ
197122015-04-10 Yao Qi <yao.qi@linaro.org>
19713
19714 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19715 false for some offset and width combinations which aren't
19716 supported by linux kernel.
19717
c79d856c
PA
197182015-04-10 Pedro Alves <palves@redhat.com>
19719
19720 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19721 procedure, factored out from ...
19722 (top level): ... here. Add "set displaced-stepping" testing axis.
19723 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19724 parameter "displaced". Use it.
19725 (top level): Use foreach and add "set displaced-stepping" testing
19726 axis.
19727
ebc90b50
PA
197282015-04-10 Pedro Alves <palves@redhat.com>
19729
19730 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19731 Remove comment.
19732 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19733 both the address of the instruction that triggers the watchpoint
19734 and the address of the instruction immediately after, and use
19735 those addresses for the test. Fix comment.
19736
8f572e5c
PA
197372015-04-10 Pedro Alves <palves@redhat.com>
19738
19739 * gdb.base/sigstep.exp (breakpoint_to_handler)
19740 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19741 Test "backtrace" in handler.
19742 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19743 (top level): Add new "displaced" test axis to
19744 breakpoint_to_handler, breakpoint_to_handler_entry and
19745 breakpoint_over_handler.
19746
8d707a12
PA
197472015-04-10 Pedro Alves <palves@redhat.com>
19748
19749 PR gdb/18216
19750 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19751
ef713951
YQ
197522015-04-10 Yao Qi <yao.qi@linaro.org>
19753
19754 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19755 (test_add_rn_pc): New function.
19756 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19757 (top level): Invoke test_add_rn_pc.
19758
906d60cf
PA
197592015-04-10 Pedro Alves <palves@redhat.com>
19760
19761 PR gdb/13858
19762 * gdb.base/step-over-no-symbols.exp: New file.
19763
f2983cc3
AW
197642015-04-09 Andy Wingo <wingo@igalia.com>
19765
19766 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19767 after the Python tests.
19768
6d62641c
SDJ
197692015-04-08 Keith Seitz <keiths@redhat.com>
19770
19771 PR python/16699
19772 * gdb.python/py-completion.exp: New tests for completion.
19773 * gdb.python/py-completion.py (CompleteLimit1): New class.
19774 (CompleteLimit2): Likewise.
19775 (CompleteLimit3): Likewise.
19776 (CompleteLimit4): Likewise.
19777 (CompleteLimit5): Likewise.
19778 (CompleteLimit6): Likewise.
19779 (CompleteLimit7): Likewise.
19780
f3770638
PA
197812015-04-08 Pedro Alves <palves@redhat.com>
19782
19783 PR gdb/18214
19784 PR gdb/18216
19785 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19786 function.
19787 (main): Install it as SIGUSR1 handler.
19788 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19789 parameter. Always use "setup" as prefix. Toggle "set
19790 displaced-stepping" off/on depending on global. Don't switch to
19791 thread 1 here.
19792 (top level): Add displaced stepping "off/on" test axis. Update
19793 "setup" calls. Wrap each subtest with with_test_prefix. Test
19794 continuing with a queued signal in each thread.
19795
4496bed7
PA
197962015-04-08 Pedro Alves <palves@redhat.com>
19797
19798 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19799 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19800 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19801 Return early if running to main fails.
19802 * gdb.trace/while-stepping.exp: Likewise.
19803
b97fde92
PA
198042015-04-07 Pedro Alves <palves@redhat.com>
19805
19806 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19807 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19808 interact with inferior program.
19809
f71c18e7
PA
198102015-04-07 Pedro Alves <palves@redhat.com>
19811
19812 * lib/gdb.exp (inferior_spawn_id): New global.
19813 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19814 spawn id after processing the user code.
19815 (default_gdb_start): Set inferior_spawn_id.
19816 (send_inferior): New procedure.
19817 * lib/gdbserver-support.exp (gdbserver_start): Set
19818 inferior_spawn_id.
19819 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19820
6423214f
PA
198212015-04-07 Pedro Alves <palves@redhat.com>
19822
19823 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19824 * lib/gdbserver-support.exp (gdbserver_start): Make
19825 $server_spawn_id global.
19826 (gdbserver_start): Don't wait for gdbserver's spawn id with
19827 expect_background.
19828 (close_gdbserver): New procedure.
19829 (gdb_exit): Rename the default version and reimplement.
19830
71c0ee8c
PA
198312015-04-07 Pedro Alves <palves@redhat.com>
19832
72f4393d 19833 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19834 append the substituted item, not the original item.
19835
203bc29b
PA
198362015-04-07 Pedro Alves <palves@redhat.com>
19837
19838 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19839 gdb_expect.
19840
508a3ddf
PA
198412015-04-07 Pedro Alves <palves@redhat.com>
19842
19843 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19844 output appearing once only.
19845
9f6dbe2b
PA
198462015-04-07 Pedro Alves <palves@redhat.com>
19847
19848 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19849 that doesn't expect anything. Return early if running to main
19850 fails.
19851
337532fa
YQ
198522015-04-07 Yao Qi <yao.qi@linaro.org>
19853
19854 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19855 (child_function): Call alarm.
19856 (main): Move call to alarm into the loop.
19857 * gdb.threads/non-stop-fair-events.exp: Build program with
19858 -DTIMEOUT=$timeout.
19859
01b622d4
DE
198602015-04-06 Doug Evans <xdje42@gmail.com>
19861
19862 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19863 Fix dest parameter to board_info.
19864 (fpc_compile): Ditto.
19865 (gdb_compile_pascal): Rename dest arg to destfile.
19866
961f4160
PMR
198672015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19868
19869 * gdb.ada/funcall_ref.exp: New file.
19870 * gdb.ada/funcall_ref/foo.adb: New file.
19871
cafda597
YQ
198722015-04-02 Yao Qi <yao.qi@linaro.org>
19873
19874 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19875 is remote.
19876
fed040c6
GB
198772015-04-02 Gary Benson <gbenson@redhat.com>
19878
19879 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19880
d11916aa
SS
198812015-04-01 Sasha Smundak <asmundak@google.com>
19882
19883 * gdb.python/py-unwind-maint.c: New file.
19884 * gdb.python/py-unwind-maint.exp: New test.
19885 * gdb.python/py-unwind-maint.py: New file.
19886 * gdb.python/py-unwind.c: New file.
19887 * gdb.python/py-unwind.exp: New test.
19888 * gdb.python/py-unwind.py: New test.
19889
a1471180
PA
198902015-04-01 Pedro Alves <palves@redhat.com>
19891
19892 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19893 to fail instead of non-existent $test.
19894
0bbeccb1
PA
198952015-04-01 Pedro Alves <palves@redhat.com>
19896
19897 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19898 GDBFLAGS if not empty.
19899
3c724c8c
PMR
199002015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19901
19902 * gdb.ada/complete.exp: Remove "multi_line".
19903 * gdb.ada/info_exc.exp: Remove "multi_line".
19904 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19905 * gdb.ada/ptype_field.exp: Remove "multi_line".
19906 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19907 * gdb.ada/tagged.exp: Remove "multi_line".
19908 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19909 [multi_line ...]
19910 * gdb.btrace/delta.exp: Likewise.
19911 * gdb.btrace/exception.exp: Likewise.
19912 * gdb.btrace/function_call_history.exp: Likewise.
19913 * gdb.btrace/instruction_history.exp: Likewise.
19914 * gdb.btrace/nohist.exp: Likewise.
19915 * gdb.btrace/record_goto.exp: Likewise.
19916 * gdb.btrace/segv.exp: Likewise.
19917 * gdb.btrace/stepi.exp: Likewise.
19918 * gdb.btrace/tailcall.exp: Likewise.
19919 * gdb.btrace/unknown_functions.exp: Likewise.
19920 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19921 * lib/gdb.exp: Add the "multi_line" helper.
19922
4eec2deb
PA
199232015-04-01 Pedro Alves <palves@redhat.com>
19924
19925 * gdb.threads/tid-reuse.c: New file.
19926 * gdb.threads/tid-reuse.exp: New file.
19927
df8411da
SDJ
199282015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19929
19930 PR corefiles/16092
19931 * gdb.base/coredump-filter.c: New file.
19932 * gdb.base/coredump-filter.exp: Likewise.
19933
6ef37366
PM
199342015-03-27 Petr Machata <pmachata@redhat.com>
19935
19936 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19937 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19938 (Dwarf::assemble): Initialize them.
19939 (Dwarf::lines): New function.
19940
7ec911b0
JT
199412015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19942
19943 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19944 SYMBOL_PREFIX for x86_64-*-cygwin.
19945
ff908ebf
AW
199462015-03-26 Andy Wingo <wingo@igalia.com>
19947
19948 PR symtab/18148
19949 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19950 const_value but not a location.
19951 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19952 location defined in non-main CUs are visible.
19953
6d5f0679
YQ
199542015-03-26 Yao Qi <yao.qi@linaro.org>
19955
19956 PR testsuite/18139
19957 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19958 Add a line number entry for the same line.
19959 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19960 Add a line number entry for the same line.
19961
2898689b
YQ
199622015-03-26 Yao Qi <yao.qi@linaro.org>
19963
19964 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19965 .int 0.
19966 (func): Likewise. Add .Lfunc_1 label.
19967 Use .Lfunc_1 label.
19968 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19969 .int 0.
19970 (func): Likewise.
19971 Use .Lfunc_1 label.
19972
85180498
YQ
199732015-03-26 Yao Qi <yao.qi@linaro.org>
19974
19975 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19976 Call gdb_compile instead to compile each .s files without debug
19977 information.
19978
8aa08a8d
YQ
199792015-03-26 Yao Qi <yao.qi@linaro.org>
19980
19981 * gdb.base/savedregs.exp (process_saved_regs): Make
19982 "Saved registers:" optional in the pattern.
19983
66849923
MM
199842015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19985
19986 * gdb.btrace/next.exp: Merged into step.exp.
19987 * gdb.btrace/finish.exp: Merged into step.exp.
19988 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19989 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19990 "record goto" and checking the exact replay position.
19991 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19992 check for "Recording format" in "info record" output.
19993 * gdb.btrace/record_goto.exp: Choose test file based on target.
19994 * gdb.btrace/x86-record_goto.S: Renamed into ...
19995 * gdb.btrace/x86_64-record_goto.S: ... this.
19996 * gdb.btrace/i686-record_goto.S: New.
19997 * gdb.btrace/x86-tailcall.S: Renamed into ...
19998 * gdb.btrace/x86_64-tailcall.S: ... this.
19999 * gdb.btrace/i686-tailcall.S: New.
20000 * gdb.btrace/x86-tailcall.c: Renamed into ...
20001 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
20002 separate statements. Update test.
20003 * gdb.btrace/delta.exp: Use record_goto.c as test file.
20004 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
20005 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
20006 * gdb.btrace/tailcall.exp: Choose test file based on target.
20007 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
20008
11cc1b74
MM
200092015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20010
20011 * gdb.btrace/exception.exp: Increase BTS buffer size.
20012
a25d8bf9
PA
200132015-03-24 Pedro Alves <palves@redhat.com>
20014
20015 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
20016
856e7dd6
PA
200172015-03-24 Pedro Alves <palves@redhat.com>
20018
20019 * gdb.threads/schedlock.exp (test_step): No longer expect that
20020 "set scheduler-locking step" with "next" over a function call runs
20021 threads unlocked.
20022
ad235a41
AT
200232015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20024
20025 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
20026
15630549
AT
200272015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20028
20029 PR breakpoints/16466
20030 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
20031 * gdb.mi/mi-pending.c (thread_func): New function.
20032 (int main): Add threading support required.
20033 * gdb.mi/mi-pending.exp: Add tests for this issue.
20034 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
20035 (pendfunc2): Remove stdio dependency.
20036 * gdb.mi/mi-pendshr2.c: New file.
20037
693dca06
KS
200382015-03-23 Keith Seitz <keiths@redhat.com>
20039
20040 * gdb.linespec/keywords.c: New file.
20041 * gdb.linespec/keywords.exp: New file.
20042
7e993ebf
KS
200432015-03-23 Keith Seitz <keiths@redhat.com>
20044
20045 PR gdb/18021
20046 * gdb.dwarf2/staticvirtual.exp: New test.
20047
bc23328c
JK
200482015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20049
20050 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20051 * README: Remove HP-UX and gdb.hp.
20052 (configuration):
20053 * configure: Regenerate.
20054 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20055 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20056 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20057 gdb.hp/gdb.defects/Makefile.
20058 * gdb.hp/Makefile.in: File deleted.
20059 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20060 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20061 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20062 * gdb.hp/gdb.aCC/run.c: File deleted.
20063 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20064 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20065 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20066 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20067 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20068 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20069 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20070 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20071 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20072 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20073 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20074 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20075 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20076 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20077 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20078 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20079 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20080 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20081 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20082 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20083 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20084 * gdb.hp/gdb.compat/average.c: File deleted.
20085 * gdb.hp/gdb.compat/sum.c: File deleted.
20086 * gdb.hp/gdb.compat/xdb.c: File deleted.
20087 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20088 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20089 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20090 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20091 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20092 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20093 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20094 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20095 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20096 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20097 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20098 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20099 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20100 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20101 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20102 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20103 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20104 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20105 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20106 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20107 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20108 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20109 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20110 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20111 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20112 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20113 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20114 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20115 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20116 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20117 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20118 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20119 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20120 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20121 * gdb.hp/tools/odump: File deleted.
20122
8bf3b159
PA
201232015-03-19 Pedro Alves <palves@redhat.com>
20124
20125 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20126 (saw_thread_3): New globals.
20127 (top level): Increment them when an event for the corresponding
20128 thread is seen.
20129 (no thread starvation): New test.
20130
eb54c8bf
PA
201312015-03-19 Pedro Alves <palves@redhat.com>
20132
20133 * gdb.threads/continue-pending-status.c: New file.
20134 * gdb.threads/continue-pending-status.exp: New file.
20135
32d2e5d6
PA
201362015-03-18 Pedro Alves <palves@redhat.com>
20137
20138 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20139 Use gdb_is_target_remote instead of is_remote. Use
20140 gdb_test_multiple instead of gdb_expect. Exit early if
20141 gdb_test_multiple hits its internal matches. Tighten stepi tests
20142 expected output. Fail on exit with any signal, instead of just
20143 SIGILL.
20144
f68f11b7
YQ
201452015-03-18 Yao Qi <yao.qi@linaro.org>
20146
20147 PR tdep/18107
20148 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20149 variable.
20150 * gdb.base/catch-syscall.exp: Don't skip it on
20151 aarch64*-*-linux* target. Remove elements in all_syscalls.
20152 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20153 target.
20154 (setup_all_syscalls): New proc.
20155
ca5fd19b
YQ
201562015-03-16 Yao Qi <yao.qi@linaro.org>
20157
20158 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20159 (top level): Skip tests if valid_addr_p returns false for
20160 $cmd1 or $cmd2.
20161
85642ba0
AW
201622015-03-11 Andy Wingo <wingo@igalia.com>
20163
20164 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20165
e03f9645
YQ
201662015-03-11 Yao Qi <yao.qi@linaro.org>
20167
20168 * gdb.base/catch-syscall.exp: Fix typo in comments.
20169
5d0962b2
YQ
201702015-03-11 Yao Qi <yao.qi@linaro.org>
20171
20172 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20173
b2df3cef
PA
201742015-03-09 Pedro Alves <palves@redhat.com>
20175
20176 * dg-extract-results.py: Delete.
20177
ef878e53
PA
201782015-03-09 Pedro Alves <palves@redhat.com>
20179
20180 Merge dg-extract-results.sh from GCC upstream (r218843).
20181
20182 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20183 * dg-extract-results.sh: Use --text with grep to avoid issues with
20184 binary files. Fall back to cat -v, if that doesn't work.
20185
9494d219
PA
201862015-03-05 Pedro Alves <palves@redhat.com>
20187
20188 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20189
a8d9763a
SM
201902015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20191
20192 * lib/mi-support.exp (mi_expect_interrupt): Accept
20193 alternative event for when in all-stop mode.
20194
be9957b8
PA
201952015-03-04 Pedro Alves <palves@redhat.com>
20196
20197 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20198
d57be0f4 201992015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
20200
20201 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20202
c214c7cf
AA
202032015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20204
20205 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20206 regexps for GDB's current line display, accept a hex address
20207 preceding the line number.
20208
6d74a497
AA
202092015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20210
20211 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20212 the 'arch1' variable for "s390*-linux*" targets.
20213
511aee7c
PA
202142015-03-04 Pedro Alves <palves@redhat.com>
20215
20216 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20217 (main): Pass missing retval argument to pthread_join call.
20218
95e50b27
PA
202192015-03-02 Pedro Alves <palves@redhat.com>
20220
20221 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20222 (top level): Call do_test with non-stop as well.
20223
28054d69
PA
202242015-03-02 Pedro Alves <palves@redhat.com>
20225
20226 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20227 -1.
20228
4fa5d7b4
AA
202292015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20230
20231 * gdb.arch/s390-vregs.exp: New test.
20232 * gdb.arch/s390-vregs.S: New file.
20233
97c18565
PA
202342015-02-27 Pedro Alves <palves@redhat.com>
20235
20236 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20237 call to catch_command_errors.
20238 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20239 catch_command_errors.
20240
a37bfa30
PA
202412015-02-27 Pedro Alves <palves@redhat.com>
20242
20243 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20244 "true" for boolean result.
20245 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20246 prototype of main.
20247
6f98576f
PA
202482015-02-27 Pedro Alves <palves@redhat.com>
20249
20250 * lib/unbuffer_output.c: New file.
20251 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20252 (main): Call gdb_unbuffer_output.
20253
eba5ab56
YQ
202542015-02-27 Yao Qi <yao.qi@linaro.org>
20255
20256 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20257 target.
20258
0def5aaa
DE
202592015-02-26 Doug Evans <dje@google.com>
20260
20261 * gdb.cp/class2.cc (Dbase, D): New classes.
20262 (main): New local delta.
20263 * gdb.cp/class2.exp: Test printing delta.
20264 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20265 (dynbar): New global.
20266 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20267
081a1c2c
JK
202682015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20269
20270 * gdb.compile/compile-ifunc.c: New file.
20271 * gdb.compile/compile-ifunc.exp: New file.
20272
2f41223f
AT
202732015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20274
20275 * gdb.base/structs.exp: Check for correct struct on finish.
20276
03eddd80
YQ
202772015-02-26 Yao Qi <yao.qi@linaro.org>
20278
20279 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20280 is zero.
20281
80c57053
JK
202822015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20283
20284 * gdb.arch/cordic.ko.bz2: New file.
20285 * gdb.arch/cordic.ko.debug.bz2: New file.
20286 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20287
21613c12
YQ
202882015-02-25 Yao Qi <yao.qi@linaro.org>
20289
20290 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20291 aarch64*-*-* target.
20292
d8b901ed
PA
202932015-02-23 Pedro Alves <palves@redhat.com>
20294
20295 * lib/gdb.exp (delete_breakpoints): Rewrite using
20296 gdb_test_multiple.
20297
e5b85ead
PA
202982015-02-23 Pedro Alves <palves@redhat.com>
20299
20300 * gdb.base/info-os.c: Include stdlib.h.
20301
85c3a371
DE
203022015-02-22 Doug Evans <xdje42@gmail.com>
20303
20304 PR symtab/17855
20305 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20306 is read after symbols have been re-read.
20307 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20308 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20309
96553a0c
DE
203102015-02-21 Doug Evans <dje@google.com>
20311
20312 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20313
97a0c697
JK
203142015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20315
20316 PR corefiles/17808
20317 * gdb.arch/i386-biarch-core.core.bz2: New file.
20318 * gdb.arch/i386-biarch-core.exp: New file.
20319
a47cd6e9
PA
203202015-02-21 Pedro Alves <palves@redhat.com>
20321
20322 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20323 runto_main fails.
20324
c5facdc4
PA
203252015-02-20 Pedro Alves <palves@redhat.com>
20326
20327 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20328 info probes.
20329
2db9a427
PA
203302015-02-20 Pedro Alves <palves@redhat.com>
20331
20332 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20333
60fb7e9e
PA
203342015-02-20 Pedro Alves <palves@redhat.com>
20335
20336 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20337 clean_restart before gdb_target_supports_trace.
20338
5c5019c2
PA
203392015-02-20 Pedro Alves <palves@redhat.com>
20340
20341 PR threads/18006
20342 * gdb.threads/clone-thread_db.c: New file.
20343 * gdb.threads/clone-thread_db.exp: New file.
20344
c9587f88
AT
203452015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20346
20347 PR breakpoints/16812
20348 * gdb.base/catch-gdb-caused-signals.c: New file.
20349 * gdb.base/catch-gdb-caused-signals.exp: New file.
20350
f6a88844
JM
203512015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20352
20353 * configure: Regenerated.
20354 * configure.ac: Use GDB_AC_TRANSFORM.
20355 * aclocal.m4: sinclude ../transform.m4.
20356
497c491b
JM
203572015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20358
20359 * lib/dtrace.exp: New file.
20360 * gdb.base/dtrace-probe.exp: Likewise.
20361 * gdb.base/dtrace-probe.d: Likewise.
20362 * gdb.base/dtrace-probe.c: Likewise.
20363 * lib/pdtrace.in: Likewise.
20364 * configure.ac: Output variables with the transformed names of
20365 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20366 * configure: Regenerated.
20367
03e98035
JM
203682015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20369
20370 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20371 expected message when trying to access $_probe_* convenience
20372 variables while not on a probe.
20373
63cc30e9
JK
203742015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20375
20376 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20377
0703599a
PA
203782015-02-11 Pedro Alves <pedro@codesourcery.com>
20379
20380 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20381 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20382
7e60a48e
DE
203832015-02-10 Doug Evans <xdje42@gmail.com>
20384
20385 * lib/gdb.exp (gdb_load): Always return a result.
20386
01b088bc
PA
203872015-02-10 Pedro Alves <palves@redhat.com>
20388
20389 * gdb.threads/signal-sigtrap.c: New file.
20390 * gdb.threads/signal-sigtrap.exp: New file.
20391
b05ec7a5
AT
203922015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20393
20394 * gdb.trace/no-attach-trace.c: New file.
20395 * gdb.trace/no-attach-trace.exp: New file.
20396
a2c2acaf
MW
203972015-02-09 Mark Wielaard <mjw@redhat.com>
20398
20399 * gdb.dwarf2/atomic.c: New file.
20400 * gdb.dwarf2/atomic-type.exp: Likewise.
20401
31fd9caa
MM
204022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20403
20404 * gdb.btrace/buffer-size.exp: Update "info record" output.
20405 * gdb.btrace/delta.exp: Update "info record" output.
20406 * gdb.btrace/enable.exp: Update "info record" output.
20407 * gdb.btrace/finish.exp: Update "info record" output.
20408 * gdb.btrace/instruction_history.exp: Update "info record" output.
20409 * gdb.btrace/next.exp: Update "info record" output.
20410 * gdb.btrace/nexti.exp: Update "info record" output.
20411 * gdb.btrace/step.exp: Update "info record" output.
20412 * gdb.btrace/stepi.exp: Update "info record" output.
20413 * gdb.btrace/nohist.exp: Update "info record" output.
20414
d33501a5
MM
204152015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20416
20417 * gdb.btrace/buffer-size: New.
20418
f4abbc16
MM
204192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20420
20421 * gdb.btrace/delta.exp: Update "info record" output.
20422 * gdb.btrace/enable.exp: Update "info record" output.
20423 * gdb.btrace/finish.exp: Update "info record" output.
20424 * gdb.btrace/instruction_history.exp: Update "info record" output.
20425 * gdb.btrace/next.exp: Update "info record" output.
20426 * gdb.btrace/nexti.exp: Update "info record" output.
20427 * gdb.btrace/step.exp: Update "info record" output.
20428 * gdb.btrace/stepi.exp: Update "info record" output.
20429 * gdb.btrace/nohist.exp: Update "info record" output.
20430
b9d61307
SM
204312015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20432
20433 PR gdb/15678
20434 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20435
e584fdbc
PA
204362015-02-06 Pedro Alves <palves@redhat.com>
20437
20438 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20439 macro.
20440 (seconds_left, again): New globals.
20441 (main): Wait seconds_left in a 1-second sleep loop instead of
20442 sleeping 180 seconds. If 'again' is set, reset the seconds
20443 counter.
20444 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20445 'again' in the inferior before detaching. Print the seconds left.
20446 (options): New global.
20447 (top level): Build program with -DTIMEOUT=$timeout.
20448
77f41761
PA
204492015-02-06 Pedro Alves <palves@redhat.com>
20450
20451 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20452 determine how many seconds to pass to 'alarm'.
20453 * gdb.base/gdb-sigterm.exp (top level): Build program with
20454 -DTIMEOUT=$timeout.
20455 (do_test): Return success/failure indication. Add more verbose
20456 logging. Don't fail if 200 single steps are seen. Instead, fail
20457 when the test times out.
20458 (passes): New global.
20459 (top level): Break the testing loop if testing fails on any
20460 iteration. Use gdb_assert.
20461
b9394193
DB
204622015-02-04 Don Breazeal <donb@codesourcery.com>
20463
20464 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20465 and initialize them.
20466 (ipc_cleanup): New function.
20467 (main): Don't declare shmid, semid, and msqid. Add a call to
20468 atexit so that we call ipc_cleanup on exit.
20469
42d9e528
PA
204702015-02-04 Pedro Alves <palves@redhat.com>
20471
20472 * boards/native-extended-gdbserver.exp: Remove any target variant
20473 specifications from the board name before clearing the isremote
20474 flag from board_info.
20475
ae6ae975
DE
204762015-01-31 Doug Evans <xdje42@gmail.com>
20477
20478 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20479
cfb069a8
GB
204802015-01-31 Gary Benson <gbenson@redhat.com>
20481
20482 * gdb.base/completion.exp: Disable completion limiting for
20483 existing tests. Add new tests to check completion limiting.
20484 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20485
5dd31d79
DE
204862015-01-31 Doug Evans <xdje42@gmail.com>
20487
20488 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20489
9f050062
DE
204902015-01-31 Doug Evans <xdje42@gmail.com>
20491
20492 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20493 entries. Duplicate file section script entries.
20494 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20495 inlined entries. Add test for safe-path rejection.
20496 * gdb.python/py-section-script.c: Add duplicate inlined section script
20497 entries. Duplicate file section script entries.
20498 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20499 inlined entries. Add test for safe-path rejection.
20500
df25ebbd
JB
205012015-01-29 Joel Brobecker <brobecker@adacore.com>
20502
20503 * gdb.ada/disc_arr_bound: New testcase.
20504
4a0ca9ec
JB
205052015-01-29 Joel Brobecker <brobecker@adacore.com>
20506
20507 * gdb.ada/mi_var_array: New testcase.
20508
3a8b707a
DE
205092015-01-27 Doug Evans <dje@google.com>
20510
20511 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20512 Add test for objfile.filename, objfile.username after objfile
20513 has been unloaded.
20514
f8313f6e
JB
205152015-01-26 Joel Brobecker <brobecker@adacore.com>
20516
20517 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20518 the second test to print the name attribute of value
20519 returned by the call to gdb.lookup_type, and adjust
20520 the expected output accordingly.
20521
37bc665e
MW
205222015-01-25 Mark Wielaard <mjw@redhat.com>
20523
20524 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20525 * gdb.base/disp-step-fork.c: Include unistd.h.
20526 * gdb.base/siginfo-obj.c: Include stdio.h.
20527 * gdb.base/siginfo-thread.c: Likewise.
20528 * gdb.mi/non-stop.c: Include unistd.h.
20529 * gdb.mi/nsthrexec.c: Include stdio.h.
20530 * gdb.mi/pthreads.c: Include unistd.h.
20531 * gdb.modula2/unbounded1.c (main): Declare returns int.
20532 * gdb.reverse/consecutive-reverse.c: Likewise.
20533 * gdb.threads/create-fail.c: Include unistd.h.
20534 * gdb.threads/killed.c: Likewise.
20535 * gdb.threads/linux-dp.c: Likewise.
20536 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20537 * gdb.threads/non-ldr-exc-2.c: Likewise.
20538 * gdb.threads/non-ldr-exc-3.c: Likewise.
20539 * gdb.threads/non-ldr-exc-4.c: Likewise.
20540 * gdb.threads/pthreads.c: Include unistd.h.
20541 (main): Declare returns int.
20542 * gdb.threads/tls-main.c (foo): New declaration.
20543 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20544
f7e5394d
SM
205452015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20546
20547 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20548 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20549
743649fd
MW
205502015-01-15 Mark Wielaard <mjw@redhat.com>
20551
20552 * gdb.base/noreturn-return.c: New file.
20553 * gdb.base/noreturn-return.exp: New file.
20554 * gdb.base/noreturn-finish.c: New file.
20555 * gdb.base/noreturn-finish.exp: New file.
20556
198297aa
PA
205572015-01-23 Pedro Alves <palves@redhat.com>
20558
20559 * gdb.threads/continue-pending-after-query.c: New file.
20560 * gdb.threads/continue-pending-after-query.exp: New file.
20561
717cf30c
AG
205622015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20563 Simon Marchi <simon.marchi@ericsson.com>
20564
20565 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20566 * gdb.base/valgrind-db-attach.exp: Same.
20567 * gdb.base/valgrind-infcall.exp: Same.
20568 * lib/mi-support.exp (default_mi_gdb_start): Same.
20569 * lib/prompt.exp (default_prompt_gdb_start): Same.
20570 * lib/gdb.exp (default_gdb_spawn): Same.
20571 (gdb_interact): New.
20572
20573
4b62a76e
JK
205742015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20575
20576 * gdb.compile/compile.exp (pointer to jit function): New test.
20577
b4cdae6f
WW
205782015-01-17 Wei-cheng Wang <cole945@gmail.com>
20579
20580 * lib/gdb.exp (supports_process_record): Return true for
20581 powerpc*-*-linux*.
20582 (supports_reverse): Likewise.
20583
d221e7ef
DB
205842015-01-15 Don Breazeal <donb@codesourcery.com>
20585
20586 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20587 instead of checking whether the target board is remote and
20588 use spawn_wait_for_attach instead of exec/sleep.
20589 * gdb.base/attach-twice.exp: Likewise.
20590
bafffb51
JB
205912015-01-15 Joel Brobecker <brobecker@adacore.com>
20592
20593 * gdb.ada/var_arr_attrs: New testcase.
20594
5589af0e
PA
205952015-01-14 Pedro Alves <palves@redhat.com>
20596 Joel Brobecker <brobecker@adacore.com>
20597
20598 PR gdb/17525
20599 * gdb.base/bp-cmds-execution-x-script.c: New file.
20600 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20601 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20602
6c400b59
PA
206032015-01-14 Pedro Alves <palves@redhat.com>
20604
20605 PR cli/17828
20606 * gdb.base/batch-preserve-term-settings.c: New file.
20607 * gdb.base/batch-preserve-term-settings.exp: New file.
20608
e02c96a7
DE
206092015-01-13 Doug Evans <dje@google.com>
20610
20611 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20612 binary.
20613
576fd14c
JB
206142015-01-13 Joel Brobecker <brobecker@adacore.com>
20615
20616 * Makefile.in (clean mostlyclean): Do not delete *.py.
20617
04dccad0
JB
206182015-01-13 Joel Brobecker <brobecker@adacore.com>
20619
20620 * gdb.python/py-lookup-type.exp: New file.
20621
3d230f71
PA
206222015-01-12 Pedro Alves <palves@redhat.com>
20623
20624 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20625 restore GDBFLAGS before returning.
20626
7e67715d
JK
206272015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20628
20629 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20630 is_amd64_regs_target and is_x86_like_target.
20631
f2e0d4b4
DE
206322015-01-11 Doug Evans <xdje42@gmail.com>
20633
20634 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20635 is given without an explicit form.
20636 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20637 attributes.
20638 * gdb.dwarf/corrupt.exp: Ditto.
20639 * gdb.dwarf2/enum-type.exp: Ditto.
20640 * gdb.trace/entry-values.exp: Ditto.
20641 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20642
439250fb
DE
206432015-01-11 Doug Evans <xdje42@gmail.com>
20644
20645 PR gdb/15830
20646 * gdb.base/maint.exp: Remove references to "maint demangle".
20647 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20648 Add tests for explicitly specifying language to demangle.
20649 * gdb.dlang/demangle.exp: Ditto.
20650
ede9f622
PA
206512015-01-09 Pedro Alves <palves@redhat.com>
20652
20653 * gdb.threads/non-stop-fair-events.c: New file.
20654 * gdb.threads/non-stop-fair-events.exp: New file.
20655
a7b796db
PA
206562015-01-09 Pedro Alves <palves@redhat.com>
20657
20658 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20659 the global scope. Set a breakpoint after all threads are started
20660 rather than stepping over two source lines. Expect the prompt.
20661 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20662 global.
20663 (NUM): Now 15.
20664 (main): Use threads_started_barrier to wait for all threads to
20665 start. Main thread no longer calls thread_function. Exit after
20666 180 seconds.
20667 (loop): New function.
20668 (thread_function): Wait on threads_started_barrier barrier. Call
20669 'loop' at each iteration.
20670 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20671 threads have started, instead of hardcoding number of "next"
20672 steps. Use an access watchpoint instead of a write watchpoint.
20673
9665ffdd
PA
206742015-01-09 Pedro Alves <palves@redhat.com>
20675
20676 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20677 (thread_func): Wait on barrier.
20678 (main): Wait for all threads to start before stopping GDB.
20679 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20680 global.
20681 (thread1_func, thread2_func): Wait on barrier.
20682 (main): Wait for all threads to start before stopping GDB.
20683 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20684 New global.
20685 (thread1_func, thread2_func): Wait on barrier.
20686 (main): Wait for all threads to start before stopping GDB.
20687
c945a99f
PA
206882015-01-09 Pedro Alves <palves@redhat.com>
20689
20690 * gdb.threads/attach-many-short-lived-threads.c: New file.
20691 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20692
c1a747c1
PA
206932014-01-09 Pedro Alves <palves@redhat.com>
20694
20695 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20696 instead of to thread 2.
20697 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20698 Add barrier around each pthread_create call instead of around all
20699 calls.
20700 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20701 Set a break on thread_function and have the child threads hit it
20702 one at at a time.
20703
60b3033e
PA
207042015-01-09 Pedro Alves <palves@redhat.com>
20705
20706 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20707 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20708 false.
20709 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20710 checking whether the target board is remote.
20711 * gdb.multi/multi-attach.exp: Likewise.
20712 * gdb.python/py-sync-interp.exp: Likewise.
20713 * gdb.server/ext-attach.exp: Likewise.
20714 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20715 tests that need to attach, instead of checking whether the target
20716 board is remote at the top of the file.
20717
acc018ac
YQ
207182015-01-08 Yao Qi <yao@codesourcery.com>
20719
20720 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20721
50a18af8
JK
207222015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20723
20724 Fix testcase compilation.
20725 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20726
8503d6e1
JB
207272015-01-06 Joel Brobecker <brobecker@adacore.com>
20728
20729 * gdb.python/py-type.exp: Add a couple test about empty
20730 array creation, and negative-length array creation.
20731
cc73dbcc
DE
207322015-01-02 Doug Evans <xdje42@gmail.com>
20733
20734 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20735
0300bbc7
DE
207362015-01-02 Doug Evans <dje@google.com>
20737
20738 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20739
9d85a0ec
YQ
207402014-12-29 Yao Qi <yao@codesourcery.com>
20741
20742 * gdb.trace/entry-values.exp: Update comments. Rename variable
20743 bar_call_foo to returned_from_foo.
20744
87186c6a
MMN
207452014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20746
20747 PR gdb/17394
20748 * gdb.linespec/break-asm-file.c: New file.
20749 * gdb.linespec/break-asm-file.exp: New file.
20750 * gdb.linespec/break-asm-file0.s: New file.
20751 * gdb.linespec/break-asm-file1.s: New file.
20752
1bab7383
YQ
207532014-12-18 Nigel Stephens <nigel@mips.com>
20754 Maciej W. Rozycki <macro@codesourcery.com>
20755
20756 * gdb.base/float.exp: Handle the new output from "info float" on
20757 MIPS targets.
20758
1bc1068a
JK
207592014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20760
20761 Fix MinGW compilation.
20762 * gdb.compile/compile-ops.exp: Update untested message if
20763 !skip_compile_feature_tests.
20764 * gdb.compile/compile-setjmp.exp: Likewise.
20765 * gdb.compile/compile-tls.exp: Likewise.
20766 * gdb.compile/compile.exp: Likewise.
20767 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20768 supported on this host".
20769
b6615d10
DE
207702014-12-16 Doug Evans <xdje42@gmail.com>
20771
20772 * boards/stabs.exp: New file.
20773
25dda427
AA
207742014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20775
20776 * gdb.base/completion.exp: Adjust to format changes of "maint
20777 print user-registers".
20778
bf330350
CU
207792014-12-16 Catalin Udma <catalin.udma@freescale.com>
20780
20781 PR server/17457
20782 * gdb.arch/aarch64-fp.c: New file.
20783 * gdb.arch/aarch64-fp.exp: New file.
20784
395cf596
SDJ
207852014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20786
20787 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20788 r210637, r210913, r211666, r215400, r215817).
20789
20790 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20791 * dg-extract-results.py: New file.
20792 * dg-extract-results.sh: Use it if the environment seems
20793 suitable.
20794
20795 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20796
20797 * dg-extract-results.py (parse_run): Handle warnings that
20798 are printed before a test harness is run.
20799
20800 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20801
20802 * dg-extract-results.py (Named): Remove __cmp__ method.
20803 (output_variation): Use a key to sort variation.harnesses.
20804
20805 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20806
20807 * dg-extract-results.py: For Python 3, force sys.stdout to
20808 handle surrogate escape sequences.
20809 (safe_open): New function.
20810 (output_segment, main): Use it.
20811
20812 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20813
20814 * dg-extract-results.py (Prog.result_re): Include options
20815 in test name.
20816
20817 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20818
20819 * dg-extract-results.py (output_variation): Always sort if
20820 do_sum.
20821
e882ef3c
SM
208222014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20823
20824 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20825 as long as we get pagination notifications.
20826
4992aa20
JM
208272014-12-15 Jason Merrill <jason@redhat.com>
20828
20829 * Makefile.in (check-gdb.%): Restore.
20830 * README: Mention it.
20831
c1b5a1a6
JB
208322014-12-13 Joel Brobecker <brobecker@adacore.com>
20833
20834 * gdb.ada/str_uninit: New testcase.
20835
5537b577
JK
208362014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20837
20838 PR symtab/17642
20839 * gdb.base/vla-stub-define.c: New file.
20840 * gdb.base/vla-stub.c: New file.
20841 * gdb.base/vla-stub.exp: New file.
20842
bb2ec1b3
TT
208432014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20844 Jan Kratochvil <jan.kratochvil@redhat.com>
20845 Tom Tromey <tromey@redhat.com>
20846
20847 * configure.ac: Add gdb.compile/.
20848 * configure: Regenerate.
20849 * gdb.compile/Makefile.in: New file.
20850 * gdb.compile/compile-ops.exp: New file.
20851 * gdb.compile/compile-ops.c: New file.
20852 * gdb.compile/compile-tls.c: New file.
20853 * gdb.compile/compile-tls.exp: New file.
20854 * gdb.compile/compile-constvar.S: New file.
20855 * gdb.compile/compile-constvar.c: New file.
20856 * gdb.compile/compile-mod.c: New file.
20857 * gdb.compile/compile-nodebug.c: New file.
20858 * gdb.compile/compile-setjmp-mod.c: New file.
20859 * gdb.compile/compile-setjmp.c: New file.
20860 * gdb.compile/compile-setjmp.exp: New file.
20861 * gdb.compile/compile-shlib.c: New file.
20862 * gdb.compile/compile.c: New file.
20863 * gdb.compile/compile.exp: New file.
20864 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20865
4ff709eb
TT
208662014-12-12 Tom Tromey <tromey@redhat.com>
20867
20868 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20869 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20870
6dddd6a5
DE
208712014-12-12 Doug Evans <dje@google.com>
20872
20873 * lib/gdb-python.exp (get_python_valueof): New function.
20874 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20875
71c24708
AA
208762014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20877
20878 * gdb.base/completion.exp: Add test for completion of "info
20879 registers ".
20880
3e29f34a
MR
208812014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20882
20883 * gdb.base/func-ptrs.c: New file.
20884 * gdb.base/func-ptrs.exp: New file.
20885
fc126975
SM
208862014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20887
20888 PR breakpoints/17012
20889 * gdb.base/dprintf-detach.c: New file.
20890 * gdb.base/dprintf-detach.exp: New file.
20891
0a46d518
SM
208922014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20893
20894 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20895 * lib/gdb.exp (target_is_gdbserver): New procedure.
20896
a0be3e44
DE
208972014-12-08 Doug Evans <dje@google.com>
20898
20899 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20900
df1b803a
YQ
209012014-12-05 Yao Qi <yao@codesourcery.com>
20902
20903 * gdb.guile/scm-error.exp: Remove the third argument to
20904 gdb_remote_download.
20905 * gdb.guile/scm-frame-args.exp: Likewise.
20906 * gdb.guile/scm-section-script.exp: Likewise.
20907
ddb9f679
YQ
209082014-12-05 Yao Qi <yao@codesourcery.com>
20909
20910 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20911
86e4ed39
DE
209122014-12-04 Doug Evans <dje@google.com>
20913
20914 * gdb.python/py-objfile.exp: Add tests for
20915 objfile.add_separate_debug_file.
20916
7c50a931
DE
209172014-12-04 Doug Evans <dje@google.com>
20918
20919 * lib/gdb.exp (get_build_id): New function.
20920 (build_id_debug_filename_get): Rewrite to use it.
20921 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20922
621661e3
MR
209232014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20924
20925 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20926 `method(long)', not just 0x0.
20927 * gdb.cp/nsalias.exp: Align code labels to 4.
20928 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20929 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20930 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20931 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20932 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20933 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20934
29f0c3b7
DE
209352014-12-02 Doug Evans <dje@google.com>
20936
e1e061e7 20937 PR symtab/17602
29f0c3b7 20938 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20939 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20940 * gdb.cp/anon-ns.exp: Update.
20941
162078c8
NB
209422014-12-02 Nick Bull <nicholaspbull@gmail.com>
20943
20944 * gdb.python/py-events.py (inferior_call_handler): New.
20945 (register_changed_handler, memory_changed_handler): New.
20946 (test_events.invoke): Register new handlers.
20947 * gdb.python/py-events.exp: Add tests for inferior call,
20948 memory_changed and register_changed events.
20949
fdb09caf
AA
209502014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20951
20952 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20953 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20954 if the linker doesn't understand this.
20955
55cfb2c4
SM
209562014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20957
20958 * gdb.python/python.exp: Change expected reply to help().
20959
9e8cd6df
YQ
209602014-12-01 Yao Qi <yao@codesourcery.com>
20961
20962 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20963 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20964 * configure: Re-generated.
20965
6c659fc2
SC
209662014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20967
20968 * gdb.cp/chained-calls.cc: New file.
20969 * gdb.cp/chained-calls.exp: New file.
20970 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20971
d7fc3181
SM
209722014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20973
20974 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20975 * gdb.dwarf2/symtab-producer.exp: Same.
20976 * gdb.gdb/python-interrupts.exp: Same.
20977 * gdb.gdb/python-selftest.exp: Same.
20978 * gdb.python/py-linetable.exp: Same.
20979 * gdb.python/py-type.exp: Same.
20980 * gdb.python/py-value-cc.exp: Same.
20981 * gdb.python/py-value.exp: Same.
20982
10e79639
YQ
209832014-11-28 Yao Qi <yao@codesourcery.com>
20984
20985 * gdb.base/break-probes.exp: Match library name prefixed with
20986 sysroot.
20987
f28a0564
SM
209882014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20989
20990 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20991 test expected output. Add parentheses for the call to print.
20992 Remove L suffix from integers.
20993
3fe1ce1d
DE
209942014-11-26 Doug Evans <dje@google.com>
20995
20996 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20997
84429e27
YQ
209982014-11-22 Yao Qi <yao@codesourcery.com>
20999
21000 * gdb.trace/entry-values.c: Remove asms.
21001 (foo): Add foo_label.
21002 (bar): Add bar_label.
21003 * gdb.trace/entry-values.exp: Remove code computing foo's
21004 length and bar's length.
21005 (Dwarf::assemble): Invoke function_range for bar and use
21006 MACRO_AT_func for foo.
21007
26741859
YQ
210082014-11-22 Yao Qi <yao@codesourcery.com>
21009
21010 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
21011 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
21012 Use .Lgcc43_procstart instead of gcc43.
21013
45e44d27
JB
210142014-11-21 Joel Brobecker <brobecker@adacore.com>
21015
21016 * gdb.ada/n_arr_bound: New testcase.
21017
458c8db8
SDJ
210182014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
21019
21020 PR breakpoints/10737
21021 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
21022 test_catch_syscall_multi_arch.
21023 (test_catch_syscall_multi_arch): New function.
21024
43f3e411
DE
210252014-11-20 Doug Evans <xdje42@gmail.com>
21026
21027 * gdb.base/maint.exp: Update expected output.
21028
0d7b2549
AA
210292014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
21030
21031 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
21032 4-byte instruction on S390.
21033
8908fca5
JB
210342014-11-19 Joel Brobecker <brobecker@adacore.com>
21035
21036 * gdb.ada/arr_arr: New testcase.
21037
4a46959e
JB
210382014-11-19 Joel Brobecker <brobecker@adacore.com>
21039
21040 * gdb.ada/pkd_arr_elem: New Testcase.
21041
470e2f4e
LM
210422014-11-18 Luis Machado <lgustavo@codesourcery.com>
21043
21044 * gdb.reverse/break-precsave: Expect completion message for
21045 core file reads.
21046 * gdb.reverse/consecutive-precsave.exp: Likewise.
21047 * gdb.reverse/finish-precsave.exp: Likewise.
21048 * gdb.reverse/i386-precsave.exp: Likewise.
21049 * gdb.reverse/machinestate-precsave.exp: Likewise.
21050 * gdb.reverse/sigall-precsave.exp: Likewise.
21051 * gdb.reverse/solib-precsave.exp: Likewise.
21052 * gdb.reverse/step-precsave.exp: Likewise.
21053 * gdb.reverse/until-precsave.exp: Likewise.
21054 * gdb.reverse/watch-precsave.exp: Likewise.
21055
a267f3ad
AA
210562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21057
21058 * gdb.base/bp-permanent.c: Include unistd.h.
21059 * gdb.python/py-framefilter-mi.c (main): Add return type.
21060 * gdb.python/py-framefilter.c (main): Likewise.
21061 * gdb.trace/actions-changed.c (main): Likewise.
21062
12084a9a
AA
210632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21064
21065 * gdb.mi/until.c: Add eye-catchers.
21066 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21067 line numbers.
21068
dc7e1a77
AA
210692014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21070
21071 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21072 function header variants in break1.c.
21073 * gdb.base/ena-dis-br.exp: Likewise.
21074 * gdb.base/hbreak2.exp: Likewise.
21075 * gdb.reverse/until-precsave.exp: Drop references to removed
21076 non-prototype function header variants in ur1.c.
21077 * gdb.reverse/until-reverse.exp: Likewise.
21078
41c77605
PM
210792014-11-17 Petr Machata <pmachata@redhat.com>
21080
21081 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21082 ${_cu_offset_size} bytes abbrev offset.
21083
34248c3a
DE
210842014-11-15 Doug Evans <xdje42@gmail.com>
21085
21086 PR symtab/17559
21087 * gdb.base/line-symtabs.exp: New file.
21088 * gdb.base/line-symtabs.c: New file.
21089 * gdb.base/line-symtabs.h: New file.
21090
646da059
YQ
210912014-11-14 Yao Qi <yao@codesourcery.com>
21092
21093 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21094 (func): Add label func_label.
21095 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21096 Replace low_pc and high_pc with MACRO_AT_range.
21097 Replace name, low_pc and high_pc with MACRO_AT_func.
21098
9301ebe6
YQ
210992014-11-14 Yao Qi <yao@codesourcery.com>
21100
21101 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21102 Replace name, low_pc and high_pc with MACRO_AT_func.
21103
f166b542
YQ
211042014-11-14 Yao Qi <yao@codesourcery.com>
21105
21106 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21107 produce debug information.
21108 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21109
0f6e71e3
YQ
211102014-11-14 Yao Qi <yao@codesourcery.com>
21111
21112 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21113 object and get function length.
21114 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21115 with MACRO_AT_func.
21116 (top-level): Replace gdb_compile and clean_restart with
21117 prepare_for_testing.
21118 * gdb.dwarf2/main.c (main): Add label main_label.
21119
876c4df9
YQ
211202014-11-14 Yao Qi <yao@codesourcery.com>
21121
21122 * lib/dwarf.exp (function_range): New procedure.
21123 (Dwarf::_handle_macro_at_func): New procedure.
21124 (Dwarf::_handle_macro_at_range): New procedure.
21125 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21126
02ad9cf1
YQ
211272014-11-14 Yao Qi <yao@codesourcery.com>
21128
21129 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21130 (_handle_attribute): New procedure.
21131
a59add0c
AA
211322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21133
21134 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21135 * gdb.base/call-sc.c (zed): Likewise.
21136 * gdb.base/checkpoint.c (main): Likewise.
21137 * gdb.base/dump.c (main): Likewise.
21138 * gdb.base/gcore.c (main): Likewise.
21139 * gdb.base/huge.c (main): Likewise.
21140 * gdb.base/multi-forks.c (main): Likewise.
21141 * gdb.base/pr10179-a.c (main): Likewise.
21142 * gdb.base/savedregs.c (main): Likewise.
21143 * gdb.base/sigaltstack.c (main): Likewise.
21144 * gdb.base/siginfo.c (main): Likewise.
21145 * gdb.base/structs.c (zed): Likewise.
21146 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21147 * gdb.mi/mi-syn-frame.c (main): Likewise.
21148 * gdb.mi/until.c (foo, main): Likewise.
21149 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21150 * gdb.base/solib-weak.c (foo): Declare.
21151 * gdb.base/attach-twice.c: Include stdio.h.
21152 * gdb.base/weaklib1.c: Likewise.
21153 * gdb.base/weaklib2.c: Likewise.
21154 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21155 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21156 unistd.h.
21157 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21158 * gdb.mi/mi-exit-code.c: Likewise.
21159 * gdb.base/break-interp-lib.c: Include string.h.
21160 * gdb.base/coremaker.c: Likewise.
21161 * gdb.base/testenv.c: Likewise.
21162 * gdb.python/py-finish-breakpoint.c: Likewise.
21163 * gdb.base/inferior-died.c: Include sys/wait.h.
21164 * gdb.base/fileio.c: Include time.h.
21165 * gdb.base/async-shell.c: Include unistd.h.
21166 * gdb.base/dprintf-non-stop.c: Likewise.
21167 * gdb.base/info-os.c: Likewise.
21168 * gdb.mi/mi-console.c: Likewise.
21169 * gdb.mi/watch-nonstop.c: Likewise.
21170 * gdb.python/py-events.c: Likewise.
21171 * gdb.base/async.c (baz): Move up before its invocation.
21172 * gdb.base/code_elim2.c (my_global_func): Likewise.
21173 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21174 * gdb.base/advance.c (func2): Likewise.
21175
3b5d5997
AA
211762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21177
21178 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21179 variant.
21180 * gdb.base/annota3.c: Likewise.
21181 * gdb.base/async.c: Likewise.
21182 * gdb.base/average.c: Likewise.
21183 * gdb.base/call-ar-st.c: Likewise.
21184 * gdb.base/call-rt-st.c: Likewise.
21185 * gdb.base/call-sc.c: Likewise.
21186 * gdb.base/call-strs.c: Likewise.
21187 * gdb.base/ending-run.c: Likewise.
21188 * gdb.base/execd-prog.c: Likewise.
21189 * gdb.base/exprs.c: Likewise.
21190 * gdb.base/foll-exec.c: Likewise.
21191 * gdb.base/foll-fork.c: Likewise.
21192 * gdb.base/foll-vfork.c: Likewise.
21193 * gdb.base/funcargs.c: Likewise.
21194 * gdb.base/gcore.c: Likewise.
21195 * gdb.base/jump.c: Likewise.
21196 * gdb.base/langs0.c: Likewise.
21197 * gdb.base/langs1.c: Likewise.
21198 * gdb.base/langs2.c: Likewise.
21199 * gdb.base/mips_pro.c: Likewise.
21200 * gdb.base/nodebug.c: Likewise.
21201 * gdb.base/opaque0.c: Likewise.
21202 * gdb.base/opaque1.c: Likewise.
21203 * gdb.base/recurse.c: Likewise.
21204 * gdb.base/run.c: Likewise.
21205 * gdb.base/scope0.c: Likewise.
21206 * gdb.base/scope1.c: Likewise.
21207 * gdb.base/setshow.c: Likewise.
21208 * gdb.base/setvar.c: Likewise.
21209 * gdb.base/shmain.c: Likewise.
21210 * gdb.base/shr1.c: Likewise.
21211 * gdb.base/shr2.c: Likewise.
21212 * gdb.base/sigall.c: Likewise.
21213 * gdb.base/signals.c: Likewise.
21214 * gdb.base/so-indr-cl.c: Likewise.
21215 * gdb.base/solib2.c: Likewise.
21216 * gdb.base/structs.c: Likewise.
21217 * gdb.base/sum.c: Likewise.
21218 * gdb.base/vforked-prog.c: Likewise.
21219 * gdb.base/watchpoint.c: Likewise.
21220 * gdb.reverse/shr2.c: Likewise.
21221 * gdb.reverse/until-reverse.c: Likewise.
21222 * gdb.reverse/ur1.c: Likewise.
21223 * gdb.reverse/watch-reverse.c: Likewise.
21224
066a77c5
AA
212252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21226
21227 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21228 variant.
21229 * gdb.base/sepdebug.exp: Drop references to removed code.
21230
4f204ea5
AA
212312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21232
21233 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21234 variant. Preserve original line numbering.
21235 * gdb.base/list1.c: Likewise.
21236
3b377a3a
AA
212372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21238
21239 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21240 variant.
21241 * gdb.base/break1.c: Likewise.
21242 * gdb.base/break.exp: Drop references to removed code.
21243
e444df73
AA
212442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21245
21246 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21247 variant.
21248
8008f2a7
AA
212492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21250
21251 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21252
a5a06887
AA
212532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21254
21255 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21256 logic into perform_all_tests() and invoke it with and without
21257 function header prototypes.
21258 (do_function_calls): Remove conditional XFAIL for PR 5318.
21259 (rerun_and_prepare): Remove duplicate code.
21260 (perform_all_tests): New. Main logic moved here.
21261
44dba9b9
AA
212622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21263
21264 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21265 code guarded by #ifdef NO_PROTOTYPES.
21266 (t_double_many_args): Likewise.
21267 (DEF_FUNC_MANY_ARGS_1): Likewise.
21268 (DEF_FUNC_VALUES_1): Likewise.
21269 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21270 guarded by #ifdef PROTOTYPES.
21271
d1fbcd56
AA
212722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21273
21274 * gdb.mi/mi-console.c: Add eye-catcher.
21275 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21276 instead of literal line number.
21277
b0e59b8f
AA
212782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21279
21280 * gdb.base/shr2.c: Add eye-catcher.
21281 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21282 line number.
21283
78f98cca
AA
212842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21285
21286 * gdb.base/jump.c: Add eye-catchers.
21287 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21288 numbers.
21289
58fa2af0
AA
212902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21291
21292 * gdb.base/execd-prog.c: Add eye-catchers.
21293 * gdb.base/foll-exec.c: Likewise.
21294 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21295 line numbers.
21296
04e5059b
AA
212972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21298
21299 * gdb.base/ending-run.c: Add eye-catchers.
21300 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21301 literal line numbers.
21302
dbfdb174
AA
213032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21304
21305 * gdb.base/call-rt-st.c: Add eye-catchers.
21306 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21307 literal line numbers.
21308
888a2ade
AA
213092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21310
21311 * gdb.base/call-ar-st.c: Add eye-catchers.
21312 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21313 literal line numbers.
21314
6acc2dde
AA
213152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21316
21317 * gdb.base/average.c: Add eye-catchers.
21318 * gdb.base/sum.c: Likewise.
21319 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21320 regexps dynamically.
21321
9ecfcd1d
AA
213222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21323
21324 * gdb.base/solib1.c: Add eye-catchers.
21325 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21326 literal line numbers.
21327
78708b7c
PA
213282014-11-12 Pedro Alves <palves@redhat.com>
21329
21330 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21331 leader has exited.
21332
af48d08f
PA
213332014-11-12 Pedro Alves <palves@redhat.com>
21334
21335 * gdb.arch/i386-bp_permanent.c: New file.
21336 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21337 (srcfile): Set to i386-bp_permanent.c.
21338 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21339 that stepi does not execute the 'leave' instruction, instead of
21340 testing it does execute.
21341 * gdb.base/bp-permanent.c: New file.
21342 * gdb.base/bp-permanent.exp: New file.
21343
af3768e9
DE
213442014-11-10 Doug Evans <xdje42@gmail.com>
21345
21346 PR symtab/17564
21347 * gdb.base/symtab-search-order.exp: New file.
21348 * gdb.base/symtab-search-order.c: New file.
21349 * gdb.base/symtab-search-order-1.c: New file.
21350 * gdb.base/symtab-search-order-shlib-1.c: New file.
21351
9de00a4a
PA
213522014-11-07 Pedro Alves <palves@redhat.com>
21353
21354 PR gdb/17511
21355 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21356 i?86-*-linux*.
21357
e0f52461
SC
213582014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21359
21360 PR c++/17494
21361 * gdb.cp/pr17494.cc: New file.
21362 * gdb.cp/pr17494.exp: New file.
21363
6ce8c980
YQ
213642014-11-02 Yao Qi <yao@codesourcery.com>
21365
21366 * gdb.python/python.exp: Get working directory and match the
21367 output of "set extended-prompt \\w " with it.
21368
02be9a71
DE
213692014-10-30 Doug Evans <dje@google.com>
21370
21371 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21372 in objfiles.
21373 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21374 in progspaces.
21375
3bdff46b
LM
213762014-10-30 Janis Johnson <janisjo@codesourcery.com>
21377
21378 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21379 * gdb.base/realname-expand.exp: Likewise.
21380 * gdb.linespec/macro-relative.exp: Likewise.
21381
ab917dfb
PA
213822014-10-29 Pedro Alves <palves@redhat.com>
21383
21384 PR gdb/17408
21385 * gdb.threads/schedlock.c (some_function): New function.
21386 (call_function): New global.
21387 (MAYBE_CALL_SOME_FUNCTION): New macro.
21388 (thread_function): Call it.
21389 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21390 and use it instead of a global counter. Adjust all callers.
21391 (get_current_thread): Use "find current thread" for test message
21392 here rather than having all callers pass down the same string.
21393 (goto_loop): New procedure, factored out from ...
21394 (my_continue): ... this.
21395 (step_ten_loops): Change parameter from test message to command to
21396 use. Adjust.
21397 (list_count): Delete global.
21398 (check_result): New procedure, factored out from duplicate top
21399 level code.
21400 (continue tests): Wrap in with_test_prefix.
21401 (test_step): New procedure, factored out from duplicate top level
21402 code.
21403 (top level): Test "step" in combination with all scheduler-locking
21404 modes. Test "next" in combination with all scheduler-locking
21405 modes, and in combination with stepping over a function call or
21406 not.
21407 * gdb.threads/next-bp-other-thread.c: New file.
21408 * gdb.threads/next-bp-other-thread.exp: New file.
21409
d3d4baed
PA
214102014-10-29 Pedro Alves <palves@redhat.com>
21411
21412 PR python/17372
21413 * gdb.python/python.exp: Test a multi-line command that spawns
21414 interactive Python.
21415 * gdb.base/multi-line-starts-subshell.exp: New file.
21416
563e8d85
YQ
214172014-10-29 Yao Qi <yao@codesourcery.com>
21418
21419 * gdb.base/fileio.exp: Make directories on host.
21420
0ea4d52e
YQ
214212014-10-29 Yao Qi <yao@codesourcery.com>
21422
21423 * gdb.base/fileio.c (test_write): Close the file.
21424
7f5ef605
PA
214252014-10-28 Pedro Alves <palves@redhat.com>
21426
21427 PR gdb/12623
21428 * gdb.base/sigstep.c (no_handler): New global.
21429 (main): If 'no_handler is true, set the signal handlers to
21430 SIG_IGN.
21431 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21432 with_sw_watch and no_handler parameters. Handle them.
21433 (top level) <stepping over handler when stopped at a breakpoint
21434 test>: Add a test axis for testing with a software watchpoint, and
21435 another for testing with the signal handler set to SIG_IGN.
21436 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21437 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21438
abbdbd03
PA
214392014-10-28 Pedro Alves <palves@redhat.com>
21440
21441 PR gdb/17511
21442 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21443 * gdb.base/sigstep.exp (other_handler_location): New global.
21444 (advance): Support stepping into the signal handler, and running
21445 commands while in the handler.
21446 (in_handler_map): New global.
21447 (top level): In the advance test, add combinations for getting
21448 into the handler with stepping commands, and for running commands
21449 in the handler. Add comment descripting the advancei tests.
21450
1df4399f
PA
214512014-10-28 Pedro Alves <palves@redhat.com>
21452
21453 * gdb.base/sigstep.exp: Use build_executable instead of
21454 prepare_for_testing.
21455 (top level): Move code that starts GDB, runs to main and creates a
21456 display to ...
21457 (restart): ... this new procedure.
21458 (top level): Move backtrace from signal handler test to ...
21459 (validate_backtrace): ... this new procedure.
21460 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21461 with_test_prefix. Always restart GDB.
21462 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21463 with_test_prefix. Always restart GDB. No need to delete
21464 breakpoints after the test.
21465 (test_skip_handler): Remove prefix parameter.
21466 (skip_over_handler, breakpoint_to_handler)
21467 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21468 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21469 restart GDB. No need to delete breakpoints after the test.
21470 (top level): Use foreach to call the test procedures with
21471 different commands.
21472
a5b6e449
PA
214732014-10-28 Pedro Alves <palves@redhat.com>
21474
21475 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21476 instead of GNATS numbers.
21477 * gdb.base/sigbpt.exp: Likewise.
21478 * gdb.base/siginfo.exp: Likewise.
21479 * gdb.base/sigstep.exp: Likewise.
21480
e5f8a7cc
PA
214812014-10-27 Pedro Alves <palves@redhat.com>
21482
21483 * gdb.base/sigstep.c (dummy): New global.
21484 (main): Issue a couple writes to the new global.
21485 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21486 procedures.
21487 (skip_over_handler): Use test_skip_handler.
21488 (top level): Call skip_over_handler for stepi and nexti too.
21489 (breakpoint_over_handler): Use test_skip_handler.
21490 (top level): Call breakpoint_over_handler for stepi and nexti too.
21491
763905a3
YQ
214922014-10-27 Yao Qi <yao@codesourcery.com>
21493
21494 * gdb.trace/tfile.c (adjust_function_address)
21495 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21496 function descriptor.
21497
6f259a23
DB
214982014-10-24 Don Breazeal <donb@codesourcery.com>
21499
21500 * gdb.base/foll-fork.exp (test_follow_fork,
21501 catch_fork_child_follow): Check for updated fork messages emitted
21502 from infrun.c.
21503 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21504 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21505 vfork_and_exec_child_follow_through_step): Check for updated vfork
21506 messages emitted from infrun.c.
21507
09dd9a69
PA
215082014-10-24 Pedro Alves <palves@redhat.com>
21509
21510 * gdb.base/corefile.exp: Remove references to ultrix.
21511 * gdb.base/interrupt.exp: Likewise.
21512 * gdb.base/whatis.exp: Likewise.
21513 * gdb.gdb/selftest.exp: Likewise.
21514 * gdb.threads/manythreads.exp: Likewise.
21515 * gdb.threads/print-threads.exp: Likewise.
21516 * gdb.threads/pthreads.exp:: Likewise.
21517 * gdb.threads/schedlock.exp: Likewise.
21518
3433cfa5
SC
215192014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21520
21521 * gdb.cp/non-trivial-retval.cc: Add a test case.
21522 * gdb.cp/non-trivial-retval.exp: Add a test.
21523
092f880b
YQ
215242014-10-20 Yao Qi <yao@codesourcery.com>
21525
21526 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21527 * gdb.python/py-objfile-script-gdb.py: New file.
21528 * gdb.python/py-objfile-script.exp: Update reference to
21529 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21530 of remote_download. Remove the dest file.
21531
acbdb7f3
YQ
215322014-10-20 Yao Qi <yao@codesourcery.com>
21533
21534 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21535 * gdb.base/step-line.exp: Likewise.
21536 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21537 * gdb.dwarf2/dw2-basic.exp: Likewise.
21538 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21539 * gdb.dwarf2/dw2-filename.exp: Likewise.
21540 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21541 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21542 * gdb.dwarf2/dw2-producer.exp: Likewise.
21543 * gdb.dwarf2/mac-fileno.exp: Likewise.
21544 * gdb.python/py-frame-args.exp: Likewise.
21545 * gdb.python/py-framefilter.exp: Likewise.
21546 * gdb.python/py-mi.exp: Likewise.
21547 * gdb.python/py-objfile-script.exp: Likewise
21548 * gdb.python/py-pp-integral.exp: Likewise.
21549 * gdb.python/py-pp-re-notag.exp: Likewise.
21550 * gdb.python/py-prettyprint.exp: Likewise.
21551 * gdb.python/py-section-script.exp: Likewise.
21552 * gdb.python/py-typeprint.exp: Likewise.
21553 * gdb.python/py-xmethods.exp: Likewise.
21554 * gdb.stabs/weird.exp: Likewise.
21555 * gdb.xml/tdesc-regs.exp: Likewise.
21556
bd286a29
KCY
215572014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21558
21559 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21560 (out_cu): Use addr_len for the size of addresses.
21561 (out_line): Likewise. Size DW_LNE_set_address instruction
21562 according to addr_len.
21563 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21564 (FUNC): Add START_INSNS to definition.
21565
673dc4a0
YQ
215662014-10-18 Yao Qi <yao@codesourcery.com>
21567
21568 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21569 gdb_has_argv0 return true.
21570 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21571 check [target_info exists noargs], check [gdb_has_argv0]
21572 instead.
21573 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21574 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21575 procedures.
21576
4ffbba72
DE
215772014-10-17 Doug Evans <dje@google.com>
21578
21579 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21580 event.
21581 * gdb.python/py-events.py: Add clear_objfiles event.
21582
d096d8c1
DE
215832014-10-17 Doug Evans <dje@google.com>
21584
21585 * gdb.python/py-objfile.exp: Test progspace attribute.
21586
a80db015
LM
215872014-10-17 Luis Machado <lgustavo@codesourcery.com>
21588
21589 * gdb.guile/scm-breakpoint.exp: Do not assume any
21590 directory separators when matching source file paths.
21591 * gdb.python/py-breakpoint.exp: Likewise.
21592 * gdb.reverse/break-precsave.exp: Likewise.
21593 * gdb.reverse/break-reverse.exp: Likewise.
21594 * gdb.reverse/consecutive-precsave.exp: Likewise.
21595 * gdb.reverse/finish-precsave.exp: Likewise.
21596 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21597 * gdb.reverse/finish-reverse.exp: Likewise.
21598 * gdb.reverse/i386-precsave.exp: Likewise.
21599 * gdb.reverse/i387-env-reverse.exp: Likewise.
21600 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21601 * gdb.reverse/machinestate-precsave.exp: Likewise.
21602 * gdb.reverse/machinestate.exp: Likewise.
21603 * gdb.reverse/sigall-precsave.exp: Likewise.
21604 * gdb.reverse/solib-precsave.exp: Likewise.
21605 * gdb.reverse/step-precsave.exp: Likewise.
21606 * gdb.reverse/until-precsave.exp: Likewise.
21607 * gdb.reverse/watch-precsave.exp: Likewise.
21608 * gdb.reverse/watch-reverse.exp: Likewise.
21609
b22089ab
YQ
216102014-10-17 Yao Qi <yao@codesourcery.com>
21611
21612 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21613 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21614
6c4486e6
PA
216152014-10-17 Pedro Alves <palves@redhat.com>
21616
21617 PR gdb/17471
21618 * gdb.base/bg-execution-repeat.c: New file.
21619 * gdb.base/bg-execution-repeat.exp: New file.
21620
0ff33695
PA
216212014-10-17 Pedro Alves <palves@redhat.com>
21622
21623 PR gdb/17300
21624 * gdb.base/continue-all-already-running.c: New file.
21625 * gdb.base/continue-all-already-running.exp: New file.
21626
6fdebc3d
PA
216272014-10-17 Pedro Alves <palves@redhat.com>
21628
21629 PR gdb/17472
21630 * gdb.base/annota-input-while-running.c: New file.
21631 * gdb.base/annota-input-while-running.exp: New file.
21632
32a8097b
PA
216332014-10-17 Pedro Alves <palves@redhat.com>
21634
21635 * gdb.base/callfuncs.exp: emove references to osf.
21636 * gdb.base/sigall.exp: Likewise.
21637 * gdb.gdb/selftest.exp: Likewise.
21638 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21639 * gdb.mi/non-stop.c: Likewise.
21640 * gdb.mi/pthreads.c: Likewise.
21641 * gdb.reverse/sigall-precsave.exp: Likewise.
21642 * gdb.reverse/sigall-reverse.exp: Likewise.
21643 * gdb.threads/pthreads.c: Likewise.
21644 * gdb.threads/pthreads.exp: Likewise.
21645
7a3517ff
YQ
216462014-10-17 Yao Qi <yao@codesourcery.com>
21647
21648 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21649 check 'target_info exists noargs'.
21650 (test_command_prompt_position): Likewise.
21651 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21652 Remove "set args".
21653 (progvar_simple_while_test): Likewise.
21654 (progvar_complex_if_while_test): Likewise.
21655 (if_while_breakpoint_command_test): Likewise.
21656 (infrun_breakpoint_command_test): Likewise.
21657 (breakpoint_command_test): Likewise.
21658 (watchpoint_command_test): Likewise.
21659 (bp_deleted_in_command_test): Likewise.
21660 (temporary_breakpoint_commands): Likewise.
21661
bb99c472
YQ
216622014-10-16 Yao Qi <yao@codesourcery.com>
21663
21664 * gdb.base/remotetimeout.exp: Remove noargs checking.
21665
7c16b83e
PA
216662014-10-15 Pedro Alves <palves@redhat.com>
21667
21668 PR breakpoints/9649
21669 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21670 * gdb.base/breakpoint-in-ro-region.exp
21671 (probe_target_hardware_step): New procedure.
21672 (top level): Probe hardware stepping and hardware breakpoint
21673 support. Test stepping through a read-only region, with both
21674 "breakpoint auto-hw" on and off and both "always-inserted" on and
21675 off.
21676
35a49624
IB
216772014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21678
21679 * gdb.dlang/demangle.exp: Update for demangling changes.
21680
2d1c107c
SC
216812014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21682
21683 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21684 * gdb.cp/non-trivial-retval.exp: Add new tests.
21685
778811d5
SC
216862014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21687
21688 PR c++/13403
21689 PR c++/15154
21690 * gdb.cp/non-trivial-retval.cc: New file.
21691 * gdb.cp/non-trivial-retval.exp: New file.
21692
10c5f0a8
YQ
216932014-10-15 Yao Qi <yao@codesourcery.com>
21694
21695 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21696 remote host.
21697
65d7b369
YQ
216982014-10-15 Yao Qi <yao@codesourcery.com>
21699
21700 * gdb.python/py-symbol.exp: Match file base name if host is
21701 remote, otherwise match file name with dir name.
21702 * gdb.python/py-symtab.exp: Likewise.
21703 * gdb.python/python.exp: Likewise.
21704
46dc1394
YQ
217052014-10-15 Yao Qi <yao@codesourcery.com>
21706
21707 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21708 pattern.
21709 * gdb.python/py-symtab.exp: Likewise.
21710 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21711 locationn.
21712
c40cc657
JB
217132014-10-14 Joel Brobecker <brobecker@adacore.com>
21714
21715 * gdb.ada/addr_arith: New testcase.
21716
2abf49e1
MR
217172014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21718
21719 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21720 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21721 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21722 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21723
f7088df3
SDJ
217242014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21725
21726 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21727 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21728 * gdb.arch/stap-eval-lang-ada.exp: New file.
21729
4dc06805
YQ
217302014-10-14 Yao Qi <yao@codesourcery.com>
21731
21732 * gdb.mi/mi-var-child.c (nothing1): New function.
21733 (nothing2): New function.
21734 (do_children_tests): Set function pointers by nothing1 and
21735 nothing2.
21736 * gdb.mi/mi-var-child.exp: Step over new added statements.
21737 Update test to match the new output.
21738 * gdb.mi/var-cmd.c (nothing1): New function.
21739 (nothing2): New function.
21740 (do_children_tests): Set function pointers by nothing1 and
21741 nothing2.
21742 * gdb.mi/mi-var-display.exp: Update test to match output.
21743 Step to the line specified by $line_dct_nothing.
21744 Increase the number of lines to step.
21745
46a93de2
YQ
217462014-10-14 Yao Qi <yao@codesourcery.com>
21747
21748 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21749 tests.
21750 * gdb.mi/mi2-var-child.exp: Likewise.
21751
14ea52ee
DE
217522014-10-13 Doug Evans <dje@google.com>
21753
21754 * gdb.python/py-objfile.exp: Change name of file name test.
21755
e5c6e92b
DE
217562014-10-13 Doug Evans <dje@google.com>
21757
21758 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21759 from the start of the CU.
21760
c780cc2f
JK
217612014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21762 Yao Qi <yao@codesourcery.com>
21763
21764 Fix "save breakpoints" for "catch" command.
21765 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21766 Remove -nonewline. Match also the added "main" line.
21767
99894e11
JK
217682014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21769
21770 Fix "save breakpoints" for "disable $bpnum" command.
21771 * gdb.base/save-bp.c (main): Add label.
21772 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21773
6e1ac5a3
JK
217742014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21775
21776 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21777
754dd2b0
YQ
217782014-10-11 Yao Qi <yao@codesourcery.com>
21779
21780 * gdb.server/server-kill.exp: Execute command
21781 "set remote trace-status-packet on" before "tstatus".
21782
f90183d7
YQ
217832014-10-11 Yao Qi <yao@codesourcery.com>
21784
21785 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21786 (main): Call getppid.
21787 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21788 and continue to it. Read variable "server_pid".
21789
bf40a607
YQ
217902014-10-11 Yao Qi <yao@codesourcery.com>
21791
21792 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21793
052ca370
YQ
217942014-10-11 Yao Qi <yao@codesourcery.com>
21795
21796 * gdb.threads/thread-find.exp: Don't execute command
21797 "info threads".
21798 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21799 * gdb.threads/linux-dp.exp: Don't check the condition
21800 $threads_created equals to zero.
21801
3831839c
PA
218022014-10-10 Pedro Alves <palves@redhat.com>
21803
21804 * gdb.base/bigcore.exp: Remove references to IRIX.
21805 * gdb.base/funcargs.exp: Likewise.
21806 * gdb.base/interrupt.exp: Likewise.
21807 * gdb.base/mips_pro.exp: Likewise.
21808 * gdb.base/nodebug.exp: Likewise.
21809 * gdb.base/setvar.exp: Likewise.
21810 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21811
8b9a549d
PA
218122014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21813 Pedro Alves <palves@redhat.com>
21814
21815 PR symtab/14466
21816 * gdb.base/vdso-warning.c: New file.
21817 * gdb.base/vdso-warning.exp: New file.
21818
d48ba5e8
DE
218192014-10-02 Doug Evans <dje@google.com>
21820
21821 * gdb.base/structs.c (main): Don't run forever.
21822
2278c276
PA
218232014-10-02 Pedro Alves <palves@redhat.com>
21824
21825 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21826 (top level) <stop threads 1, stop threads 2>: Use it.
21827
b57bacec
PA
218282014-10-02 Pedro Alves <palves@redhat.com>
21829
21830 * gdb.threads/break-while-running.exp (test): Add new
21831 'update_thread_list' argument. Skip "info threads" if false.
21832 (top level): Add new 'update_thread_list' axis.
21833
13fd3ff3
PA
218342014-10-02 Pedro Alves <palves@redhat.com>
21835
21836 PR breakpoints/17431
21837 * gdb.base/execl-update-breakpoints.c: New file.
21838 * gdb.base/execl-update-breakpoints.exp: New file.
21839
0fec99e8
PA
218402014-10-01 Pedro Alves <palves@redhat.com>
21841
21842 * gdb.base/breakpoint-in-ro-region.c: New file.
21843 * gdb.base/breakpoint-in-ro-region.exp: New file.
21844
2ddf4301
SM
218452014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21846
21847 * gdb.mi/mi-exit-code.exp: New file.
21848 * gdb.mi/mi-exit-code.c: New file.
21849
6a5f3f43
YQ
218502014-09-30 Yao Qi <yao@codesourcery.com>
21851
21852 * lib/prelink-support.exp (build_executable_own_libs): Error if
21853 the target isn't native.
21854
345bcc73
YQ
218552014-09-30 Yao Qi <yao@codesourcery.com>
21856
21857 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21858 false.
21859
a25a5a45
PA
218602014-09-22 Pedro Alves <palves@redhat.com>
21861
21862 * gdb.threads/break-while-running.exp: New file.
21863 * gdb.threads/break-while-running.c: New file.
21864
00ba3162
YQ
218652014-09-19 Yao Qi <yao@codesourcery.com>
21866
21867 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21868 Invoke test. Restart GDB with --readnow and invoke test again.
21869
c3b7b696
YQ
218702014-09-19 Yao Qi <yao@codesourcery.com>
21871
21872 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21873 proc set_breakpoint_on_gcd_function. Invoke
21874 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21875 invoke set_breakpoint_on_gcd_function again.
21876
2b4fd423
DE
218772014-09-18 Doug Evans <dje@google.com>
21878
21879 * gdb.dwarf2/symtab-producer.exp: New file.
21880
a5947601
SDJ
218812014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21882
21883 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21884 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21885 * gdb.base/global-var-nested-by-dso.c: Likewise.
21886 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21887
91c19059
SDJ
218882014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21889 Pedro Alves <palves@redhat.com>
21890
21891 * gdb.base/watch-bitfields.exp: Pass string other than test file
21892 name to prepare_for_testing.
21893 (watch): New procedure.
21894 (expect_watchpoint): Use with_test_prefix.
21895 (top level): Factor out tests to ...
21896 (test_watch_location, test_regular_watch): ... these new
21897 procedures, and use with_test_prefix and gdb_continue_to_end.
21898
bb9d5f81
PP
218992014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21900
21901 PR breakpoints/12526
21902 * gdb.base/watch-bitfields.exp: New file.
21903 * gdb.base/watch-bitfields.c: New file.
21904
635856f5
PA
219052014-09-16 Pedro Alves <palves@redhat.com>
21906
21907 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21908 software and hardware addresses, not software address against
21909 itself.
21910
7280ceea
PA
219112014-09-16 Pedro Alves <palves@redhat.com>
21912
21913 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21914 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21915
428b16bd
PA
219162014-09-16 Pedro Alves <palves@redhat.com>
21917
21918 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21919 files.
21920 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21921 "*-*-vxworks*" throughout.
21922 * gdb.base/break.exp: Likewise.
21923 * gdb.base/default.exp: Likewise.
21924 * gdb.base/scope.exp: Likewise.
21925 * gdb.base/sepdebug.exp: Likewise.
21926 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21927 throughout.
21928 * gdb.base/run.c: Likewise.
21929 * gdb.base/sepdebug.c: Likewise.
21930 * gdb.hp/gdb.aCC/run.c: Likewise.
21931 * gdb.reverse/until-reverse.c: Likewise.
21932 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21933
666d413c
YQ
219342014-09-16 Yao Qi <yao@codesourcery.com>
21935
21936 * boards/local-remote-host-native.exp: New file.
21937
57cbd724
DE
219382014-09-14 Doug Evans <xdje42@gmail.com>
21939
21940 * gdb.threads/queue-signal.c (thread_count): New variable.
21941 (thread_count_mutex, thread_count_condvar): New variables.
21942 (incr_thread_count, wait_all_threads_running): New functions.
21943 (main): Wait for all threads to be in their thread functions.
21944
81219e53
DE
219452014-09-13 Doug Evans <xdje42@gmail.com>
21946
21947 * gdb.threads/queue-signal.c: New file.
21948 * gdb.threads/queue-signal.exp: New file.
21949
3714cea7
DE
219502014-09-13 Doug Evans <xdje42@gmail.com>
21951
21952 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21953 be consistent with what default_gdb_init uses.
21954 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21955 the plain text of the prompt. Add some logging printfs.
21956 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21957
fa43b1d7
PA
219582014-09-12 Pedro Alves <palves@redhat.com>
21959
21960 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21961 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21962 * gdb.arch/i386-size-overlap.exp: Likewise.
21963 * gdb.arch/i386-size.exp: Likewise.
21964 * gdb.arch/i386-unwind.exp: Likewise.
21965 * gdb.base/a2-run.exp: Likewise.
21966 * gdb.base/break.exp: Likewise.
21967 * gdb.base/charset.exp: Likewise.
21968 * gdb.base/chng-syms.exp: Likewise.
21969 * gdb.base/commands.exp: Likewise.
21970 * gdb.base/dbx.exp: Likewise.
21971 * gdb.base/find.exp: Likewise.
21972 * gdb.base/funcargs.exp: Likewise.
21973 * gdb.base/jit-simple.exp: Likewise.
21974 * gdb.base/reread.exp: Likewise.
21975 * gdb.base/sepdebug.exp: Likewise.
21976 * gdb.base/step-bt.exp: Likewise.
21977 * gdb.cp/mb-inline.exp: Likewise.
21978 * gdb.cp/mb-templates.exp: Likewise.
21979 * gdb.objc/basicclass.exp: Likewise.
21980 * gdb.threads/killed.exp: Likewise.
21981
9d9bf2df
EBM
219822014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21983
21984 PR tdep/17379
21985 * gdb.arch/powerpc-stackless.S: New file.
21986 * gdb.arch/powerpc-stackless.exp: New file.
21987
1cf2f1b0
JK
219882014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21989
21990 * gdb.base/attach.c: Include unistd.h.
21991 (main): Call alarm. Add label postloop.
21992 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21993 gdb_breakpoint, gdb_continue_to_breakpoint.
21994 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21995
98880d46
PA
219962014-09-11 Pedro Alves <palves@redhat.com>
21997
21998 PR gdb/17347
21999 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
22000 * gdb.base/attach.exp (test_command_line_attach_run): New
22001 procedure.
22002 (top level): Call it.
22003
4c92ff2c
PA
220042014-09-11 Pedro Alves <palves@redhat.com>
22005
22006 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
22007 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
22008 (do_command_attach_tests): Use spawn_wait_for_attach.
22009 * gdb.base/solib-overlap.exp: Likewise.
22010 * gdb.multi/multi-attach.exp: Likewise.
22011 * gdb.python/py-prompt.exp: Likewise.
22012 * gdb.python/py-sync-interp.exp: Likewise.
22013 * gdb.server/ext-attach.exp: Likewise.
22014
3adc1a7d
GKB
220152014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
22016
22017 * gdb.fortran/array-element.exp: Remove unexpected "continue"
22018 command in testcase. Simplify testcase.
22019
96334934
JB
220202014-09-10 Joel Brobecker <brobecker@adacore.com>
22021
22022 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
22023
eb479039
JB
220242014-09-10 Joel Brobecker <brobecker@adacore.com>
22025
22026 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
22027
deede10c
JB
220282014-09-10 Joel Brobecker <brobecker@adacore.com>
22029
22030 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
22031
7828a5f5
JB
220322014-09-10 Joel Brobecker <brobecker@adacore.com>
22033
22034 * gdb.dwarf2/dynarr-ptr.c: New file.
22035 * gdb.dwarf2/dynarr-ptr.exp: New file.
22036
33aeebcf
MR
220372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22038
22039 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
22040 of 30 rather than hardcoding 120 for a slow test case. Take the
22041 `gdb,timeout' target setting into account for this calculation.
22042 Don't extend the timeout for the test cases that don't need it.
22043
7b415901
MR
220442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22045
22046 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22047 a factor of 2 for a slow test case. Take the `gdb,timeout'
22048 target setting into account for this calculation.
22049 * gdb.reverse/until-precsave.exp: Increase the timeout by
22050 a factor of 15 and 3 respectively rather than adding 120
22051 for a pair of slow test cases. Take the `gdb,timeout'
22052 target setting into account for this calculation.
22053
4a40f85a
MR
220542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22055
22056 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22057 timeout, don't pass one down to gdb_expect.
22058 (gdb_expect): Rework timeout selection.
22059
09635af7
MR
220602014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22061
22062 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22063 exception on timeout.
22064 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22065 (gdbserver_start_extended): Catch any `gdbserver_start' error
22066 exceptions.
22067 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22068 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22069 `gdbserver_gdb_load' error exceptions.
22070
2bdd10b7
MR
220712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22072
22073 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22074 120 on waiting for the TCP socket to open.
22075
316935f0
DE
220762014-09-09 Doug Evans <xdje42@gmail.com>
22077
22078 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22079 _caller_matches, _any_caller_is, _any_caller_matches.
22080
83740597
DE
220812014-09-09 Doug Evans <xdje42@gmail.com>
22082
22083 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22084
4c122fc3
YQ
220852014-09-09 Yao Qi <yao@codesourcery.com>
22086
22087 * gdb.mi/mi-var-display.exp: Set print symbol off.
22088
a9f116cb
GKB
220892014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22090
22091 PR gdb/17035
22092 * gdb.base/commands.exp: Add tests to verify user-defined
22093 commands with empty bodies.
22094 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22095 python commands in `show user command`.
22096 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22097 scheme commands in `show user command`.
22098
c75bd3a2
JK
220992014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22100
22101 PR python/17355
22102 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22103 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22104 * gdb.python/py-framefilter-invalidarg.exp: New file.
22105 * gdb.python/py-framefilter-invalidarg.py: New file.
22106
faa42425
DE
221072014-09-06 Doug Evans <xdje42@gmail.com>
22108
22109 PR 15276
22110 * gdb.python/py-caller-is.c: New file.
22111 * gdb.python/py-caller-is.exp: New file.
22112
474ca4f6
SDJ
221132014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22114
22115 PR gdb/17235
22116 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22117 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22118
eb0b0463
SDJ
221192014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22120
22121 PR fortran/17237
22122 * gdb.fortran/print-formatted.exp: New file.
22123 * gdb.fortran/print-formatted.f90: Likewise.
22124
5f3b99cf
SS
221252014-09-03 Sasha Smundak <asmundak@google.com>
22126
22127 * gdb.python/py-frame.exp: Test Frame.read_register.
22128
7d793aa9
SDJ
221292014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22130
22131 PR python/16699
22132 * gdb.python/py-completion.exp: New file.
22133 * gdb.python/py-completion.py: Likewise.
22134
fb0576e9
DE
221352014-08-28 Doug Evans <dje@google.com>
22136
22137 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22138 eax,etc. are live with values set by gdb and thus the compiler can't
22139 use them.
22140 * gdb.arch/i386-pseudo.c (main): Ditto.
22141
ee92b0dd
DE
221422014-08-27 Doug Evans <dje@google.com>
22143
22144 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22145
6649db35
DE
221462014-08-25 Doug Evans <dje@google.com>
22147
22148 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22149 (main): Ditto.
22150
564b7600
DE
221512014-08-25 Doug Evans <dje@google.com>
22152
22153 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22154
3881fb67
YQ
221552014-08-24 Yao Qi <yao@codesourcery.com>
22156
22157 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22158 symbol off.
22159 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22160
a05a36a5
DE
221612014-08-22 Doug Evans <dje@google.com>
22162
22163 PR 17276
22164 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22165 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22166 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22167
7c343b48
YQ
221682014-08-22 Yao Qi <yao@codesourcery.com>
22169
22170 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22171 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22172 * gdb.python/python.exp: Likewise. Use .py file on the host
22173 instead of the build.
22174
22fd09ae
JK
221752014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22176
22177 * gdb.threads/gcore-stale-thread.c: New file.
22178 * gdb.threads/gcore-stale-thread.exp: New file.
22179
a8454a7c
PA
221802014-08-21 Pedro Alves <palves@redhat.com>
22181
22182 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22183 * gdb.base/gcore-relro-pie.exp: Likewise.
22184 * gdb.base/gcore-relro.exp: Likewise.
22185 * gdb.base/gcore.exp: Likewise.
22186 * gdb.base/print-symbol-loading.exp: Likewise.
22187 * gdb.threads/gcore-thread.exp: Likewise.
22188 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22189
2a31c623
PA
221902014-08-20 Pedro Alves <palves@redhat.com>
22191 Jan Kratochvil <jan.kratochvil@redhat.com>
22192
22193 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22194 configure.
22195 (EXPECT): Handle READ1 being set.
22196 (all): Depend on EXTRA_RULES.
22197 (check-read1, expect-read1, read1.so, read1): New rules.
22198 * README (Testsuite Parameters): Document the READ1 make variable.
22199 (Race detection): New section.
22200 * configure: Regenerate.
22201 * configure.ac: If build==host==target, and running under a
22202 GNU/glibc system, add read1 to the extra Makefile rules.
22203 (EXTRA_RULES): AC_SUBST it.
22204 * lib/read1.c: New file.
22205
d36430db
JB
222062014-08-20 Joel Brobecker <brobecker@adacore.com>
22207
22208 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22209 the handling of variables declared as a typedef to an array
22210 which a DW_AT_data_location attribute.
22211
9a0dc9e3
PA
222122014-08-19 Andrew Burgess <aburgess@broadcom.com>
22213 Pedro Alves <palves@redhat.com>
22214
22215 PR symtab/14604
22216 PR symtab/14605
22217 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22218 gdb_test.
22219
0718a8da
PA
222202014-08-19 Pedro Alves <palves@redhat.com>
22221
22222 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22223
13b448cd
YQ
222242014-08-19 Yao Qi <yao@codesourcery.com>
22225
22226 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22227 right line.
22228
1cbf5077
DB
222292014-08-18 David Blaikie <dblaikie@gmail.com>
22230
22231 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22232
bf0fae19
JB
222332014-08-18 Joel Brobecker <brobecker@adacore.com>
22234
22235 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22236 attribute in array range.
22237
3c8c5dcc
JB
222382014-08-18 Joel Brobecker <brobecker@adacore.com>
22239
22240 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22241
e66d4446
SC
222422014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22243
22244 PR c++/17132
22245 * gdb.cp/pr17132.cc: New file.
22246 * gdb.cp/pr17132.exp: New file.
22247
940df408
SC
222482014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22249
22250 * gdb.python/py-xmethods.py (A_getarrayind)
22251 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22252 Use 'print' with function call syntax.
22253 (E_method_matcher.match): Fix tab vs space indentation mixup.
22254
ebcc6c3a
YQ
222552014-08-15 Yao Qi <yao@codesourcery.com>
22256
22257 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22258 false.
22259
775e0f04
YQ
222602014-08-15 Yao Qi <yao@codesourcery.com>
22261
22262 * gdb.cp/casts.exp: Set print symbol off.
22263 * gdb.cp/class2.exp: Likewise.
22264 * gdb.cp/overload.exp: Likewise.
22265 * gdb.cp/templates.exp: Likewise.
22266
d769e349
DE
222672014-08-11 Doug Evans <dje@google.com>
22268
22269 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22270 (test_load_shlib): Update.
22271
20c6f1e1
YQ
222722014-08-09 Yao Qi <yao@codesourcery.com>
22273
22274 * gdb.base/display.exp: Invoke is_address_zero_readable.
22275 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22276 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22277 * gdb.base/hbreak-unmapped.exp: Return if
22278 is_address_zero_readable returns true.
22279 * gdb.base/signest.exp: Likewise.
22280 * gdb.base/signull.exp: Likewise.
22281 * gdb.base/sigbpt.exp: Likewise.
22282 * gdb.guile/scm-disasm.exp: Do the test if
22283 is_address_zero_readable returns false.
22284 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22285 * gdb.python/py-arch.exp: Likewise.
22286 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22287 * lib/gdb.exp (is_address_zero_readable): New proc.
22288
5792e8e3
YQ
222892014-08-09 Yao Qi <yao@codesourcery.com>
22290
22291 PR testsuite/13443
22292 * gdb.mi/mi-var-display.exp: Make test messages unique.
22293
3cecbbbe
TT
222942014-08-04 Tom Tromey <tromey@redhat.com>
22295
22296 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22297 target 0".
22298
00b51ff5
TT
222992014-08-04 Tom Tromey <tromey@redhat.com>
22300
22301 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22302 "target_resume".
22303
6908c509
JB
223042014-08-01 Joel Brobecker <brobecker@adacore.com>
22305
22306 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22307 inner_vla_struct_object_size.
22308 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22309 as xfail.
22310
cc6563d2
PA
223112014-07-30 Pedro Alves <palves@redhat.com>
22312
22313 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22314 comment.
22315
7e09a223
YQ
223162014-07-29 Yao Qi <yao@codesourcery.com>
22317
22318 PR gdb/17206
22319 * gdb.base/until-nodebug.exp: New.
22320
7ebdbe92
DE
223212014-07-28 Doug Evans <xdje42@gmail.com>
22322
22323 PR guile/17203
22324 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22325 previously existing parameter, and previously ambiguously spelled
22326 parameter.
22327
fdb1adc6
WN
223282014-07-28 Will Newton <will.newton@linaro.org>
22329
22330 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22331
186fcde0
DE
223322014-07-26 Ludovic Courtès <ludo@gnu.org>
22333 Doug Evans <xdje42@gmail.com>
22334
22335 PR guile/17146
22336 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22337
70509625
PA
223382014-07-25 Pedro Alves <palves@redhat.com>
22339
22340 * gdb.threads/signal-command-handle-nopass.c: New file.
22341 * gdb.threads/signal-command-handle-nopass.exp: New file.
22342 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22343 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22344 * gdb.threads/signal-delivered-right-thread.c: New file.
22345 * gdb.threads/signal-delivered-right-thread.exp: New file.
22346
c3f814a1
PA
223472014-07-25 Pedro Alves <palves@redhat.com>
22348
22349 * gdb.base/double-prompt-target-event-error.exp
22350 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22351 match.
22352 (cancel_pagination_in_target_event): Rework double prompt
22353 detection.
22354 * gdb.base/paginate-after-ctrl-c-running.exp
22355 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22356 <return>' match.
22357 * gdb.base/paginate-bg-execution.exp
22358 (test_bg_execution_pagination_return)
22359 (test_bg_execution_pagination_cancel): Remove '-notransfer
22360 <return>' matches.
22361 * gdb.base/paginate-execution-startup.exp
22362 (test_fg_execution_pagination_return)
22363 (test_fg_execution_pagination_cancel): Remove '-notransfer
22364 <return>' matches.
22365 * gdb.base/paginate-inferior-exit.exp
22366 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22367 match.
22368 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22369 * lib/gdb.exp (pagination_prompt): Run text through
22370 string_to_regexp.
22371 (gdb_test_multiple): Match $pagination_prompt instead of
22372 "<return>".
22373 (string_to_regexp): Move to lib/gdb-utils.exp.
22374
e214cf6c
JK
223752014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22376
22377 * gdb.arch/amd64-entry-value-paramref.S: New file.
22378 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22379 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22380 * gdb.arch/amd64-optimout-repeat.S: New file.
22381 * gdb.arch/amd64-optimout-repeat.c: New file.
22382 * gdb.arch/amd64-optimout-repeat.exp: New file.
22383
17d0c5c8
JK
223842014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22385
22386 PR gdb/17170
22387 * gdb.base/statistics.exp: New file.
22388
b8b8facf
DE
223892014-07-17 Doug Evans <dje@google.com>
22390
74b49205 22391 PR gdb/17170
b8b8facf
DE
22392 * gdb.base/maint.exp: Update testing of per-command stats.
22393
1b5d0ab3
PA
223942014-07-16 Pedro Alves <palves@redhat.com>
22395
22396 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22397 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22398 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22399 (tfile_write_buf): New functions.
22400 (add_memory_block): Rewrite using the above.
22401 (adjust_function_address): New function.
22402 (FUNCTION_ADDRESS): New macro.
22403 (write_basic_trace_file): Remove short_x local, and use
22404 tfile_write_16. Change type of func_addr local to unsigned long
22405 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22406 here. Cast argument of add_memory_block to char pointer.
22407 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22408 (main): Remove parameters.
22409 * gdb.trace/tfile.exp: Remove nowarnings.
22410
4d974e88
SM
224112014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22412
22413 * gdb.base/debug-expr.exp: Test string evaluation with
22414 "debug expression" on.
22415
41e99568
PA
224162014-07-15 Pedro Alves <palves@redhat.com>
22417
22418 * gdb.base/reread.exp: Use clean_restart.
22419
487d9753
PL
224202014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22421
22422 * gdb.arch/avr-flash-qualifer.c: New.
22423 * gdb.arch/avr-flash-qualifer.exp: New.
22424
cc1c52ad
PA
224252014-07-14 Pedro Alves <palves@redhat.com>
22426
22427 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22428 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22429
1e973570
PA
224302014-07-14 Pedro Alves <palves@redhat.com>
22431
22432 * gdb.base/double-prompt-target-event-error.c: New file.
22433 * gdb.base/double-prompt-target-event-error.exp: New file.
22434
93d6eb10
PA
224352014-07-14 Pedro Alves <palves@redhat.com>
22436
22437 PR gdb/17072
22438 * gdb.base/paginate-inferior-exit.c: New file.
22439 * gdb.base/paginate-inferior-exit.exp: New file.
22440
0017922d
PA
224412014-07-14 Pedro Alves <palves@redhat.com>
22442
22443 PR gdb/17072
22444 * gdb.base/paginate-bg-execution.c: New file.
22445 * gdb.base/paginate-bg-execution.exp: New file.
22446
94696ad3
PA
224472014-07-14 Pedro Alves <palves@redhat.com>
22448
22449 PR gdb/17072
22450 * gdb.base/paginate-execution-startup.c: New file.
22451 * gdb.base/paginate-execution-startup.exp: New file.
22452 * lib/gdb.exp (pagination_prompt): New global.
22453 (default_gdb_spawn): New procedure, factored out from
22454 default_gdb_spawn.
22455 (default_gdb_start): Adjust to call default_gdb_spawn.
22456 (gdb_spawn): New procedure.
22457
bd293940
PA
224582014-07-14 Pedro Alves <palves@redhat.com>
22459
22460 * lib/gdb.exp (gdb_assert): New procedure.
22461 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22462
c933f875
PA
224632014-07-14 Pedro Alves <palves@redhat.com>
22464
22465 * gdb.base/execution-termios.c: New file.
22466 * gdb.base/execution-termios.exp: New file.
22467
d98b7a16
TT
224682014-07-14 Tom Tromey <tromey@redhat.com>
22469
22470 * gdb.cp/vla-cxx.cc: New file.
22471 * gdb.cp/vla-cxx.exp: New file.
22472
548740d6
TT
224732014-07-14 Tom Tromey <tromey@redhat.com>
22474
22475 * gdb.reverse/rerun-prec.c: New file.
22476 * gdb.reverse/rerun-prec.exp: New file.
22477
a25eb028
MR
224782014-07-12 Maciej W. Rozycki <macro@mips.com>
22479 Maciej W. Rozycki <macro@codesourcery.com>
22480
22481 * lib/gdb-utils.exp: New file.
22482 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22483 inline `gdb_init_command' processing.
22484 (gdb_start_cmd): Likewise.
22485 * lib/mi-support.exp (mi_run_cmd): Likewise.
22486 * README: Document `gdb_init_command' and `gdb_init_commands'.
22487
218c2655
JK
224882014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22489
22490 Fix false FAIL running under a very long directory name.
22491 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22492 and "set print elements 10000". Twice.
22493
5401fde3
YQ
224942014-07-11 Yao Qi <yao@codesourcery.com>
22495
22496 * gdb.base/exprs.exp: "set print symbol off".
22497
e76126e8
PA
224982014-07-11 Pedro Alves <palves@redhat.com>
22499
22500 * gdb.threads/kill.c: New file.
22501 * gdb.threads/kill.exp: New file.
22502
2d6f0de6
YQ
225032014-07-10 Yao Qi <yao@codesourcery.com>
22504
22505 * gdb.trace/tfile.c (write_basic_trace_file)
22506 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22507 address written to trace file.
22508
7180e04a
PA
225092014-07-09 Pedro Alves <palves@redhat.com>
22510
22511 * gdb.base/attach-wait-input.exp: New file.
22512 * gdb.base/attach-wait-input.c: New file.
22513
9a9a7608
AB
225142014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22515
22516 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22517 setting up test structures.
22518 (main): Call new test function.
22519 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22520 test function, continue into test function and walk test
22521 structures.
22522
161ac41e
YQ
225232014-07-02 Yao Qi <yao@codesourcery.com>
22524
22525 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22526 'bar_start' at the beginning of functions 'foo' and 'bar'
22527 respectively.
22528 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22529 instead of 'foo' and 'bar'.
22530
1f267ae3
MM
225312014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22532
22533 * gdb.btrace/segv.exp: New.
22534 * gdb.btrace/segv.c: New.
22535
2b239efb
LM
225362014-07-02 Luis Machado <lgustavo@codesourcery.com>
22537
22538 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22539 instruction.
22540
cf363f18
MW
225412014-06-30 Mark Wielaard <mjw@redhat.com>
22542
22543 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22544 vulture, vilify, villar): New volatile array constants.
22545 (vindictive, vegetation): New const volatile array constants.
22546 * gdb.base/volatile.exp: Test volatile and const volatile array
22547 types.
22548
aebf9d24
AA
225492014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22550
22551 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22552 target lacks support for awatch, rwatch, or hbreak.
22553
b67a2c6f
YQ
225542014-06-27 Yao Qi <yao@codesourcery.com>
22555
22556 * gdb.multi/dummy-frame-restore.exp: New.
22557 * gdb.multi/dummy-frame-restore.c: New.
22558
aef92902
MM
225592014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22560
22561 * gdb.btrace/gcore.exp: New.
22562
8e9db26e
PA
225632014-06-23 Pedro Alves <palves@redhat.com>
22564
22565 * gdb.base/watchpoint-reuse-slot.c: New file.
22566 * gdb.base/watchpoint-reuse-slot.exp: New file.
22567
70afc5b7
SC
225682014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22569
22570 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22571 progspace's filename in 'info', 'enable' and 'disable' command
22572 tests.
22573
b972bd9c
JK
225742014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22575
22576 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22577 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22578 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22579
125f8a3d
GB
225802014-06-20 Gary Benson <gbenson@redhat.com>
22581
22582 * gdb.arch/i386-avx.exp: Fix include file location.
22583 * gdb.arch/i386-sse.exp: Likewise.
22584
3ed9baed
IB
225852014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22586
22587 * gdb.dlang/expression.exp: New file.
22588
034f788c
PA
225892014-06-19 Pedro Alves <palves@redhat.com>
22590
22591 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22592 out from ...
22593 (top level): ... here. Iterate running tests under different
22594 scheduler-locking settings.
22595
45371d0c
LM
225962014-06-18 Luis Machado <lgustavo@codesourcery.com>
22597
22598 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22599 to DW_FORM_addr and use non-zero addresses.
22600
5d376983
SC
226012014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22602
22603 PR gdb/17017
22604 * gdb.python/py-xmethods.cc: Add global function call counters and
22605 increment them in their respective functions. Remove "cout"
22606 statements.
22607 * gdb.python/py-xmethods.exp: Make tests check the global function
22608 call counters instead of depending on inferior IO.
22609
a1aa2221
LM
226102014-06-18 Don Breazeal <donb@codesourcery.com>
22611
22612 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22613 Deleted procedure.
22614 (explicit_fork_parent_follow): Deleted procedure.
22615 (explicit_fork_child_follow): Deleted procedure.
22616 (test_follow_fork): New procedure.
22617 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22618 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22619 procedure calls.
22620
0fc05997
YQ
226212014-06-17 Yao Qi <yao@codesourcery.com>
22622
22623 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22624 CP1252.
22625
70795c52
LM
226262014-06-17 Luis Machado <lgustavo@codesourcery.com>
22627
22628 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22629 Initialize ptr and S explicitly.
22630 (skip_type_update_when_not_use_rtti_test): Likewise.
22631
6be47f0c
KS
226322014-06-16 Keith Seitz <keiths@redhat.com>
22633
22634 PR mi/15863
22635 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22636 the inferior is started.
22637
d03de421
PA
226382014-06-16 Pedro Alves <palves@redhat.com>
22639
22640 * gdb.base/break-main-file-remove-fail.c: New file.
22641 * gdb.base/break-main-file-remove-fail.exp: New file.
22642 * gdb.base/break-unload-file.exp: Use build_executable instead of
22643 prepare_for_testing.
22644 (test_break): New parameter "initial_load". Handle it.
22645 (top level): Add initial_load cmdline/file axis.
22646
f9579b99
TT
226472014-06-12 Tom Tromey <tromey@redhat.com>
22648
22649 * gdb.base/completion.exp: Don't use directory name in test.
22650
3657956b
GB
226512014-06-09 Gary Benson <gbenson@redhat.com>
22652
22653 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22654 separate the always-available ANSI-standard signals from the
22655 signals that require checking.
22656 (main): Likewise.
22657 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22658 Likewise.
22659 (main): Likewise.
22660
4186eb54
KS
226612014-06-07 Keith Seitz <keiths@redhat.com>
22662
22663 Revert:
22664 PR c++/16253
22665 * gdb.cp/var-tag.cc: New file.
22666 * gdb.cp/var-tag.exp: New file.
22667 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22668 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22669 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22670 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22671
25326a28 226722014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22673
22674 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22675
829155c9
PA
226762014-06-06 Pedro Alves <palves@redhat.com>
22677
22678 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22679 in target debug output instead of looking at RSP packets,
22680 disabling the test on any target that uses hardware stepping.
22681 Update comments.
22682
61c8d22e
PA
226832014-06-06 Pedro Alves <palves@redhat.com>
22684
22685 * gdb.base/break-unload-file.exp: Fix typo.
22686
d9a47287
YQ
226872014-06-06 Yao Qi <yao@codesourcery.com>
22688
22689 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22690 from "jit_function" to "^jit_function".
22691
e5e01dbf
YQ
226922014-06-06 Yao Qi <yao@codesourcery.com>
22693
22694 * gdb.base/async.c (foo): Add one statement.
22695 * gdb.base/async.exp: Get the next instruction address and
22696 match the output of "nexti" by instruction address. Match
22697 the hex address in the output of "finish".
22698
73ba372c
GB
226992014-06-06 Gary Benson <gbenson@redhat.com>
22700
22701 * gdb.base/call-signals.c: Remove preprocessor conditionals
22702 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22703 SIGSEGV and SIGTERM.
22704 * gdb.base/sigall.c: Likewise.
22705 * gdb.base/unwindonsignal.c: Likewise.
22706 * gdb.reverse/sigall-reverse.c: Likewise.
22707
831517df
YQ
227082014-06-06 Yao Qi <yao@codesourcery.com>
22709
22710 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22711 readable, skip the test.
22712
b8b91e98
YQ
227132014-06-06 Yao Qi <yao@codesourcery.com>
22714
22715 * gdb.threads/staticthreads.c (thread_function): Move the line
22716 setting breakpoint on forward.
22717 * gdb.threads/staticthreads.exp: Update comments.
22718
fb934770
LC
227192014-06-05 Ludovic Courtès <ludo@gnu.org>
22720
22721 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22722 "history-append! type error".
22723
6ef284bd
SM
227242014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22725
22726 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22727 erroneous dprintf expected input.
22728
a872e241
DE
227292014-06-04 Doug Evans <xdje42@gmail.com>
22730
22731 * gdb.guile/scm-generics.exp: Delete.
22732
16f691fb
DE
227332014-06-04 Doug Evans <xdje42@gmail.com>
22734
22735 * gdb.guile/scm-breakpoint.exp: Update.
22736 Add tests for breakpoint registration.
22737
012370f6
TT
227382014-06-04 Tom Tromey <tromey@redhat.com>
22739
22740 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22741 VLA-in-union.
22742 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22743 inner_vla_struct, vla_union types. Initialize objects of those
22744 types and compute their sizes.
22745
9f5a4cef
HZ
227462014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22747 Hui Zhu <hui@codesourcery.com>
22748
22749 * gdb.base/fileio.exp: Add test for shell not available as well as
22750 available.
22751 * gdb.base/fileio.c (test_system): Check for shell twice.
22752
90a45c4d
YQ
227532014-06-04 Yao Qi <yao@codesourcery.com>
22754
22755 * gdb.base/auto-connect-native-target.exp: Remove redundant
22756 space from the regexp pattern.
22757
70017e41
YQ
227582014-06-04 Yao Qi <yao@codesourcery.com>
22759
22760 * gdb.base/default.exp: Replace "child" with "native" in
22761 regexp pattern.
22762
883964a7
SC
227632014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22764
22765 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22766 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22767 * gdb.python/py-xmethods.py: Python script supporting the
22768 new testcase and tests.
22769
ef370185
JB
227702014-06-03 Joel Brobecker <brobecker@adacore.com>
22771 Pedro Alves <palves@redhat.com>
22772
22773 PR breakpoints/17000
22774 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22775 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22776
1e2ccb61
BM
227772014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22778
22779 * gdb.base/subst.exp: Add tests to verify partial path matching
22780 output.
22781
c6ec5ab2
PA
227822014-06-03 Pedro Alves <palves@redhat.com>
22783
22784 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22785 target that doesn't use software single-stepping.
22786
835c559f
PA
227872014-06-03 Pedro Alves <palves@redhat.com>
22788
22789 PR breakpoints/17000
22790 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22791 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22792
06eb1586
DE
227932014-06-02 Doug Evans <xdje42@gmail.com>
22794
22795 * gdb.guile/scm-parameter.exp: New file.
22796
e698b8c4
DE
227972014-06-02 Doug Evans <xdje42@gmail.com>
22798
22799 * gdb.guile/scm-cmd.c: New file.
22800 * gdb.guile/scm-cmd.exp: New file.
22801
ded03782
DE
228022014-06-02 Doug Evans <xdje42@gmail.com>
22803
22804 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22805 pretty-printer lookup.
22806 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22807 (make-pp_s-printer): Call it.
22808 (make-pretty-printer-from-dict): New function.
22809 (lookup-pretty-printer-maker-from-dict): New function.
22810 (*pretty-printer*): Simplify.
22811 (make-objfile-pp_s-printer): New function.
22812 (install-objfile-pretty-printers!): New function.
22813 (make-progspace-pp_s-printer): New function.
22814 (install-progspace-pretty-printers!): New function.
22815 * gdb.guile/scm-progspace.c: New file.
22816 * gdb.guile/scm-progspace.exp: New file.
22817
41fac0cf
PA
228182014-06-02 Pedro Alves <palves@redhat.com>
22819
22820 * gdb.base/dprintf-bp-same-addr.c: New file.
22821 * gdb.base/dprintf-bp-same-addr.exp: New file.
22822
96ae5695
EBM
228232014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22824
22825 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22826 * gdb.arch/powerpc-power.s: Likewise.
22827
da02b3a8
JB
228282014-06-02 Joel Brobecker <brobecker@adacore.com>
22829
22830 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22831
c72b2e7b
YQ
228322014-06-01 Yao Qi <yao@codesourcery.com>
22833
22834 * gdb.base/watchpoint.exp (test_watch_location): Check null
22835 pointer can be dereferenced. If not, do the test, otherwise
22836 skip it.
22837
53e8a631
AB
228382014-05-30 Andrew Burgess <aburgess@broadcom.com>
22839
22840 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22841 results.
22842 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22843
938f0e2f
AB
228442014-05-30 Andrew Burgess <aburgess@broadcom.com>
22845
22846 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22847 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22848 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22849 * gdb.arch/amd64-invalid-stack-top.c: New file.
22850 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22851
9ba6657a
PA
228522014-05-30 Pedro Alves <palves@redhat.com>
22853
22854 PR breakpoints/17000
22855 * gdb.base/sss-bp-on-user-bp.c: New file.
22856 * gdb.base/sss-bp-on-user-bp.exp: New file.
22857
522c09bf
DB
228582014-05-30 David Blaikie <dblaikie@gmail.com>
22859
22860 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22861 gnu_inline semantics via attribute.
22862 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22863 source explicitly specifies the required semantics.
22864
bf4ef81e
MR
228652014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22866
22867 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22868
329ea579
PA
228692014-05-29 Pedro Alves <palves@redhat.com>
22870 Tom Tromey <tromey@redhat.com>
22871
22872 * gdb.base/async-shell.exp: Don't enable target-async.
22873 * gdb.base/async.exp
22874 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22875 parameter. Adjust.
22876 (top level): Don't test with "target-async".
22877 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22878 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22879 * gdb.base/inferior-died.exp: Don't enable target-async.
22880 * gdb.base/interrupt-noterm.exp: Likewise.
22881 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22882 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22883 * gdb.mi/mi-nonstop.exp: Likewise.
22884 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22885 * gdb.mi/mi-nsintrall.exp: Likewise.
22886 * gdb.mi/mi-nsmoribund.exp: Likewise.
22887 * gdb.mi/mi-nsthrexec.exp: Likewise.
22888 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22889 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22890 * gdb.python/py-evsignal.exp: Don't enable target-async.
22891 * gdb.python/py-evthreads.exp: Likewise.
22892 * gdb.python/py-prompt.exp: Likewise.
22893 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22894 * gdb.server/solib-list.exp: Don't enable target-async.
22895 * gdb.threads/thread-specific-bp.exp: Likewise.
22896 * lib/mi-support.exp: Adjust to use mi-async.
22897
fd664c91
PA
228982014-05-29 Pedro Alves <palves@redhat.com>
22899
22900 PR gdb/13860
22901 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22902 reason, even in sync mode.
22903
251bde03
PA
229042014-05-29 Pedro Alves <palves@redhat.com>
22905 Hui Zhu <hui@codesourcery.com>
22906
22907 PR PR15693
22908 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22909 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22910 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22911 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22912
7f3c0343
JB
229132014-05-28 Joel Brobecker <brobecker@adacore.com>
22914
22915 * config/monitor.exp (gdb_target_monitor): Replace use of
22916 "set remotebaud" by "set serial baud".
22917
b2715b27
AW
229182014-05-26 Andy Wingo <wingo@igalia.com>
22919
22920 * gdb.guile/scm-breakpoint.exp:
22921 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22922 properties instead of gdb-object-properties.
22923
498a4489
YQ
229242014-05-26 Yao Qi <yao@codesourcery.com>
22925
22926 * gdb.server/no-thread-db.exp: Specify source file name
22927 explicitly when setting a breakpoint.
22928
589fdceb
MM
229292014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22930
22931 * gdb.btrace/vdso.c: New.
22932 * gdb.btrace/vdso.exp: New.
22933
e9089e05
MM
229342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22935
22936 * gdb.base/gcore.exp (capture_command_output): Move ...
22937 * lib/gdb.exp (capture_command_output): ... here.
22938
67b5c0c1
MM
229392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22940
22941 * gdb.btrace/data.exp: Test memory access during btrace replay.
22942
a2199296
SM
229432014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22944
22945 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22946
17b2616c
PA
229472014-05-21 Pedro Alves <palves@redhat.com>
22948
22949 PR gdb/13860
22950 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22951 (top level): Test that output related to execution commands is
22952 sent to the console with CLI commands, but not with MI commands.
22953 Test that breakpoint events are always mirrored to the console.
22954 Also expect the new source line to be output after a "next" in
22955 async mode too. Make it a pass/fail test.
22956 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22957 output.
22958 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22959
5166082f
PA
229602014-05-21 Pedro Alves <palves@redhat.com>
22961
22962 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22963 Use them to test variations of "list" after reaching a breakpoint.
22964 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22965 Test "list" with listsize 10 after reaching a breakpoint.
22966 * gdb.python/python.exp (decode_line current location line
22967 number): Adjust expected line number.
22968
2f25d70f
SM
229692014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22970
22971 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22972 behavior for $args, pass it directly to "run".
22973
ff604a67
MR
229742014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22975
22976 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22977 30000 to 65536.
22978
6a3cb8e8
PA
229792014-05-21 Pedro Alves <palves@redhat.com>
22980
22981 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22982 auto-connect-native-target off".
22983 * gdb.base/auto-connect-native-target.c: New file.
22984 * gdb.base/auto-connect-native-target.exp: New file.
22985
4ebfc96e
PA
229862014-05-21 Pedro Alves <palves@redhat.com>
22987
22988 * gdb.base/default.exp: Test "target native" instead of "target
22989 child".
22990
36d46afb
MW
229912014-05-21 Mark Wielaard <mjw@redhat.com>
22992
22993 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22994
5876f503
JK
229952014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22996
22997 Fix TLS access for -static -pthread.
22998 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22999 <HAVE_TLS> (thread_function, main): Initialize it.
23000 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
23001 Add clean_restart.
23002 <$have_tls != "">: Check TLSVAR.
23003
0256a6ac
PA
230042014-05-21 Pedro Alves <palves@redhat.com>
23005
23006 * gdb.base/dcache-line-read-error.c: New.
23007 * gdb.base/dcache-line-read-error.exp: New.
23008
936d2992
PA
230092014-05-20 Pedro Alves <palves@redhat.com>
23010
23011 * gdb.base/compare-sections.c: New file.
23012 * gdb.base/compare-sections.exp: New file.
23013
802e8e6d
PA
230142014-05-20 Pedro Alves <palves@redhat.com>
23015
23016 * gdb.base/break-idempotent.c: New file.
23017 * gdb.base/break-idempotent.exp: New file.
23018
e59fa00f
MM
230192014-05-20 Markus Metzger <markus.t.metzger@intel.com>
23020
23021 * gdb.btrace/nohist.exp: New.
23022
8b696e31
YQ
230232014-05-20 Yao Qi <yao@codesourcery.com>
23024
23025 * lib/gdb.exp (gdb_init): Set timeout if test file is under
23026 gdb.reverse directory and gdb_reverse_timeout exists in board
23027 setting.
23028 * README: Document gdb_reverse_timeout.
23029
73c9764f
YQ
230302014-05-20 Yao Qi <yao@codesourcery.com>
23031
23032 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
23033 'test_file_name'. Treat args as a string instead of a list.
23034 (gdb_init): Rename argument 'args' by 'test_file_name'.
23035
f1f4348a
JK
230362014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
23037
23038 * gdb.arch/powerpc-power.exp: New file.
23039 * gdb.arch/powerpc-power.s: New file.
23040
0dbe70ce
DE
230412014-05-16 Doug Evans <dje@google.com>
23042
23043 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
23044 * gdb.base/completion.exp: Check that all expected files exist
23045 before doing file completion.
0dbe70ce 23046
8d551b02
DE
230472014-05-16 Doug Evans <dje@google.com>
23048
23049 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23050 Update.
23051 (do_syscall_tests_without_xml): Update.
23052
73eb7709
PA
230532014-05-16 Pedro Alves <palves@redhat.com>
23054
23055 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23056 instead of "unknown output after running".
23057
3fae92fc
YQ
230582014-05-16 Yao Qi <yao@codesourcery.com>
23059
23060 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23061 file1.txt from host at the end.
23062 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23063
c2b2ccc5
DE
230642014-05-15 Doug Evans <dje@google.com>
23065
23066 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23067 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23068 loading file. Add test for TU lookup.
23069
8c217a4b
SM
230702014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23071
23072 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23073 calling "-exec-arguments" or "set args" before running the
23074 inferior.
23075
3deb39c6
SM
230762014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23077
23078 * lib/mi-support.exp (mi_expect_stop): Expect message for
23079 inferiors that exit with non-zero exit code.
23080
71a79f8c
YQ
230812014-05-14 Yao Qi <yao@codesourcery.com>
23082
23083 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23084 match absolute path on remote host.
23085 (test_file_list_exec_source_files): Remove "/" from the
23086 pattern.
23087
f23fcd46
YQ
230882014-05-14 Yao Qi <yao@codesourcery.com>
23089
23090 * boards/local-remote-host-notty.exp (${board}_file): New
23091 proc.
23092
9404b58f
KM
230932014-05-07 Kyle McMartin <kyle@redhat.com>
23094
23095 Pushed by Joel Brobecker <brobecker@adacore.com>.
23096 * gdb.arch/aarch64-atomic-inst.c: New file.
23097 * gdb.arch/aarch64-atomic-inst.exp: New file.
23098
5e45f04c
YQ
230992014-05-07 Yao Qi <yao@codesourcery.com>
23100
23101 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23102 in current context" too.
23103
c888a17d
KS
231042014-05-05 Keith Seitz <keiths@redhat.com>
23105
23106 * gdb.linespec/ls-dollar.exp: Add test for linespec
23107 file:convenience_variable.
23108
290a839c
YQ
231092014-05-05 Yao Qi <yao@codesourcery.com>
23110
23111 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23112 traceframes into tfile and ctf trace files. Read data from
23113 trace file and test collected data.
23114 (gdb_collect_locals_test): Likewise.
23115 (gdb_unavailable_registers_test): Likewise.
23116 (gdb_unavailable_floats): Likewise.
23117 (gdb_collect_globals_test): Likewise.
23118 (top-level): Append "ctf" to trace_file_targets if GDB
23119 supports.
23120
b5262cd0
YQ
231212014-05-05 Yao Qi <yao@codesourcery.com>
23122
23123 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23124 code to ...
23125 (gdb_collect_args_test_1): ... it. New proc.
23126 (gdb_collect_locals_test): Move some code to ...
23127 (gdb_collect_locals_test_1): ... it. New proc.
23128 (gdb_unavailable_registers_test): Move some code to ...
23129 (gdb_unavailable_registers_test_1): ... it. New proc.
23130 (gdb_unavailable_floats): Move some code to ...
23131 (gdb_unavailable_floats_1): ... it. New proc.
23132
30a1e6cc
SDJ
231332014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23134
23135 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23136 probes to test for bitness recognition.
23137 * gdb.arch/amd64-stap-optional-prefix.exp
23138 (test_probe_value_without_reg): New procedure.
23139 Add code to test for different kinds of bitness.
23140
f33da99a
SDJ
231412014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23142
23143 PR breakpoints/16889
23144 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23145 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23146
5b80f00d
PA
231472014-05-01 Pedro Alves <palves@redhat.com>
23148
23149 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23150 gdb_file_cmd if no file is specified.
23151 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23152 last_loaded_file to set the remote exec-file.
23153
f8c2a73c
PA
231542014-05-01 Pedro Alves <palves@redhat.com>
23155
23156 * boards/local-remote-host.exp: New file.
23157
be6e8ac7
PA
231582014-05-01 Pedro Alves <palves@redhat.com>
23159
23160 * boards/local-remote-host.exp: Rename to ...
23161 * boards/local-remote-host-notty.exp: ... this.
23162
cac0dc8f
JB
231632014-04-28 Joel Brobecker <brobecker@adacore.com>
23164
23165 * gdb.ada/dyn_arrayidx: New testcase.
23166
9730e6cc
YQ
231672014-04-26 Yao Qi <yao@codesourcery.com>
23168
23169 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23170 and compute the length of function main. Save it in
23171 $main_length.
23172 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23173 (top-level): Use gdb_compile to compile objects into
23174 executable and restart GDB. Remove invocation to
23175 prepare_for_testing.
23176
7ae1a6a6
PA
231772014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23178 Pedro Alves <palves@redhat.com>
23179
23180 PR server/16255
23181 * gdb.multi/multi-attach.c: New file.
23182 * gdb.multi/multi-attach.exp: New file.
23183
4082afcc
PA
231842014-04-25 Pedro Alves <palves@redhat.com>
23185
23186 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23187 user.
23188 (top level): Test that "set remote conditional-breakpoints-packet
23189 off" works as intended.
23190 * gdb.base/dprintf.exp: Test that "set remote
23191 breakpoint-commands-packet off" works as intended.
23192 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23193 New function.
23194 (top level): Call it.
23195 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23196 remote fast-tracepoints-packet off" works as intended.
23197 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23198 * lib/gdb.exp (gdb_is_target_remote): ... here.
23199
2abc3f8d
DB
232002014-04-24 David Blaikie <dblaikie@gmail.com>
23201
23202 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23203 ensure clang would not discard them.
23204 * gdb.base/gdbvars.c: Ditto.
23205 * gdb.base/memattr.c: Ditto.
23206 * gdb.base/whatis.c: Ditto.
23207 * gdb.python/py-prettyprint.c: Ditto.
23208 * gdb.trace/actions.c: Ditto.
23209 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23210 ensure clang would not discard it.
23211
bfd39632
DB
232122014-04-24 David Blaikie <dblaikie@gmail.com>
23213
23214 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23215 clang to emit the full definition of type required by the test
23216 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23217
22842ff6
DB
232182014-04-24 David Blaikie <dblaikie@gmail.com>
23219
23220 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23221 coax Clang into emitting the definition of the type.
23222 * gdb.cp/pr10728-x.h (y): Ditto.
23223 * gdb.cp/pr10728-y.cc (y): Ditto.
23224
c2e827ad
DB
232252014-04-24 David Blaikie <dblaikie@gmail.com>
23226
23227 * gdb.base/label.exp: XFAIL label related tests under Clang.
23228 * gdb.cp/cplabel.exp: Ditto.
23229 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23230 under Clang those using labels.
23231
4c2d33e7
YQ
232322014-04-25 Yao Qi <yao@codesourcery.com>
23233
23234 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23235 double_label.
23236 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23237 partial_label and double_label.
23238
56083b99
DB
232392014-04-24 David Blaikie <dblaikie@gmail.com>
23240
23241 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23242
25d4e99d
DB
232432014-04-24 David Blaikie <dblaikie@gmail.com>
23244
23245 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23246 of the function to work across GCC and Clang.
23247 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23248 pointer types (const void ** const V void **).
23249
01f9f808
MS
232502014-04-24 Michael Sturm <michael.sturm@mintel.com>
23251 Walfred Tedeschi <walfred.tedeschi@intel.com>
23252
23253 * Makefile.in (EXECUTABLES): Added i386-avx512.
23254 * gdb.arch/i386-avx512.c: New file.
23255 * gdb.arch/i386-avx512.exp: Likewise.
23256
4b48d439
KS
232572014-04-23 Keith Seitz <keiths@redhat.com>
23258
23259 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23260 (mi_make_breakpoint_table): New procedure.
23261 (mi_create_breakpoint): Use mi_make_breakpoint
23262 and return the result.
23263 (mi_make_breakpoint): New procedure.
23264 (mi_build_kv_pairs): New procedure.
23265
23266 * gdb.mi/mi-break.exp: Remove unused globals,
23267 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23268 All callers updated.
23269 * gdb.mi/mi-dprintf.exp: Use variable to track command
23270 number.
23271 Update all callers of mi_create_breakpoint and use
23272 mi_make_breakpoint_table.
23273 Remove any unused global variables.
23274 * gdb.mi/mi-nonstop.exp: Likewise.
23275 * gdb.mi/mi-nsintrall.exp: Likewise.
23276 * gdb.mi/mi-nsmoribund.exp: Likewise.
23277 * gdb.mi/mi-nsthrexec.exp: Likewise.
23278 * gdb.mi/mi-reverse.exp: Likewise.
23279 * gdb.mi/mi-simplerun.exp: Likewise.
23280 * gdb.mi/mi-stepn.exp: Likewise.
23281 * gdb.mi/mi-syn-frame.exp: Likewise.
23282 * gdb.mi/mi-until.exp: Likewise.
23283 * gdb.mi/mi-var-cp.exp: Likewise.
23284 * gdb.mi/mi-var-display.exp: Likewise.
23285 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23286 * gdb.mi/mi2-var-child.exp: Likewise.
23287 * gdb.mi/mi-vla-c99.exp: Likewise.
23288 * lib/mi-support.exp: Likewise.
23289
23290 From Ian Lance Taylor <iant@cygnus.com>:
23291 * lib/gdb.exp (parse_args): New procedure.
23292
08351840
PA
232932014-04-23 Pedro Alves <palves@redhat.com>
23294
23295 * gdb.base/break-unload-file.c: New file.
23296 * gdb.base/break-unload-file.exp: New file.
23297 * gdb.base/sym-file-lib.c (baz): New function.
23298 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23299 field.
23300 (load): Store the segment's mapped size.
23301 (unload): New function.
23302 (unload_shlib): New function.
23303 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23304 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23305 set a breakpoint at baz, and call it.
23306 * gdb.base/sym-file.exp: New tests for stale breakpoint
23307 instructions.
23308
076855f9
PA
233092014-04-23 Pedro Alves <palves@redhat.com>
23310
23311 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23312 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23313 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23314 * gdb.base/hbreak-unmapped.c: New file.
23315 * gdb.base/hbreak-unmapped.exp: New file.
23316 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23317 * lib/gdb.exp (gdb_is_target_remote): ... here.
23318
483805cf
PA
233192014-04-22 Pedro Alves <palves@redhat.com>
23320
23321 * gdb.base/consecutive-step-over.c: New file.
23322 * gdb.base/consecutive-step-over.exp: New file.
23323
06d97543
PA
233242014-04-22 Pedro Alves <palves@redhat.com>
23325
23326 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23327 instead of send_gdb/gdb_expect.
23328
b4429ea2
YQ
233292014-04-22 Yao Qi <yao@codesourcery.com>
23330
23331 * lib/trace-support.exp (generate_tracefile): New procedure.
23332 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23333 return 0.
23334 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23335 if generate_tracefile returns 1.
23336
51d48146
PA
233372014-04-18 Tom Tromey <palves@redhat.com>
23338 Pedro alves <tromey@redhat.com>
23339
23340 PR backtrace/15558
23341 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23342 with a backtrace limit.
23343 * gdb.python/py-frame-inline.exp: Test running to an inline
23344 function with a backtrace limit, and printing the newest frame.
23345 * gdb.python/py-frame-inline.c (main): Call f.
23346
bd1dce5f
MS
233472014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23348
23349 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23350
40d1a503
MS
233512014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23352
23353 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23354 Drop prefix from unsupported source file path.
23355
389b98f7
YQ
233562014-04-17 Yao Qi <yao@codesourcery.com>
23357
23358 * lib/gdb.exp (with_target_charset): New proc.
23359 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23360 with_target_charset.
23361 (test_print_strings): Likewise.
23362 (test_repeat_bytes): Likewise.
23363 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23364 for some tests.
23365
22869d73
KS
233662014-04-16 Keith Seitz <keiths@redhat.com>
23367
23368 PR gdb/15827
23369 * gdb.dwarf2/corrupt.c: New file.
23370 * gdb.dwarf2/corrupt.exp: New file.
23371
c4f87ca6
KS
233722014-04-16 Keith Seitz <keiths@redhat.com>
23373
23374 PR c++/16597
23375 * gdb.cp/namelessclass.cc: New file.
23376 * gdb.cp/namelessclass.exp: New file.
23377 * gdb.cp/namelessclass.S: New file.
23378
ab19de87
DE
233792014-04-16 Doug Evans <dje@google.com>
23380
23381 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23382 Add comment.
23383 (gdbserver_default_get_comm_port): New function.
23384 (gdbserver_start): Check if board file provided
23385 "gdbserver,get_comm_port" and use it if so.
23386 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23387 (gdb,socketport): Set to "stdio".
23388 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23389 (stdio_gdbserver_template): Delete.
23390 (${board}_get_remote_address): Update.
23391 (${board}_build_remote_cmd): Delete.
23392 (${board}_get_comm_port): New function.
23393 (${board}_spawn): Update.
23394 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23395 Delete.
23396 (${board}_get_remote_address): Update.
23397 (${board}_get_comm_port): New function.
23398
fc98a809
AB
233992014-04-16 Andrew Burgess <aburgess@broadcom.com>
23400
23401 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23402 appearing in any order.
23403
87fd9e6e
DE
234042014-04-15 Doug Evans <dje@google.com>
23405
23406 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23407 uninitialized value of "description".
23408
099fc3ea
KS
234092014-04-15 Keith Seitz <keiths@redhat.com>
23410
23411 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23412 Remove unused globals.
23413 (test_running_the_program): Likewise.
23414 (test_controlled_execution): Likewise.
23415 (test_controlling_breakpoints): Likewise.
23416 (test_program_termination): Likewise.
23417
5da151d4
KS
234182014-04-15 Keith Seitz <keiths@redhat.com>
23419
23420 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23421 unused globals.
23422 (test_rbreak_creation_and_listing): Likewise.
23423 (test_ignore_count): Likewise.
23424 (test_error): Likewise.
23425
35e5d2f0
PA
234262014-04-15 Pedro Alves <palves@redhat.com>
23427
23428 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23429 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23430 sym-file-loader.c.
23431 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23432 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23433 to sym-file-loader.c.
23434 (struct library): Forward declare.
23435 (load_shlib, lookup_function): Change prototypes.
23436 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23437 (translate_offset): Remove declarations.
23438 (get_text_addr): New declaration.
23439 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23440 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23441 sym-file-loader.h.
23442 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23443 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23444 here from sym-file-loader.h.
23445 (struct library): New structure.
23446 (load_shlib, lookup_function): Change prototypes and adjust to
23447 work with a struct library.
23448 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23449 (translate_offset): Make static.
23450 (get_text_addr): New function.
23451 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23452
eb4c1710
PA
234532014-04-15 Pedro Alves <palves@redhat.com>
23454
23455 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23456
2d1baf52
PA
234572014-04-15 Pedro Alves <palves@redhat.com>
23458
23459 * gdb.base/sym-file-loader.c: Include <limits.h>.
23460 (SELF_LINK): New define.
23461 (get_origin): New function.
23462 (load_shlib): Use it.
23463 * gdb.base/sym-file.exp: Don't early return if the target is
23464 remote. Use runto_main, and issue fail is that fails. Use
23465 gdb_load_shlibs.
23466 (shlib_name): Delete.
23467 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23468
7dd6df01
PA
234692014-04-15 Pedro Alves <palves@redhat.com>
23470
23471 * gdb.base/sym-file.exp: Remove regex characters from test
23472 message. Don't refer to breakpoint numbers in test messages.
23473
b50c8614
KS
234742014-04-14 Keith Seitz <keiths@redhat.com>
23475
23476 PR c++/16253
23477 * gdb.cp/var-tag.cc: New file.
23478 * gdb.cp/var-tag.exp: New file.
23479 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23480 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23481 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23482 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23483
3d567982
TT
234842014-04-14 Tom Tromey <tromey@redhat.com>
23485
23486 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23487 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23488 type.
23489 * gdb.cp/enum-class.exp: New file.
23490 * gdb.cp/enum-class.cc: New file.
23491
0626fc76
TT
234922014-04-14 Tom Tromey <tromey@redhat.com>
23493
23494 * gdb.dwarf2/enum-type.exp: New file.
23495
dca325b3
SA
234962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23497
23498 * gdb.mi/mi-vla-c99.exp: New file.
23499 * gdb.mi/vla.c: New file.
23500
5854b38a
SA
235012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23502
23503 * gdb.base/vla-datatypes.c: New file.
23504 * gdb.base/vla-datatypes.exp: New file.
23505
463bb957
SA
235062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23507
23508 * gdb.base/vla-ptr.c: New file.
23509 * gdb.base/vla-ptr.exp: New file.
23510
3dd170be
SA
235112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23512
23513 * gdb.dwarf2/count.exp: New file.
23514
5ecaaa66
SA
235152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23516
23517 * gdb.base/vla-sideeffect.c: New file.
23518 * gdb.base/vla-sideeffect.exp: New file.
23519
41f1ada5
DB
235202014-04-14 David Blaikie <dblaikie@gmail.com>
23521
23522 * gdb.mi/non-stop.c: Add return value for non-void function return
23523 statement.
23524 * gdb.threads/staticthreads.c: Ditto.
23525
0be03e84
DE
235262014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23527 Doug Evans <xdje42@gmail.com>
23528
23529 * gdb.guile/scm-value.c: Improve test case.
23530 * gdb.guile/scm-value.exp: Add new test.
23531
f180a1fb
DB
235322014-04-11 David Blaikie <dblaikie@gmail.com>
23533
23534 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23535 override Clang's default.
23536
6b662e19
JB
235372014-04-11 Joel Brobecker <brobecker@adacore.com>
23538
23539 Revert the following changes (regressions):
23540
23541 * gdb.base/vla-sideeffect.c: New file.
23542 * gdb.base/vla-sideeffect.exp: New file.
23543
23544 * gdb.dwarf2/count.exp: New file.
23545
23546 * gdb.base/vla-multi.c: New file.
23547 * gdb.base/vla-multi.exp: New file.
23548
23549 * gdb.base/vla-ptr.c: New file.
23550 * gdb.base/vla-ptr.exp: New file.
23551
23552 * gdb.base/vla-datatypes.c: New file.
23553 * gdb.base/vla-datatypes.exp: New file.
23554
23555 * gdb.mi/mi-vla-c99.exp: New file.
23556 * gdb.mi/vla.c: New file.
23557
245a5f0b
KS
235582014-04-11 Keith Seitz <keiths@redhat.com>
23559
23560 PR c++/16675
23561 * gdb.cp/cpsizeof.exp: New file.
23562 * gdb.cp/cpsizeof.cc: New file.
23563
58a84dcf
SA
235642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23565
191a8a90
JB
23566 * gdb.mi/mi-vla-c99.exp: New file.
23567 * gdb.mi/vla.c: New file.
58a84dcf 23568
c8655f75
SA
235692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23570
23571 * gdb.base/vla-datatypes.c: New file.
23572 * gdb.base/vla-datatypes.exp: New file.
23573
024e13b4
SA
235742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23575
23576 * gdb.base/vla-ptr.c: New file.
23577 * gdb.base/vla-ptr.exp: New file.
23578
1a237e0e
SA
235792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23580
23581 * gdb.base/vla-multi.c: New file.
23582 * gdb.base/vla-multi.exp: New file.
23583
504f3432
SA
235842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23585
23586 * gdb.dwarf2/count.exp: New file.
23587
3bce8237
SA
235882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23589
191a8a90
JB
23590 * gdb.base/vla-sideeffect.c: New file.
23591 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23592
322f9c21
YQ
235932014-04-11 Yao Qi <yao@codesourcery.com>
23594
23595 * gdb.base/completion.exp: Check file exists before running tests
23596 on file completion.
23597
d708bcd1
PA
235982014-04-10 Pedro Alves <palves@redhat.com>
23599
23600 * gdb.base/cond-eval-mode.c: New file.
23601 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23602 prepare_for_testing to build the new file. Check result of
23603 runto_main.
23604 (test_break, test_watch): New procedures.
23605 (top level): Use them.
23606
ae1d2761
PM
236072014-04-08 Pierre Muller <muller@sourceware.org>
23608
23609 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23610 Ctrl-V use for mingw hosts.
23611
7af389b8
SC
236122014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23613
23614 * gdb.python/py-value.c: Improve test case.
23615 * gdb.python/py-value.exp: Add new test.
23616
5e703181
DE
236172014-04-07 David Blaikie <dblaikie@gmail.com>
23618
23619 * lib/compiler.c: Identify the clang compiler.
23620 * lib/compiler.cc: Ditto.
23621
9810b410
YQ
236222014-04-03 Yao Qi <yao@codesourcery.com>
23623
23624 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23625
98d1b8dc
AB
236262014-04-01 Anton Blanchard <anton@samba.org>
23627
23628 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23629 messages unique.
23630
3114cea1
AB
236312014-04-01 Anton Blanchard <anton@samba.org>
23632
23633 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23634 prepare_for_testing.
23635
62f7182c
AB
236362014-04-01 Anton Blanchard <anton@samba.org>
23637
23638 * gdb.arch/ppc64-atomic-inst.c: Remove.
23639 * gdb.arch/ppc64-atomic-inst.S: New file.
23640 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23641
770e7fc7
DE
236422014-03-31 Doug Evans <dje@google.com>
23643
23644 * gdb.base/print-symbol-loading-lib.c: New file.
23645 * gdb.base/print-symbol-loading-main.c: New file.
23646 * gdb.base/print-symbol-loading.exp: New file.
23647
46e2bafa
YQ
236482014-03-31 Yao Qi <yao@codesourcery.com>
23649
23650 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23651
8776cfe9
JB
236522014-03-28 Joel Brobecker <brobecker@adacore.com>
23653
23654 * gdb.ada/mi_dyn_arr: New testcase.
23655
5d1ef361
DE
236562014-03-27 Doug Evans <dje@google.com>
23657
23658 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23659
b5bee914
YQ
236602014-03-27 Yao Qi <yao@codesourcery.com>
23661
23662 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23663 if target is nios2-*-*.
23664
0d4d0e77
YQ
236652014-03-26 Yao Qi <yao@codesourcery.com>
23666
23667 * lib/gdb.exp (readline_is_used): New proc.
23668 * gdb.base/completion.exp: Move tests on command complete up.
23669 Skip the rest of tests if readline is not used.
23670 * gdb.ada/complete.exp: Skp the test if readline is not
23671 used.
23672 * gdb.base/filesym.exp: Likewise.
23673 * gdb.base/macscp.exp: Likewise.
23674 * gdb.base/readline-ask.exp: Likewise.
23675 * gdb.base/readline.exp: Likewise.
23676 * gdb.python/py-cmd.exp: Likewise.
23677 * gdb.trace/tfile.exp: Likewise.
23678
29361eee
YQ
236792014-03-26 Yao Qi <yao@codesourcery.com>
23680
23681 * gdb.base/macscp.exp: Fix code format issues.
23682
bc9a5525
UW
236832014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23684
23685 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23686 * gdb.asm/powerpc64le.inc: New file.
23687
d3839ede
PA
236882014-03-25 Pedro Alves <palves@redhat.com>
23689 Doug Evans <dje@google.com>
23690
23691 * gdb.base/source-execution.c: New file.
23692 * gdb.base/source-execution.exp: New file.
23693 * gdb.base/source-execution.gdb: New file.
23694
01672a57
DE
236952014-03-24 Doug Evans <dje@google.com>
23696
23697 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23698 using fission.
23699
88bbeca9
HZ
237002014-03-24 Hui Zhu <hui@codesourcery.com>
23701 Pedro Alves <palves@redhat.com>
23702
23703 PR breakpoints/16101
23704 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23705 test pass/fail messages. Detect missing support for dprintf when
23706 breakpoints are actually inserted.
23707 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23708 breakpoints are actually inserted.
23709 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23710 fails.
23711
d2348791
JK
237122014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23713
23714 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23715
feef67ab
DE
237162014-03-22 Doug Evans <xdje42@gmail.com>
23717
23718 * gdb.python/python.exp (python not supported): Verify multi-line
23719 python command issues an error.
25d743f9 23720 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23721 guile command issues an error.
feef67ab 23722
ecebef6a
MR
237232014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23724
23725 * gdb.threads/thread-specific.exp: Handle the lack of usable
23726 $this_breakpoint and $this_thread.
23727
ccdd1909
HZ
237282014-03-21 Hui Zhu <hui@codesourcery.com>
23729
23730 * gdb.base/attach.exp (do_command_attach_tests): New.
23731
beb460e8
PA
237322014-03-20 Tom Tromey <tromey@redhat.com>
23733 Pedro Alves <palves@redhat.com>
23734
23735 PR cli/15718
23736 * gdb.base/condbreak-call-false.c: New file.
23737 * gdb.base/condbreak-call-false.exp: New file.
23738
40acf43a
PA
237392014-03-20 Pedro Alves <palves@redhat.com>
23740
23741 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23742 Delete.
23743 (block_signals, unblock_signals): Delete.
23744 (child_function_2, main): Remove references to deleted variable
23745 and functions.
23746
9f5e1e02
PA
237472014-03-20 Pedro Alves <palves@redhat.com>
23748
23749 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23750 Use pthread_kill to signal thread 2.
23751 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23752 Adjust to make the test send itself a signal rather than using the
23753 host's "kill" command.
23754
99619bea
PA
237552014-03-20 Pedro Alves <palves@redhat.com>
23756
23757 * gdb.threads/multiple-step-overs.c: New file.
23758 * gdb.threads/multiple-step-overs.exp: New file.
23759 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23760 Adjust expected infrun debug output.
23761
2adfaa28
PA
237622014-03-20 Pedro Alves <palves@redhat.com>
23763
23764 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23765 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23766
31e77af2
PA
237672014-03-20 Pedro Alves <palves@redhat.com>
23768
23769 PR breakpoints/7143
23770 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23771 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23772 of gdb_test_multiple.
23773 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23774 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23775
b9f437de
PA
237762014-03-20 Pedro Alves <palves@redhat.com>
23777
23778 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23779 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23780
05adc73e
PA
237812014-03-19 Pedro Alves <palves@redhat.com>
23782
23783 * gdb.base/async.exp: Remove early return.
23784
6048b950
PA
237852014-03-19 Pedro Alves <palves@redhat.com>
23786
23787 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23788
8bcfb00a
PA
237892014-03-19 Pedro Alves <palves@redhat.com>
23790
23791 * gdb.base/async.exp (test_background): Expect \r\n after
23792 "completed." in the fail pattern.
23793
884e37dc
PA
237942014-03-19 Pedro Alves <palves@redhat.com>
23795
23796 * gdb.base/async.exp (test_background): New procedure.
23797 Use it for all background execution command tests.
23798
148e57e2
PA
237992014-03-19 Pedro Alves <palves@redhat.com>
23800
23801 * gdb.base/async.exp: Use prepare_for_testing.
23802
f48088c7
PA
238032014-03-19 Pedro Alves <palves@redhat.com>
23804
23805 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23806 the same line.
23807
e2f6c966
PA
238082014-03-19 Pedro Alves <palves@redhat.com>
23809
23810 * gdb.base/async.c (main): Add "jump here" and "until here" line
23811 marker comments.
23812 * gdb.base/async.exp (jump_here): New global.
23813 (jump& test): Use it.
23814 (until_here): New global.
23815 (until& test): Use it.
23816
c30568d4
PA
238172014-03-19 Pedro Alves <palves@redhat.com>
23818
23819 * gdb.base/async.exp: Don't frob gdb_protocol.
23820
0172b6a7
DE
238212014-03-18 Doug Evans <xdje42@gmail.com>
23822
23823 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23824 Fix spelling of exec-done-display.
23825
06c868a8
JK
238262014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23827
23828 PR gdb/15358
23829 * gdb.base/gdb-sigterm.c: New file.
23830 * gdb.base/gdb-sigterm.exp: New file.
23831
0c7e1a46
PA
238322014-03-18 Pedro Alves <palves@redhat.com>
23833
23834 PR gdb/13860
23835 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23836 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23837 solib-event.
23838
f7c77d93
JB
238392014-03-17 Joel Brobecker <brobecker@adacore.com>
23840
23841 * gdb.ada/pckd_arr_ren: New testcase.
23842
5a1e8c7a
DE
238432014-03-13 Doug Evans <xdje42@gmail.com>
23844
23845 PR guile/16612
23846 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23847 collect after discarding symbols.
23848
350e1a76
DE
238492014-03-13 Ludovic Courtès <ludo@gnu.org>
23850 Doug Evans <xdje42@gmail.com>
23851
23852 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23853 to history survives a gc.
23854
a69900ae
PA
238552014-03-13 Pedro Alves <palves@redhat.com>
23856
23857 * gdb.base/default.exp: Don't test "target procfs".
23858
5db9f0bd
PA
238592014-03-13 Pedro Alves <palves@redhat.com>
23860
23861 * gdb.base/default.exp: Update "target child" and "target procfs"
23862 tests to not expect "Unix".
23863
b3ccfe11
TT
238642014-03-12 Tom Tromey <tromey@redhat.com>
23865
23866 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23867 New procs. Add target-async tests.
23868 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23869 Add target-async tests.
23870
646f4417
AA
238712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23872
23873 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23874 'func_start' and 'func_end' for the beginning and end of the
23875 function code, respectively.
23876 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23877 'func_end' instead of 'func' and 'main'.
23878
288c211f
AA
238792014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23880
23881 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23882 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23883 generate the debug info assembler source.
23884
e0c0f156
AA
238852014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23886
23887 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23888 * gdb.dwarf2/arr-subrange.exp: Likewise.
23889 * gdb.dwarf2/dwz.exp: Likewise.
23890 * gdb.dwarf2/method-ptr.exp: Likewise.
23891 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23892 * gdb.dwarf2/subrange.exp: Likewise.
23893 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23894 * gdb.dwarf2/implptrpiece.exp: Likewise.
23895 * gdb.dwarf2/nostaticblock.exp: Likewise.
23896
0e5c4555
AA
238972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23898
23899 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23900 directory to absolute path name arguments.
23901
5ec18f2b
JG
239022014-03-10 Joel Brobecker <brobecker@adacore.com>
23903
23904 * gdb.ada/tagged_access: New testcase.
23905
847fc4f2
MM
239062014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23907
23908 * gdb.btrace/data.exp: Update expected output.
23909
cc3da688
YQ
239102014-03-06 Yao Qi <yao@codesourcery.com>
23911
23912 * gdb.trace/pr16508.exp: New file.
23913
0f26cec1
PA
239142014-03-05 Pedro Alves <palves@redhat.com>
23915
23916 PR gdb/16575
23917 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23918 procedure.
23919 (top level): Adjust to use it. Add tests that exercise breakpoint
23920 interaction with the code-cache.
23921
7a5a839f
LC
239222014-02-26 Ludovic Courtès <ludo@gnu.org>
23923
23924 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23925 test for 'history-append!'.
23926
31aa7e4e
JB
239272014-02-26 Joel Brobecker <brobecker@adacore.com>
23928
23929 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23930 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23931 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23932 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23933 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23934 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23935
1b588015
JB
239362014-02-26 Joel Brobecker <brobecker@adacore.com>
23937
23938 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23939 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23940 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23941
55426c9d
JB
239422014-02-26 Joel Brobecker <brobecker@adacore.com>
23943
23944 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23945
dc53a7ad
JB
239462014-02-26 Joel Brobecker <brobecker@adacore.com>
23947
23948 * gdb.dwarf2/arr-stride.c: New file.
23949 * gdb.dwarf2/arr-stride.exp: New file.
23950
12ab52e9
PA
239512014-02-26 Pedro Alves <palves@redhat.com>
23952
23953 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23954 that won't ever trigger. Make sure that GDB reports the correct
23955 breakpoint that caused the stop.
23956
849c862e
JK
239572014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23958
23959 PR gdb/16626
23960 * gdb.base/auto-load-script: New file.
23961 * gdb.base/auto-load.c: New file.
23962 * gdb.base/auto-load.exp: New file.
23963
71b7d793
JK
23964 PR gdb/16626
23965 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23966
e2f0d509
JK
239672014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23968
23969 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23970 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23971
50cc37c8
DE
239722014-02-24 Doug Evans <dje@google.com>
23973
23974 * lib/gdb.exp (run_on_host): Log error output if program fails.
23975
ea4758f2
PA
239762014-02-21 Pedro Alves <palves@redhat.com>
23977
23978 * gdb.threads/step-after-sr-lock.c: Rename to ...
23979 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23980 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23981 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23982 ... this.
23983
d7b30f67
SDJ
239842014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23985
23986 PR tdep/16397
23987 * gdb.arch/amd64-stap-special-operands.exp: New file.
23988 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23989 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23990 * gdb.arch/amd64-stap-triplet.S: Likewise.
23991 * gdb.arch/amd64-stap-triplet.c: Likewise.
23992
83deb43f
JB
239932014-02-20 Joel Brobecker <brobecker@adacore.com>
23994
23995 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23996 in .section pseudo-op.
23997
adde2bff
DE
239982014-02-20 lin zuojian <manjian2006@gmail.com>
23999 Joel Brobecker <brobecker@adacore.com>
24000 Doug Evans <xdje42@gmail.com>
24001
24002 PR symtab/16581
24003 * gdb.dwarf2/dw2-icycle.S: New file.
24004 * gdb.dwarf2/dw2-icycle.c: New file.
24005 * gdb.dwarf2/dw2-icycle.exp: New file.
24006
f7bd0f78
SC
240072014-02-19 Siva Chandra Reddy <sivachandra@google.com>
24008
24009 * gdb.python/py-value-cc.cc: Improve test case to enable testing
24010 operations on gdb.Value objects.
24011 * gdb.python/py-value-cc.exp: Add new test to test operations on
24012 gdb.Value objects.
24013
c17ef0d5
DE
240142014-02-18 Doug Evans <dje@google.com>
24015
24016 * Makefile.in (TESTS): New variable.
24017 (expanded_tests, expanded_tests_or_none): New variables
24018 (check-single): Pass $(expanded_tests_or_none) to runtest.
24019 (check-parallel): Only run tests in $(TESTS) if non-empty.
24020 (check/no-matching-tests-found): New rule.
24021 * README: Document TESTS makefile variable.
24022
5dd3176f
DE
240232014-02-18 Doug Evans <dje@google.com>
24024
24025 * Makefile.in (check-parallel): rm -rf outputs temp.
24026
0b10be4f
JK
240272014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24028
24029 Fix "ERROR: no fileid for" in the testsuite.
24030 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
24031
85f224e7
DE
240322014-02-12 Doug Evans <dje@google.com>
24033
24034 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
24035 (MISCELLANEOUS): New variable.
24036 (clean): rm -rf $(MISCELLANEOUS).
24037 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
24038 dwp live in the same directory as symlinks, with each symlink pointed
24039 to a differently named file in a different directory.
24040
149b30ff
DE
240412014-02-11 Doug Evans <dje@google.com>
24042
24043 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
24044 of Tcl file commands.
24045
1dfdac32
MK
240462014-02-10 Mark Kettenis <kettenis@gnu.org>
24047
24048 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24049 "kill -SIGUSR1 -1".
24050
aa4fb036
JB
240512014-02-10 Joel Brobecker <brobecker@adacore.com>
24052
24053 * gdb.ada/tick_length_array_enum_idx: New testcase.
24054
ed3ef339
DE
240552014-02-10 Doug Evans <xdje42@gmail.com>
24056
24057 * configure.ac (AC_OUTPUT): Add gdb.guile.
24058 * configure: Regenerate.
24059 * lib/gdb-guile.exp: New file.
24060 * lib/gdb.exp (get_target_charset): New function.
24061 * gdb.base/help.exp: Update expected output from "apropos apropos".
24062 * gdb.guile/Makefile.in: New file.
24063 * gdb.guile/guile.exp: New file.
24064 * gdb.guile/scm-arch.c: New file.
24065 * gdb.guile/scm-arch.exp: New file.
24066 * gdb.guile/scm-block.c: New file.
24067 * gdb.guile/scm-block.exp: New file.
24068 * gdb.guile/scm-breakpoint.c: New file.
24069 * gdb.guile/scm-breakpoint.exp: New file.
24070 * gdb.guile/scm-disasm.c: New file.
24071 * gdb.guile/scm-disasm.exp: New file.
24072 * gdb.guile/scm-equal.c: New file.
24073 * gdb.guile/scm-equal.exp: New file.
24074 * gdb.guile/scm-error.exp: New file.
24075 * gdb.guile/scm-error.scm: New file.
24076 * gdb.guile/scm-frame-args.c: New file.
24077 * gdb.guile/scm-frame-args.exp: New file.
24078 * gdb.guile/scm-frame-args.scm: New file.
24079 * gdb.guile/scm-frame-inline.c: New file.
24080 * gdb.guile/scm-frame-inline.exp: New file.
24081 * gdb.guile/scm-frame.c: New file.
24082 * gdb.guile/scm-frame.exp: New file.
24083 * gdb.guile/scm-generics.exp: New file.
24084 * gdb.guile/scm-gsmob.exp: New file.
24085 * gdb.guile/scm-iterator.c: New file.
24086 * gdb.guile/scm-iterator.exp: New file.
24087 * gdb.guile/scm-math.c: New file.
24088 * gdb.guile/scm-math.exp: New file.
24089 * gdb.guile/scm-objfile-script-gdb.in: New file.
24090 * gdb.guile/scm-objfile-script.c: New file.
24091 * gdb.guile/scm-objfile-script.exp: New file.
24092 * gdb.guile/scm-objfile.c: New file.
24093 * gdb.guile/scm-objfile.exp: New file.
24094 * gdb.guile/scm-ports.exp: New file.
24095 * gdb.guile/scm-pretty-print.c: New file.
24096 * gdb.guile/scm-pretty-print.exp: New file.
24097 * gdb.guile/scm-pretty-print.scm: New file.
24098 * gdb.guile/scm-section-script.c: New file.
24099 * gdb.guile/scm-section-script.exp: New file.
24100 * gdb.guile/scm-section-script.scm: New file.
24101 * gdb.guile/scm-symbol.c: New file.
24102 * gdb.guile/scm-symbol.exp: New file.
24103 * gdb.guile/scm-symtab-2.c: New file.
24104 * gdb.guile/scm-symtab.c: New file.
24105 * gdb.guile/scm-symtab.exp: New file.
24106 * gdb.guile/scm-type.c: New file.
24107 * gdb.guile/scm-type.exp: New file.
24108 * gdb.guile/scm-value-cc.cc: New file.
24109 * gdb.guile/scm-value-cc.exp: New file.
24110 * gdb.guile/scm-value.c: New file.
24111 * gdb.guile/scm-value.exp: New file.
24112 * gdb.guile/source2.scm: New file.
24113 * gdb.guile/types-module.cc: New file.
24114 * gdb.guile/types-module.exp: New file.
24115
7026a7c1
YQ
241162014-02-10 Yao Qi <yao@codesourcery.com>
24117
24118 PR testsuite/16543
24119 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24120 * configure: Regenerated.
24121 * Makefile.in: New file.
24122
6c466447
AS
241232014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24124
24125 * gdb.python/py-framefilter.exp: Fix typo.
24126
6e854735
YQ
241272014-02-08 Yao Qi <yao@codesourcery.com>
24128
24129 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24130 that no =breakpoint-modified is emitted when breakpoints are
24131 modified through MI commands.
24132
d137e6dc
PA
241332014-02-07 Pedro Alves <pedro@codesourcery.com>
24134 Pedro Alves <palves@redhat.com>
24135
24136 * gdb.threads/step-after-sr-lock.c: New file.
24137 * gdb.threads/step-after-sr-lock.exp: New file.
24138
b5ee5a50
PA
241392014-02-07 Pedro Alves <palves@redhat.com>
24140
24141 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24142
3c77faf3
JK
241432014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24144
24145 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24146 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24147
6dddc817
DE
241482014-02-06 Doug Evans <xdje42@gmail.com>
24149
24150 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24151 output.
24152
24153 * gdb.gdb/python-interrupts.exp: New file.
24154
de7b2893
YQ
241552014-02-05 Yao Qi <yao@codesourcery.com>
24156
24157 * gdb.trace/report.exp (use_collected_data): Test the output
24158 of "info threads" and "info inferiors".
24159
66d032ac
YQ
241602014-02-05 Yao Qi <yao@codesourcery.com>
24161
24162 Revert this patch:
24163
24164 2013-05-24 Yao Qi <yao@codesourcery.com>
24165
24166 * gdb.trace/tfile.exp: Test inferior and thread.
24167
591a12a1
UW
241682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24169
24170 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24171 on a function.
24172 * gdb.base/step-bt.c: Call hello via function pointer to make
24173 sure its first instruction is executed on powerpc64le-linux.
24174
0ff3e01f
UW
241752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24176
24177 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24178
084ee545
UW
241792014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24180
24181 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24182 of the test patterns for use on little-endian systems.
24183
6ed14ff3
UW
241842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24185
24186 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24187 (decimal_vector): Fix for little-endian.
24188
401e27fd
JM
241892014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24190
24191 * gdb.arch/sparc-sysstep.exp: New file.
24192 * gdb.arch/sparc-sysstep.c: Likewise.
24193
24194 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24195
8b924729
EBM
241962014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24197
24198 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24199
fb151210
JB
242002014-01-23 Tom Tromey <tromey@redhat.com>
24201
24202 * gdb.ada/array_char_idx: New testcase.
24203
0740f8d8
TT
242042014-01-23 Tom Tromey <tromey@redhat.com>
24205
24206 PR python/16487:
24207 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24208 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24209 classes.
24210
21909fa1
TT
242112014-01-23 Tom Tromey <tromey@redhat.com>
24212
24213 PR python/16491:
24214 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24215 string from an inferior frame.
24216 * gdb.python/py-framefilter-mi.exp: Update.
24217
87ce2a04
DE
242182014-01-22 Doug Evans <dje@google.com>
24219
24220 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24221
237b092b
AA
242222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24223
24224 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24225
d674a709
AA
242262014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24227
24228 * gdb.trace/entry-values.exp: Remove excess space character from
24229 regex patterns. Handle s390 call instruction.
24230
20fa3390
AA
242312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24232
24233 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24234 define "*_start" label. Make "name" static.
24235 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24236 ${name} by references to ${name}_start.
24237
78466714
AA
242382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24239
24240 * gdb.base/info-macros.exp: Remove "debug" from the compile
24241 options.
24242
ec9f644a
IB
242432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24244
24245 * gdb.dlang/demangle.exp: New file.
24246
94b1b47e
IB
242472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24248
24249 * gdb.dlang/primitive-types.exp: New file.
24250
7f420862
IB
242512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24252
24253 * configure.ac: Create gdb.dlang/Makefile.
24254 * configure: Regenerate.
24255 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24256 * gdb.dlang/Makefile.in: New file.
24257 * lib/d-support.exp: New file.
24258 * lib/gdb.exp (skip_d_tests): New proc.
24259
52834460
MM
242602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24261
24262 * gdb.btrace/delta.exp: Check reverse stepi.
24263 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24264 * gdb.btrace/finish.exp: New.
24265 * gdb.btrace/next.exp: New.
24266 * gdb.btrace/nexti.exp: New.
24267 * gdb.btrace/record_goto.c: Add comments.
24268 * gdb.btrace/step.exp: New.
24269 * gdb.btrace/stepi.exp: New.
24270 * gdb.btrace/multi-thread-step.c: New.
24271 * gdb.btrace/multi-thread-step.exp: New.
24272 * gdb.btrace/rn-dl-bind.c: New.
24273 * gdb.btrace/rn-dl-bind.exp: New.
24274 * gdb.btrace/data.c: New.
24275 * gdb.btrace/data.exp: New.
24276 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24277
6e07b1d2
MM
242782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24279
24280 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24281 * gdb.btrace/exception.exp: Update.
24282 * gdb.btrace/instruction_history.exp: Update.
24283 * gdb.btrace/record_goto.exp: Update.
24284 * gdb.btrace/tailcall.exp: Update.
24285 * gdb.btrace/unknown_functions.exp: Update.
24286 * gdb.btrace/delta.exp: New.
24287
0b722aec
MM
242882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24289
24290 * gdb.btrace/record_goto.exp: Add backtrace test.
24291 * gdb.btrace/tailcall.exp: Add backtrace test.
24292
066ce621
MM
242932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24294
24295 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24296 * gdb.btrace/record_goto.c: New.
24297 * gdb.btrace/record_goto.exp: New.
24298 * gdb.btrace/x86-record_goto.S: New.
24299
0688d04e
MM
243002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24301
24302 * gdb.btrace/function_call_history.exp: Update tests.
24303 * gdb.btrace/instruction_history.exp: Update tests.
24304
8710b709
MM
243052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24306
24307 * gdb.btrace/function_call_history.exp: Fix expected field
24308 order for "record function-call-history".
24309 Add new tests for "record function-call-history /c".
24310 * gdb.btrace/exception.cc: New.
24311 * gdb.btrace/exception.exp: New.
24312 * gdb.btrace/tailcall.exp: New.
24313 * gdb.btrace/x86-tailcall.S: New.
24314 * gdb.btrace/x86-tailcall.c: New.
24315 * gdb.btrace/unknown_functions.c: New.
24316 * gdb.btrace/unknown_functions.exp: New.
24317 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24318
5de9129b
MM
243192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24320
24321 * gdb.btrace/instruction_history.exp: Update.
24322 * gdb.btrace/function_call_history.exp: Update.
24323
23a7fe75
MM
243242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24325
24326 * gdb.btrace/function_call_history.exp: Fix expected function
24327 trace.
24328 * gdb.btrace/instruction_history.exp: Initialize traced.
24329 Remove traced_functions.
24330
724c7dd8
MM
243312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24332
24333 * gdb.btrace/function_call_history.exp: Update
24334 * gdb.btrace/instruction_history.exp: Update.
24335
6d78d93b
MM
243362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24337
24338 * gdb.btrace/enable.exp: Update expected text.
24339
93a360cc
OJ
243402014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24341
24342 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24343 bytes.
24344
3772b53f
MR
243452014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24346
24347 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24348
596662fa
OJ
243492014-01-15 Omair Javaid <omair.javaid@linaro.org>
24350
24351 * lib/gdb.exp (supports_process_record): Return true for
24352 arm*-linux*. (supports_reverse): Likewise.
24353
b5b08fb4
SC
243542014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24355
24356 PR python/15464
24357 PR python/16113
24358 * gdb.python/py-type.c: Enhance test case.
24359 * gdb.python/py-value-cc.cc: Likewise
24360 * gdb.python/py-type.exp: Add new tests.
24361 * gdb.python/py-value-cc.exp: Likewise
24362
52d7fb13
AA
243632014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24364 Pedro Alves <palves@redhat.com>
24365
24366 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24367 Make "name" extern.
24368 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24369 references to ${name}_start by references to ${name}.
24370
a2cd8cfe
JB
243712014-01-10 Joel Brobecker <brobecker@adacore.com>
24372
24373 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24374
4e23fced
JB
243752014-01-10 Joel Brobecker <brobecker@adacore.com>
24376
24377 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24378
c6a9e42c
PA
243792014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24380 Pedro Alves <palves@redhat.com>
24381
24382 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 24383 mi_gdb_target_load.
c6a9e42c 24384
b7ea362b
PA
243852014-01-08 Pedro Alves <palves@redhat.com>
24386
24387 * gdb.threads/reconnect-signal.c: New file.
24388 * gdb.threads/reconnect-signal.exp: New file.
24389
5e3f4fab
EBM
243902014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24391
24392 * gdb.base/source-dir.exp: New file.
24393
79301218
JB
243942014-01-07 Joel Brobecker <brobecker@adacore.com>
24395
24396 * gdb.ada/mi_interface: New testcase.
24397
8e355c5d
JB
243982014-01-07 Joel Brobecker <brobecker@adacore.com>
24399
24400 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24401 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24402 gdb.ada/pp-rec-component/pck.ads: New files.
24403
c0d48811
JB
244042014-01-07 Joel Brobecker <brobecker@adacore.com>
24405
24406 * gdb.python/py-pp-integral.c: New file.
24407 * gdb.python/py-pp-integral.py: New file.
24408 * gdb.python/py-pp-integral.exp: New file.
24409
17b609c3 24410For older changes see ChangeLog-1993-2013.
c906108c 24411\f
8d8cb839
EZ
24412;; Local Variables:
24413;; mode: change-log
24414;; left-margin: 8
24415;; fill-column: 74
24416;; version-control: never
24417;; End:
902f2ccb 24418
3666a048 24419 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
24420 Copying and distribution of this file, with or without modification,
24421 are permitted provided the copyright notice and this notice are preserved.