]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
gdb: fix pretty printing max depth behaviour
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2021-05-14 Kent Cheung <kent.cheung@arm.com>
2 Andrew Burgess <andrew.burgess@embecosm.com>
3
4 * gdb.python/py-format-string.c: Added a variable to test.
5 * gdb.python/py-format-string.exp: Check string representation is
6 printed at appropriate max_depth settings.
7 * gdb.python/py-nested-maps.exp: Likewise.
8 * gdb.guile/scm-pretty-print.exp: Add additional tests.
9
10 2021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
11
12 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Give some tests
13 unique names, also wrap proc body in with_test_prefix.
14
15 2021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
16
17 * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve
18 duplicate test names.
19 * gdb.guile/scm-parameter.exp: Provide test names to avoid
20 duplicate names based on the command being run.
21 * gdb.guile/scm-symbol.exp: Extend test name to make it unique.
22 * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when
23 loading a support module.
24 (test_equality): Update test name to match the actual test, making
25 the name unique in the process.
26 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names
27 to resolve duplicate tests.
28 (test_inferior_function_call): Likewise.
29 (test_subscript_regression): Likewise.
30
31 2021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 * lib/guile.exp (gdb_scm_load_file): Use empty test name to
34 silence PASS lines.
35 (gdb_install_guile_module): Likewise.
36
37 2021-05-12 George Barrett <bob@bob131.so>
38
39 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
40 value-const-value.
41
42 2021-05-12 George Barrett <bob@bob131.so>
43
44 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
45 value-reference-value. Add test for value-rvalue-reference-value.
46
47 2021-05-11 Tom de Vries <tdevries@suse.de>
48
49 * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
50 Add "set debug infrun 1" commented out.
51
52 2021-05-11 Tom de Vries <tdevries@suse.de>
53
54 * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp.
55
56 2021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com>
57
58 * gdb.fortran/array-element.exp: Breakpoint location is modified.
59
60 2021-05-10 Lancelot Six <lsix@lancelotsix.com>
61
62 PR gdb/27614
63 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
64
65 2021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
66
67 * gdb.guile/guile.exp: Don't use the source directory as a
68 temporary HOME directory.
69
70 2021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
71
72 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
73 parameters.
74
75 2021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
76
77 * gdb.guile/guile.exp: Add an extra test.
78
79 2021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
80
81 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
82 gdb_test_no_output.
83
84 2021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
85
86 * Re-format all Python files using black.
87 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
88
89 2021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
92 watchpoint object before and after registering it with GDB.
93
94 2021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
95
96 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
97 'proc_with_prefix', remove use of 'with_test_prefix', and
98 reindent.
99 (test_bkpt_deletion): Likewise.
100 (test_bkpt_cond_and_cmds): Likewise.
101 (test_bkpt_invisible): Likewise.
102 (test_watchpoints): Likewise.
103 (test_bkpt_internal): Likewise.
104 (test_bkpt_eval_funcs): Likewise.
105 (test_bkpt_registration): Likewise.
106 (test_bkpt_address): Convert to 'proc_with_prefix'.
107 (test_bkpt_probe): Likewise.
108
109 2021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
110
111 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
112 names to avoid duplicates.
113 (test_bkpt_cond_and_cmds): Likewise.
114 (test_bkpt_eval_funcs): Likewise.
115
116 2021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
117
118 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
119 for the -break-condition command's "--force" flag.
120
121 2021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
122
123 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
124 is called by the test.
125
126 2021-05-05 Tom de Vries <tdevries@suse.de>
127
128 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
129 "Reading symbols" or "Expanding full symbols" lines. Using timeout
130 factor of 2 for attach.
131
132 2021-05-05 Tom de Vries <tdevries@suse.de>
133
134 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
135 "LWP <n> exited" messages.
136
137 2021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
138
139 * gdb.python/py-type.exp (test_fields): Test calling fields on
140 an int type.
141
142 2021-05-04 Simon Marchi <simon.marchi@efficios.com>
143
144 * gdb.python/flexible-array-member.exp: Adjust expected range
145 value for member declared with 0 size. Test accessing range
146 tuple through range type.
147
148 2021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
149
150 PR testsuite/27788
151 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
152 expected results when environment variable PYTHONDONTWRITEBYTECODE
153 is set.
154
155 2021-04-30 Tom Tromey <tromey@adacore.com>
156
157 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
158 (Confused_Array): New types.
159 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
160 * gdb.ada/enum_idx_packed.exp: Add new tests.
161
162 2021-04-30 Tom de Vries <tdevries@suse.de>
163
164 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
165 existing timeout factors.
166
167 2021-04-30 Tom de Vries <tdevries@suse.de>
168
169 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
170
171 2021-04-29 Tom de Vries <tdevries@suse.de>
172
173 PR testsuite/27786
174 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
175 remotetimeout to 4.
176
177 2021-04-28 Tom Tromey <tromey@adacore.com>
178
179 * gdb.ada/null_overload.exp: New file.
180 * gdb.ada/null_overload/foo.adb: New file.
181
182 2021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
183
184 * gdb.python/py-startup-opt.exp: New file.
185
186 2021-04-27 Luis Machado <luis.machado@linaro.org>
187
188 * gdb.base/maint.exp: Drop a pattern that is not needed.
189 * lib/gdb.exp (readnow): Match line-by-line.
190
191 2021-04-27 Luis Machado <luis.machado@linaro.org>
192
193 * gdb.xml/tdesc-reload.exp: Pass -lbl.
194
195 2021-04-27 Michael Weghorn <m.weghorn@posteo.de>
196 Simon Marchi <simon.marchi@polymtl.ca>
197
198 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
199 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
200 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
201 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
202 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
203 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
204
205 2021-04-26 Tom Tromey <tromey@adacore.com>
206
207 PR gdb/27743:
208 * gdb.dwarf2/imported-unit-bp.exp: New file.
209 * gdb.dwarf2/imported-unit-bp-main.c: New file.
210 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
211
212 2021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
213
214 PR gdb/27773
215 * gdb.base/dump.exp: Test dump to non-existent dir.
216
217 2021-04-26 Luis Machado <luis.machado@linaro.org>
218
219 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
220 comparison.
221
222 2021-04-25 Lancelot Six <lsix@lancelotsix.com>
223
224 PR gdb/22640
225 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
226 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
227 changes the default behavior of 'ptype/o'. Update to take into
228 account new horizontal layout.
229 * gdb.rust/simple.exp: Update ptype test to check new horizontal
230 layout.
231 * gdb.rust/union.exp: Same.
232
233 2021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
234
235 * gdb.base/info_sources.exp: Add new tests.
236
237 2021-04-22 Tom Tromey <tom@tromey.com>
238
239 * gdb.base/ptype-offsets.cc (struct empty_member): New.
240 (main): Use empty_member.
241 * gdb.base/ptype-offsets.exp: Add new test.
242
243 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
244
245 * gdb.python/flexible-array-member.exp: Add check for Python
246 support.
247
248 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
249
250 PR gdb/27757
251 * gdb.python/flexible-array-member.c: New test.
252 * gdb.python/flexible-array-member.exp: New test.
253 * gdb.guile/scm-type.exp (test_range): Add test for flexible
254 array member.
255 * gdb.guile/scm-type.c (struct flex_member): New.
256 (main): Use it.
257
258 2021-04-22 Tom Tromey <tom@tromey.com>
259
260 * gdb.rust/modules.exp: Add checks for syntax errors.
261 * gdb.rust/expr.exp: Add checks for syntax errors.
262 * gdb.rust/simple.exp: Add checks for syntax errors.
263
264 2021-04-21 Carl Love <cel@us.ibm.com>
265
266 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
267 Update expected string for gdb_test "bt".
268
269 * lib/valgrind.exp: Add set remotetimeout 3.
270 Increase vgdb wait from 1 to 2.
271 Add max-invoke-ms option to vgdb command line.
272
273 2021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
274
275 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
276 conditions.
277
278 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
279 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
280
281 * gdb.mi/mi-break.exp: Fix the duplicate test names.
282
283 2021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
284
285 * gdb.base/address_space_qualifier.exp: New file.
286
287 2021-04-19 Tom Tromey <tromey@adacore.com>
288
289 PR gdb/27742:
290 * gdb.opt/inline-locals.exp: Update kfail patterns.
291
292 2021-04-17 Tom Tromey <tom@tromey.com>
293
294 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
295
296 2021-04-16 Tom Tromey <tom@tromey.com>
297
298 * gdb.rust/simple.exp: Change error text.
299 * gdb.rust/expr.exp: Change error text.
300
301 2021-04-16 Tom Tromey <tom@tromey.com>
302
303 * gdb.rust/simple.exp: Add parens to 'as' test.
304
305 2021-04-16 Simon Marchi <simon.marchi@efficios.com>
306
307 * boards/simavr.exp: Set debug_flags.
308
309 2021-04-16 Luis Machado <luis.machado@linaro.org>
310
311 * gdb.dwarf2/dw2-bfloat16.exp: New file.
312
313 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
314
315 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
316 including a path in the test name.
317
318 2021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
319
320 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
321
322 2021-04-15 Tom Tromey <tromey@adacore.com>
323
324 * gdb.dwarf2/arr-stride.exp: Add test.
325
326 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * gdb.base/startup-file.exp: Add more tests.
329
330 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
331
332 PR cli/25956
333 * gdb.base/early-init-file.c: New file.
334 * gdb.base/early-init-file.exp: New file.
335 * lib/gdb-utils.exp (style): Handle style 'none'.
336
337 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
338
339 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
340 @DW_INL_declared_inlined for the inline attribute.
341
342 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
343
344 * gdb.opt/inline-locals.c (scoped): New function.
345 (main): Call 'scoped'.
346 * gdb.opt/inline-locals.exp: Update with "info locals" tests
347 for scoped variables.
348 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
349 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
350
351 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
352
353 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
354
355 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
356
357 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
358
359 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
360
361 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
362 non-relative plxv instructions.
363 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
364
365 2021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
366
367 PR gdb/27525
368 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
369 exercise single-stepping over subpcis,lnia,addpcis instructions
370 with displacement.
371 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
372 of addpcis/lnia/subpcis instructions.
373 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
374 exercise single-stepping over lnia instructions with displacement.
375 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
376 lnia instructions.
377
378 2021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
379
380 * gdb.arch/powerpc-power10.s: New test for instructions.
381 * gdb.arch/powerpc-power10.exp: Harness to run the test.
382
383 2021-4-12 Carl Love <cel@us.ibm.com>
384
385 * gdb.arch/vsx-vsr-float128.c: New test file.
386 * gdb.arch/vsx-vsr-float128.exp: New expect file.
387
388 2021-04-12 Markus Metzger <markus.t.metzger@intel.com>
389
390 * gdb.btrace/reconnect.exp: Relax expected stepi output.
391
392 2021-04-07 Weimin Pan <weimin.pan@oracle.com>
393
394 * gdb.base/ctf-ptype.c: Add struct link containing a forward
395 reference type.
396 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
397
398 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
399
400 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
401 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
402
403 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
404
405 * gdb.cp/rvalue-ref-params.cc (f3): New function.
406 (f4): New function.
407 (global_int): New global variable.
408 (global_float): Likeiwse.
409 (main): Call both new functions.
410 * gdb.cp/rvalue-ref-params.exp: Add new tests.
411
412 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
413
414 * gdb.dwarf2/fission-relative-dwo.c: New file.
415 * gdb.dwarf2/fission-relative-dwo.exp: New file.
416
417 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
418
419 * gdb.dwarf2/fission-absolute-dwo.c: New file.
420 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
421 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
422 instead of build_executable_from_fission_assembler.
423 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
424 * gdb.dwarf2/fission-loclists.exp: Likewise.
425
426 * gdb.dwarf2/fission-multi-cu.S: Delete file.
427 * gdb.dwarf2/fission-multi-cu.c: New file based on old
428 fission-multi-cu1.c and fission-multi-cu2.c files.
429 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
430 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
431 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
432 * gdb.dwarf2/fission-reread.exp: Likewise.
433 * lib/dwarf.exp (extract_dwo_information): New proc.
434 (strip_dwo_information): New proc.
435 (build_executable_and_dwo_files): New proc.
436 (build_executable_from_fission_assembler): Delete.
437 (Dwarf::_debug_addr_index): New variable.
438 (Dwarf::_cu_is_fission): New variable.
439 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
440 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
441 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
442 if this is a fission CU.
443 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
444 (Dwarf::debug_addr_label): New proc.
445 (Dwarf::cu): Initialise _cu_is_fission.
446 (Dwarf::tu): Likewise.
447 (Dwarf::assemble): Initialise _debug_addr_index.
448
449 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
450
451 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
452
453 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
454
455 * gdb.python/py-parameter.exp: Add test for reading data-directory
456 using gdb.parameter API.
457
458 2021-04-06 Tom de Vries <tdevries@suse.de>
459
460 PR breakpoints/25884
461 * gdb.opt/inline-cmds.exp: Remove kfail.
462
463 2021-04-06 Tom de Vries <tdevries@suse.de>
464
465 PR testsuite/27691
466 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
467 file "".
468
469 2021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
470
471 * lib/pdtrace.in: Fix obvious typo.
472
473 2021-03-31 Tom Tromey <tromey@adacore.com>
474
475 * lib/dwarf.exp (Dwarf::_get_args): New proc.
476 (Dwarf::_location): Use it.
477
478 2021-03-31 Tom de Vries <tdevries@suse.de>
479
480 PR testsuite/27667
481 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
482
483 2021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
484
485 PR gdb/27541
486 * gdb.base/index-cache-load-twice.exp: Remove.
487 * gdb.base/index-cache-load-twice.c: Remove.
488 * gdb.dwarf2/per-bfd-sharing.exp: New.
489 * gdb.dwarf2/per-bfd-sharing.c: New.
490
491 2021-03-30 Tom de Vries <tdevries@suse.de>
492
493 PR testsuite/27604
494 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
495
496 2021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
497
498 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
499 the infinite loop to avoid a Clang bug.
500
501 2021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
502
503 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
504 names for uniqueness.
505 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
506 uniqueness.
507
508 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
509
510 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
511 member.
512 (make_container): Initialise is_array_p.
513 * gdb.python/py-prettyprint.exp: Add new tests.
514 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
515 Check is_array_p and possibly return 'array'.
516
517 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
518
519 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
520 * gdb.cp/casts.exp: Give tests unique names.
521 * gdb.cp/filename.exp: Likewise.
522 * gdb.cp/gdb2495.exp: Likewise.
523 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
524 * gdb.cp/misc.exp: Rename test to make it unique.
525 * gdb.cp/nsnested.exp: Give tests unique names.
526 * gdb.cp/ovldbreak.exp: Likewise.
527 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
528 being tested. This also removes the duplicate test name.
529 * gdb.cp/ref-types.exp: Likewise.
530 * gdb.cp/temargs.exp: Likewise.
531
532 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
533
534 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
535 square brackets in test.
536
537 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
538
539 * gdb.cp/maint.exp (test_first_component): Run more tests with a
540 variable number of spaces, this removes the duplicate testing of
541 'operator ->' which existed before.
542
543 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
544
545 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
546 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
547 duplicates, and also to avoid having a string inside parentheses
548 at the end of test names.
549
550 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
551
552 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
553 Avoid repeated uses of 'runto', and instread just progress once
554 through the test stopping at different breakpoints. Give comments
555 a capital letter and full stop. Give duplicate tests unique names.
556
557 2021-03-25 Pedro Alves <pedro@palves.net>
558
559 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
560 "target_non_stop" parameter and use it.
561 (top level): Add "maint set target-non-stop on/off" testing axis.
562
563 2021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
564
565 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
566 gdb_test_multiple.
567
568 2021-03-24 Luis Machado <luis.machado@linaro.org>
569
570 * gdb.arch/aarch64-mte.c: New file.
571 * gdb.arch/aarch64-mte.exp: New test.
572 * gdb.base/memtag.c: New file.
573 * gdb.base/memtag.exp: New test.
574 * lib/gdb.exp (supports_memtag): New function.
575
576 2021-03-24 Luis Machado <luis.machado@linaro.org>
577
578 * gdb.base/options.exp: Adjust for new print options.
579 * gdb.base/with.exp: Likewise.
580
581 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
582
583 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
584 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
585
586 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
587
588 * gdb.dwarf2/dw2-using-debug-str.c: New file.
589 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
590 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
591 not .debug_string.
592
593 2021-03-20 Tom Tromey <tom@tromey.com>
594
595 * gdb.base/maint.exp: Update "maint print statistics" output.
596
597 2021-03-19 Kevin Buettner <kevinb@redhat.com>
598
599 * lib/gdbserver-support.exp (gdbserver_exit): Use the
600 "-nowait" flag when waiting for gdbserver to exit.
601
602 2021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
603
604 * gdb.base/info-macros.exp: Append -fdebug-macro to
605 additional_flags for clang.
606 * gdb.base/macscp.exp: Likewise.
607 * gdb.base/style.exp: Likewise.
608 * gdb.linespec/macro-relative.exp: Likewise.
609
610 2021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
611 Pedro Alves <pedro@palves.net>
612
613 * gdb.base/run-attach-while-running.exp: New.
614 * gdb.base/run-attach-while-running.c: New.
615
616 2021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
617
618 * gdb.python/py-framefilter-addr.c: New file.
619 * gdb.python/py-framefilter-addr.exp: New file.
620 * gdb.python/py-framefilter-addr.py: New file.
621
622 2021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
623
624 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
625 Make use of $gdb_test_name instead of creating a separate $test
626 variable.
627 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
628 adding a '($name)' at the end of each test. This also catches the
629 one place where '($name)' was missing, and so caused a duplicate
630 test name.
631 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
632 duplicate test names based on the command being tested.
633 * gdb.threads/signal-command-multiple-signals-pending.exp:
634 Likewise.
635 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
636 avoid duplicate testnames when a test script uses this proc and
637 also gdb_compile_pthreads.
638 * lib/prelink-support.exp (build_executable_own_libs): Use
639 with_test_prefix to avoid duplicate test names when we call
640 build_executable twice.
641
642 2021-03-15 Tom Tromey <tromey@adacore.com>
643
644 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
645
646 2021-03-15 Tom Tromey <tromey@adacore.com>
647
648 * gdb.ada/varsize_limit.exp: Add new test.
649 * gdb.ada/varsize_limit/vsizelim.adb: Update.
650
651 2021-03-15 Tom Tromey <tromey@adacore.com>
652
653 * gdb.ada/operator_call/twovecs.ads: New file.
654 * gdb.ada/operator_call/twovecs.adb: New file.
655 * gdb.ada/operator_call/opcall.adb: New file.
656 * gdb.ada/operator_call.exp: New file.
657
658 2021-03-15 Tom Tromey <tromey@adacore.com>
659
660 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
661 * gdb.ada/enums_overload/enums_overload.ads: New file.
662 * gdb.ada/enums_overload/enums_overload.adb: New file.
663 * gdb.ada/enums_overload.exp: New file.
664
665 2021-03-15 Tom Tromey <tromey@adacore.com>
666
667 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
668 Declare.
669 * gdb.ada/assign_arr/target_wrapper.adb: New file.
670 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
671 Call Put.
672 * gdb.ada/assign_arr.exp: Update.
673
674 2021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
675
676 * gdb.python/py-auto-load-chaining-f1.c: New file.
677 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
678 * gdb.python/py-auto-load-chaining-f2.c: New file.
679 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
680 * gdb.python/py-auto-load-chaining.c: New file.
681 * gdb.python/py-auto-load-chaining.exp: New file.
682
683 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
684
685 * gdb.python/py-bad-printers.exp: Extend test names to make them
686 unique.
687 * gdb.python/py-events.exp: Likewise.
688 * gdb.python/py-finish-breakpoint2.exp: Likewise.
689 * gdb.python/py-frame-inline.exp: Likewise.
690 * gdb.python/py-frame.exp: Likewise.
691 * gdb.python/py-infthread.exp: Likewise.
692
693 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
694
695 * gdb.python/py-value-cc.exp: Remove a duplicate test.
696
697 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
698
699 * gdb.python/lib-types.exp: Update the test to check the correct
700 python variable.
701
702 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
703
704 * gdb.python/py-explore-cc.exp: Extend test names to make them
705 unique.
706
707 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
708
709 * gdb.python/py-lookup-type.exp: Remove duplicate test.
710
711 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
712
713 * gdb.python/py-symtab.exp: Extend test names to make them
714 unique.
715
716 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
717
718 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
719 names unique.
720
721 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
722
723 * gdb.python/py-block.exp: Give tests unique names.
724
725 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 * gdb.python/py-pp-maint.exp: Extend test names to make them
728 unique.
729
730 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
731
732 * gdb.python/py-explore.exp: Add with_test_prefix to make test
733 names unique.
734
735 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
736
737 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
738
739 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
740
741 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
742 names unique.
743
744 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
745
746 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
747 test names unique.
748
749 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
750
751 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
752 unique.
753
754 2021-03-09 Tom Tromey <tromey@adacore.com>
755
756 * gdb.base/cast-call.exp: New file.
757 * gdb.base/cast-call.c: New file.
758
759 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
760
761 * gdb.gdb/python-helper.exp: New file.
762
763 2020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
764
765 * gdb.fortran/intrinsics.exp: Add LOC tests.
766
767 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
768
769 * gdb.fortran/shape.exp: New file.
770 * gdb.fortran/shape.f90: New file.
771
772 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
773
774 * gdb.fortran/size.exp: New file.
775 * gdb.fortran/size.f90: New file.
776
777 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
778
779 * gdb.fortran/rank.exp: New file.
780 * gdb.fortran/rank.f90: New file.
781
782 2021-03-08 Tom Tromey <tom@tromey.com>
783
784 * gdb.fortran/debug-expr.exp: Update tests.
785
786 2021-03-08 Tom Tromey <tom@tromey.com>
787
788 * gdb.base/debug-expr.exp: Update expected dump output.
789
790 2021-03-06 Tom Tromey <tom@tromey.com>
791
792 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
793 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
794 * gdb.dwarf2/dwznolink.exp: New file.
795
796 2021-03-05 Mark Wielaard <mark@klomp.org>
797
798 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
799
800 2021-03-06 Weimin Pan <weimin.pan@oracle.com>
801
802 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
803
804 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
805
806 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
807
808 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
809
810 * gdb.btrace/non-stop.exp: Adjust expected source lines.
811
812 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
813
814 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
815
816 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
817
818 * gdb.btrace/exception.cc (main): Update test source.
819 * gdb.btrace/exception.exp: Update patterns.
820 * gdb.btrace/function_call_history.exp: Likewise.
821
822 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
823
824 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
825
826 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
827
828 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
829 reverse-continue to breakpoint.
830
831 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
832
833 * gdb.btrace/delta.exp: Remove instruction-history and
834 function-call-history checks.
835
836 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
837
838 * README (Note): Add nopie_ldflag.
839 * lib/gdb.exp (gdb_compile): Extend nopie handling.
840
841 2021-03-02 Tom Tromey <tromey@adacore.com>
842
843 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
844 encodings.
845
846 2021-02-27 Lancelot Six <lsix@lancelotix.com>
847
848 PR gdb/27393
849 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
850
851
852 2021-02-26 Tom Tromey <tom@tromey.com>
853
854 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
855
856 2021-02-26 Jan Vrany <jan.vrany@labware.com>
857
858 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
859 Remove trailing \n from expected output.
860
861 2021-02-26 Markus Metzger <markus.t.metzger@intel.com>
862
863 * lib/gdb.exp (use_gdb_stub): Extend comment.
864
865 2021-02-25 Jan Matyas <jmatyas@codasip.com>
866
867 PR gdb/26819
868 * gdb.server/stop-reply-no-thread.exp: Add two test
869 scenarios that cover remote targets which do not have
870 the concept of threads.
871
872 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
873
874 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
875
876 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
877
878 PR fortran/26155
879 * gdb.fortran/call-no-debug-func.f90: New file.
880 * gdb.fortran/call-no-debug-prog.f90: New file.
881 * gdb.fortran/call-no-debug.exp: New file.
882
883 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
884
885 * gdb.fortran/associated.exp: New file.
886 * gdb.fortran/associated.f90: New file.
887
888 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
889
890 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
891
892 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
893
894 * gdb.base/sect-cmd.exp: Update expected results.
895
896 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
897
898 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
899 techniques. Enable the test for all targets.
900
901 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
902
903 * gdb.base/maint-info-sections.exp: Add new tests.
904 (check_maint_info_target_sections_output): New proc.
905
906 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
907
908 * gdb.arch/riscv-default-tdesc.exp: New file.
909
910 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
911
912 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
913
914 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
915
916 * gdb.arch/i386-biarch-core.exp: Add target check.
917
918 2021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
919
920 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
921
922 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
923
924 * gdb.fortran/allocated.exp: New file.
925 * gdb.fortran/allocated.f90: New file.
926
927 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
928
929 * gdb.fortran/lbound-ubound.exp: Remove old comment.
930
931 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
932
933 * gdb.base/maint-info-sections.exp: Update expected output, and
934 add additional tests. Again.
935
936 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 * gdb.base/maint-info-sections.exp: Update expected output, and
939 add additional tests.
940
941 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
942
943 * gdb.base/maint-info-sections.exp: New file, content is moved
944 from gdb.base/maint.exp and cleaned up to use latest testsuite
945 techniques.
946 * gdb.base/maint.exp: Tests moved out to
947 gdb.base/maint-info-sections.exp.
948
949 2021-02-10 Simon Marchi <simon.marchi@efficios.com>
950
951 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
952 GDBFLAGS.
953
954 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
955
956 * gdb.fortran/lbound-ubound.F90: New file.
957 * gdb.fortran/lbound-ubound.exp: New file.
958
959 2021-02-10 Tom de Vries <tdevries@suse.de>
960
961 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
962 "Restore saved setting of complaints".
963
964 2021-02-09 Tom de Vries <tdevries@suse.de>
965
966 PR symtab/27341
967 * lib/gdb.exp (with_complaints): New proc, factored out of ...
968 (gdb_load_no_complaints): ... here.
969 * gdb.fortran/function-calls.exp: Add test-case.
970
971 2021-02-09 Abid Qadeer <abidh@codesourcery.com>
972
973 * gdb.threads/signal-command-handle-nopass.exp: Call
974 'standard_testfile' before using 'testfile'.
975 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
976 * gdb.threads/signal-delivered-right-thread.exp: Likewise
977 * gdb.threads/signal-sigtrap.exp: Likewise
978
979 2021-02-08 Luis Machado <luis.machado@linaro.org>
980
981 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
982
983 2021-02-08 Tom de Vries <tdevries@suse.de>
984
985 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
986
987 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
988
989 * gdb.python/tui-window-disabled.c: New file.
990 * gdb.python/tui-window-disabled.exp: New file.
991 * gdb.python/tui-window-disabled.py: New file.
992
993 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
994
995 * gdb.python/tui-window.exp: Add new tests.
996 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
997 TestWindow object into global the_window.
998 <remote_title>: New method.
999 (delete_window_title): New function.
1000
1001 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1002
1003 * gdb.tui/winheight.exp: Add more tests.
1004
1005 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1006
1007 * gdb.python/py-framefilter.exp: Update expected results.
1008 * gdb.python/python.exp: Update expected results.
1009
1010 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1011
1012 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
1013 about bug in GDB, update expected results, and add more tests.
1014
1015 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1016
1017 * gdb.tui/scroll.exp: New file.
1018 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
1019 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
1020 remaining lines up.
1021 (Term::check_region_contents): New proc.
1022 (Term::check_box_contents): Use check_region_contents.
1023
1024 2021-02-06 Tom de Vries <tdevries@suse.de>
1025
1026 PR testsuite/26922
1027 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
1028 scrolling.
1029
1030 2021-02-05 Tom de Vries <tdevries@suse.de>
1031
1032 PR breakpoints/27313
1033 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
1034 rejected.
1035
1036 2021-02-05 Tom de Vries <tdevries@suse.de>
1037
1038 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
1039 * gdb.fortran/mixed-lang-stack.exp: Same.
1040
1041 2021-02-05 Tom de Vries <tdevries@suse.de>
1042
1043 PR exp/27265
1044 * gdb.base/complex-parts.exp: Add tests.
1045
1046 2021-02-05 Tom de Vries <tdevries@suse.de>
1047
1048 PR symtab/27307
1049 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
1050
1051 2021-02-04 Shahab Vahedi <shahab@synopsys.com>
1052
1053 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
1054
1055 2021-02-03 Pedro Alves <pedro@palves.net>
1056
1057 * gdb.threads/detach-step-over.c: New file.
1058 * gdb.threads/detach-step-over.exp: New file.
1059
1060 2021-02-03 Pedro Alves <pedro@palves.net>
1061
1062 * gdb.threads/attach-non-stop.c: New file.
1063 * gdb.threads/attach-non-stop.exp: New file.
1064
1065 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1066
1067 * gdb.base/inferior-noarg.c: New test.
1068 * gdb.base/inferior-noarg.exp: New test.
1069
1070 2021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1071
1072 * gdb.base/scope.exp: Use proc_with_prefix.
1073
1074 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1075
1076 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1077 table proc.
1078 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1079 .debug_rnglists table without offset array.
1080 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1081 .debug_loclists table without offset array.
1082
1083 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1084
1085 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1086 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1087 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1088 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1089 attribute
1090
1091 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1092
1093 PR gdb/26813
1094 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1095 (loclists): New proc.
1096 * gdb.dwarf2/loclists-multiple-cus.c: New.
1097 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1098 * gdb.dwarf2/loclists-sec-offset.c: New.
1099 * gdb.dwarf2/loclists-sec-offset.exp: New.
1100
1101 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1102
1103 * lib/dwarf.exp (_location): Add parameters.
1104 (_handle_DW_FORM): Adjust.
1105
1106 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1107
1108 PR gdb/26813
1109 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1110 (cu): Generate header for DWARF 5.
1111 (rnglists): New proc.
1112 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1113 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1114
1115 2021-02-02 Tom de Vries <tdevries@suse.de>
1116
1117 PR symtab/24620
1118 * gdb.dwarf2/fission-reread.exp: Add test-case.
1119
1120 2021-02-01 Tom de Vries <tdevries@suse.de>
1121
1122 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1123 * gdb.dwarf2/fission-loclists-pie.S: Same.
1124 * gdb.dwarf2/fission-loclists.S: Same.
1125 * gdb.dwarf2/fission-multi-cu.S: Same.
1126 * gdb.dwarf2/fission-reread.S: Same.
1127 * gdb.dwarf2/fission-base.exp: Use DWO.
1128 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1129 * gdb.dwarf2/fission-loclists.exp: Same.
1130 * gdb.dwarf2/fission-multi-cu.exp: Same.
1131 * gdb.dwarf2/fission-reread.exp: Same.
1132
1133 2021-01-29 Tom de Vries <tdevries@suse.de>
1134
1135 PR breakpoints/26063
1136 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1137 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1138
1139 2021-01-29 Tom de Vries <tdevries@suse.de>
1140
1141 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1142
1143 2021-01-28 Tom de Vries <tdevries@suse.de>
1144
1145 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1146 in the backtrace, and use that in the rest of the test instead of
1147 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1148
1149 2021-01-28 Tom de Vries <tdevries@suse.de>
1150
1151 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1152 * gdb.arch/i386-sse-stack-align.c: Same.
1153 * gdb.arch/i386-sse-stack-align.exp: Same.
1154
1155 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1156
1157 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1158
1159 2021-01-28 Tom de Vries <tdevries@suse.de>
1160
1161 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1162
1163 2021-01-28 Tom de Vries <tdevries@suse.de>
1164
1165 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1166 "maint info line-table". Make PASS pattern more specific. Make
1167 FAIL pattern work for -m32.
1168
1169 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1170
1171 PR gdb/27133
1172 * gdb.base/ui-redirect.exp: Add test case that ensures that
1173 redirecting both logging and debug does not cause gdb to crash.
1174
1175
1176 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1177
1178 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1179
1180 2021-01-26 Tom de Vries <tdevries@suse.de>
1181
1182 * gdb.threads/killed-outside.exp: Allow regular output.
1183
1184 2021-01-26 Tom de Vries <tdevries@suse.de>
1185
1186 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1187
1188 2021-01-25 Tom de Vries <tdevries@suse.de>
1189
1190 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1191 * lib/gdb.exp: Use gdb_load_no_complaints.
1192
1193 2021-01-25 Tom Tromey <tromey@adacore.com>
1194
1195 * gdb.ada/fixed_points.exp: Add regression test.
1196 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1197 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1198
1199 2021-01-25 Tom Tromey <tromey@adacore.com>
1200
1201 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1202
1203 2021-01-25 Tom Tromey <tromey@adacore.com>
1204
1205 * gdb.ada/local-enum.exp: New file.
1206 * gdb.ada/local-enum/local.adb: New file.
1207
1208 2021-01-23 Tom Tromey <tom@tromey.com>
1209
1210 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1211
1212 2021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1213
1214 * gdb.base/line65535.exp: Fix test expectation.
1215
1216 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1217
1218 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1219 suppression.
1220 (default_gdb_exit): Likewise.
1221 (default_gdb_spawn): Likewise.
1222 (send_gdb): Likewise.
1223 (gdb_expect): Likewise.
1224 (gdb_expect_list): Likewise.
1225 (default_gdb_init): Likewise.
1226 (gdb_suppress_entire_file): Remove.
1227 (gdb_suppress_tests): Remove.
1228 (gdb_stop_suppressing_tests): Remove.
1229 (gdb_clear_suppressed): Remove.
1230 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1231 related to test suppression.
1232 (default_mi_gdb_start): Likewise.
1233 (mi_gdb_reinitialize_dir): Likewise.
1234 (mi_gdb_test): Likewise.
1235 (mi_run_cmd_full): Likewise.
1236 (mi_runto_helper): Likewise.
1237 (mi_execute_to): Likewise.
1238 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1239 * gdb.base/bitfields.exp: Likewise.
1240 * gdb.base/bitfields2.exp: Likewise.
1241 * gdb.base/break.exp: Likewise.
1242 * gdb.base/call-sc.exp: Likewise.
1243 * gdb.base/callfuncs.exp: Likewise.
1244 * gdb.base/dfp-test.exp: Likewise.
1245 * gdb.base/endian.exp: Likewise.
1246 * gdb.base/exprs.exp: Likewise.
1247 * gdb.base/funcargs.exp: Likewise.
1248 * gdb.base/hbreak2.exp: Likewise.
1249 * gdb.base/recurse.exp: Likewise.
1250 * gdb.base/scope.exp: Likewise.
1251 * gdb.base/sepdebug.exp: Likewise.
1252 * gdb.base/structs.exp: Likewise.
1253 * gdb.base/until.exp: Likewise.
1254 * gdb.cp/misc.exp: Likewise.
1255
1256 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1257
1258 PR cli/25956
1259 * gdb.base/style.exp (run_style_tests): Add version string test.
1260 (test_startup_version_string): Use version style name.
1261 * lib/gdb-utils.exp (style): Handle version style name.
1262
1263 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1264
1265 * gdb.base/style.exp (limited_style): New proc.
1266 (clean_restart_and_disable): New proc.
1267 (run_style_tests): New proc. Most of the old tests from this file
1268 are now in this proc.
1269 (test_startup_version_string): New proc. Reamining test from the
1270 old file is in this proc.
1271
1272 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1273
1274 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1275 Adjust to "set debug remote" changes.
1276
1277 2021-01-21 Luis Machado <luis.machado@linaro.org>
1278
1279 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1280 message.
1281
1282 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1283
1284 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1285
1286 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
1287
1288 PR python/19151
1289 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1290
1291 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1292
1293 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1294
1295 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1296
1297 * lib/tuiterm.exp: Add links in comments.
1298
1299 2021-01-20 Tom de Vries <tdevries@suse.de>
1300
1301 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1302 offset.
1303
1304 2021-01-20 Tom de Vries <tdevries@suse.de>
1305
1306 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1307
1308 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1309
1310 * gdb.arch/amd64-stap-expressions.S: New file.
1311 * gdb.arch/amd64-stap-expressions.exp: New file.
1312
1313 2021-01-19 Tom de Vries <tdevries@suse.de>
1314
1315 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1316 sequence.
1317
1318 2021-01-19 Tom de Vries <tdevries@suse.de>
1319
1320 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1321
1322 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1323
1324 * gdb.fortran/array-slices.exp (run_test): Avoid including
1325 addresses in test names.
1326
1327 2021-01-15 Tom de Vries <tdevries@suse.de>
1328
1329 PR testsuite/26997
1330 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1331 when adding sizeof.
1332
1333 2021-01-14 Tom de Vries <tdevries@suse.de>
1334
1335 PR testsuite/24590
1336 * gdb.base/style.exp: Handle shorter argv in frame command output.
1337
1338 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1339
1340 PR gdb/26819
1341 * gdb.server/stop-reply-no-thread-multi.c: New file.
1342 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1343
1344 2021-01-12 Tom de Vries <tdevries@suse.de>
1345
1346 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1347 (main): Remove call to have_mpx.
1348 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1349 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1350 (main): Remote call to have_mpx.
1351 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1352 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1353 (main): Remove call to have_mpx.
1354 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1355 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1356 (main): Remove call to have_mpx.
1357 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1358 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1359 (main): Remote call to have_mpx.
1360 * gdb.arch/i386-mpx.exp: Use have_mpx.
1361 * lib/gdb.exp (have_mpx): New proc.
1362
1363 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1364
1365 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1366
1367 2021-01-12 Tom de Vries <tdevries@suse.de>
1368
1369 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1370
1371 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1372
1373 * gdb.fortran/debug-expr.exp: Add new tests.
1374
1375 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1376
1377 * gdb.fortran/dot-ops.exp: Add new tests.
1378
1379 2021-01-11 Tom de Vries <tdevries@suse.de>
1380
1381 PR testsuite/26968
1382 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1383 Move insn setting $eax to before probe point.
1384
1385 2021-01-09 Tom Tromey <tom@tromey.com>
1386
1387 * gdb.trace/ax.exp: Do not require an "ext".
1388
1389 2021-01-08 Tom Tromey <tromey@adacore.com>
1390
1391 * gdb.ada/voidctx/pck.adb: New file.
1392 * gdb.ada/voidctx/pck.ads: New file.
1393 * gdb.ada/voidctx/voidctx.adb: New file.
1394 * gdb.ada/voidctx.exp: New file.
1395
1396 2021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1397
1398 PR gdb/27157
1399 * gdb.base/empty-host-env-vars.exp: New test.
1400
1401 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1402
1403 * gdb.base/completion.exp: Add a new test.
1404
1405 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1406
1407 * gdb.fortran/intvar-dynamic-types.exp: New file.
1408 * gdb.fortran/intvar-dynamic-types.f90: New file.
1409
1410 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1411
1412 * gdb.fortran/intvar-array.exp: New file.
1413 * gdb.fortran/intvar-array.f90: New file.
1414
1415 2021-01-07 Tom Tromey <tromey@adacore.com>
1416
1417 * gdb.ada/assign_arr.exp: Add 'others' test.
1418
1419 2021-01-06 Tom Tromey <tromey@adacore.com>
1420
1421 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1422 (FP4_Type): New type.
1423 (FP4_Var): New variable.
1424 * gdb.ada/fixed_points/fixed_points.adb: Update.
1425 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1426
1427 2021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1428
1429 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1430 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1431 Pass prompt containing debug print to gdb_test_sequence.
1432
1433 2021-01-04 Tom de Vries <tdevries@suse.de>
1434
1435 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1436
1437 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1438
1439
1440
1441 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1442
1443 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1444 * gdb.server/connect-without-multi-process.exp: Likewise.
1445 * gdb.server/exit-multiple-threads.exp: Likewise.
1446 * gdb.server/ext-attach.exp: Likewise.
1447 * gdb.server/ext-restart.exp: Likewise.
1448 * gdb.server/ext-run.exp: Likewise.
1449 * gdb.server/ext-wrapper.exp: Likewise.
1450 * gdb.server/multi-ui-errors.exp: Likewise.
1451 * gdb.server/no-thread-db.exp: Likewise.
1452 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1453 * gdb.server/run-without-local-binary.exp: Likewise.
1454 * gdb.server/server-kill.exp: Likewise.
1455 * gdb.server/server-run.exp: Likewise.
1456 * gdb.server/solib-list.exp: Likewise.
1457 * gdb.server/stop-reply-no-thread.exp: Likewise.
1458 * gdb.server/wrapper.exp: Likewise.
1459 * gdb.server/sysroot.exp: Increase timeout when testing the
1460 target: sysroot.
1461
1462 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1463
1464 * gdb.server/server-run.exp: Use clean_restart.
1465
1466 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1467
1468 * gdb.server/ext-run.exp: Use clean_restart.
1469
1470 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1471
1472 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1473 instead of prepare_for_testing.
1474
1475 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1476
1477 * gdb.server/solib-list.exp: Use clean_restart.
1478
1479 2021-01-04 Tom de Vries <tdevries@suse.de>
1480
1481 * gdb.base/morestack.c: Remove printf.
1482 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1483
1484 2020-12-31 Tom Tromey <tom@tromey.com>
1485
1486 * gdb.rust/simple.exp: Update output for Rust 1.49.
1487
1488 2020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1489
1490 * gdb.cp/step-and-next-inline.exp: Fix test case.
1491
1492 2020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1493
1494 * gdb.python/py-frame-args.exp: De-duplicate test names.
1495
1496 2020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1497
1498 PR gdb/27059
1499 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1500 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1501
1502 2020-12-21 Peter Waller <p@pwaller.net>
1503
1504 * gdb.base/style-interp-exec-mi.exp: New.
1505 * gdb.base/style-interp-exec-mi.c: New.
1506
1507 2020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1508
1509 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1510 gdb_test. Use proc_with_prefix.
1511
1512 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1513
1514 * gdb.btrace/exception.exp: Build with nopie.
1515 * gdb.btrace/function_call_history.exp: Likewise.
1516 * gdb.btrace/unknown_functions.exp: Likewise.
1517
1518 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1519
1520 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1521
1522 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1523
1524 * gdb.python/py-record-btrace.exp: Make test names unique.
1525 * gdb.python/py-record-full.exp: Likewise.
1526
1527 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1528
1529 * gdb.btrace/data.exp: Make test names unique.
1530 * gdb.btrace/delta.exp: Likewise.
1531 * gdb.btrace/enable.exp: Likewise.
1532 * gdb.btrace/function_call_history.exp: Likewise.
1533 * gdb.btrace/nohist.exp: Likewise.
1534 * gdb.btrace/non-stop.exp: Likewise.
1535 * gdb.btrace/rn-dl-bind.exp: Likewise.
1536 * gdb.btrace/step.exp: Likewise.
1537 * gdb.btrace/stepi.exp: Likewise.
1538 * gdb.btrace/tailcall.exp: Likewise.
1539
1540 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1541
1542 * gdb.btrace/enable.exp: Update error message.
1543 * gdb.btrace/multi-inferior.exp: Likewise.
1544 * gdb.btrace/reconnect.exp: Likewise.
1545 * gdb.python/py-record-btrace.exp: Likewise.
1546 * gdb.python/py-record-full.exp: Likewise.
1547
1548 2020-12-20 Tom de Vries <tdevries@suse.de>
1549
1550 * lib/gdb.exp (save_target_board_info): New proc.
1551 (gdb_compile_shlib): Use save_target_board_info.
1552
1553 2020-12-19 Tom de Vries <tdevries@suse.de>
1554
1555 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1556 (supports_gnuc): New proc.
1557 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1558 test_compiler_info calls. Add unsupported message.
1559 * gdb.base/endianity.c: Use TEST_SSO.
1560
1561 2020-12-19 Hannes Domani <ssbssa@yahoo.de>
1562
1563 PR exp/27070
1564 * gdb.python/compare-enum-type-a.c: New test.
1565 * gdb.python/compare-enum-type-b.c: New test.
1566 * gdb.python/compare-enum-type.exp: New file.
1567 * gdb.python/compare-enum-type.h: New test.
1568
1569 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
1570
1571 * gdb.python/py-format-string.exp: Add tests for address keyword.
1572
1573 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
1574
1575 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1576
1577 2020-12-18 Tom Tromey <tromey@adacore.com>
1578
1579 * gdb.ada/fixed_points.exp: Also run with
1580 -fgnat-encodings=minimal. Update expected output.
1581
1582 2020-12-16 Simon Marchi <simon.marchi@efficios.com>
1583
1584 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1585 * gdb.base/continue-all-already-running.exp: Likewise.
1586 * gdb.base/moribund-step.exp: Likewise.
1587 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1588
1589 2020-12-16 Tom de Vries <tdevries@suse.de>
1590
1591 * gdb.base/batch-preserve-term-settings.exp:
1592
1593 2020-12-16 Tom de Vries <tdevries@suse.de>
1594
1595 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1596 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1597
1598 2020-12-16 Luis Machado <luis.machado@linaro.org>
1599
1600 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1601 pointer-based memory accesses.
1602 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1603 hw watchpoint cases.
1604
1605 2020-12-15 Rae Kim <rae.kim@gmail.com>
1606
1607 * gdb.base/document.exp: New test.
1608
1609 2020-12-15 Tom Tromey <tromey@adacore.com>
1610
1611 * gdb.base/style.exp: Add deprecation tests.
1612
1613 2020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1614
1615 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1616
1617 2020-12-14 Mark Wielaard <mark@klomp.org>
1618
1619 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1620 specially, set attr_form_comment to the actual FORM string used.
1621
1622 2020-12-14 Mark Wielaard <mark@klomp.org>
1623
1624 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1625 _constants(SPECIAL_expr) here, but set it...
1626 (Dwarf::cu): ...here based on _cu_version.
1627
1628 2020-12-14 Tom de Vries <tdevries@suse.de>
1629
1630 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1631 pass -fPIC.
1632 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1633 * gdb.base/break-probes.exp: Same.
1634 * gdb.base/ctxobj.exp: Same.
1635 * gdb.base/dso2dso.exp: Same.
1636 * gdb.base/global-var-nested-by-dso.exp: Same.
1637 * gdb.base/info-shared.exp: Same.
1638 * gdb.base/jit-reader-simple.exp: Same.
1639 * gdb.base/print-file-var.exp: Same.
1640 * gdb.base/skip-solib.exp: Same.
1641 * gdb.btrace/dlopen.exp: Same.
1642
1643 2020-12-14 Tom de Vries <tdevries@suse.de>
1644
1645 PR testsuite/26963
1646 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1647
1648 2020-12-14 Tom de Vries <tdevries@suse.de>
1649
1650 PR testsuite/26962
1651 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1652 cast it to its declared type".
1653
1654 2020-12-14 Tom de Vries <tdevries@suse.de>
1655
1656 PR testsuite/26951
1657 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1658 shell prompt.
1659
1660 2020-12-14 Tom Tromey <tromey@adacore.com>
1661
1662 * gdb.ada/nested.exp: Add new tests.
1663 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1664
1665 2020-12-14 Tom Tromey <tromey@adacore.com>
1666
1667 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1668
1669 2020-12-14 Tom Tromey <tromey@adacore.com>
1670
1671 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1672
1673 2020-12-13 Tom de Vries <tdevries@suse.de>
1674
1675 PR testsuite/26953
1676 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1677 attribute support if compiler doesn't support it.
1678
1679 2020-12-13 Tom de Vries <tdevries@suse.de>
1680
1681 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1682 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1683 source to shared lib. Add ada to options.
1684
1685 2020-12-13 Tom de Vries <tdevries@suse.de>
1686
1687 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1688 calling gnatbind and gnatlink.
1689
1690 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1691
1692 * gdb.base/dcache-flush.c: New file.
1693 * gdb.base/dcache-flush.exp: New file.
1694
1695 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1696
1697 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1698 commands.
1699 * gdb.base/killed-outside.exp: Likewise.
1700 * gdb.opt/inline-bt.exp: Likewise.
1701 * gdb.perf/gmonster-null-lookup.py: Likewise.
1702 * gdb.perf/gmonster-print-cerr.py: Likewise.
1703 * gdb.perf/gmonster-ptype-string.py: Likewise.
1704 * gdb.python/py-unwind.exp: Likewise.
1705
1706 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1707
1708 * gdb.base/commands.exp: Update expected results.
1709
1710 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1711
1712 PR cli/15104
1713 * gdb.base/commands.exp: Add additional tests.
1714 * gdb.base/completion.exp: Add additional tests.
1715
1716 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1717
1718 * gdb.base/completion.exp: Add additional tests.
1719
1720 2020-12-11 Tom de Vries <tdevries@suse.de>
1721
1722 PR testsuite/26991
1723 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1724 violations by setting bounds registers if the bounds are passed in the
1725 Bounds Table.
1726
1727 2020-12-11 Tom de Vries <tdevries@suse.de>
1728
1729 PR testsuite/26954
1730 * gdb.base/float128.exp: Detect and handle no mpfr support.
1731
1732 2020-12-10 Simon Marchi <simon.marchi@efficios.com>
1733
1734 PR gdb/24694
1735 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1736 calls.
1737
1738 2020-12-10 Tom de Vries <tdevries@suse.de>
1739
1740 PR testsuite/26947
1741 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1742 braces for tcl 8.5 and earlier.
1743
1744 2020-12-09 Simon Marchi <simon.marchi@efficios.com>
1745
1746 PR 26875, PR 26901
1747 * gdb.base/flexible-array-member.c: New test.
1748 * gdb.base/flexible-array-member.exp: New test.
1749
1750 2020-12-08 Tom de Vries <tdevries@suse.de>
1751
1752 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1753 using is_amd64_regs_target.
1754
1755 2020-12-08 Tom de Vries <tdevries@suse.de>
1756
1757 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1758 self_id.
1759
1760 2020-12-07 Pedro Alves <pedro@palves.net>
1761
1762 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1763 'additional_flags' variable.
1764
1765 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1766
1767 * gdb.linespec/explicit.exp: Extend with a test to check completing
1768 '-' after seemingly complete options.
1769
1770 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1771
1772 * gdb.linespec/keywords.exp: Add tests to check positional
1773 flexibility of "-force-condition".
1774
1775 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1776
1777 * gdb.base/bp-cmds-run-with-ex.c: New file.
1778 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1779 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1780 * gdb.gdb/python-interrupts.exp: Update the call to
1781 'catch_command_errors' with the new argument.
1782 * gdb.gdb/python-selftest.exp: Ditto.
1783
1784 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1785
1786 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1787 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1788 * gdb.threads/non-stop-fair-events.exp: Likewise.
1789
1790 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1791
1792 * gdb.threads/step-over-exec.exp: New.
1793 * gdb.threads/step-over-exec.c: New.
1794 * gdb.threads/step-over-exec-execd.c: New.
1795 * lib/my-syscalls.S: New.
1796 * lib/my-syscalls.h: New.
1797
1798 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1799
1800 * lib/dwarf.exp (declare_labels): Use name as text if text is
1801 not provided.
1802
1803 2020-12-04 Tom de Vries <tdevries@suse.de>
1804
1805 PR testsuite/26990
1806 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1807 are unsupported.
1808
1809 2020-12-04 Tom de Vries <tdevries@suse.de>
1810
1811 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1812 clause.
1813
1814 2020-12-04 Tom de Vries <tdevries@suse.de>
1815
1816 * gdb.reverse/insn-reverse.exp: Fix count handling.
1817
1818 2020-12-04 Tom de Vries <tdevries@suse.de>
1819
1820 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1821 __x86_64__.
1822
1823 2020-12-04 Tom de Vries <tdevries@suse.de>
1824
1825 * gdb.reverse/insn-reverse.c (test_nr): New var.
1826 (usage, parse_args): New function.
1827 (main): Call parse_args. Only run test for test_nr.
1828 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1829 and bail out. Run subtests individually, using an inferior arg
1830 specifying the subtest.
1831
1832 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1833
1834 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1835
1836 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1837
1838 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1839 update test to use this.
1840
1841 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1842
1843 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1844
1845 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1846
1847 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1848 (do_test): Don't use with_test_prefix.
1849 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1850 (do_test): Don't use with_test_prefix.
1851 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1852 (do_test): Don't use with_test_prefix.
1853 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1854 (do_test): Don't use with_test_prefix.
1855
1856 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1857
1858 * gdb.threads/non-ldr-exit.exp: Fix comment.
1859
1860 2020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1861
1862 * gdb.xml/maint-xml-dump-03.xml: New file.
1863
1864 2020-11-30 Tom de Vries <tdevries@suse.de>
1865
1866 PR symtab/26905
1867 * gdb.dwarf2/count.exp: Remove kfails.
1868
1869 2020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1870
1871 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1872 indices.
1873
1874 2020-11-24 Joel Brobecker <brobecker@adacore.com>
1875
1876 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1877 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1878 languages. Remove the associated setup_xfail.
1879
1880 2020-11-23 Simon Marchi <simon.marchi@efficios.com>
1881
1882 * lib/gdb.exp (gdb_assert): Show error message on error.
1883
1884 2020-11-23 Tom de Vries <tdevries@suse.de>
1885
1886 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1887 * gdb.ada/mod_from_name.exp: Same.
1888 * gdb.ada/pckd_arr_ren.exp: Same.
1889
1890 2020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1891
1892 * gdb.base/template.exp: New.
1893 * gdb.base/template.c: New.
1894
1895 2020-11-22 Gary Benson <gbenson@redhat.com>
1896
1897 PR gdb/26905
1898 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1899 is defined using a DW_AT_count which references another DIE.
1900
1901 2020-11-21 Tom de Vries <tdevries@suse.de>
1902
1903 * gdb.base/vla-ptr.exp: Add XFAIL.
1904
1905 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1906
1907 * gdb.fortran/array-slices-bad.exp: New file.
1908 * gdb.fortran/array-slices-bad.f90: New file.
1909 * gdb.fortran/array-slices-sub-slices.exp: New file.
1910 * gdb.fortran/array-slices-sub-slices.f90: New file.
1911 * gdb.fortran/array-slices.exp: Rewrite tests.
1912 * gdb.fortran/array-slices.f90: Rewrite tests.
1913 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1914
1915 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1916
1917 * gdb.base/completion.exp: Add new completion tests.
1918
1919 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1920
1921 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1922 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1923 * gdb.mi/mi-nsintrall.exp: Likewise.
1924 * gdb.mi/mi-nsmoribund.exp: Likewise.
1925 * gdb.mi/mi-nsthrexec.exp: Likewise.
1926 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1927
1928 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1929
1930 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1931 of perror.
1932
1933 2020-11-18 Joseph Myers <joseph@codesourcery.com>
1934
1935 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1936 $arg.exe exists but $arg does not.
1937
1938 2020-11-17 Gary Benson <gbenson@redhat.com>
1939
1940 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1941 __attribute__ ((used)).
1942
1943 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1944
1945 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1946
1947 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1948
1949 * gdb.base/completion.exp: Add new tests.
1950
1951 2020-11-16 Tom Tromey <tromey@adacore.com>
1952
1953 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1954 tests.
1955
1956 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1957
1958 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1959 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1960 (main): Add reference to pck__fp1_var2.
1961 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1962
1963 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1964
1965 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1966
1967 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1968
1969 * gdb.ada/fixed_points.exp: Add ptype tests.
1970 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1971
1972 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1973
1974 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1975
1976 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1977
1978 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1979 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1980 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1981 New files.
1982 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1983
1984 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1985 New files.
1986
1987 2020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1988
1989 PR cli/26879
1990 * gdb.fortran/completion.exp: New file.
1991 * gdb.fortran/completion.f90: New file.
1992
1993 2020-11-12 Joseph Myers <joseph@codesourcery.com>
1994
1995 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1996 but $arg does not.
1997
1998 2020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1999
2000 * gdb.fortran/types.exp: Add more tests.
2001
2002 2020-11-12 Tom Tromey <tom@tromey.com>
2003
2004 PR rust/26799:
2005 * gdb.rust/traits.exp: Remove kfails.
2006
2007 2020-11-12 Gary Benson <gbenson@redhat.com>
2008
2009 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
2010 statement.
2011
2012 2020-11-11 Simon Marchi <simon.marchi@efficios.com>
2013
2014 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
2015 always-inserted" axis.
2016 (do_test): Add breakpoint_always_inserted parameter.
2017
2018 2020-11-10 Tom Tromey <tromey@adacore.com>
2019
2020 * gdb.ada/bias.exp: Update.
2021 * gdb.ada/bias/bias.adb (X): Change value.
2022
2023 2020-11-10 Gary Benson <gbenson@redhat.com>
2024
2025 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
2026 regexp fragment in parentheses to prevent false matching.
2027
2028 2020-11-10 Gary Benson <gbenson@redhat.com>
2029
2030 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
2031
2032 2020-11-10 Gary Benson <gbenson@redhat.com>
2033
2034 * gdb.cp/step-and-next-inline.exp: Only require
2035 -gstatement-frontiers when building with GCC.
2036 Only setup KFAIL's for GCC issues when using
2037 a GCC-built executable.
2038
2039 2020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
2040
2041 * gdb.base/debug-expr.c: Add extra function to allow for an
2042 additional test.
2043 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
2044 to this proc with gdb_test_debug_expr. Add an extra test.
2045 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
2046 to this proc with gdb_test_debug_expr, give the tests names
2047 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
2048 calls to this proc with gdb_test_debug_expr, give the tests names
2049 * gdb.fortran/debug-expr.exp: New file.
2050 * gdb.fortran/debug-expr.f90: New file.
2051 * lib/gdb.exp (gdb_test_debug_expr): New proc.
2052
2053 2020-11-06 Simon Marchi <simon.marchi@efficios.com>
2054
2055 * lib/dwarf.exp (ranges): Handle "base" and "range" as
2056 proceduresu.
2057 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
2058 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2059 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2060 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2061 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2062 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2063 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2064 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2065
2066 2020-11-04 Tom Tromey <tromey@adacore.com>
2067
2068 * gdb.ada/funcall_ref.exp: Update.
2069 * gdb.ada/var_rec_arr.exp: Update.
2070
2071 2020-11-04 Tom Tromey <tromey@adacore.com>
2072
2073 * gdb.ada/rec_ptype.exp: New file.
2074 * gdb.ada/rec_ptype/main.adb: New file.
2075 * gdb.ada/rec_ptype/p.ads: New file.
2076
2077 2020-11-04 Tom Tromey <tromey@adacore.com>
2078
2079 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2080 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2081 (PT_Full): New variable.
2082 * gdb.ada/tick_length_array_enum_idx/pck.adb
2083 (Full_PT): New type.
2084
2085 2020-11-04 Tom Tromey <tromey@adacore.com>
2086
2087 * gdb.ada/array_of_variant.exp: New file.
2088 * gdb.ada/array_of_variant/p.adb: New file.
2089 * gdb.ada/array_of_variant/pck.ads: New file.
2090 * gdb.ada/array_of_variant/pck.adb: New file.
2091
2092 2020-11-04 Tom Tromey <tromey@adacore.com>
2093
2094 * gdb.ada/enum_idx_packed.exp: Add test.
2095 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2096 New variable.
2097 * gdb.ada/enum_idx_packed/pck.ads (Short)
2098 (Multi_Dimension, Multi_Dimension_Access): New types.
2099
2100 2020-11-04 Tom Tromey <tromey@adacore.com>
2101
2102 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2103
2104 2020-11-04 Tom Tromey <tromey@adacore.com>
2105
2106 * gdb.ada/set_pckd_arr_elt.exp: Also test
2107 -fgnat-encodings=minimal. Add tests.
2108 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2109 Call Update_Small a second time.
2110 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2111 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2112 (Variant_Access): New types.
2113 (New_Variant): Declare.
2114
2115 2020-11-04 Tom Tromey <tromey@adacore.com>
2116
2117 * gdb.ada/mod_from_name.exp: Test printing slice.
2118
2119 2020-11-04 Tom Tromey <tromey@adacore.com>
2120
2121 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2122 values.
2123 * gdb.ada/access_to_unbounded_array.exp: Test different
2124 -fgnat-encodings values.
2125 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2126 values.
2127 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2128 values.
2129 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2130 values.
2131 * gdb.ada/array_of_variable_length.exp: Test different
2132 -fgnat-encodings values.
2133 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2134 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2135 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2136 change.
2137 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2138 values.
2139 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2140 * gdb.ada/out_of_line_in_inlined.exp: Test different
2141 -fgnat-encodings values.
2142 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2143 values.
2144 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2145 values.
2146 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2147 -fgnat-encodings values.
2148 * gdb.ada/variant_record_packed_array.exp: Test different
2149 -fgnat-encodings values.
2150
2151 2020-11-04 Tom Tromey <tromey@adacore.com>
2152
2153 * gdb.ada/enum_idx_packed.exp: Add tests.
2154 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2155 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2156 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2157 declarations.
2158
2159 2020-11-03 Tom de Vries <tdevries@suse.de>
2160
2161 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2162 terminator comments.
2163 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2164 terminator.
2165
2166 2020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2167
2168 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2169 integer format test with regexp.
2170
2171 2020-11-02 Gary Benson <gbenson@redhat.com>
2172
2173 * gdb.base/print-file-var.exp (test): Separate compiler and
2174 linker options, and build using build_executable_from_specs
2175 to accommodate this.
2176
2177 2020-11-02 Gary Benson <gbenson@redhat.com>
2178
2179 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2180 for .c files compiled as C++ with Clang if any shared
2181 libraries are specified.
2182
2183 2020-11-02 Gary Benson <gbenson@redhat.com>
2184
2185 * lib/attributes.h: New header.
2186 * gdb.base/backtrace.c: Include the above. Replace
2187 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2188 * gdb.base/infcall-nested-structs.c: Likewise.
2189 * gdb.base/vla-optimized-out.c: Likewise.
2190
2191 2020-11-02 Tom de Vries <tdevries@suse.de>
2192
2193 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2194
2195 2020-11-01 Joel Brobecker <brobecker@adacore.com>
2196
2197 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2198 System.Min_Int and System.Max_Int with smaller hardcoded
2199 constants.
2200
2201 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2202
2203 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2204 * configure: Re-generate.
2205
2206 2020-10-30 Simon Marchi <simon.marchi@efficios.com>
2207
2208 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2209 expected output.
2210
2211 2020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2212
2213 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2214 behavior.
2215 * gdb.base/paginate-bg-execution.exp: Ditto.
2216 * gdb.base/paginate-inferior-exit.exp: Ditto.
2217 * gdb.base/double-prompt-target-event-error.c: Remove.
2218 * gdb.base/double-prompt-target-event-error.exp: Remove.
2219
2220 2020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2221
2222 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2223 inferiors' and 'detach inferiors' do not change the current
2224 inferior.
2225
2226 2020-10-29 Tom de Vries <tdevries@suse.de>
2227
2228 * gdb.threads/tls.exp: Fix DUPLICATEs.
2229
2230 2020-10-28 Tom de Vries <tdevries@suse.de>
2231
2232 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2233
2234 2020-10-28 Tom de Vries <tdevries@suse.de>
2235
2236 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2237 * gdb.base/reread.exp: Same.
2238
2239 2020-10-28 Tom de Vries <tdevries@suse.de>
2240
2241 * lib/gdb.exp (readnow): Handle arg.
2242 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2243
2244 2020-10-28 Tom de Vries <tdevries@suse.de>
2245
2246 * gdb.base/relocate.exp: Update regexp for -readnow.
2247
2248 2020-10-28 Tom de Vries <tdevries@suse.de>
2249
2250 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2251 -readnow.
2252
2253 2020-10-28 Tom de Vries <tdevries@suse.de>
2254
2255 PR symtab/26772
2256 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2257 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2258
2259 2020-10-28 Tom de Vries <tdevries@suse.de>
2260
2261 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2262 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2263 complaint during file command for -readnow.
2264
2265 2020-10-28 Tom de Vries <tdevries@suse.de>
2266
2267 * gdb.cp/nsalias.exp: Fix typo in test name.
2268
2269 2020-10-28 Tom de Vries <tdevries@suse.de>
2270
2271 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2272
2273 2020-10-28 Tom de Vries <tdevries@suse.de>
2274
2275 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2276 -readnow.
2277
2278 2020-10-27 Tom de Vries <tdevries@suse.de>
2279
2280 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2281
2282 2020-10-27 Tom de Vries <tdevries@suse.de>
2283
2284 * gdb.base/maint.exp: Update for -readnow.
2285
2286 2020-10-27 Tom de Vries <tdevries@suse.de>
2287
2288 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2289 -readnow.
2290
2291 2020-10-14 Gary Benson <gbenson@redhat.com>
2292
2293 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2294 "_vptr$Base" as correct, in addition to "_vptr.Base".
2295 (test_mixed): Likewise.
2296
2297 2020-10-27 Gary Benson <gbenson@redhat.com>
2298
2299 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2300 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2301
2302 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2303
2304 * gdb.base/condbreak.exp: Update the completion tests to
2305 consider the '-force' flag.
2306
2307 2020-10-27 Tom de Vries <tdevries@suse.de>
2308
2309 * gdb.base/list-ambiguous-readnow.exp: New file.
2310
2311 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2312
2313 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2314 the condition.
2315 * gdb.linespec/cpcompletion.exp: Update to consider the
2316 '-force-condition' keyword.
2317 * gdb.linespec/explicit.exp: Ditto.
2318 * lib/completion-support.exp: Ditto.
2319
2320 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2321
2322 * gdb.base/condbreak-multi-context.cc: New file.
2323 * gdb.base/condbreak-multi-context.exp: New file.
2324
2325 2020-10-26 Tom Tromey <tom@tromey.com>
2326
2327 * lib/mi-support.exp (default_mi_gdb_start): Call
2328 gdb_stdin_log_init.
2329 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2330 subtract one from gdb_instances.
2331 (gdb_stdin_log_write): Flush in_file.
2332
2333 2020-10-26 Tom de Vries <tdevries@suse.de>
2334
2335 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2336
2337 2020-10-26 Tom Tromey <tromey@adacore.com>
2338
2339 * gdb.ada/unsigned_range/foo.adb: New file.
2340 * gdb.ada/unsigned_range/pack.adb: New file.
2341 * gdb.ada/unsigned_range/pack.ads: New file.
2342 * gdb.ada/unsigned_range.exp: New file.
2343
2344 2020-10-26 Tom de Vries <tdevries@suse.de>
2345
2346 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2347
2348 2020-10-26 Tom de Vries <tdevries@suse.de>
2349
2350 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2351 for CU.
2352 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2353
2354 2020-10-23 Tom de Vries <tdevries@suse.de>
2355
2356 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2357 DW_FORM_string.
2358 (Dwarf::_default_form): New proc.
2359 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2360 guessed.
2361
2362 2020-10-23 Tom de Vries <tdevries@suse.de>
2363
2364 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2365 * gdb.dwarf2/atomic-type.exp: Same.
2366 * gdb.dwarf2/bad-regnum.exp: Same.
2367 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2368 * gdb.dwarf2/dw2-align.exp: Same.
2369 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2370 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2371 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2372 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2373 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2374 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2375 * gdb.dwarf2/enum-type.exp: Same.
2376 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2377 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2378 * gdb.dwarf2/main-subprogram.exp: Same.
2379 * gdb.dwarf2/missing-type-name.exp: Same.
2380 * gdb.dwarf2/nonvar-access.exp: Same.
2381 * gdb.dwarf2/typedef-void-finish.exp: Same.
2382 * gdb.dwarf2/var-access.exp: Same.
2383 * gdb.dwarf2/void-type.exp: Same.
2384
2385 2020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2386
2387 PR gdb/26693
2388 * gdb.dwarf2/template-specification-full-name.exp: New test.
2389
2390 2020-10-22 Luis Machado <luis.machado@linaro.org>
2391
2392 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2393 expected an offset from the function.
2394 * gdb.base/msym-bp.exp (test): Likewise.
2395
2396 2020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2397
2398 * gdb.fortran/array-slices.exp: Add a new test.
2399
2400 2020-10-21 Gary Benson <gbenson@redhat.com>
2401
2402 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2403 fullname test with Clang. Also expand comments generally.
2404
2405 2020-10-20 Tom de Vries <tdevries@suse.de>
2406
2407 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2408
2409 2020-10-20 Tom de Vries <tdevries@suse.de>
2410
2411 * gdb.dwarf2/arr-stride.c: Remove.
2412 * gdb.dwarf2/arr-stride.exp: Use main.c.
2413 * gdb.dwarf2/arr-subrange.c: Remove.
2414 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2415 * gdb.dwarf2/bad-regnum.c: Remove.
2416 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2417 * gdb.dwarf2/corrupt.c: Remove.
2418 * gdb.dwarf2/corrupt.exp: Use main.c.
2419 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2420 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2421 * gdb.dwarf2/dw2-icycle.c: Remove.
2422 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2423 * gdb.dwarf2/formdata16.c: Remove.
2424 * gdb.dwarf2/formdata16.exp: Use main.c.
2425 * gdb.dwarf2/implptrconst.c: Remove.
2426 * gdb.dwarf2/implptrconst.exp: Use main.c.
2427 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2428 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2429 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2430 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2431
2432 2020-10-20 Tom de Vries <tdevries@suse.de>
2433
2434 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2435 file.
2436 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2437
2438 2020-10-20 Tom de Vries <tdevries@suse.de>
2439
2440 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2441 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2442 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2443 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2444 * gdb.dwarf2/dw2-ranges.exp: Same.
2445 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2446 * gdb.dwarf2/var-access.exp: Same.
2447
2448 2020-10-19 Tom Tromey <tromey@adacore.com>
2449
2450 PR tui/26719
2451 * gdb.tui/list.exp: Check source window contents after focus
2452 change.
2453
2454 2020-10-17 Tom de Vries <tdevries@suse.de>
2455
2456 PR symtab/26317
2457 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2458
2459 2020-10-17 Tom de Vries <tdevries@suse.de>
2460
2461 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2462 as suffix.
2463 * gdb.dwarf2/atomic.c: Rename to ...
2464 * gdb.dwarf2/atomic-type.c: ... this.
2465 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2466 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2467 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2468 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2469 * gdb.dwarf2/fission-mix2.c: Rename to ...
2470 * gdb.dwarf2/fission-mix-2.c: ... this.
2471 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2472 standard_testfile.
2473 * gdb.dwarf2/ada-valprint-error.exp: Same.
2474 * gdb.dwarf2/arr-stride.exp: Same.
2475 * gdb.dwarf2/arr-subrange.exp: Same.
2476 * gdb.dwarf2/atomic-type.exp: Same.
2477 * gdb.dwarf2/bad-regnum.exp: Same.
2478 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2479 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2480 * gdb.dwarf2/clang-debug-names.exp: Same.
2481 * gdb.dwarf2/comp-unit-lang.exp: Same.
2482 * gdb.dwarf2/corrupt.exp: Same.
2483 * gdb.dwarf2/count.exp: Same.
2484 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2485 * gdb.dwarf2/data-loc.exp: Same.
2486 * gdb.dwarf2/dw2-align.exp: Same.
2487 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2488 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2489 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2490 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2491 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2492 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2493 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2494 * gdb.dwarf2/dw2-inline-param.exp: Same.
2495 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2496 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2497 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2498 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2499 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2500 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2501 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2502 * gdb.dwarf2/dw2-param-error.exp: Same.
2503 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2504 * gdb.dwarf2/dw2-ranges.exp: Same.
2505 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2506 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2507 * gdb.dwarf2/dw4-sig-types.exp: Same.
2508 * gdb.dwarf2/dynarr-ptr.exp: Same.
2509 * gdb.dwarf2/enum-type.exp: Same.
2510 * gdb.dwarf2/fission-mix.exp: Same.
2511 * gdb.dwarf2/formdata16.exp: Same.
2512 * gdb.dwarf2/implptrconst.exp: Same.
2513 * gdb.dwarf2/implptrpiece.exp: Same.
2514 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2515 * gdb.dwarf2/main-subprogram.exp: Same.
2516 * gdb.dwarf2/method-ptr.exp: Same.
2517 * gdb.dwarf2/missing-sig-type.exp: Same.
2518 * gdb.dwarf2/nonvar-access.exp: Same.
2519 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2520 * gdb.dwarf2/shortpiece.exp: Same.
2521 * gdb.dwarf2/staticvirtual.exp: Same.
2522 * gdb.dwarf2/subrange.exp: Same.
2523 * gdb.dwarf2/symtab-producer.exp: Same.
2524 * gdb.dwarf2/typedef-void-finish.exp: Same.
2525 * gdb.dwarf2/var-access.exp: Same.
2526 * gdb.dwarf2/variant.exp: Same.
2527 * gdb.dwarf2/void-type.exp: Same.
2528 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2529 dw2-ranges-main.c.
2530 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2531
2532 2020-10-16 Tom de Vries <tdevries@suse.de>
2533
2534 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2535
2536 2020-10-16 Tom de Vries <tdevries@suse.de>
2537
2538 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2539
2540 2020-10-14 Tom de Vries <tdevries@suse.de>
2541
2542 PR testsuite/26732
2543 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2544 scenario 2.
2545 * gdb.ada/mi_catch_ex_hand.exp: Same.
2546
2547 2020-10-13 Pedro Alves <pedro@palves.net>
2548
2549 * lib/mi-support.exp (mi_clean_restart): New.
2550 (mi_run_to_main): Delete.
2551 All callers adjust to use mi_clean_restart / mi_runto_main.
2552
2553 2020-10-13 Pedro Alves <pedro@palves.net>
2554
2555 * config/monitor.exp: Use "list -q".
2556 * gdb.arch/gdb1558.exp: Use "break -q".
2557 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2558 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2559 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2560 * gdb.base/commands.exp: Use "break -q".
2561 * gdb.base/condbreak.exp: Use "break -q".
2562 * gdb.base/ctf-ptype.exp: Use "list -q".
2563 * gdb.base/define.exp: Use "break -q".
2564 * gdb.base/del.exp: Use "break -q".
2565 * gdb.base/fullname.exp: Use "break -q".
2566 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2567 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2568 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2569 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2570 "hbreak -q".
2571 * gdb.base/included.exp: Use "list -q".
2572 * gdb.base/label.exp: Use "break -q".
2573 * gdb.base/lineinc.exp: Use "break -q".
2574 * gdb.base/list.exp: Use "list -q".
2575 * gdb.base/macscp.exp: Use "list -q".
2576 * gdb.base/pending.exp: Use "break -q".
2577 * gdb.base/prologue-include.exp: Use "break -q".
2578 * gdb.base/ptype.exp: Use "list -q".
2579 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2580 * gdb.base/server-del-break.exp: Use "break -q".
2581 * gdb.base/style.exp: Use "break -q".
2582 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2583 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2584 * gdb.cp/exception.exp: Use "tbreak -q".
2585 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2586 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2587 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2588 * gdb.dwarf2/pr13961.exp: Use "break -q".
2589 * gdb.linespec/explicit.exp: Use "list -q".
2590 * gdb.linespec/linespec.exp: Use "break -q".
2591 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2592 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2593 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2594 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2595 * gdb.trace/change-loc.exp: Use "break -q".
2596 * gdb.trace/pending.exp: Use "break -q".
2597 * gdb.tui/basic.exp: Use "list -q".
2598 * gdb.tui/list-before.exp: Use "list -q".
2599 * gdb.tui/list.exp: Use "list -q".
2600 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2601
2602 2020-10-13 Pedro Alves <pedro@palves.net>
2603
2604 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2605 saved breakpoints file.
2606 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2607 inspecting breakpoint list.
2608 * lib/gdb.exp (runto_main): Add "qualified" to options.
2609 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2610 and handle it.
2611 (mi_runto_main): Pass 1 as qualified argument.
2612
2613 2020-10-13 Pedro Alves <pedro@palves.net>
2614
2615 * lib/mi-support.exp (mi_runto_main): New proc.
2616 (mi_run_to_main): Use it.
2617 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2618 * gdb.mi/mi-var-cmd.exp: Likewise.
2619 * gdb.mi/mi-var-invalidate.exp: Likewise.
2620 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2621 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2622 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2623 * gdb.mi/user-selected-context-sync.exp: Likewise.
2624 * gdb.opt/inline-cmds.exp: Likewise.
2625 * gdb.python/py-framefilter-mi.exp: Likewise.
2626 * gdb.python/py-mi.exp: Likewise.
2627
2628 2020-10-13 Pedro Alves <pedro@palves.net>
2629
2630 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2631 "runto main".
2632 * gdb.ada/small_reg_param.exp: Likewise.
2633 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2634 * gdb.base/annota1.exp: Likewise.
2635 * gdb.base/anon.exp: Likewise.
2636 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2637 * gdb.base/dprintf-non-stop.exp: Likewise.
2638 * gdb.base/dprintf.exp: Likewise.
2639 * gdb.base/gdb11530.exp: Likewise.
2640 * gdb.base/gdb11531.exp: Likewise.
2641 * gdb.base/gnu_vector.exp: Likewise.
2642 * gdb.base/interrupt-noterm.exp: Likewise.
2643 * gdb.base/memattr.exp: Likewise.
2644 * gdb.base/step-over-syscall.exp: Likewise.
2645 * gdb.base/watch-cond-infcall.exp: Likewise.
2646 * gdb.base/watch-read.exp: Likewise.
2647 * gdb.base/watch-vfork.exp: Likewise.
2648 * gdb.base/watch_thread_num.exp: Likewise.
2649 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2650 * gdb.guile/scm-frame-inline.exp: Likewise.
2651 * gdb.linespec/explicit.exp: Likewise.
2652 * gdb.opt/inline-break.exp: Likewise.
2653 * gdb.python/py-frame-inline.exp: Likewise.
2654 * gdb.reverse/break-precsave.exp: Likewise.
2655 * gdb.reverse/break-reverse.exp: Likewise.
2656 * gdb.reverse/consecutive-precsave.exp: Likewise.
2657 * gdb.reverse/consecutive-reverse.exp: Likewise.
2658 * gdb.reverse/finish-precsave.exp: Likewise.
2659 * gdb.reverse/finish-reverse.exp: Likewise.
2660 * gdb.reverse/fstatat-reverse.exp: Likewise.
2661 * gdb.reverse/getresuid-reverse.exp: Likewise.
2662 * gdb.reverse/i386-precsave.exp: Likewise.
2663 * gdb.reverse/i386-reverse.exp: Likewise.
2664 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2665 * gdb.reverse/i387-env-reverse.exp: Likewise.
2666 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2667 * gdb.reverse/insn-reverse.exp: Likewise.
2668 * gdb.reverse/machinestate-precsave.exp: Likewise.
2669 * gdb.reverse/machinestate.exp: Likewise.
2670 * gdb.reverse/pipe-reverse.exp: Likewise.
2671 * gdb.reverse/readv-reverse.exp: Likewise.
2672 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2673 * gdb.reverse/rerun-prec.exp: Likewise.
2674 * gdb.reverse/s390-mvcle.exp: Likewise.
2675 * gdb.reverse/solib-precsave.exp: Likewise.
2676 * gdb.reverse/solib-reverse.exp: Likewise.
2677 * gdb.reverse/step-precsave.exp: Likewise.
2678 * gdb.reverse/step-reverse.exp: Likewise.
2679 * gdb.reverse/time-reverse.exp: Likewise.
2680 * gdb.reverse/until-precsave.exp: Likewise.
2681 * gdb.reverse/until-reverse.exp: Likewise.
2682 * gdb.reverse/waitpid-reverse.exp: Likewise.
2683 * gdb.reverse/watch-precsave.exp: Likewise.
2684 * gdb.reverse/watch-reverse.exp: Likewise.
2685 * gdb.threads/kill.exp: Likewise.
2686 * gdb.threads/tid-reuse.exp: Likewise.
2687
2688 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2689
2690 PR gdb/26642
2691 * gdb.base/maint-target-async-off.c: New test.
2692 * gdb.base/maint-target-async-off.exp: New test.
2693
2694 2020-10-13 Alan Modra <amodra@gmail.com>
2695
2696 * gdb.arch/powerpc-altivec.s,
2697 * gdb.arch/powerpc-power7.s,
2698 * gdb.arch/powerpc-power8.s,
2699 * gdb.arch/powerpc-power9.s,
2700 * gdb.arch/powerpc-vsx.s,
2701 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2702 * gdb.arch/powerpc-altivec.exp,
2703 * gdb.arch/powerpc-power7.exp,
2704 * gdb.arch/powerpc-power8.exp,
2705 * gdb.arch/powerpc-power9.exp,
2706 * gdb.arch/powerpc-vsx.exp,
2707 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2708 disassembly of mfvsrd/mtvsrd.
2709
2710 2020-10-13 Alan Modra <amodra@gmail.com>
2711
2712 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2713 "target architecture" output.
2714 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2715 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2716 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2717 * gdb.arch/s390-disassembler-options.exp: Likewise.
2718
2719 2020-10-12 Pedro Alves <pedro@palves.net>
2720
2721 PR exp/26602
2722 PR c++/26550
2723 * gdb.cp/ambiguous.cc (marker1): Delete.
2724 (main): Initialize all the fields of the locals. Replace marker1
2725 call with a "set breakpoint here" marker.
2726 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2727 instead of running to marker1. Add tests printing all the
2728 variables and all the fields of the variables.
2729 (test_ambiguous): New proc, expecting the new GDB output when a
2730 field access is ambiguous. Change all "warning: X ambiguous"
2731 tests to use it.
2732
2733 2020-10-12 Gary Benson <gbenson@redhat.com>
2734
2735 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2736 * gdb.base/msym-bp-2.c (foo): Likewise.
2737 * gdb.base/msym-lang.c (foo): Likewise.
2738 * gdb.base/msym-lang-main.c (foo): Likewise.
2739 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2740 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2741 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2742 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2743 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2744 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2745 * gdb.python/py-objfile.c (static_var): Likewise.
2746 * gdb.python/py-symbol.c (rr): Likewise.
2747 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2748 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2749
2750 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2751
2752 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2753 output of backtrace.
2754
2755 2020-10-09 Tom Tromey <tromey@adacore.com>
2756
2757 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2758 (Rec): Add field. Fix range.
2759 * gdb.ada/scalar_storage.exp: Update.
2760
2761 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
2762
2763 PR exp/26714
2764 * gdb.base/printcmds.exp: Add tests for void results.
2765
2766 2020-10-09 Jan Vrany <jan.vrany@labware.com>
2767
2768 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2769 is emmited for both 'set directories' and 'directory' commands.
2770
2771 2020-10-08 Tom Tromey <tom@tromey.com>
2772
2773 * gdb.base/style.exp: Check that "main"'s name is styled.
2774
2775 2020-10-07 Tom Tromey <tromey@adacore.com>
2776
2777 * gdb.base/find.exp: Rename some tests.
2778
2779 2020-10-06 Gary Benson <gbenson@redhat.com>
2780
2781 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2782 * gdb.base/list1.c (unused): Likewise.
2783
2784 2020-10-06 Gary Benson <gbenson@redhat.com>
2785
2786 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2787 __attribute__ ((used)).
2788 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2789
2790 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2791
2792 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2793 make use of regions throughout.
2794 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2795 not {...}.
2796 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2797
2798 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
2799
2800 * gdb.base/call-sc.c: Fix return struct on stack test case.
2801 * gdb.base/call-sc.exp: Likewise.
2802
2803 2020-10-02 Gary Benson <gbenson@redhat.com>
2804
2805 * README: Fix "paralell".
2806
2807 2020-09-30 Gary Benson <gbenson@redhat.com>
2808
2809 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2810 Convert directive to lowercase.
2811 (.Labbrev1_begin): Add missing label.
2812 (abbrev code 0x1): Remove DW_AT_stmt_list.
2813 (.Ldie_b): Likewise.
2814
2815 2020-09-27 Tom Tromey <tom@tromey.com>
2816
2817 * gdb.tui/new-layout.exp: Use with_test_prefix.
2818
2819 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2820
2821 PR python/26586
2822 * gdb.python/python.exp: add test cases for the from_tty
2823 argument to gdb.execute.
2824
2825 2020-09-25 Gary Benson <gbenson@redhat.com>
2826
2827 * gdb.base/infcall-nested-structs.exp.tcl: Add
2828 additional_flags=-Wno-tautological-compare for C++
2829 tests when compiling using Clang.
2830
2831 2020-09-25 Gary Benson <gbenson@redhat.com>
2832
2833 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2834 for .c files.
2835
2836 2020-09-24 Tom Tromey <tromey@adacore.com>
2837
2838 PR tui/26638:
2839 * gdb.tui/list.exp: Check output of "focus next".
2840
2841 2020-09-23 Tom Tromey <tom@tromey.com>
2842
2843 * gdb.dwarf2/intbits.exp: New file.
2844 * gdb.dwarf2/intbits.c: New file.
2845
2846 2020-09-20 Pedro Alves <pedro@palves.net>
2847
2848 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2849 spawn_id before calling remote_close. Close secondary MI channel.
2850
2851 2020-09-20 Pedro Alves <pedro@palves.net>
2852
2853 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2854 fails.
2855
2856 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2857
2858 * gdb.fortran/array-slices.exp: Update expected results.
2859 * gdb.fortran/class-allocatable-array.exp: Likewise.
2860 * gdb.fortran/multi-dim.exp: Likewise.
2861 * gdb.fortran/vla-type.exp: Likewise.
2862 * gdb.mi/mi-vla-fortran.exp: Likewise.
2863
2864 2020-09-18 Victor Collod <vcollod@nvidia.com>
2865
2866 PR gdb/26635
2867 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2868 compatible with i386, and move it to...
2869 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2870 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2871 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2872
2873 2020-09-18 Pedro Alves <pedro@palves.net>
2874
2875 PR gdb/26631
2876 * gdb.multi/multi-target-thread-find.exp: New file.
2877
2878 2020-09-18 Pedro Alves <pedro@palves.net>
2879
2880 * gdb.multi/multi-target-continue.exp: New file, factored out from
2881 multi-target.exp.
2882 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2883 multi-target.exp.
2884 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2885 multi-target.exp.
2886 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2887 multi-target.exp.
2888 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2889 multi-target.exp.
2890 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2891 multi-target.exp.
2892 * gdb.multi/multi-target.exp: Delete.
2893
2894 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2895
2896 * gdb.fortran/array-slices.exp: Add missing message data.
2897
2898 2020-09-17 Pedro Alves <pedro@palves.net>
2899
2900 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2901
2902 2020-09-17 Pedro Alves <pedro@palves.net>
2903
2904 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2905 full prototype.
2906
2907 2020-09-17 Pedro Alves <pedro@palves.net>
2908
2909 * gdb.python/py-as-string.c: Add cast.
2910
2911 2020-09-17 Pedro Alves <pedro@palves.net>
2912
2913 * gdb.base/sizeof.c (fill): Add cast.
2914
2915 2020-09-17 Pedro Alves <pedro@palves.net>
2916
2917 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2918
2919 2020-09-17 Pedro Alves <pedro@palves.net>
2920
2921 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2922 linkage name.
2923 * gdb.base/prologue.exp: Use print /d.
2924 * gdb.base/symbol-alias.exp: Handle C++ output.
2925 * gdb.base/symbol-alias2.c: Handle C++ output.
2926 [__cplusplus] (func): Explicitly specify linkage name.
2927
2928 2020-09-17 Pedro Alves <pedro@palves.net>
2929
2930 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2931 (struct my_key_t): ... this. Adjust all references.
2932 (struct value_t): Rename to ...
2933 (struct my_value_t): ... this. Adjust all references.
2934 (create_map, add_map_element, create_map_map)
2935 (add_map_map_element): Add casts.
2936
2937 2020-09-17 Pedro Alves <pedro@palves.net>
2938
2939 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2940 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2941
2942 2020-09-17 Pedro Alves <pedro@palves.net>
2943
2944 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2945
2946 2020-09-17 Pedro Alves <pedro@palves.net>
2947
2948 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2949 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2950 (charfoo, intfoo): Define full prototype.
2951 * gdb.base/ptype1.c (charfoo): Define full prototype.
2952 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2953 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2954
2955 2020-09-17 Pedro Alves <pedro@palves.net>
2956
2957 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2958 Don't define.
2959 (utf_32_string): Compile for both C and C++.
2960 * gdb.base/charset.exp: Use "print /d".
2961
2962 2020-09-17 Pedro Alves <pedro@palves.net>
2963
2964 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2965 (nullptr): Rename to ...
2966 (null_ptr): ... this.
2967 * gdb.base/watchpoint.exp: Adjust to rename.
2968
2969 2020-09-17 Pedro Alves <pedro@palves.net>
2970
2971 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2972 (three_not_flag): Add casts.
2973
2974 2020-09-17 Pedro Alves <pedro@palves.net>
2975
2976 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2977 char array.
2978 (main): Add references to Barrier, TestStrings, TestStringsH and
2979 TestStringsW.
2980 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2981 and expect a full prototype in C++.
2982
2983 2020-09-17 Pedro Alves <pedro@palves.net>
2984
2985 * gdb.base/nested-addr.c (main): Add cast.
2986 * gdb.base/nested-addr.exp: Use "print /d".
2987
2988 2020-09-17 Pedro Alves <pedro@palves.net>
2989
2990 * gdb.base/break.exp (func): New. Use it throughout when
2991 expecting a function name.
2992
2993 2020-09-17 Pedro Alves <pedro@palves.net>
2994
2995 * gdb.base/display.exp: Issue "set print asm-demangle on".
2996
2997 2020-09-17 Pedro Alves <pedro@palves.net>
2998
2999 * gdb.base/find.c: Include <string.h>.
3000 (init_bufs): Add cast.
3001 * gdb.base/find.exp: Issue "set print asm-demangle on".
3002
3003 2020-09-16 Tom Tromey <tromey@adacore.com>
3004
3005 PR gdb/26598:
3006 * gdb.base/skipcxx.exp: New file.
3007 * gdb.base/skipcxx.cc: New file.
3008
3009 2020-09-16 Tom de Vries <tdevries@suse.de>
3010
3011 PR testsuite/26617
3012 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
3013 WITH_DEBUG_SECTIONS is defined.
3014 (xstr, str): New macro.
3015 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
3016 to get start and size of _Dmain.
3017 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
3018 using additional_flags.
3019
3020 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3021
3022 * gdb.base/bp-cmds-sourced-script.c: New file.
3023 * gdb.base/bp-cmds-sourced-script.exp: New test.
3024 * gdb.base/bp-cmds-sourced-script.gdb: New file.
3025
3026 2020-09-16 Tom de Vries <tdevries@suse.de>
3027
3028 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
3029 get the gdb prompt after issuing "monitor exit".
3030
3031 2020-09-16 Tom de Vries <tdevries@suse.de>
3032
3033 PR testsuite/26624
3034 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
3035
3036 2020-09-16 Tom de Vries <tdevries@suse.de>
3037
3038 PR testsuite/26618
3039 * gdb.tui/new-layout.exp: Escape unbalanced braces.
3040
3041 2020-09-15 Tom Tromey <tromey@adacore.com>
3042
3043 PR rust/26197:
3044 * lib/rust-support.exp (rust_llvm_version): New proc.
3045 * gdb.rust/simple.exp: Check rust_llvm_version.
3046
3047 2020-09-14 Tom de Vries <tdevries@suse.de>
3048
3049 * gdb.rust/traits.exp: Fix PATH warning.
3050
3051 2020-09-13 Pedro Alves <pedro@palves.net>
3052
3053 * gdb.base/catch-follow-exec.c (main): Add explicit return
3054 statement.
3055 * gdb.base/catch-signal.c (main): Likewise.
3056 * gdb.base/condbreak-call-false.c (main): Likewise.
3057 * gdb.base/consecutive.c (main): Add explicit return
3058 statement and return type.
3059 * gdb.base/cursal.c (main): Add explicit return statement.
3060 * gdb.base/cvexpr.c (main): Likewise.
3061 * gdb.base/display.c (main): Add explicit return statement and
3062 return type.
3063 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3064 * gdb.base/endianity.c (main): Likewise.
3065 * gdb.base/execd-prog.c (main): Likewise.
3066 * gdb.base/gdb1090.c (main): Likewise.
3067 * gdb.base/info_qt.c (main): Likewise.
3068 * gdb.base/lineinc.c (main): Likewise.
3069 * gdb.base/load-command.c (main): Likewise.
3070 * gdb.base/macscp1.c (main): Likewise.
3071 * gdb.base/pr10179-a.c (main): Likewise.
3072 * gdb.base/quit-live.c (main): Likewise.
3073 * gdb.base/scope0.c (main): Likewise.
3074 * gdb.base/settings.c (main): Likewise.
3075 * gdb.base/stack-checking.c (main): Return int.
3076 * gdb.base/varargs.c (main): Add explicit return statement.
3077 * gdb.cp/ambiguous.cc (main): Likewise.
3078 * gdb.cp/anon-struct.cc (main): Likewise.
3079 * gdb.cp/anon-union.cc (main): Likewise.
3080 * gdb.cp/bool.cc (main): Likewise.
3081 * gdb.cp/bs15503.cc (main): Likewise.
3082 * gdb.cp/cplusfuncs.cc (main): Likewise.
3083 * gdb.cp/cttiadd.cc (main): Likewise.
3084 * gdb.cp/extern-c.cc (main): Likewise.
3085 * gdb.cp/filename.cc (main): Likewise.
3086 * gdb.cp/formatted-ref.cc (main): Likewise.
3087 * gdb.cp/mb-ctor.cc (main): Likewise.
3088 * gdb.cp/member-ptr.cc (main): Likewise.
3089 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3090 * gdb.cp/overload-const.cc (main): Likewise.
3091 * gdb.cp/paren-type.cc (main): Likewise.
3092 * gdb.cp/parse-lang.cc (main): Likewise.
3093 * gdb.cp/pr-1023.cc (main): Likewise.
3094 * gdb.cp/psmang1.cc (main): Likewise.
3095 * gdb.cp/readnow-language.cc (main): Likewise.
3096 * gdb.cp/ref-params.cc (main): Likewise.
3097 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3098 * gdb.cp/virtbase2.cc (main): Likewise.
3099 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3100 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3101 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3102 * gdb.mi/mi-console.c (main): Likewise.
3103 * gdb.mi/mi-read-memory.c (main): Likewise.
3104 * gdb.modula2/multidim.c (main): Likewise.
3105 * gdb.opt/inline-small-func.c (main): Likewise.
3106 * gdb.python/py-rbreak.c (main): Likewise.
3107 * gdb.stabs/exclfwd1.c (main): Likewise.
3108 * gdb.trace/qtro.c (main): Likewise.
3109
3110 2020-09-13 Pedro Alves <pedro@palves.net>
3111
3112 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3113 instead of getenv.
3114
3115 2020-09-13 Pedro Alves <pedro@palves.net>
3116
3117 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3118 instead of spawning GDB with remote_spawn.
3119 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3120 gdb_spawn instead of spawning GDB with remote_spawn.
3121
3122 2020-09-13 Pedro Alves <pedro@palves.net>
3123
3124 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3125 file and add calls to first and second.
3126 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3127 add call to f.
3128
3129 2020-09-13 Pedro Alves <pedro@palves.net>
3130
3131 * gdb.mi/mi-break-qualified.cc: New file.
3132 * gdb.mi/mi-break-qualified.exp: New file.
3133 * lib/mi-support.exp (mi_create_breakpoint_multi)
3134 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3135 procedures.
3136 (mi_create_breakpoint_1): New, factored out from
3137 mi_create_breakpoint.
3138
3139 2020-09-13 Pedro Alves <pedro@palves.net>
3140
3141 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3142 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3143 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3144 (register_class): Delete.
3145 (main): Don't call register_class.
3146
3147 2020-09-13 Pedro Alves <pedro@palves.net>
3148
3149 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3150 (do_tests): Remove "calling method for small class" test.
3151 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3152 (register_class): Delete.
3153 (main): Don't call register_class.
3154 * gdb.cp/call-method-register.exp: New file, based on bits removed
3155 from classes.exp.
3156 * gdb.cp/call-method-register.cc: New file, based on bits removed
3157 from classes.cc.
3158
3159 2020-09-13 Pedro Alves <pedro@palves.net>
3160
3161 * gdb.base/msym-bp-2.c: New.
3162 * gdb.base/msym-bp-shl-lib.c: New file.
3163 * gdb.base/msym-bp-shl-main-2.c: New file.
3164 * gdb.base/msym-bp-shl-main.c: New file.
3165 * gdb.base/msym-bp-shl.exp: New file.
3166 * gdb.base/msym-bp.c: New file.
3167 * gdb.base/msym-bp.exp: New file.
3168
3169 2020-09-13 Joel Brobecker <brobecker@adacore.com>
3170
3171 * gdb.base/default.exp: Change $_gdb_major to 11.
3172
3173 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3174 Felix Willgerodt <Felix.Willgerodt@intel.com>
3175
3176 * x86-avx512bf16.c: New file.
3177 * x86-avx512bf16.exp: Likewise.
3178 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3179
3180 2020-09-11 Tom de Vries <tdevries@suse.de>
3181
3182 PR exp/26602
3183 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3184
3185 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3186
3187 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3188
3189 2020-09-10 Alan Modra <amodra@gmail.com>
3190
3191 PR 26597
3192 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3193
3194 2020-09-08 Tom de Vries <tdevries@suse.de>
3195
3196 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3197 after gdb_starti_cmd.
3198
3199 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3200
3201 * lib/fortran.exp (fortran_complex8): New proc.
3202 (fortran_complex16): New proc.
3203 * gdb.fortran/complex.exp: Use routines from fortran.exp
3204 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3205 * gdb.fortran/vla-ptr-info.exp: Likewise.
3206
3207 2020-09-03 Tom de Vries <tdevries@suse.de>
3208
3209 PR breakpoint/26546
3210 * gdb.base/label-without-address.exp: Runto main first.
3211
3212 2020-09-02 Tom Tromey <tromey@adacore.com>
3213
3214 * gdb.ada/mi_var_access.exp: Test children of access variable.
3215 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3216 * gdb.ada/mi_var_array.exp: Update.
3217
3218 2020-08-31 Kevin Buettner <kevinb@redhat.com>
3219
3220 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3221 on docker w/ AUFS storage driver.
3222
3223 2020-08-31 Kevin Buettner <kevinb@redhat.com>
3224
3225 * gdb.base/corefile2.exp (renamed binfile): New tests.
3226
3227 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
3228
3229 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3230
3231 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
3232
3233 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3234 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3235
3236 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
3237
3238 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3239 output, printing a "not saved" value from history and printing a
3240 convenience variable created from a "not saved" value.
3241
3242 2020-08-31 Tom de Vries <tdevries@suse.de>
3243
3244 * gdb.base/eh_return.exp: Use nopie.
3245
3246 2020-08-28 Pedro Alves <pedro@palves.net>
3247
3248 * gdb.base/advance-until-multiple-locations.exp
3249 (advance_overload, until_overload): Adjust to match the
3250 frame/function header instead of the source line text.
3251
3252 2020-08-28 Tom de Vries <tdevries@suse.de>
3253
3254 * gdb.base/label-without-address.c: New test.
3255 * gdb.base/label-without-address.exp: New file.
3256
3257 2020-08-27 Pedro Alves <pedro@palves.net>
3258
3259 PR gdb/26523
3260 PR gdb/26524
3261 * gdb.base/advance-until-multiple-locations.cc: New.
3262 * gdb.base/advance-until-multiple-locations.exp: New.
3263
3264 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3265
3266 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3267
3268 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3269
3270 * gdb.arch/amd64-byte.exp: Make test names unique, use
3271 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3272 * gdb.arch/amd64-dword.exp: Likewise.
3273 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3274 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3275 unique.
3276 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3277 * gdb.arch/amd64-word.exp: Make test names unique, use
3278 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3279 * gdb.arch/i386-byte.exp: Make test names unique, use
3280 gdb_breakpoint.
3281 * gdb.arch/i386-word.exp: Likewise.
3282
3283 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
3284
3285 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3286
3287 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3288
3289 PR gdb/26532
3290 * gdb.threads/stepi-random-signal.exp: Update pattern.
3291
3292 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
3293
3294 PR gdb/26532
3295 * gdb.base/ui-redirect.exp: Update pattern.
3296
3297 2020-08-25 Gary Benson <gbenson@redhat.com>
3298
3299 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3300 when compiling with clang.
3301 * gdb.dwarf2/dw2-restore.exp: Likewise.
3302
3303 2020-08-25 Gary Benson <gbenson@redhat.com>
3304
3305 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3306 Add additional_flags=-Wno-inaccessible-base when compiling
3307 with GCC >= 10.1 or clang. Add additional_flags=-w when
3308 compiling with GCC < 10.
3309
3310 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3311
3312 PR m2/26372
3313 * gdb.modula2/multidim.c: New file.
3314 * gdb.modula2/multidim.exp: New file.
3315
3316 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3317
3318 * lib/gdb.exp (runto): Always emit fail on internal error.
3319
3320 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
3321
3322 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3323 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3324 Likewise.
3325 * gdb.threads/stepi-random-signal.exp: Likewise.
3326
3327 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3328
3329 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3330 * gdb.trace/strace.exp: Ditto.
3331
3332 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3333
3334 * gdb.fortran/vla-type.exp: Skip commands not required for
3335 the Flang compiled binaries after prologue fix.
3336
3337 2020-08-17 Tom de Vries <tdevries@suse.de>
3338 Tom Tromey <tromey@adacore.com>
3339
3340 PR rust/26197:
3341 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3342
3343 2020-08-17 Tom Tromey <tromey@adacore.com>
3344
3345 * gdb.ada/mi_var_access.exp: New file.
3346 * gdb.ada/mi_var_access/mi_access.adb: New file.
3347 * gdb.ada/mi_var_access/pck.adb: New file.
3348 * gdb.ada/mi_var_access/pck.ads: New file.
3349
3350 2020-08-16 Tom de Vries <tdevries@suse.de>
3351
3352 PR gdb/25350
3353 * gdb.base/eh_return.c: New test.
3354 * gdb.base/eh_return.exp: New file.
3355
3356 2020-08-15 Tom de Vries <tdevries@suse.de>
3357
3358 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3359 (mixed_func_1d_): Use fortran_charlen_t in decl.
3360
3361 2020-08-15 Tom de Vries <tdevries@suse.de>
3362
3363 PR backtrace/26390
3364 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3365 Update expected pattern.
3366
3367 2020-08-13 Pedro Alves <pedro@palves.net>
3368
3369 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3370 * gdb.fortran/library-module.exp: Likewise.
3371 * gdb.fortran/logical.exp: Likewise.
3372 * gdb.fortran/module.exp: Likewise.
3373 * gdb.fortran/print_type.exp: Likewise.
3374 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3375 * gdb.fortran/vla-datatypes.exp: Likewise.
3376 * gdb.fortran/vla-history.exp: Likewise.
3377 * gdb.fortran/vla-ptr-info.exp: Likewise.
3378 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3379 * gdb.fortran/vla-ptype.exp: Likewise.
3380 * gdb.fortran/vla-sizeof.exp: Likewise.
3381 * gdb.fortran/vla-type.exp: Likewise.
3382 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3383 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3384 * gdb.fortran/vla-value-sub.exp: Likewise.
3385 * gdb.fortran/vla-value.exp: Likewise.
3386
3387 2020-08-13 Pedro Alves <pedro@palves.net>
3388
3389 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3390 * gdb.ada/access_to_packed_array.exp: Likewise.
3391 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3392 * gdb.ada/addr_arith.exp: Likewise.
3393 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3394 * gdb.ada/arr_arr.exp: Likewise.
3395 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3396 * gdb.ada/array_bounds.exp: Likewise.
3397 * gdb.ada/array_of_variable_length.exp: Likewise.
3398 * gdb.ada/array_ptr_renaming.exp: Likewise.
3399 * gdb.ada/array_subscript_addr.exp: Likewise.
3400 * gdb.ada/arraydim.exp: Likewise.
3401 * gdb.ada/arrayparam.exp: Likewise.
3402 * gdb.ada/arrayptr.exp: Likewise.
3403 * gdb.ada/assign_1.exp: Likewise.
3404 * gdb.ada/assign_arr.exp: Likewise.
3405 * gdb.ada/atomic_enum.exp: Likewise.
3406 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3407 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3408 * gdb.ada/bias.exp: Likewise.
3409 * gdb.ada/boolean_expr.exp: Likewise.
3410 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3411 * gdb.ada/bp_enum_homonym.exp: Likewise.
3412 * gdb.ada/bp_inlined_func.exp: Likewise.
3413 * gdb.ada/bp_on_var.exp: Likewise.
3414 * gdb.ada/bp_range_type.exp: Likewise.
3415 * gdb.ada/bp_reset.exp: Likewise.
3416 * gdb.ada/call_pn.exp: Likewise.
3417 * gdb.ada/catch_assert_if.exp: Likewise.
3418 * gdb.ada/catch_ex.exp: Likewise.
3419 * gdb.ada/catch_ex_std.exp: Likewise.
3420 * gdb.ada/char_enum.exp: Likewise.
3421 * gdb.ada/char_param.exp: Likewise.
3422 * gdb.ada/complete.exp: Likewise.
3423 * gdb.ada/cond_lang.exp: Likewise.
3424 * gdb.ada/convvar_comp.exp: Likewise.
3425 * gdb.ada/dgopt.exp: Likewise.
3426 * gdb.ada/disc_arr_bound.exp: Likewise.
3427 * gdb.ada/display_nested.exp: Likewise.
3428 * gdb.ada/dot_all.exp: Likewise.
3429 * gdb.ada/dyn_loc.exp: Likewise.
3430 * gdb.ada/dyn_stride.exp: Likewise.
3431 * gdb.ada/excep_handle.exp: Likewise.
3432 * gdb.ada/expr_delims.exp: Likewise.
3433 * gdb.ada/expr_with_funcall.exp: Likewise.
3434 * gdb.ada/exprs.exp: Likewise.
3435 * gdb.ada/fin_fun_out.exp: Likewise.
3436 * gdb.ada/fixed_cmp.exp: Likewise.
3437 * gdb.ada/formatted_ref.exp: Likewise.
3438 * gdb.ada/frame_arg_lang.exp: Likewise.
3439 * gdb.ada/frame_args.exp: Likewise.
3440 * gdb.ada/fullname_bp.exp: Likewise.
3441 * gdb.ada/fun_addr.exp: Likewise.
3442 * gdb.ada/fun_in_declare.exp: Likewise.
3443 * gdb.ada/fun_overload_menu.exp: Likewise.
3444 * gdb.ada/fun_renaming.exp: Likewise.
3445 * gdb.ada/funcall_char.exp: Likewise.
3446 * gdb.ada/funcall_param.exp: Likewise.
3447 * gdb.ada/funcall_ptr.exp: Likewise.
3448 * gdb.ada/funcall_ref.exp: Likewise.
3449 * gdb.ada/homonym.exp: Likewise.
3450 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3451 * gdb.ada/info_auto_lang.exp: Likewise.
3452 * gdb.ada/info_exc.exp: Likewise.
3453 * gdb.ada/info_types.exp: Likewise.
3454 * gdb.ada/int_deref.exp: Likewise.
3455 * gdb.ada/interface.exp: Likewise.
3456 * gdb.ada/iwide.exp: Likewise.
3457 * gdb.ada/lang_switch.exp: Likewise.
3458 * gdb.ada/length_cond.exp: Likewise.
3459 * gdb.ada/maint_with_ada.exp: Likewise.
3460 * gdb.ada/mi_catch_assert.exp: Likewise.
3461 * gdb.ada/mi_catch_ex.exp: Likewise.
3462 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3463 * gdb.ada/mi_dyn_arr.exp: Likewise.
3464 * gdb.ada/mi_ex_cond.exp: Likewise.
3465 * gdb.ada/mi_exc_info.exp: Likewise.
3466 * gdb.ada/mi_interface.exp: Likewise.
3467 * gdb.ada/mi_prot.exp: Likewise.
3468 * gdb.ada/mi_ref_changeable.exp: Likewise.
3469 * gdb.ada/mi_string_access.exp: Likewise.
3470 * gdb.ada/mi_task_arg.exp: Likewise.
3471 * gdb.ada/mi_task_info.exp: Likewise.
3472 * gdb.ada/mi_var_array.exp: Likewise.
3473 * gdb.ada/mi_var_union.exp: Likewise.
3474 * gdb.ada/mi_variant.exp: Likewise.
3475 * gdb.ada/minsyms.exp: Likewise.
3476 * gdb.ada/mod_from_name.exp: Likewise.
3477 * gdb.ada/nested.exp: Likewise.
3478 * gdb.ada/null_array.exp: Likewise.
3479 * gdb.ada/optim_drec.exp: Likewise.
3480 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3481 * gdb.ada/packed_array_assign.exp: Likewise.
3482 * gdb.ada/packed_tagged.exp: Likewise.
3483 * gdb.ada/pp-rec-component.exp: Likewise.
3484 * gdb.ada/print_chars.exp: Likewise.
3485 * gdb.ada/print_pc.exp: Likewise.
3486 * gdb.ada/ptr_typedef.exp: Likewise.
3487 * gdb.ada/ptype_arith_binop.exp: Likewise.
3488 * gdb.ada/ptype_array.exp: Likewise.
3489 * gdb.ada/ptype_field.exp: Likewise.
3490 * gdb.ada/ptype_tagged_param.exp: Likewise.
3491 * gdb.ada/ptype_union.exp: Likewise.
3492 * gdb.ada/py_range.exp: Likewise.
3493 * gdb.ada/py_taft.exp: Likewise.
3494 * gdb.ada/rdv_wait.exp: Likewise.
3495 * gdb.ada/rec_comp.exp: Likewise.
3496 * gdb.ada/rec_return.exp: Likewise.
3497 * gdb.ada/ref_param.exp: Likewise.
3498 * gdb.ada/ref_tick_size.exp: Likewise.
3499 * gdb.ada/rename_subscript_param.exp: Likewise.
3500 * gdb.ada/repeat_dyn.exp: Likewise.
3501 * gdb.ada/same_component_name.exp: Likewise.
3502 * gdb.ada/same_enum.exp: Likewise.
3503 * gdb.ada/scalar_storage.exp: Likewise.
3504 * gdb.ada/set_wstr.exp: Likewise.
3505 * gdb.ada/small_reg_param.exp: Likewise.
3506 * gdb.ada/str_binop_equal.exp: Likewise.
3507 * gdb.ada/str_ref_cmp.exp: Likewise.
3508 * gdb.ada/str_uninit.exp: Likewise.
3509 * gdb.ada/sub_variant.exp: Likewise.
3510 * gdb.ada/sym_print_name.exp: Likewise.
3511 * gdb.ada/taft_type.exp: Likewise.
3512 * gdb.ada/tagged.exp: Likewise.
3513 * gdb.ada/tagged_access.exp: Likewise.
3514 * gdb.ada/task_bp.exp: Likewise.
3515 * gdb.ada/task_switch_in_core.exp: Likewise.
3516 * gdb.ada/tasks.exp: Likewise.
3517 * gdb.ada/tick_last_segv.exp: Likewise.
3518 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3519 * gdb.ada/type_coercion.exp: Likewise.
3520 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3521 * gdb.ada/unchecked_union.exp: Likewise.
3522 * gdb.ada/uninitialized_vars.exp: Likewise.
3523 * gdb.ada/var_arr_attrs.exp: Likewise.
3524 * gdb.ada/var_arr_typedef.exp: Likewise.
3525 * gdb.ada/var_rec_arr.exp: Likewise.
3526 * gdb.ada/variant-record.exp: Likewise.
3527 * gdb.ada/variant.exp: Likewise.
3528 * gdb.ada/variant_record_packed_array.exp: Likewise.
3529 * gdb.ada/varsize_limit.exp: Likewise.
3530 * gdb.ada/whatis_array_val.exp: Likewise.
3531 * gdb.ada/widewide.exp: Likewise.
3532 * gdb.ada/win_fu_syms.exp: Likewise.
3533
3534 2020-08-12 Gary Benson <gbenson@redhat.com>
3535
3536 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3537
3538 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3539
3540 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3541 unset the array variable.
3542
3543 2020-08-03 Tom de Vries <tdevries@suse.de>
3544
3545 PR symtab/26333
3546 * lib/dwarf.exp (DW_LNE_user): New proc.
3547 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3548 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3549
3550 2020-07-31 Kevin Buettner <kevinb@redhat.com>
3551
3552 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3553 to 'uintptr_t'
3554 (inttypes.h): Include.
3555
3556 2020-07-31 Kevin Buettner <kevinb@redhat.com>
3557
3558 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3559 (C5_24k): Delete.
3560 (C5_8k, C5_64k, C5_256k): New macros.
3561 (buf_ro): Allocate 256 KiB of initialized data.
3562
3563 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3564
3565 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3566 that attempt to overwrite an existing condition with a condition
3567 that fails parsing and also with a condition that parses fine
3568 but contains junk at the end.
3569
3570 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3571
3572 * gdb.base/condbreak-bad.c: New test.
3573 * gdb.base/condbreak-bad.exp: New file.
3574
3575 2020-07-30 Tom de Vries <tdevries@suse.de>
3576
3577 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3578 out of ...
3579 (GDBInfoModuleSymbols::check_entry): ... here.
3580 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3581 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3582 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3583
3584 2020-07-30 Tom de Vries <tdevries@suse.de>
3585
3586 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3587 "__class_some_module_Number_t" optional.
3588
3589 2020-07-29 Tom de Vries <tdevries@suse.de>
3590
3591 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3592 multiple locations.
3593
3594 2020-07-29 Tom de Vries <tdevries@suse.de>
3595
3596 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3597 rather than function name.
3598
3599 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3600
3601 PR symtab/26270:
3602 * gdb.cp/disasm-func-name.cc: New file.
3603 * gdb.cp/disasm-func-name.exp: New file.
3604
3605 2020-07-28 Tom Tromey <tromey@adacore.com>
3606
3607 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3608 'varval' location.
3609
3610 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3611
3612 * gdb.python/py-unwind.py: Update to make use of a register
3613 descriptor.
3614
3615 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3616
3617 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3618
3619 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3620
3621 PR fortran/23051
3622 PR fortran/26139
3623 * gdb.fortran/class-allocatable-array.exp: New file.
3624 * gdb.fortran/class-allocatable-array.f90: New file.
3625 * gdb.fortran/pointer-to-pointer.exp: New file.
3626 * gdb.fortran/pointer-to-pointer.f90: New file.
3627
3628 2020-07-25 Tom de Vries <tdevries@suse.de>
3629
3630 PR symtab/26243
3631 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3632 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3633
3634 2020-07-24 Tom de Vries <tdevries@suse.de>
3635
3636 PR testsuite/26293
3637 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3638
3639 2020-07-23 Pedro Alves <pedro@palves.net>
3640
3641 * gdb.server/server-kill.exp (prepare): New, factored out from the
3642 top level.
3643 (kill_server): New.
3644 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3645 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3646
3647 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3648
3649 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3650
3651 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3652
3653 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3654 Initialize to empty string at top level.
3655 (gdb_wrapper_init): Revert check for file existence on build.
3656 Build the wrapper in its default place, not a build-specific
3657 location. When host == build, make the pathname absolute.
3658 (gdb_compile): Delete leftover declaration of
3659 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3660 string instead of uninitialized.
3661
3662 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3663
3664 * gdb.base/corefile2.exp: New file.
3665 * gdb.base/coremaker2.exp: New file.
3666
3667 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3668
3669 * gdb.base/coredump-filter.exp: Add second
3670 non-Private-Shared-Anon-File test.
3671 (test_disasm): Rename binfile for test which is expected
3672 to fail.
3673
3674 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3675
3676 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3677 data in core file".
3678 * gdb.base/coremaker.c (buf2ro): New global.
3679 (mmapdata): Add a read-only mmap mapping.
3680
3681 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3682
3683 PR corefiles/25631
3684 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3685 New test.
3686 * gdb.base/coremaker.c (buf3): New global.
3687 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3688 flags.
3689
3690 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3691
3692 * gdb.base/coremaker.c (filler_ro): New global constant.
3693
3694 2020-07-22 Tom Tromey <tromey@adacore.com>
3695
3696 * gdb.ada/mi_prot.exp: New file.
3697 * gdb.ada/mi_prot/pkg.adb: New file.
3698 * gdb.ada/mi_prot/pkg.ads: New file.
3699 * gdb.ada/mi_prot/prot.adb: New file.
3700
3701 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3702
3703 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3704 loads two JITers.
3705
3706 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3707
3708 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3709
3710 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3711
3712 * gdb.python/py-arch-reg-names.exp: Additional tests.
3713
3714 2020-07-21 Tom de Vries <tdevries@suse.de>
3715
3716 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3717 breakpoint locations".
3718 * gdb.reverse/solib-reverse.exp: Same.
3719
3720 2020-07-21 Tom de Vries <tdevries@suse.de>
3721
3722 * gdb.reverse/step-reverse.c (callee): Merge statements.
3723
3724 2020-07-21 Tom de Vries <tdevries@suse.de>
3725
3726 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3727 line numbers for some variables.
3728
3729 2020-07-21 Tom de Vries <tdevries@suse.de>
3730
3731 * gdb.opt/inline-locals.c (init_array): New func.
3732 (func1): Use init_array.
3733 * gdb.opt/inline-locals.exp: Update pattern.
3734
3735 2020-07-21 Tom de Vries <tdevries@suse.de>
3736
3737 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3738 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3739
3740 2020-07-20 Ludovic Courtès <ludo@gnu.org>
3741
3742 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3743 * gdb.guile/types-module.exp: Remove "ERROR:" from
3744 regexps since Guile 3.0 no longer prints that.
3745
3746 2020-07-20 Ludovic Courtès <ludo@gnu.org>
3747
3748 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3749 error regexp to match on Guile 2.2.
3750
3751 2020-07-20 Gary Benson <gbenson@redhat.com>
3752
3753 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3754 with clang.
3755
3756 2020-07-20 Tom de Vries <tdevries@suse.de>
3757
3758 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3759 (omp_set_lock_in_order): New function.
3760 (single_scope, multi_scope, nested_func, nested_parallel): Use
3761 omp_set_lock_in_order and omp_unset_lock.
3762 (main): Init and destroy lock and lock2.
3763
3764 2020-07-20 Tom de Vries <tdevries@suse.de>
3765
3766 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3767
3768 2020-07-20 Tom de Vries <tdevries@suse.de>
3769
3770 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3771
3772 2020-07-17 Tom de Vries <tdevries@suse.de>
3773
3774 * gdb.base/valgrind-infcall-2.c: New test.
3775 * gdb.base/valgrind-infcall-2.exp: New file.
3776 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3777
3778 2020-07-17 Tom de Vries <tdevries@suse.de>
3779
3780 * gdb.dlang/circular.c (found): Use found_label as label name.
3781 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3782 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3783 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3784 * gdb.dwarf2/ada-linkage-name.exp: Same.
3785 * gdb.dwarf2/arr-subrange.exp: Same.
3786 * gdb.dwarf2/atomic-type.exp: Same.
3787 * gdb.dwarf2/comp-unit-lang.exp: Same.
3788 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3789 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3790 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3791 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3792 * gdb.dwarf2/implptr-64bit.exp: Same.
3793 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3794 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3795 * gdb.dwarf2/imported-unit.exp: Same.
3796 * gdb.dwarf2/main-subprogram.exp: Same.
3797 * gdb.dwarf2/missing-type-name.exp: Same.
3798 * gdb.dwarf2/nonvar-access.exp: Same.
3799 * gdb.dwarf2/struct-with-sig.exp: Same.
3800 * gdb.dwarf2/typedef-void-finish.exp: Same.
3801 * gdb.dwarf2/void-type.exp: Same.
3802
3803 2020-07-17 Tom de Vries <tdevries@suse.de>
3804
3805 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3806 src parameter.
3807 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3808 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3809 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3810 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3811 * gdb.dwarf2/dwz.exp: Same.
3812 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3813 * gdb.dwarf2/implref-array.exp: Same.
3814 * gdb.dwarf2/implref-const.exp: Same.
3815 * gdb.dwarf2/implref-global.exp: Same.
3816 * gdb.dwarf2/implref-struct.exp: Same.
3817 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3818 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3819 * gdb.dwarf2/var-access.exp: Same.
3820 * gdb.dwarf2/varval.exp: Same.
3821 * gdb.trace/entry-values.exp: Same.
3822
3823 2020-07-17 Tom de Vries <tdevries@suse.de>
3824
3825 * lib/dwarf.exp (Dwarf::extern): Remove.
3826 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3827 * gdb.dlang/circular.exp: Same.
3828 * gdb.dwarf2/comp-unit-lang.exp: Same.
3829 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3830 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3831 * gdb.dwarf2/dwz.exp: Same.
3832 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3833 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3834 * gdb.dwarf2/imported-unit.exp: Same.
3835 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3836
3837 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3838
3839 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3840 Use double quotes instead of single quotes.
3841
3842 2020-07-16 Caroline Tice <cmtice@google.com>
3843
3844 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3845 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3846
3847 2020-07-16 Tom de Vries <tdevries@suse.de>
3848
3849 * lib/dwarf.exp (program): Initialize _line.
3850 (DW_LNE_end_sequence): Reinitialize _line.
3851 (DW_LNS_advance_line): Update _line.
3852 (line): New proc.
3853 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3854 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3855 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3856 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3857 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3858 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3859
3860 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3861
3862 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3863 generic.
3864
3865 2020-07-15 Tom de Vries <tdevries@suse.de>
3866
3867 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3868 is_amd64_regs_target.
3869
3870 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3871
3872 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3873 * gdb.fortran/ptype-on-functions.f90: Likewise.
3874
3875 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3876
3877 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3878 values in documentation for addr_size to 4 and 8.
3879
3880 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3881
3882 * gdb.arch/amd64-osabi.exp: Update.
3883 * gdb.arch/arm-disassembler-options.exp: Update.
3884 * gdb.arch/powerpc-disassembler-options.exp: Update.
3885 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3886 * gdb.arch/s390-disassembler-options.exp: Update.
3887 * gdb.base/all-architectures.exp.tcl: Update.
3888 * gdb.base/attach-pie-noexec.exp: Update.
3889 * gdb.base/catch-syscall.exp: Update.
3890 * gdb.xml/tdesc-arch.exp: Update.
3891
3892 2020-07-14 Tom de Vries <tdevries@suse.de>
3893
3894 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3895 (local_gettid): ... this.
3896 (fn): Update.
3897
3898 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3899
3900 * gdb.base/info_sources.exp: Skip directory match tests on
3901 remote hosts.
3902
3903 2020-07-13 Gary Benson <gbenson@redhat.com>
3904
3905 * gdb.base/savedregs.exp (caller): Use parentheses to
3906 make expected expression evaluation ordering explicit.
3907
3908 2020-07-13 Gary Benson <gbenson@redhat.com>
3909
3910 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3911
3912 2020-07-13 Gary Benson <gbenson@redhat.com>
3913
3914 * gdb.base/bigcore.c (main): Use a volatile pointer when
3915 attempting to trigger a SIGSEGV.
3916 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3917 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3918 * gdb.base/savedregs.c (thrower): Likewise.
3919 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3920
3921 2020-07-13 Gary Benson <gbenson@redhat.com>
3922
3923 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3924 defining and using VLA structure fields into...
3925 * gdb.base/vla-struct-fields.c: New file.
3926 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3927 tests into...
3928 * gdb.base/vla-struct-fields.exp: New file.
3929
3930 2020-07-13 Tom de Vries <tdevries@suse.de>
3931
3932 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3933 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3934 * gdb.base/gold-gdb-index.exp: Same.
3935 * gdb.base/morestack.exp: Same.
3936
3937 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3938
3939 PR rust/26121
3940 * gdb.rust/modules.rs: Prevent linker from discarding test
3941 symbol.
3942
3943 2020-07-10 Pedro Alves <pedro@palves.net>
3944
3945 PR gdb/26199
3946 * gdb.multi/multi-target.c (exit_thread): New.
3947 (thread_start): Break loop if EXIT_THREAD.
3948 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3949 (top level) Call test_no_resumed.
3950
3951 2020-07-08 Tom Tromey <tromey@adacore.com>
3952
3953 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3954 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3955
3956 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3957
3958 PR python/22748
3959 * gdb.opt/inline-frame-tailcall.c: New file.
3960 * gdb.opt/inline-frame-tailcall.exp: New file.
3961 * gdb.python/py-unwind-inline.c: New file.
3962 * gdb.python/py-unwind-inline.exp: New file.
3963 * gdb.python/py-unwind-inline.py: New file.
3964
3965 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3966
3967 * gdb.python/py-arch-reg-groups.exp: New file.
3968
3969 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3970
3971 * gdb.python/py-arch-reg-names.exp: New file.
3972
3973 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3974
3975 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3976 gdb.PendingFrame.architecture method.
3977
3978 2020-07-06 Tom de Vries <tdevries@suse.de>
3979
3980 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3981
3982 2020-07-03 Pedro Alves <palves@redhat.com>
3983
3984 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3985 explicitly write negative numbers.
3986 * gdb.base/structs2.exp: Adjust expected output.
3987
3988 2020-07-03 Pedro Alves <palves@redhat.com>
3989
3990 * gdb.base/charset.c (init_string): Change all char parameters to
3991 unsigned char parameters.
3992
3993 2020-07-03 Pedro Alves <palves@redhat.com>
3994
3995 * gdb.base/call-sc.exp (start_scalars_test): Use
3996 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3997 * gdb.base/overlays.c: Remove references to PARAMS.
3998 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3999 * gdb.base/reread.exp: Don't set 'prototypes' global.
4000 * gdb.base/structs.exp (start_structs_test): Use
4001 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4002 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
4003 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4004 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
4005 call.
4006 * gdb.base/varargs.exp: Don't set 'prototypes' global.
4007
4008 2020-07-03 Pedro Alves <palves@redhat.com>
4009
4010 * gdb.base/m32rovly.c: Delete.
4011 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
4012
4013 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4014
4015 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
4016 of gdb_py_test_multiple.
4017 * gdb.python/py-cmd.exp: Likewise.
4018 * gdb.python/py-events.exp: Likewise.
4019 * gdb.python/py-function.exp: Likewise.
4020 * gdb.python/py-inferior.exp: Likewise.
4021 * gdb.python/py-infthread.exp: Likewise.
4022 * gdb.python/py-linetable.exp: Likewise.
4023 * gdb.python/py-parameter.exp: Likewise.
4024 * gdb.python/py-value.exp: Likewise.
4025
4026 2020-06-30 Tom de Vries <tdevries@suse.de>
4027
4028 PR testsuite/26175
4029 * lib/future.exp (gdb_default_target_compile): Detect and handle
4030 early_flags.
4031
4032 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
4033
4034 * boards/simavr.exp (gdb_load): Catch errors when closing
4035 previous connection. Close connection, wait for process and
4036 unset simavr_spawn_id on failure.
4037
4038 2020-06-29 Tom de Vries <tdevries@suse.de>
4039
4040 * lib/gdb.exp (unknown): Make test-case unresolved.
4041
4042 2020-06-29 Tom de Vries <tdevries@suse.de>
4043
4044 PR gdb/25475
4045 * gdb.server/solib-list.exp: Verify that the symbol reload
4046 confirmation question is asked.
4047
4048 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4049
4050 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
4051 have a input seq nr in each pass message.
4052 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
4053 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
4054 * gdb.python/python.exp: Make test names unique,
4055 use gdb_test_multiline instead of gdb_py_test_multiple,
4056 use $gdb_test_name.
4057 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
4058
4059 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
4060
4061 * configure.ac: Add --enable-libctf.
4062 * aclocal.m4: sinclude ../config/enable.m4.
4063 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4064 * lib/gdb.exp (skip_ctf_tests): Use it.
4065 * gdb.base/ctf-constvars.exp: Error message tweak.
4066 * gdb.base/ctf-ptype.exp: Likewise.
4067 * configure: Regenerate.
4068
4069 2020-06-26 Gary Benson <gbenson@redhat.com>
4070
4071 * gdb.cp/try_catch.cc: Include string.h.
4072 (main): Replace comparison against string literal with
4073 strcmp, avoiding build failure with -Wstring-compare.
4074 Add "marker test-complete".
4075 * gdb.cp/try_catch.exp: Run the test to the above marker,
4076 then verify that the value of "test" is still true.
4077
4078 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4079
4080 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4081
4082 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4083
4084 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4085
4086 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4087
4088 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4089 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4090 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4091 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4092 * gdb.arch/riscv-tdesc-loading.exp: New file.
4093
4094 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4095
4096 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4097
4098 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4099
4100 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4101 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4102 * gdb.arch/riscv-tdesc-regs.c: New file.
4103 * gdb.arch/riscv-tdesc-regs.exp: New file.
4104
4105 2020-06-24 Pedro Alves <palves@redhat.com>
4106
4107 * gdb.arch/amd64-entry-value-paramref.exp: Use
4108 prepare_for_testing_full and don't pass "c++" for the .S file
4109 build spec.
4110 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4111 $options, since it's an assembly file. Remove -Wno-deprecated.
4112 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4113 compiling C++ programs.
4114
4115 2020-06-24 Pedro Alves <palves@redhat.com>
4116
4117 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4118 Clang, add "-Wno-unknown-warning-option" to the options.
4119
4120 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4121
4122 * gdb.xml/tdesc-reload.c: New file.
4123 * gdb.xml/tdesc-reload.exp: New file.
4124 * gdb.xml/maint-xml-dump-01.xml: New file.
4125 * gdb.xml/maint-xml-dump-02.xml: New file.
4126 * gdb.xml/maint-xml-dump.exp: New file.
4127
4128 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4129
4130 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4131 Adjust for omitted commands when TUI is disabled.
4132
4133 2020-06-23 Gary Benson <gbenson@redhat.com>
4134 Pedro Alves <palves@redhat.com>
4135
4136 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4137 * gdb.cp/nsimport.cc: Likewise.
4138 * gdb.cp/nsnested.cc: Likewise.
4139 * gdb.cp/nsnoimports.cc: Likewise.
4140 * gdb.cp/nsusing.cc: Likewise.
4141 * gdb.cp/smartp.cc: Likewise.
4142 * gdb.python/py-pp-integral.c: Likewise.
4143 * gdb.python/py-pp-re-notag.c: Likewise.
4144
4145 2020-06-23 Gary Benson <gbenson@redhat.com>
4146
4147 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4148 * gdb.cp/nsimport.cc: Likewise.
4149 * gdb.cp/nsnested.cc: Likewise.
4150 * gdb.cp/nsnoimports.cc: Likewise.
4151 * gdb.cp/nsusing.cc: Likewise.
4152 * gdb.cp/smartp.cc: Likewise.
4153 * gdb.python/py-pp-integral.c: Likewise.
4154 * gdb.python/py-pp-re-notag.c: Likewise.
4155
4156 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4157
4158 * gdb.base/default-args.exp: New test.
4159 * gdb.base/default-args.c: New file.
4160 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4161 * gdb.base/default.exp: Update to new help text.
4162 * gdb.base/help.exp: Likewise.
4163 * gdb.base/page.exp: Likewise.
4164 * gdb.base/style.exp: Likewise.
4165 * gdb.guile/guile.exp: Likewise.
4166 * gdb.python/python.exp: Likewise.
4167
4168 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4169
4170 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4171 remote host. Fix search path syntax on Windows host.
4172
4173 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4174
4175 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4176 over 'exec-file-mismatch'.
4177 * gdb.base/attach.c: Mark should_exit volatile.
4178 * gdb.base/attach2.c: Likewise. Add a comment explaining
4179 why the sleep cannot be big.
4180 * gdb.base/attach3.c: New file.
4181
4182 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4183
4184 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4185 prefix optional.
4186
4187 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4188
4189 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4190 for remote host.
4191
4192 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4193 Hafiz Abid Qadeer <abidh@codesourcery.com>
4194
4195 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4196 file sent to remote host.
4197 (top level): Allow int32_t as type of 32-bit register.
4198
4199 2020-06-19 Tom de Vries <tdevries@suse.de>
4200
4201 * lib/gdb.exp (gdb_note): New proc.
4202 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4203 (gdb_default_target_compile): ... here. Only call
4204 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4205 (use_gdb_compile): Change to array.
4206 (toplevel): Update sets of use_gdb_compile to specify language.
4207 Warn about default_target_compile override. Store dejagnu's version
4208 of default_target_compile in dejagnu_default_target_compile.
4209
4210 2020-06-18 Tom de Vries <tdevries@suse.de>
4211
4212 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4213 (default_gdb_init): ... here.
4214
4215 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4216
4217 Fix TUI support checks in gdb.tui tests.
4218
4219 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4220 just say UNSUPPORTED.
4221 * gdb.tui/corefile-run.exp: Likewise.
4222 * gdb.tui/empty.exp: Likewise.
4223 * gdb.tui/list-before.exp: Likewise.
4224 * gdb.tui/list.exp: Likewise.
4225 * gdb.tui/main.exp: Likewise.
4226 * gdb.tui/regs.exp: Likewise.
4227 * gdb.tui/resize.exp: Likewise.
4228 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4229 * gdb.tui/tui-layout-asm.exp: Likewise.
4230 * gdb.tui/tui-missing-src.exp: Likewise.
4231 * gdb.tui/winheight.exp: Likewise.
4232 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4233
4234 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4235
4236 Fix TCL error in gdb.python/py-format-string.exp.
4237
4238 * gdb.python/py-format-string.exp: Move test for python support
4239 earlier, out of function body.
4240
4241 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
4242
4243 * gdb.base/index-cache-load-twice.c: New.
4244 * gdb.base/index-cache-load-twice.exp: New.
4245
4246 2020-06-17 Keith Seitz <keiths@redhat.com>
4247
4248 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
4249 when executing "gdb --configuration".
4250
4251 2020-06-17 Tom de Vries <tdevries@suse.de>
4252
4253 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4254 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4255 conditional on presence of gdb_tcl_unknown.
4256 (gdb_finish): Make override undo conditional on presence of
4257 gdb_tcl_unknown.
4258
4259 2020-06-16 Tom Tromey <tom@tromey.com>
4260
4261 * gdb.python/tui-window.py (failwin): New function. Register it
4262 as a TUI window type.
4263 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4264
4265 2020-06-16 Gary Benson <gbenson@redhat.com>
4266
4267 * gdb.python/py-nested-maps.c (create_map): Add missing return
4268 value.
4269 (create_map_map): Likewise.
4270
4271 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4272
4273 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4274 variable.
4275 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4276 and use the already-defined 'options' variable.
4277
4278 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4279 Tom de Vries <tdevries@suse.de>
4280
4281 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4282 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4283 (gdb_setup_known_globals): New proc.
4284 (gdb_cleanup_globals): New proc.
4285 * lib/gdb.exp (load_lib): New override proc.
4286 (gdb_stdin_log_init): Set var in_file as persistent global.
4287 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4288 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4289 fpc_compiler as persistent global.
4290
4291 2020-06-12 Tom de Vries <tdevries@suse.de>
4292
4293 * lib/tuiterm.exp (spawn): Rename to ...
4294 (tui_spawn): ... this.
4295 (toplevel): Move rename of spawn ...
4296 (gdb_init_tuiterm): ... here. New proc.
4297 (gdb_finish_tuiterm): New proc.
4298 * lib/gdb.exp (gdb_finish_hooks): New global var.
4299 (gdb_finish): Handle gdb_finish_hooks.
4300 (tuiterm_env): New proc.
4301 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4302 tuiterm_env.
4303 * gdb.tui/basic.exp: Same.
4304 * gdb.tui/corefile-run.exp: Same.
4305 * gdb.tui/empty.exp: Same.
4306 * gdb.tui/list-before.exp: Same.
4307 * gdb.tui/list.exp: Same.
4308 * gdb.tui/main.exp: Same.
4309 * gdb.tui/new-layout.exp: Same.
4310 * gdb.tui/regs.exp: Same.
4311 * gdb.tui/resize.exp: Same.
4312 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4313 * gdb.tui/tui-layout-asm.exp: Same.
4314 * gdb.tui/tui-missing-src.exp: Same.
4315 * gdb.tui/winheight.exp: Same.
4316
4317 2020-06-12 Tom de Vries <tdevries@suse.de>
4318
4319 PR testsuite/26110
4320 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4321 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4322
4323 2020-06-11 Tom Tromey <tom@tromey.com>
4324
4325 PR gdb/18318:
4326 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4327 floating point tests.
4328
4329 2020-06-11 Keith Seitz <keiths@redhat.com>
4330
4331 PR gdb/21356
4332 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4333 vla_struct.
4334 Add new struct vla_typedef and union vla_typedef_union and
4335 corresponding instantiation objects.
4336 Initialize new objects.
4337 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4338 and vla_typedef_union_object.
4339 Fixup type for vla_struct_object.
4340
4341 2020-06-11 Tom de Vries <tdevries@suse.de>
4342
4343 * lib/gdb.exp (with_override): New proc, factored out of ...
4344 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4345
4346 2020-06-10 Tom de Vries <tdevries@suse.de>
4347
4348 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4349
4350 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4351
4352 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4353 parameter, update callers.
4354
4355 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
4356
4357 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4358 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4359 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4360
4361 2020-06-04 Tom de Vries <tdevries@suse.de>
4362
4363 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4364
4365 2020-06-04 Tom de Vries <tdevries@suse.de>
4366
4367 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4368 exp_continue.
4369
4370 2020-06-04 Tom de Vries <tdevries@suse.de>
4371
4372 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4373
4374 2020-06-03 Tom de Vries <tdevries@suse.de>
4375
4376 PR symtab/26046
4377 * gdb.cp/breakpoint-locs-2.cc: New test.
4378 * gdb.cp/breakpoint-locs.cc: New test.
4379 * gdb.cp/breakpoint-locs.exp: New file.
4380 * gdb.cp/breakpoint-locs.h: New test.
4381
4382 2020-06-03 Tom de Vries <tdevries@suse.de>
4383
4384 PR testsuite/25609
4385 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4386 value of global verbose.
4387 * gdb.base/jit-elf.exp: Same.
4388 * gdb.base/jit-reader.exp: Same.
4389
4390 2020-06-02 Tom de Vries <tdevries@suse.de>
4391
4392 * gdb.dwarf2/multidictionary.exp: Don't use
4393 gdb_spawn_with_cmdline_opts.
4394
4395 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4396
4397 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4398 use_header case.
4399 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4400 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4401 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4402 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4403 * gdb.dwarf2/dw2-inline-header.c: New file.
4404 * gdb.dwarf2/dw2-inline-header.h: New file.
4405
4406 2020-05-30 Pedro Alves <palves@redhat.com>
4407
4408 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4409 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4410
4411 2020-05-29 Gary Benson <gbenson@redhat.com>
4412
4413 * gdb.compile/compile-cplus.exp (additional_flags): Also
4414 set when building with clang.
4415 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4416 when building with clang.
4417
4418 2020-05-29 Gary Benson <gbenson@redhat.com>
4419
4420 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4421 building with clang.
4422 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4423
4424 2020-05-29 Gary Benson <gbenson@redhat.com>
4425
4426 * gdb.cp/koenig.exp (prepare_for_testing): Add
4427 additional_flags=-Wno-unused-comparison.
4428 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4429
4430 2020-05-28 Gary Benson <gbenson@redhat.com>
4431
4432 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4433 statement.
4434
4435 2020-05-28 Gary Benson <gbenson@redhat.com>
4436
4437 * gdb.cp/classes.exp (prepare_for_testing): Add
4438 additional_flags=-Wno-deprecated-register.
4439 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4440 * gdb.cp/misc.exp: Likewise.
4441
4442 2020-05-28 Gary Benson <gbenson@redhat.com>
4443
4444 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4445 (test_op_new::operator new): Add return statement.
4446 (test_op_new_array::operator new[]): Likewise.
4447
4448 2020-05-27 Pedro Alves <palves@redhat.com>
4449
4450 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4451 check. Use test_gdb_complete_unique instead of
4452 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4453 test_gdb_complete_multiple instead of
4454 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4455
4456 2020-05-27 Luis Machado <luis.machado@linaro.org>
4457
4458 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4459 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4460 * gdb.arch/arm-disassembler-options.exp: Likewise.
4461 * gdb.arch/arm-disp-step.exp: Likewise.
4462 * gdb.arch/thumb-prologue.exp: Likewise.
4463 * gdb.base/async.exp: Likewise.
4464 * gdb.base/auxv.exp: Likewise.
4465 * gdb.base/complex-parts.exp: Likewise.
4466 * gdb.base/ena-dis-br.exp: Likewise.
4467 * gdb.base/foll-exec.exp: Likewise.
4468 * gdb.base/permissions.exp: Likewise.
4469 * gdb.base/relocate.exp: Likewise.
4470 * gdb.base/return2.exp: Likewise.
4471 * gdb.base/sigbpt.exp: Likewise.
4472 * gdb.base/siginfo-obj.exp: Likewise.
4473 * gdb.cp/converts.exp: Likewise.
4474 * gdb.cp/exceptprint.exp: Likewise.
4475 * gdb.cp/inherit.exp: Likewise.
4476 * gdb.cp/nsnoimports.exp: Likewise.
4477 * gdb.cp/virtbase2.exp: Likewise.
4478 * gdb.mi/mi-var-cmd.exp: Likewise.
4479 * gdb.mi/var-cmd.c: Likewise.
4480
4481 2020-05-26 Tom Tromey <tromey@adacore.com>
4482
4483 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4484
4485 2020-05-26 Tom Tromey <tromey@adacore.com>
4486
4487 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4488 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4489 type.
4490 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4491 variable.
4492
4493 2020-05-26 Christian Biesinger <cbiesinger@google.com>
4494
4495 * Makefile.in: Use = instead of == for the test command
4496 for portability.
4497
4498 2020-05-26 Tom de Vries <tdevries@suse.de>
4499
4500 * gdb.base/gold-gdb-index-2.c: New test.
4501 * gdb.base/gold-gdb-index.c: New test.
4502 * gdb.base/gold-gdb-index.exp: New file.
4503 * gdb.base/gold-gdb-index.h: New test.
4504
4505 2020-05-25 Tom de Vries <tdevries@suse.de>
4506
4507 * boards/gold-gdb-index.exp: New file.
4508
4509 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
4510
4511 * boards/simavr.exp: New file.
4512
4513 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
4514
4515 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4516 * gdb.base/inferior-args.exp: New file.
4517 * gdb.base/inferior-args.c: New file.
4518
4519 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
4520
4521 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4522 inferior_args. Pass it to gdb_reload.
4523 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4524 inferior_args.
4525 (gdb_reload): Add inferior_args argument.
4526 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4527 pass it to gdbserver_run.
4528 * boards/native-gdbserver.exp: Do not set noargs.
4529 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4530 inferior_args argument.
4531 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4532 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4533 * gdb.base/args.exp: Likewise.
4534
4535 2020-05-25 Tom de Vries <tdevries@suse.de>
4536
4537 * lib/gdb.exp (exec_is_pie): Add comment.
4538
4539 2020-05-25 Tom de Vries <tdevries@suse.de>
4540
4541 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4542 instead of $binfile in the untested message.
4543
4544 2020-05-25 Tom de Vries <tdevries@suse.de>
4545
4546 PR testsuite/26031
4547 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4548
4549 2020-05-25 Tom de Vries <tdevries@suse.de>
4550
4551 * boards/gold.exp: New file.
4552
4553 2020-05-23 Tom Tromey <tom@tromey.com>
4554
4555 * gdb.base/style.exp: Remove completion styling test.
4556 * lib/gdb-utils.exp (style): Remove completion styles.
4557
4558 2020-05-23 Tom Tromey <tom@tromey.com>
4559
4560 * gdb.base/style.exp: Add completion styling test.
4561 * lib/gdb-utils.exp (style): Add completion styles.
4562
4563 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4564
4565 * gdb.base/annota1.exp: Update expected results.
4566 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4567 test name.
4568 * gdb.cp/annota3.exp: Update expected results.
4569
4570 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
4571
4572 PR gdb/26016
4573 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4574 against MAP_FAILED.
4575 * gdb.base/coremaker.c (mmapdata): Likewise.
4576 * gdb.base/jit-reader-host.c (main): Likewise.
4577 * gdb.base/sym-file-loader.c (load): Likewise.
4578 (load_shlib): Likewise.
4579
4580 2020-05-20 Tom Tromey <tromey@adacore.com>
4581
4582 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4583
4584 2020-05-20 Tom de Vries <tdevries@suse.de>
4585
4586 PR symtab/25833
4587 * gdb.base/with-mf-inc.c: New test.
4588 * gdb.base/with-mf-main.c: New test.
4589 * gdb.base/with-mf.exp: New file.
4590
4591 2020-05-19 Tom Tromey <tromey@adacore.com>
4592
4593 * gdb.rust/simple.exp: Restore missing test result.
4594
4595 2020-05-19 Tom de Vries <tdevries@suse.de>
4596
4597 * gdb.base/gdb-caching-proc.exp: Fix typo.
4598
4599 2020-05-19 Tom Tromey <tromey@adacore.com>
4600
4601 * gdb.rust/simple.exp: Add some test descriptions.
4602 (test_one_slice): Use with_test_prefix.
4603
4604 2020-05-18 Tom de Vries <tdevries@suse.de>
4605
4606 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4607
4608 2020-05-17 Pedro Alves <palves@redhat.com>
4609
4610 PR gdb/25741
4611 * gdb.base/hw-sw-break-same-address.exp: New file.
4612
4613 2020-05-16 Pedro Alves <palves@redhat.com>
4614
4615 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4616 LAST_LOADED_FILE accordingly.
4617
4618 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4619
4620 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4621
4622 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4623
4624 * gdb.base/help.exp: Test apropos and help for commands
4625 having aliases. Fixed comments not starting with an
4626 upper-case letter or not finishing with a dot.
4627
4628 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4629
4630 * gdb.base/alias.exp: Update help output check.
4631
4632 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4633
4634 * gdb.base/default.exp: Update output following fixes.
4635
4636 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4637
4638 * gdb.base/alias.exp: Test aliases starting with a prefix of
4639 another alias.
4640
4641 2020-05-15 Gary Benson <gbenson@redhat.com>
4642
4643 * gdb.base/info-os.c (main): Add return statement.
4644 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4645 * gdb.base/large-frame-2.c (func): Likewise.
4646 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4647 * gdb.base/pr10179-b.c (foo2): Likewise.
4648 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4649 * gdb.base/watch-cond.c (func): Likewise.
4650 * gdb.multi/goodbye.c (verylongfun): Likewise.
4651 * gdb.multi/hello.c (commonfun): Likewise.
4652 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4653 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4654 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4655 Likewise.
4656 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4657 * gdb.threads/interrupt-while-step-over.c (child_function):
4658 Likewise.
4659 * gdb.trace/actions-changed.c (end): Likewise.
4660
4661 2020-05-15 Gary Benson <gbenson@redhat.com>
4662
4663 * gdb.opencl/callfuncs.exp: Report when test skipped.
4664 * gdb.opencl/convs_casts.exp: Likewise.
4665 * gdb.opencl/datatypes.exp: Likewise.
4666 * gdb.opencl/operators.exp: Likewise.
4667 * gdb.opencl/vec_comps.exp: Likewise.
4668
4669 2020-05-15 Tom de Vries <tdevries@suse.de>
4670
4671 * gdb.base/align.exp.in: Rename to ...
4672 * gdb.base/align.exp.tcl: ... this.
4673 * gdb.base/align-c++.exp: Update.
4674 * gdb.base/align-c.exp: Update.
4675 * gdb.base/all-architectures.exp.in: Rename to ...
4676 * gdb.base/all-architectures.exp: ... this.
4677 * gdb.base/all-architectures-0.exp: Update.
4678 * gdb.base/all-architectures-1.exp: Update.
4679 * gdb.base/all-architectures-2.exp: Update.
4680 * gdb.base/all-architectures-3.exp: Update.
4681 * gdb.base/all-architectures-4.exp: Update.
4682 * gdb.base/all-architectures-5.exp: Update.
4683 * gdb.base/all-architectures-6.exp: Update.
4684 * gdb.base/all-architectures-7.exp: Update.
4685 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4686 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4687 * gdb.base/infcall-nested-structs-c++.exp: Update.
4688 * gdb.base/infcall-nested-structs-c.exp: Update.
4689 * gdb.base/info-types.exp.in: Rename to ...
4690 * gdb.base/info-types.exp.tcl: ... this.
4691 * gdb.base/info-types-c++.exp: Update.
4692 * gdb.base/info-types-c.exp: Update.
4693 * gdb.base/max-depth.exp.in: Rename to ...
4694 * gdb.base/max-depth.exp.tcl: ... this.
4695 * gdb.base/max-depth-c++.exp: Update.
4696 * gdb.base/max-depth-c.exp: Update.
4697 * gdb.cp/cpexprs.exp.in: Rename to ...
4698 * gdb.cp/cpexprs.exp.tcl: ... this.
4699 * gdb.cp/cpexprs-debug-types.exp: Update.
4700 * gdb.cp/cpexprs.exp: Update.
4701 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4702 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4703 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4704 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4705 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4706 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4707 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4708 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4709 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4710 * gdb.dwarf2/clang-debug-names.exp: Update.
4711
4712 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4713
4714 * lib/check-test-names.exp: Remove code that prevents this file
4715 loading when tests are run in parallel.
4716
4717 2020-05-15 Pedro Alves <palves@redhat.com>
4718
4719 * gdb.multi/multi-kill.exp (start_inferior): Remove
4720 'testpid' parameter. Refer to namespace variable directly.
4721 (testpid): Declare as namespace variable.
4722
4723 2020-05-15 Pedro Alves <palves@redhat.com>
4724
4725 * gdb.multi/multi-kill.exp: Wrap in namespace.
4726 (start_inferior): Add TESTPID parameter. Use it instead of the
4727 testpid global.
4728 (top level): Define empty TESTPID array, and pass it down to
4729 start_inferior.
4730
4731 2020-05-14 Tom de Vries <tdevries@suse.de>
4732
4733 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4734 output.
4735
4736 2020-05-14 Tom de Vries <tdevries@suse.de>
4737
4738 * gdb.base/align.exp: Split into ...
4739 * gdb.base/align.exp.in: ...
4740 * gdb.base/align-c++.exp: ...
4741 * gdb.base/align-c.exp: ... these.
4742 * gdb.base/infcall-nested-structs.exp: Split into ...
4743 * gdb.base/infcall-nested-structs.exp.in: ...
4744 * gdb.base/infcall-nested-structs-c++.exp: ...
4745 * gdb.base/infcall-nested-structs-c.exp: ... these.
4746 * gdb.base/info-types.exp: Split into ...
4747 * gdb.base/info-types.exp.in: ...
4748 * gdb.base/info-types-c++.exp: ...
4749 * gdb.base/info-types-c.exp: ... these.
4750 * gdb.base/max-depth.exp: Split into ...
4751 * gdb.base/max-depth.exp.in: ...
4752 * gdb.base/max-depth-c++.exp: ...
4753 * gdb.base/max-depth-c.exp: ... these.
4754 * gdb.cp/infcall-nodebug.exp: Split into ...
4755 * gdb.cp/infcall-nodebug.exp.in: ...
4756 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4757 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4758 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4759 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4760
4761 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4762 Pedro Alves <palves@redhat.com>
4763
4764 * gdb.multi/multi-exit.c: New file.
4765 * gdb.multi/multi-exit.exp: New file.
4766 * gdb.multi/multi-kill.c: New file.
4767 * gdb.multi/multi-kill.exp: New file.
4768
4769 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4770
4771 * gdb.base/annota1.exp: Update the expected output.
4772 * gdb.cp/annota2.exp: Ditto.
4773
4774 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4775
4776 * lib/check-test-names.exp: Disable when testing is being run in
4777 parallel.
4778
4779 2020-05-12 Tom de Vries <tdevries@suse.de>
4780
4781 * gdb.base/jit-elf.exp: Fix string concat.
4782
4783 2020-05-12 Tom de Vries <tdevries@suse.de>
4784
4785 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4786 messages.
4787
4788 2020-05-12 Tom de Vries <tdevries@suse.de>
4789
4790 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4791
4792 2020-05-12 Tom de Vries <tdevries@suse.de>
4793
4794 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4795 * gdb.ada/mi_catch_ex.exp: Same.
4796 * gdb.ada/mi_catch_ex_hand.exp: Same.
4797
4798 2020-05-12 Tom de Vries <tdevries@suse.de>
4799
4800 * gdb.fortran/complex.exp: Use with_test_prefix.
4801
4802 2020-05-12 Tom de Vries <tdevries@suse.de>
4803
4804 * gdb.trace/passcount.exp: Fix test-names.
4805
4806 2020-05-12 Tom de Vries <tdevries@suse.de>
4807
4808 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4809
4810 2020-05-12 Tom de Vries <tdevries@suse.de>
4811
4812 * gdb.gdb/complaints.exp: Use with_test_prefix.
4813 * gdb.xml/tdesc-regs.exp: Same.
4814 * gdb.opt/inline-locals.exp: Fix test name.
4815
4816 2020-05-12 Tom de Vries <tdevries@suse.de>
4817
4818 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4819 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4820 * gdb.dwarf2/implref-struct.exp: Same.
4821 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4822 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4823
4824 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4825
4826 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4827
4828 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4829
4830 * lib/check-test-names.exp (all_test_names): New module variable.
4831 (counts): Add 'duplicates' field.
4832 (_check_duplicates): New procedure.
4833 (check): Also check for duplicates.
4834 (do_log_summary): Print duplicates count.
4835 (do_reset_vars): Reset counter for duplicate test names, and
4836 discard all know test names.
4837
4838 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4839
4840 * lib/gdb.exp: Include check-test-names.exp library.
4841 * lib/check-test-names.exp: New file.
4842
4843 2020-05-11 Tom de Vries <tdevries@suse.de>
4844
4845 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4846
4847 2020-05-11 Keith Seitz <keiths@redhat.com>
4848
4849 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4850
4851 2020-05-11 Tom de Vries <tdevries@suse.de>
4852
4853 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4854 * gdb.cp/cpexprs.exp.in: .. here.
4855 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4856 cpexprs.exp.
4857
4858 2020-05-11 Keith Seitz <keiths@redhat.com>
4859
4860 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4861 test names.
4862 * gdb.ada/arrayptr.exp: Likewise.
4863 * gdb.ada/assign_arr.exp: Likewise.
4864 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4865 * gdb.ada/bp_on_var.exp: Likewise.
4866 * gdb.ada/call_pn.exp: Likewise.
4867 * gdb.ada/complete.exp: Likewise.
4868 * gdb.ada/fun_overload_menu.exp: Likewise.
4869 * gdb.ada/funcall_param.exp: Likewise.
4870 * gdb.ada/funcall_ref.exp: Likewise.
4871 * gdb.ada/packed_array_assign.exp: Likewise.
4872 * gdb.ada/same_component_name.exp: Likewise.
4873 * gdb.ada/type_coercion.exp: Likewise.
4874 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4875 * gdb.ada/variant_record_packed_array.exp: Likewise.
4876
4877 2020-05-11 Tom de Vries <tdevries@suse.de>
4878
4879 PR symtab/25941
4880 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4881 out of ...
4882 * gdb.dwarf2/clang-debug-names.exp: ... here.
4883 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4884 clang-debug-names.exp.in.
4885 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4886 * gdb.dwarf2/clang-debug-names-2.c: New test.
4887
4888 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4889
4890 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4891 (fortran_runto_main): New Proc, fortran version of runto_main.
4892 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4893 * gdb.fortran/array-bounds.exp: Likewise.
4894 * gdb.fortran/array-slices.exp: Likewise.
4895 * gdb.fortran/block-data.exp: Likewise.
4896 * gdb.fortran/charset.exp: Likewise.
4897 * gdb.fortran/common-block.exp: Likewise.
4898 * gdb.fortran/complex.exp: Likewise.
4899 * gdb.fortran/derived-type-function.exp: Likewise.
4900 * gdb.fortran/derived-type.exp: Likewise.
4901 * gdb.fortran/info-modules.exp: Likewise.
4902 * gdb.fortran/info-types.exp: Likewise.
4903 * gdb.fortran/intrinsics.exp: Likewise.
4904 * gdb.fortran/library-module.exp: Likewise.
4905 * gdb.fortran/logical.exp: Likewise.
4906 * gdb.fortran/max-depth.exp: Likewise.
4907 * gdb.fortran/module.exp: Likewise.
4908 * gdb.fortran/multi-dim.exp: Likewise.
4909 * gdb.fortran/nested-funcs.exp: Likewise.
4910 * gdb.fortran/print-formatted.exp: Likewise.
4911 * gdb.fortran/print_type.exp: Likewise.
4912 * gdb.fortran/printing-types.exp: Likewise.
4913 * gdb.fortran/ptr-indentation.exp: Likewise.
4914 * gdb.fortran/ptype-on-functions.exp: Likewise.
4915 * gdb.fortran/subarray.exp: Likewise.
4916 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4917 * gdb.fortran/vla-datatypes.exp: Likewise.
4918 * gdb.fortran/vla-history.exp: Likewise.
4919 * gdb.fortran/vla-ptr-info.exp: Likewise.
4920 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4921 * gdb.fortran/vla-ptype.exp: Likewise.
4922 * gdb.fortran/vla-sizeof.exp: Likewise.
4923 * gdb.fortran/vla-type.exp: Likewise.
4924 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4925 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4926 * gdb.fortran/vla-value-sub.exp: Likewise.
4927 * gdb.fortran/vla-value.exp: Likewise.
4928 * gdb.fortran/whatis_type.exp: Likewise.
4929 * gdb.mi/mi-var-child-f.exp: Likewise.
4930
4931 2020-05-09 Tom de Vries <tdevries@suse.de>
4932
4933 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4934
4935 2020-05-08 Tom de Vries <tdevries@suse.de>
4936
4937 * gdb.dwarf2/clang-debug-names.c: New test.
4938 * gdb.dwarf2/clang-debug-names.exp: New file.
4939
4940 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
4941
4942 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4943 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4944
4945 2020-05-06 Tom de Vries <tdevries@suse.de>
4946
4947 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4948 breakpoint is at a "recommended breakpoint location".
4949 * gdb.reverse/consecutive-reverse.exp: Same.
4950
4951 2020-05-06 Tom de Vries <tdevries@suse.de>
4952
4953 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4954 address.
4955
4956 2020-05-06 Tom de Vries <tdevries@suse.de>
4957
4958 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4959
4960 2020-05-06 Tom de Vries <tdevries@suse.de>
4961
4962 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4963 info for r.
4964
4965 2020-05-06 Tom de Vries <tdevries@suse.de>
4966
4967 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4968 necessary.
4969
4970 2020-05-06 Tom de Vries <tdevries@suse.de>
4971
4972 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4973 void.
4974
4975 2020-05-06 Tom de Vries <tdevries@suse.de>
4976
4977 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4978 of ...
4979 * gdb.base/async.exp: ... here.
4980 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4981 "recommended breakpoint location".
4982
4983 2020-05-06 Tom de Vries <tdevries@suse.de>
4984
4985 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4986
4987 2020-05-04 Tom de Vries <tdevries@suse.de>
4988
4989 * gdb.base/async.exp: Check whether instruction addresses are a
4990 "recommended breakpoint location".
4991
4992 2020-05-03 Tom Tromey <tom@tromey.com>
4993
4994 * gdb.base/sepdebug.exp: Remove "catch" test.
4995 * gdb.base/break.exp: Remove "catch" test.
4996 * gdb.base/default.exp: Update expected output.
4997
4998 2020-05-02 Tom de Vries <tdevries@suse.de>
4999
5000 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
5001 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
5002 * gdb.arch/i386-mpx-map.exp: Same.
5003 * gdb.arch/i386-mpx-sigsegv.exp: Same.
5004 * gdb.arch/i386-mpx-simple_segv.exp: Same.
5005 * gdb.arch/i386-mpx.exp: Same.
5006
5007 2020-05-02 Tom de Vries <tdevries@suse.de>
5008
5009 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
5010
5011 2020-05-01 Tom de Vries <tdevries@suse.de>
5012
5013 * gdb.ada/operator_bp.exp: Allow more than required amount of
5014 breakpoint.
5015
5016 2020-05-01 Tom de Vries <tdevries@suse.de>
5017
5018 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
5019
5020 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
5021
5022 PR gdb/18706
5023 * gdb.cp/stub-array-size.cc: New test.
5024 * gdb.cp/stub-array-size.exp: New file.
5025 * gdb.cp/stub-array-size.h: New test.
5026 * gdb.cp/stub-array-size2.cc: New test.
5027
5028 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
5029
5030 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
5031 output to the new format.
5032
5033 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
5034
5035 * gdb.base/break.exp: Use with_test_prefix.
5036
5037 2020-04-29 Tom de Vries <tdevries@suse.de>
5038
5039 * lib/gdb.exp (debug_types): New proc.
5040 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
5041 * gdb.python/py-symtab.exp: Same.
5042
5043 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
5044
5045 PR gdb/17320
5046 * gdb.base/pretty-array.c: New test.
5047 * gdb.base/pretty-array.exp: New file.
5048
5049 2020-04-29 Tom de Vries <tdevries@suse.de>
5050
5051 PR symtab/25889
5052 * gdb.cp/cpexprs.exp: Adapt for inclusion.
5053 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
5054 and include cpexprs.exp.
5055
5056 2020-04-28 Mark Williams <mark@myosotissp.com>
5057
5058 PR gdb/24480
5059 * dw4-toplevel-types.exp: Test for top level types.
5060 * dw4-toplevel-types.cc: Test for top level types.
5061
5062 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5063
5064 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5065 (theads -> threads).
5066
5067 2020-04-28 Tom de Vries <tdevries@suse.de>
5068
5069 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5070
5071 2020-04-28 Tom de Vries <tdevries@suse.de>
5072
5073 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5074
5075 2020-04-28 Tom de Vries <tdevries@suse.de>
5076
5077 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5078
5079 2020-04-28 Tom de Vries <tdevries@suse.de>
5080
5081 * gdb.dwarf2/main-foo.c: New test.
5082 * gdb.dwarf2/struct-with-sig.exp: New file.
5083
5084 2020-04-25 Tom de Vries <tdevries@suse.de>
5085
5086 * boards/debug-types.exp: New file.
5087
5088 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5089
5090 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5091
5092 2020-04-24 Tom Tromey <tom@tromey.com>
5093
5094 PR symtab/12707:
5095 * gdb.python/py-symbol.exp: Update expected results for
5096 linkage_name test.
5097 * gdb.cp/print-demangle.exp: New file.
5098 * gdb.base/c-linkage-name.exp: Fix test.
5099 * gdb.guile/scm-symbol.exp: Update expected results for
5100 linkage_name test.
5101
5102 2020-04-24 Tom Tromey <tom@tromey.com>
5103
5104 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5105 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5106 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5107 assembler.
5108
5109 2020-04-24 Tom de Vries <tdevries@suse.de>
5110
5111 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5112 C++.
5113
5114 2020-04-24 Tom Tromey <tromey@adacore.com>
5115
5116 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5117 values.
5118 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5119 values. Update test for minimal encodings.
5120 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5121 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5122 values. Update test for minimal encodings.
5123
5124 2020-04-24 Tom Tromey <tromey@adacore.com>
5125
5126 PR python/23662:
5127 * gdb.ada/variant.exp: Add Python checks.
5128 * gdb.rust/simple.exp: Add dynamic type checks.
5129
5130 2020-04-24 Tom Tromey <tromey@adacore.com>
5131
5132 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5133 Make array type matching more lax.
5134 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5135 * gdb.ada/mi_variant.exp: New file.
5136 * gdb.ada/mi_variant/pck.ads: New file.
5137 * gdb.ada/mi_variant/pkg.adb: New file.
5138 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5139 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5140
5141 2020-04-24 Tom Tromey <tromey@adacore.com>
5142
5143 * gdb.ada/variant.exp: Add dynamic field offset tests.
5144 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5145 * gdb.ada/variant/pkg.adb: Add new variables.
5146
5147 2020-04-24 Tom Tromey <tromey@adacore.com>
5148
5149 * gdb.ada/variant.exp: New file
5150 * gdb.ada/variant/pkg.adb: New file
5151 * gdb.ada/variant/pck.adb: New file
5152
5153 2020-04-24 Tom de Vries <tdevries@suse.de>
5154
5155 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5156
5157 2020-04-24 Tom de Vries <tdevries@suse.de>
5158
5159 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5160 flags.
5161
5162 2020-04-24 Tom de Vries <tdevries@suse.de>
5163
5164 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5165
5166 2020-04-24 Tom de Vries <tdevries@suse.de>
5167
5168 * lib/gdb.exp (default_gdb_start): Handle eof.
5169 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5170 failure.
5171 * gdb.base/readnever.exp: Handle clean_restart failure.
5172
5173 2020-04-23 Tom de Vries <tdevries@suse.de>
5174
5175 * gdb.base/decl-before-def.exp: Run to main and print a again.
5176
5177 2020-04-23 Tom de Vries <tdevries@suse.de>
5178
5179 * gdb.base/decl-before-def-decl.c: New test.
5180 * gdb.base/decl-before-def-def.c: New test.
5181 * gdb.base/decl-before-def.exp: New file.
5182
5183 2020-04-23 Tom de Vries <tdevries@suse.de>
5184
5185 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5186
5187 2020-04-22 Tom de Vries <tdevries@suse.de>
5188
5189 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5190 debug_info_offset.
5191 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5192 before $objsfile in the line line.
5193
5194 2020-04-22 Tom de Vries <tdevries@suse.de>
5195
5196 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5197
5198 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5199
5200 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5201 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5202 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5203 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5204 * gdb.base/jit-protocol.h: Update definitions to match all usage
5205 contexts.
5206
5207 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5208
5209 * gdb.base: Rename all jit related test and source files.
5210
5211 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5212
5213 * gdb.base/jit-reader.exp: Relax register output check.
5214
5215 2020-04-22 Tom de Vries <tdevries@suse.de>
5216
5217 PR symtab/25764
5218 * gdb.base/psym-external-decl-2.c: New test.
5219 * gdb.base/psym-external-decl.c: New test.
5220 * gdb.base/psym-external-decl.exp: New file.
5221 * gdb.threads/tls.exp: Add PR25807 kfail.
5222
5223 2020-04-22 Tom de Vries <tdevries@suse.de>
5224
5225 PR symtab/25801
5226 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5227 in "info source" output.
5228
5229 2020-04-22 Tom de Vries <tdevries@suse.de>
5230
5231 PR symtab/25700
5232 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5233 symtab for imported_unit.c.
5234
5235 2020-04-21 Gary Benson <gbenson@redhat.com>
5236
5237 * gdb.base/advance.c (func): New argument, to match call site.
5238 (func2, func3): Add return statements.
5239
5240 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5241
5242 * gdb.multi/run-only-second-inf.c: New file.
5243 * gdb.multi/run-only-second-inf.exp: New file.
5244
5245 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5246
5247 * gdb.btrace/multi-inferior.c: New test.
5248 * gdb.btrace/multi-inferior.exp: New file.
5249
5250 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5251
5252 * gdb.btrace/enable-new-thread.c: New test.
5253 * gdb.btrace/enable-new-thread.exp: New file.
5254
5255 2020-04-21 Tom de Vries <tdevries@suse.de>
5256
5257 PR gdb/25471
5258 * gdb.threads/killed-outside.c: New test.
5259 * gdb.threads/killed-outside.exp: New file.
5260
5261 2020-04-20 Gary Benson <gbenson@redhat.com>
5262
5263 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5264 * gdb.base/nested-subp2.exp: Likewise.
5265 * gdb.base/nested-subp3.exp: Likewise.
5266
5267 2020-04-20 Gary Benson <gbenson@redhat.com>
5268
5269 * gdb.base/nested-subp1.exp: Disable test when using clang.
5270 * gdb.base/nested-subp2.exp: Likewise.
5271 * gdb.base/nested-subp3.exp: Likewise.
5272
5273 2020-04-20 Gary Benson <gbenson@redhat.com>
5274
5275 * gdb.cp/exception.cc: Fix compilation error with clang.
5276
5277 2020-04-20 Gary Benson <gbenson@redhat.com>
5278
5279 * gdb.trace/tspeed.c: Fix compilation error with clang.
5280
5281 2020-04-20 Gary Benson <gbenson@redhat.com>
5282
5283 * gdb.base/jit-main.c: Fix compilation error with clang.
5284
5285 2020-04-17 Kamil Rytarowski <n54@gmx.com>
5286
5287 * gdb.base/attach-twice.c: Include "sys/types.h".
5288 (PTRACE_ATTACH): Add fallback definition.
5289 (main): Pass `0' to the 4th argument of `ptrace'.
5290
5291 2020-04-17 Kamil Rytarowski <n54@gmx.com>
5292
5293 * gdb.base/fork-running-state.c: Include "signal.h".
5294
5295 2020-04-17 Tom Tromey <tromey@adacore.com>
5296
5297 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5298 Update tests.
5299 * gdb.btrace/cpu.exp: Update tests.
5300 * gdb.base/maint.exp: Update tests.
5301 * gdb.base/default.exp: Update tests.
5302 * gdb.base/completion.exp: Update tests.
5303
5304 2020-04-16 Tom de Vries <tdevries@suse.de>
5305
5306 PR symtab/25791
5307 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5308 (ensure_gdb_index): and factor out and move ...
5309 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5310 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5311
5312 2020-04-16 Tom de Vries <tdevries@suse.de>
5313
5314 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5315 loading exec.
5316
5317 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5318
5319 * gdb.base/many-completions.exp: New file.
5320
5321 2020-04-14 Tom de Vries <tdevries@suse.de>
5322
5323 PR symtab/25718
5324 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5325
5326 2020-04-14 Tom de Vries <tdevries@suse.de>
5327
5328 PR symtab/25720
5329 * gdb.base/maint-expand-symbols-header-file.c: New test.
5330 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5331 * gdb.base/maint-expand-symbols-header-file.h: New test.
5332
5333 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5334
5335 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5336 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5337 get_func_info.
5338 (get_func_info): Delete.
5339 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5340 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5341 * lib/dwarf.exp (get_func_info): New function.
5342
5343 2020-04-13 Tom de Vries <tdevries@suse.de>
5344
5345 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5346 to what find_gnatmake does.
5347
5348 2020-04-10 Tom de Vries <tdevries@suse.de>
5349
5350 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5351 -readnow.
5352
5353 2020-04-10 Tom de Vries <tdevries@suse.de>
5354
5355 PR cli/25808
5356 * gdb.base/style.c: Add leading newlines.
5357 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5358 Check listing of main's one-line body.
5359
5360 2020-04-08 Tom de Vries <tdevries@suse.de>
5361
5362 * lib/gdb.exp (psymtabs_p): New proc.
5363 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5364 importing unit" unsupported if there are no partial symbols.
5365
5366 2020-04-08 Tom de Vries <tdevries@suse.de>
5367
5368 PR testsuite/25760
5369 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5370
5371 2020-04-07 Tom de Vries <tdevries@suse.de>
5372
5373 PR symtab/25796
5374 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5375
5376 2020-04-07 Tom de Vries <tdevries@suse.de>
5377
5378 * gdb.base/check-psymtab.c: New test.
5379 * gdb.base/check-psymtab.exp: New file.
5380
5381 2020-04-06 Tom Tromey <tromey@adacore.com>
5382
5383 * gdb.ada/variant-record/proc.adb: New file.
5384 * gdb.ada/variant-record/value.adb: New file.
5385 * gdb.ada/variant-record/value.s: New file.
5386 * gdb.ada/variant-record.exp: New file.
5387
5388 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
5389
5390 PR gdb/25325
5391 * gdb.cp/typed-enum.cc: New test.
5392 * gdb.cp/typed-enum.exp: New file.
5393
5394 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5395
5396 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5397 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5398 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5399 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5400 * gdb.opt/inline-small-func.c: New file.
5401 * gdb.opt/inline-small-func.exp: New file.
5402 * gdb.opt/inline-small-func.h: New file.
5403
5404 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5405
5406 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5407 function.
5408
5409 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5410
5411 * lib/dwarf.exp (function_range): Allow compiler options to be
5412 specified.
5413
5414 2020-04-02 Tom de Vries <tdevries@suse.de>
5415
5416 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5417 __attribute__((always_inline)).
5418 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5419
5420 2020-04-02 Tom de Vries <tdevries@suse.de>
5421
5422 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5423 (gdbserver_gdb_exit): ... here. Add timeout warning.
5424 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5425 (connect_target_extended_remote): Append new server_spawn_id to
5426 server_spawn_ids.
5427 (cleanup): New proc.
5428 (setup, <toplevel>): Call cleanup.
5429
5430 2020-04-02 Tom de Vries <tdevries@suse.de>
5431
5432 * gdb.base/main-psymtab.exp: New file.
5433
5434 2020-04-02 Tom de Vries <tdevries@suse.de>
5435
5436 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5437
5438 2020-04-01 Tom Tromey <tom@tromey.com>
5439
5440 * gdb.base/complex-parts.exp: Add type tests.
5441
5442 2020-04-01 Tom Tromey <tom@tromey.com>
5443
5444 * gdb.base/complex-parts.exp: Add arithmetic tests.
5445
5446 2020-04-01 Tom Tromey <tom@tromey.com>
5447
5448 * gdb.compile/compile.exp: Update.
5449 * gdb.compile/compile-cplus.exp: Update.
5450 * gdb.base/varargs.exp: Update.
5451 * gdb.base/floatn.exp: Update.
5452 * gdb.base/endianity.exp: Update.
5453 * gdb.base/callfuncs.exp (do_function_calls): Update.
5454 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5455 (complex_float_integral_args): Update.
5456 * gdb.base/complex.exp: Update.
5457 * gdb.base/complex-parts.exp: Update.
5458
5459 2020-04-01 Tom Tromey <tromey@adacore.com>
5460
5461 * gdb.rust/union.rs: New file.
5462 * gdb.rust/union.exp: New file.
5463 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5464 (main): Update.
5465 * gdb.rust/simple.exp: Move union tests to union.exp.
5466
5467 2020-04-01 Tom Tromey <tromey@adacore.com>
5468
5469 * gdb.rust/simple.rs (main): Remove "y0".
5470
5471 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5472
5473 * gdb.multi/stop-all-on-exit.c: New test.
5474 * gdb.multi/stop-all-on-exit.exp: New file.
5475
5476 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
5477
5478 PR gdb/24789
5479 * gdb.cp/misc.cc: Add integer reference variable.
5480 * gdb.cp/misc.exp: Add test.
5481
5482 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5483
5484 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5485 scenario to cover execution until the end and also the case
5486
5487 2020-03-31 Tom de Vries <tdevries@suse.de>
5488
5489 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5490 c. Use "maint info symtabs" to check symtab expansion.
5491
5492 2020-03-30 Tom de Vries <tdevries@suse.de>
5493
5494 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5495 unsupported.
5496 (verify_psymtab_expanded): Move ...
5497 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5498 test.
5499 (readnow): New proc.
5500
5501 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5502
5503 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5504 with $hex.
5505
5506 2020-03-20 Tom Tromey <tromey@adacore.com>
5507
5508 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5509
5510 2020-03-20 Tom Tromey <tromey@adacore.com>
5511
5512 * gdb.ada/sub_variant/subv.adb: New file.
5513 * gdb.ada/sub_variant.exp: New file.
5514
5515 2020-03-20 Tom de Vries <tdevries@suse.de>
5516
5517 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5518 first break fails.
5519 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5520
5521 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5522
5523 * gdb.server/exit-multiple-threads.c: New file.
5524 * gdb.server/exit-multiple-threads.exp: New file.
5525
5526 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5527
5528 * gdb.fortran/mixed-lang-stack.c: New file.
5529 * gdb.fortran/mixed-lang-stack.cpp: New file.
5530 * gdb.fortran/mixed-lang-stack.exp: New file.
5531 * gdb.fortran/mixed-lang-stack.f90: New file.
5532
5533 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5534
5535 * gdb.linespec/cp-completion-aliases.cc: New file.
5536 * gdb.linespec/cp-completion-aliases.exp: New file.
5537
5538 2020-03-19 Tom de Vries <tdevries@suse.de>
5539
5540 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5541 more precise.
5542
5543 2020-03-18 Tom de Vries <tdevries@suse.de>
5544
5545 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5546 * gdb.dwarf2/break-inline-psymtab.c: New test.
5547 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5548
5549 2020-03-16 Tom de Vries <tdevries@suse.de>
5550
5551 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5552 cache_verify and cache_verify_proc.
5553
5554 2020-03-15 Tom de Vries <tdevries@suse.de>
5555
5556 * gdb.server/solib-list.exp: Handle
5557 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5558
5559 2020-03-15 Tom de Vries <tdevries@suse.de>
5560
5561 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5562 objfiles".
5563
5564 2020-03-14 Tom Tromey <tom@tromey.com>
5565
5566 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5567
5568 2020-03-14 Tom de Vries <tdevries@suse.de>
5569
5570 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5571
5572 2020-03-14 Tom de Vries <tdevries@suse.de>
5573
5574 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5575 result in line-by-line fashion.
5576
5577 2020-03-14 Tom de Vries <tdevries@suse.de>
5578
5579 * lib/gdb.exp (supports_statement_frontiers): New proc.
5580 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5581
5582 2020-03-14 Tom de Vries <tdevries@suse.de>
5583
5584 * gdb.base/printcmds.exp: Add missing quoting for "print
5585 teststring2".
5586
5587 2020-03-13 Tom Tromey <tom@tromey.com>
5588
5589 * gdb.base/printcmds.exp (test_print_strings): Add regression
5590 test.
5591 * gdb.base/printcmds.c (charptr): New typedef.
5592 (teststring2): New global.
5593
5594 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5595
5596 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5597 full path in the test name.
5598 (test_ld): Add some with_test_prefix blocks to make test names
5599 unique.
5600
5601 2020-03-13 Tom de Vries <tdevries@suse.de>
5602
5603 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5604
5605 2020-03-13 Tom de Vries <tdevries@suse.de>
5606
5607 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5608
5609 2020-03-13 Tom de Vries <tdevries@suse.de>
5610
5611 PR symtab/25646
5612 * gdb.dwarf2/imported-unit.exp: Add test.
5613
5614 2020-03-13 Tom de Vries <tdevries@suse.de>
5615
5616 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5617 (var1, var2): New variable.
5618 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5619 matching symbols.
5620
5621 2020-03-13 Tom de Vries <tdevries@suse.de>
5622
5623 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5624 (Term::command): Use prompt prefix.
5625 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5626 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5627 command_no_prompt_prefix instead of prefix.
5628 * gdb.tui/tui-layout-asm.exp: Same.
5629
5630 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
5631
5632 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5633
5634 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
5635
5636 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5637 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5638 on" while stepping over the test instruction, match printed
5639 message.
5640
5641 2020-03-12 Tom de Vries <tdevries@suse.de>
5642
5643 * gdb.base/info-types.exp: Use exp_continue during matching of output
5644 of "info types".
5645
5646 2020-03-12 Tom de Vries <tdevries@suse.de>
5647
5648 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5649
5650 2020-03-12 Tom de Vries <tdevries@suse.de>
5651
5652 * gdb.fortran/module.exp: Use exp_continue during matching of output
5653 of "info variable -n".
5654
5655 2020-03-12 Tom de Vries <tdevries@suse.de>
5656
5657 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5658 gdb.dwarf2/dw2-ranges-base.c.
5659
5660 2020-03-12 Tom de Vries <tdevries@suse.de>
5661
5662 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5663 in presence of GLIBC debuginfo.
5664
5665 2020-03-12 Tom de Vries <tdevries@suse.de>
5666
5667 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5668 $core.
5669
5670 2020-03-12 Tom de Vries <tdevries@suse.de>
5671
5672 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5673 more precise.
5674
5675 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
5676
5677 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5678 from Unix to Windows path.
5679
5680 2020-03-11 Tom de Vries <tdevries@suse.de>
5681
5682 * gdb.ada/minsyms.exp: Set language to ada.
5683
5684 2020-03-11 Tom de Vries <tdevries@suse.de>
5685
5686 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5687
5688 2020-03-11 Tom de Vries <tdevries@suse.de>
5689
5690 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5691
5692 2020-03-11 Tom Tromey <tromey@adacore.com>
5693
5694 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5695
5696 2020-03-11 Tom de Vries <tdevries@suse.de>
5697
5698 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5699
5700 2020-03-11 Tom de Vries <tdevries@suse.de>
5701
5702 * gdb.base/break-interp.exp: Limit verbose scope.
5703
5704 2020-03-11 Tom de Vries <tdevries@suse.de>
5705
5706 * gdb.fortran/logical.f90: Define variable with character type.
5707 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5708
5709 2020-03-11 Tom de Vries <tdevries@suse.de>
5710
5711 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5712
5713 2020-03-11 Tom de Vries <tdevries@suse.de>
5714
5715 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5716 symtabs.
5717
5718 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5719 Bernd Edlinger <bernd.edlinger@hotmail.de>
5720
5721 * gdb.cp/step-and-next-inline.cc: New file.
5722 * gdb.cp/step-and-next-inline.exp: New file.
5723 * gdb.cp/step-and-next-inline.h: New file.
5724 * gdb.dwarf2/dw2-is-stmt.c: New file.
5725 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5726 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5727 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5728 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5729
5730 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5731
5732 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5733 is-stmt flag in the line table.
5734
5735 2020-03-09 Tom de Vries <tdevries@suse.de>
5736
5737 * lib/gdb.exp (cached_file): Create cache dir.
5738
5739 2020-03-07 Tom de Vries <tdevries@suse.de>
5740
5741 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5742 * gdb.cp/rvalue-ref-params.exp: Same.
5743
5744 2020-03-06 Tom de Vries <tdevries@suse.de>
5745
5746 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5747 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5748
5749 2020-03-06 Tom de Vries <tdevries@suse.de>
5750
5751 * README: Fix "the the".
5752 * gdb.base/dprintf.exp: Same.
5753
5754 2020-03-05 Tom de Vries <tdevries@suse.de>
5755
5756 * gdb.base/maint.exp: Update "main print statistics" expected output.
5757
5758 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5759
5760 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5761 (fortran_int8): Likewise.
5762 (fortran_real4): Likewise.
5763 (fortran_real8): Likewise.
5764 (fortran_complex4): Likewise.
5765 (fortran_logical4): Likewise.
5766 (fortran_character1): Likewise.
5767
5768 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5769
5770 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5771 printed as true.
5772
5773 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5774
5775 * gdb.base/printcmds.exp: Add test to verify printf of a
5776 variable holding an address.
5777
5778 2020-03-03 Tom de Vries <tdevries@suse.de>
5779
5780 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5781
5782 2020-03-03 Tom de Vries <tdevries@suse.de>
5783
5784 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5785 gdb_test_multiple call.
5786
5787 2020-03-03 Tom de Vries <tdevries@suse.de>
5788
5789 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5790 gdb_test_multiple calls.
5791
5792 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5793
5794 * gdb.base/default.exp: Remove test of 'set history filename'.
5795 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5796 filename to the empty string.
5797 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5798 and GDBHISTSIZE.
5799
5800 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5801
5802 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5803 disabled.
5804
5805 2020-03-02 Pedro Alves <palves@redhat.com>
5806 Tom de Vries <tdevries@suse.de>
5807
5808 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5809 -prompt prefix, before user_code argument. Add -lbl option likewise.
5810 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5811 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5812 argument.
5813 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5814 have "\r\n" at start-of-line, instead of at end-of-line.
5815
5816 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
5817
5818 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5819 libinproctrace.so.
5820
5821 2020-02-28 Luis Machado <luis.machado@linaro.org>
5822
5823 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5824 to "p/x".
5825
5826 2020-02-28 Luis Machado <luis.machado@linaro.org>
5827
5828 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5829 asm/ptrace.h and error.h.
5830
5831 2020-02-28 Tom de Vries <tdevries@suse.de>
5832
5833 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5834 (struct wrapper, do_something, mundane/symada__cS): Move ...
5835 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5836 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5837 Update "print symada__cS before partial symtab expansion" regexp.
5838 Update breakpoint location. Flush symbol cache after expansion.
5839
5840 2020-02-28 Luis Machado <luis.machado@linaro.org>
5841
5842 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5843
5844 2020-02-27 Tom de Vries <tdevries@suse.de>
5845
5846 * config/sid.exp: Remove unused globals.
5847 * gdb.base/attach.exp: Same.
5848 * gdb.base/catch-load.exp: Same.
5849 * gdb.base/dbx.exp: Same.
5850 * lib/gdb.exp: Same.
5851 * lib/mi-support.exp: Same.
5852 * lib/prompt.exp: Same.
5853
5854 2020-02-27 Tom de Vries <tdevries@suse.de>
5855
5856 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5857 not set.
5858
5859 2020-02-26 Aaron Merey <amerey@redhat.com>
5860
5861 * gdb.debuginfod: New directory for debuginfod tests.
5862 * gdb.debuginfod/main.c: New test file.
5863 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5864
5865 2020-02-26 Tom de Vries <tdevries@suse.de>
5866
5867 PR gdb/25603
5868 * gdb.base/persistent-lang.cc: New test.
5869 * gdb.base/persistent-lang.exp: New file.
5870
5871 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5872
5873 * gdb.fortran/derived-type-striding.exp: Add a new test.
5874 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5875 new test.
5876
5877 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5878
5879 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5880 names.
5881
5882 2020-02-25 Tom de Vries <tdevries@suse.de>
5883
5884 PR go/18926
5885 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5886
5887 2020-02-24 Tom de Vries <tdevries@suse.de>
5888
5889 PR gdb/25592
5890 * gdb.base/info-locals-unused-static-var.c: New test.
5891 * gdb.base/info-locals-unused-static-var.exp: New file.
5892
5893 2020-02-22 Tom Tromey <tom@tromey.com>
5894
5895 * gdb.python/tui-window.exp: New file.
5896 * gdb.python/tui-window.py: New file.
5897
5898 2020-02-22 Tom Tromey <tom@tromey.com>
5899
5900 PR tui/17850:
5901 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5902 tests.
5903
5904 2020-02-22 Tom Tromey <tom@tromey.com>
5905
5906 * gdb.tui/new-layout.exp: Add sub-layout tests.
5907
5908 2020-02-22 Tom Tromey <tom@tromey.com>
5909
5910 * gdb.tui/new-layout.exp: New file.
5911
5912 2020-02-22 Tom Tromey <tom@tromey.com>
5913
5914 * gdb.rust/rust-style.rs: New file.
5915 * gdb.rust/rust-style.exp: New file.
5916 * gdb.base/style.exp: Test structure printing.
5917 * gdb.base/style.c (struct some_struct): New type.
5918 (enum etype): New type.
5919 (struct_value): New global.
5920
5921 2020-02-21 Tom de Vries <tdevries@suse.de>
5922
5923 PR go/18926
5924 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5925 Remove blanket xfails. Use message argument for gdb_breakpoint.
5926 Make continuing to breakpoint test conditional on setting breakpoint.
5927 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5928 DW_AT_name attribute. Add xfail for GCC PR93866.
5929
5930 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5931
5932 * gdb.dwarf2/cpp-linkage-name.c: New file.
5933 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5934
5935 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
5936
5937 * lib/gdb.exp (gdb_wrapper_init): Reset
5938 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5939 not exist.
5940
5941 2020-02-20 Tom de Vries <tdevries@suse.de>
5942
5943 PR go/17018
5944 * gdb.go/hello.exp: Copy ...
5945 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5946 print of st to print value of global definition. Add xfail for GCC
5947 PR93844.
5948 * gdb.go/hello.exp: Remove printing of st before definition.
5949 * gdb.go/hello.go: Copy ...
5950 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5951 to st.
5952 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5953
5954 2020-02-20 Tom de Vries <tdevries@suse.de>
5955
5956 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5957 (gdb_simple_compile): Handle compile_flags go by using .go extension
5958 for source file.
5959 * gdb.go/chan.exp: Use support_go_compile.
5960 * gdb.go/handcall.exp: Same.
5961 * gdb.go/hello.exp: Same.
5962 * gdb.go/integers.exp: Same.
5963 * gdb.go/max-depth.exp: Same.
5964 * gdb.go/methods.exp: Same.
5965 * gdb.go/package.exp: Same.
5966 * gdb.go/strings.exp: Same.
5967 * gdb.go/types.exp: Same.
5968 * gdb.go/unsafe.exp: Same.
5969
5970 2020-02-19 Tom de Vries <tdevries@suse.de>
5971
5972 * gdb.python/lib-types.exp: Make xfail more strict.
5973
5974 2020-02-19 Tom de Vries <tdevries@suse.de>
5975
5976 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5977
5978 2020-02-19 Doug Evans <dje@google.com>
5979
5980 PR rust/25535
5981 * gdb.rust/simple.exp: Add test.
5982 * gdb.rust/simple.rs: Add test.
5983
5984 2020-02-19 Tom de Vries <tdevries@suse.de>
5985
5986 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5987 output line-by-line.
5988
5989 2020-02-19 Tom de Vries <tdevries@suse.de>
5990
5991 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5992
5993 2020-02-19 Tom de Vries <tdevries@suse.de>
5994
5995 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5996 prelink.
5997
5998 2020-02-19 Tom de Vries <tdevries@suse.de>
5999
6000 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
6001 (gdb_do_cache): Use gdb_do_cache_wrap.
6002 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
6003
6004 2020-02-19 Tom de Vries <tdevries@suse.de>
6005
6006 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
6007 gdb_compile option.
6008
6009 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
6010
6011 * gdb.base/printcmds.exp (test_print_enums): Update expected
6012 output.
6013
6014 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
6015
6016 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
6017 for "unknown".
6018
6019 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
6020
6021 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
6022 enumerator.
6023
6024 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
6025
6026 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
6027 FE_, add FE_NONE.
6028 (three): Update.
6029 (enum flag_enum_without_zero): New enum.
6030 (flag_enum_without_zero): New variable.
6031 (enum not_flag_enum): New enum.
6032 (three_not_flag): New variable.
6033 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
6034 (test_print_enums): Add more tests for printing flag enums.
6035
6036 2020-02-18 Tom de Vries <tdevries@suse.de>
6037
6038 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
6039 (gdb_compile_ada): ... here.
6040 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
6041 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
6042
6043 2020-02-14 Tom Tromey <tom@tromey.com>
6044
6045 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
6046 build directory.
6047 * boards/gdbserver-base.exp: Update path to gdbserver.
6048
6049 2020-02-13 Tom de Vries <tdevries@suse.de>
6050
6051 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
6052
6053 2020-02-13 Tom de Vries <tdevries@suse.de>
6054
6055 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
6056 are missing.
6057
6058 2020-02-13 Tom de Vries <tdevries@suse.de>
6059
6060 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6061 call.
6062
6063 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6064
6065 PR tui/25126
6066 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6067 * gdb.base/cached-source-file.c: New file.
6068 * gdb.base/cached-source-file.exp: New file.
6069
6070 2020-02-11 Tom de Vries <tdevries@suse.de>
6071
6072 PR testsuite/25488
6073 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6074
6075 2020-02-10 Tom de Vries <tdevries@suse.de>
6076
6077 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6078
6079 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
6080
6081 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6082 and $after_addr are both integers before making a comparison.
6083
6084 2020-02-09 Tom de Vries <tdevries@suse.de>
6085
6086 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6087 command output and paste it into gdb.log. If any, paste catch message
6088 to gdb.log.
6089
6090 2020-02-07 Tom Tromey <tromey@adacore.com>
6091
6092 PR breakpoints/24915:
6093 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6094
6095 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
6096
6097 * gdb.tui/tui-missing-src.exp: Add the "missing source
6098 file" test for the TUI.
6099
6100 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6101
6102 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6103 including a port number in the output.
6104
6105 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6106
6107 * lib/fortran.exp (fortran_int4): Handle clang.
6108 (fortran_int8): Likewise.
6109 (fortran_real4): Likewise.
6110 (fortran_real8): Likewise.
6111 (fortran_complex4): Likewise.
6112 (fortran_logical4): Likewise.
6113 (fortran_character1): Likewise.
6114
6115 2020-02-04 Tom de Vries <tdevries@suse.de>
6116
6117 * README (Race detection): Add note.
6118
6119 2020-02-04 Tom de Vries <tdevries@suse.de>
6120
6121 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6122
6123 2020-02-04 Tom de Vries <tdevries@suse.de>
6124
6125 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6126
6127 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6128
6129 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6130 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6131 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6132 blttar, bnetarl.
6133 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6134 binary for blttar, bnetarl.
6135 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6136 wait instruction. Delete ldmx test.
6137 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6138
6139 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6140
6141 * gdb.fortran/array-bounds-high.exp: New file.
6142 * gdb.fortran/array-bounds-high.f90: New file.
6143
6144 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6145
6146 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6147 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6148
6149 2020-02-01 Tom de Vries <tdevries@suse.de>
6150
6151 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6152
6153 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6154
6155 PR tui/9765
6156 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6157 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6158
6159 2020-01-29 Luis Machado <luis.machado@linaro.org>
6160
6161 * gdb.arch/aarch64-brk-patterns.c: New source file.
6162 * gdb.arch/aarch64-brk-patterns.exp: New test.
6163
6164 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6165
6166 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6167 GCC/Clang version.
6168 * gdb.cp/pass-by-ref.exp: Ditto.
6169
6170 2020-01-29 Tom de Vries <tdevries@suse.de>
6171
6172 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6173 * gdb.threads/watchpoint-fork-mt.c: Same.
6174 * gdb.threads/watchpoint-fork-parent.c: Same.
6175 * gdb.threads/watchpoint-fork-st.c: Same.
6176 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6177
6178 2020-01-27 Luis Machado <luis.machado@linaro.org>
6179
6180 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6181 sitting at a syscall instruction when we hit the syscall function's
6182 breakpoint.
6183 Check PC against one obtained with the x command.
6184 Validate syscall number.
6185 (step_over_syscall): Don't continue to the syscall instruction if
6186 we're already there.
6187
6188 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6189
6190 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6191
6192 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6193
6194 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6195 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6196
6197 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6198
6199 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6200 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6201
6202 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6203
6204 * gdb.base/maint.exp: Update line table parsing test.
6205 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6206
6207 2020-01-24 Pedro Alves <palves@redhat.com>
6208
6209 PR gdb/25410
6210 * gdb.multi/multi-re-run-1.c: New.
6211 * gdb.multi/multi-re-run-2.c: New.
6212 * gdb.multi/multi-re-run.exp: New.
6213
6214 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6215
6216 PR gdb/23718
6217 * gdb.server/server-kill-python.exp: New file.
6218
6219 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6220
6221 * gdb.server/multi-ui-errors.c: New file.
6222 * gdb.server/multi-ui-errors.exp: New file.
6223
6224 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6225
6226 PR tui/9765
6227 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6228
6229 2020-01-19 Tom Tromey <tom@tromey.com>
6230
6231 * gdb.tui/main.exp: Add check for plain "file".
6232
6233 2020-01-16 Christian Biesinger <cbiesinger@google.com>
6234
6235 * lib/gdb.exp: Fix spelling error (seperatelly).
6236
6237 2020-01-14 Tom Tromey <tom@tromey.com>
6238
6239 PR symtab/12535:
6240 * gdb.python/python.exp: Test decode_line with empty string
6241 argument.
6242
6243 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6244
6245 * gdb.base/skip-inline.exp: Extend test.
6246
6247 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6248
6249 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6250 * gdb.dwarf2/dw2-bad-elf.c: New file.
6251 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6252
6253 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6254
6255 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6256 _line_saw_file.
6257
6258 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6259
6260 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6261 border.
6262
6263 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6264
6265 * gdb.multi/multi-target.exp (setup): Factor out "info
6266 connections" and "info inferiors" tests to ...
6267 (test_info_inferiors): ... this new procedure.
6268 (top level): Run new "info-inferiors" tests.
6269
6270 2020-01-10 Pedro Alves <palves@redhat.com>
6271
6272 * gdb.server/bkpt-other-inferior.exp: New file.
6273
6274 2020-01-10 Pedro Alves <palves@redhat.com>
6275
6276 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6277 of "add-inferior".
6278 * gdb.base/quit-live.exp: Likewise.
6279 * gdb.base/remote-exec-file.exp: Likewise.
6280 * gdb.guile/scm-progspace.exp: Likewise.
6281 * gdb.linespec/linespec.exp: Likewise.
6282 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6283 * gdb.mi/user-selected-context-sync.exp: Likewise.
6284 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6285 "info inferiors" tests.
6286 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6287 "add-inferior".
6288 * gdb.multi/watchpoint-multi.exp: Likewise.
6289 * gdb.python/py-inferior.exp: Likewise.
6290 * gdb.server/extended-remote-restart.exp: Likewise.
6291 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6292 "info inferiors".
6293 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6294 * gdb.trace/report.exp: Likewise.
6295
6296 2020-01-10 Pedro Alves <palves@redhat.com>
6297
6298 * gdb.multi/multi-target.c: New file.
6299 * gdb.multi/multi-target.exp: New file.
6300 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6301 mode requested, but remote does not support non-stop".
6302
6303 2020-01-10 Pedro Alves <palves@redhat.com>
6304
6305 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6306 disconnect before reconnecting.
6307
6308 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6309 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.server/connect-without-multi-process.exp: Also test
6312 continuing to end.
6313
6314 2020-01-10 Pedro Alves <palves@redhat.com>
6315
6316 * gdb.base/remote-exec-file.exp: New file.
6317
6318 2020-01-10 Pedro Alves <palves@redhat.com>
6319
6320 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6321 output.
6322 * gdb.threads/async.c: New.
6323 * gdb.threads/async.exp: New.
6324 * gdb.multi/tids-gid-reset.c: New.
6325 * gdb.multi/tids-gid-reset.exp: New.
6326
6327 2020-01-10 George Barrett <bob@bob131.so>
6328
6329 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6330 to help in finding the image relocation offset.
6331 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6332 options in arguments.
6333 (stap_test_no_debuginfo): Likewise.
6334 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6335 test variants.
6336 (stap_test): Add null semaphore relocation test.
6337
6338 2020-01-10 George Barrett <bob@bob131.so>
6339
6340 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6341 * gdb.base/stap-probe.exp: Likewise.
6342 (stap_test): Pass argument as an additional flag.
6343 (stap_test_no_debuginfo): Likewise.
6344 (stap_test): Check `info probes stap' output for semaphore
6345 addresses if the test binary is supposed to have them.
6346
6347 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6348
6349 * gdb.tui/basic.exp: Add more scrolling tests.
6350
6351 2020-01-09 Tom Tromey <tom@tromey.com>
6352
6353 PR tui/18932:
6354 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6355 meangingful value.
6356 (Term::command, Term::resize): Update.
6357 * gdb.tui/basic.exp: Add scrolling test.
6358
6359 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6360
6361 * gdb.tui/tui-layout-asm.exp: New file.
6362
6363 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6364
6365 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6366
6367 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6368
6369 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6370 (Term::enter_tui): Use Term::prepare_for_tui.
6371
6372 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6373
6374 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6375 called.
6376
6377 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6378
6379 * gdb.base/skip.exp: Fix race condition in test.
6380
6381 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6382
6383 * gdb.base/backtrace.c: New file.
6384 * gdb.base/backtrace.exp: New file.
6385
6386 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6387
6388 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6389
6390 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6391
6392 * gdb.base/style.exp: Test that warnings are styled.
6393
6394 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6395
6396 * gdb.base/line65535.exp: New file.
6397 * gdb.base/line65535.c: New file.
6398
6399 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6400
6401 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6402 * lib/gnat_debug_info_test.adb: New file.
6403 * gdb.ada/ptype_tagged_param.exp: Use
6404 gnat_runtime_has_debug_info, expect a different output if
6405 runtime does not have debug info.
6406
6407 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
6408
6409 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6410 (another) quote in test name.
6411
6412 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
6413
6414 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6415 Add quote in test name.
6416
6417 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6418
6419 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6420 directory instead.
6421 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6422 * gdb.cp/pass-by-ref-2.cc: New file.
6423 * gdb.cp/pass-by-ref-2.exp: New file.
6424
6425 2019-12-20 Tom Tromey <tom@tromey.com>
6426
6427 * gdb.tui/list-before.exp: New file.
6428
6429 2019-12-20 Tom Tromey <tom@tromey.com>
6430
6431 * gdb.tui/list.exp: Check for source on initial listing.
6432
6433 2019-12-11 Tom Tromey <tromey@adacore.com>
6434
6435 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6436 Add crlf test.
6437
6438 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
6439
6440 * gdb.base/default.exp: Update value of $_gdb_major.
6441
6442 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6443
6444 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6445
6446 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6447
6448 * gdb.base/skip.exp: Whitespace fix.
6449
6450 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6451
6452 * gdb.base/skip-inline.c: New file.
6453 * gdb.base/skip-inline.exp: New file.
6454
6455 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6456
6457 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6458 jit_function_00 to jit_function_stack_mangle.
6459 * gdb.base/jithost.c (jit_function_t): Rename to...
6460 (jit_function_stack_mangle_t): ... this.
6461 (jit_function_add_t): New typedef.
6462 (jit_function_00_code): Rename to...
6463 (jit_function_stack_mangle_code): ... this, make static.
6464 (jit_function_add_code): New.
6465 (main): Generate "add" function and call it. Adjust to changes
6466 in jithost_abi.
6467 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6468 (struct jithost_abi) <begin, end>: Remove fields.
6469 <object, function_stack_mangle, function_add>: New fields.
6470 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6471 code_end>: Remove fields.
6472 <func_stack_mangle>: New field.
6473 (read_debug_info): Adjust to renaming, create block for "add"
6474 function.
6475 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6476
6477 2019-12-11 Tom Tromey <tom@tromey.com>
6478
6479 * gdb.tui/resize.exp: Fix regexp.
6480 * gdb.tui/regs.exp: Fix regexps.
6481 * gdb.tui/main.exp: Fix regexp.
6482
6483 2019-12-11 Tom Tromey <tom@tromey.com>
6484
6485 * gdb.tui/resize.exp: Update.
6486 * gdb.tui/empty.exp (layouts): Update.
6487
6488 2019-12-11 Tom Tromey <tom@tromey.com>
6489
6490 * gdb.tui/regs.exp: Update.
6491 * gdb.tui/empty.exp (layouts): Update.
6492 * gdb.tui/basic.exp: Update.
6493 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6494
6495 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6496
6497 * gdb.base/options.exp: Add -raw-values in the print completion list.
6498 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6499
6500 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6501
6502 * gdb.threads/omp-par-scope.c: New file.
6503 * gdb/threads/omp-par-scope.exp: New file.
6504
6505 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6506
6507 * lib/gdb.exp (support_nested_function_tests): New proc.
6508
6509 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6510
6511 * lib/gdb.exp (gdb_compile_openmp): New proc.
6512 (build_executable_from_specs): Add an "openmp" option.
6513 (gdb_compile_pthreads): Add non-executable case.
6514
6515 2019-12-10 Tom Tromey <tromey@adacore.com>
6516
6517 * gdb.ada/unchecked_union.exp: New file.
6518 * gdb.ada/unchecked_union/pck.adb: New file.
6519 * gdb.ada/unchecked_union/pck.ads: New file.
6520 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6521 * gdb-utils.exp (string_to_regexp): Also quote "?".
6522
6523 2019-12-10 George Barrett <bob@bob131.so>
6524
6525 Test scripted probe breakpoints.
6526 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6527 * gdb.python/py-breakpoint.c (main): Likewise.
6528 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6529 specifier test.
6530 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6531
6532 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6533
6534 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6535 an rvalue parameter.
6536 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6537 parameter.
6538
6539 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6540
6541 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6542 modules.
6543
6544 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6545
6546 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6547 broken version of GCC.
6548
6549 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6550
6551 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6552 sym-info-cmds library.
6553 * gdb.fortran/info-types.exp: Likewise.
6554 * lib/sym-info-cmds.exp: New file.
6555
6556 2019-12-08 Tom de Vries <tdevries@suse.de>
6557
6558 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6559
6560 2019-12-07 Keith Seitz <keiths@redhat.com>
6561
6562 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6563 * gdb.base/corefile-buildid-shlib.c: New file.
6564 * gdb.base/corefile-buildid.c: New file.
6565 * gdb.base/corefile-buildid.exp: New file.
6566
6567 2019-12-06 Tom de Vries <tdevries@suse.de>
6568
6569 * gdb.dwarf2/varval.exp: Add decl before def test.
6570
6571 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6572
6573 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6574
6575 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6576
6577 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6578 CV and reference conversion for overload resolution.
6579 * gdb.cp/rvalue-ref-overload.exp: Test it.
6580
6581 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6582
6583 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6584 * gdb.base/frameapply.exp: Test faas without command.
6585
6586 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6587
6588 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6589 Fortran tests.
6590 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6591 order.
6592
6593 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6594
6595 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6596 casting to type with no kind specified.
6597 (test_basic_parsing_of_type_kinds): Additional tests for types
6598 with no kind specified, and add tests for single/double
6599 precision/complex types.
6600
6601 2019-12-04 Tom Tromey <tromey@adacore.com>
6602
6603 * gdb.base/endianity.c (struct other) <x>: New field.
6604 (main): Initialize it.
6605 * gdb.base/endianity.exp: Update.
6606
6607 2019-12-04 Tom Tromey <tromey@adacore.com>
6608
6609 * gdb.ada/scalar_storage/storage.adb: New file.
6610 * gdb.ada/scalar_storage/pck.adb: New file.
6611 * gdb.ada/scalar_storage/pck.ads: New file.
6612 * gdb.ada/scalar_storage.exp: New file.
6613
6614 2019-12-04 Tom Tromey <tromey@adacore.com>
6615
6616 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6617 (main): Initialize it.
6618 * gdb.base/endianity.exp: Update.
6619
6620 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6621
6622 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6623
6624 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6625
6626 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6627 -symbol-info-module-functions and -symbol-info-module-variables.
6628
6629 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6630
6631 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6632
6633 2019-12-01 Richard Bunt <richard.bunt@arm.com>
6634 Andrew Burgess <andrew.burgess@embecosm.com>
6635
6636 * gdb.fortran/derived-type-striding.exp: New file.
6637 * gdb.fortran/derived-type-striding.f90: New file.
6638 * gdb.fortran/array-slices.exp: New file.
6639 * gdb.fortran/array-slices.f90: New file.
6640
6641 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6642
6643 * gdb.base/define.exp: Test . in command names.
6644 * gdb.base/setshow.exp: Update test, as . is now part of
6645 command name.
6646
6647 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6648
6649 * gdb.base/define-prefix.exp: New file.
6650
6651 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6652
6653 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6654 compile.
6655 (skip_btrace_pt_tests): Likewise.
6656
6657 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6658
6659 * gdb.fortran/info-modules.exp: Compile source files in correct
6660 order.
6661
6662 2019-11-27 Kevin Buettner <kevinb@redhat.com>
6663
6664 * gdb.dwarf2/imported-unit.exp: New file.
6665 * gdb.dwarf2/imported-unit.c: New file.
6666
6667 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6668
6669 * gdb.mi/mi-fortran-modules-2.f90: New file.
6670 * gdb.mi/mi-fortran-modules.exp: New file.
6671 * gdb.mi/mi-fortran-modules.f90: New file.
6672
6673 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6674
6675 * gdb.mi/mi-sym-info-1.c: New file.
6676 * gdb.mi/mi-sym-info-2.c: New file.
6677 * gdb.mi/mi-sym-info.exp: New file.
6678
6679 2019-11-22 Tom Tromey <tromey@adacore.com>
6680
6681 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6682 * gdb.ada/tasks/foo.adb: Add another stopping location.
6683
6684 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6685
6686 * gdb.base/endianity.c: New test.
6687 * gdb.base/endianity.exp: New file.
6688
6689 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6690
6691 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6692
6693 2019-11-21 Tom de Vries <tdevries@suse.de>
6694
6695 PR gdb/24956
6696 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6697
6698 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6699
6700 * gdb.python/py-progspace.exp: Add missing parentheses on some
6701 'print' commands.
6702
6703 2019-11-19 Tom Tromey <tom@tromey.com>
6704
6705 * gdb.tui/winheight.exp: New file.
6706
6707 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6708
6709 * gdb.base/ctf-whatis.c: Delete.
6710 * gdb.base/ctf-whatis.exp: Delete.
6711 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6712
6713 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6714
6715 * gdb.base/ctf-cvexpr.exp: Delete.
6716 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6717
6718 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6719
6720 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6721 the compiler. Clean up header comment a little.
6722 * gdb.base/ctf-ptype.exp: Likewise.
6723 * gdb.base/ctf-whatis.exp: Likewise.
6724 * lib/gdb.exp (skip_ctf_tests): New proc.
6725
6726 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6727
6728 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6729 * gdb.tui/corefile-run.exp: New file.
6730
6731 2019-11-14 Tom Tromey <tromey@adacore.com>
6732
6733 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6734 regression tests.
6735
6736 2019-11-12 Tom Tromey <tom@tromey.com>
6737
6738 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6739 after any command. Expect prompt after WAIT_FOR is seen.
6740 (enter_tui): Enable resize messages.
6741 (command): Expect command in output.
6742 (get_line): Avoid error when cursor appears to be off-screen.
6743 (dump_screen): Include screen size in title.
6744 (_do_resize): New proc, from "resize".
6745 (resize): Rewrite. Do resize in two steps.
6746 * gdb.tui/empty.exp (layouts): Fix entries.
6747 (check_boxes): Remove xfail.
6748 (check_text): Dump screen on failure.
6749
6750 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6751
6752 * gdb.python/py-symbol.exp: Add test for
6753 gdb.lookup_static_symbols.
6754
6755 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6756
6757 * gdb.python/py-symbol.c: Declare and call function from new
6758 py-symbol-2.c file.
6759 * gdb.python/py-symbol.exp: Compile both source files, and add new
6760 tests for gdb.lookup_static_symbol.
6761 * gdb.python/py-symbol-2.c: New file.
6762
6763 2019-11-02 Tom de Vries <tdevries@suse.de>
6764
6765 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6766 * gdb.base/anon.exp: Same.
6767 * gdb.base/auto-connect-native-target.exp: Same.
6768 * gdb.base/call-ar-st.exp: Same.
6769 * gdb.base/catch-syscall.exp: Same.
6770 * gdb.base/commands.exp: Same.
6771 * gdb.base/default.exp: Same.
6772 * gdb.base/display.exp: Same.
6773 * gdb.base/float.exp: Same.
6774 * gdb.base/foll-fork.exp: Same.
6775 * gdb.base/help.exp: Same.
6776 * gdb.base/info-macros.exp: Same.
6777 * gdb.base/info-proc.exp: Same.
6778 * gdb.base/info-target.exp: Same.
6779 * gdb.base/long_long.exp: Same.
6780 * gdb.base/macscp.exp: Same.
6781 * gdb.base/memattr.exp: Same.
6782 * gdb.base/nofield.exp: Same.
6783 * gdb.base/pointers.exp: Same.
6784 * gdb.base/printcmds.exp: Same.
6785 * gdb.base/ptype.exp: Same.
6786 * gdb.base/restore.exp: Same.
6787 * gdb.base/return.exp: Same.
6788 * gdb.base/scope.exp: Same.
6789 * gdb.base/set-noassign.exp: Same.
6790 * gdb.base/setshow.exp: Same.
6791 * gdb.base/shlib-call.exp: Same.
6792 * gdb.base/signals.exp: Same.
6793 * gdb.base/sigstep.exp: Same.
6794 * gdb.base/skip.exp: Same.
6795 * gdb.base/solib-symbol.exp: Same.
6796 * gdb.base/stap-probe.exp: Same.
6797 * gdb.base/step-line.exp: Same.
6798 * gdb.base/step-test.exp: Same.
6799 * gdb.base/style.exp: Same.
6800 * gdb.base/varargs.exp: Same.
6801 * gdb.base/vla-datatypes.exp: Same.
6802 * gdb.base/vla-ptr.exp: Same.
6803 * gdb.base/vla-sideeffect.exp: Same.
6804 * gdb.base/volatile.exp: Same.
6805 * gdb.base/watch-cond-infcall.exp: Same.
6806 * gdb.base/watchpoint.exp: Same.
6807
6808 2019-11-02 Tom de Vries <tdevries@suse.de>
6809
6810 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6811 * gdb.cp/cpexprs.exp: Same.
6812 * gdb.cp/except-multi-location.exp: Same.
6813 * gdb.cp/exceptprint.exp: Same.
6814 * gdb.cp/gdb2384.exp: Same.
6815 * gdb.cp/inherit.exp: Same.
6816 * gdb.cp/m-static.exp: Same.
6817 * gdb.cp/meth-typedefs.exp: Same.
6818 * gdb.cp/misc.exp: Same.
6819 * gdb.cp/namespace.exp: Same.
6820 * gdb.cp/non-trivial-retval.exp: Same.
6821 * gdb.cp/overload.exp: Same.
6822 * gdb.cp/pr17132.exp: Same.
6823 * gdb.cp/re-set-overloaded.exp: Same.
6824 * gdb.cp/rvalue-ref-types.exp: Same.
6825 * gdb.cp/templates.exp: Same.
6826
6827 2019-11-01 Luis Machado <luis.machado@linaro.org>
6828
6829 PR gdb/25124
6830
6831 * gdb.arch/pr25124.S: New file.
6832 * gdb.arch/pr25124.exp: New file.
6833
6834 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6835
6836 * gdb.fortran/info-modules.exp: Update expected results, and add
6837 additional tests for 'info module functinos', and 'info module
6838 variables'.
6839 * gdb.fortran/info-types.exp: Update expected results.
6840 * gdb.fortran/info-types.f90: Extend testcase with additional
6841 module variables and functions.
6842
6843 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6844
6845 * gdb.fortran/info-modules.exp: New file.
6846 * gdb.fortran/info-types.exp: Build with new file.
6847 * gdb.fortran/info-types.f90: Include and use new module.
6848 * gdb.fortran/info-types-2.f90: New file.
6849
6850 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6851
6852 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6853 * gdb.base/settings.exp: Test all settings types using
6854 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6855 that now verifies that the value of "maint show" is the same as
6856 returned by the settings functions. Test the type of the
6857 maintenance settings.
6858 * gdb.base/default.exp: Update show_conv_list.
6859
6860 2019-10-31 Tom de Vries <tdevries@suse.de>
6861
6862 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6863 gdb_test.
6864 * gdb.arch/amd64-disp-step.exp: Same.
6865 * gdb.asm/asm-source.exp: Same.
6866 * gdb.btrace/buffer-size.exp: Same.
6867 * gdb.btrace/cpu.exp: Same.
6868 * gdb.btrace/enable.exp: Same.
6869 * gdb.dwarf2/count.exp: Same.
6870 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6871 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6872 * gdb.fortran/vla-datatypes.exp: Same.
6873 * gdb.fortran/vla-history.exp: Same.
6874 * gdb.fortran/vla-ptype.exp: Same.
6875 * gdb.fortran/vla-value.exp: Same.
6876 * gdb.fortran/whatis_type.exp: Same.
6877 * gdb.guile/guile.exp: Same.
6878 * gdb.multi/tids.exp: Same.
6879 * gdb.python/py-finish-breakpoint.exp: Same.
6880 * gdb.python/py-framefilter.exp: Same.
6881 * gdb.python/py-pp-registration.exp: Same.
6882 * gdb.python/py-xmethods.exp: Same.
6883 * gdb.python/python.exp: Same.
6884 * gdb.server/connect-with-no-symbol-file.exp: Same.
6885 * gdb.server/no-thread-db.exp: Same.
6886 * gdb.server/run-without-local-binary.exp: Same.
6887 * gdb.stabs/weird.exp: Same.
6888 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6889 * gdb.threads/thread-find.exp: Same.
6890 * gdb.threads/tls-shared.exp: Same.
6891 * gdb.threads/tls.exp: Same.
6892 * gdb.threads/wp-replication.exp: Same.
6893 * gdb.trace/ax.exp: Same.
6894 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6895
6896 2019-10-31 Tom de Vries <tdevries@suse.de>
6897
6898 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6899 * gdb.ada/array_subscript_addr.exp: Same.
6900 * gdb.ada/arrayidx.exp: Same.
6901 * gdb.ada/arrayparam.exp: Same.
6902 * gdb.ada/arrayptr.exp: Same.
6903 * gdb.ada/boolean_expr.exp: Same.
6904 * gdb.ada/call_pn.exp: Same.
6905 * gdb.ada/complete.exp: Same.
6906 * gdb.ada/fixed_cmp.exp: Same.
6907 * gdb.ada/fun_addr.exp: Same.
6908 * gdb.ada/funcall_param.exp: Same.
6909 * gdb.ada/interface.exp: Same.
6910 * gdb.ada/mod_from_name.exp: Same.
6911 * gdb.ada/null_array.exp: Same.
6912 * gdb.ada/packed_array.exp: Same.
6913 * gdb.ada/packed_tagged.exp: Same.
6914 * gdb.ada/print_chars.exp: Same.
6915 * gdb.ada/print_pc.exp: Same.
6916 * gdb.ada/ptype_arith_binop.exp: Same.
6917 * gdb.ada/ptype_field.exp: Same.
6918 * gdb.ada/ptype_tagged_param.exp: Same.
6919 * gdb.ada/rec_return.exp: Same.
6920 * gdb.ada/ref_tick_size.exp: Same.
6921 * gdb.ada/str_ref_cmp.exp: Same.
6922 * gdb.ada/taft_type.exp: Same.
6923 * gdb.ada/tagged.exp: Same.
6924 * gdb.ada/type_coercion.exp: Same.
6925 * gdb.ada/uninitialized_vars.exp: Same.
6926
6927 2019-10-30 Tom de Vries <tdevries@suse.de>
6928
6929 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6930
6931 2019-10-26 Tom de Vries <tdevries@suse.de>
6932
6933 * gdb.base/bigcore.c: Fix typos in comments.
6934 * gdb.base/ctf-ptype.c: Same.
6935 * gdb.base/long_long.c: Same.
6936 * gdb.dwarf2/dw2-op-out-param.S: Same.
6937 * gdb.python/py-evthreads.c: Same.
6938 * gdb.reverse/i387-stack-reverse.c: Same.
6939 * gdb.trace/tfile.c: Same.
6940 * lib/compiler.c: Same.
6941 * lib/compiler.cc: Same.
6942
6943 2019-10-25 Tom de Vries <tdevries@suse.de>
6944
6945 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6946 gdb_test_multiple calls.
6947 * gdb.reverse/sigall-reverse.exp: Same.
6948 * gdb.reverse/solib-precsave.exp: Same.
6949 * gdb.reverse/solib-reverse.exp: Same.
6950 * gdb.reverse/until-precsave.exp: Same.
6951 * gdb.reverse/until-reverse.exp: Same.
6952
6953 2019-10-24 Tom de Vries <tdevries@suse.de>
6954
6955 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6956 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6957 kfail using -wrap pattern flag and convenience variable
6958 gdb_test_name.
6959
6960 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6961
6962 * gdb.python/py-progspace.exp: Add tests for the
6963 Progspace.block_for_pc method.
6964
6965 2019-10-23 Tom Tromey <tom@tromey.com>
6966
6967 * configure: Rebuild.
6968 * aclocal.m4: Use m4_include, not sinclude.
6969
6970 2019-10-21 Tom de Vries <tdevries@suse.de>
6971
6972 * gdb.base/infcall-nested-structs.c: Add
6973 __attribute__((noinline,noclone)) to all functions.
6974 (call_all): Add missing variable initialization. Simplify return value.
6975 (breakpt): Increment volatile variable, to prevent call from being
6976 optimized out.
6977 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6978
6979 2019-10-17 Tom de Vries <tdevries@suse.de>
6980
6981 * gdb.fortran/module.exp: Allow info variables to print info for files
6982 other than module.f90.
6983
6984 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6985
6986 * gdb.fortran/module.exp: Extend with 'info variables' test.
6987
6988 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6989
6990 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6991 F77_FOR_TARGET.
6992
6993 2019-10-16 Tom de Vries <tdevries@suse.de>
6994
6995 PR tdep/25096
6996 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6997
6998 2019-10-16 Tom de Vries <tdevries@suse.de>
6999
7000 PR tdep/24104
7001 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
7002 Add KFAIL for PR tdep/25096.
7003
7004 2019-10-16 Tom de Vries <tdevries@suse.de>
7005
7006 PR testsuite/25059
7007 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
7008
7009 2019-10-16 Tom de Vries <tdevries@suse.de>
7010
7011 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
7012 as signed.
7013
7014 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
7015
7016 * gdb.mi/list-thread-groups-available.exp: Read entries one by
7017 one instead of increasing timeout.
7018
7019 2019-10-13 Tom de Vries <tdevries@suse.de>
7020
7021 PR record/25038
7022 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
7023 * gdb.reverse/sigall-reverse.exp: Same.
7024 * gdb.reverse/solib-precsave.exp: Same.
7025 * gdb.reverse/solib-reverse.exp: Same.
7026 * gdb.reverse/step-precsave.exp: Same.
7027 * gdb.reverse/until-precsave.exp: Same.
7028 * gdb.reverse/until-reverse.exp: Same.
7029 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
7030
7031 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
7032
7033 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
7034 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
7035 (cmp_struct_05_01, cmp_struct_static_02_01)
7036 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
7037 comparisons.
7038
7039 2019-10-10 Tom de Vries <tdevries@suse.de>
7040
7041 PR testsuite/24888
7042 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7043 gnatlink.
7044
7045 2019-10-09 Tom de Vries <tdevries@suse.de>
7046
7047 PR testsuite/25048
7048 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
7049
7050 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7051
7052 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
7053 exceptions due to missing debug information.
7054
7055 2019-10-07 Tom de Vries <tdevries@suse.de>
7056
7057 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
7058
7059 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7060
7061 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7062 * gdb.base/annota1.exp: Update to use gdb_test_name.
7063
7064 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
7065
7066 * gdb.base/ctf-whatis.exp: New file.
7067 * gdb.base/ctf-whatis.c: New file.
7068 * gdb.base/ctf-ptype.exp: New file.
7069 * gdb.base/ctf-ptype.c: New file.
7070 * gdb.base/ctf-constvars.exp: New file.
7071 * gdb.base/ctf-constvars.c: New file.
7072 * gdb.base/ctf-cvexpr.exp: New file.
7073
7074 2019-10-04 Tom de Vries <tdevries@suse.de>
7075
7076 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7077 for loop.
7078
7079 2019-10-03 Tom Tromey <tom@tromey.com>
7080
7081 PR rust/24976:
7082 * gdb.rust/simple.rs (Union2): New type.
7083 (main): Use Union2.
7084 * gdb.rust/simple.exp: Add test.
7085
7086 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7087
7088 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7089 nested function prefix.
7090
7091 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7092 Richard Bunt <richard.bunt@arm.com>
7093 Andrew Burgess <andrew.burgess@embecosm.com>
7094
7095 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7096 nested functions.
7097 * gdb.fortran/nested-funcs.f90: Update expected results.
7098 * gdb.fortran/nested-funcs-2.exp: New file.
7099 * gdb.fortran/nested-funcs-2.f90: New file.
7100
7101 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7102
7103 * gdb.python/py-parameter.exp: Make test names unique.
7104 * gdb.python/py-template.exp: Likewise.
7105 * gdb.python/py-value.exp: Likewise.
7106
7107 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7108
7109 * gdb.base/break-interp.exp: Reduce test name duplication.
7110 * gdb.base/call-sc.exp: Likewise.
7111 * gdb.base/callfuncs.exp: Likewise.
7112 * gdb.base/charset.exp: Likewise.
7113 * gdb.base/dump.exp: Likewise.
7114 * gdb.base/ena-dis-br.exp: Likewise.
7115 * gdb.base/relational.exp: Likewise.
7116 * gdb.base/step-over-syscall.exp: Likewise.
7117 * gdb.base/structs.exp: Likewise.
7118
7119 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7120
7121 * gdb.linespec/explicit.exp: Make test names unique.
7122 * gdb.linespec/ls-errs.exp: Likewise.
7123
7124 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7125
7126 * gdb.reverse/break-precsave.exp: Make test names unique.
7127 * gdb.reverse/break-reverse.exp: Likewise.
7128 * gdb.reverse/finish-precsave.exp: Likewise.
7129 * gdb.reverse/finish-reverse.exp: Likewise.
7130 * gdb.reverse/machinestate-precsave.exp: Likewise.
7131 * gdb.reverse/machinestate.exp: Likewise.
7132 * gdb.reverse/readv-reverse.exp: Likewise.
7133 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7134 * gdb.reverse/sigall-precsave.exp: Likewise.
7135 * gdb.reverse/sigall-reverse.exp: Likewise.
7136 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7137 * gdb.reverse/watch-precsave.exp: Likewise.
7138 * gdb.reverse/watch-reverse.exp: Likewise.
7139
7140 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7141
7142 * gdb.threads/stop-with-handle.c: New file.
7143 * gdb.threads/stop-with-handle.exp: New file.
7144
7145 2019-10-03 Tom de Vries <tdevries@suse.de>
7146
7147 PR testsuite/25059
7148 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7149 directory" line to be missing.
7150
7151 2019-10-03 Tom de Vries <tdevries@suse.de>
7152
7153 PR testsuite/25059
7154 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7155 type optional.
7156
7157 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7158
7159 * gdb.python/py-format-string.c (string.h): New include.
7160 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7161 the same value, for endianness-independence.
7162 * gdb.python/py-format-string.exp (default_regexp_dict)
7163 (test_pretty_structs, test_format): Adjust expected output to the
7164 changed initialization.
7165
7166 2019-10-02 Tom Tromey <tromey@adacore.com>
7167
7168 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7169
7170 2019-10-02 Pedro Alves <palves@redhat.com>
7171 Andrew Burgess <andrew.burgess@embecosm.com>
7172
7173 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7174 "print-file-var.h".
7175 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7176 (get_version_1): Print this_version_id and its address.
7177 Add extern "C" wrappers around interface functions.
7178 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7179 "print-file-var.h".
7180 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7181 (get_version_2): Print this_version_id and its address.
7182 Add extern "C" wrappers around interface functions.
7183 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7184 <stddef.h> and "print-file-var.h".
7185 Add extern "C" wrappers around interface functions.
7186 [VERSION_ID_MAIN] (this_version_id): Define.
7187 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7188 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7189 up extern "C" blocks.
7190 * gdb.base/print-file-var.exp (test): New, factored out from top
7191 level.
7192 (top level): Test all combinations of attribute hidden or not,
7193 dlopen or not, and this_version_id symbol in main file or not.
7194 Compile tests as both C++ and C, make test names unique.
7195
7196 2019-10-01 Tom Tromey <tom@tromey.com>
7197
7198 * gdb.base/style.exp: Test "show logging filename".
7199
7200 2019-10-01 Tom Tromey <tom@tromey.com>
7201
7202 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7203 * gdb.base/style.exp: Add metadata style test.
7204
7205 2019-10-01 Tom Tromey <tom@tromey.com>
7206
7207 * gdb.base/style.exp: Test "pwd".
7208
7209 2019-10-01 Tom Tromey <tom@tromey.com>
7210
7211 * gdb.base/style.exp: Update tests.
7212
7213 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7214
7215 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7216 'six' to unsigned.
7217 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7218 'five'. Use an all-ones bit pattern for each.
7219 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7220 to its changed values.
7221
7222 2019-09-30 Tom Tromey <tromey@adacore.com>
7223
7224 * gdb.rust/traits.rs: Disable all warnings.
7225
7226 2019-09-29 Tom de Vries <tdevries@suse.de>
7227
7228 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
7229
7230 2019-09-29 Tom de Vries <tdevries@suse.de>
7231
7232 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7233
7234 2019-09-27 Tom de Vries <tdevries@suse.de>
7235
7236 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7237
7238 2019-09-27 Tom de Vries <tdevries@suse.de>
7239
7240 PR record/23188
7241 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7242
7243 2019-09-26 Tom Tromey <tromey@adacore.com>
7244
7245 * gdb.ada/py_taft.exp: New file.
7246 * gdb.ada/py_taft/main.adb: New file.
7247 * gdb.ada/py_taft/pkg.adb: New file.
7248 * gdb.ada/py_taft/pkg.ads: New file.
7249
7250 2019-09-24 Tom de Vries <tdevries@suse.de>
7251
7252 PR gdb/24598
7253 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7254
7255 2019-09-22 Tom de Vries <tdevries@suse.de>
7256
7257 * gdb.base/restore.exp: Allow register variables to be optimized out at
7258 -O0.
7259
7260 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7261
7262 * gdb.arch/spu-info.exp: Remove file.
7263 * gdb.arch/spu-info.c: Remove file.
7264 * gdb.arch/spu-ls.exp: Remove file.
7265 * gdb.arch/spu-ls.c: Remove file.
7266
7267 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7268 * gdb.asm/spu.inc: Remove file.
7269
7270 * gdb.base/dump.exp: Remove support for spu*-*-*.
7271 * gdb.base/stack-checking.exp: Likewise.
7272 * gdb.base/overlays.exp: Likewise.
7273 * gdb.base/ovlymgr.c: Likewise.
7274 * gdb.base/spu.ld: Remove file.
7275
7276 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7277 * gdb.cp/cpexprs.exp: Likewise.
7278 * gdb.cp/exception.exp: Likewise.
7279 * gdb.cp/gdb2495.exp: Likewise.
7280 * gdb.cp/mb-templates.exp: Likewise.
7281 * gdb.cp/pr9167.exp: Likewise.
7282 * gdb.cp/userdef.exp: Likewise.
7283
7284 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7285
7286 * gdb.cell: Remove directory.
7287 * lib/cell.exp: Remove file.
7288
7289 2019-09-19 Tom de Vries <tdevries@suse.de>
7290
7291 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7292
7293 2019-09-19 Tom de Vries <tdevries@suse.de>
7294
7295 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7296
7297 2019-09-19 Tom de Vries <tdevries@suse.de>
7298
7299 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7300 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7301 (gdb_target_cmd): ... here.
7302 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7303 value 2.
7304
7305 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7306
7307 * gdb.base/source-dir.exp: Avoid having directory names in test
7308 names.
7309
7310 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7311
7312 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7313 directory.
7314
7315 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7316
7317 * gdb.base/list-missing-source.exp: New file.
7318
7319 2019-09-14 Tom de Vries <tdevries@suse.de>
7320
7321 PR teststuite/24599
7322 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7323 * lib/ada.exp (gnatmake_version_at_least): New proc.
7324
7325 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7326
7327 * gdb.base/maint.exp: Use exec_has_index_section.
7328
7329 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7330
7331 * gdb.base/maint.exp: Add test for 'maint info sections'.
7332
7333 2019-09-12 Tom de Vries <tdevries@suse.de>
7334
7335 * gdb.base/store.exp: Allow register variables to be optimized out at
7336 -O0.
7337
7338 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7339
7340 * gdb.ada/rdv_wait.exp: Update to new task names.
7341 * gdb.base/task_switch_in_core.exp: Likewise.
7342 * gdb.base/info_sources_base.c: Likewise.
7343
7344 2019-09-10 Tom Tromey <tromey@adacore.com>
7345
7346 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7347
7348 2019-09-10 Tom Tromey <tromey@adacore.com>
7349
7350 * gdb.ada/dgopt.exp: New file.
7351 * gdb.ada/dgopt/x.adb: New file.
7352
7353 2019-09-08 Tom Tromey <tom@tromey.com>
7354
7355 * gdb.tui/resize.exp: Remove setup_xfail.
7356 * gdb.tui/regs.exp: Remove setup_xfail.
7357 * gdb.tui/basic.exp: Remove setup_xfail.
7358
7359 2019-09-06 David Blaikie <dblaikie@gmail.com>
7360
7361 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7362 * gdb.cp/cplabel.exp: Ditto.
7363 * gdb.linespec/ls-errs.exp: Ditto.
7364
7365 2019-09-05 Tom de Vries <tdevries@suse.de>
7366
7367 * lib/gdb.exp (cmp_file_string): New proc.
7368 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7369 runto_main. Verify save breakpoints output.
7370
7371 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7372
7373 * gdb.base/info-var.exp: Test info variables without running
7374 to main, to avoid expect's buffer overflow.
7375
7376 2019-09-03 Tom Tromey <tromey@adacore.com>
7377
7378 * gdb.ada/bias.exp: New file.
7379 * gdb.ada/bias/bias.adb: New file.
7380 * gdb.ada/print_chars.exp: Add regression test.
7381 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7382 (MC): New variable.
7383
7384 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7385
7386 * gdb.base/argv0-symlink.exp: Run only on native target
7387 and local host.
7388
7389 2019-08-29 Tom de Vries <tdevries@suse.de>
7390
7391 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7392 diverse debug info.
7393 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7394
7395 2019-08-28 Tom de Vries <tdevries@suse.de>
7396
7397 * gdb.base/info-var.exp: Allow info variables to print info for files
7398 other than info-var-f1.c and info-var-f2.c.
7399
7400 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7401
7402 * gdb.fortran/info-types.exp: Add module.
7403 * gdb.fortran/info-types.f90: Update expected results.
7404
7405 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7406
7407 * gdb.fortran/info-types.exp: New file.
7408 * gdb.fortran/info-types.f90: New file.
7409 * lib/fortran.exp (fortran_character1): New proc.
7410
7411 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7412
7413 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7414 functions'. Reindent as needed.
7415 * gdb.base/info-var-f1.c: New file.
7416 * gdb.base/info-var-f2.c: New file.
7417 * gdb.base/info-var.exp: New file.
7418 * gdb.base/info-var.h: New file.
7419
7420 2019-08-26 Tom de Vries <tdevries@suse.de>
7421
7422 PR c++/24852
7423 * gdb.cp/no-libstdcxx-probe.exp: New test.
7424
7425 2019-08-26 Tom de Vries <tdevries@suse.de>
7426
7427 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7428 * tests need to be skipped.
7429 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7430 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7431 mi_skip_libstdcxx_probe_tests.
7432
7433 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7434
7435 * gdb.python/py-xmethods.exp: Use raw strings when passing
7436 arguments to SimpleXMethodMatcher.
7437
7438 2019-08-22 Tom de Vries <tdevries@suse.de>
7439
7440 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7441 more informative.
7442
7443 2019-08-21 Pedro Alves <palves@redhat.com>
7444
7445 * gdb.base/with.exp: Test "with" with no arguments.
7446
7447 2019-08-21 Tom de Vries <tdevries@suse.de>
7448
7449 * gdb.base/gdb-caching-proc.exp: Sort files.
7450
7451 2019-08-20 Tom de Vries <tdevries@suse.de>
7452
7453 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7454 compilation.
7455
7456 2019-08-16 Tom de Vries <tdevries@suse.de>
7457
7458 * gdb.base/compare-sections.exp ("after run to main"): Allow
7459 mismatched read-only sections for PIE executables.
7460
7461 2019-08-16 Tom Tromey <tom@tromey.com>
7462
7463 * lib/tuiterm.exp (_csi_Z): New proc.
7464 * gdb.tui/basic.exp: Update window positions.
7465 * gdb.tui/empty.exp: Update window positions.
7466
7467 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7468
7469 * gdb.base/examine-backward.exp: Correct regexp for
7470 "examine 3 bytes backward from ${address_zero}".
7471
7472 2019-08-15 Tom Tromey <tom@tromey.com>
7473
7474 * gdb.tui/empty.exp: Enable resizing tests.
7475
7476 2019-08-15 Tom Tromey <tromey@adacore.com>
7477
7478 * gdb.ada/char_enum.exp: Add regression tests.
7479 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7480 and '0'.
7481 (Char, Gchar): Update.
7482 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7483
7484 2019-08-15 Christian Biesinger <cbiesinger@google.com>
7485
7486 * gdb.python/python.exp: Expect a leading underscore on
7487 GdbOutput{,Error}File.
7488
7489 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7490
7491 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7492 Windows host.
7493
7494 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7495
7496 * gdb.base/batch-preserve-term-settings.exp
7497 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7498
7499 2019-08-15 Christian Biesinger <cbiesinger@google.com>
7500
7501 * lib/gdb.exp: When running on a mingw target, replace
7502 /x/ with x:/.
7503
7504 2019-08-14 Alan Hayward <alan.hayward@arm.com>
7505
7506 * gdb.arch/aarch64-prologue.c: New test.
7507 * gdb.arch/aarch64-prologue.exp: New file.
7508
7509 2019-08-13 Tom de Vries <tdevries@suse.de>
7510
7511 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7512 Thread.
7513
7514 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7515
7516 * gdb.python/py-completion.exp: Download the .py file to the host
7517 and use its host pathname. Conditionalize tests that use
7518 tab completion and manipulate files on the build machine.
7519 * gdb.python/py-events.exp: Download the .py file to the host
7520 and use its host pathname.
7521 * gdb.python/py-evsignal.exp: Likewise.
7522 * gdb.python/py-evthreads.exp: Likewise.
7523 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7524 pathname syntax.
7525 * gdb.python/py-framefilter.exp: Download the .py file to the right
7526 place on the host. Match Windows pathname syntax.
7527 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7528 .py file to the host and use its host pathname.
7529 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7530 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7531 build pathname. Skip symlink test on Windows host. Add missing
7532 newline at end of file.
7533 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7534 and use its host pathname.
7535 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7536 * gdb.python/py-section-script.exp: Use host location of binfile
7537 on safe-path. Use correct path separator on Windows host.
7538 Reorder alternatives in gdb_test_multiple to prevent matching
7539 the wrong alternative on success.
7540 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7541
7542 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7543
7544 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7545 expect the GDB inferior to no longer immediately stop after
7546 being resumed with "signal SIGINT".
7547
7548 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7549
7550 * gdb.linespec/break-ask.exp: Generalize regexps to match
7551 Windows pathnames too.
7552
7553 2019-08-08 Tom de Vries <tdevries@suse.de>
7554
7555 PR testsuite/24862
7556 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7557
7558 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7559
7560 * gdb.base/style.exp: Update tests for help doc new invariants.
7561 * gdb.base/help.exp: Likewise.
7562
7563 2019-08-06 Tom Tromey <tom@tromey.com>
7564
7565 * gdb.base/style.exp: Add disassemble test.
7566 * gdb.base/style.c (some_called_function): New function.
7567 (main): Use it.
7568
7569 2019-08-05 Christian Biesinger <cbiesinger@google.com>
7570
7571 * gdb.python/py-block.exp: Test dictionary access on blocks.
7572
7573 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
7574
7575 PR gdb/24863
7576 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7577 -list-thread-groups --available test when running under
7578 check-read1.
7579
7580 2019-08-05 Tom de Vries <tdevries@suse.de>
7581
7582 PR testsuite/24863
7583 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7584 * gdb.base/help.exp: Use with_read1_timeout_factor.
7585 * gdb.base/info-macros.exp: Same.
7586 * gdb.cp/nested-types.exp: Same.
7587
7588 2019-08-05 Tom de Vries <tdevries@suse.de>
7589
7590 * lib/gdb.exp (version_at_least): Factor out of ...
7591 (tcl_version_at_least): ... here.
7592 (gdb_compile): Fail if pie results in non-PIE executable.
7593 (readelf_version, readelf_prints_pie): New proc.
7594 (exec_is_pie): Return -1 if unknown.
7595
7596 2019-08-05 Tom de Vries <tdevries@suse.de>
7597
7598 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7599
7600 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7601
7602 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7603
7604 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7605
7606 * lib/completion-support.exp (test_gdb_complete_none): Skip
7607 tab completion tests if no readline support.
7608 (test_gdb_complete_unique_re): Likewise.
7609 (test_gdb_complete_multiple): Likewise.
7610
7611 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7612
7613 * gdb.base/info_sources.exp: New file.
7614 * gdb.base/info_sources.c: New file.
7615 * gdb.base/info_sources_base.c: New file.
7616
7617 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7618
7619 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7620 prefix argument.
7621 (test_exit_status): Add prefix argument.
7622
7623 2019-08-01 Tom de Vries <tdevries@suse.de>
7624
7625 PR testsuite/24863
7626 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7627 calling exp_continue for new thread and thread exited messages.
7628
7629 2019-08-01 Tom de Vries <tdevries@suse.de>
7630
7631 PR testsuite/24863
7632 * gdb.base/structs.exp: Fix check-read1 timeout using
7633 gdb_test_sequence.
7634 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7635
7636 2019-08-01 Tom de Vries <tdevries@suse.de>
7637
7638 PR testsuite/24863
7639 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7640 line.
7641
7642 2019-08-01 Tom de Vries <tdevries@suse.de>
7643
7644 PR testsuite/24863
7645 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7646
7647 2019-07-30 Tom Tromey <tromey@adacore.com>
7648
7649 * gdb.ada/display_nested.exp: New file.
7650 * gdb.ada/display_nested/foo.adb: New file.
7651 * gdb.ada/display_nested/pack.adb: New file.
7652 * gdb.ada/display_nested/pack.ads: New file.
7653
7654 2019-07-30 Christian Biesinger <cbiesinger@google.com>
7655
7656 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7657 namespace.
7658 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7659
7660 2019-07-30 Tom de Vries <tdevries@suse.de>
7661
7662 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7663 instead.
7664
7665 2019-07-30 Tom de Vries <tdevries@suse.de>
7666
7667 PR testsuite/24834
7668 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7669 (exec_is_pie): New proc.
7670
7671 2019-07-29 Christian Biesinger <cbiesinger@google.com>
7672
7673 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7674
7675 2019-07-29 Christian Biesinger <cbiesinger@google.com>
7676
7677 * gdb.python/py-objfile.c: Add global and static vars.
7678 * gdb.python/py-objfile.exp: Test new functions Objfile.
7679 lookup_global_symbol and lookup_static_symbol.
7680
7681 2019-07-29 Tom Tromey <tom@tromey.com>
7682
7683 * lib/tuiterm.exp (Term::_csi_@): New proc.
7684 (Term::_csi_X): Don't move cursor.
7685
7686 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7687
7688 * gdb.base/options.exp: Update backtrace - completion to
7689 new option -frame-info.
7690 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7691 Test new 'set print frame-info'. Test backtrace -frame-info
7692 overriding 'set print frame-info'.
7693 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7694 Test new 'set print frame-info'.
7695 Verify consistency of backtrace with and without filters, with and
7696 without -no-filters.
7697 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7698 default.
7699
7700 2019-07-29 Tom de Vries <tdevries@suse.de>
7701
7702 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7703 no arguments".
7704
7705 2019-07-29 Tom de Vries <tdevries@suse.de>
7706
7707 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7708 is a substring of the first for "complete non-unique file name".
7709
7710 2019-07-29 Tom de Vries <tdevries@suse.de>
7711
7712 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7713 with ".*".
7714
7715 2019-07-29 Tom de Vries <tdevries@suse.de>
7716
7717 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7718 Pass prompt_regexp parameter to gdb_test_multiple calls.
7719
7720 2019-07-29 Tom de Vries <tdevries@suse.de>
7721
7722 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
7723 print registers" regexps.
7724
7725 2019-07-29 Tom de Vries <tdevries@suse.de>
7726
7727 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7728
7729 2019-07-29 Tom de Vries <tdevries@suse.de>
7730
7731 PR gdb/24855
7732 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7733 (skip_python_tests_prompt): Add prompt_regexp argument to
7734 gdb_test_multiple calls.
7735
7736 2019-07-27 Tom Tromey <tom@tromey.com>
7737
7738 * gdb.tui/main.exp: New file.
7739
7740 2019-07-27 Tom Tromey <tom@tromey.com>
7741
7742 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7743 optional.
7744 * gdb.tui/empty.exp: New file.
7745
7746 2019-07-27 Tom Tromey <tom@tromey.com>
7747
7748 * lib/tuiterm.exp (spawn): New proc.
7749 (Term::resize): New proc.
7750 * gdb.tui/resize.exp: New file.
7751
7752 2019-07-27 Tom Tromey <tom@tromey.com>
7753
7754 * gdb.tui/list.exp: New file.
7755
7756 2019-07-27 Tom Tromey <tom@tromey.com>
7757
7758 * gdb.tui/regs.exp: New file.
7759
7760 2019-07-27 Tom Tromey <tom@tromey.com>
7761
7762 * gdb.tui/basic.exp: Add "layout split" test.
7763
7764 2019-07-27 Tom Tromey <tom@tromey.com>
7765
7766 * gdb.tui/basic.exp: Add "layout asm" test.
7767
7768 2019-07-27 Tom Tromey <tom@tromey.com>
7769
7770 * lib/tuiterm.exp: New file.
7771 * gdb.tui/basic.exp: New file.
7772
7773 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7774
7775 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7776 Enable tests associated with this flag. Adjust regex
7777 referencing "foo_low" to now refer to "foo_cold" instead.
7778
7779 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7780
7781 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7782 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7783 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7784 foo_cold. Revise comments to match.
7785 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7786 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7787 were wrapped into this proc; Call do_test in loop from outermost
7788 level.
7789 (foo_low): Rename all occurrences to "foo_cold".
7790 (backtrace from baz): New test.
7791 (x2/i foo_cold): New test.
7792 (info line *foo_cold): New test.
7793
7794 2019-07-26 Tom de Vries <tdevries@suse.de>
7795
7796 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7797
7798 2019-07-25 Tom de Vries <tdevries@suse.de>
7799
7800 PR testsuite/24830
7801 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7802 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7803 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7804 (skip_libstdcxx_probe_tests): ... here.
7805 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7806
7807 2019-07-24 Tom de Vries <tdevries@suse.de>
7808
7809 PR testsuite/24807
7810 * gdb.objc/basicclass.m: Include stdio.h.
7811 * gdb.objc/nondebug.m: Same.
7812 * gdb.objc/objcdecode.m: Same.
7813
7814 2019-07-24 Tom de Vries <tdevries@suse.de>
7815
7816 PR testsuite/24612
7817 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7818 additional_flags.
7819
7820 2019-07-24 Tom de Vries <tdevries@suse.de>
7821
7822 PR testsuite/24831
7823 * gdb.multi/tids.exp: Update error messages for info threads.
7824
7825 2019-07-24 Tom de Vries <tdevries@suse.de>
7826
7827 * gdb.base/info-types.exp: Allow info types to print info for more than
7828 one file.
7829
7830 2019-07-23 Tom de Vries <tdevries@suse.de>
7831
7832 PR testsuite/24842
7833 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7834 gdb_spawn_with_cmdline_opts.
7835
7836 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7837
7838 * gdb.arch/arm-cmse-sgstubs.c: New test.
7839 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7840
7841 2019-07-23 Tom de Vries <tdevries@suse.de>
7842
7843 PR testsuite/24711
7844 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7845 issuing next command.
7846
7847 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7848
7849 * gdb.ada/info_auto_lang.exp: Update expected results.
7850 * gdb.base/info-types.c: Add additional types to check.
7851 * gdb.base/info-types.exp: Update expected results.
7852
7853 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7854
7855 * gdb.base/info-types.c: New file.
7856 * gdb.base/info-types.exp: New file.
7857
7858 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7859
7860 * gdb.arch/riscv-bp-infcall.c: New file.
7861 * gdb.arch/riscv-bp-infcall.exp: New file.
7862
7863 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7864
7865 PR breakpoints/24541
7866 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7867
7868 2019-07-14 Tom de Vries <tdevries@suse.de>
7869
7870 PR testsuite/24760
7871 * gdb.objc/basicclass.exp: Fix unterminated string.
7872
7873 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7874 Andrew Burgess <andrew.burgess@embecosm.com>
7875
7876 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7877 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7878 negative bounds.
7879 * gdb.fortran/vla-value.exp: Print elements of an array with
7880 negative bounds.
7881 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7882 testing.
7883
7884 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7885
7886 * gdb.base/options.exp (expect_string): Dequote strings in
7887 results.
7888 (test-string): Test strings with different quoting and reindent.
7889
7890 2019-07-10 Tom Tromey <tromey@adacore.com>
7891
7892 * gdb.ada/mi_ex_cond.exp: Update expected results.
7893 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7894 * gdb.ada/mi_catch_ex.exp: Update expected results.
7895 * gdb.ada/mi_catch_assert.exp: Update expected results.
7896 * gdb.ada/catch_ex.exp (catch_exception_info)
7897 (catch_exception_entry, catch_assert_entry)
7898 (catch_unhandled_entry): Update.
7899 * gdb.ada/catch_assert_if.exp: Update expected results.
7900
7901 2019-07-10 Richard Bunt <richard.bunt@arm.com>
7902 Stephen Roberts <stephen.roberts@arm.com>
7903
7904 * gdb.base/define.exp: Restore original prompt.
7905
7906 2019-07-09 Pedro Alves <palves@redhat.com>
7907
7908 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7909 breakpoints" output.
7910 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7911 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7912 throw" creates breakpoint.
7913 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7914 'type="catchpoint"'.
7915
7916 2019-07-09 Pedro Alves <palves@redhat.com>
7917
7918 PR c++/15468
7919 * gdb.cp/except-multi-location-lib.cc: New.
7920 * gdb.cp/except-multi-location-main.cc: New.
7921 * gdb.cp/except-multi-location.exp: New.
7922
7923 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7924
7925 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7926 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7927 argument and update callers.
7928
7929 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7930
7931 * gdb.arch/amd64-break-on-asm-line.S: New file.
7932 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7933
7934 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7935
7936 * gdb.base/printcmds.exp: Test printing C string and
7937 C wide string convenience vars without transiting via the inferior.
7938 Also make test names unique.
7939
7940 2019-07-08 Alan Hayward <alan.hayward@arm.com>
7941
7942 PR breakpoints/25011
7943 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7944
7945 2019-07-04 Pedro Alves <palves@redhat.com>
7946
7947 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7948 body returned ok(0), break(3) or continue(4).
7949 * gdb.testsuite/foreach_with_prefix.exp: New file.
7950
7951 2019-07-04 Alan Hayward <alan.hayward@arm.com>
7952
7953 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7954
7955 2019-07-03 Pedro Alves <palves@redhat.com>
7956
7957 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7958 "return -code".
7959
7960 2019-07-03 Pedro Alves <palves@redhat.com>
7961
7962 PR cli/24732
7963 * gdb.base/shell.exp: Load completion-support.exp.
7964 Adjust expected error output. Add completion tests.
7965
7966 2019-07-03 Pedro Alves <palves@redhat.com>
7967
7968 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7969 string_to_regexp.
7970
7971 2019-07-03 Pedro Alves <palves@redhat.com>
7972
7973 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7974 (expect_integer): Adjust to expect "-string".
7975 (expect_string): New.
7976 (all_options): Expect "-string".
7977 (test-flag, test-boolean): Adjust to expect "-string".
7978 (test-string): New proc.
7979 (top level): Call it.
7980
7981 2019-07-03 Pedro Alves <palves@redhat.com>
7982
7983 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7984 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7985 the expected output in the success.
7986
7987 2019-07-03 Pedro Alves <palves@redhat.com>
7988
7989 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7990 Split one gdb_test_multiple call in two to avoid a race.
7991
7992 2019-07-03 Pedro Alves <palves@redhat.com>
7993
7994 * gdb.base/with.c: New file.
7995 * gdb.base/with.exp: New file.
7996
7997 2019-07-03 Pedro Alves <palves@redhat.com>
7998
7999 * gdb.base/settings.exp: Replace all references to "maint
8000 test-settings set" with references to "maint set test-settings",
8001 and all references to "maint test-settings show" with references
8002 to "maint show test-settings".
8003
8004 2019-07-03 Pedro Alves <palves@redhat.com>
8005
8006 * gdb.base/settings.exp (test-string): Adjust expected out when
8007 testing "maint test-settings show filename"
8008
8009 2019-07-02 Pedro Alves <palves@redhat.com>
8010
8011 * gdb.base/options.exp (test-info-threads): New procedure.
8012 (top level): Call it.
8013
8014 2019-06-28 Tom Tromey <tromey@adacore.com>
8015
8016 * gdb.dwarf2/ada-linkage-name.c: New file.
8017 * gdb.dwarf2/ada-linkage-name.exp: New file.
8018
8019 2019-06-27 Tom Tromey <tromey@adacore.com>
8020
8021 PR c++/20020:
8022 * gdb.cp/constexpr-field.exp: Use setup_xfail.
8023
8024 2019-06-26 Tom de Vries <tdevries@suse.de>
8025
8026 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
8027
8028 2019-06-26 Tom de Vries <tdevries@suse.de>
8029
8030 * gdb.base/index-cache.exp: Add back missing debug option.
8031
8032 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8033
8034 * gdb.base/alias.exp: Test non matching/non existing prefixes.
8035
8036 2019-06-25 Tom de Vries <tdevries@suse.de>
8037
8038 PR testsuite/24727
8039 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
8040
8041 2019-06-24 Tom de Vries <tdevries@suse.de>
8042
8043 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
8044
8045 2019-06-24 Tom de Vries <tdevries@suse.de>
8046
8047 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
8048 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
8049 * gdb.trace/unavailable-dwarf-piece.exp: Same.
8050
8051 2019-06-24 Tom de Vries <tdevries@suse.de>
8052
8053 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
8054
8055 2019-06-21 Tom de Vries <tdevries@suse.de>
8056
8057 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
8058
8059 2019-06-21 Tom de Vries <tdevries@suse.de>
8060
8061 PR testsuite/24518
8062 PR ada/24713
8063 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8064 index.
8065
8066 2019-06-19 Tom Tromey <tromey@adacore.com>
8067
8068 * gdb.ada/length_cond.exp: Add intro comment.
8069
8070 2019-06-19 Tom Tromey <tromey@adacore.com>
8071
8072 * gdb.ada/length_cond.exp: New file.
8073 * gdb.ada/length_cond/length_cond.adb: New file.
8074 * gdb.ada/length_cond/pck.adb: New file.
8075 * gdb.ada/length_cond/pck.ads: New file.
8076
8077 2019-06-18 Tom de Vries <tdevries@suse.de>
8078
8079 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8080
8081 2019-06-18 Tom Tromey <tromey@adacore.com>
8082
8083 * gdb.base/list0.h: Add comment explaining control character.
8084
8085 2019-06-18 Tom de Vries <tdevries@suse.de>
8086
8087 * boards/fission.exp: Break up long debug_flags line.
8088
8089 2019-06-16 Tom de Vries <tdevries@suse.de>
8090
8091 PR gdb/24445
8092 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8093 generated index.
8094
8095 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8096
8097 PR gdb/24686
8098 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8099 improve detection of bug gdb/24541.
8100
8101 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8102
8103 PR gdb/24669
8104 * gdb.base/index-cache.exp (uses_readnow,
8105 expecting_index_cache_use): Define global variable.
8106 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8107 expecting_index_cache_use.
8108
8109 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8110 Andrew Burgess <andrew.burgess@embecosm.com>
8111
8112 * gdb.fortran/pointers.f90: New file.
8113 * gdb.fortran/print_type.exp: New file.
8114 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8115 * gdb.fortran/vla-type.exp: Likewise.
8116 * gdb.fortran/vla-value.exp: Likewise.
8117 * gdb.mi/mi-vla-fortran.exp: Likewise.
8118
8119 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8120
8121 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8122 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8123 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8124 as a stop reason.
8125
8126 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8127
8128 * gdb.base/annota1.exp: Update expected results.
8129 * gdb.cp/annota2.exp: Likewise.
8130 * gdb.cp/annota3.exp: Likewise.
8131
8132 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8133
8134 * gdb.base/style-logging.exp: Remove path from test name.
8135
8136 2019-06-14 Tom Tromey <tromey@adacore.com>
8137
8138 PR gdb/24502:
8139 * gdb.base/style-logging.exp: New file.
8140
8141 2019-06-14 Tom Tromey <tromey@adacore.com>
8142
8143 * gdb.base/symfile-warn.exp: New file.
8144 * gdb.base/symfile-warn.c: New file.
8145
8146 2019-06-14 Tom Tromey <tromey@adacore.com>
8147
8148 * gdb.base/annotate-symlink.exp: New file.
8149
8150 2019-06-14 Tom Tromey <tromey@adacore.com>
8151
8152 * gdb.ada/set_wstr.exp: Add reassignment test.
8153
8154 2019-06-14 Tom Tromey <tromey@adacore.com>
8155
8156 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8157 'unchecked_access and 'unrestricted_access as well.
8158
8159 2019-06-14 Tom Tromey <tromey@adacore.com>
8160
8161 PR ada/24539:
8162 * gdb.ada/vla.exp: Update tests.
8163 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8164 pragma.
8165
8166 2019-06-13 Pedro Alves <palves@redhat.com>
8167
8168 * gdb.base/settings.exp (test-integer): Test junk after
8169 "unlimited".
8170
8171 2019-06-13 Pedro Alves <palves@redhat.com>
8172
8173 * gdb.base/options.exp (test-thread-apply): New.
8174 (top level): Call it.
8175
8176 2019-06-13 Pedro Alves <palves@redhat.com>
8177
8178 * gdb.base/options.exp (test-frame-apply): New.
8179 (top level): Test print commands with different "frame apply"
8180 prefixes.
8181
8182 2019-06-13 Pedro Alves <palves@redhat.com>
8183
8184 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
8185 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8186 'max_completions' parameter and handle it.
8187 (test_gdb_completion_offers_commands): New.
8188
8189 2019-06-13 Pedro Alves <palves@redhat.com>
8190
8191 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8192
8193 2019-06-13 Pedro Alves <palves@redhat.com>
8194
8195 * gdb.base/options.exp (test-backtrace): New.
8196 (top level): Call it.
8197
8198 2019-06-13 Pedro Alves <palves@redhat.com>
8199
8200 * gdb.guile/scm-frame-args.exp: Use "set print
8201 raw-frame-arguments" instead of "set print raw frame-arguments".
8202 * gdb.python/py-frame-args.exp: Likewise.
8203
8204 2019-06-13 Pedro Alves <palves@redhat.com>
8205
8206 * gdb.compile/compile.exp: Adjust expected output to option
8207 processing changes.
8208
8209 2019-06-13 Pedro Alves <palves@redhat.com>
8210
8211 * gdb.base/options.exp: Build executable.
8212 (test-print): New procedure.
8213 (top level): Call it, once for "print" and another for "compile
8214 print".
8215
8216 2019-06-13 Pedro Alves <palves@redhat.com>
8217
8218 * gdb.base/options.c: New file.
8219 * gdb.base/options.exp: New file.
8220
8221 2019-06-13 Pedro Alves <palves@redhat.com>
8222
8223 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8224 that "o" is ambiguous.
8225
8226 2019-06-13 Pedro Alves <palves@redhat.com>
8227
8228 * gdb.base/settings.c: New file.
8229 * gdb.base/settings.exp: New file.
8230
8231 2019-06-13 Pedro Alves <palves@redhat.com>
8232
8233 * gdb.base/completion.exp: Fix comment typo.
8234
8235 2019-06-13 Pedro Alves <palves@redhat.com>
8236
8237 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8238 foo --1" test.
8239
8240 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8241
8242 * gdb.fortran/block-data.f: New.
8243 * gdb.fortran/block-data.exp: New.
8244
8245 2019-06-11 Tom de Vries <tdevries@suse.de>
8246
8247 PR testsuite/24521
8248 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8249 message.
8250
8251 2019-06-11 Tom de Vries <tdevries@suse.de>
8252
8253 PR testsuite/24521
8254 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8255
8256 2019-06-11 Tom de Vries <tdevries@suse.de>
8257
8258 * boards/readnow.exp: New file.
8259
8260 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8261
8262 * gdb.fortran/vla-sizeof.exp: Update expected results.
8263
8264 2019-06-06 Amos Bird <amosbird@gmail.com>
8265
8266 * gdb.base/annota1.exp (thread_switch): Add test for
8267 thread-exited annotation.
8268
8269 2019-06-06 Tom Tromey <tromey@adacore.com>
8270
8271 * gdb.base/maint.exp: Expect command started/finished output.
8272
8273 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8274
8275 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8276 comment.
8277 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8278
8279 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8280
8281 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8282 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8283 * gdb.arch/riscv-unwind-long-insn.c: New file.
8284 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8285
8286 2019-06-04 Christian Biesinger <cbiesinger@google.com>
8287
8288 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
8289
8290 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8291
8292 * lib/gdb.exp (help_list_trailer): New regexp variable
8293 factorizing the help trailer message.
8294 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8295 arg to allow to better factorize various tests.
8296 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8297 (test_prefix_command_help): Use help_list_trailer.
8298 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8299 * gdb.guile/scm-cmd.exp: Likewise.
8300 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8301 * gdb.base/help.exp: Use test_user_defined_class_help.
8302 * gdb.base/style.exp: Add tests for styling of help and apropos.
8303 * lib/gdb-utils.exp (style): Add title and highlight styles.
8304
8305 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8306
8307 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8308 $_shell_exitsignal.
8309 * gdb.base/default.exp: Update for new convenience variables.
8310
8311 2019-05-29 Tom Tromey <tromey@adacore.com>
8312
8313 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8314 to "break complete ada" test case's regexp.
8315
8316 2019-05-29 Tom Tromey <tromey@adacore.com>
8317
8318 PR c++/20020:
8319 * gdb.cp/constexpr-field.exp: New file.
8320 * gdb.cp/constexpr-field.cc: New file.
8321
8322 2019-05-29 Tom Tromey <tromey@adacore.com>
8323
8324 * gdb.base/finish.exp (finish_no_print): New proc.
8325 (finish_tests): Call it.
8326
8327 2019-05-24 Tom de Vries <tdevries@suse.de>
8328
8329 * gdb.dwarf2/gdb-add-index.exp: New file.
8330
8331 2019-05-22 Tom Tromey <tromey@adacore.com>
8332
8333 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8334 * gdb.base/style.exp: Use "style".
8335 * lib/gdb-utils.exp (style): New proc.
8336
8337 2019-05-22 Tom de Vries <tdevries@suse.de>
8338
8339 * gdb.base/align.exp: Require c++11.
8340
8341 2019-05-22 Tom de Vries <tdevries@suse.de>
8342
8343 PR testsuite/24586
8344 * gdb.python/py-mi-var-info-path-expression.exp: Call
8345 mi_skip_python_tests to check if python is supported.
8346
8347 2019-05-22 Alan Hayward <alan.hayward@arm.com>
8348
8349 * gdb.arch/aarch64-pauth.c: New test.
8350 * gdb.arch/aarch64-pauth.exp: New file.
8351
8352 2019-05-22 Alan Hayward <alan.hayward@arm.com>
8353
8354 * README (Re-running Tests Outside The Testsuite): New section.
8355
8356 2019-05-21 Tom de Vries <tdevries@suse.de>
8357
8358 * gdb.arch/amd64-eval.exp: Require c++11.
8359 * gdb.base/max-depth.exp: Same.
8360 * gdb.compile/compile-cplus-array-decay.exp: Same.
8361 * gdb.cp/meth-typedefs.exp: Same.
8362 * gdb.cp/subtypes.exp: Same.
8363 * gdb.cp/temargs.exp: Same.
8364
8365 2019-05-21 Alan Hayward <alan.hayward@arm.com>
8366
8367 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8368
8369 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8370
8371 PR gdb/18644
8372 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8373 * gdb.fortran/printing-types.exp: Add new test.
8374 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8375 testing.
8376 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8377 setup_kfail call.
8378
8379 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8380
8381 * README (Running the Testsuite): Change example.
8382 (Testsuite Parameters): Remove TRANSCRIPT.
8383 * lib/gdb.exp: Remove TRANSCRIPT check.
8384
8385 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8386
8387 * README (Testsuite Parameters): Add replay logging to
8388 GDBSERVER_DEBUG.
8389 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8390 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8391 as a comma separated list.
8392 (gdb_debug_init): Override procedure.
8393
8394 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8395
8396 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8397 (gdb_write_cmd_file): New procedure.
8398 * lib/gdbserver-support.exp (gdbserver_start): Call
8399 gdbserver_write_cmd_file.
8400 (gdbserver_write_cmd_file): New procedure.
8401
8402 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8403
8404 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8405 (delete_breakpoints): Likewise.
8406 (gdb_run_cmd): Likewise.
8407 (gdb_start_cmd): Likewise.
8408 (gdb_starti_cmd): Likewise.
8409 (gdb_internal_error_resync): Likewise.
8410 (gdb_test_multiple): Likewise.
8411 (gdb_reinitialize_dir): Likewise.
8412 (default_gdb_exit): Likewise.
8413 (gdb_file_cmd): Mark kill as optional.
8414 (default_gdb_start): Call gdb_stdin_log_init.
8415 (send_gdb): Call gdb_stdin_log_write.
8416 (rerun_to_main): Mark Y as an answer.
8417 (gdb_stdin_log_init): New function.
8418 (gdb_stdin_log_write): Likewise.
8419
8420 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8421
8422 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8423 * gdb.base/debug-expr.exp: Likewise.
8424 * gdb.base/foll-fork.exp: Likewise.
8425 * gdb.base/foll-vfork.exp: Likewise.
8426 * gdb.base/fork-print-inferior-events.exp: Likewise.
8427 * gdb.base/gdb-sigterm.exp: Likewise.
8428 * gdb.base/gdbinit-history.exp: Likewise.
8429 * gdb.base/osabi.exp: Likewise.
8430 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8431 * gdb.base/ui-redirect.exp: Likewise.
8432 * gdb.gdb/unittest.exp: Likewise.
8433 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8434 * gdb.mi/mi-watch.exp: Likewise.
8435 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8436 * gdb.mi/user-selected-context-sync.exp: Likewise.
8437 * gdb.python/python.exp: Disable debug test when debugging.
8438 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8439 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8440 Likewise.
8441 * gdb.threads/stepi-random-signal.exp: Likewise.
8442
8443 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8444
8445 * Makefile.in: Pass through GDB_DEBUG.
8446 * README (Testsuite Parameters): Add GDB_DEBUG.
8447 (gdb,debug): Add board setting.
8448 * lib/gdb.exp (default_gdb_start): Start debugging.
8449 (gdb_debug_enabled): New procedure.
8450 (gdb_debug_init): Likewise.
8451
8452 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8453
8454 * Makefile.in: Pass through GDB_DEBUG.
8455 * README (Testsuite Parameters): Add GDB_DEBUG.
8456 (gdb,debug): Add board setting.
8457 * lib/gdb.exp (default_gdb_start): Start debugging.
8458 (gdb_debug_enabled): New procedure.
8459 (gdb_debug_init): Likewise.
8460
8461 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8462
8463 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8464
8465 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8466
8467 * gdb.base/ui-redirect.exp: Test redirection.
8468
8469 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8470
8471 * gdb.mi/mi-complete.exp: New file.
8472 * gdb.mi/mi-complete.cc: Likewise.
8473
8474 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8475
8476 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8477 indexed and sliced arrays, and pointers to arrays.
8478
8479 2019-05-14 Tom Tromey <tromey@adacore.com>
8480
8481 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8482 styling test.
8483
8484 2019-05-14 Tom de Vries <tdevries@suse.de>
8485
8486 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8487 selection entry encoding.
8488
8489 2019-05-10 Tom Tromey <tromey@adacore.com>
8490
8491 * gdb.ada/info_exc.exp: Add "complete" test.
8492
8493 2019-05-09 Tom de Vries <tdevries@suse.de>
8494
8495 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8496 CU-relative.
8497
8498 2019-05-09 Tom de Vries <tdevries@suse.de>
8499
8500 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8501 CU-relative.
8502
8503 2019-05-08 Joel Brobecker <brobecker@adacore.com>
8504
8505 * gdb.ada/frame_arg_lang.exp: New testcase.
8506 * gdb.ada/frame_arg_lang/bla.adb: New file.
8507 * gdb.ada/frame_arg_lang/pck.ads: New file.
8508 * gdb.ada/frame_arg_lang/pck.adb: New file.
8509 * gdb.ada/frame_arg_lang/foo.c: New file.
8510
8511 2019-05-08 Tom Tromey <tromey@adacore.com>
8512
8513 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8514
8515 2019-05-08 Tom Tromey <tromey@adacore.com>
8516
8517 * gdb.base/ptype-offsets.exp: Update tests.
8518
8519 2019-05-08 Tom Tromey <tromey@adacore.com>
8520
8521 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8522 cases.
8523 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8524 "short".
8525
8526 2019-05-08 Tom Tromey <tromey@adacore.com>
8527
8528 * gdb.ada/vla.exp: New file.
8529 * gdb.ada/vla/vla.adb: New file.
8530
8531 2019-05-07 Tom de Vries <tdevries@suse.de>
8532
8533 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8534
8535 2019-05-07 Tom de Vries <tdevries@suse.de>
8536
8537 PR testsuite/24522
8538 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8539 section.
8540
8541 2019-05-07 Tom de Vries <tdevries@suse.de>
8542
8543 PR testsuite/24522
8544 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8545 .debug_aranges section.
8546
8547 2019-05-07 Tom de Vries <tdevries@suse.de>
8548
8549 PR testsuite/24159
8550 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8551
8552 2019-05-06 Tom de Vries <tdevries@suse.de>
8553
8554 * lib/gdb.exp (exec_has_index_section): New proc.
8555 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8556 section.
8557
8558 2019-05-04 Tom de Vries <tdevries@suse.de>
8559
8560 * boards/cc-with-debug-names.exp: New file.
8561
8562 2019-05-03 Tom Tromey <tromey@adacore.com>
8563
8564 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8565 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8566 * gdb.ada/char_enum.exp: Add test.
8567
8568 2019-05-03 Tom de Vries <tdevries@suse.de>
8569
8570 * boards/cc-with-gdb-index.exp: New file.
8571
8572 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8573
8574 * gdb.rust/simple.exp: Add new test case.
8575 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8576 (main): Initialise an instance of the new struct.
8577
8578 2019-05-01 Tom Tromey <tromey@adacore.com>
8579
8580 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8581 record.
8582 (NPR): New variable.
8583 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8584 test.
8585
8586 2019-05-01 Tom Tromey <tromey@adacore.com>
8587
8588 * gdb.ada/packed_array_assign.exp: Add packed assignment
8589 regression test.
8590
8591 2019-05-01 Tom de Vries <tdevries@suse.de>
8592
8593 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8594
8595 2019-05-01 Tom de Vries <tdevries@suse.de>
8596
8597 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8598
8599 2019-04-30 Ali Tamur <tamur@google.com>
8600
8601 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8602
8603 2019-04-30 Tom Tromey <tromey@adacore.com>
8604
8605 * lib/ada.exp (find_ada_tool): New proc.
8606 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8607 * gdb.ada/catch_ex_std.exp: New file.
8608 * gdb.ada/catch_ex_std/foo.adb: New file.
8609 * gdb.ada/catch_ex_std/some_package.adb: New file.
8610 * gdb.ada/catch_ex_std/some_package.ads: New file.
8611
8612 2019-04-30 Tom Tromey <tromey@adacore.com>
8613
8614 PR c++/24470:
8615 * gdb.cp/temargs.cc: Add test code from PR.
8616
8617 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8618
8619 * gdb.fortran/vla-datatypes.exp: Update expected results.
8620 * gdb.fortran/vla-ptype.exp: Likewise.
8621 * gdb.fortran/vla-type.exp: Likewise.
8622 * gdb.fortran/vla-value.exp: Likewise.
8623
8624 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8625
8626 * gdb.fortran/ptr-indentation.exp: Update expected results.
8627 * gdb.fortran/ptype-on-functions.exp: Likewise.
8628 * gdb.fortran/vla-ptr-info.exp: Likewise.
8629 * gdb.fortran/vla-value.exp: Likewise.
8630
8631 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8632
8633 * gdb.fortran/ptype-on-functions.exp: New file.
8634 * gdb.fortran/ptype-on-functions.f90: New file.
8635
8636 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8637
8638 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8639 case void string.
8640
8641 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8642
8643 * gdb.fortran/complex.exp: Expand.
8644 * gdb.fortran/complex.f: Renamed to...
8645 * gdb.fortran/complex.f90: ...this, and extended to add more
8646 complex values.
8647
8648 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8649
8650 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8651 MODULO, CMPLX.
8652
8653 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8654 Richard Bunt <richard.bunt@arm.com>
8655
8656 * gdb.base/max-depth.c: New file.
8657 * gdb.base/max-depth.exp: New file.
8658 * gdb.python/py-nested-maps.c: New file.
8659 * gdb.python/py-nested-maps.exp: New file.
8660 * gdb.python/py-nested-maps.py: New file.
8661 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8662 (test_all_common): Call test_max_depth.
8663 * gdb.fortran/max-depth.exp: New file.
8664 * gdb.fortran/max-depth.f90: New file.
8665 * gdb.go/max-depth.exp: New file.
8666 * gdb.go/max-depth.go: New file.
8667 * gdb.modula2/max-depth.exp: New file.
8668 * gdb.modula2/max-depth.c: New file.
8669 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8670
8671 2019-04-29 Tom de Vries <tdevries@suse.de>
8672
8673 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8674
8675 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8676
8677 * gdb.base/callexit.exp: Test may-call-functions off.
8678
8679 2019-04-25 Keith Seitz <keiths@redhat.com>
8680
8681 PR c++/24367
8682 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8683 (another_incomplete_struct, test_incomplete): New definitions.
8684 (main): Use new definitions.
8685 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8686 functions.
8687
8688 2019-04-25 Ali Tamur <tamur@google.com>
8689
8690 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8691
8692 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8693
8694 PR corefiles/11608
8695 PR corefiles/18187
8696 * gdb.base/coredump-filter-build-id.exp: New file.
8697
8698 2019-04-25 Alan Hayward <alan.hayward@arm.com>
8699
8700 * Makefile.in: Pass through GDBSERVER_DEBUG.
8701 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8702 (gdbserver,debug): Add board setting.
8703 * gdb.trace/tspeed.exp: Skip when debugging.
8704 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8705 * lib/gdbserver-support.exp: Likewise
8706
8707 2019-04-24 Tom Tromey <tromey@adacore.com>
8708
8709 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8710 Rust.
8711
8712 2019-04-24 Tom Tromey <tromey@adacore.com>
8713
8714 * gdb.arch/amd64-eval.exp: Test bitfield return.
8715 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8716 (class Foo) <return_bitfields>: New method.
8717 (main): Call it.
8718
8719 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8720
8721 * gdb.cp/many-args.cc: New file.
8722 * gdb.cp/many-args.exp: New file.
8723
8724 2019-04-23 Tom de Vries <tdevries@suse.de>
8725
8726 PR gdb/24433
8727 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8728
8729 2019-04-23 Alan Hayward <alan.hayward@arm.com>
8730
8731 * gdb.trace/backtrace.exp: Use nopie flag.
8732 * gdb.trace/circ.exp: Likewise.
8733 * gdb.trace/collection.exp: Likewise.
8734 * gdb.trace/ftrace.exp: Likewise.
8735 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8736 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8737 * gdb.trace/qtro.exp: Likewise.
8738 * gdb.trace/read-memory.exp: Likewise.
8739 * gdb.trace/report.exp: Likewise.
8740 * gdb.trace/tfile.exp: Likewise.
8741 * gdb.trace/tfind.exp: Likewise.
8742 * gdb.trace/unavailable.exp: Likewise.
8743
8744 2019-04-22 Pedro Alves <palves@redhat.com>
8745
8746 * gdb.base/solib-probes-nosharedlibrary.c,
8747 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8748
8749 2019-04-19 Tom Tromey <tromey@adacore.com>
8750
8751 * gdb.ada/ptype_union.c: New file.
8752 * gdb.ada/ptype_union.exp: New file.
8753
8754 2019-04-19 Tom Tromey <tromey@adacore.com>
8755
8756 PR symtab/24423:
8757 * gdb.base/list0.h (foo): Add a control-l character.
8758
8759 2019-04-18 Tom de Vries <tdevries@suse.de>
8760
8761 PR gdb/24433
8762 * boards/local-board.exp: Set sysroot to "".
8763
8764 2019-04-18 Tom de Vries <tdevries@suse.de>
8765 Pedro Alves <palves@redhat.com>
8766
8767 PR gdb/24454
8768 * gdb.threads/vfork-follow-child-exec.c: New file.
8769 * gdb.threads/vfork-follow-child-exec.exp: New file.
8770 * gdb.threads/vfork-follow-child-exit.c: New file.
8771 * gdb.threads/vfork-follow-child-exit.exp: New file.
8772
8773 2019-04-15 Leszek Swirski <leszeks@google.com>
8774
8775 * gdb.arch/amd64-eval.cc: New file.
8776 * gdb.arch/amd64-eval.exp: New file.
8777
8778 2019-04-11 Alan Hayward <alan.hayward@arm.com>
8779
8780 * gdb.server/sysroot.c: New test.
8781 * gdb.server/sysroot.exp: New file.
8782 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8783 matching param.
8784
8785 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8786
8787 * gdb.base/align.exp: Extend test to cover structures containing
8788 only static fields.
8789
8790 2019-04-11 Tom de Vries <tdevries@suse.de>
8791
8792 * boards/cc-with-dwz-m.exp: New file.
8793 * boards/cc-with-dwz.exp: New file.
8794 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8795
8796 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
8797
8798 * gdb.base/start-cpp.exp: New file.
8799 * gdb.base/start-cpp.cc: New file.
8800
8801 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8802
8803 * gdb.python/py-thrhandle.exp: Adjust tests to call
8804 thread_from_handle instead of thread_from_thread_handle.
8805
8806 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8807
8808 * gdb.python/py-thrhandle.exp: Add tests for
8809 gdb.InferiorThread.handle.
8810
8811 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8812
8813 * gdb.python/py-function.exp: Check calling helper function from
8814 all languages.
8815 * lib/gdb.exp (gdb_supported_languages): New proc.
8816
8817 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8818
8819 * gdb.base/complex-parts.c: New file.
8820 * gdb.base/complex-parts.exp: New file.
8821
8822 2019-04-01 Tom Tromey <tromey@adacore.com>
8823
8824 PR symtab/23331:
8825 * gdb.dwarf2/dw2-ranges-main.c: New file.
8826 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8827 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8828
8829 2019-03-30 Simon Marchi <simark@simark.ca>
8830
8831 * gdb.base/default.exp: Add values for $_gdb_major and
8832 $_gdb_minor.
8833
8834 2019-03-29 Tom Tromey <tromey@adacore.com>
8835
8836 * gdb.base/help.exp: Tighten apropos regexp.
8837
8838 2019-03-29 Keith Seitz <keiths@redhat.com>
8839
8840 * gdb.fortran/array-bounds.exp: New file.
8841 * gdb.fortran/array-bounds.f90: New file.
8842
8843 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8844
8845 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8846
8847 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8848
8849 * gdb.multi/hello.c (main): Increase alarm timer.
8850
8851 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8852
8853 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8854 factor when no hardware watchpoint support.
8855
8856 2019-03-28 Alan Hayward <alan.hayward@arm.com>
8857 Pedro Alves <palves@redhat.com>
8858
8859 * boards/local-board.exp: set sysroot to /.
8860
8861 2019-03-27 Alan Hayward <alan.hayward@arm.com>
8862
8863 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8864 in child.
8865
8866 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8867
8868 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8869 field.
8870 (make_container): Initialise new field.
8871 * gdb.python/py-prettyprint.exp: Add new tests.
8872 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8873 <display_hint>: New method.
8874
8875 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8876
8877 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8878 gdb_continue_to_breakpoint more throughout this test.
8879 (run_lang_tests) Supply unique test names, and use
8880 gdb_test_no_output.
8881
8882 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8883
8884 * gdb.base/finish-pretty.exp: Update expected results.
8885 * gdb.base/pretty-print.c: New file.
8886 * gdb.base/pretty-print.exp: New file.
8887
8888 2019-03-25 Pedro Alves <palves@redhat.com>
8889
8890 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8891 move comments outside list. Append '-i "" eof' section.
8892
8893 2019-03-22 Alan Hayward <alan.hayward@arm.com>
8894
8895 PR testsuite/25016
8896 * README: Add pie options.
8897 * gdb.base/break-interp.exp: Ensure pie is disabled.
8898 * gdb.base/dump.exp: Likewise.
8899 * lib/gdb.exp (gdb_compile): Add pie option.
8900
8901 2019-03-19 Tom Tromey <tromey@adacore.com>
8902
8903 * gdb.mi/mi2-cli-display.c: New file.
8904 * gdb.mi/mi2-cli-display.exp: New file.
8905
8906 2019-03-18 Joel Brobecker <brobecker@adacore.com>
8907 Tom Tromey <tromey@adacore.com>
8908
8909 * gdb.ada/ptype_array/pck.adb: New file.
8910 * gdb.ada/ptype_array/pck.ads: New file.
8911 * gdb.ada/ptype_array/foo.adb: New file.
8912 * gdb.ada/ptype_array.exp: New file.
8913
8914 2019-03-14 Tom Tromey <tromey@adacore.com>
8915
8916 * gdb.base/style.exp: Add "set style sources" test.
8917
8918 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8919
8920 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8921 * mi-breakpoint-multiple-locations.exp: ... this.
8922 (make_breakpoints_pattern): New proc.
8923 (do_test): Add mi_version parameter, test -break-insert,
8924 -break-info and =breakpoint-created.
8925
8926 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8927
8928 * config/default.exp: Remove 'load_lib gdb.exp'.
8929 * config/monitor.exp: Likewise.
8930 * config/sid.exp: Likewise.
8931 * config/sim.exp: Likewise.
8932 * config/slite.exp: Likewise.
8933 * config/unix.exp: Likewise.
8934 * gdb.base/default.exp: Remove unhelpful comment.
8935
8936 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8937
8938 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8939
8940 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8941
8942 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8943
8944 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8945
8946 * gdb.fortran/type-kinds.exp: Update expected results.
8947
8948 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8949
8950 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8951
8952 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8953
8954 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8955 function.
8956 (test_basic_parsing_of_type_kinds): Expand types tested.
8957 (test_parsing_invalid_type_kinds): New function.
8958
8959 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8960
8961 * gdb.fortran/intrinsics.exp: New file.
8962 * gdb.fortran/intrinsics.f90: New file.
8963 * gdb.fortran/type-kinds.exp: New file.
8964
8965 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8966
8967 * gdb.fortran/dot-ops.exp: New file.
8968
8969 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8970
8971 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8972 Check upper and lower case logical literals.
8973
8974 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8975
8976 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8977 Remove duplicate tests.
8978
8979 2019-03-06 Alan Hayward <alan.hayward@arm.com>
8980
8981 * lib/gdb.exp (builtin_cd): rename of cd.
8982 (cd): Override builtin.
8983
8984 2019-03-06 Richard Bunt <richard.bunt@arm.com>
8985
8986 * gdb.fortran/function-calls.exp: New file.
8987 * gdb.fortran/function-calls.f90: New test.
8988
8989 2019-03-04 Richard Bunt <richard.bunt@arm.com>
8990
8991 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8992 on user program standard output.
8993 * gdb.fortran/short-circuit-argument-list.f90: Record function
8994 calls.
8995
8996 2019-02-28 Alan Hayward <alan.hayward@arm.com>
8997
8998 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8999 failure.
9000
9001 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9002
9003 PR gdb/8527
9004 * gdb.base/interrupt-daemon-attach.c,
9005 gdb.base/interrupt-daemon-attach.exp: New test.
9006
9007 2019-02-27 Pedro Alves <palves@redhat.com>
9008
9009 * gdb.base/page.exp: Add tests for "set width/height -1".
9010
9011 2019-02-27 Pedro Alves <palves@redhat.com>
9012
9013 * gdb.base/page.exp: Add tests for "set/show width/height" with
9014 "infinite" values.
9015
9016 2019-02-27 Tom Tromey <tromey@adacore.com>
9017
9018 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
9019 2.4.
9020 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
9021 workaround.
9022
9023 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
9024
9025 * gdb.base/align.exp: Extend to compile in both C and C++, and add
9026 tests for structs with static members.
9027
9028 2019-02-26 Tom Tromey <tromey@adacore.com>
9029
9030 * gdb.python/py-value.exp (test_value_from_buffer): Check for
9031 ValueError, not TypeError.
9032
9033 2019-02-26 Kevin Buettner <kevinb@redhat.com>
9034
9035 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
9036 call from main program.
9037
9038 2019-02-23 Joel Brobecker <brobecker@adacore.com>
9039
9040 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
9041 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
9042 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
9043 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
9044 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
9045
9046 2019-02-22 Keith Seitz <keiths@redhat.com>
9047
9048 PR symtab/23853
9049 * gdb.base/symlink-sourcefile.c: New file.
9050 * gdb.base/symlink-sourcefile.exp: New file.
9051
9052 2019-02-20 Tom Tromey <tom@tromey.com>
9053
9054 * gdb.base/info_qt.exp: Update.
9055
9056 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
9057
9058 * gdb.base/source.exp: Move "error in sourced script" code to
9059 the end.
9060 * gdb.base/source-error.gdb: Move contents to
9061 source-error-1.gdb. Add new code to source source-error-1.gdb.
9062 * gdb.base/source-error-1.gdb: New file, from previous
9063 source-error.gdb.
9064
9065 2019-02-17 Tom Tromey <tom@tromey.com>
9066
9067 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9068 for macro styling.
9069 * gdb.base/style.c (SOME_MACRO): New macro.
9070
9071 2019-02-17 Tom Tromey <tom@tromey.com>
9072
9073 * gdb.base/style.exp: Add line-wrapping tests.
9074 * gdb.base/page.exp: Add test for quitting during pagination.
9075
9076 2019-02-17 Joel Brobecker <brobecker@adacore.com>
9077
9078 * gdb.ada/big_packed_array: New testcase.
9079 * gdb.ada/homonym.exp: Fix incorrect expected output for
9080 "break <homonym__get_value>" test.
9081
9082 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
9083
9084 PR breakpoints/21870
9085 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9086 and prepare_for_testing. Add comment.
9087 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9088 redundant cleanup call. Clean up comment.
9089
9090 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
9091
9092 PR breakpoints/21870
9093 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9094 * gdb.arch/aarch64-dbreg-contents.c: New file.
9095
9096 2019-02-10 Joel Brobecker <brobecker@adacore.com>
9097
9098 * gdb.ada/mi_ref_changeable: New testcase.
9099
9100 2019-02-07 Alan Hayward <alan.hayward@arm.com>
9101
9102 * gdb.base/attach.exp: Add double attach test.
9103
9104 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9105
9106 * lib/gdb.exp (default_gdb_start): Don't match pagination
9107 prompt.
9108 (gdb_init): Set stty_init.
9109
9110 2019-01-27 Tom Tromey <tom@tromey.com>
9111
9112 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9113 skip_python_tests.
9114
9115 2019-01-24 Alan Hayward <alan.hayward@arm.com>
9116
9117 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9118 New structure.
9119 (struct struct_static_02_02): Likewise.
9120 (struct struct_static_02_03): Likewise.
9121 (struct struct_static_02_04): Likewise.
9122 (struct struct_static_04_01): Likewise.
9123 (struct struct_static_04_02): Likewise.
9124 (struct struct_static_04_03): Likewise.
9125 (struct struct_static_04_04): Likewise.
9126 (struct struct_static_06_01): Likewise.
9127 (struct struct_static_06_02): Likewise.
9128 (struct struct_static_06_03): Likewise.
9129 (struct struct_static_06_04): Likewise.
9130 (cmp_struct_static_02_01): Likewise.
9131 (cmp_struct_static_02_02): Likewise.
9132 (cmp_struct_static_02_03): Likewise.
9133 (cmp_struct_static_02_04): Likewise.
9134 (cmp_struct_static_04_01): Likewise.
9135 (cmp_struct_static_04_02): Likewise.
9136 (cmp_struct_static_04_03): Likewise.
9137 (cmp_struct_static_04_04): Likewise.
9138 (cmp_struct_static_06_01): Likewise.
9139 (cmp_struct_static_06_02): Likewise.
9140 (cmp_struct_static_06_03): Likewise.
9141 (cmp_struct_static_06_04): Likewise.
9142 (call_all): Test new structs.
9143 * gdb.base/infcall-nested-structs.exp: Likewise.
9144
9145 2019-01-21 Alan Hayward <alan.hayward@arm.com>
9146 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9147
9148 2019-01-21 Alan Hayward <alan.hayward@arm.com>
9149 * gdb.base/stack-protector.c: New test.
9150 * gdb.base/stack-protector.exp: New file.
9151 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9152 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9153 option.
9154 (gdb_compile): Remove stack protector for GCC and prevent
9155 recursion.
9156
9157 2019-01-16 Keith Seitz <keiths@redhat.com>
9158
9159 PR gdb/23773
9160 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9161
9162 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9163
9164 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9165 aliases.
9166 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9167 tests.
9168 * gdb.arch/powerpc-vector-regs.c: New file.
9169 * gdb.arch/powerpc-vector-regs.exp: New file.
9170
9171 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9172
9173 * gdb.arch/altivec-regs.exp: Fix the list passed to
9174 gdb_expect_list when testing "info vector".
9175
9176 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9177
9178 * gdb.base/style.exp: Don't include path in testname.
9179
9180 2019-01-10 Keith Seitz <keiths@redhat.com>
9181
9182 PR gdb/23712
9183 PR symtab/23010
9184 * gdb.dwarf2/multidictionary.exp: New file.
9185
9186 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9187
9188 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9189 (test_gnuv3_style_demangling): ... this.
9190 (test_lucid_style_demangling): Remove.
9191 (test_arm_style_demangling): Remove.
9192 (test_hp_style_demangling): Remove.
9193 (do_tests): Remove calls to the above.
9194
9195 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9196
9197 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9198 case.
9199
9200 2019-01-06 Tom Tromey <tom@tromey.com>
9201
9202 PR gdb/28155:
9203 * gdb.dwarf2/typedef-void-finish.exp: New file.
9204
9205 2018-12-28 Tom Tromey <tom@tromey.com>
9206 Simon Marchi <simark@simark.ca>
9207
9208 * gdb.base/jit-exec.exp: New file.
9209 * gdb.base/jit-exec.c: New file.
9210 * gdb.base/jit-execd.c: New file.
9211
9212 2018-12-28 Tom Tromey <tom@tromey.com>
9213
9214 * gdb.base/style.exp: Update test to check for address styling.
9215
9216 2018-12-28 Tom Tromey <tom@tromey.com>
9217
9218 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9219 message.
9220
9221 2018-12-28 Tom Tromey <tom@tromey.com>
9222
9223 * gdb.base/style.exp: Add test for version number styling.
9224
9225 2018-12-28 Tom Tromey <tom@tromey.com>
9226
9227 * gdb.base/style.exp: Add test for print_address_symbolic.
9228
9229 2018-12-28 Tom Tromey <tom@tromey.com>
9230
9231 * gdb.base/style.exp: Add test for breakpoint setting.
9232
9233 2018-12-28 Tom Tromey <tom@tromey.com>
9234
9235 * gdb.base/style.exp: Add test for variable names.
9236
9237 2018-12-28 Tom Tromey <tom@tromey.com>
9238
9239 * gdb.base/style.exp: New file.
9240 * gdb.base/style.c: New file.
9241
9242 2018-12-28 Tom Tromey <tom@tromey.com>
9243
9244 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9245 "dumb".
9246 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9247 the TERM environment variable.
9248
9249 2018-12-27 Tom Tromey <tom@tromey.com>
9250
9251 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9252 pagination test.
9253
9254 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9255
9256 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9257 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9258
9259 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9260
9261 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9262 Filename a.adb changed to bp_fun_addr.adb.
9263 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9264
9265 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9266
9267 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9268 non-PIE executables.
9269 * README: Mention the gdb,nopie_flag board setting.
9270 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9271 non-PIE executable.
9272 * gdb.arch/amd64-entry-value.exp: Likewise.
9273 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9274 * gdb.arch/i386-float.exp: Likewise.
9275 * gdb.arch/i386-signal.exp: Likewise.
9276 * gdb.mi/mi-reg-undefined.exp: Likewise.
9277
9278 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9279
9280 PR gdb/23974
9281 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9282
9283 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9284
9285 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9286 Update order of results accordingly.
9287
9288 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9289
9290 * gdb.base/annota1.exp: Update a test regexp.
9291
9292 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9293
9294 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9295
9296 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9297
9298 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9299 (reuse_time): Initialize to REUSE_TIME_CAP.
9300 (check_rc): New function.
9301 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9302 Check pthread_create rc.
9303 (spawner_thread_func): Check pthread_create and pthread_join rc.
9304
9305 2018-12-08 Pedro Alves <palves@redhat.com>
9306
9307 * gdb.base/list.exp (test_forward_search): Rename to ...
9308 (test_forward_reverse_search): ... this. Also test reverse-search
9309 and the forward-search alias.
9310
9311 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9312
9313 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9314 local timeout variable before return, and remove all local timeout
9315 variable entirely.
9316 (gdb_load): Likewise.
9317
9318 2018-12-01 Tom de Vries <tdevries@suse.de>
9319
9320 * gdb.base/gdb-caching-proc.exp: New file.
9321
9322 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9323
9324 * Makefile.in (TIMESTAMP): New variable.
9325 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9326 command.
9327 (check-single-racy): Likewise.
9328 (check/%.exp): Likewise.
9329 (check-racy/%.exp): Likewise.
9330 (workers/%.worker): Likewise.
9331 (build-perf): Likewise.
9332 (check-perf): Likewise.
9333 * README: Describe new "TS" and "TS_FORMAT" variables.
9334 * print-ts.py: New file.
9335
9336 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9337
9338 PR python/23714
9339 * gdb.python/python.exp: Test command repetition after
9340 gdb.execute.
9341
9342 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9343
9344 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9345 is correctly aligned.
9346
9347 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9348
9349 * gdb.ada/info_auto_lang.exp: New testcase.
9350 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9351 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9352 * gdb.ada/info_auto_lang/some_c.c: New file.
9353
9354 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9355
9356 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9357 FUNC_lang language syntax.
9358
9359 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9360
9361 * gdb.base/info_minsym.c: New file.
9362 * gdb.base/info_minsym.exp: New file.
9363
9364 2018-11-19 Tom Tromey <tom@tromey.com>
9365
9366 PR rust/23625:
9367 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9368 * gdb.rust/expr.exp: Update expected output. Change one test.
9369
9370 2018-11-19 Tom Tromey <tom@tromey.com>
9371
9372 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9373
9374 2018-11-19 Pedro Alves <palves@redhat.com>
9375
9376 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9377 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9378 see the expected warning.
9379
9380 2018-11-16 Alan Hayward <alan.hayward@arm.com>
9381
9382 PR gdb/22736:
9383 * gdb.cp/infcall-nodebug-lib.c: New test.
9384 * gdb.cp/infcall-nodebug-main.c: New test.
9385 * gdb.cp/infcall-nodebug.exp: New file.
9386
9387 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9388
9389 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9390 completer tests.
9391
9392 2018-11-09 Tom de Vries <tdevries@suse.de>
9393
9394 * gdb.base/msym-lang.c: New test.
9395 * gdb.base/msym-lang.exp: New file.
9396 * gdb.base/msym-lang-main.c: New test.
9397
9398 2018-11-08 Tom Tromey <tom@tromey.com>
9399
9400 PR gdb/23555:
9401 PR gdb/23838:
9402 * gdb.base/warning.exp: New file.
9403
9404 2018-11-08 Jan Beulich <jbeulich@suse.com>
9405
9406 * testsuite/gdb.arch/i386-avx512.c,
9407 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9408
9409 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9410
9411 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9412 point hardware.
9413
9414 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9415
9416 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9417 * gdb.dwarf2/missing-type-name.exp: New file.
9418
9419 2018-11-06 Tom de Vries <tdevries@suse.de>
9420
9421 * gdb.base/many-headers.c: New test.
9422 * gdb.base/many-headers.exp: New file.
9423
9424 2018-11-06 Jim Wilson <jimw@sifive.com>
9425
9426 * gdb.base/code_elim.exp: For riscv, set additional_flags
9427 to include -msmall-data-limit=0.
9428
9429 2018-11-01 Joel Brobecker <brobecker@adacore.com>
9430
9431 * gdb.ada/watch_minus_l: New testcase.
9432
9433 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9434
9435 * gdb.arch/aix-sighandle.c: New file.
9436 * gdb.arch/aix-sighandle.exp: New file.
9437
9438 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9439
9440 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9441 registers being unions.
9442
9443 2018-10-31 Tom de Vries <tdevries@suse.de>
9444
9445 * lib/valgrind.exp: New file.
9446 (vgdb_start, vgdb_stop): New procs, factored out of ...
9447 * gdb.base/valgrind-bt.exp: ... here, ...
9448 * gdb.base/valgrind-disp-step.exp: ... here and ...
9449 * gdb.base/valgrind-infcall.exp: ... here.
9450
9451 2018-10-31 Tom de Vries <tdevries@suse.de>
9452
9453 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9454
9455 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9456
9457 * gdb.dwarf2/void-type.c: New file.
9458 * gdb.dwarf2/void-type.exp: New file.
9459
9460 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9461
9462 * gdb.base/info_qt.c: New file.
9463 * gdb.base/info_qt.exp: New file.
9464
9465 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9466
9467 * gdb.arch/powerpc-htm-regs.c: New file.
9468 * gdb.arch/powerpc-htm-regs.exp: New file.
9469
9470 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9471
9472 * gdb.arch/powerpc-tar.c: New file.
9473 * gdb.arch/powerpc-tar.exp: New file.
9474
9475 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9476
9477 * gdb.arch/powerpc-ppr-dscr.c: New file.
9478 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9479
9480 2018-10-25 Tom de Vries <tdevries@suse.de>
9481
9482 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9483
9484 2018-10-24 Tom de Vries <tdevries@suse.de>
9485
9486 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9487 longer exists error.
9488
9489 2018-10-24 Tom de Vries <tdevries@suse.de>
9490
9491 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9492
9493 2018-10-24 Tom de Vries <tdevries@suse.de>
9494
9495 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9496 --db-attach in valgrind.
9497
9498 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9499
9500 * gdb.arch/riscv-reg-aliases.c: New file.
9501 * gdb.arch/riscv-reg-aliases.exp: New file.
9502
9503 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9504
9505 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9506
9507 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9508
9509 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9510
9511 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9512
9513 * gdb.cp/ovldbreak.exp: Fix regexps.
9514
9515 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9516
9517 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9518
9519 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9520
9521 PR cli/23785
9522 * gdb.base/restore.exp: New test to check if "restore" with an
9523 invalid file doesn't segfault.
9524
9525 2018-10-18 Tom de Vries <tdevries@suse.de>
9526
9527 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9528 * gdb.ada/excep_handle.exp: Same.
9529 * gdb.ada/mi_string_access.exp: Same.
9530 * gdb.ada/mi_var_union.exp: Same.
9531 * gdb.arch/arc-analyze-prologue.exp: Same.
9532 * gdb.arch/arc-decode-insn.exp: Same.
9533 * gdb.base/readnever.exp: Same.
9534 * gdb.fortran/printing-types.exp: Same.
9535 * gdb.guile/scm-lazy-string.exp: Same.
9536
9537 2018-10-16 Tom de Vries <tdevries@suse.de>
9538
9539 PR gdb/23730
9540 * gdb.base/catch-follow-exec.c: Add copyright notice.
9541 * gdb.base/catch-follow-exec.exp: Rewrite to use
9542 gdb_spawn_with_cmdline_opts. Require gdb-native.
9543
9544 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9545
9546 * gdb.trace/actions-changed.exp: Check for arch support.
9547 * gdb.trace/actions.exp: Likewise.
9548 * gdb.trace/ax.exp: Likewise.
9549 * gdb.trace/backtrace.exp: Likewise.
9550 * gdb.trace/change-loc.exp: Likewise.
9551 * gdb.trace/deltrace.exp: Likewise.
9552 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9553 * gdb.trace/ftrace.exp: Likewise.
9554 * gdb.trace/infotrace.exp: Check for arch support.
9555 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9556 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9557 * gdb.trace/mi-tsv-changed.exp: Likewise.
9558 * gdb.trace/packetlen.exp: Likewise.
9559 * gdb.trace/passc-dyn.exp: Likewise.
9560 * gdb.trace/passcount.exp: Likewise.
9561 * gdb.trace/pending.exp: Likewise.
9562 * gdb.trace/range-stepping.exp: Check for shlib support.
9563 * gdb.trace/report.exp: Check for arch support.
9564 * gdb.trace/save-trace.exp: Likewise.
9565 * gdb.trace/signal.exp: Check for signal support.
9566 * gdb.trace/tfind.exp: Check for arch support.
9567 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9568 * gdb.trace/trace-common.h: Add comment.
9569 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9570 * gdb.trace/trace-enable-disable.exp: Likewise.
9571 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9572 * gdb.trace/tracecmd.exp: Check for arch support.
9573 * gdb.trace/tspeed.exp: Check for shlib and target support.
9574 * gdb.trace/tstatus.exp: Check for arch support.
9575 * gdb.trace/tsv.exp: Likewise.
9576 * gdb.trace/while-dyn.exp: Likewise.
9577 * gdb.trace/while-stepping.exp: Likewise.
9578 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9579
9580 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9581
9582 * gdb.trace/tspeed.exp: Remove nowarnings.
9583 (prepare_for_trace_test): Declare "global ipalib".
9584 * gdb.trace/tspeed.c: Include unistd.h.
9585 (main): Remove superfluous printf argument.
9586
9587 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9588
9589 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9590 directory prefix on the filename.
9591
9592 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9593
9594 * gdb.gdb/unittest.exp: Update expected message informing that
9595 selftests have been disabled.
9596 * gdb.server/unittest.exp: Likewise.
9597
9598 2018-10-09 Tom de Vries <tdevries@suse.de>
9599
9600 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9601 with runto_main.
9602
9603 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
9604
9605 PR c++/16841
9606 * gdb.cp/virtbase2.cc: New file.
9607 * gdb.cp/virtbase2.exp: New file.
9608
9609 2018-10-06 Tom Tromey <tom@tromey.com>
9610
9611 PR python/19399:
9612 * gdb.python/py-inferior.exp: Add architecture test.
9613
9614 2018-10-06 Tom Tromey <tom@tromey.com>
9615
9616 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9617 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9618
9619 2018-10-06 Tom Tromey <tom@tromey.com>
9620
9621 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9622 of a "throw" catchpoint.
9623
9624 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9625
9626 * gdb.base/info-proc.exp: Update string expected from "help info
9627 proc".
9628
9629 2018-10-04 Tom Tromey <tom@tromey.com>
9630
9631 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9632 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9633 (test_initial_complaints, test_empty_complaints): Update.
9634 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9635
9636 2018-10-04 Tom Tromey <tom@tromey.com>
9637
9638 PR cli/19551:
9639 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9640 * lib/gdb.exp (gdb_file_cmd): Update.
9641 * gdb.stabs/weird.exp (print_weird_var): Update.
9642 * gdb.server/solib-list.exp: Update.
9643 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9644 * gdb.mi/mi-cli.exp: Update.
9645 * gdb.linespec/linespec.exp: Update.
9646 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9647 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9648 * gdb.cp/cp-relocate.exp: Update.
9649 * gdb.base/sym-file.exp: Update.
9650 * gdb.base/relocate.exp: Update.
9651 * gdb.base/readnever.exp: Update.
9652 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9653 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9654 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9655 * gdb.base/code_elim.exp: Update.
9656 * gdb.base/break-unload-file.exp (test_break): Update.
9657 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9658 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9659 Update.
9660 * gdb.base/attach.exp (do_attach_tests): Update.
9661 * gdb.base/sepdebug.exp: Update.
9662 * gdb.python/py-section-script.exp: Update.
9663
9664 2018-10-04 Tom Tromey <tom@tromey.com>
9665
9666 PR cli/22234:
9667 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9668 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9669 output.
9670
9671 2018-10-04 Tom Tromey <tom@tromey.com>
9672
9673 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9674 set width and height to 0.
9675 (test_command_line_attach_run): Use -quiet.
9676
9677 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9678
9679 * lib/gdb.exp (skip_ifunc_tests): New.
9680 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9681 other compile failures.
9682 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9683
9684 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9685
9686 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9687 is_amd64_regs_target.
9688
9689 2018-10-01 Alan Hayward <alan.hayward@arm.com>
9690
9691 * gdb.arch/aarch64-sighandler-regs.c: New test.
9692 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9693 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9694
9695 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9696
9697 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9698 assembly.
9699
9700 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9701
9702 * gdb.base/frame-selection.exp: New file.
9703 * gdb.base/frame-selection.c: New file.
9704
9705 2018-09-27 Alan Hayward <alan.hayward@arm.com>
9706
9707 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9708 pthread barrier.
9709 (main): Likewise.
9710
9711 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9712
9713 * gdb.base/large-frame-1.c: New file.
9714 * gdb.base/large-frame-2.c: New file.
9715 * gdb.base/large-frame.exp: New file.
9716 * gdb.base/large-frame.h: New file.
9717
9718 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9719
9720 PR gdb/20948
9721 * gdb.base/write_mem.exp: New test.
9722 * gdb.base/write_mem.c: Likewise.
9723
9724 2018-09-23 Tom Tromey <tom@tromey.com>
9725
9726 PR python/18852:
9727 * gdb.python/py-parameter.exp: Add test for parameter that throws
9728 on "set".
9729
9730 2018-09-23 Tom Tromey <tom@tromey.com>
9731
9732 PR python/17284:
9733 * gdb.python/py-template.exp (test_template_arg): Add test for
9734 negative template argument number.
9735
9736 2018-09-23 Tom Tromey <tom@tromey.com>
9737
9738 PR python/14062:
9739 * gdb.python/python.exp: Add test for post_event error.
9740
9741 2018-09-23 Tom Tromey <tom@tromey.com>
9742
9743 PR python/18170:
9744 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9745 convert pointers to int and long.
9746
9747 2018-09-23 Tom Tromey <tom@tromey.com>
9748
9749 PR python/20126:
9750 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9751 signed-ness conversion tests.
9752
9753 2018-09-23 Tom Tromey <tom@tromey.com>
9754
9755 PR python/18352;
9756 * gdb.python/py-value.exp (test_float_conversion): New proc.
9757 Use it.
9758
9759 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9760
9761 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9762
9763 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9764
9765 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9766 no readline.
9767 * gdb.base/utf8-identifiers.exp: Likewise.
9768 * gdb.cp/cpcompletion.exp: Likewise.
9769 * gdb.linespec/cpcompletion.exp: Likewise.
9770 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9771 * gdb.linespec/cpls-ops.exp: Likewise.
9772
9773 2018-09-19 Richard Bunt <richard.bunt@arm.com>
9774 Chris January <chris.january@arm.com>
9775
9776 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9777 * gdb.fortran/short-circuit-argument-list.exp: New file.
9778 * gdb.fortran/short-circuit-argument-list.f90: New test.
9779
9780 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9781
9782 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9783 "arch=" keyword when executing "-stack-list-frames".
9784
9785 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9786
9787 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9788 "arch=" keyword when executing "-stack-list-frames".
9789
9790 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9791
9792 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9793 break ada".
9794
9795 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9796
9797 PR python/23669
9798 * gdb.python/python.exp: Test gdb.execute("show commands").
9799
9800 2018-09-16 Tom Tromey <tom@tromey.com>
9801
9802 * gdb.base/new-ui.exp (do_execution_tests): Update.
9803 * gdb.base/dbx.exp (test_breakpoints): Update.
9804
9805 2018-09-14 Alan Hayward <alan.hayward@arm.com>
9806
9807 * lib/gdb.exp (gdb_simple_compile): Add proc.
9808 (is_elf_target): Use gdb_simple_compile.
9809 (skip_altivec_tests): Likewise.
9810 (skip_vsx_tests): Likewise.
9811 (skip_tsx_tests): Likewise.
9812 (skip_btrace_tests): Likewise.
9813 (skip_btrace_pt_tests): Likewise.
9814 (gdb_can_simple_compile): Likewise.
9815 (gdb_has_argv0): Likewise.
9816 (gdb_target_symbol_prefix): Likewise.
9817 (target_supports_scheduler_locking): Likewise.
9818
9819 2018-09-13 Tom Tromey <tom@tromey.com>
9820
9821 * Makefile.in (TAGS): Recognize proc_with_prefix and
9822 gdb_caching_proc.
9823
9824 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9825
9826 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9827 method.
9828
9829 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9830
9831 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9832 and a few other Inferior properties when the Inferior is no
9833 longer valid.
9834
9835 2018-09-13 Tom Tromey <tom@tromey.com>
9836
9837 PR rust/23650:
9838 * gdb.rust/simple.exp: Add test for enum field access error.
9839
9840 2018-09-13 Tom Tromey <tom@tromey.com>
9841
9842 PR rust/23626:
9843 * gdb.rust/simple.rs (EmptyEnum): New type.
9844 (main): Use it.
9845 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9846
9847 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9848
9849 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9850 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9851 * gdb.python/py-symtab.exp: Update test printing an objfile.
9852
9853 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9854
9855 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9856 object.
9857
9858 2018-09-12 Alan Hayward <alan.hayward@arm.com>
9859
9860 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9861 (support_complex_tests): Use gdb_can_simple_compile.
9862 (is_ilp32_target): Likewise.
9863 (is_lp64_target): Likewise.
9864 (is_64_target): Likewise.
9865 (is_amd64_regs_target): Likewise.
9866 (is_aarch32_target): Likewise.
9867 (gdb_int128_helper): Likewise.
9868
9869 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9870
9871 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9872
9873 2018-09-10 Jerome Guitton <guitton@adacore.com>
9874
9875 * gdb.ada/same_component_name: Add test for case of tagged record
9876 with variable-length fields.
9877
9878 2018-09-10 Xavier Roirand <roirand@adacore.com>
9879
9880 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9881 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9882 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9883 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9884
9885 2018-09-10 Xavier Roirand <roirand@adacore.com>
9886
9887 * gdb.ada/mi_string_access.exp: New testcase.
9888 * gdb.ada/mi_string_access/bar.adb: New file.
9889 * gdb.ada/mi_string_access/pck.adb: New file.
9890 * gdb.ada/mi_string_access/pck.asd: New file.
9891
9892 2018-09-10 Xavier Roirand <roirand@adacore.com>
9893
9894 * gdb.ada/mi_var_union.exp: New testcase.
9895 * gdb.ada/mi_var_union/bar.adb: New file.
9896 * gdb.ada/mi_var_union/pck.adb: New file.
9897 * gdb.ada/mi_var_union/pck.asd: New file.
9898
9899 2018-09-08 Tom Tromey <tom@tromey.com>
9900
9901 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9902
9903 2018-09-08 Tom Tromey <tom@tromey.com>
9904
9905 PR python/16047:
9906 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9907 (register_pretty_printers): Register new printer.
9908 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9909 test.
9910 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9911 (an_int_type3): New global.
9912
9913 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9914
9915 * gdb.ada/expr_with_funcall: New testcase.
9916
9917 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9918
9919 * gdb.ada/packed_array_assign: New testcase.
9920
9921 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9922
9923 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9924 names, and add test prefixes to make test names unique.
9925
9926 2018-09-05 Tom de Vries <tdevries@suse.de>
9927
9928 * gdb.dwarf2/varval.exp: Add test.
9929
9930 2018-09-04 Gary Benson <gbenson@redhat.com>
9931
9932 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9933 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9934
9935 2018-08-31 Tom Tromey <tom@tromey.com>
9936
9937 * gdb.rust/simple.rs: Rename second variable "v".
9938
9939 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9940
9941 * gdb.base/funcargs.c (use_a): New function.
9942 (recurse): Call use_a.
9943
9944 2018-08-29 Keith Seitz <keiths@redhat.com>
9945
9946 * gdb.compile/compile-cplus-anonymous.cc: New file.
9947 * gdb.compile/compile-cplus-anonymous.exp: New file.
9948 * gdb.compile/compile-cplus-array-decay.cc: New file.
9949 * gdb.compile/compile-cplus-array-decay.exp: New file.
9950 * gdb.compile/compile-cplus-inherit.cc: New file.
9951 * gdb.compile/compile-cplus-inherit.exp: New file.
9952 * gdb.compile/compile-cplus-member.cc: New file.
9953 * gdb.compile/compile-cplus-member.exp: New file.
9954 * gdb.compile/compile-cplus-method.cc: New file.
9955 * gdb.compile/compile-cplus-method.exp: New file.
9956 * gdb.compile/compile-cplus-mod.c: "New" file.
9957 * gdb.compile/compile-cplus-namespace.cc: New file.
9958 * gdb.compile/compile-cplus-namespace.exp: New file.
9959 * gdb.compile/compile-cplus-nested.cc: New file.
9960 * gdb.compile/compile-cplus-nested.exp: New file.
9961 * gdb.compile/compile-cplus-print.c: "New" file.
9962 * gdb.compile/compile-cplus-print.exp: "New" file.
9963 * gdb.compile/compile-cplus-virtual.cc: New file.
9964 * gdb.compile/compile-cplus-virtual.exp: New file.
9965 * gdb.compile/compile-cplus.c: "New" file.
9966 * gdb.compile/compile-cplus.exp: "New" file.
9967 * lib/compile-support.exp: New file.
9968
9969 2018-08-16 Gary Benson <gbenson@redhat.com>
9970
9971 PR gdb/13000:
9972 * gdb.base/batch-exit-status.exp: New file.
9973 * gdb.base/batch-exit-status.good-commands: Likewise.
9974 * gdb.base/batch-exit-status.bad-commands: Likewise.
9975
9976 2018-08-29 Alan Hayward <alan.hayward@arm.com>
9977
9978 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9979 (struct struct02): Likewise.
9980 (struct struct03): Likewise.
9981 (struct struct04): Likewise.
9982 (struct struct_01_01): New struct.
9983 (struct struct_01_02): Likewise.
9984 (struct struct_01_03): Likewise.
9985 (struct struct_01_04): Likewise.
9986 (struct struct_02_01): Likewise.
9987 (struct struct_02_02): Likewise.
9988 (struct struct_02_03): Likewise.
9989 (struct struct_02_04): Likewise.
9990 (struct struct_04_01): Likewise.
9991 (struct struct_04_02): Likewise.
9992 (struct struct_04_03): Likewise.
9993 (struct struct_04_04): Likewise.
9994 (struct struct_05_01): Likewise.
9995 (struct struct_05_02): Likewise.
9996 (struct struct_05_03): Likewise.
9997 (struct struct_05_04): Likewise.
9998 (cmp_struct01): Remove function.
9999 (cmp_struct02): Likewise.
10000 (cmp_struct03): Likewise.
10001 (cmp_struct04): Likewise.
10002 (cmp_struct_01_01): Add Function.
10003 (cmp_struct_01_02): Likewise.
10004 (cmp_struct_01_03): Likewise.
10005 (cmp_struct_01_04): Likewise.
10006 (cmp_struct_02_01): Likewise.
10007 (cmp_struct_02_02): Likewise.
10008 (cmp_struct_02_03): Likewise.
10009 (cmp_struct_02_04): Likewise.
10010 (cmp_struct_04_01): Likewise.
10011 (cmp_struct_04_02): Likewise.
10012 (cmp_struct_04_03): Likewise.
10013 (cmp_struct_04_04): Likewise.
10014 (cmp_struct_05_01): Likewise.
10015 (cmp_struct_05_02): Likewise.
10016 (cmp_struct_05_03): Likewise.
10017 (cmp_struct_05_04): Likewise.
10018 (call_all): Add new structs.
10019 * gdb.base/infcall-nested-structs.exp: Likewise.
10020
10021 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
10022
10023 * gdb.python/py-framefilter-mi.exp: Update regexp to
10024 check for "arch" field in frame output.
10025
10026 2018-08-23 Kevin Buettner <kevinb@redhat.com>
10027
10028 * gdb.dwarf2/dw2-ranges-func.c: New file.
10029 * gdb.dwarf2/dw2-ranges-func.exp: New file.
10030
10031 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
10032
10033 * gdb.base/term.exp: Compare terminal settings with values from
10034 the inferior.
10035 * gdb.base/term.c: Get and set terminal settings.
10036
10037 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
10038
10039 * lib/mi-support.exp (mi_expect_stop): Update regexp to
10040 accommodate new "arch" field in frame output.
10041 * gdb.mi/mi-return.exp: Likewise.
10042 * gdb.mi/mi-stack.exp: Likewise.
10043 * gdb.mi/mi-syn-frame.exp: Likewise.
10044 * gdb.mi/user-selected-context-sync.exp: Likewise.
10045
10046 2018-08-19 Michael Spang <spang@google.com>
10047
10048 PR gdb/11786
10049 * gdb.base/gcore-tls-pie.c: New file.
10050 * gdb.base/gcore-tls-pie.exp: New file.
10051
10052 2018-08-18 Kevin Buettner <kevinb@redhat.com>
10053
10054 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
10055 * gdb.dwarf2/varval.c: New file.
10056 * gdb.dwarf2/varval.exp: New file.
10057
10058 2018-08-17 Alan Hayward <alan.hayward@arm.com>
10059
10060 PR gdb/18931
10061 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10062
10063 2018-08-16 Keith Seitz <keiths@redhat.com>
10064
10065 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10066 tests expected to pass.
10067
10068 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10069
10070 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10071 -data-disassemble -a.
10072 (test_disassembly_bogus_args): Likewise.
10073
10074 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10075
10076 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10077
10078 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10079
10080 * gdb.base/vla-optimized-out.exp: Add new test.
10081
10082 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10083
10084 * gdb.base/vla-optimized-out-o3.exp: Delete.
10085 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10086 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10087 deleted tests.
10088
10089 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10090
10091 PR gdb/18050:
10092 * gdb.server/extended-remote-restart.c: New file.
10093 * gdb.server/extended-remote-restart.exp: New file.
10094
10095 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10096
10097 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10098 "set variable index = 42".
10099
10100 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10101
10102 * boards/index-cache-gdb.exp: New file.
10103 * gdb.dwarf2/index-cache.exp: New file.
10104 * gdb.dwarf2/index-cache.c: New file.
10105 * gdb.base/maint.exp: Check if we are using the index cache.
10106
10107 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10108
10109 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10110 MAKEFLAGS.
10111
10112 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10113
10114 * dg-extract-results.sh: Move to toplevel contrib.
10115 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10116 * Makefile.in (check-parallel-racy): Likewise.
10117
10118 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10119
10120 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10121 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10122 tests if the target supports scheduler locking.
10123
10124 2018-08-04 Tom de Vries <tdevries@suse.de>
10125
10126 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10127
10128 2018-08-02 Tom Tromey <tom@tromey.com>
10129
10130 PR symtab/16842.
10131 * gdb.cp/temargs.exp: Test "info address" of a template
10132 parameter.
10133
10134 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10135
10136 * gdb.python/py-mi-var-info-path-expression.c: New file.
10137 * gdb.python/py-mi-var-info-path-expression.py: New file.
10138 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10139
10140 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10141
10142 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10143 error after "cannot resolve name" string.
10144
10145 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10146
10147 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10148 started.
10149 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10150
10151 2018-07-28 Tom de Vries <tdevries@suse.de>
10152
10153 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10154
10155 2018-07-26 Tom de Vries <tdevries@suse.de>
10156
10157 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10158
10159 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10160
10161 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10162 is visible.
10163
10164 2018-07-26 Tom de Vries <tdevries@suse.de>
10165
10166 PR breakpoints/23366
10167 * gdb.base/catch-follow-exec.c: New test.
10168 * gdb.base/catch-follow-exec.exp: New file.
10169
10170 2018-07-25 Tom de Vries <tdevries@suse.de>
10171
10172 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10173 vla-optimized-out.c.
10174
10175 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10176
10177 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10178 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10179
10180 2018-07-20 Tom de Vries <tdevries@suse.de>
10181
10182 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10183 NOCLONE macro.
10184 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10185
10186 2018-07-19 Tom de Vries <tdevries@suse.de>
10187
10188 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10189 regular expression.
10190
10191 2018-07-18 Tom de Vries <tdevries@suse.de>
10192
10193 * gdb.base/vla-optimized-out.c: New test.
10194 * gdb.base/vla-optimized-out.exp: New file.
10195
10196 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10197
10198 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10199 message "No address associated with hostname" when gdbserver
10200 cannot resolve the hostname.
10201
10202 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10203
10204 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10205 Add some test prefixes to make tests unique.
10206
10207 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10208
10209 * gdb.base/frameapply.c: New file.
10210 * gdb.base/frameapply.exp: New file.
10211
10212 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10213
10214 * gdb.base/skip.exp: Update expected error message.
10215
10216 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10217 Jan Kratochvil <jan.kratochvil@redhat.com>
10218 Paul Fertser <fercerpav@gmail.com>
10219 Tsutomu Seki <sekiriki@gmail.com>
10220
10221 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10222 parameter.
10223 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10224 by default.
10225 * boards/native-gdbserver.exp: Likewise.
10226 * gdb.server/run-without-local-binary.exp: Improve regexp used
10227 for detecting when a remote debugging connection succeeds.
10228 * gdb.server/server-connect.exp: New file.
10229 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10230 Do not prefix the port number with ":".
10231 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10232 support for detecting and using it. Add '$debughost_gdbserver'
10233 to the list of arguments used to start gdbserver. Handle case
10234 when gdbserver cannot resolve a network name.
10235
10236 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10237
10238 PR c++/23373
10239 * gdb.base/ptype-offsets.cc (struct static_member): New
10240 struct.
10241 (main) <stmember>: New variable.
10242 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10243 with a static member in it.
10244
10245 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10246
10247 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10248 watchpoints enabled and disabled.
10249
10250 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10251
10252 * gdb.base/examine-backward.exp: Still run tests around address
10253 0x0, even if address 0x0 is not readable. Update the pattern for
10254 matching address 0x0 in expected output.
10255
10256 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10257
10258 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10259 malloc/free.
10260
10261 2018-07-04 Tom de Vries <tdevries@suse.de>
10262
10263 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10264
10265 2018-07-02 Maciej W. Rozycki <macro@mips.com>
10266
10267 PR tdep/8282
10268 * gdb.arch/mips-disassembler-options.exp: New test.
10269 * gdb.arch/mips-disassembler-options.s: New test source.
10270
10271 2018-06-29 Pedro Alves <palves@redhat.com>
10272
10273 * gdb.threads/names.exp: Adjust expected "info threads" output.
10274
10275 2018-06-29 Pedro Alves <palves@redhat.com>
10276
10277 * gdb.opt/inline-break.exp (line number, address): Add "info
10278 break" tests.
10279
10280 2018-06-29 Pedro Alves <palves@redhat.com>
10281
10282 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10283 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10284 number and address and running to them.
10285
10286 2018-06-29 Richard Bunt <richard.bunt@arm.com>
10287
10288 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10289
10290 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10291
10292 * lib/compiler.c: Remove executable permission flag.
10293
10294 2018-06-28 Richard Bunt <richard.bunt@arm.com>
10295
10296 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10297 code.
10298 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10299
10300 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
10301
10302 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10303
10304 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
10305
10306 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10307 address argument is omitted.
10308
10309 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
10310
10311 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10312
10313 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
10314
10315 PR gdb/21695
10316 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10317 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10318
10319 2018-06-26 Tom Tromey <tom@tromey.com>
10320
10321 PR rust/22574:
10322 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10323 * gdb.rust/simple.rs (struct SimpleLayout): New.
10324
10325 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10326
10327 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10328 "info registers" output.
10329
10330 2018-06-21 Richard Bunt <richard.bunt@arm.com>
10331
10332 * gdb.base/watchpoint-hw-attach.c: New test.
10333 * gdb.base/watchpoint-hw-attach.exp: New file.
10334
10335 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10336
10337 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10338 through /bin/sh.
10339 * boards/dwarf4-gdb-index.exp: Likewise.
10340 * boards/fission-dwp.exp: Likewise.
10341
10342 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10343
10344 * gdb.base/float128.exp: Add comment and improved fail message
10345 to the failure case of "print large128" test.
10346
10347 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10348
10349 * configure.ac: Remove AC_PREREQ.
10350 * configure: Re-generate.
10351
10352 2018-06-19 Pedro Alves <palves@redhat.com>
10353
10354 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10355 (func_extern_caller): New.
10356 (main): Call func_extern_caller.
10357 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10358 logic change.
10359
10360 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
10361
10362 PR gdb/16841
10363 * gdb.cp/typedef-base.cc: New file.
10364 * gdb.cp/typedef-base.exp: New file.
10365
10366 2018-06-18 Tom de Vries <tdevries@suse.de>
10367
10368 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10369
10370 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10371 Richard Bunt <Richard.Bunt@arm.com>
10372
10373 * gdb.threads/attach-slow-waitpid.c: New file.
10374 * gdb.threads/attach-slow-waitpid.exp: New file.
10375 * gdb.threads/slow-waitpid.c: New file.
10376
10377 2018-06-14 Pedro Alves <palves@redhat.com>
10378
10379 * gdb.base/fork-running-state.c: Include <errno.h>.
10380 (exit_if_relative_exits): New.
10381 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10382 exits.
10383 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10384 child exits.
10385
10386 2018-06-14 Tom de Vries <tdevries@suse.de>
10387
10388 PR cli/22573
10389 * gdb.base/finish-pretty.c: New test.
10390 * gdb.base/finish-pretty.exp: New file.
10391
10392 2018-06-14 Pedro Alves <palves@redhat.com>
10393
10394 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10395 gdb's expected startup output.
10396
10397 2018-06-14 Pedro Alves <palves@redhat.com>
10398
10399 * lib/selftest-support.exp (selftest_setup): Remove inlined
10400 function handling.
10401
10402 2018-06-14 Tom de Vries <tdevries@suse.de>
10403
10404 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10405 matching of breakpoint printing.
10406
10407 2018-06-13 Tom de Vries <tdevries@suse.de>
10408
10409 PR testsuite/23269
10410 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10411 (fork_child): ... here, and ...
10412 (fork_parent): ... here.
10413
10414 2018-06-12 Tom de Vries <tdevries@suse.de>
10415
10416 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10417
10418 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10419 Stephen Roberts <stephen.roberts@arm.com>
10420
10421 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10422 rewrite test to describe action performed, rather than possible
10423 failure.
10424
10425 2018-06-08 Gary Benson <gbenson@redhat.com>
10426
10427 * gdb.threads/check-libthread-db.exp: New file.
10428 * gdb.threads/check-libthread-db.c: Likewise.
10429
10430 2018-06-05 Tom Tromey <tom@tromey.com>
10431
10432 * gdb.base/default.exp: Update expected "show version" output.
10433
10434 2018-06-05 Tom Tromey <tom@tromey.com>
10435
10436 PR cli/12326:
10437 * gdb.cp/static-print-quit.exp: Update.
10438 * lib/gdb.exp (pagination_prompt): Update.
10439 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10440 * gdb.python/python.exp: Update.
10441
10442 2018-06-04 Joel Brobecker <brobecker@adacore.com>
10443
10444 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10445
10446 2018-06-01 Joel Brobecker <brobecker@adacore.com>
10447
10448 * gdb.ada/bp_fun_addr: New testcase.
10449
10450 2018-06-01 Tom Tromey <tom@tromey.com>
10451
10452 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10453 results.
10454 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10455 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10456 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10457 * gdb.base/maint.exp (maint_pass_if): Update.
10458
10459 2018-05-31 Maciej W. Rozycki <macro@mips.com>
10460
10461 * gdb.base/endian.exp: New test.
10462 * gdb.base/endian.c: New test source.
10463
10464 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10465
10466 PR gdb/23203
10467 * gdb.base/bt-selected-frame.c: New file.
10468 * gdb.base/bt-selected-frame.exp: New file.
10469 * lib/gdb.exp (get_current_frame_number): New function.
10470
10471 2018-05-24 Maciej W. Rozycki <macro@mips.com>
10472 Pedro Alves <palves@redhat.com>
10473
10474 * gdb.threads/tls-core.c: Include <stdlib.h>
10475 (thread_proc): Call `abort'.
10476 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10477 (tls_core_test): New procedure, bits factored out from ...
10478 (top level): ... here. Test both native cores and gcore cores.
10479
10480 2018-05-23 Tom Tromey <tom@tromey.com>
10481
10482 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10483
10484 2018-05-23 Tom Tromey <tom@tromey.com>
10485
10486 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10487 symfile_complaints.
10488 (test_short_complaints): Likewise.
10489 (test_empty_complaints): Likewise.
10490 (test_initial_complaints): Update.
10491
10492 2018-05-23 Tom Tromey <tom@tromey.com>
10493
10494 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10495
10496 2018-05-23 Tom Tromey <tom@tromey.com>
10497
10498 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10499 (test_short_complaints): Update.
10500
10501 2018-05-22 Pedro Alves <palves@redhat.com>
10502
10503 * gdb.base/remote.exp: Only gdb_start after compiling the
10504 testcase. Issue "disconnect" before testing "set remote" command
10505 defaults. Issue clean_restart before running to main.
10506
10507 2018-05-22 Pedro Alves <palves@redhat.com>
10508
10509 * gdb.base/remote.exp: Adjust expected output of "show remote
10510 memory-write-packet-size". Add tests for "set remote
10511 memory-write-packet-size 0" and "set remote
10512 memory-write-packet-size fixed/limit".
10513
10514 2018-05-22 Pedro Alves <palves@redhat.com>
10515
10516 PR gdb/22973
10517 * gdb.base/utf8-identifiers.c: New file.
10518 * gdb.base/utf8-identifiers.exp: New file.
10519
10520 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10521
10522 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10523
10524 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10525
10526 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10527
10528 2018-05-18 Tom Tromey <tom@tromey.com>
10529
10530 * gdb.base/ptype-offsets.exp: Update.
10531
10532 2018-05-17 Keith Seitz <keiths@redhat.com>
10533
10534 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10535 in expected breakpoint stop locations.
10536 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10537 move to proper scope to test variable values.
10538 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10539 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10540 New functions.
10541 (main): Call not_inline_func3.
10542 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10543 inline_func1, inline_func2, and inline_func3. Test that when each
10544 breakpoint is hit, GDB properly reports both the stop location
10545 and the backtrace. Repeat tests for temporary breakpoints.
10546
10547 2018-05-15 Maciej W. Rozycki <macro@mips.com>
10548
10549 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10550 rather then trying to access it in determining whether the PID
10551 of `gdbserver' could have been retrieved.
10552
10553 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10554
10555 * gdb.arch/amd64-init-x87-values.S: New file.
10556 * gdb.arch/amd64-init-x87-values.exp: New file.
10557
10558 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10559
10560 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10561
10562 2018-05-04 Tom Tromey <tom@tromey.com>
10563
10564 PR python/22730:
10565 * gdb.python/python.exp: Test multi-line execute.
10566
10567 2018-05-04 Tom Tromey <tom@tromey.com>
10568
10569 PR python/22731:
10570 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10571
10572 2018-05-04 Tom Tromey <tom@tromey.com>
10573
10574 PR gdb/11750:
10575 * gdb.base/define.exp: Test defining a user command inside a user
10576 command.
10577 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10578
10579 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10580 Pedro Alves <palves@redhat.com>
10581
10582 PR breakpoints/19806 and support for PR external/20207.
10583 * gdb.base/watchpoint-unaligned.c: New file.
10584 * gdb.base/watchpoint-unaligned.exp: New file.
10585
10586 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10587
10588 * gdb.base/maint.exp: Make test names unique, use
10589 test_prefix_command_help to test 'help maint info', and remove
10590 repeated test of 'help maint'.
10591
10592 2018-05-04 Tom Tromey <tom@tromey.com>
10593
10594 PR gdb/22619:
10595 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10596 behavior.
10597
10598 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10599
10600 * gdb.base/maint.exp: Process output from 'maint print registers'
10601 line at a time.
10602
10603 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10604
10605 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10606 timeout.
10607
10608 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10609
10610 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10611 filter pattern.
10612
10613 2018-05-02 Pedro Alves <palves@redhat.com>
10614
10615 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10616 to_log_command renames.
10617 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10618
10619 2018-05-02 Tom Tromey <tom@tromey.com>
10620
10621 * gdb.python/py-parameter.exp: Set test message.
10622
10623 2018-05-02 Tom Tromey <tom@tromey.com>
10624
10625 PR python/20084:
10626 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10627 PARAM_ZUINTEGER_UNLIMITED tests.
10628
10629 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10630
10631 PR rust/23124
10632 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10633 when casting.
10634
10635 2018-04-30 Tom Tromey <tom@tromey.com>
10636
10637 * gdb.python/py-type.exp: Check align attribute.
10638 * gdb.python/py-type.c: New "aligncheck" global.
10639
10640 2018-04-30 Tom Tromey <tom@tromey.com>
10641
10642 PR exp/17095:
10643 * gdb.dwarf2/dw2-align.exp: New file.
10644 * gdb.cp/align.exp: New file.
10645 * gdb.base/align.exp: New file.
10646 * lib/gdb.exp (gdb_int128_helper): New proc.
10647 (has_int128_c, has_int128_cxx): New caching procs.
10648
10649 2018-04-27 Tom Tromey <tom@tromey.com>
10650
10651 PR rust/22545:
10652 * gdb.rust/simple.exp: Add inclusive range tests.
10653
10654 2018-04-26 Pedro Alves <palves@redhat.com>
10655
10656 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10657 ifunc breakpoint locations correctly of ifunc breakpoints set
10658 while the program resolves the ifunc.
10659
10660 2018-04-26 Pedro Alves <palves@redhat.com>
10661
10662 * gdb.base/gnu-ifunc-final.c: New file.
10663 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10664 * gdb.base/gnu-ifunc.exp (executable): Delete.
10665 (staticexecutable): Adjust.
10666 (lib_opts, exec_opts): Delete.
10667 (make_binsuffix, build, set-break): New procedures.
10668 (misc_tests): New, with tests factored out from the top level.
10669 (top level): Test different combinations of ifunc resolver name,
10670 resolver with and with debug info, and ifunc target with and
10671 without debug info. Wrap static tests with with_target_prefix.
10672
10673 2018-04-26 Pedro Alves <palves@redhat.com>
10674
10675 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10676 return type" warnings.
10677
10678 2018-04-25 Pedro Alves <palves@redhat.com>
10679
10680 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10681 killed".
10682 * gdb.base/kill-after-signal.exp: Likewise.
10683 * gdb.threads/kill.exp: Likewise.
10684
10685 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10686 Sergio Durigan Junior <sergiodj@redhat.com>
10687 Pedro Alves <palves@redhat.com>
10688
10689 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10690 regexps to expect for '[Inferior ... detached]' as well.
10691 * gdb.base/attach.exp: Likewise.
10692 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10693 "gdb_continue_to_end".
10694 (test_catch_syscall_with_wrong_args): Likewise.
10695 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10696 ']'. Don't set 'verbose' on.
10697 * gdb.base/foll-vfork.exp: Likewise.
10698 * gdb.base/fork-print-inferior-events.c: New file.
10699 * gdb.base/fork-print-inferior-events.exp: New file.
10700 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10701 '[Inferior ... has been killed]' message.
10702 * gdb.base/kill-after-signal.exp: Likewise.
10703 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10704 detach message.
10705 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10706 message.
10707 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10708 regexps to expect for '[Inferior ... detached]' as well.
10709 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10710
10711 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10712
10713 PR gdb/23104
10714 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10715
10716 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10717
10718 PR gdb/23095
10719 * gdb.base/break-probes.exp: Pass shlib_load to
10720 prepare_for_testing. Set normal_bp to r_debug_state if target is
10721 bsd.
10722
10723 2018-04-19 Richard Bunt <richard.bunt@arm.com>
10724
10725 * gdb.threads/multiple-successive-infcall.c: New test.
10726 * gdb.threads/multiple-successive-infcall.exp: New file.
10727
10728 2018-04-17 Tom Tromey <tom@tromey.com>
10729
10730 * gdb.rust/simple.rs (Union): New type.
10731 (main): New local "u".
10732 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10733
10734 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10735
10736 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10737 number information in output of "whereis" command.
10738 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10739
10740 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10741
10742 * gdb.ada/info_types.exp: Adjust expected output to the line
10743 numbers now printed by "info var/func/type".
10744 * gdb.base/completion.exp: Likewise.
10745 * gdb.base/included.exp: Likewise.
10746 * gdb.cp/cp-relocate.exp: Likewise.
10747 * gdb.cp/cplusfuncs.exp: Likewise.
10748 * gdb.cp/namespace.exp: Likewise.
10749 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10750
10751 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10752
10753 * gdb.btrace/cpu.exp: New.
10754
10755 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10756
10757 * gdb.base/step-indirect-call-thunk.exp: New.
10758 * gdb.base/step-indirect-call-thunk.c: New.
10759 * gdb.reverse/step-indirect-call-thunk.exp: New.
10760 * gdb.reverse/step-indirect-call-thunk.c: New.
10761
10762 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10763
10764 * gdb.base/pie-fork.c: New file.
10765 * gdb.base/pie-fork.exp: New file.
10766
10767 2018-04-11 Tom Tromey <tom@tromey.com>
10768
10769 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10770
10771 2018-04-10 Pedro Alves <palves@redhat.com>
10772
10773 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10774 exits. Instead loop running forever.
10775 (fork_parent): Run forever too.
10776
10777 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10778
10779 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10780 mi_continue_to_line.
10781 * gdb.mi/mi-stack.c (callee4): Add comment.
10782
10783 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10784
10785 * gdb.mi/mi-stack.exp: Fix indentation.
10786
10787 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10788
10789 PR gdb/22979
10790 * gdb.arch/amd64-osabi.exp: New file.
10791
10792 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10793
10794 PR gdb/22980
10795 * gdb.base/osabi.exp: New file.
10796
10797 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
10798
10799 * gdb.cp/static-typedef-print.exp: New file.
10800 * gdb.cp/static-typedef-print.cc: New file.
10801
10802 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10803
10804 * gdb.ada/varsize_limit: New testcase.
10805
10806 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10807
10808 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10809
10810 * gdb.ada/notcplusplus: New testcase.
10811
10812 * gdb.base/c-linkage-name.c: New file.
10813 * gdb.base/c-linkage-name.exp: New testcase.
10814
10815 2018-03-26 Tom Tromey <tom@tromey.com>
10816
10817 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10818 * gdb.python/py-framefilter.py (name_error): New global.
10819 (ErrorInName.function): Use name_error.
10820
10821 2018-03-26 Tom Tromey <tom@tromey.com>
10822
10823 PR backtrace/15582:
10824 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10825
10826 2018-03-23 Keith Seitz <keiths@redhat.com>
10827
10828 PR c++/22968
10829 * gdb.cp/subtypes.exp: New file.
10830 * gdb.cp/subtypes.h: New file.
10831 * gdb.cp/subtypes.cc: New file.
10832 * gdb.cp/subtypes-2.cc: New file.
10833
10834 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10835
10836 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10837 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10838 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10839 -nostartfiles when compiling the test. Confirm that all registers
10840 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10841
10842 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10843
10844 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10845 option, syntax was wrong anyway.
10846 * gdb.arch/arm-disp-step.exp: Likewise.
10847 * gdb.arch/sparc64-regs.exp: Likewise.
10848 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10849 option, syntax was wrong anyway, switch to use
10850 prepare_for_testing.
10851 * gdb.arch/i386-disp-step.exp: Likewise.
10852
10853 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10854
10855 * gdb.ada/exec_changed.exp: Replace "target_info exists
10856 use_gdb_stub" by "use_gdb_stub".
10857 * gdb.ada/start.exp: Likewise.
10858 * gdb.base/async-shell.exp: Likewise.
10859 * gdb.base/attach-pie-misread.exp: Likewise.
10860 * gdb.base/attach-wait-input.exp: Likewise.
10861 * gdb.base/break-entry.exp: Likewise.
10862 * gdb.base/break-interp.exp: Likewise.
10863 * gdb.base/dprintf-detach.exp: Likewise.
10864 * gdb.base/nostdlib.exp: Likewise.
10865 * gdb.base/solib-nodir.exp: Likewise.
10866 * gdb.base/statistics.exp: Likewise.
10867 * gdb.base/testenv.exp: Likewise.
10868 * gdb.mi/mi-exec-run.exp: Likewise.
10869 * gdb.mi/mi-start.exp: Likewise.
10870 * gdb.multi/dummy-frame-restore.exp: Likewise.
10871 * gdb.multi/multi-arch-exec.exp: Likewise.
10872 * gdb.multi/multi-arch.exp: Likewise.
10873 * gdb.multi/tids.exp: Likewise.
10874 * gdb.multi/watchpoint-multi.exp: Likewise.
10875 * gdb.python/py-events.exp: Likewise.
10876 * gdb.threads/attach-into-signal.exp: Likewise.
10877 * gdb.threads/attach-stopped.exp: Likewise.
10878 * gdb.threads/threadapply.exp: Likewise.
10879 * lib/selftest-support.exp: Likewise.
10880
10881 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10882
10883 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10884
10885 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10886
10887 * gdb.perf/template-breakpoints.cc: New file.
10888 * gdb.perf/template-breakpoints.exp: New file.
10889 * gdb.perf/template-breakpoints.py: New file.
10890
10891 2018-03-19 Tom Tromey <tom@tromey.com>
10892
10893 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10894 y0.
10895 * gdb.rust/simple.exp: Test bare identifier form of struct
10896 initializer.
10897
10898 2018-03-19 Tom Tromey <tom@tromey.com>
10899
10900 * gdb.gdb/observer.exp: Remove.
10901
10902 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10903
10904 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10905 "qualified" option when setting breakpoints.
10906 * gdb.trace/backtrace.exp: Likewise.
10907 * gdb.trace/circ.exp: Likewise.
10908 * gdb.trace/collection.exp: Likewise.
10909 * gdb.trace/disconnected-tracing.exp: Likewise.
10910 * gdb.trace/ftrace-lock.exp: Likewise.
10911 * gdb.trace/ftrace.exp: Likewise.
10912 * gdb.trace/infotrace.exp: Likewise.
10913 * gdb.trace/packetlen.exp: Likewise.
10914 * gdb.trace/passc-dyn.exp: Likewise.
10915 * gdb.trace/qtro.exp: Likewise.
10916 * gdb.trace/read-memory.exp: Likewise.
10917 * gdb.trace/report.exp: Likewise.
10918 * gdb.trace/signal.exp: Likewise.
10919 * gdb.trace/status-stop.exp: Likewise.
10920 * gdb.trace/strace.exp: Likewise.
10921 * gdb.trace/tfind.exp: Likewise.
10922 * gdb.trace/trace-break.exp: Likewise.
10923 * gdb.trace/trace-condition.exp: Likewise.
10924 * gdb.trace/trace-mt.exp: Likewise.
10925 * gdb.trace/tstatus.exp: Likewise.
10926 * gdb.trace/tsv.exp: Likewise.
10927 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10928 * gdb.trace/unavailable.exp: Likewise.
10929 * gdb.trace/while-dyn.exp: Likewise.
10930
10931 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10932
10933 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10934 that libinproctrace is copied to the target.
10935
10936 2018-03-14 Tom Tromey <tom@tromey.com>
10937
10938 PR cli/14977:
10939 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10940 a null pointer.
10941 * gdb.base/wchar.exp: Likewise.
10942
10943 2018-03-14 Tom Tromey <tom@tromey.com>
10944
10945 PR cli/19918:
10946 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10947 flag.
10948
10949 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10950
10951 PR gdb/22841
10952 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10953 "target" to remote_exec.
10954
10955 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10956
10957 PR gdb/22841
10958 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10959 ${board}_upload): Remove.
10960
10961 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10962
10963 * gdb.cp/watch-cp.cc: New test.
10964 * gdb.cp/watch-cp.exp: New file.
10965
10966 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10967
10968 * gdb.base/infcall-nested-structs.exp: New file.
10969 * gdb.base/infcall-nested-structs.c: New file.
10970 * gdb.base/float.exp: Add riscv support.
10971
10972 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10973
10974 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10975 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10976
10977 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10978
10979 * gdb.server/abspath.exp: New file.
10980 * lib/gdb.exp (with_cwd): New procedure.
10981
10982 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10983
10984 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10985 use it.
10986 (gdb_is_target_remote_prompt): New proc.
10987 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10988 (gdb_is_target_native): Pass prompt parameter to
10989 gdb_is_target_1.
10990
10991 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10992
10993 * gdb.base/load-command.c: New file.
10994 * gdb.base/load-command.exp: New file.
10995 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10996 (gdb_is_target_1): ...this, and generalize for other targets
10997 than just remote.
10998 (gdb_is_target_remote): Use gdb_is_target_1.
10999 (gdb_is_target_native): use gdb_is_target_1.
11000
11001 2018-02-26 Tom Tromey <tom@tromey.com>
11002
11003 PR python/16497:
11004 * gdb.python/py-framefilter.exp: Update test.
11005
11006 2018-02-26 Tom Tromey <tom@tromey.com>
11007
11008 * gdb.dwarf2/variant.c: New file.
11009 * gdb.dwarf2/variant.exp: New file.
11010
11011 2018-02-26 Tom Tromey <tom@tromey.com>
11012
11013 * gdb.rust/simple.exp: Accept more possible results in enum test.
11014
11015 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
11016
11017 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
11018 parentheses.
11019
11020 2018-02-23 Maciej W. Rozycki <macro@mips.com>
11021
11022 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
11023 name of a variable: $actual_linejj -> $actual_line.
11024
11025 2018-02-21 John Baldwin <jhb@FreeBSD.org>
11026
11027 * gdb.arch/amd64-i386-address.exp: Fix a typo.
11028
11029 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
11030
11031 * gdb.btrace/buffer-size.exp: Do not force BTS.
11032
11033 2018-02-14 Pedro Alves <palves@redhat.com>
11034
11035 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
11036 getting a "Quit".
11037
11038 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
11039
11040 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
11041 Fix test name.
11042
11043 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
11044
11045 * gdb.cp/m-static.exp: Check type of optimized out static
11046 member.
11047
11048 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
11049
11050 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
11051 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
11052
11053 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
11054 Leszek Swirski <leszeks@google.com>
11055
11056 * gdb.python/py-prettyprint.c
11057 (struct to_string_returns_value_inner,
11058 struct to_string_returns_value_wrapper): New.
11059 (main): Add tsrvw variable.
11060 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11061 ToStringReturnsValueWrapper): New classes.
11062 (register_pretty_printers): Register new pretty-printers.
11063 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11064 recursive pretty printer.
11065 * gdb.python/py-mi.exp: Likewise.
11066
11067 2018-02-01 Leszek Swirski <leszeks@google.com>
11068
11069 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11070 functions with the same name as an include file are parsed
11071 correctly.
11072
11073 2018-02-01 Yao Qi <yao.qi@linaro.org>
11074
11075 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11076 "\[^\r\n\]*".
11077
11078 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11079
11080 * gdb.arch/powerpc-prologue-frame.s: New file.
11081 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11082 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11083
11084 2018-01-31 Joel Brobecker <brobecker@adacore.com>
11085
11086 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11087
11088 2018-01-30 Pedro Alves <palves@redhat.com>
11089
11090 PR gdb/13211
11091 * gdb.base/interrupt-daemon.c: New.
11092 * gdb.base/interrupt-daemon.exp: New.
11093 * gdb.multi/multi-term-settings.c: New.
11094 * gdb.multi/multi-term-settings.exp: New.
11095
11096 2018-01-30 Joel Brobecker <brobecker@adacore.com>
11097
11098 * gdb.base/break.exp: Save the location where the breakpoint
11099 on break.c:47 was actually inserted when debugging the version
11100 compiled at -O2 and use it in the expected output of the "info
11101 break" test performed soon after.
11102
11103 2018-01-22 Pedro Alves <palves@redhat.com>
11104 Sergio Durigan Junior <sergiodj@redhat.com>
11105
11106 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11107 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11108
11109 2018-01-22 Joel Brobecker <brobecker@adacore.com>
11110
11111 * gdb.base/break-include.c, gdb.base/break-include.inc,
11112 gdb.base/break-include.exp: New files.
11113 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11114 line number now being the actual line number where the breakpoint
11115 was inserted.
11116 * gdb.mi/mi-break.exp: Likewise.
11117 * gdb.mi/mi-reverse.exp: Likewise.
11118 * gdb.mi/mi-simplerun.exp: Ditto.
11119
11120 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11121
11122 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11123 varobj.
11124 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11125
11126 2018-01-21 Don Breazeal <donb@codesourcery.com>
11127 Andrew Burgess <andrew.burgess@embecosm.com>
11128
11129 * gdb.mi/basics.c: Add new global.
11130 * gdb.mi/mi-frame-regs.exp: New file.
11131 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11132 case.
11133
11134 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11135
11136 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11137 non-parameter, and on an unknown symbol.
11138
11139 2018-01-19 Tom Tromey <tom@tromey.com>
11140
11141 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11142 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11143
11144 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11145
11146 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11147 setrlimit and chdir to int.
11148
11149 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11150
11151 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11152 function.
11153 (my_tend): Likewise.
11154 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11155 rationale of avoiding FP- and vector instructions.
11156
11157 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11158
11159 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11160 "info reg" with "\[ \t\]*".
11161 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11162 "\[ \t\]+".
11163 * gdb.arch/s390-multiarch.exp: Ditto.
11164 * gdb.base/pc-fp.exp: Ditto.
11165 * gdb.reverse/i386-precsave.exp: Ditto.
11166 * gdb.reverse/i386-reverse.exp: Ditto.
11167 * gdb.reverse/i387-env-reverse.exp: Ditto.
11168 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11169
11170 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11171
11172 * lib/gdb.exp (gdb_compile): Re-enable use of
11173 universal_compile_options for languages other than Rust.
11174
11175 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11176
11177 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11178
11179 2018-01-17 Mike Gulick <mgulick@mathworks.com>
11180
11181 PR gdb/16577
11182 * gdb.base/solib-vanish.exp: New.
11183 * gdb.base/solib-vanish-main.c: New.
11184 * gdb.base/solib-vanish-lib1.c: New.
11185 * gdb.base/solib-vanish-lib2.c: New.
11186
11187 2018-01-17 Yao Qi <yao.qi@linaro.org>
11188
11189 * gdb.compile/compile.exp: Match the address printed for
11190 frame in the output of command "bt".
11191
11192 2018-01-15 Tom Tromey <tom@tromey.com>
11193
11194 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11195 compute sp_reg.
11196
11197 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11198
11199 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11200 to prepare.
11201 (prepare): Return 0 on error, 1 on success.
11202
11203 2018-01-12 Pedro Alves <palves@redhat.com>
11204
11205 * gdb.base/continue-after-aborted-step-over.c: New.
11206 * gdb.base/continue-after-aborted-step-over.exp: New.
11207
11208 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11209
11210 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11211 options when not creating an executable.
11212
11213 2018-01-11 Pedro Alves <palves@redhat.com>
11214
11215 PR remote/22597
11216 * gdb.server/stop-reply-no-thread.c: New file.
11217 * gdb.server/stop-reply-no-thread.exp: New file.
11218
11219 2018-01-10 Pedro Alves <palves@redhat.com>
11220
11221 PR gdb/22670
11222 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11223 functions too. Test setting breakpoints and printing C functions
11224 with no debug info too.
11225 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11226
11227 2018-01-10 Pedro Alves <palves@redhat.com>
11228
11229 PR gdb/22670
11230 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11231 a fail.
11232
11233 2018-01-10 Pedro Alves <palves@redhat.com>
11234
11235 PR gdb/22670
11236 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11237
11238 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11239
11240 * gdb.server/unittest.exp: Match the output in non-development
11241 mode.
11242
11243 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11244
11245 * gdb.gdb/unittest.exp: Match output in non-development mode.
11246
11247 2018-01-08 Joel Brobecker <brobecker@adacore.com>
11248
11249 * gdb.ada/access_tagged_param.exp: Relax expected output
11250 for value of "ObjL" in "continue" to pck.inspect breakpoint
11251 test.
11252
11253 2018-01-08 Joel Brobecker <brobecker@adacore.com>
11254
11255 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11256 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
11257
11258 2018-01-05 Pedro Alves <palves@redhat.com>
11259
11260 PR gdb/18653
11261 * gdb.base/libsegfault.exp: New.
11262
11263 2018-01-05 Joel Brobecker <brobecker@adacore.com>
11264
11265 PR gdb/22670
11266 * gdb.ada/access_tagged_param.exp: New file.
11267 * gdb.ada/access_tagged_param/foo.adb: New file.
11268
11269 2018-01-05 Pedro Alves <palves@redhat.com>
11270
11271 PR gdb/22670
11272 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11273 exercise lower case too, and to exercise both full matching and
11274 wild matching.
11275
11276 2018-01-05 Joel Brobecker <brobecker@adacore.com>
11277
11278 * gdb.ada/rename_subscript_param: New testcase.
11279
11280 2018-01-05 Jerome Guitton <guitton@adacore.com>
11281
11282 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11283
11284 2018-01-05 Joel Brobecker <brobecker@adacore.com>
11285
11286 * gdb.ada/convvar_comp: New testcase.
11287
11288 2018-01-05 Xavier Roirand <roirand@adacore.com>
11289
11290 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11291 (My_Table): New global variable.
11292 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11293
11294 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11295
11296 PR gdb/22670
11297 * gdb.ada/maint_with_ada: New testcase.
11298
11299 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11300
11301 PR gdb/22670
11302 * gdb.ada/bp_c_mixed_case: New testcase.
11303
11304 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11305
11306 PR gdb/22670
11307 * gdb.ada/complete.exp: Add "complete break ada" test.
11308
11309 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11310
11311 PR gdb/22670
11312 * gdb.ada/info_addr_mixed_case: New testcase.
11313
11314 2018-01-03 Xavier Roirand <roirand@adacore.com>
11315
11316 * gdb.ada/excep_handle.exp: New testcase.
11317 * gdb.ada/excep_handle/foo.adb: New file.
11318 * gdb.ada/excep_handle/pck.ads: New file.
11319
11320 2018-01-03 Joel Brobecker <brobecker@adacore.com>
11321
11322 * gdb.base/step-line.c: Add extra empty line in copyright header.
11323 * gdb.base/step-line.inp: Likewise.
11324
11325 2018-01-02 Joel Brobecker <brobecker@adacore.com>
11326
11327 * gdb.ada/dyn_stride.exp: Add slice test.
11328
11329 2018-01-02 Joel Brobecker <brobecker@adacore.com>
11330
11331 * gdb.ada/dyn_stride: New testcase.
11332
11333 2017-12-27 Stafford Horne <shorne@gmail.com>
11334
11335 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11336 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11337
11338 2017-12-27 Stafford Horne <shorne@gmail.com>
11339
11340 * gdb.base/reggroups.c: New file.
11341 * gdb.base/reggroups.exp: New file.
11342
11343 2017-12-18 Joel Brobecker <brobecker@adacore.com>
11344
11345 * gdb.dwarf2/ada-valprint-error.c: New file.
11346 * gdb.dwarf2/ada-valprint-error.exp: New file.
11347
11348 2017-12-18 Joel Brobecker <brobecker@adacore.com>
11349
11350 * gdb.ada/assign_arr: New testcase.
11351
11352 2017-12-18 Xavier Roirand <roirand@adacore.com>
11353
11354 * gdb.ada/funcall_ptr: New testcase.
11355
11356 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11357
11358 PR cli/16224
11359 * gdb.base/ptype-offsets.cc: New file.
11360 * gdb.base/ptype-offsets.exp: New file.
11361
11362 2017-12-15 Yao Qi <yao.qi@linaro.org>
11363
11364 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11365 if XML is disabled.
11366
11367 2017-12-15 Xavier Roirand <roirand@adacore.com>
11368
11369 * gdb.ada/same_component_name: New testcase.
11370
11371 2017-12-14 Joel Brobecker <brobecker@adacore.com>
11372
11373 * gdb.ada/str_binop_equal: New testcase.
11374
11375 2017-12-14 Joel Brobecker <brobecker@adacore.com>
11376
11377 * gdb.ada/task_switch_in_core: New testcase.
11378
11379 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11380
11381 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11382 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11383 call test_bkpt_qualified.
11384 (test_bkpt_qualified): New proc.
11385
11386 2017-12-13 Pedro Alves <palves@redhat.com>
11387
11388 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11389 Tighten regexp by matching with an anchor.
11390
11391 2017-12-13 Pedro Alves <palves@redhat.com>
11392
11393 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11394 ("expression with namespace"): New set of tests.
11395 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11396 (Nested::Test_NS::qux): New.
11397 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11398 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11399
11400 2017-12-13 Joel Brobecker <brobecker@adacore.com>
11401
11402 * gdb.base/server-del-break.c: New file.
11403 * gdb.base/server-del-break.exp: New file.
11404
11405 2017-12-12 Stafford Horne <shorne@gmail.com>
11406
11407 * gdb.xml/tdesc-regs.exp: Add or1k support.
11408
11409 2017-12-12 Stafford Horne <shorne@gmail.com>
11410
11411 * gdb.base/bp-permanent.c: Define nop of or1k.
11412
11413 2017-12-11 Joel Brobecker <brobecker@adacore.com>
11414
11415 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11416 output with components being reordered.
11417
11418 2017-12-11 Joel Brobecker <brobecker@adacore.com>
11419
11420 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11421 output with components being reordered.
11422
11423 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11424 Pedro Alves <palves@redhat.com>
11425
11426 * gdb.base/maint.exp (check for .gdb_index): Check also for
11427 .debug_names.
11428 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11429 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11430 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11431 (.gdb_index used after symbol reloading): Support also .debug_names.
11432 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11433
11434 2017-12-08 Yao Qi <yao.qi@linaro.org>
11435
11436 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11437 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11438
11439 2017-12-08 Yao Qi <yao.qi@linaro.org>
11440
11441 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11442 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11443
11444 2017-12-08 Yao Qi <yao.qi@linaro.org>
11445
11446 * gdb.arch/aarch64-tagged-pointer.c: New file.
11447 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11448
11449 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11450
11451 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11452 "int".
11453
11454 2017-12-07 Keith Seitz <keiths@redhat.com>
11455
11456 PR breakpoints/22569
11457 * gdb.linespec/ls-errs.exp: Change expected result of "break
11458 -source this file has spaces.c -line 3".
11459 Check that an explicit source file followed by whitespace is
11460 identified as an invalid explicit location.
11461
11462 2017-12-07 Keith Seitz <keiths@redhat.com>
11463
11464 * gdb.cp/nested-types.cc: New file.
11465 * gdb.cp/nested-types.exp: New file.
11466 * lib/cp-support.exp: Load data-structures.exp library.
11467 (debug_cp_test_ptype_class): New global.
11468 (cp_ptype_class_verbose, next_line): New procedures.
11469 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11470 Add and document new return value.
11471 Switch the list of lines to a queue.
11472 Add support for new `type' key for nested type definitions.
11473 Add debugging/troubleshooting messages.
11474 * lib/data-structures.exp: New file.
11475
11476 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11477
11478 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11479 with proc_with_prefix, don't use with_test_prefix.
11480
11481 2017-12-07 Tom Tromey <tom@tromey.com>
11482
11483 * gdb.base/break.exp: Add test for empty "commands".
11484
11485 2017-12-07 Yao Qi <yao.qi@linaro.org>
11486
11487 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11488 malloc and catch syscall.
11489
11490 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11491
11492 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
11493 tests for explicit locations.
11494
11495 2017-12-06 Pedro Alves <palves@redhat.com>
11496
11497 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11498 force-disabling XML descriptions.
11499
11500 2017-12-04 Pedro Alves <palves@redhat.com>
11501
11502 PR gdb/22499
11503 * gdb.arch/amd64-disp-step-avx.S: New file.
11504 * gdb.arch/amd64-disp-step-avx.exp: New file.
11505
11506 2017-12-03 Pedro Alves <palves@redhat.com>
11507
11508 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11509 and <string.h>.
11510 (parent_function): Print distinct messages when waitpid fails, or
11511 the child exits with a signal, or the child exits for an unhandled
11512 reason.
11513 * gdb.threads/process-dies-while-detaching.exp
11514 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11515 it. Wait for both inferior output and GDB's prompt. Use an
11516 indirect spawn id list.
11517 (do_detach): New parameter 'child_exit'. Use it to compute
11518 expected inferior output.
11519 (test_detach, test_detach_watch, test_detach_killed_outside):
11520 Adjust to pass down the expected child exit kind.
11521
11522 2017-12-01 Joel Brobecker <brobecker@adacore.com>
11523 Sergio Durigan Junior <sergiodj@redhat.com>
11524 Pedro Alves <palves@redhat.com>
11525
11526 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11527
11528 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11529
11530 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11531 to 'symbol-file' and 'add-symbol-file' can be
11532 position-independent.
11533
11534 2017-12-01 Yao Qi <yao.qi@linaro.org>
11535
11536 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11537 the URL in copyright header.
11538 * gdb.arch/aarch64-fp.exp: Likewise.
11539 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11540 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11541 * gdb.base/expand-psymtabs.exp: Likewise.
11542 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11543 * gdb.fortran/common-block.exp: Likewise.
11544 * gdb.fortran/common-block.f90: Likewise.
11545 * gdb.fortran/logical.exp: Likewise.
11546 * gdb.fortran/vla-datatypes.f90: Likewise.
11547 * gdb.fortran/vla-sub.f90: Likewise.
11548
11549 2017-11-30 Joel Brobecker <brobecker@adacore.com>
11550
11551 * gdb.ada/repeat_dyn: New testcase.
11552
11553 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11554
11555 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11556 Update for changed thread numbering.
11557 * gdb.cell/bt.exp: Update for changed GDB output.
11558
11559 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11560
11561 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11562 setting isremote by hand.
11563 * boards/dwarf4-gdb-index.exp: Likewise.
11564 * boards/fission.exp: Likewise.
11565 * boards/stabs.exp: Likewise.
11566
11567 2017-11-30 Pedro Alves <palves@redhat.com>
11568
11569 * gdb.linespec/cpls-ops.exp
11570 (check_explicit_skips_function_argument): Extract the underlying
11571 type of size_t instead of hardcoding it.
11572
11573 2017-11-29 Pedro Alves <palves@redhat.com>
11574
11575 PR c++/19436
11576 * gdb.linespec/cpls-abi-tag.cc: New file.
11577 * gdb.linespec/cpls-abi-tag.exp: New file.
11578
11579 2017-11-29 Pedro Alves <palves@redhat.com>
11580
11581 * gdb.base/langs.exp: Use -qualified.
11582 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11583 it.
11584 * gdb.cp/namespace.exp: Use -qualified.
11585 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11586 (overload-3, template-overload, template-ret-type, const-overload)
11587 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11588 procedures.
11589 (test_driver): Call them.
11590 * gdb.cp/save-bp-qualified.cc: New.
11591 * gdb.cp/save-bp-qualified.exp: New.
11592 * gdb.linespec/explicit.exp: Test -qualified.
11593 * lib/completion-support.exp (completion::explicit_opts_list): Add
11594 "-qualified".
11595 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11596
11597 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11598
11599 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11600
11601 2017-11-29 Tom Tromey <tom@tromey.com>
11602
11603 * gdb.base/relocate.exp: Update invalid argument test.
11604 Add new tests for invalid arguments.
11605
11606 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11607
11608 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11609 Return 0 as a long.
11610 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11611
11612 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11613
11614 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11615 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11616 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11617 func ().
11618 * gdb.cp/shadow.cc (B.func): Return 0.
11619
11620 2017-11-27 Joel Brobecker <brobecker@adacore.com>
11621
11622 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11623 expected output in gdb_expect call to allow the exception
11624 message to be present as well. Fix syntax confusion to avoid
11625 TCL thinking that exception_name is an array.
11626
11627 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11628
11629 * gdb.arch/spu-info.c: Include <unistd.h>.
11630 (do_signal_test): Fix broken calls to write.
11631 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11632 Fix checks for empty mailboxes. Update signal tests for corrected
11633 do_signal_test routine. Allow nonzero event status.
11634 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11635 * gdb.cell/arch.exp: Use standard_output_file.
11636 * gdb.cell/break.exp: Likewise.
11637 * gdb.cell/bt.exp: Likewise.
11638 * gdb.cell/core.exp: Likewise.
11639 * gdb.cell/dwarfaddr.exp: Likewise.
11640 * gdb.cell/ea-cache.exp: Likewise.
11641 * gdb.cell/ea-standalone.exp: Likewise.
11642 * gdb.cell/f-regs.exp: Likewise.
11643 * gdb.cell/fork.exp: Likewise.
11644 * gdb.cell/gcore.exp: Likewise.
11645 * gdb.cell/mem-access.exp: Likewise.
11646 * gdb.cell/ptype.exp: Likewise.
11647 * gdb.cell/registers.exp: Likewise.
11648 * gdb.cell/sizeof.exp: Likewise.
11649 * gdb.cell/solib-symbol.exp: Likewise.
11650 * gdb.cell/solib.exp: Likewise.
11651
11652 2017-11-25 Pedro Alves <palves@redhat.com>
11653
11654 * gdb.base/complete-empty.exp: New file.
11655 * gdb.base/completion.exp: Adjust.
11656
11657 2017-11-25 Pedro Alves <palves@redhat.com>
11658
11659 * gdb.linespec/cpls-ops.cc: New file.
11660 * gdb.linespec/cpls-ops.exp: New file.
11661 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11662 factored out from ...
11663 (test_complete_prefix_range): ... this.
11664
11665 2017-11-24 Pedro Alves <palves@redhat.com>
11666
11667 * gdb.linespec/cpcompletion.exp: New file.
11668 * gdb.linespec/cpls-hyphen.cc: New file.
11669 * gdb.linespec/cpls.cc: New file.
11670 * gdb.linespec/cpls2.cc: New file.
11671 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11672 test to use test_gdb_complete_unique. Add label completion,
11673 keyword completion and explicit location completion tests.
11674 * lib/completion-support.exp: New file.
11675
11676 2017-11-24 Joel Brobecker <brobecker@adacore.com>
11677
11678 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11679 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11680 when hitting an exception catchpoint.
11681
11682 2017-11-22 Yao Qi <yao.qi@linaro.org>
11683
11684 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11685
11686 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11687
11688 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11689 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11690 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11691
11692 2017-11-22 Yao Qi <yao.qi@linaro.org>
11693
11694 * gdb.base/info-os.exp: Pass pthreads.
11695 * gdb.multi/multi-attach.exp: Likewise.
11696
11697 2017-11-22 Yao Qi <yao.qi@linaro.org>
11698
11699 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11700 compiler.
11701
11702 2017-11-22 Yao Qi <yao.qi@linaro.org>
11703
11704 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11705 * gdb.base/break-interp.exp: Likewise.
11706 * gdb.base/jit-attach-pie.exp: Likewise.
11707
11708 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11709
11710 * gdb.base/float128.c (large128): New variable.
11711 * gdb.base/float128.exp: Add test to print largest __float128 value.
11712
11713 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11714
11715 * gdb.arch/vsx-regs.exp: Update register content checks.
11716
11717 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11718
11719 * gdb.arch/ppc-longdouble.exp: New file.
11720 * gdb.arch/ppc-longdouble.c: Likewise.
11721
11722 2017-11-21 Pedro Alves <palves@redhat.com>
11723
11724 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11725
11726 2017-11-20 Pedro Alves <palves@redhat.com>
11727
11728 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11729 (long_double_typedef): New typedefs.
11730 Use DEF on double and long double.
11731 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11732 cases.
11733 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11734 and 'long_double_ptr_same_size' locals. Use them to decide
11735 whether cast from array/function to float is valid/invalid.
11736
11737 2017-11-17 Tom Tromey <tom@tromey.com>
11738
11739 * gdb.rust/traits.rs: New file.
11740 * gdb.rust/traits.exp: New file.
11741
11742 2017-11-17 Joel Brobecker <brobecker@adacore.com>
11743
11744 * gdb.ada/minsyms: New testcase.
11745
11746 2017-11-16 Pedro Alves <palves@redhat.com>
11747
11748 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11749 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11750
11751 2017-11-16 Pedro Alves <palves@redhat.com>
11752
11753 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11754 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11755
11756 2017-11-16 Pedro Alves <palves@redhat.com>
11757
11758 * gdb.server/reconnect-ctrl-c.c: New file.
11759 * gdb.server/reconnect-ctrl-c.exp: New file.
11760
11761 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11762
11763 * gdb.python/py-rbreak.exp: New file.
11764 * gdb.python/py-rbreak.c: New file.
11765 * gdb.python/py-rbreak-func2.c: New file.
11766
11767 2017-11-16 Pedro Alves <palves@redhat.com>
11768
11769 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11770 pattern.
11771 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11772 GDB.
11773
11774 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11775
11776 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11777 regex.
11778
11779 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11780
11781 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11782 test names.
11783
11784 2017-11-09 Pedro Alves <palves@redhat.com>
11785
11786 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11787 factored out from ...
11788 (top level): ... here, and adjusted to avoid expecting beyond the
11789 prompt in a single gdb_test_multiple.
11790
11791 2017-11-09 Pedro Alves <palves@redhat.com>
11792
11793 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11794 output.
11795 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11796 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11797 * gdb.server/ext-run.exp ("kill" test): Likewise.
11798 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11799
11800 2017-11-09 Pedro Alves <palves@redhat.com>
11801
11802 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11803 match till end of line.
11804
11805 2017-11-09 Pedro Alves <palves@redhat.com>
11806
11807 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11808
11809 2017-11-09 Pedro Alves <palves@redhat.com>
11810
11811 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11812 New procedures, factored out from ...
11813 (top level): ... here, and adjusted to avoid expecting beyond the
11814 prompt in one go.
11815
11816 2017-11-09 Pedro Alves <palves@redhat.com>
11817
11818 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11819 output. Fix '?' match.
11820
11821 2017-11-08 Joel Brobecker <brobecker@adacore.com>
11822
11823 * gdb.ada/scoped_watch: New testcase.
11824 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11825 which is actually correct.
11826 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11827 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11828
11829 2017-11-08 Pedro Alves <palves@redhat.com>
11830
11831 * gdb.gdb/complaints.exp (test_initial_complaints)
11832 (test_serial_complaints, test_short_complaints): Call
11833 complaint_internal instead of complaint.
11834
11835 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11836
11837 * gdb.threads/tls-core.c: New file.
11838 * gdb.threads/tls-core.exp: Likewise.
11839
11840 2017-11-08 Pedro Alves <palves@redhat.com>
11841
11842 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11843 (p Exported_Capitalized): New test.
11844 (p exported_capitalized): New test.
11845
11846 2017-11-07 Pedro Alves <palves@redhat.com>
11847
11848 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11849
11850 2017-11-07 Pedro Alves <palves@redhat.com>
11851
11852 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11853 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11854 (disable_invalid, disable_inverted, disable_negative): New
11855 procedures.
11856 ("bad numbers"): New set of tests.
11857
11858 2017-11-07 Pedro Alves <palves@redhat.com>
11859
11860 * gdb.cp/ena-dis-br-range.exp: Add tests.
11861
11862 2017-11-07 Pedro Alves <palves@redhat.com>
11863
11864 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11865
11866 2017-11-07 Xavier Roirand <roirand@adacore.com>
11867 Pedro Alves <palves@redhat.com>
11868
11869 * gdb.base/ena-dis-br.exp: Add reference to
11870 gdb.cp/ena-dis-br-range.exp.
11871 * gdb.cp/ena-dis-br-range.exp: New file.
11872 * gdb.cp/ena-dis-br-range.cc: New file.
11873
11874 2017-11-06 Pedro Alves <palves@redhat.com>
11875
11876 * gdb.base/attach-non-pgrp-leader.c: New.
11877 * gdb.base/attach-non-pgrp-leader.exp: New.
11878
11879 2017-11-06 Pedro Alves <palves@redhat.com>
11880
11881 * configure.ac: No longer check for termio.h and sgtty.h.
11882 * configure: Regenerate.
11883 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11884 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11885 Remove termio and sgtty code.
11886
11887 2017-11-03 Yao Qi <yao.qi@linaro.org>
11888
11889 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11890 in GDB is disabled.
11891
11892 2017-11-03 Yao Qi <yao.qi@linaro.org>
11893
11894 * gdb.python/py-thrhandle.exp: Skip it if python is not
11895 enabled.
11896
11897 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11898
11899 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11900 as a breakpoint command.
11901
11902 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11903
11904 PR python/21213
11905 * gdb.python/py-infthread.exp: Test calling
11906 InferiorThread.inferior () multiple times in a row.
11907
11908 2017-10-27 Keith Seitz <keiths@redhat.com>
11909
11910 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11911 Test "info break" for every inlined function breakpoint.
11912
11913 2017-10-27 Yao Qi <yao.qi@linaro.org>
11914
11915 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11916
11917 2017-10-26 Patrick Frants <osscontribute@gmail.com>
11918
11919 * gdb.cp/classes.exp (test_static_members): Test printing
11920 Outer::instance.
11921 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11922 (Inner::instance, Outer::instance): New.
11923
11924 2017-10-24 Pedro Alves <palves@redhat.com>
11925
11926 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11927 extra console" test in two stages.
11928
11929 2017-10-24 Pedro Alves <palves@redhat.com>
11930
11931 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11932
11933 2017-10-24 Pedro Alves <palves@redhat.com>
11934
11935 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11936 loop.
11937
11938 2017-10-24 Pedro Alves <palves@redhat.com>
11939
11940 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11941 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11942
11943 2017-10-24 Pedro Alves <palves@redhat.com>
11944
11945 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11946 parameter and handle it. Don't output read value in test name.
11947
11948 2017-10-24 Pedro Alves <palves@redhat.com>
11949
11950 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11951 custom test name.
11952
11953 2017-10-24 Pedro Alves <palves@redhat.com>
11954
11955 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11956 include the unstable output directory name in the test's name.
11957 (initial_setup_simple) <'set args'>: Use custom test name.
11958
11959 2017-10-24 Pedro Alves <palves@redhat.com>
11960
11961 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11962 with explicit test name.
11963
11964 2017-10-20 Pedro Alves <palves@redhat.com>
11965
11966 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11967 'wait -i'. Use gdb_assert and remote_close.
11968
11969 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11970
11971 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11972 number from variable rather than hard-coded.
11973
11974 2017-10-19 Pedro Alves <palves@redhat.com>
11975
11976 * gdb.base/long-inferior-output.c: New file.
11977 * gdb.base/long-inferior-output.exp: New file.
11978
11979 2017-11-18 Keith Seitz <keiths@redhat.com>
11980
11981 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11982 method.
11983 (main): Call it.
11984 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11985 Add additional user-defined conversion operator tests.
11986
11987 2017-10-17 Pedro Alves <palves@redhat.com>
11988
11989 * boards/native-stdio-gdbserver.exp: Load "local-board".
11990
11991 2017-10-17 Pedro Alves <palves@redhat.com>
11992
11993 * gdb.base/quit-live.c: New file.
11994 * gdb.base/quit-live.exp: New file.
11995
11996 2017-10-16 Keith Seitz <keiths@redhat.com>
11997
11998 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11999 (class_with_protected_typedef, class_with_private_typedef)
12000 (struct_with_public_typedef, struct_with_protected_typedef)
12001 (struct_with_private_typedef): New classes/structs.
12002 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
12003 typedefs and access specifiers.
12004
12005 2017-10-16 Pedro Alves <palves@redhat.com>
12006 Simon Marchi <simon.marchi@polymtl.ca>
12007
12008 * README (Local vs Remote vs Native): New section.
12009 * boards/local-board.exp: New file, with bits factored out from
12010 ...
12011 * boards/native-extended-gdbserver.exp: ... here. Load
12012 "local-board".
12013 * boards/native-gdbserver.exp: Load "local-board".
12014 (${board}_spawn, ${board}_exec): Delete.
12015 * boards/native-stdio-gdbserver.exp: Most contents factored out to
12016 ...
12017 * boards/stdio-gdbserver-base.exp: ... this new file.
12018 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
12019 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
12020 procedure.
12021 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
12022 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
12023 stdio_gdbserver_command.
12024 (${board}_get_remote_address, ${board}_get_comm_port)
12025 (${board}_download, ${board}_upload): Delete.
12026 (get_target_remote_pipe_cmd): New.
12027
12028 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
12029
12030 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
12031 test_bkpt_deletion, test_bkpt_cond_and_cmds,
12032 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
12033 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
12034 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
12035 remove with_test_prefix.
12036
12037 2017-10-13 Pedro Alves <palves@redhat.com>
12038
12039 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
12040 * gdb.base/annota1.exp: Use it instead of is_remote.
12041 * gdb.base/annota3.exp: Use it instead of is_remote.
12042 * gdb.cp/annota2.exp: Use it instead of is_remote.
12043 * gdb.cp/annota3.exp: Use it instead of is_remote.
12044 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
12045
12046 2017-10-13 Pedro Alves <palves@redhat.com>
12047
12048 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
12049 (test_num_test_vars, run_and_count_vars, find_env)
12050 (test_set_unset_env, test_inherit_env_var): New procedures.
12051 (top level): Use them.
12052
12053 2017-10-13 Pedro Alves <palves@redhat.com>
12054
12055 * lib/selftest-support.exp (selftest_setup): Extend comments, and
12056 also skip on stub-like targets.
12057
12058 2017-10-13 Pedro Alves <palves@redhat.com>
12059
12060 PR gdb/22293
12061 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12062 (top level): Move some tests to ...
12063 (test_not_found): ... this new procedure.
12064 (top level): Call it.
12065
12066 2017-10-13 Pedro Alves <palves@redhat.com>
12067
12068 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12069 expect different "info terminal" output if testing with a
12070 non-native target.
12071
12072 2017-10-13 Pedro Alves <palves@redhat.com>
12073 Simon Marchi <simon.marchi@polymtl.ca>
12074
12075 PR python/12966
12076 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12077
12078 2017-10-13 Pedro Alves <palves@redhat.com>
12079
12080 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12081 already.
12082
12083 2017-10-13 Pedro Alves <palves@redhat.com>
12084
12085 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12086 is_remote.
12087
12088 2017-10-13 Pedro Alves <palves@redhat.com>
12089
12090 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12091 is_remote.
12092
12093 2017-10-13 Pedro Alves <palves@redhat.com>
12094
12095 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12096 is set.
12097 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12098 instead of is_remote.
12099
12100 2017-10-13 Pedro Alves <palves@redhat.com>
12101
12102 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12103 (top level): Add comment.
12104
12105 2017-10-13 Pedro Alves <palves@redhat.com>
12106
12107 * gdb.base/remote.exp (top level): Fix comment typo and add
12108 missing return.
12109
12110 2017-10-13 Pedro Alves <palves@redhat.com>
12111 Simon Marchi <simon.marchi@polymtl.ca>
12112
12113 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12114 calls and add comments. Skip test if use_gdb_stub is set.
12115 (top level): Use "set cwd" command instead of "cd" command.
12116
12117 2017-10-13 Pedro Alves <palves@redhat.com>
12118
12119 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12120 is_remote target check.
12121
12122 2017-10-13 Pedro Alves <palves@redhat.com>
12123
12124 * gdb.base/scope.exp: Use build_executable + clean_restart +
12125 gdb_file_cmd instead of prepare_for_testing and no longer skip
12126 "before run" tests on is_remote target boards. Update comments.
12127 * boards/native-extended-gdbserver.exp
12128 (extended_gdbserver_load_last_file): New, factored out from ...
12129 (gdb_load): ... this. Move further below and add comment.
12130 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12131
12132 2017-10-12 Pedro Alves <palves@redhat.com>
12133
12134 * gdb.base/attach.exp: Remove references to gdb64.
12135 * gdb.base/dbx.exp: Remove references to gdb64.
12136
12137 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12138 Pedro Alves <palves@redhat.com>
12139
12140 * gdb.base/label.exp: Remove is_remote target check.
12141
12142 2017-10-12 Pedro Alves <palves@redhat.com>
12143
12144 * gdb.base/auvx.exp (coredir): Update comment.
12145 (top level) <core_works>: Use "set cwd" command instead of "cd"
12146 command.
12147
12148 2017-10-12 Pedro Alves <palves@redhat.com>
12149 Simon Marchi <simon.marchi@polymtl.ca>
12150
12151 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12152 target boards.
12153
12154 2017-10-12 Pedro Alves <palves@redhat.com>
12155 Simon Marchi <simon.marchi@polymtl.ca>
12156
12157 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12158 Instead skip if there's any gdb_protocol set.
12159
12160 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12161 Pedro Alves <palves@redhat.com>
12162
12163 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12164
12165 2017-10-12 Pedro Alves <palves@redhat.com>
12166 Simon Marchi <simon.marchi@polymtl.ca>
12167
12168 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12169 instead of on dejagnu remote boards.
12170
12171 2017-10-12 Pedro Alves <palves@redhat.com>
12172 Simon Marchi <simon.marchi@polymtl.ca>
12173
12174 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12175 checks. Use build_executable + clean_restart instead of
12176 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12177 of enabling non-stop after starting gdb.
12178
12179 2017-10-12 Pedro Alves <palves@redhat.com>
12180
12181 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12182 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12183 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12184 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12185
12186 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12187
12188 * gdb.arch/arc-tdesc-cpu.exp: New file.
12189 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12190
12191 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12192
12193 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12194
12195 2017-10-10 Pedro Alves <palves@redhat.com>
12196
12197 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12198 expect CLI output.
12199
12200 2017-10-10 Pedro Alves <palves@redhat.com>
12201
12202 * lib/selftest-support.exp (selftest_setup): Update for
12203 captured_command_loop's prototype change.
12204
12205 2017-10-09 Pedro Alves <palves@redhat.com>
12206
12207 Test both arch1=>arch2 and arch2=>arch1.
12208
12209 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12210 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12211 factored out to...
12212 (append_arch1_options, append_arch2_options, append_arch_options)
12213 (build_executables): New procedures.
12214 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12215 local.
12216 (top level): Add new 'first_arch' testing axis.
12217
12218 2017-10-09 Pedro Alves <palves@redhat.com>
12219
12220 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12221 (barrier): New.
12222 (thread_start, all_started): New functions.
12223 (main): Spawn new thread and wait until it is scheduled.
12224 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12225 option.
12226 (do_test): Add 'selected_thread' parameter. Run to all_started
12227 instead of main. Explicitly set the breakpoint at main. Switch
12228 to the SELECTED_THREAD thread.
12229 (top level): Test handling the exec event with either the main
12230 thread or the second thread selected.
12231
12232 2017-10-09 Pedro Alves <palves@redhat.com>
12233
12234 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12235 logic. Move STOP marker after the value checks.
12236 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12237 regexp.
12238
12239 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12240
12241 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12242
12243 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12244
12245 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12246 integer-to-dfp conversion.
12247 * gdb.base/dfp-test.exp: Likewise.
12248
12249 2017-10-04 Pedro Alves <palves@redhat.com>
12250
12251 * gdb.multi/hangout.c: Include <unistd.h>.
12252 (hangout_loop): New function.
12253 (main): Call alarm. Call hangout_loop in a loop.
12254 * gdb.multi/hello.c: Include <unistd.h>.
12255 (hello_loop): New function.
12256 (main): Call alarm. Call hangout_loop in a loop.
12257 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12258 inferior with the other selected.
12259
12260 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12261
12262 * gdb.mi/list-thread-groups-available.exp: New file.
12263 * gdb.mi/list-thread-groups-available.c: New file.
12264
12265 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12266
12267 * gdb.base/set-cwd.exp: Make it available on
12268 native-extended-gdbserver.
12269
12270 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12271
12272 * gdb.base/set-cwd.c: New file.
12273 * gdb.base/set-cwd.exp: Likewise.
12274
12275 2017-10-02 Tom Tromey <tom@tromey.com>
12276
12277 PR rust/22236:
12278 * gdb.rust/simple.rs (main): New variable "fslice".
12279 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12280
12281 2017-10-02 Tom Tromey <tom@tromey.com>
12282
12283 * gdb.rust/simple.exp: Test ptype of a slice.
12284
12285 2017-10-02 Tom Tromey <tom@tromey.com>
12286
12287 * gdb.rust/simple.exp: Test index of slice.
12288
12289 2017-09-27 Tom Tromey <tom@tromey.com>
12290
12291 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12292
12293 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12294 Pedro Alves <palves@redhat.com>
12295
12296 * gdb.base/compare-sections.exp (get value of read-only section): Read
12297 as unsigned value.
12298 (corrupt read-only section): Likewise and don't set written if patching
12299 failed.
12300
12301 2017-09-21 Kevin Buettner <kevinb@redhat.com>
12302
12303 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12304 files.
12305
12306 2017-09-20 Pedro Alves <palves@redhat.com>
12307
12308 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12309 symbol names in gdb's output.
12310 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12311
12312 2017-09-20 Pedro Alves <palves@redhat.com>
12313
12314 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12315 Rename to ...
12316 (test_list_ambiguous_symbol): ... this and add a symbol name
12317 parameter. Adjust.
12318 (test_list_ambiguous_function): Reimplement on top of
12319 test_list_ambiguous_symbol and also test listing ambiguous
12320 variables.
12321 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12322 (ambiguous_fun): ... this.
12323 (ambiguous_var): New.
12324 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12325 (ambiguous_fun): ... this.
12326 (ambiguous_var): New.
12327
12328 2017-09-19 John Baldwin <jhb@FreeBSD.org>
12329
12330 * gdb.base/starti.c: New file.
12331 * gdb.base/starti.exp: New file.
12332 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12333
12334 2017-09-14 Pedro Alves <palves@redhat.com>
12335
12336 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12337 (top level): Use it instead of runto.
12338
12339 2017-09-11 Tom Tromey <tom@tromey.com>
12340
12341 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12342
12343 2017-09-11 Tom Tromey <tom@tromey.com>
12344
12345 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12346 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12347
12348 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12349
12350 * gdb.fortran/printing-types.exp: New file.
12351 * gdb.fortran/printing-types.exp: New file.
12352
12353 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12354
12355 * gdb.fortran/vla-ptype.exp: Fix typos.
12356 * gdb.fortran/vla-value.exp: Same.
12357
12358 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12359
12360 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12361 * gdb.mi/mi-var-child-f.exp: Likewise.
12362 * gdb.mi/mi-vla-fortran.exp: Likewise.
12363
12364 2017-09-08 Frank Penczek <frank.penczek@intel.com>
12365 Christoph Weinmann <christoph.t.weinmann@intel.com>
12366 Bernhard Heckel <bernhard.heckel@intel.com>
12367
12368 * gdb.fortran/ptr-indentation.f90: New file.
12369 * gdb.fortran/ptr-indentation.exp: New file.
12370
12371 2017-09-05 Tom Tromey <tom@tromey.com>
12372
12373 PR gdb/22010:
12374 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12375
12376 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12377
12378 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12379
12380 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12381
12382 * gdb.threads/tls-nodebug-pie.c: New file.
12383 * gdb.threads/tls-nodebug-pie.exp: New file.
12384
12385 2017-09-05 Tom Tromey <tom@tromey.com>
12386
12387 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12388 for rust.
12389
12390 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12391
12392 * gdb.multi/multi-arch-exec.exp: Test with different
12393 "follow-exec-mode" settings.
12394 (do_test): New procedure.
12395
12396 2017-09-04 Pedro Alves <palves@redhat.com>
12397
12398 * gdb.base/func-static.c (S::method const, S::method volatile)
12399 (S::method volatile const): New methods.
12400 (c_s, v_s, cv_s): New instances.
12401 (main): Call method() on them.
12402 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12403 (cannot_resolve): New procedure.
12404 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12405 print-quote-unquoted columns.
12406 (do_test): Test printing each scope too.
12407
12408 2017-09-04 Pedro Alves <palves@redhat.com>
12409
12410 * gdb.base/local-static.exp: Also test with
12411 class::method::variable wholly quoted.
12412 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12413
12414 2017-09-04 Pedro Alves <palves@redhat.com>
12415
12416 * gdb.base/local-static.c: New.
12417 * gdb.base/local-static.cc: New.
12418 * gdb.base/local-static.exp: New.
12419
12420 2017-09-04 Pedro Alves <palves@redhat.com>
12421
12422 * gdb.asm/asm-source.exp: Add casts to int.
12423 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12424 (dataglobal64_1, dataglobal64_2): New globals.
12425 * gdb.base/nodebug.exp: Test different expressions involving the
12426 new globals, with print, whatis and ptype. Add casts to int.
12427 * gdb.base/solib-display.exp: Add casts to int.
12428 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12429 * gdb.cp/m-static.exp: Add cast to int.
12430 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12431 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12432 tls variable with no debug info without a cast. Test with a cast
12433 to int too.
12434 * gdb.trace/entry-values.exp: Add casts.
12435
12436 2017-09-04 Pedro Alves <palves@redhat.com>
12437
12438 * gdb.base/nodebug.exp: Test that ptype's error about functions
12439 with unknown return type includes the function name too.
12440
12441 2017-09-04 Pedro Alves <palves@redhat.com>
12442
12443 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12444 return type of munmap in infcall.
12445 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12446 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12447 type of ftell in infcall.
12448 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12449 type of getpid in infcall.
12450 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12451 infcall.
12452 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12453 Bail on failure to extract the pid.
12454 * gdb.base/nodebug.c: #include <stdint.h>.
12455 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12456 New functions.
12457 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12458 Change expected output of print/whatis/ptype with functions with
12459 no debug info. Test all supported languages. Call
12460 test_call_promotion.
12461 * gdb.compile/compile.exp: Adjust expected output to expect
12462 warning.
12463 * gdb.threads/siginfo-threads.exp: Likewise.
12464
12465 2017-09-04 Pedro Alves <palves@redhat.com>
12466
12467 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12468 "prototypes". Test calling float functions via prototyped and
12469 unprototyped function pointers.
12470 (perform_all_tests): New parameter "prototypes". Pass it down.
12471 (top level): Pass down "prototypes" parameter to
12472 perform_all_tests.
12473
12474 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12475
12476 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12477 Test with nested loops.
12478
12479 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12480
12481 * gdb.base/commands.exp: Call the new procedures.
12482 (loop_break_test, loop_continue_test): New procedures.
12483
12484 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12485
12486 * gdb.base/commands.exp: Call new procedure.
12487 (define_if_without_arg_test): New procedure.
12488
12489 2017-09-04 Pedro Alves <palves@redhat.com>
12490
12491 * gdb.base/list-ambiguous.exp: New file.
12492 * gdb.base/list-ambiguous0.c: New file.
12493 * gdb.base/list-ambiguous1.c: New file.
12494 * gdb.base/list.exp (test_list_range): Adjust expected output.
12495
12496 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12497
12498 * gdb.base/share-env-with-gdbserver.c: New file.
12499 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12500
12501 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12502
12503 * gdb.base/commands.exp (gdbvar_simple_if_test,
12504 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12505 progvar_simple_if_test, progvar_simple_while_test,
12506 progvar_complex_if_while_test, user_defined_command_test,
12507 user_defined_command_args_eval,
12508 user_defined_command_args_stack_test,
12509 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12510 temporary_breakpoint_commands,
12511 gdb_test_no_prompt, redefine_hook_test,
12512 redefine_backtrace_test): Remove "global gdb_prompt".
12513
12514 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12515
12516 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12517 New proc, call it from toplevel.
12518
12519 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12520
12521 PR remote/21852
12522 * gdb.server/normal.c: New file, copied from gdb.base.
12523 * gdb.server/run-without-local-binary.exp: New file.
12524
12525 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
12526
12527 * gdb.arch/sparc64-adi.exp: New file.
12528 * gdb.arch/sparc64-adi.c: New file.
12529
12530 2017-08-22 Pedro Alves <palves@redhat.com>
12531
12532 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12533 (top level): Add "list all overloads" tests.
12534
12535 2017-08-22 Tom Tromey <tom@tromey.com>
12536
12537 * gdb.gdb/xfullpath.exp: Remove.
12538
12539 2017-08-21 Pedro Alves <palves@redhat.com>
12540
12541 PR gdb/19487
12542 * gdb.base/symbol-alias.c: New.
12543 * gdb.base/symbol-alias2.c: New.
12544 * gdb.base/symbol-alias.exp: New.
12545
12546 2017-08-21 Pedro Alves <palves@redhat.com>
12547
12548 * gdb.base/dfp-test.c
12549 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12550 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12551 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12552 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12553 * gdb.base/whatis-ptype-typedefs.c: New.
12554 * gdb.base/whatis-ptype-typedefs.exp: New.
12555 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12556 (an_int, an_int_type, an_int_type2): New globals.
12557 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12558 involving typedefs and cast expressions.
12559 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12560 (lookup_typedefs_function): New.
12561 (typedefs_pretty_printers_dict): New.
12562 (top level): Register lookup_typedefs_function in
12563 gdb.pretty_printers.
12564
12565 2017-08-18 Yao Qi <yao.qi@linaro.org>
12566
12567 * gdb.server/unittest.exp: New.
12568
12569 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12570
12571 PR gdb/21954
12572 * gdb.base/environ.exp: Add test to check if 'unset environment'
12573 works.
12574
12575 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12576
12577 * lib/gdb.exp (universal_compile_options): New caching proc.
12578 (gdb_compile): Suppress GCC's coloring of messages.
12579
12580 2017-08-14 Tom Tromey <tom@tromey.com>
12581
12582 PR gdb/21675:
12583 * gdb.base/printcmds.exp (test_radices): New function.
12584 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12585 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12586 * lib/gdb.exp (get_integer_valueof): Use p/d.
12587
12588 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12589
12590 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12591 characters.
12592
12593 2017-08-05 Tom Tromey <tom@tromey.com>
12594
12595 * gdb.rust/simple.exp: Allow String to appear in a different
12596 namespace.
12597
12598 2017-07-26 Yao Qi <yao.qi@linaro.org>
12599
12600 * gdb.gdb/unittest.exp: Invoke command
12601 "maintenance check xml-descriptions".
12602
12603 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12604
12605 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12606 calling context.
12607 (hex128): Drop erroneous calculation of parameters.
12608
12609 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12610
12611 * gdb.python/py-unwind.exp: Disable stack protection when
12612 building test file.
12613
12614 2017-07-20 Pedro Alves <palves@redhat.com>
12615
12616 * gdb.base/default.exp (set language): Adjust expected output.
12617
12618 2017-07-20 Pedro Alves <palves@redhat.com>
12619
12620 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12621 (test_minsym): ... this, and make static.
12622 (get_pck__foo__bar__minsym): Rename to ...
12623 (get_test_minsym): ... this.
12624 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12625 symbol names and comments.
12626 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12627 (get_test_minsym): ... this.
12628 (pck__foo__bar__minsym__2): Rename to ...
12629 (test_minsym): ... this.
12630 (main): Adjust.
12631
12632 2017-07-17 Pedro Alves <palves@redhat.com>
12633
12634 * gdb.base/completion.exp: Adjust expected output.
12635 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12636 the completer works.
12637
12638 2017-07-17 Pedro Alves <palves@redhat.com>
12639
12640 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12641
12642 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12643
12644 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12645
12646 2017-07-14 Tom Tromey <tom@tromey.com>
12647
12648 PR rust/21764:
12649 * gdb.rust/simple.exp: Add tests.
12650
12651 2017-07-14 Tom Tromey <tom@tromey.com>
12652
12653 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12654
12655 2017-07-14 Pedro Alves <palves@redhat.com>
12656
12657 * gdb.linespec/base/one/thefile.cc (z1): New function.
12658 * gdb.linespec/base/two/thefile.cc (z2): New function.
12659 * gdb.linespec/linespec.exp: Add tests.
12660
12661 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12662
12663 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12664 to mi_create_breakpoint.
12665
12666 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12667
12668 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12669 mi_create_breakpoint.
12670
12671 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12672
12673 * gdb.dlang/demangle.exp: Update for demangling changes.
12674
12675 2017-07-09 Tom Tromey <tom@tromey.com>
12676
12677 * gdb.dwarf2/shortpiece.exp: New file.
12678
12679 2017-07-06 David Blaikie <dblaikie@gmail.com>
12680
12681 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12682 built from fissiont-multi-cu{1,2}.c.
12683 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12684 except putting 'main' and 'func' in separate CUs in the same DWO file.
12685 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12686 test.
12687 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12688 test.
12689
12690 2017-07-06 Pedro Alves <palves@redhat.com>
12691
12692 * gdb.python/py-unwind.exp: Test flushregs.
12693
12694 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12695
12696 PR cli/21688
12697 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12698 tests for alias commands and trailing whitespace.
12699
12700 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12701
12702 PR cli/21688
12703 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12704 procedure. Call it.
12705
12706 2017-06-29 Pedro Alves <palves@redhat.com>
12707
12708 * gdb.base/printcmds.exp: Add tests.
12709
12710 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12711
12712 PR gdb/21337
12713 * gdb.base/reread-readsym.exp: New file.
12714 * gdb.base/reread-readsym.c: New file.
12715
12716 2017-06-21 Kevin Buettner <kevinb@redhat.com>
12717
12718 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12719 subpattern.
12720
12721 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12722
12723 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12724 extended mnemonic.
12725 * gdb.arch/powerpc-power9.s: Likewise.
12726
12727 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12728
12729 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12730 on 32-bit x86 targets. Exploit is_*_target macros where
12731 appropriate.
12732
12733 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12734
12735 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12736 register pieces.
12737
12738 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12739
12740 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12741 located in one or more DWARF pieces.
12742
12743 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12744
12745 * lib/gdb.exp (get_endianness): New proc.
12746 * gdb.arch/aarch64-fp.exp: Use it.
12747 * gdb.arch/altivec-regs.exp: Likewise.
12748 * gdb.arch/e500-regs.exp: Likewise.
12749 * gdb.arch/vsx-regs.exp: Likewise.
12750 * gdb.base/dump.exp: Likewise.
12751 * gdb.base/funcargs.exp: Likewise.
12752 * gdb.base/gnu_vector.exp: Likewise.
12753 * gdb.dwarf2/formdata16.exp: Likewise.
12754 * gdb.dwarf2/implptrpiece.exp: Likewise.
12755 * gdb.dwarf2/nonvar-access.exp: Likewise.
12756 * gdb.python/py-inferior.exp: Likewise.
12757 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12758
12759 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12760
12761 PR gdb/21226
12762 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12763 stack value pieces are taken from the LSB end.
12764
12765 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12766
12767 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12768 variable at nonzero offset.
12769
12770 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12771
12772 * gdb.dwarf2/var-access.c: New file.
12773 * gdb.dwarf2/var-access.exp: New test.
12774 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12775
12776 2017-06-12 Tom Tromey <tom@tromey.com>
12777
12778 * gdb.dwarf2/formdata16.exp: Add tests.
12779
12780 2017-06-12 Tom Tromey <tom@tromey.com>
12781
12782 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12783
12784 2017-06-12 Tom Tromey <tom@tromey.com>
12785
12786 PR exp/16225:
12787 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12788 * gdb.arch/vsx-regs.exp: Update tests.
12789 * gdb.arch/s390-vregs.exp (hex128): New proc.
12790 Update test.
12791 * gdb.arch/altivec-regs.exp: Update tests.
12792
12793 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12794
12795 * gdb.base/startup-with-shell.c: New file.
12796 * gdb.base/startup-with-shell.exp: Likewise.
12797
12798 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12799
12800 * gdb.server/non-existing-program.exp: Update regex in order to
12801 reflect the fact that gdbserver is now using fork_inferior (with a
12802 shell) to startup the inferior.
12803
12804 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12805
12806 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12807 support function calls from GDB.
12808
12809 2017-05-21 Tom Tromey <tom@tromey.com>
12810
12811 PR rust/21466:
12812 * gdb.rust/unsized.exp: New file.
12813 * gdb.rust/unsized.rs: New file.
12814
12815 2017-05-19 Tom Tromey <tom@tromey.com>
12816
12817 PR rust/21484:
12818 * gdb.rust/watch.exp: New file.
12819 * gdb.rust/watch.rs: New file.
12820
12821 2017-05-18 Tom Tromey <tom@tromey.com>
12822
12823 * gdb.rust/simple.exp: Allow Box to be qualified.
12824
12825 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12826
12827 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12828
12829 2017-05-18 Pedro Alves <palves@redhat.com>
12830
12831 * gdb.base/fileio.c (test_write, test_read, test_close)
12832 (test_fstat): Don't print 'ret' in the fail path.
12833
12834 2017-05-18 Pedro Alves <palves@redhat.com>
12835
12836 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12837 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12838 (test_system, test_rename, test_unlink, test_time): Change
12839 prototypes.
12840 * gdb.base/fileio.exp (stop_msg): Adjust.
12841
12842 2017-05-18 Pedro Alves <palves@redhat.com>
12843
12844 * gdb.base/fileio.c (null_str): New global.
12845 (test_stat): Use it.
12846 * gdb.base/fileio.exp: Remove nowarnings.
12847
12848 2017-05-17 Yao Qi <yao.qi@linaro.org>
12849
12850 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12851
12852 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12853
12854 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12855 argument command.
12856 (top-level): Invoke test_set_inferior_tty.
12857
12858 2017-05-04 Pedro Alves <palves@redhat.com>
12859
12860 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12861 Add parens to print call for Python 3.
12862
12863 2017-05-03 Keith Seitz <keiths@redhat.com>
12864
12865 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12866 (main): Call it.
12867
12868 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12869
12870 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12871 to prev and next.
12872
12873 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12874
12875 * gdb.python/py-record-btrace.exp: Remove test for
12876 gdb.BtraceInstruction.error.
12877
12878 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12879
12880 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12881
12882 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12883
12884 * gdb.python/py-record-btrace-threads.c: New file.
12885 * gdb.python/py-record-btrace-threads.exp: New file.
12886
12887 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12888
12889 PR testsuite/8595
12890 * gdb.base/environ.exp: Make test available in all architectures.
12891 Move bits related to "info program" testing to
12892 gdb.base/info-program.exp. Rewrite tests to use the two new
12893 procedures mentione below.
12894 (test_set_show_env_var) New procedure.
12895 (test_set_show_env_var_equal): Likewise.
12896 * gdb.base/info-program.exp: New file.
12897
12898 2017-04-27 Keith Seitz <keiths@redhat.com>
12899
12900 * gdb.cp/oranking.cc (test15): New function.
12901 (main): Call test15 and declare additional variables for testing.
12902 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12903 "p foo101('abc')" tests.
12904 Add tests for cv qualifier overloads.
12905 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12906 "lvalue reference overload" test.
12907 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12908 "print value of f1 on Child&& in f2" test.
12909
12910 2017-04-19 Pedro Alves <palves@redhat.com>
12911
12912 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12913 procedure.
12914 (top level): Call it.
12915 * lib/gdb.exp (gdb_define_cmd): New procedure.
12916
12917 2017-04-12 Pedro Alves <palves@redhat.com>
12918
12919 PR gdb/21323
12920 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12921 (wchar): New global.
12922 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12923 (do_test_wide_char, wide_char_types_no_program, top level): Add
12924 wchar_t testing.
12925
12926 2017-04-12 Pedro Alves <palves@redhat.com>
12927
12928 PR c++/21323
12929 * gdb.cp/wide_char_types.c: New file.
12930 * gdb.cp/wide_char_types.exp: New file.
12931
12932 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12933
12934 PR gdb/21352
12935 * gdb.trace/tsv.exp: Add test for "tsave -r".
12936
12937 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12938
12939 * gdb.dlang/watch-loc.c: New file.
12940 * gdb.dlang/watch-loc.exp: New file.
12941
12942 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12943
12944 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12945
12946 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12947
12948 * gdb.arch/arc-analyze-prologue.S: New file.
12949 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12950
12951 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12952
12953 * gdb.arch/arc-decode-insn.S: New file.
12954 * gdb.arch/arc-decode-insn.exp: Likewise.
12955
12956 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12957
12958 PR tdep/20928
12959 * gdb.arch/sparc64-regs.exp: New file.
12960 * gdb.arch/sparc64-regs.S: Likewise.
12961
12962 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12963
12964 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12965 and memory view on Python 3.
12966
12967 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
12968 Keith Seitz <keiths@redhat.com>
12969
12970 PR gdb/14441
12971 * gdb.cp/demangle.exp: Add rvalue reference tests.
12972 * gdb.cp/rvalue-ref-casts.cc: New file.
12973 * gdb.cp/rvalue-ref-casts.exp: New file.
12974 * gdb.cp/rvalue-ref-overload.cc: New file.
12975 * gdb.cp/rvalue-ref-overload.exp: New file.
12976 * gdb.cp/rvalue-ref-params.cc: New file.
12977 * gdb.cp/rvalue-ref-params.exp: New file.
12978 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12979 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12980 * gdb.cp/rvalue-ref-types.cc: New file.
12981 * gdb.cp/rvalue-ref-types.exp: New file.
12982 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12983 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12984
12985 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12986
12987 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12988 New procedure.
12989
12990 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12991
12992 * lib/mi-support.exp (mi_gdb_test): Add additional message
12993 for unexpected output.
12994
12995 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12996
12997 * gdb.base/examine-backward.c (Barrier): New character array
12998 constant, to ensure that TestStrings is preceded by a string
12999 terminator.
13000
13001 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13002
13003 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
13004 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
13005 and implicit pointer into such a location.
13006
13007 2017-03-16 Doug Evans <dje@google.com>
13008
13009 * gdb.python/py-lazy-string (pointer): Really add new typedef.
13010
13011 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
13012
13013 * gdb.cp/m-static.exp: Fix expectation for prototype of
13014 test5.single_constructor and single_constructor::single_constructor.
13015
13016 2017-03-16 Doug Evans <dje@google.com>
13017
13018 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
13019 * gdb.guile/scm-lazy-string.c: New file.
13020 * gdb.guile/scm-value.exp: Move lazy string tests to ...
13021 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
13022 for pointer, array, typedef lazy strings.
13023
13024 2017-03-16 Doug Evans <dje@google.com>
13025
13026 PR python/17728, python/18439, python/18779
13027 * gdb.python/py-value.c (main) Delete locals sptr, sn.
13028 * gdb.python/py-lazy-string.c (pointer): New typedef.
13029 (main): New locals ptr, array, typedef_ptr.
13030 * gdb.python/py-value.exp: Move lazy string tests to ...
13031 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
13032 array, typedef lazy strings.
13033
13034 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
13035
13036 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
13037 Add optional 'test' parameter.
13038
13039 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13040
13041 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13042 Skip for versions of DejaGnu < 1.5.
13043
13044 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13045
13046 * lib/gdb.exp (dejagnu_version): New proc.
13047 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13048 Use dejagnu_version.
13049
13050 2017-03-10 Keith Seitz <keiths@redhat.com>
13051
13052 PR c++/8128
13053 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
13054 type from destructor regexps.
13055 Add a branch which actually passes the test.
13056 Adjust "ptype t5i" test names.
13057
13058 2017-03-08 Pedro Alves <palves@redhat.com>
13059
13060 * gdb.base/step-over-exit.exp: Add explicit test message.
13061
13062 2017-03-08 Pedro Alves <palves@redhat.com>
13063
13064 PR gdb/18360
13065 * gdb.threads/interrupt-while-step-over.c: New file.
13066 * gdb.threads/interrupt-while-step-over.exp: New file.
13067
13068 2017-03-08 Pedro Alves <palves@redhat.com>
13069
13070 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13071 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13072
13073 2017-03-08 Pedro Alves <palves@redhat.com>
13074
13075 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13076 PKRU as not supported as a PASS.
13077
13078 2017-03-08 Pedro Alves <palves@redhat.com>
13079
13080 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13081 prefix instead of $binfile1/$binfile2.
13082 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13083 in test message.
13084 * gdb.python/py-completion.exp: Use "load python file" as test
13085 messages instead of unstable path names.
13086
13087 2017-03-08 Pedro Alves <palves@redhat.com>
13088 Jan Kratochvil <jan.kratochvil@redhat.com>
13089
13090 PR cli/21218
13091 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13092 New proc.
13093 (top level): Call it.
13094
13095 2017-03-08 Pedro Alves <palves@redhat.com>
13096
13097 PR tui/21216
13098 * gdb.tui/tui-nl-filtered-output.exp: New file.
13099
13100 2017-03-08 Pedro Alves <palves@redhat.com>
13101
13102 * gdb.base/completion.exp: Move TUI completion tests to ...
13103 * gdb.tui/completion.exp: ... this new file.
13104
13105 2017-03-08 Pedro Alves <palves@redhat.com>
13106
13107 * gdb.base/tui-disasm-long-lines.c,
13108 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13109 gdb.base/tui-layout.exp: Move to ...
13110 * gdb.tui/: ... this new directory.
13111
13112 2017-03-07 Pedro Alves <palves@redhat.com>
13113
13114 * gdb.base/tui-layout.c: New file.
13115 * gdb.base/tui-layout.exp: New file.
13116
13117 2017-03-07 Pedro Alves <palves@redhat.com>
13118
13119 * gdb.base/tui-layout.c: Rename to ...
13120 * gdb.base/tui-disasm-long-lines.c: ... this.
13121 * gdb.base/tui-layout.exp: Rename to ...
13122 * gdb.base/tui-disasm-long-lines.exp: ... this.
13123
13124 2017-03-07 Pedro Alves <palves@redhat.com>
13125
13126 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13127
13128 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13129
13130 * i386-mpx-call.c: New file.
13131 * i386-mpx-call.exp: New file.
13132
13133 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13134
13135 * gdb.arch/powerpc-power.exp: Delete test.
13136 * gdb.arch/powerpc-power.s: Likewise.
13137 * gdb.disasm/disassembler-options.exp: New test.
13138 * gdb.arch/powerpc-altivec.exp: Likewise.
13139 * gdb.arch/powerpc-altivec.s: Likewise.
13140 * gdb.arch/powerpc-altivec2.exp: Likewise.
13141 * gdb.arch/powerpc-altivec2.s: Likewise.
13142 * gdb.arch/powerpc-altivec3.exp: Likewise.
13143 * gdb.arch/powerpc-altivec3.s: Likewise.
13144 * gdb.arch/powerpc-power7.exp: Likewise.
13145 * gdb.arch/powerpc-power7.s: Likewise.
13146 * gdb.arch/powerpc-power8.exp: Likewise.
13147 * gdb.arch/powerpc-power8.s: Likewise.
13148 * gdb.arch/powerpc-power9.exp: Likewise.
13149 * gdb.arch/powerpc-power9.s: Likewise.
13150 * gdb.arch/powerpc-vsx.exp: Likewise.
13151 * gdb.arch/powerpc-vsx.s: Likewise.
13152 * gdb.arch/powerpc-vsx2.exp: Likewise.
13153 * gdb.arch/powerpc-vsx2.s: Likewise.
13154 * gdb.arch/powerpc-vsx3.exp: Likewise.
13155 * gdb.arch/powerpc-vsx3.s: Likewise.
13156 * gdb.arch/arm-disassembler-options.exp: Likewise.
13157 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13158 * gdb.arch/s390-disassembler-options.exp: Likewise.
13159
13160 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
13161
13162 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13163 (check_supported_features): ... this. Changed return type to void.
13164 (supports_rdseed): New static global.
13165 (rdseed): Check supports_rdseed.
13166 (initialize): Call check_supported_features.
13167
13168 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13169
13170 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13171 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13172 and lqarx/stqcx.
13173 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13174 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13175
13176 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13177
13178 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13179 uppercase.
13180
13181 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13182
13183 * gdb.dwarf2/formdata16.c: New file.
13184 * gdb.dwarf2/formdata16.exp: New file.
13185 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13186
13187 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13188
13189 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13190 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13191 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13192 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13193 DW_AT_GNU_*.
13194
13195 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13196
13197 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13198
13199 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13200
13201 PR gdb/21164
13202 * gdb.base/maint.exp: Add testcases for when the commands do
13203 not have arguments.
13204
13205 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13206
13207 * gdb.cp/chained-calls.exp: Use p instead of P.
13208
13209 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13210
13211 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13212 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13213
13214 2017-02-14 Tom Tromey <tom@tromey.com>
13215
13216 PR python/13598:
13217 * gdb.python/py-events.exp: Add before_prompt event tests.
13218
13219 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13220
13221 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13222
13223 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
13224
13225 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13226 (main): Call my_unique_function_name.
13227 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13228 completion of patterns with a single match.
13229 Add missing -re switches to gdb_test_multiple calls.
13230
13231 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
13232
13233 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13234 return if core file is not recognized.
13235
13236 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13237
13238 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13239 and extra UIs.
13240
13241 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13242
13243 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13244 proc_with_prefix.
13245
13246 2017-02-10 Tom Tromey <tom@tromey.com>
13247
13248 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13249
13250 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
13251
13252 PR gdb/21122
13253 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13254
13255 2017-02-08 Jerome Guitton <guitton@adacore.com>
13256
13257 * gdb.base/define.exp: Add test for command abbreviations
13258 in define.
13259
13260 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
13261
13262 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13263 * gdb.reverse/insn-reverse-x86.c: New file.
13264
13265 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13266
13267 PR tdep/20936
13268 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13269
13270 2017-02-03 Tom Tromey <tom@tromey.com>
13271
13272 PR rust/21097:
13273 * gdb.rust/simple.exp: Add new tests.
13274
13275 2017-02-02 Pedro Alves <palves@redhat.com>
13276
13277 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13278 tests.
13279
13280 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13281
13282 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13283 taking a 2-byte value out of a 4-byte DWARF implicit value on
13284 big-endian targets.
13285 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13286 logic. Add test cases for DW_OP_implicit.
13287
13288 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13289
13290 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13291
13292 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13293
13294 * gdb.btrace/enable.exp: Call gdb_exit before
13295 skip_gdbserver_tests.
13296
13297 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13298
13299 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13300 GDBFLAGS.
13301
13302 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13303
13304 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13305 the test is skipped.
13306 * gdb.btrace/data.exp: Likewise.
13307 * gdb.btrace/delta.exp: Likewise.
13308 * gdb.btrace/dlopen.exp: Likewise.
13309 * gdb.btrace/enable-running.exp: Likewise.
13310 * gdb.btrace/enable.exp: Likewise.
13311 * gdb.btrace/exception.exp: Likewise.
13312 * gdb.btrace/function_call_history.exp: Likewise.
13313 * gdb.btrace/gcore.exp: Likewise.
13314 * gdb.btrace/instruction_history.exp: Likewise.
13315 * gdb.btrace/multi-thread-step.exp: Likewise.
13316 * gdb.btrace/nohist.exp: Likewise.
13317 * gdb.btrace/non-stop.exp: Likewise.
13318 * gdb.btrace/reconnect.exp: Likewise.
13319 * gdb.btrace/record_goto-step.exp: Likewise.
13320 * gdb.btrace/record_goto.exp: Likewise.
13321 * gdb.btrace/rn-dl-bind.exp: Likewise.
13322 * gdb.btrace/segv.exp: Likewise.
13323 * gdb.btrace/step.exp: Likewise.
13324 * gdb.btrace/stepi.exp: Likewise.
13325 * gdb.btrace/tailcall-only.exp: Likewise.
13326 * gdb.btrace/tailcall.exp: Likewise.
13327 * gdb.btrace/tsx.exp: Likewise.
13328 * gdb.btrace/unknown_functions.exp: Likewise.
13329 * gdb.btrace/vdso.exp: Likewise.
13330
13331 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13332
13333 * gdb.btrace/enable-running.c: New.
13334 * gdb.btrace/enable-running.exp: New.
13335
13336 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13337
13338 * gdb.arch/amd64-gs_base.c: New file.
13339 * gdb.arch/amd64-gs_base.exp: New file.
13340
13341 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
13342
13343 * lib/memory.exp: Remove spurious empty newlines.
13344
13345 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13346
13347 * gdb.python/py-bad-printers.exp: Load python file using "source".
13348 * gdb.python/py-events.exp: Likewise.
13349 * gdb.python/py-evsignal.exp: Likewise.
13350 * gdb.python/py-evthreads.exp: Likewise.
13351 * gdb.python/py-frame-args.exp: Likewise.
13352 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13353 * gdb.python/py-framefilter-mi.exp: Likewise.
13354 * gdb.python/py-framefilter.exp: Likewise.
13355 * gdb.python/py-mi.exp: Likewise.
13356 * gdb.python/py-pp-maint.exp: Likewise.
13357 * gdb.python/py-pp-registration.exp: Likewise.
13358 * gdb.python/py-prettyprint.exp: Likewise.
13359 (run_lang_tests): Likewise.
13360 * gdb.python/py-typeprint.exp: Likewise.
13361
13362 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
13363
13364 * lib/memory.exp: New file.
13365 * lib/gdb.exp: Load memory.exp.
13366 * gdb.base/memattr.exp (delete_memory): Move proc to
13367 lib/memory.exp and rename to delete_memory_regions.
13368 Replace delete_memory with delete_memory_regions.
13369 Cleanup memory regions before tests.
13370 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13371 before tests.
13372
13373 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
13374
13375 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13376 files.
13377 (initialize): New function conditionally defined.
13378 (testcases): Move within conditional block.
13379 (main): Call initialize.
13380 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13381 of gdb.reverse/insn-reverse.c.
13382 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13383 gdb.reverse/insn-reverse.c.
13384
13385 2017-01-26 Yao Qi <yao.qi@linaro.org>
13386
13387 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13388 disassemble on address 0.
13389
13390 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13391 Yao Qi <yao.qi@linaro.org>
13392
13393 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13394 * gdb.dwarf2/implptr-64bit.S: Remove.
13395 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13396 variables in caller's context. Add DW_OP_implicit_value.
13397
13398 2017-01-25 Yao Qi <yao.qi@linaro.org>
13399
13400 * lib/dwarf.exp (Dwarf::_location): Handle
13401 DW_OP_GNU_implicit_pointer with proper size.
13402
13403 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
13404
13405 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13406 and add untested calls.
13407
13408 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
13409
13410 * gdb.python/python.exp: Check line number against what GDB thinks
13411 the line number is for func1.
13412
13413 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13414
13415 * gdb.dlang/debug-expr.exp: New file.
13416
13417 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
13418
13419 Fix test names for the following files:
13420
13421 * gdb.ada/exec_changed.exp
13422 * gdb.ada/info_types.exp
13423 * gdb.arch/aarch64-atomic-inst.exp
13424 * gdb.arch/aarch64-fp.exp
13425 * gdb.arch/altivec-abi.exp
13426 * gdb.arch/altivec-regs.exp
13427 * gdb.arch/amd64-byte.exp
13428 * gdb.arch/amd64-disp-step.exp
13429 * gdb.arch/amd64-dword.exp
13430 * gdb.arch/amd64-entry-value-inline.exp
13431 * gdb.arch/amd64-entry-value-param.exp
13432 * gdb.arch/amd64-entry-value-paramref.exp
13433 * gdb.arch/amd64-entry-value.exp
13434 * gdb.arch/amd64-i386-address.exp
13435 * gdb.arch/amd64-invalid-stack-middle.exp
13436 * gdb.arch/amd64-invalid-stack-top.exp
13437 * gdb.arch/amd64-optimout-repeat.exp
13438 * gdb.arch/amd64-prologue-skip.exp
13439 * gdb.arch/amd64-prologue-xmm.exp
13440 * gdb.arch/amd64-stap-special-operands.exp
13441 * gdb.arch/amd64-stap-wrong-subexp.exp
13442 * gdb.arch/amd64-tailcall-cxx.exp
13443 * gdb.arch/amd64-tailcall-noret.exp
13444 * gdb.arch/amd64-tailcall-ret.exp
13445 * gdb.arch/amd64-tailcall-self.exp
13446 * gdb.arch/amd64-word.exp
13447 * gdb.arch/arm-bl-branch-dest.exp
13448 * gdb.arch/arm-disp-step.exp
13449 * gdb.arch/arm-neon.exp
13450 * gdb.arch/arm-single-step-kernel-helper.exp
13451 * gdb.arch/avr-flash-qualifier.exp
13452 * gdb.arch/disp-step-insn-reloc.exp
13453 * gdb.arch/e500-abi.exp
13454 * gdb.arch/e500-regs.exp
13455 * gdb.arch/ftrace-insn-reloc.exp
13456 * gdb.arch/i386-avx512.exp
13457 * gdb.arch/i386-bp_permanent.exp
13458 * gdb.arch/i386-byte.exp
13459 * gdb.arch/i386-cfi-notcurrent.exp
13460 * gdb.arch/i386-disp-step.exp
13461 * gdb.arch/i386-dr3-watch.exp
13462 * gdb.arch/i386-float.exp
13463 * gdb.arch/i386-gnu-cfi.exp
13464 * gdb.arch/i386-mpx-map.exp
13465 * gdb.arch/i386-mpx-sigsegv.exp
13466 * gdb.arch/i386-mpx-simple_segv.exp
13467 * gdb.arch/i386-mpx.exp
13468 * gdb.arch/i386-permbkpt.exp
13469 * gdb.arch/i386-prologue.exp
13470 * gdb.arch/i386-signal.exp
13471 * gdb.arch/i386-size-overlap.exp
13472 * gdb.arch/i386-unwind.exp
13473 * gdb.arch/i386-word.exp
13474 * gdb.arch/mips-fcr.exp
13475 * gdb.arch/powerpc-d128-regs.exp
13476 * gdb.arch/powerpc-stackless.exp
13477 * gdb.arch/ppc64-atomic-inst.exp
13478 * gdb.arch/s390-stackless.exp
13479 * gdb.arch/s390-tdbregs.exp
13480 * gdb.arch/s390-vregs.exp
13481 * gdb.arch/sparc-sysstep.exp
13482 * gdb.arch/thumb-bx-pc.exp
13483 * gdb.arch/thumb-singlestep.exp
13484 * gdb.arch/thumb2-it.exp
13485 * gdb.arch/vsx-regs.exp
13486 * gdb.asm/asm-source.exp
13487 * gdb.base/a2-run.exp
13488 * gdb.base/advance.exp
13489 * gdb.base/all-bin.exp
13490 * gdb.base/anon.exp
13491 * gdb.base/args.exp
13492 * gdb.base/arithmet.exp
13493 * gdb.base/async-shell.exp
13494 * gdb.base/async.exp
13495 * gdb.base/attach-pie-noexec.exp
13496 * gdb.base/attach-twice.exp
13497 * gdb.base/auto-load.exp
13498 * gdb.base/bang.exp
13499 * gdb.base/bitfields.exp
13500 * gdb.base/break-always.exp
13501 * gdb.base/break-caller-line.exp
13502 * gdb.base/break-entry.exp
13503 * gdb.base/break-inline.exp
13504 * gdb.base/break-on-linker-gcd-function.exp
13505 * gdb.base/break-probes.exp
13506 * gdb.base/break.exp
13507 * gdb.base/breakpoint-shadow.exp
13508 * gdb.base/call-ar-st.exp
13509 * gdb.base/call-sc.exp
13510 * gdb.base/call-signal-resume.exp
13511 * gdb.base/call-strs.exp
13512 * gdb.base/callfuncs.exp
13513 * gdb.base/catch-fork-static.exp
13514 * gdb.base/catch-gdb-caused-signals.exp
13515 * gdb.base/catch-load.exp
13516 * gdb.base/catch-signal-fork.exp
13517 * gdb.base/catch-signal.exp
13518 * gdb.base/catch-syscall.exp
13519 * gdb.base/charset.exp
13520 * gdb.base/checkpoint.exp
13521 * gdb.base/chng-syms.exp
13522 * gdb.base/code-expr.exp
13523 * gdb.base/code_elim.exp
13524 * gdb.base/commands.exp
13525 * gdb.base/completion.exp
13526 * gdb.base/complex.exp
13527 * gdb.base/cond-expr.exp
13528 * gdb.base/condbreak.exp
13529 * gdb.base/consecutive.exp
13530 * gdb.base/continue-all-already-running.exp
13531 * gdb.base/coredump-filter.exp
13532 * gdb.base/corefile.exp
13533 * gdb.base/dbx.exp
13534 * gdb.base/debug-expr.exp
13535 * gdb.base/define.exp
13536 * gdb.base/del.exp
13537 * gdb.base/disabled-location.exp
13538 * gdb.base/disasm-end-cu.exp
13539 * gdb.base/disasm-optim.exp
13540 * gdb.base/display.exp
13541 * gdb.base/duplicate-bp.exp
13542 * gdb.base/ena-dis-br.exp
13543 * gdb.base/ending-run.exp
13544 * gdb.base/enumval.exp
13545 * gdb.base/environ.exp
13546 * gdb.base/eu-strip-infcall.exp
13547 * gdb.base/eval-avoid-side-effects.exp
13548 * gdb.base/eval-skip.exp
13549 * gdb.base/exitsignal.exp
13550 * gdb.base/expand-psymtabs.exp
13551 * gdb.base/filesym.exp
13552 * gdb.base/find-unmapped.exp
13553 * gdb.base/finish.exp
13554 * gdb.base/float.exp
13555 * gdb.base/foll-exec-mode.exp
13556 * gdb.base/foll-exec.exp
13557 * gdb.base/foll-fork.exp
13558 * gdb.base/fortran-sym-case.exp
13559 * gdb.base/freebpcmd.exp
13560 * gdb.base/func-ptr.exp
13561 * gdb.base/func-ptrs.exp
13562 * gdb.base/funcargs.exp
13563 * gdb.base/gcore-buffer-overflow.exp
13564 * gdb.base/gcore-relro-pie.exp
13565 * gdb.base/gcore-relro.exp
13566 * gdb.base/gcore.exp
13567 * gdb.base/gdb1090.exp
13568 * gdb.base/gdb11530.exp
13569 * gdb.base/gdb11531.exp
13570 * gdb.base/gdb1821.exp
13571 * gdb.base/gdbindex-stabs.exp
13572 * gdb.base/gdbvars.exp
13573 * gdb.base/hbreak.exp
13574 * gdb.base/hbreak2.exp
13575 * gdb.base/included.exp
13576 * gdb.base/infcall-input.exp
13577 * gdb.base/inferior-died.exp
13578 * gdb.base/infnan.exp
13579 * gdb.base/info-macros.exp
13580 * gdb.base/info-os.exp
13581 * gdb.base/info-proc.exp
13582 * gdb.base/info-shared.exp
13583 * gdb.base/info-target.exp
13584 * gdb.base/infoline.exp
13585 * gdb.base/interp.exp
13586 * gdb.base/interrupt.exp
13587 * gdb.base/jit-reader.exp
13588 * gdb.base/jit-simple.exp
13589 * gdb.base/kill-after-signal.exp
13590 * gdb.base/kill-detach-inferiors-cmd.exp
13591 * gdb.base/label.exp
13592 * gdb.base/langs.exp
13593 * gdb.base/ldbl_e308.exp
13594 * gdb.base/line-symtabs.exp
13595 * gdb.base/linespecs.exp
13596 * gdb.base/list.exp
13597 * gdb.base/long_long.exp
13598 * gdb.base/longest-types.exp
13599 * gdb.base/maint.exp
13600 * gdb.base/max-value-size.exp
13601 * gdb.base/memattr.exp
13602 * gdb.base/mips_pro.exp
13603 * gdb.base/morestack.exp
13604 * gdb.base/moribund-step.exp
13605 * gdb.base/multi-forks.exp
13606 * gdb.base/nested-addr.exp
13607 * gdb.base/nextoverexit.exp
13608 * gdb.base/noreturn-finish.exp
13609 * gdb.base/noreturn-return.exp
13610 * gdb.base/nostdlib.exp
13611 * gdb.base/offsets.exp
13612 * gdb.base/opaque.exp
13613 * gdb.base/pc-fp.exp
13614 * gdb.base/permissions.exp
13615 * gdb.base/print-symbol-loading.exp
13616 * gdb.base/prologue-include.exp
13617 * gdb.base/psymtab.exp
13618 * gdb.base/ptype.exp
13619 * gdb.base/random-signal.exp
13620 * gdb.base/randomize.exp
13621 * gdb.base/range-stepping.exp
13622 * gdb.base/readline-ask.exp
13623 * gdb.base/recpar.exp
13624 * gdb.base/recurse.exp
13625 * gdb.base/relational.exp
13626 * gdb.base/restore.exp
13627 * gdb.base/return-nodebug.exp
13628 * gdb.base/return.exp
13629 * gdb.base/run-after-attach.exp
13630 * gdb.base/save-bp.exp
13631 * gdb.base/scope.exp
13632 * gdb.base/sect-cmd.exp
13633 * gdb.base/set-lang-auto.exp
13634 * gdb.base/set-noassign.exp
13635 * gdb.base/setvar.exp
13636 * gdb.base/sigall.exp
13637 * gdb.base/sigbpt.exp
13638 * gdb.base/siginfo-addr.exp
13639 * gdb.base/siginfo-infcall.exp
13640 * gdb.base/siginfo-obj.exp
13641 * gdb.base/siginfo.exp
13642 * gdb.base/signals-state-child.exp
13643 * gdb.base/signest.exp
13644 * gdb.base/sigstep.exp
13645 * gdb.base/sizeof.exp
13646 * gdb.base/skip.exp
13647 * gdb.base/solib-corrupted.exp
13648 * gdb.base/solib-nodir.exp
13649 * gdb.base/solib-search.exp
13650 * gdb.base/stack-checking.exp
13651 * gdb.base/stale-infcall.exp
13652 * gdb.base/stap-probe.exp
13653 * gdb.base/start.exp
13654 * gdb.base/step-break.exp
13655 * gdb.base/step-bt.exp
13656 * gdb.base/step-line.exp
13657 * gdb.base/step-over-exit.exp
13658 * gdb.base/step-over-syscall.exp
13659 * gdb.base/step-resume-infcall.exp
13660 * gdb.base/step-test.exp
13661 * gdb.base/store.exp
13662 * gdb.base/structs3.exp
13663 * gdb.base/sym-file.exp
13664 * gdb.base/symbol-without-target_section.exp
13665 * gdb.base/term.exp
13666 * gdb.base/testenv.exp
13667 * gdb.base/ui-redirect.exp
13668 * gdb.base/until.exp
13669 * gdb.base/unwindonsignal.exp
13670 * gdb.base/value-double-free.exp
13671 * gdb.base/vla-datatypes.exp
13672 * gdb.base/vla-ptr.exp
13673 * gdb.base/vla-sideeffect.exp
13674 * gdb.base/volatile.exp
13675 * gdb.base/watch-cond-infcall.exp
13676 * gdb.base/watch-cond.exp
13677 * gdb.base/watch-non-mem.exp
13678 * gdb.base/watch-read.exp
13679 * gdb.base/watch-vfork.exp
13680 * gdb.base/watchpoint-cond-gone.exp
13681 * gdb.base/watchpoint-delete.exp
13682 * gdb.base/watchpoint-hw-hit-once.exp
13683 * gdb.base/watchpoint-hw.exp
13684 * gdb.base/watchpoint-stops-at-right-insn.exp
13685 * gdb.base/watchpoints.exp
13686 * gdb.base/wchar.exp
13687 * gdb.base/whatis-exp.exp
13688 * gdb.btrace/buffer-size.exp
13689 * gdb.btrace/data.exp
13690 * gdb.btrace/delta.exp
13691 * gdb.btrace/dlopen.exp
13692 * gdb.btrace/enable.exp
13693 * gdb.btrace/exception.exp
13694 * gdb.btrace/function_call_history.exp
13695 * gdb.btrace/gcore.exp
13696 * gdb.btrace/instruction_history.exp
13697 * gdb.btrace/nohist.exp
13698 * gdb.btrace/reconnect.exp
13699 * gdb.btrace/record_goto-step.exp
13700 * gdb.btrace/record_goto.exp
13701 * gdb.btrace/rn-dl-bind.exp
13702 * gdb.btrace/segv.exp
13703 * gdb.btrace/step.exp
13704 * gdb.btrace/stepi.exp
13705 * gdb.btrace/tailcall-only.exp
13706 * gdb.btrace/tailcall.exp
13707 * gdb.btrace/tsx.exp
13708 * gdb.btrace/unknown_functions.exp
13709 * gdb.btrace/vdso.exp
13710 * gdb.compile/compile-ifunc.exp
13711 * gdb.compile/compile-ops.exp
13712 * gdb.compile/compile-print.exp
13713 * gdb.compile/compile-setjmp.exp
13714 * gdb.cp/abstract-origin.exp
13715 * gdb.cp/ambiguous.exp
13716 * gdb.cp/annota2.exp
13717 * gdb.cp/annota3.exp
13718 * gdb.cp/anon-ns.exp
13719 * gdb.cp/anon-struct.exp
13720 * gdb.cp/anon-union.exp
13721 * gdb.cp/arg-reference.exp
13722 * gdb.cp/baseenum.exp
13723 * gdb.cp/bool.exp
13724 * gdb.cp/breakpoint.exp
13725 * gdb.cp/bs15503.exp
13726 * gdb.cp/call-c.exp
13727 * gdb.cp/casts.exp
13728 * gdb.cp/chained-calls.exp
13729 * gdb.cp/class2.exp
13730 * gdb.cp/classes.exp
13731 * gdb.cp/cmpd-minsyms.exp
13732 * gdb.cp/converts.exp
13733 * gdb.cp/cp-relocate.exp
13734 * gdb.cp/cpcompletion.exp
13735 * gdb.cp/cpexprs.exp
13736 * gdb.cp/cplabel.exp
13737 * gdb.cp/cplusfuncs.exp
13738 * gdb.cp/cpsizeof.exp
13739 * gdb.cp/ctti.exp
13740 * gdb.cp/derivation.exp
13741 * gdb.cp/destrprint.exp
13742 * gdb.cp/dispcxx.exp
13743 * gdb.cp/enum-class.exp
13744 * gdb.cp/exception.exp
13745 * gdb.cp/exceptprint.exp
13746 * gdb.cp/expand-psymtabs-cxx.exp
13747 * gdb.cp/expand-sals.exp
13748 * gdb.cp/extern-c.exp
13749 * gdb.cp/filename.exp
13750 * gdb.cp/formatted-ref.exp
13751 * gdb.cp/fpointer.exp
13752 * gdb.cp/gdb1355.exp
13753 * gdb.cp/gdb2495.exp
13754 * gdb.cp/hang.exp
13755 * gdb.cp/impl-this.exp
13756 * gdb.cp/infcall-dlopen.exp
13757 * gdb.cp/inherit.exp
13758 * gdb.cp/iostream.exp
13759 * gdb.cp/koenig.exp
13760 * gdb.cp/local.exp
13761 * gdb.cp/m-data.exp
13762 * gdb.cp/m-static.exp
13763 * gdb.cp/mb-ctor.exp
13764 * gdb.cp/mb-inline.exp
13765 * gdb.cp/mb-templates.exp
13766 * gdb.cp/member-name.exp
13767 * gdb.cp/member-ptr.exp
13768 * gdb.cp/meth-typedefs.exp
13769 * gdb.cp/method.exp
13770 * gdb.cp/method2.exp
13771 * gdb.cp/minsym-fallback.exp
13772 * gdb.cp/misc.exp
13773 * gdb.cp/namelessclass.exp
13774 * gdb.cp/namespace-enum.exp
13775 * gdb.cp/namespace-nested-import.exp
13776 * gdb.cp/namespace.exp
13777 * gdb.cp/nextoverthrow.exp
13778 * gdb.cp/no-dmgl-verbose.exp
13779 * gdb.cp/non-trivial-retval.exp
13780 * gdb.cp/noparam.exp
13781 * gdb.cp/nsdecl.exp
13782 * gdb.cp/nsimport.exp
13783 * gdb.cp/nsnested.exp
13784 * gdb.cp/nsnoimports.exp
13785 * gdb.cp/nsrecurs.exp
13786 * gdb.cp/nsstress.exp
13787 * gdb.cp/nsusing.exp
13788 * gdb.cp/operator.exp
13789 * gdb.cp/oranking.exp
13790 * gdb.cp/overload-const.exp
13791 * gdb.cp/overload.exp
13792 * gdb.cp/ovldbreak.exp
13793 * gdb.cp/ovsrch.exp
13794 * gdb.cp/paren-type.exp
13795 * gdb.cp/parse-lang.exp
13796 * gdb.cp/pass-by-ref.exp
13797 * gdb.cp/pr-1023.exp
13798 * gdb.cp/pr-1210.exp
13799 * gdb.cp/pr-574.exp
13800 * gdb.cp/pr10687.exp
13801 * gdb.cp/pr12028.exp
13802 * gdb.cp/pr17132.exp
13803 * gdb.cp/pr17494.exp
13804 * gdb.cp/pr9067.exp
13805 * gdb.cp/pr9167.exp
13806 * gdb.cp/pr9631.exp
13807 * gdb.cp/printmethod.exp
13808 * gdb.cp/psmang.exp
13809 * gdb.cp/psymtab-parameter.exp
13810 * gdb.cp/ptype-cv-cp.exp
13811 * gdb.cp/ptype-flags.exp
13812 * gdb.cp/re-set-overloaded.exp
13813 * gdb.cp/ref-types.exp
13814 * gdb.cp/rtti.exp
13815 * gdb.cp/scope-err.exp
13816 * gdb.cp/shadow.exp
13817 * gdb.cp/smartp.exp
13818 * gdb.cp/static-method.exp
13819 * gdb.cp/static-print-quit.exp
13820 * gdb.cp/temargs.exp
13821 * gdb.cp/templates.exp
13822 * gdb.cp/try_catch.exp
13823 * gdb.cp/typedef-operator.exp
13824 * gdb.cp/typeid.exp
13825 * gdb.cp/userdef.exp
13826 * gdb.cp/using-crash.exp
13827 * gdb.cp/var-tag.exp
13828 * gdb.cp/virtbase.exp
13829 * gdb.cp/virtfunc.exp
13830 * gdb.cp/virtfunc2.exp
13831 * gdb.cp/vla-cxx.exp
13832 * gdb.disasm/t01_mov.exp
13833 * gdb.disasm/t02_mova.exp
13834 * gdb.disasm/t03_add.exp
13835 * gdb.disasm/t04_sub.exp
13836 * gdb.disasm/t05_cmp.exp
13837 * gdb.disasm/t06_ari2.exp
13838 * gdb.disasm/t07_ari3.exp
13839 * gdb.disasm/t08_or.exp
13840 * gdb.disasm/t09_xor.exp
13841 * gdb.disasm/t10_and.exp
13842 * gdb.disasm/t11_logs.exp
13843 * gdb.disasm/t12_bit.exp
13844 * gdb.disasm/t13_otr.exp
13845 * gdb.dlang/circular.exp
13846 * gdb.dwarf2/arr-stride.exp
13847 * gdb.dwarf2/arr-subrange.exp
13848 * gdb.dwarf2/atomic-type.exp
13849 * gdb.dwarf2/bad-regnum.exp
13850 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13851 * gdb.dwarf2/callframecfa.exp
13852 * gdb.dwarf2/clztest.exp
13853 * gdb.dwarf2/corrupt.exp
13854 * gdb.dwarf2/data-loc.exp
13855 * gdb.dwarf2/dup-psym.exp
13856 * gdb.dwarf2/dw2-anon-mptr.exp
13857 * gdb.dwarf2/dw2-anonymous-func.exp
13858 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13859 * gdb.dwarf2/dw2-bad-unresolved.exp
13860 * gdb.dwarf2/dw2-basic.exp
13861 * gdb.dwarf2/dw2-canonicalize-type.exp
13862 * gdb.dwarf2/dw2-case-insensitive.exp
13863 * gdb.dwarf2/dw2-common-block.exp
13864 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13865 * gdb.dwarf2/dw2-compressed.exp
13866 * gdb.dwarf2/dw2-const.exp
13867 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13868 * gdb.dwarf2/dw2-cu-size.exp
13869 * gdb.dwarf2/dw2-dup-frame.exp
13870 * gdb.dwarf2/dw2-entry-value.exp
13871 * gdb.dwarf2/dw2-icycle.exp
13872 * gdb.dwarf2/dw2-ifort-parameter.exp
13873 * gdb.dwarf2/dw2-inline-break.exp
13874 * gdb.dwarf2/dw2-inline-param.exp
13875 * gdb.dwarf2/dw2-intercu.exp
13876 * gdb.dwarf2/dw2-intermix.exp
13877 * gdb.dwarf2/dw2-lexical-block-bare.exp
13878 * gdb.dwarf2/dw2-linkage-name-trust.exp
13879 * gdb.dwarf2/dw2-minsym-in-cu.exp
13880 * gdb.dwarf2/dw2-noloc.exp
13881 * gdb.dwarf2/dw2-op-call.exp
13882 * gdb.dwarf2/dw2-op-out-param.exp
13883 * gdb.dwarf2/dw2-opt-structptr.exp
13884 * gdb.dwarf2/dw2-param-error.exp
13885 * gdb.dwarf2/dw2-producer.exp
13886 * gdb.dwarf2/dw2-ranges-base.exp
13887 * gdb.dwarf2/dw2-ref-missing-frame.exp
13888 * gdb.dwarf2/dw2-reg-undefined.exp
13889 * gdb.dwarf2/dw2-regno-invalid.exp
13890 * gdb.dwarf2/dw2-restore.exp
13891 * gdb.dwarf2/dw2-restrict.exp
13892 * gdb.dwarf2/dw2-single-line-discriminators.exp
13893 * gdb.dwarf2/dw2-strp.exp
13894 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13895 * gdb.dwarf2/dw2-unresolved.exp
13896 * gdb.dwarf2/dw2-var-zero-addr.exp
13897 * gdb.dwarf2/dw4-sig-types.exp
13898 * gdb.dwarf2/dwz.exp
13899 * gdb.dwarf2/dynarr-ptr.exp
13900 * gdb.dwarf2/enum-type.exp
13901 * gdb.dwarf2/gdb-index.exp
13902 * gdb.dwarf2/implptr-64bit.exp
13903 * gdb.dwarf2/implptr-optimized-out.exp
13904 * gdb.dwarf2/implptr.exp
13905 * gdb.dwarf2/implref-array.exp
13906 * gdb.dwarf2/implref-const.exp
13907 * gdb.dwarf2/implref-global.exp
13908 * gdb.dwarf2/implref-struct.exp
13909 * gdb.dwarf2/mac-fileno.exp
13910 * gdb.dwarf2/main-subprogram.exp
13911 * gdb.dwarf2/member-ptr-forwardref.exp
13912 * gdb.dwarf2/method-ptr.exp
13913 * gdb.dwarf2/missing-sig-type.exp
13914 * gdb.dwarf2/nonvar-access.exp
13915 * gdb.dwarf2/opaque-type-lookup.exp
13916 * gdb.dwarf2/pieces-optimized-out.exp
13917 * gdb.dwarf2/pieces.exp
13918 * gdb.dwarf2/pr10770.exp
13919 * gdb.dwarf2/pr13961.exp
13920 * gdb.dwarf2/staticvirtual.exp
13921 * gdb.dwarf2/subrange.exp
13922 * gdb.dwarf2/symtab-producer.exp
13923 * gdb.dwarf2/trace-crash.exp
13924 * gdb.dwarf2/typeddwarf.exp
13925 * gdb.dwarf2/valop.exp
13926 * gdb.dwarf2/watch-notconst.exp
13927 * gdb.fortran/array-element.exp
13928 * gdb.fortran/charset.exp
13929 * gdb.fortran/common-block.exp
13930 * gdb.fortran/complex.exp
13931 * gdb.fortran/derived-type-function.exp
13932 * gdb.fortran/derived-type.exp
13933 * gdb.fortran/logical.exp
13934 * gdb.fortran/module.exp
13935 * gdb.fortran/multi-dim.exp
13936 * gdb.fortran/nested-funcs.exp
13937 * gdb.fortran/print-formatted.exp
13938 * gdb.fortran/subarray.exp
13939 * gdb.fortran/vla-alloc-assoc.exp
13940 * gdb.fortran/vla-datatypes.exp
13941 * gdb.fortran/vla-history.exp
13942 * gdb.fortran/vla-ptr-info.exp
13943 * gdb.fortran/vla-ptype-sub.exp
13944 * gdb.fortran/vla-ptype.exp
13945 * gdb.fortran/vla-sizeof.exp
13946 * gdb.fortran/vla-type.exp
13947 * gdb.fortran/vla-value-sub-arbitrary.exp
13948 * gdb.fortran/vla-value-sub-finish.exp
13949 * gdb.fortran/vla-value-sub.exp
13950 * gdb.fortran/vla-value.exp
13951 * gdb.fortran/whatis_type.exp
13952 * gdb.go/chan.exp
13953 * gdb.go/handcall.exp
13954 * gdb.go/hello.exp
13955 * gdb.go/integers.exp
13956 * gdb.go/methods.exp
13957 * gdb.go/package.exp
13958 * gdb.go/strings.exp
13959 * gdb.go/types.exp
13960 * gdb.go/unsafe.exp
13961 * gdb.guile/scm-arch.exp
13962 * gdb.guile/scm-block.exp
13963 * gdb.guile/scm-breakpoint.exp
13964 * gdb.guile/scm-cmd.exp
13965 * gdb.guile/scm-disasm.exp
13966 * gdb.guile/scm-equal.exp
13967 * gdb.guile/scm-frame-args.exp
13968 * gdb.guile/scm-frame-inline.exp
13969 * gdb.guile/scm-frame.exp
13970 * gdb.guile/scm-iterator.exp
13971 * gdb.guile/scm-math.exp
13972 * gdb.guile/scm-objfile.exp
13973 * gdb.guile/scm-ports.exp
13974 * gdb.guile/scm-symbol.exp
13975 * gdb.guile/scm-symtab.exp
13976 * gdb.guile/scm-value-cc.exp
13977 * gdb.guile/types-module.exp
13978 * gdb.linespec/break-ask.exp
13979 * gdb.linespec/cpexplicit.exp
13980 * gdb.linespec/explicit.exp
13981 * gdb.linespec/keywords.exp
13982 * gdb.linespec/linespec.exp
13983 * gdb.linespec/ls-dollar.exp
13984 * gdb.linespec/ls-errs.exp
13985 * gdb.linespec/skip-two.exp
13986 * gdb.linespec/thread.exp
13987 * gdb.mi/mi-async.exp
13988 * gdb.mi/mi-basics.exp
13989 * gdb.mi/mi-break.exp
13990 * gdb.mi/mi-catch-load.exp
13991 * gdb.mi/mi-cli.exp
13992 * gdb.mi/mi-cmd-param-changed.exp
13993 * gdb.mi/mi-console.exp
13994 * gdb.mi/mi-detach.exp
13995 * gdb.mi/mi-disassemble.exp
13996 * gdb.mi/mi-eval.exp
13997 * gdb.mi/mi-file-transfer.exp
13998 * gdb.mi/mi-file.exp
13999 * gdb.mi/mi-fill-memory.exp
14000 * gdb.mi/mi-inheritance-syntax-error.exp
14001 * gdb.mi/mi-linespec-err-cp.exp
14002 * gdb.mi/mi-logging.exp
14003 * gdb.mi/mi-memory-changed.exp
14004 * gdb.mi/mi-read-memory.exp
14005 * gdb.mi/mi-record-changed.exp
14006 * gdb.mi/mi-reg-undefined.exp
14007 * gdb.mi/mi-regs.exp
14008 * gdb.mi/mi-return.exp
14009 * gdb.mi/mi-reverse.exp
14010 * gdb.mi/mi-simplerun.exp
14011 * gdb.mi/mi-solib.exp
14012 * gdb.mi/mi-stack.exp
14013 * gdb.mi/mi-stepi.exp
14014 * gdb.mi/mi-syn-frame.exp
14015 * gdb.mi/mi-until.exp
14016 * gdb.mi/mi-var-block.exp
14017 * gdb.mi/mi-var-child.exp
14018 * gdb.mi/mi-var-cmd.exp
14019 * gdb.mi/mi-var-cp.exp
14020 * gdb.mi/mi-var-display.exp
14021 * gdb.mi/mi-var-invalidate.exp
14022 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
14023 * gdb.mi/mi-vla-fortran.exp
14024 * gdb.mi/mi-watch.exp
14025 * gdb.mi/mi2-var-child.exp
14026 * gdb.mi/user-selected-context-sync.exp
14027 * gdb.modula2/unbounded-array.exp
14028 * gdb.multi/dummy-frame-restore.exp
14029 * gdb.multi/multi-arch-exec.exp
14030 * gdb.multi/multi-arch.exp
14031 * gdb.multi/tids.exp
14032 * gdb.multi/watchpoint-multi.exp
14033 * gdb.opencl/callfuncs.exp
14034 * gdb.opencl/convs_casts.exp
14035 * gdb.opencl/datatypes.exp
14036 * gdb.opencl/operators.exp
14037 * gdb.opencl/vec_comps.exp
14038 * gdb.opt/clobbered-registers-O2.exp
14039 * gdb.opt/inline-break.exp
14040 * gdb.opt/inline-bt.exp
14041 * gdb.opt/inline-cmds.exp
14042 * gdb.opt/inline-locals.exp
14043 * gdb.pascal/case-insensitive-symbols.exp
14044 * gdb.pascal/floats.exp
14045 * gdb.pascal/gdb11492.exp
14046 * gdb.python/lib-types.exp
14047 * gdb.python/py-arch.exp
14048 * gdb.python/py-as-string.exp
14049 * gdb.python/py-bad-printers.exp
14050 * gdb.python/py-block.exp
14051 * gdb.python/py-breakpoint-create-fail.exp
14052 * gdb.python/py-breakpoint.exp
14053 * gdb.python/py-caller-is.exp
14054 * gdb.python/py-cmd.exp
14055 * gdb.python/py-explore-cc.exp
14056 * gdb.python/py-explore.exp
14057 * gdb.python/py-finish-breakpoint.exp
14058 * gdb.python/py-finish-breakpoint2.exp
14059 * gdb.python/py-frame-args.exp
14060 * gdb.python/py-frame-inline.exp
14061 * gdb.python/py-frame.exp
14062 * gdb.python/py-framefilter-mi.exp
14063 * gdb.python/py-infthread.exp
14064 * gdb.python/py-lazy-string.exp
14065 * gdb.python/py-linetable.exp
14066 * gdb.python/py-mi-events.exp
14067 * gdb.python/py-mi-objfile.exp
14068 * gdb.python/py-mi.exp
14069 * gdb.python/py-objfile.exp
14070 * gdb.python/py-pp-integral.exp
14071 * gdb.python/py-pp-maint.exp
14072 * gdb.python/py-pp-re-notag.exp
14073 * gdb.python/py-pp-registration.exp
14074 * gdb.python/py-recurse-unwind.exp
14075 * gdb.python/py-strfns.exp
14076 * gdb.python/py-symbol.exp
14077 * gdb.python/py-symtab.exp
14078 * gdb.python/py-sync-interp.exp
14079 * gdb.python/py-typeprint.exp
14080 * gdb.python/py-unwind-maint.exp
14081 * gdb.python/py-unwind.exp
14082 * gdb.python/py-value-cc.exp
14083 * gdb.python/py-xmethods.exp
14084 * gdb.reverse/amd64-tailcall-reverse.exp
14085 * gdb.reverse/break-precsave.exp
14086 * gdb.reverse/break-reverse.exp
14087 * gdb.reverse/consecutive-precsave.exp
14088 * gdb.reverse/consecutive-reverse.exp
14089 * gdb.reverse/finish-precsave.exp
14090 * gdb.reverse/finish-reverse-bkpt.exp
14091 * gdb.reverse/finish-reverse.exp
14092 * gdb.reverse/fstatat-reverse.exp
14093 * gdb.reverse/getresuid-reverse.exp
14094 * gdb.reverse/i386-precsave.exp
14095 * gdb.reverse/i386-reverse.exp
14096 * gdb.reverse/i386-sse-reverse.exp
14097 * gdb.reverse/i387-env-reverse.exp
14098 * gdb.reverse/i387-stack-reverse.exp
14099 * gdb.reverse/insn-reverse.exp
14100 * gdb.reverse/machinestate-precsave.exp
14101 * gdb.reverse/machinestate.exp
14102 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14103 * gdb.reverse/pipe-reverse.exp
14104 * gdb.reverse/readv-reverse.exp
14105 * gdb.reverse/recvmsg-reverse.exp
14106 * gdb.reverse/rerun-prec.exp
14107 * gdb.reverse/s390-mvcle.exp
14108 * gdb.reverse/step-precsave.exp
14109 * gdb.reverse/step-reverse.exp
14110 * gdb.reverse/time-reverse.exp
14111 * gdb.reverse/until-precsave.exp
14112 * gdb.reverse/until-reverse.exp
14113 * gdb.reverse/waitpid-reverse.exp
14114 * gdb.reverse/watch-precsave.exp
14115 * gdb.reverse/watch-reverse.exp
14116 * gdb.rust/generics.exp
14117 * gdb.rust/methods.exp
14118 * gdb.rust/modules.exp
14119 * gdb.rust/simple.exp
14120 * gdb.server/connect-with-no-symbol-file.exp
14121 * gdb.server/ext-attach.exp
14122 * gdb.server/ext-restart.exp
14123 * gdb.server/ext-wrapper.exp
14124 * gdb.server/file-transfer.exp
14125 * gdb.server/server-exec-info.exp
14126 * gdb.server/server-kill.exp
14127 * gdb.server/server-mon.exp
14128 * gdb.server/wrapper.exp
14129 * gdb.stabs/exclfwd.exp
14130 * gdb.stabs/gdb11479.exp
14131 * gdb.threads/clone-new-thread-event.exp
14132 * gdb.threads/corethreads.exp
14133 * gdb.threads/current-lwp-dead.exp
14134 * gdb.threads/dlopen-libpthread.exp
14135 * gdb.threads/gcore-thread.exp
14136 * gdb.threads/sigstep-threads.exp
14137 * gdb.threads/watchpoint-fork.exp
14138 * gdb.trace/actions-changed.exp
14139 * gdb.trace/backtrace.exp
14140 * gdb.trace/change-loc.exp
14141 * gdb.trace/circ.exp
14142 * gdb.trace/collection.exp
14143 * gdb.trace/disconnected-tracing.exp
14144 * gdb.trace/ftrace.exp
14145 * gdb.trace/mi-trace-frame-collected.exp
14146 * gdb.trace/mi-trace-unavailable.exp
14147 * gdb.trace/mi-traceframe-changed.exp
14148 * gdb.trace/mi-tsv-changed.exp
14149 * gdb.trace/no-attach-trace.exp
14150 * gdb.trace/passc-dyn.exp
14151 * gdb.trace/qtro.exp
14152 * gdb.trace/range-stepping.exp
14153 * gdb.trace/read-memory.exp
14154 * gdb.trace/save-trace.exp
14155 * gdb.trace/signal.exp
14156 * gdb.trace/status-stop.exp
14157 * gdb.trace/tfile.exp
14158 * gdb.trace/trace-break.exp
14159 * gdb.trace/trace-buffer-size.exp
14160 * gdb.trace/trace-condition.exp
14161 * gdb.trace/tracefile-pseudo-reg.exp
14162 * gdb.trace/tstatus.exp
14163 * gdb.trace/unavailable.exp
14164 * gdb.trace/while-dyn.exp
14165 * gdb.trace/while-stepping.exp
14166
14167 2016-12-22 Doug Evans <xdje42@gmail.com>
14168
14169 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14170 and msymbols.
14171
14172 2016-12-19 Yao Qi <yao.qi@linaro.org>
14173
14174 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14175 (test_with_self): Don't call do_steps_and_nexts, and remove
14176 code about stepping into xmalloc.
14177
14178 2016-12-09 Yao Qi <yao.qi@linaro.org>
14179
14180 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14181
14182 2016-12-09 Yao Qi <yao.qi@linaro.org>
14183
14184 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14185
14186 2016-12-09 Pedro Alves <palves@redhat.com>
14187
14188 * gdb.base/all-architectures-0.exp: New file.
14189 * gdb.base/all-architectures-1.exp: New file.
14190 * gdb.base/all-architectures-2.exp: New file.
14191 * gdb.base/all-architectures-3.exp: New file.
14192 * gdb.base/all-architectures-4.exp: New file.
14193 * gdb.base/all-architectures-5.exp: New file.
14194 * gdb.base/all-architectures-6.exp: New file.
14195 * gdb.base/all-architectures-7.exp: New file.
14196 * gdb.base/all-architectures.exp.in: New file.
14197
14198 2016-12-09 Yao Qi <yao.qi@linaro.org>
14199
14200 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14201
14202 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
14203
14204 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14205 possible.
14206 Remove useless pattern-matching code.
14207
14208 2016-12-02 Pedro Alves <palves@redhat.com>
14209
14210 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14211 procedure.
14212 (top level): Call it.
14213
14214 2016-12-02 Pedro Alves <palves@redhat.com>
14215
14216 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14217 New procedure.
14218 (top level): Call it.
14219
14220 2016-12-02 Pedro Alves <palves@redhat.com>
14221
14222 PR cli/20559
14223 * gdb.base/commands.exp (user_defined_command_args_eval): New
14224 procedure.
14225 (top level): Call it.
14226
14227 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
14228
14229 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14230 timeout handling.
14231
14232 2016-12-02 Tom Tromey <tom@tromey.com>
14233
14234 * gdb.dwarf2/main-subprogram.c: New file.
14235 * gdb.dwarf2/main-subprogram.exp: New file.
14236
14237 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14238
14239 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14240 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14241 gdb_test_no_output for a couple of cases.
14242 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14243
14244 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14245
14246 Fix test names and standardize compilation error messages throughout
14247 the following files:
14248
14249 * gdb.ada/start.exp
14250 * gdb.arch/alpha-step.exp
14251 * gdb.arch/e500-prologue.exp
14252 * gdb.arch/ftrace-insn-reloc.exp
14253 * gdb.arch/gdb1291.exp
14254 * gdb.arch/gdb1431.exp
14255 * gdb.arch/gdb1558.exp
14256 * gdb.arch/i386-dr3-watch.exp
14257 * gdb.arch/i386-sse-stack-align.exp
14258 * gdb.arch/ia64-breakpoint-shadow.exp
14259 * gdb.arch/pa-nullify.exp
14260 * gdb.arch/powerpc-aix-prologue.exp
14261 * gdb.arch/thumb-bx-pc.exp
14262 * gdb.base/annota1.exp
14263 * gdb.base/annota3.exp
14264 * gdb.base/arrayidx.exp
14265 * gdb.base/assign.exp
14266 * gdb.base/attach.exp
14267 * gdb.base/auxv.exp
14268 * gdb.base/bang.exp
14269 * gdb.base/bfp-test.exp
14270 * gdb.base/bigcore.exp
14271 * gdb.base/bitfields2.exp
14272 * gdb.base/break-fun-addr.exp
14273 * gdb.base/break-probes.exp
14274 * gdb.base/call-rt-st.exp
14275 * gdb.base/callexit.exp
14276 * gdb.base/catch-fork-kill.exp
14277 * gdb.base/charset.exp
14278 * gdb.base/checkpoint.exp
14279 * gdb.base/comprdebug.exp
14280 * gdb.base/constvars.exp
14281 * gdb.base/coredump-filter.exp
14282 * gdb.base/cursal.exp
14283 * gdb.base/cvexpr.exp
14284 * gdb.base/detach.exp
14285 * gdb.base/display.exp
14286 * gdb.base/dmsym.exp
14287 * gdb.base/dprintf-pending.exp
14288 * gdb.base/dso2dso.exp
14289 * gdb.base/dtrace-probe.exp
14290 * gdb.base/dump.exp
14291 * gdb.base/enum_cond.exp
14292 * gdb.base/exe-lock.exp
14293 * gdb.base/exec-invalid-sysroot.exp
14294 * gdb.base/execl-update-breakpoints.exp
14295 * gdb.base/exprs.exp
14296 * gdb.base/fileio.exp
14297 * gdb.base/find.exp
14298 * gdb.base/finish.exp
14299 * gdb.base/fixsection.exp
14300 * gdb.base/foll-vfork.exp
14301 * gdb.base/frame-args.exp
14302 * gdb.base/gcore.exp
14303 * gdb.base/gdb1250.exp
14304 * gdb.base/global-var-nested-by-dso.exp
14305 * gdb.base/gnu-ifunc.exp
14306 * gdb.base/hashline1.exp
14307 * gdb.base/hashline2.exp
14308 * gdb.base/hashline3.exp
14309 * gdb.base/hbreak-in-shr-unsupported.exp
14310 * gdb.base/huge.exp
14311 * gdb.base/infcall-input.exp
14312 * gdb.base/info-fun.exp
14313 * gdb.base/info-shared.exp
14314 * gdb.base/jit-simple.exp
14315 * gdb.base/jit-so.exp
14316 * gdb.base/jit.exp
14317 * gdb.base/jump.exp
14318 * gdb.base/label.exp
14319 * gdb.base/lineinc.exp
14320 * gdb.base/logical.exp
14321 * gdb.base/longjmp.exp
14322 * gdb.base/macscp.exp
14323 * gdb.base/miscexprs.exp
14324 * gdb.base/new-ui-echo.exp
14325 * gdb.base/new-ui-pending-input.exp
14326 * gdb.base/new-ui.exp
14327 * gdb.base/nodebug.exp
14328 * gdb.base/nofield.exp
14329 * gdb.base/offsets.exp
14330 * gdb.base/overlays.exp
14331 * gdb.base/pending.exp
14332 * gdb.base/pointers.exp
14333 * gdb.base/pr11022.exp
14334 * gdb.base/printcmds.exp
14335 * gdb.base/prologue.exp
14336 * gdb.base/ptr-typedef.exp
14337 * gdb.base/realname-expand.exp
14338 * gdb.base/relativedebug.exp
14339 * gdb.base/relocate.exp
14340 * gdb.base/remote.exp
14341 * gdb.base/reread.exp
14342 * gdb.base/return2.exp
14343 * gdb.base/savedregs.exp
14344 * gdb.base/sep.exp
14345 * gdb.base/sepdebug.exp
14346 * gdb.base/sepsymtab.exp
14347 * gdb.base/set-inferior-tty.exp
14348 * gdb.base/setshow.exp
14349 * gdb.base/shlib-call.exp
14350 * gdb.base/sigaltstack.exp
14351 * gdb.base/siginfo-addr.exp
14352 * gdb.base/signals.exp
14353 * gdb.base/signull.exp
14354 * gdb.base/sigrepeat.exp
14355 * gdb.base/so-impl-ld.exp
14356 * gdb.base/solib-display.exp
14357 * gdb.base/solib-overlap.exp
14358 * gdb.base/solib-search.exp
14359 * gdb.base/solib-symbol.exp
14360 * gdb.base/structs.exp
14361 * gdb.base/structs2.exp
14362 * gdb.base/symtab-search-order.exp
14363 * gdb.base/twice.exp
14364 * gdb.base/unload.exp
14365 * gdb.base/varargs.exp
14366 * gdb.base/watchpoint-solib.exp
14367 * gdb.base/watchpoint.exp
14368 * gdb.base/whatis.exp
14369 * gdb.base/wrong_frame_bt_full.exp
14370 * gdb.btrace/dlopen.exp
14371 * gdb.cell/ea-standalone.exp
14372 * gdb.cell/ea-test.exp
14373 * gdb.cp/dispcxx.exp
14374 * gdb.cp/gdb2384.exp
14375 * gdb.cp/method2.exp
14376 * gdb.cp/nextoverthrow.exp
14377 * gdb.cp/pr10728.exp
14378 * gdb.disasm/am33.exp
14379 * gdb.disasm/h8300s.exp
14380 * gdb.disasm/mn10300.exp
14381 * gdb.disasm/sh3.exp
14382 * gdb.dwarf2/dw2-dir-file-name.exp
14383 * gdb.fortran/complex.exp
14384 * gdb.fortran/library-module.exp
14385 * gdb.guile/scm-pretty-print.exp
14386 * gdb.guile/scm-symbol.exp
14387 * gdb.guile/scm-type.exp
14388 * gdb.guile/scm-value.exp
14389 * gdb.linespec/linespec.exp
14390 * gdb.mi/gdb701.exp
14391 * gdb.mi/gdb792.exp
14392 * gdb.mi/mi-breakpoint-changed.exp
14393 * gdb.mi/mi-dprintf-pending.exp
14394 * gdb.mi/mi-dprintf.exp
14395 * gdb.mi/mi-exit-code.exp
14396 * gdb.mi/mi-pending.exp
14397 * gdb.mi/mi-solib.exp
14398 * gdb.mi/new-ui-mi-sync.exp
14399 * gdb.mi/pr11022.exp
14400 * gdb.mi/user-selected-context-sync.exp
14401 * gdb.opt/solib-intra-step.exp
14402 * gdb.python/py-events.exp
14403 * gdb.python/py-finish-breakpoint.exp
14404 * gdb.python/py-mi.exp
14405 * gdb.python/py-prettyprint.exp
14406 * gdb.python/py-shared.exp
14407 * gdb.python/py-symbol.exp
14408 * gdb.python/py-template.exp
14409 * gdb.python/py-type.exp
14410 * gdb.python/py-value.exp
14411 * gdb.reverse/solib-precsave.exp
14412 * gdb.reverse/solib-reverse.exp
14413 * gdb.server/solib-list.exp
14414 * gdb.stabs/weird.exp
14415 * gdb.threads/reconnect-signal.exp
14416 * gdb.threads/stepi-random-signal.exp
14417 * gdb.trace/actions.exp
14418 * gdb.trace/ax.exp
14419 * gdb.trace/backtrace.exp
14420 * gdb.trace/change-loc.exp
14421 * gdb.trace/deltrace.exp
14422 * gdb.trace/ftrace-lock.exp
14423 * gdb.trace/ftrace.exp
14424 * gdb.trace/infotrace.exp
14425 * gdb.trace/mi-tracepoint-changed.exp
14426 * gdb.trace/packetlen.exp
14427 * gdb.trace/passcount.exp
14428 * gdb.trace/pending.exp
14429 * gdb.trace/range-stepping.exp
14430 * gdb.trace/report.exp
14431 * gdb.trace/stap-trace.exp
14432 * gdb.trace/tfind.exp
14433 * gdb.trace/trace-break.exp
14434 * gdb.trace/trace-condition.exp
14435 * gdb.trace/trace-enable-disable.exp
14436 * gdb.trace/trace-mt.exp
14437 * gdb.trace/tracecmd.exp
14438 * gdb.trace/tspeed.exp
14439 * gdb.trace/tsv.exp
14440 * lib/perftest.exp
14441
14442 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14443
14444 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14445 with gdb_test_no_output.
14446 Use command as test name.
14447
14448 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14449
14450 Fix test names starting with uppercase throughout the files.
14451
14452 * gdb.ada/assign_1.exp
14453 * gdb.ada/boolean_expr.exp
14454 * gdb.base/arrayidx.exp
14455 * gdb.base/del.exp
14456 * gdb.base/gcore-buffer-overflow.exp
14457 * gdb.base/testenv.exp
14458 * gdb.compile/compile.exp
14459 * gdb.python/py-framefilter-invalidarg.exp
14460 * gdb.python/py-framefilter.exp
14461
14462 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14463
14464 Fix test names starting with uppercase throughout the files.
14465
14466 * gdb.ada/array_return.exp
14467 * gdb.ada/expr_delims.exp
14468 * gdb.ada/mi_dyn_arr.exp
14469 * gdb.ada/mi_interface.exp
14470 * gdb.ada/mi_var_array.exp
14471 * gdb.ada/watch_arg.exp
14472 * gdb.arch/alpha-step.exp
14473 * gdb.arch/altivec-regs.exp
14474 * gdb.arch/e500-regs.exp
14475 * gdb.arch/powerpc-d128-regs.exp
14476 * gdb.base/arrayidx.exp
14477 * gdb.base/break.exp
14478 * gdb.base/checkpoint.exp
14479 * gdb.base/debug-expr.exp
14480 * gdb.base/dmsym.exp
14481 * gdb.base/radix.exp
14482 * gdb.base/sepdebug.exp
14483 * gdb.base/testenv.exp
14484 * gdb.base/watch_thread_num.exp
14485 * gdb.base/watchpoint-cond-gone.exp
14486 * gdb.cell/break.exp
14487 * gdb.cell/ea-cache.exp
14488 * gdb.compile/compile.exp
14489 * gdb.cp/gdb2495.exp
14490 * gdb.gdb/selftest.exp
14491 * gdb.gdb/xfullpath.exp
14492 * gdb.go/hello.exp
14493 * gdb.go/integers.exp
14494 * gdb.objc/basicclass.exp
14495 * gdb.pascal/hello.exp
14496 * gdb.pascal/integers.exp
14497 * gdb.python/py-breakpoint.exp
14498 * gdb.python/py-cmd.exp
14499 * gdb.python/py-linetable.exp
14500 * gdb.python/py-xmethods.exp
14501 * gdb.python/python.exp
14502 * gdb.reverse/consecutive-precsave.exp
14503 * gdb.reverse/finish-precsave.exp
14504 * gdb.reverse/i386-precsave.exp
14505 * gdb.reverse/machinestate-precsave.exp
14506 * gdb.reverse/sigall-precsave.exp
14507 * gdb.reverse/solib-precsave.exp
14508 * gdb.reverse/step-precsave.exp
14509 * gdb.reverse/until-precsave.exp
14510 * gdb.reverse/watch-precsave.exp
14511 * gdb.threads/leader-exit.exp
14512 * gdb.threads/pthreads.exp
14513 * gdb.threads/wp-replication.exp
14514 * gdb.trace/actions.exp
14515 * gdb.trace/mi-tsv-changed.exp
14516 * gdb.trace/tsv.exp
14517
14518 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14519
14520 Fix test names starting with uppercase throughout the files.
14521
14522 * gdb.arch/i386-bp_permanent.exp
14523 * gdb.arch/i386-gnu-cfi.exp
14524 * gdb.base/disasm-end-cu.exp
14525 * gdb.base/macscp.exp
14526 * gdb.base/pending.exp
14527 * gdb.base/watch_thread_num.exp
14528 * gdb.cp/exception.exp
14529 * gdb.cp/gdb2495.exp
14530 * gdb.cp/local.exp
14531 * gdb.python/py-evsignal.exp
14532 * gdb.python/python.exp
14533 * gdb.trace/tracecmd.exp
14534
14535 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14536
14537 Fix test names starting with uppercase throughout the files.
14538
14539 * gdb.base/charset.exp
14540 * gdb.base/eval.exp
14541 * gdb.base/multi-forks.exp
14542 * gdb.guile/scm-progspace.exp
14543 * gdb.opencl/datatypes.exp
14544 * gdb.python/py-block.exp
14545 * gdb.python/py-function.exp
14546 * gdb.python/py-symbol.exp
14547 * gdb.python/py-symtab.exp
14548 * gdb.python/py-xmethods.exp
14549 * gdb.reverse/break-precsave.exp
14550 * gdb.reverse/break-reverse.exp
14551 * gdb.reverse/consecutive-precsave.exp
14552 * gdb.reverse/consecutive-reverse.exp
14553 * gdb.reverse/finish-precsave.exp
14554 * gdb.reverse/finish-reverse-bkpt.exp
14555 * gdb.reverse/finish-reverse.exp
14556 * gdb.reverse/fstatat-reverse.exp
14557 * gdb.reverse/getresuid-reverse.exp
14558 * gdb.reverse/i386-precsave.exp
14559 * gdb.reverse/i386-reverse.exp
14560 * gdb.reverse/i386-sse-reverse.exp
14561 * gdb.reverse/i387-stack-reverse.exp
14562 * gdb.reverse/insn-reverse.exp
14563 * gdb.reverse/machinestate-precsave.exp
14564 * gdb.reverse/machinestate.exp
14565 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14566 * gdb.reverse/pipe-reverse.exp
14567 * gdb.reverse/readv-reverse.exp
14568 * gdb.reverse/recvmsg-reverse.exp
14569 * gdb.reverse/rerun-prec.exp
14570 * gdb.reverse/s390-mvcle.exp
14571 * gdb.reverse/sigall-precsave.exp
14572 * gdb.reverse/sigall-reverse.exp
14573 * gdb.reverse/solib-precsave.exp
14574 * gdb.reverse/solib-reverse.exp
14575 * gdb.reverse/step-precsave.exp
14576 * gdb.reverse/step-reverse.exp
14577 * gdb.reverse/time-reverse.exp
14578 * gdb.reverse/until-precsave.exp
14579 * gdb.reverse/until-reverse.exp
14580 * gdb.reverse/waitpid-reverse.exp
14581 * gdb.reverse/watch-precsave.exp
14582 * gdb.reverse/watch-reverse.exp
14583
14584 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14585
14586 Fix test names starting with uppercase throughout the files.
14587
14588 * gdb.arch/i386-mpx-simple_segv.exp
14589 * gdb.arch/i386-mpx.exp
14590 * gdb.arch/i386-permbkpt.exp
14591 * gdb.arch/pa-nullify.exp
14592 * gdb.arch/powerpc-d128-regs.exp
14593 * gdb.arch/vsx-regs.exp
14594 * gdb.base/bfp-test.exp
14595 * gdb.base/break.exp
14596 * gdb.base/breakpoint-shadow.exp
14597 * gdb.base/callfuncs.exp
14598 * gdb.base/charset.exp
14599 * gdb.base/commands.exp
14600 * gdb.base/completion.exp
14601 * gdb.base/dfp-test.exp
14602 * gdb.base/echo.exp
14603 * gdb.base/ending-run.exp
14604 * gdb.base/eval.exp
14605 * gdb.base/expand-psymtabs.exp
14606 * gdb.base/float128.exp
14607 * gdb.base/floatn.exp
14608 * gdb.base/foll-exec-mode.exp
14609 * gdb.base/gdb1056.exp
14610 * gdb.base/gdb11531.exp
14611 * gdb.base/kill-after-signal.exp
14612 * gdb.base/multi-forks.exp
14613 * gdb.base/overlays.exp
14614 * gdb.base/pending.exp
14615 * gdb.base/sepdebug.exp
14616 * gdb.base/testenv.exp
14617 * gdb.base/valgrind-db-attach.exp
14618 * gdb.base/watch_thread_num.exp
14619 * gdb.base/watchpoint-cond-gone.exp
14620 * gdb.base/watchpoint.exp
14621 * gdb.base/watchpoints.exp
14622 * gdb.cp/arg-reference.exp
14623 * gdb.cp/baseenum.exp
14624 * gdb.cp/operator.exp
14625 * gdb.cp/shadow.exp
14626 * gdb.dwarf2/dw2-op-out-param.exp
14627 * gdb.dwarf2/dw2-reg-undefined.exp
14628 * gdb.go/chan.exp
14629 * gdb.go/hello.exp
14630 * gdb.go/integers.exp
14631 * gdb.go/methods.exp
14632 * gdb.go/package.exp
14633 * gdb.guile/scm-parameter.exp
14634 * gdb.guile/scm-progspace.exp
14635 * gdb.guile/scm-value.exp
14636 * gdb.mi/mi-pending.exp
14637 * gdb.mi/user-selected-context-sync.exp
14638 * gdb.multi/multi-attach.exp
14639 * gdb.multi/tids.exp
14640 * gdb.opt/clobbered-registers-O2.exp
14641 * gdb.pascal/floats.exp
14642 * gdb.pascal/integers.exp
14643 * gdb.python/py-block.exp
14644 * gdb.python/py-events.exp
14645 * gdb.python/py-parameter.exp
14646 * gdb.python/py-symbol.exp
14647 * gdb.python/py-symtab.exp
14648 * gdb.python/py-type.exp
14649 * gdb.python/py-value.exp
14650 * gdb.python/py-xmethods.exp
14651 * gdb.python/python.exp
14652 * gdb.reverse/break-precsave.exp
14653 * gdb.reverse/consecutive-precsave.exp
14654 * gdb.reverse/finish-precsave.exp
14655 * gdb.reverse/i386-precsave.exp
14656 * gdb.reverse/machinestate-precsave.exp
14657 * gdb.reverse/sigall-precsave.exp
14658 * gdb.reverse/solib-precsave.exp
14659 * gdb.reverse/step-precsave.exp
14660 * gdb.reverse/until-precsave.exp
14661 * gdb.reverse/watch-precsave.exp
14662 * gdb.server/ext-attach.exp
14663 * gdb.server/ext-restart.exp
14664 * gdb.server/ext-run.exp
14665 * gdb.server/ext-wrapper.exp
14666 * gdb.stabs/gdb11479.exp
14667 * gdb.stabs/weird.exp
14668 * gdb.threads/attach-many-short-lived-threads.exp
14669 * gdb.threads/kill.exp
14670 * gdb.threads/watchpoint-fork.exp
14671
14672 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14673
14674 Fix test names starting with uppercase throughout all the files below.
14675
14676 * gdb.ada/array_return.exp
14677 * gdb.ada/catch_ex.exp
14678 * gdb.ada/info_exc.exp
14679 * gdb.ada/mi_catch_ex.exp
14680 * gdb.ada/mi_dyn_arr.exp
14681 * gdb.ada/mi_ex_cond.exp
14682 * gdb.ada/mi_exc_info.exp
14683 * gdb.ada/mi_interface.exp
14684 * gdb.ada/mi_task_arg.exp
14685 * gdb.ada/mi_task_info.exp
14686 * gdb.ada/mi_var_array.exp
14687 * gdb.arch/alpha-step.exp
14688 * gdb.arch/amd64-disp-step.exp
14689 * gdb.arch/arm-disp-step.exp
14690 * gdb.arch/disp-step-insn-reloc.exp
14691 * gdb.arch/e500-prologue.exp
14692 * gdb.arch/ftrace-insn-reloc.exp
14693 * gdb.arch/gdb1558.exp
14694 * gdb.arch/i386-bp_permanent.exp
14695 * gdb.arch/i386-disp-step.exp
14696 * gdb.arch/i386-float.exp
14697 * gdb.arch/i386-gnu-cfi.exp
14698 * gdb.arch/ia64-breakpoint-shadow.exp
14699 * gdb.arch/mips16-thunks.exp
14700 * gdb.arch/pa-nullify.exp
14701 * gdb.arch/powerpc-aix-prologue.exp
14702 * gdb.arch/powerpc-power.exp
14703 * gdb.arch/ppc-dfp.exp
14704 * gdb.arch/s390-tdbregs.exp
14705 * gdb.arch/spu-info.exp
14706 * gdb.arch/spu-ls.exp
14707 * gdb.arch/thumb-bx-pc.exp
14708 * gdb.base/advance.exp
14709 * gdb.base/annota-input-while-running.exp
14710 * gdb.base/arrayidx.exp
14711 * gdb.base/asmlabel.exp
14712 * gdb.base/async.exp
14713 * gdb.base/attach-wait-input.exp
14714 * gdb.base/auto-connect-native-target.exp
14715 * gdb.base/batch-preserve-term-settings.exp
14716 * gdb.base/bfp-test.exp
14717 * gdb.base/bigcore.exp
14718 * gdb.base/bp-permanent.exp
14719 * gdb.base/break-always.exp
14720 * gdb.base/break-fun-addr.exp
14721 * gdb.base/break-idempotent.exp
14722 * gdb.base/break-main-file-remove-fail.exp
14723 * gdb.base/break-probes.exp
14724 * gdb.base/break-unload-file.exp
14725 * gdb.base/break.exp
14726 * gdb.base/call-ar-st.exp
14727 * gdb.base/call-rt-st.exp
14728 * gdb.base/call-sc.exp
14729 * gdb.base/call-signal-resume.exp
14730 * gdb.base/call-strs.exp
14731 * gdb.base/callexit.exp
14732 * gdb.base/callfuncs.exp
14733 * gdb.base/catch-gdb-caused-signals.exp
14734 * gdb.base/catch-signal-siginfo-cond.exp
14735 * gdb.base/catch-syscall.exp
14736 * gdb.base/compare-sections.exp
14737 * gdb.base/cond-eval-mode.exp
14738 * gdb.base/condbreak-call-false.exp
14739 * gdb.base/consecutive-step-over.exp
14740 * gdb.base/cursal.exp
14741 * gdb.base/disabled-location.exp
14742 * gdb.base/disasm-end-cu.exp
14743 * gdb.base/display.exp
14744 * gdb.base/double-prompt-target-event-error.exp
14745 * gdb.base/dprintf-bp-same-addr.exp
14746 * gdb.base/dprintf-detach.exp
14747 * gdb.base/dprintf-next.exp
14748 * gdb.base/dprintf-non-stop.exp
14749 * gdb.base/dprintf-pending.exp
14750 * gdb.base/dso2dso.exp
14751 * gdb.base/ending-run.exp
14752 * gdb.base/enum_cond.exp
14753 * gdb.base/examine-backward.exp
14754 * gdb.base/exe-lock.exp
14755 * gdb.base/exec-invalid-sysroot.exp
14756 * gdb.base/execl-update-breakpoints.exp
14757 * gdb.base/execution-termios.exp
14758 * gdb.base/fileio.exp
14759 * gdb.base/fixsection.exp
14760 * gdb.base/foll-exec-mode.exp
14761 * gdb.base/foll-exec.exp
14762 * gdb.base/fork-running-state.exp
14763 * gdb.base/frame-args.exp
14764 * gdb.base/fullpath-expand.exp
14765 * gdb.base/func-ptr.exp
14766 * gdb.base/gcore-relro-pie.exp
14767 * gdb.base/gdb1090.exp
14768 * gdb.base/gdb1555.exp
14769 * gdb.base/global-var-nested-by-dso.exp
14770 * gdb.base/gnu-ifunc.exp
14771 * gdb.base/hbreak-in-shr-unsupported.exp
14772 * gdb.base/hbreak-unmapped.exp
14773 * gdb.base/hook-stop.exp
14774 * gdb.base/infcall-input.exp
14775 * gdb.base/info-fun.exp
14776 * gdb.base/info-shared.exp
14777 * gdb.base/interrupt-noterm.exp
14778 * gdb.base/jit-so.exp
14779 * gdb.base/jit.exp
14780 * gdb.base/line-symtabs.exp
14781 * gdb.base/list.exp
14782 * gdb.base/longjmp.exp
14783 * gdb.base/macscp.exp
14784 * gdb.base/max-value-size.exp
14785 * gdb.base/nodebug.exp
14786 * gdb.base/nofield.exp
14787 * gdb.base/overlays.exp
14788 * gdb.base/paginate-after-ctrl-c-running.exp
14789 * gdb.base/paginate-bg-execution.exp
14790 * gdb.base/paginate-inferior-exit.exp
14791 * gdb.base/pending.exp
14792 * gdb.base/pr11022.exp
14793 * gdb.base/printcmds.exp
14794 * gdb.base/ptr-typedef.exp
14795 * gdb.base/ptype.exp
14796 * gdb.base/randomize.exp
14797 * gdb.base/range-stepping.exp
14798 * gdb.base/realname-expand.exp
14799 * gdb.base/relativedebug.exp
14800 * gdb.base/remote.exp
14801 * gdb.base/savedregs.exp
14802 * gdb.base/sepdebug.exp
14803 * gdb.base/set-noassign.exp
14804 * gdb.base/shlib-call.exp
14805 * gdb.base/shreloc.exp
14806 * gdb.base/sigaltstack.exp
14807 * gdb.base/sigbpt.exp
14808 * gdb.base/siginfo-addr.exp
14809 * gdb.base/siginfo-obj.exp
14810 * gdb.base/siginfo-thread.exp
14811 * gdb.base/signest.exp
14812 * gdb.base/signull.exp
14813 * gdb.base/sigrepeat.exp
14814 * gdb.base/skip.exp
14815 * gdb.base/so-impl-ld.exp
14816 * gdb.base/solib-corrupted.exp
14817 * gdb.base/solib-disc.exp
14818 * gdb.base/solib-display.exp
14819 * gdb.base/solib-overlap.exp
14820 * gdb.base/solib-search.exp
14821 * gdb.base/solib-symbol.exp
14822 * gdb.base/source-execution.exp
14823 * gdb.base/sss-bp-on-user-bp-2.exp
14824 * gdb.base/sss-bp-on-user-bp.exp
14825 * gdb.base/stack-checking.exp
14826 * gdb.base/stale-infcall.exp
14827 * gdb.base/step-break.exp
14828 * gdb.base/step-line.exp
14829 * gdb.base/step-over-exit.exp
14830 * gdb.base/step-test.exp
14831 * gdb.base/structs.exp
14832 * gdb.base/sym-file.exp
14833 * gdb.base/symtab-search-order.exp
14834 * gdb.base/term.exp
14835 * gdb.base/type-opaque.exp
14836 * gdb.base/unload.exp
14837 * gdb.base/until-nodebug.exp
14838 * gdb.base/until.exp
14839 * gdb.base/unwindonsignal.exp
14840 * gdb.base/watch-cond.exp
14841 * gdb.base/watch-non-mem.exp
14842 * gdb.base/watch_thread_num.exp
14843 * gdb.base/watchpoint-reuse-slot.exp
14844 * gdb.base/watchpoint-solib.exp
14845 * gdb.base/watchpoint.exp
14846 * gdb.btrace/dlopen.exp
14847 * gdb.cell/arch.exp
14848 * gdb.cell/break.exp
14849 * gdb.cell/bt.exp
14850 * gdb.cell/core.exp
14851 * gdb.cell/data.exp
14852 * gdb.cell/dwarfaddr.exp
14853 * gdb.cell/ea-cache.exp
14854 * gdb.cell/ea-standalone.exp
14855 * gdb.cell/ea-test.exp
14856 * gdb.cell/f-regs.exp
14857 * gdb.cell/fork.exp
14858 * gdb.cell/gcore.exp
14859 * gdb.cell/mem-access.exp
14860 * gdb.cell/ptype.exp
14861 * gdb.cell/registers.exp
14862 * gdb.cell/sizeof.exp
14863 * gdb.cell/solib-symbol.exp
14864 * gdb.cell/solib.exp
14865 * gdb.compile/compile-tls.exp
14866 * gdb.cp/exception.exp
14867 * gdb.cp/gdb2495.exp
14868 * gdb.cp/local.exp
14869 * gdb.cp/mb-inline.exp
14870 * gdb.cp/mb-templates.exp
14871 * gdb.cp/pr10687.exp
14872 * gdb.cp/pr9167.exp
14873 * gdb.cp/scope-err.exp
14874 * gdb.cp/templates.exp
14875 * gdb.cp/virtfunc.exp
14876 * gdb.dwarf2/dw2-dir-file-name.exp
14877 * gdb.dwarf2/dw2-single-line-discriminators.exp
14878 * gdb.fortran/complex.exp
14879 * gdb.fortran/library-module.exp
14880 * gdb.guile/guile.exp
14881 * gdb.guile/scm-cmd.exp
14882 * gdb.guile/scm-frame-inline.exp
14883 * gdb.guile/scm-objfile.exp
14884 * gdb.guile/scm-pretty-print.exp
14885 * gdb.guile/scm-symbol.exp
14886 * gdb.guile/scm-type.exp
14887 * gdb.guile/scm-value.exp
14888 * gdb.linespec/keywords.exp
14889 * gdb.linespec/ls-errs.exp
14890 * gdb.linespec/macro-relative.exp
14891 * gdb.linespec/thread.exp
14892 * gdb.mi/mi-breakpoint-changed.exp
14893 * gdb.mi/mi-dprintf-pending.exp
14894 * gdb.mi/mi-fullname-deleted.exp
14895 * gdb.mi/mi-logging.exp
14896 * gdb.mi/mi-pending.exp
14897 * gdb.mi/mi-solib.exp
14898 * gdb.mi/new-ui-mi-sync.exp
14899 * gdb.mi/user-selected-context-sync.exp
14900 * gdb.multi/dummy-frame-restore.exp
14901 * gdb.multi/multi-arch-exec.exp
14902 * gdb.multi/remove-inferiors.exp
14903 * gdb.multi/watchpoint-multi-exit.exp
14904 * gdb.opt/solib-intra-step.exp
14905 * gdb.perf/backtrace.exp
14906 * gdb.perf/single-step.exp
14907 * gdb.perf/skip-command.exp
14908 * gdb.perf/skip-prologue.exp
14909 * gdb.perf/solib.exp
14910 * gdb.python/lib-types.exp
14911 * gdb.python/py-as-string.exp
14912 * gdb.python/py-bad-printers.exp
14913 * gdb.python/py-block.exp
14914 * gdb.python/py-breakpoint.exp
14915 * gdb.python/py-cmd.exp
14916 * gdb.python/py-events.exp
14917 * gdb.python/py-evthreads.exp
14918 * gdb.python/py-finish-breakpoint.exp
14919 * gdb.python/py-finish-breakpoint2.exp
14920 * gdb.python/py-frame-inline.exp
14921 * gdb.python/py-frame.exp
14922 * gdb.python/py-inferior.exp
14923 * gdb.python/py-infthread.exp
14924 * gdb.python/py-mi.exp
14925 * gdb.python/py-objfile.exp
14926 * gdb.python/py-pp-maint.exp
14927 * gdb.python/py-pp-registration.exp
14928 * gdb.python/py-prettyprint.exp
14929 * gdb.python/py-recurse-unwind.exp
14930 * gdb.python/py-shared.exp
14931 * gdb.python/py-symbol.exp
14932 * gdb.python/py-symtab.exp
14933 * gdb.python/py-template.exp
14934 * gdb.python/py-type.exp
14935 * gdb.python/py-unwind-maint.exp
14936 * gdb.python/py-unwind.exp
14937 * gdb.python/py-value.exp
14938 * gdb.python/python.exp
14939 * gdb.reverse/finish-reverse-bkpt.exp
14940 * gdb.reverse/insn-reverse.exp
14941 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14942 * gdb.reverse/solib-precsave.exp
14943 * gdb.reverse/solib-reverse.exp
14944 * gdb.stabs/gdb11479.exp
14945 * gdb.stabs/weird.exp
14946 * gdb.threads/fork-child-threads.exp
14947 * gdb.threads/fork-plus-threads.exp
14948 * gdb.threads/fork-thread-pending.exp
14949 * gdb.threads/forking-threads-plus-breakpoint.exp
14950 * gdb.threads/hand-call-in-threads.exp
14951 * gdb.threads/interrupted-hand-call.exp
14952 * gdb.threads/linux-dp.exp
14953 * gdb.threads/local-watch-wrong-thread.exp
14954 * gdb.threads/next-while-other-thread-longjmps.exp
14955 * gdb.threads/non-ldr-exit.exp
14956 * gdb.threads/pending-step.exp
14957 * gdb.threads/print-threads.exp
14958 * gdb.threads/process-dies-while-detaching.exp
14959 * gdb.threads/process-dies-while-handling-bp.exp
14960 * gdb.threads/pthreads.exp
14961 * gdb.threads/queue-signal.exp
14962 * gdb.threads/reconnect-signal.exp
14963 * gdb.threads/signal-command-handle-nopass.exp
14964 * gdb.threads/signal-command-multiple-signals-pending.exp
14965 * gdb.threads/signal-delivered-right-thread.exp
14966 * gdb.threads/signal-sigtrap.exp
14967 * gdb.threads/sigthread.exp
14968 * gdb.threads/staticthreads.exp
14969 * gdb.threads/stepi-random-signal.exp
14970 * gdb.threads/thread-unwindonsignal.exp
14971 * gdb.threads/thread_check.exp
14972 * gdb.threads/thread_events.exp
14973 * gdb.threads/tid-reuse.exp
14974 * gdb.threads/tls-nodebug.exp
14975 * gdb.threads/tls-shared.exp
14976 * gdb.threads/tls-so_extern.exp
14977 * gdb.threads/tls.exp
14978 * gdb.threads/wp-replication.exp
14979 * gdb.trace/actions-changed.exp
14980 * gdb.trace/actions.exp
14981 * gdb.trace/backtrace.exp
14982 * gdb.trace/change-loc.exp
14983 * gdb.trace/collection.exp
14984 * gdb.trace/deltrace.exp
14985 * gdb.trace/disconnected-tracing.exp
14986 * gdb.trace/entry-values.exp
14987 * gdb.trace/ftrace-lock.exp
14988 * gdb.trace/ftrace.exp
14989 * gdb.trace/infotrace.exp
14990 * gdb.trace/mi-trace-frame-collected.exp
14991 * gdb.trace/mi-trace-unavailable.exp
14992 * gdb.trace/mi-traceframe-changed.exp
14993 * gdb.trace/mi-tracepoint-changed.exp
14994 * gdb.trace/mi-tsv-changed.exp
14995 * gdb.trace/no-attach-trace.exp
14996 * gdb.trace/packetlen.exp
14997 * gdb.trace/passc-dyn.exp
14998 * gdb.trace/passcount.exp
14999 * gdb.trace/pending.exp
15000 * gdb.trace/pr16508.exp
15001 * gdb.trace/qtro.exp
15002 * gdb.trace/range-stepping.exp
15003 * gdb.trace/read-memory.exp
15004 * gdb.trace/report.exp
15005 * gdb.trace/save-trace.exp
15006 * gdb.trace/signal.exp
15007 * gdb.trace/stap-trace.exp
15008 * gdb.trace/status-stop.exp
15009 * gdb.trace/strace.exp
15010 * gdb.trace/tfile.exp
15011 * gdb.trace/tfind.exp
15012 * gdb.trace/trace-break.exp
15013 * gdb.trace/trace-condition.exp
15014 * gdb.trace/trace-enable-disable.exp
15015 * gdb.trace/trace-mt.exp
15016 * gdb.trace/tracecmd.exp
15017 * gdb.trace/tracefile-pseudo-reg.exp
15018 * gdb.trace/tspeed.exp
15019 * gdb.trace/tstatus.exp
15020 * gdb.trace/tsv.exp
15021 * gdb.trace/unavailable.exp
15022 * gdb.trace/while-dyn.exp
15023 * gdb.trace/while-stepping.exp
15024 * lib/gdb-guile.exp
15025 * lib/gdb.exp
15026 * lib/mi-support.exp
15027 * lib/pascal.exp
15028 * lib/perftest.exp
15029 * lib/prelink-support.exp
15030 * lib/selftest-support.exp
15031
15032 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
15033
15034 * Makefile.in: Include disable-implicit-rules.mk.
15035
15036 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15037
15038 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
15039 non-byte-aligned bit fields.
15040
15041 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15042
15043 PR gdb/12616
15044 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
15045 respects the DW_AT_data_bit_offset attribute.
15046
15047 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
15048
15049 * gdb.base/default.exp: Fix output of "set language".
15050
15051 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
15052
15053 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
15054 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15055 make.
15056 * configure.ac: Remove checks for the make program.
15057 * configure: Re-generate.
15058
15059 2016-11-16 Kevin Buettner <kevinb@redhat.com>
15060
15061 * gdb.python/py-recurse-unwind.c (main): Add loop.
15062 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15063 to read_register() and gdb.parse_and_eval(). Make each code
15064 call a separate case that can be individually tested.
15065 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15066 proc. Call cont_and_backtrace for each of the code paths that
15067 we want to test in the unwinder.
15068
15069 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15070
15071 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15072 the definition of struct S.
15073
15074 2016-11-11 Catherine Moore <clm@codesourcery.com>
15075
15076 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15077
15078 2016-11-09 Pedro Alves <palves@redhat.com>
15079
15080 * gdb.base/commands.exp (runto_or_return): New procedure.
15081 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15082 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15083 (progvar_simple_while_test, progvar_complex_if_while_test)
15084 (if_while_breakpoint_command_test)
15085 (infrun_breakpoint_command_test, breakpoint_command_test)
15086 (user_defined_command_test, watchpoint_command_test)
15087 (test_command_prompt_position, redefine_hook_test)
15088 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15089 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15090 multi_line_input and multi_line. Remove gdb_expect and
15091 gdb_stop_suppressing_tests uses.
15092 * lib/gdb.exp (valnum_re): New global.
15093 (multi_line_input): New procedure.
15094
15095 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15096
15097 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15098 Remove.
15099 (test_setup): Define with proc_with_prefix.
15100 (test_cli_inferior): Likewise.
15101 (test_cli_thread): Likewise.
15102 (test_cli_frame): Likewise.
15103 (test_cli_select_frame): Likewise.
15104 (test_cli_up_down): Likewise.
15105 (test_mi_thread_select): Likewise.
15106 (test_mi_stack_select_frame): Likewise.
15107 (test_cli_in_mi_inferior): Likewise.
15108 (test_cli_in_mi_thread): Likewise.
15109 (test_cli_in_mi_frame): Likewise.
15110 (top level): Do not use with_test_prefix_procname.
15111
15112 2016-11-09 Pedro Alves <palves@redhat.com>
15113
15114 * gdb.base/commands.exp (gdbvar_simple_if_test)
15115 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15116 (progvar_simple_if_test, progvar_simple_while_test)
15117 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15118 (infrun_breakpoint_command_test, breakpoint_command_test)
15119 (user_defined_command_test, watchpoint_command_test)
15120 (test_command_prompt_position, deprecated_command_test)
15121 (bp_deleted_in_command, temporary_breakpoint_commands)
15122 (stray_arg0_test, source_file_with_indented_comment)
15123 (recursive_source_test, if_commands_test)
15124 (error_clears_commands_left, redefine_hook_test)
15125 (redefine_backtrace_test): Use proc_with_prefix.
15126 * lib/gdb.exp (proc_with_prefix): New proc.
15127
15128 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15129
15130 * gdb.base/tui-layout.c: New file.
15131 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15132 disassembly window contains very long lines.
15133
15134 2016-11-08 Tom Tromey <tom@tromey.com>
15135
15136 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15137 depend on Python 2.
15138
15139 2016-11-08 Tom Tromey <tom@tromey.com>
15140
15141 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15142 New method.
15143
15144 2016-10-29 Manish Goregaokar <manish@mozilla.com>
15145
15146 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
15147
15148 2016-10-27 Manish Goregaokar <manish@mozilla.com>
15149
15150 * gdb.rust/simple.rs: Add test for univariant enums without
15151 discriminants and for encoded struct-like enums.
15152
15153 2016-10-28 Pedro Alves <palves@redhat.com>
15154
15155 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15156 gdb_test_multiple, tighten regexps and match symtabs and line
15157 tables incrementally.
15158
15159 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
15160
15161 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15162 general.
15163
15164 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
15165
15166 * gdb.base/exec-invalid-sysroot.exp: New file.
15167
15168 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15169
15170 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15171
15172 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15173
15174 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15175
15176 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15177
15178 * gdb.base/killed-outside.exp: Remove $options from a call to
15179 `prepare_for_testing'.
15180
15181 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15182
15183 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15184 Change test message.
15185
15186 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15187
15188 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15189 Update comment.
15190
15191 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15192
15193 * gdb.trace/mi-trace-save.exp: New file.
15194
15195 2016-10-13 Yao Qi <yao.qi@linaro.org>
15196
15197 * gdb.base/code_elim.exp (get_var_address): Remove.
15198 * gdb.base/relocate.exp: Likewise.
15199 * gdb.base/shreloc.exp: Likewise.
15200 * lib/gdb.exp (get_var_address): New.
15201
15202 2016-10-13 Yao Qi <yao.qi@linaro.org>
15203
15204 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15205 floating point tests if $skip_float_test is false.
15206
15207 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
15208
15209 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15210 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15211 argc values.
15212 Add 1 to argc so we guarantee distinct initial/modified argc values.
15213
15214 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15215
15216 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15217
15218 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15219
15220 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15221 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15222 * gdb.arch/vsx-regs.exp: Likewise.
15223
15224 2016-10-07 Yao Qi <yao.qi@linaro.org>
15225
15226 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15227
15228 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15229
15230 * gdb.python/python.exp: Test decode_line("*0").
15231
15232 2016-10-06 Doug Evans <dje@google.com>
15233
15234 * gdb.python/py-value.exp (test_value_creation): Add test for large
15235 unsigned 64-bit value.
15236
15237 2016-10-06 Tom Tromey <tom@tromey.com>
15238
15239 * gdb.compile/compile.exp: Change java tests to rust.
15240 * gdb.base/setshow.exp: Change java tests to rust.
15241 * gdb.base/default.exp: Remove java from language list.
15242 * README (Examples): Update language example.
15243 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15244 test.
15245 * lib/gdb.exp (skip_java_tests): Remove.
15246 * lib/java.exp: Remove.
15247 * gdb.java: Remove.
15248
15249 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15250
15251 * gdb.arch/mips-fcr.exp: New test.
15252 * gdb.arch/mips-fcr.c: Source for the new test.
15253
15254 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15255
15256 * gdb.base/solib-disc.exp: Use `standard_output_file'
15257 throughout.
15258
15259 2016-10-06 Pedro Alves <palves@redhat.com>
15260
15261 * gdb.base/jit-simple-dl.c: New file.
15262 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15263 * gdb.base/jit-simple.c: ... this.
15264 * gdb.base/jit-simple.exp (jit_run): Delete.
15265 (build_jit): New proc.
15266 (jit_test_reread): Recompile either the main program or the shared
15267 library, depending on what is being tested. Skip changing address
15268 if caller wants to. Compare before/after addresses. If testing
15269 standalone, explicitly load the binary. Test "maint info
15270 breakpoints".
15271 (top level): Add "standalone vs shared lib" and "change address"
15272 vs "same address" axes.
15273
15274 2016-10-06 Pedro Alves <palves@redhat.com>
15275
15276 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15277 call.
15278 (jit_run): Delete.
15279 (jit_test_reread): Use with_test_prefix. Reload the main binary
15280 explicitly. Compare the before/after addresses of the JIT
15281 descriptor.
15282
15283 2016-08-15 Doug Evans <dje@google.com>
15284
15285 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15286 for single bitfields is bool.
15287 * gdb.xml/tdesc-regs.exp: Ditto.
15288
15289 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15290
15291 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15292
15293 2016-10-05 Yao Qi <yao.qi@linaro.org>
15294
15295 * lib/gdb.exp (support_complex_tests): Return zero if
15296 gdb_skip_float_test return true.
15297
15298 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
15299 Simon Marchi <simon.marchi@ericsson.com>
15300
15301 PR gdb/20487
15302 * gdb.mi/user-selected-context-sync.exp: New file.
15303 * gdb.mi/user-selected-context-sync.c: New file.
15304
15305 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
15306 Simon Marchi <simon.marchi@ericsson.com>
15307
15308 PR gdb/20487
15309 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15310 =thread-select-event check.
15311
15312 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15313
15314 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15315 the compulsory L operand changes.
15316 * gdb.arch/powerpc-power.s: Likewise.
15317
15318 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15319
15320 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15321 * gdb.base/jit-attach-pie.c: New file.
15322 * gdb.base/jit-attach-pie.exp: New file.
15323
15324 2016-09-28 Pedro Alves <palves@redhat.com>
15325
15326 * gdb.base/infcall-input.c: New file.
15327 * gdb.base/infcall-input.exp: New file.
15328
15329 2016-09-22 Yao Qi <yao.qi@linaro.org>
15330
15331 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15332 (gdb_exit): Rename it to ...
15333 (gdbserver_gdb_exit): ... Close GDBserver.
15334 (gdb_exit): New proc, call gdbserver_gdb_exit.
15335 (mi_gdb_exit): Likewise.
15336
15337 2016-09-22 Yao Qi <yao.qi@linaro.org>
15338
15339 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15340 path.
15341 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15342 Remove duplication.
15343
15344 2016-09-22 Yao Qi <yao.qi@linaro.org>
15345
15346 * lib/gdbserver-support.exp: Check the existence of
15347 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15348
15349 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15350
15351 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15352
15353 2016-09-21 Tom Tromey <tom@tromey.com>
15354
15355 PR gdb/20604:
15356 * gdb.base/quit.exp: New file.
15357
15358 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15359
15360 * .gitignore: New file.
15361
15362 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15363
15364 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15365 throughout.
15366
15367 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15368
15369 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15370
15371 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15372
15373 * gdb.cp/casts.cc (decltype): Move it ...
15374 (main): ... with its call to ...
15375 * gdb.cp/casts03.cc: ... a new file.
15376 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15377
15378 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15379
15380 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15381
15382 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15383
15384 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15385 and sync up the test with tests in gas/testsuite/gas/ppc.
15386 * gdb.arch/powerpc-power.exp: Likewise.
15387
15388 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15389
15390 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15391
15392 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15393 Jan Kratochvil <jan.kratochvil@redhat.com>
15394
15395 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15396 make m1's definition to be different from m2's. Use 'dummy' as an
15397 argument for probe 'two'.
15398
15399 2016-09-10 Jon Beniston <jon@beniston.com>
15400
15401 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15402 for sim target.
15403
15404 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15405
15406 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15407 variable declaration.
15408 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15409 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15410 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15411 received HWCAP as its argument.
15412
15413 2016-09-06 Pedro Alves <palves@redhat.com>
15414
15415 * gdb.base/new-ui-pending-input.c: New file.
15416 * gdb.base/new-ui-pending-input.exp: New file.
15417 * gdb.exp (clear_gdb_spawn_id): New procedure.
15418 (with_spawn_id): Check whether gdb_spawn_id exists before
15419 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15420 on exit.
15421
15422 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15423
15424 * gdb.base/float128.c: New file.
15425 * gdb.base/float128.exp: Likewise.
15426 * gdb.base/floatn.c: Likewise.
15427 * gdb.base/floatn.exp: Likewise.
15428
15429 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15430
15431 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15432
15433 2016-09-05 Pedro Alves <palves@redhat.com>
15434
15435 PR backtrace/19927
15436 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15437 unwinders are immediately called as side effect of "source" or
15438 "disable unwinder" commands.
15439 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15440
15441 2016-09-02 Yao Qi <yao.qi@linaro.org>
15442
15443 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15444 is true and $type is "float" or "double".
15445
15446 2016-09-02 Yao Qi <yao.qi@linaro.org>
15447
15448 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15449 true.
15450 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15451 * gdb.base/call-rt-st.exp: Likewise.
15452 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15453 return value instead of gdb,skip_float_test.
15454 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15455 (do_function_calls): Use its return value instead of
15456 gdb,skip_float_test.
15457 * gdb.base/finish.exp: Likewise.
15458 * gdb.base/funcargs.exp: Likewise.
15459 * gdb.base/return.exp: Likewise.
15460 * gdb.base/return2.exp: Likewise.
15461 * gdb.base/varargs.exp: Likewise.
15462 * lib/gdb.exp (gdb_skip_float_test): Change it to
15463 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15464
15465 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15466
15467 * gdb.multi/tids.exp: Test "thread apply all".
15468
15469 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15470
15471 * gdb.base/default.exp (tty): Remove.
15472
15473 2016-08-24 Kevin Buettner <kevinb@redhat.com>
15474
15475 * gdb.python/py-recurse-unwind.c: New file.
15476 * gdb.python/py-recurse-unwind.py: New file.
15477 * gdb.python/py-recurse-unwind.exp: New file.
15478
15479 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15480
15481 * gdb.base/set-inferior-tty.exp: New file.
15482 * gdb.base/set-inferior-tty.c: New file.
15483
15484 2016-08-23 Pedro Alves <palves@redhat.com>
15485
15486 PR gdb/20494
15487 * gdb.base/new-ui-echo.c: New file.
15488 * gdb.base/new-ui-echo.exp: New file.
15489
15490 2016-08-23 Yao Qi <yao.qi@linaro.org>
15491
15492 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15493 gdbserver_spawn.
15494 * gdb.server/connect-without-multi-process.exp (do_test):
15495 Likewise.
15496
15497 2016-08-23 Yao Qi <yao.qi@linaro.org>
15498
15499 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15500 standalone_txt. Delete gdb_txt and standalone_txt on host
15501 and target. Spawn the binary on target. Copy files from
15502 target to host.
15503
15504 2016-08-22 Pedro Alves <palves@redhat.com>
15505
15506 PR gdb/20505
15507 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15508 with_test_prefix. Factor out bits to ...
15509 (test_no_vdso): ... this new procedure.
15510
15511 2016-08-19 Carl Love <cel@us.ibm.com>
15512
15513 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15514 maintaining separate logic for constructing the output path.
15515 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15516 * gdb.arch/ppc-dfp.exp: Likewise.
15517 * gdb.arch/ppc-fp.exp: Likewise.
15518 * gdb.arch/vsx-regs.exp: Likewise.
15519 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15520 binprefix for generating the additional binary files.
15521
15522 2016-08-19 Pedro Alves <palves@redhat.com>
15523
15524 * gdb.trace/mi-trace-frame-collected.exp
15525 (test_trace_frame_collected): On x32, expect two registers.
15526
15527 2016-08-18 Carl Love <cel@us.ibm.com>
15528
15529 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15530 and sync up the test with tests in gas/testsuite/gas/ppc.
15531 * gdb.arch/powerpc-power.exp: Likewise.
15532
15533 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15534
15535 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15536 expected error message.
15537
15538 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15539
15540 * gdb.multi/remove-inferiors.exp: New file.
15541 * gdb.multi/remove-inferiors.c: New file.
15542
15543 2016-08-12 Yao Qi <yao.qi@linaro.org>
15544
15545 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15546 argument list.
15547
15548 2016-08-10 Pedro Alves <palves@redhat.com>
15549
15550 PR gdb/19187
15551 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15552 setup_kfails.
15553
15554 2016-08-09 Pedro Alves <palves@redhat.com>
15555 Simon Marchi <simon.marchi@ericsson.com>
15556
15557 PR gdb/20418
15558 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15559 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15560
15561 2016-08-09 Pedro Alves <palves@redhat.com>
15562
15563 PR mi/20431
15564 * gdb.mi/mi-cmd-error.exp: New file.
15565
15566 2016-08-09 Pedro Alves <palves@redhat.com>
15567
15568 PR gdb/18653
15569 * gdb.base/signals-state-child.c: New file.
15570 * gdb.base/signals-state-child.exp: New file.
15571 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15572
15573 2016-08-09 Pedro Alves <palves@redhat.com>
15574
15575 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15576
15577 2016-08-03 Tom Tromey <tom@tromey.com>
15578
15579 PR python/18565:
15580 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15581
15582 2016-08-01 Yao Qi <yao.qi@linaro.org>
15583
15584 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15585 variable mode to "multi-process" if $multi_process is 1, otherwise
15586 set it to "single-process".
15587
15588 2016-08-01 Yao Qi <yao.qi@linaro.org>
15589
15590 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15591 * gdb.cp/cpexprs.exp: Likewise.
15592 * gdb.cp/m-static.exp: Likewise.
15593
15594 2016-07-26 Tom Tromey <tom@tromey.com>
15595
15596 PR python/20190:
15597 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15598 test.
15599
15600 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15601
15602 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15603 selecting assembly source files.
15604 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15605 assembly source files.
15606 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15607 assembly source files.
15608 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15609 selecting assembly source files.
15610
15611 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15612
15613 * gdb.base/new-ui.exp (do_test_invalid_args): New
15614 procedure.
15615
15616 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15617
15618 * gdb.btrace/reconnect.c: New file.
15619 * gdb.btrace/reconnect.exp: New file.
15620
15621 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15622
15623 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15624 to test_catch_syscall_group.
15625 (test_catch_syscall_group): New.
15626
15627 2016-07-21 Tom Tromey <tom@tromey.com>
15628
15629 * gdb.rust/simple.rs (main): Use empty struct expression.
15630 * gdb.rust/simple.exp: Add tests for empty struct expression.
15631
15632 2016-07-21 Yao Qi <yao.qi@linaro.org>
15633
15634 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15635 if gdb_skip_xml_test is true on some targets.
15636
15637 2016-07-21 Yao Qi <yao.qi@linaro.org>
15638
15639 * gdb.server/solib-list.exp: Unset last_loaded_file.
15640
15641 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15642
15643 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15644 "step into captured_main (args)".
15645
15646 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15647
15648 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15649
15650 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15651
15652 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15653
15654 2016-07-19 Pedro Alves <palves@redhat.com>
15655
15656 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15657 * gdb.opt/inline-bt.exp: Likewise.
15658 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15659 additional_flags=-Winline.
15660 * gdb.opt/inline-locals.exp: Likewise.
15661 * gdb.opt/inline-markers.c (ATTR): Define.
15662 (inlined_fn): Use it.
15663
15664 2016-07-19 Yao Qi <yao.qi@linaro.org>
15665
15666 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15667 (test_with_self): Remove some code. Remove argument executable.
15668 (top-level): Use do_self_tests.
15669
15670 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
15671 Don Breazeal <donb@codesourcery.com>
15672
15673 * gdb.base/maint.exp: Escape paths used in regular expressions.
15674 * gdb.stabs/weird.exp: Likewise.
15675
15676 2016-07-13 Tom Tromey <tom@tromey.com>
15677
15678 PR python/15620, PR python/18620:
15679 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15680 (test_bkpt_events): New procs.
15681
15682 2016-07-13 Tom Tromey <tom@tromey.com>
15683
15684 PR python/17698:
15685 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15686 test.
15687 (test_watchpoints): Likewise.
15688 (test_bkpt_pending): New proc.
15689
15690 2016-07-13 Tom Tromey <tom@tromey.com>
15691
15692 PR cli/18053:
15693 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15694 completion test.
15695
15696 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15697
15698 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15699 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15700 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15701 f_label.
15702 (g): Rename g_end_lbl to g_label.
15703 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15704 low_pc and high_pc.
15705 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15706
15707 2016-07-12 Tom Tromey <tom@tromey.com>
15708
15709 PR python/19293:
15710 * gdb.python/py-unwind-maint.exp: Update tests.
15711
15712 2016-07-12 Yao Qi <yao.qi@linaro.org>
15713
15714 * lib/selftest-support.exp (selftest_setup): Match the output
15715 when captured_main is inlined.
15716
15717 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15718
15719 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15720 New variables.
15721 (print this%a, print this%b, print this): New tests.
15722 * gdb.fortran/derived-types.f90 (this): New object and
15723 initialization.
15724
15725 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15726
15727 * gdb.ada/arraydim.exp: Remove extra directory level in build
15728 directory.
15729
15730 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15731
15732 * lib/ada.exp: Remove extra directory level in build directory.
15733 * gdb.ada/cond_lang.exp: Likewise.
15734 * gdb.ada/exec_changed.exp: Likewise.
15735 * gdb.ada/lang_switch.exp: Likewise.
15736
15737 2016-07-06 Manish Goregaokar <manish@mozilla.com>
15738
15739 * simple.rs: Add test for raw pointer subscripting.
15740 * simple.exp: Add test expectations.
15741
15742 2016-07-05 Yao Qi <yao.qi@linaro.org>
15743
15744 * gdb.mi/mi-reverse.exp: Match =record-started output.
15745
15746 2016-07-01 Pedro Alves <palves@redhat.com>
15747
15748 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15749 procedure.
15750 (jit_reader_test): Test the jit reader's unwinder.
15751 * gdb.base/jithost.c (jit_function_00_code): New global.
15752 (main): Use memcpy to fill in the mmapped code, instead of poking
15753 bytes manually here.
15754 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15755 value.
15756 (read_debug_info): Save the function's range.
15757 (read_sp): New function.
15758 (unwind_frame): Use it. Also unwind RBP.
15759 (get_frame_id): Use read_sp.
15760 (gdb_init_reader): Use calloc instead of malloc.
15761 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15762 parameter. Use gdb_test_multiple.
15763
15764 2016-07-01 Pedro Alves <palves@redhat.com>
15765 Antoine Tremblay <antoine.tremblay@ericsson.com>
15766
15767 * gdb.threads/process-dies-while-detaching.c: New file.
15768 * gdb.threads/process-dies-while-detaching.exp: New file.
15769
15770 2016-07-01 Pedro Alves <palves@redhat.com>
15771
15772 * gdb.multi/watchpoint-multi-exit.c: New file.
15773 * gdb.multi/watchpoint-multi-exit.exp: New file.
15774
15775 2016-06-30 Pedro Alves <palves@redhat.com>
15776
15777 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15778 unset inferior_spawn_id.
15779
15780 2016-06-30 Pedro Alves <palves@redhat.com>
15781
15782 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15783 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15784
15785 2016-06-29 Yao Qi <yao.qi@linaro.org>
15786
15787 * gdb.base/return.c: Add copyright header.
15788
15789 2016-06-29 Tom Tromey <tom@tromey.com>
15790
15791 PR python/20129:
15792 * gdb.python/py-framefilter.exp: Add tests for setting priority
15793 and disabling of non-existent frame filter.
15794
15795 2016-06-29 Yao Qi <yao.qi@linaro.org>
15796
15797 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15798 0x0f07ff.
15799
15800 2016-06-28 Yao Qi <yao.qi@linaro.org>
15801
15802 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15803 triplets. Start gdb, execute catch syscall, and continue. Check
15804 gdb's output to determine catch syscall is supported.
15805
15806 2016-06-27 Manish Goregaokar <manish@mozilla.com>
15807
15808 * gdb.rust/simple.rs: Add test for returning unit in a function.
15809 * gdb.rust/simple.exp: Add expectation for functions returning
15810 unit.
15811
15812 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15813
15814 * gdb.python/py-breakpoint-create-fail.c,
15815 gdb.python/py-breakpoint-create-fail.exp,
15816 gdb.python/py-breakpoint-create-fail.py: New testcase.
15817
15818 2016-06-25 Manish Goregaokar <manish@mozilla.com>
15819
15820 PR gdb/20239
15821 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
15822 * gdb.rust/simple.exp: Add test expectations for new NonZero
15823 tests.
15824
15825 2016-06-24 David Taylor <dtaylor@emc.com>
15826
15827 * gdb.base/offsets.exp: New file.
15828 * gdb.base/offsets.c: New file.
15829
15830 2016-06-23 Tom Tromey <tom@tromey.com>
15831
15832 PR gdb/16483:
15833 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15834 before any filters are loaded.
15835
15836 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15837
15838 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15839 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15840 structs.
15841 * gdb.fortran/derived-type-function.exp: New file.
15842 * gdb.fortran/derived-type-function.f90: New file.
15843
15844
15845 2016-06-21 Pedro Alves <palves@redhat.com>
15846
15847 * gdb.base/new-ui.exp: New file.
15848 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15849 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15850 (with_spawn_id): New procedure.
15851
15852 2016-06-21 Pedro Alves <palves@redhat.com>
15853
15854 * gdb.mi/mi-exec-run.exp: New file.
15855
15856 2016-06-21 Pedro Alves <palves@redhat.com>
15857
15858 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15859 breakpoint command's output on the main UI.
15860 (test_break): New procedure, factored out from calls in the top
15861 level.
15862 (top level): Use foreach_with_prefix to test MI as main UI and as
15863 separate UI.
15864
15865 2016-06-21 Pedro Alves <palves@redhat.com>
15866
15867 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15868 (test_awatch_creation_and_listing)
15869 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15870 Remove 'type' parameter.
15871 (test_watchpoint_all): New parameter mi_mode. Remove
15872 with_test_prefix.
15873 (top level): Use foreach_with_prefix, and add main/separate UI MI
15874 testing axis.
15875
15876 2016-06-21 Pedro Alves <palves@redhat.com>
15877
15878 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15879 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15880 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15881 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15882 (gdb_main_spawn_id, mi_spawn_id): Declare and
15883 comment.
15884 (mi_create_inferior_pty): New procedure,
15885 factored out from default_mi_gdb_start.
15886 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15887 procedures.
15888 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15889 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15890 Use mi_create_inferior_pty.
15891 (mi_gdb_start): Use eval to pass down args list.
15892
15893 2016-06-21 Pedro Alves <palves@redhat.com>
15894
15895 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15896 * gdb.opt/inline-cmds.exp: Add MI tests.
15897
15898 2016-06-21 Pedro Alves <palves@redhat.com>
15899
15900 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15901
15902 2016-06-21 Pedro Alves <palves@redhat.com>
15903
15904 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15905 (top level): Use it instead of mi_execute_to.
15906
15907 2016-06-21 Pedro Alves <palves@redhat.com>
15908
15909 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15910 (cont_handler_str): New.
15911 (signal_stop_handler): Set stop_handler_str instead of printing to
15912 stdout.
15913 (continue_handler): Set cont_handler_str instead of printing to
15914 stdout.
15915 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15916 mi_send_resuming_command. Print stop_handler_str and
15917 cont_handler_str instead of expecting the python events print
15918 directly.
15919
15920 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15921
15922 * gdb.base/jit-reader.exp: New file.
15923 * gdb.base/jithost.c: New file.
15924 * gdb.base/jithost.h: New file.
15925 * gdb.base/jitreader.c : New file.
15926 * gdb.base/jit-protocol.h: New file.
15927
15928 2016-06-17 Yao Qi <yao.qi@linaro.org>
15929
15930 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15931 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15932 and detach-on-fork. Adjust tests.
15933 (top level): Invoke break_cond_on_syscall with combinations of
15934 syscall, follow-fork-mode and detach-on-fork.
15935
15936 2016-06-17 Yao Qi <yao.qi@linaro.org>
15937
15938 * gdb.base/step-over-exit.c: New.
15939 * gdb.base/step-over-exit.exp: New.
15940
15941 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15942
15943 * gdb.base/float.exp: Add target check for nds32*-*-*.
15944 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15945
15946 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15947
15948 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15949 for unsupported target features.
15950 * gdb.base/call-rt-st.exp: Likewise.
15951 * gdb.base/call-sc.exp: Likewise.
15952 * gdb.base/call-signal-resume.exp: Likewise.
15953 * gdb.base/call-strs.exp: Likewise.
15954 * gdb.base/callexit.exp: Likewise.
15955 * gdb.base/callfuncs.exp: Likewise.
15956 * gdb.base/nodebug.exp: Likewise.
15957 * gdb.base/printcmds.exp: Likewise.
15958 * gdb.base/ptype.exp: Likewise.
15959 * gdb.base/structs.exp: Likewise.
15960 * gdb.base/unwindonsignal.exp: Likewise.
15961 * gdb.cp/gdb2495.exp: Likewise.
15962 * gdb.cp/templates.exp: Likewise.
15963 * gdb.cp/virtfunc.exp: Likewise.
15964 * gdb.threads/hand-call-in-threads.exp: Likewise.
15965 * gdb.threads/interrupted-hand-call.exp: Likewise.
15966 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15967
15968 2016-06-10 Tom Tromey <tom@tromey.com>
15969
15970 PR rust/20110:
15971 * gdb.rust/expr.exp: Add test for integer constant larger than
15972 i32.
15973
15974 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15975
15976 * gdb.fortran/nested-funcs.exp: New.
15977 * gdb.fortran/nested-funcs.f90: New.
15978
15979 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15980
15981 * gdb.base/examine-backward.c: New file.
15982 * gdb.base/examine-backward.exp: New file.
15983
15984 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15985
15986 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15987 matching.
15988
15989 2016-06-02 Tom Tromey <tom@tromey.com>
15990
15991 PR python/18984:
15992 * gdb.python/py-shared.exp: Add solib_name test.
15993
15994 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15995
15996 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15997
15998 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15999
16000 PR c++/19893
16001 * gdb.dwarf2/implref.exp: Rename to...
16002 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
16003 * gdb.dwarf2/implref-array.c: New file.
16004 * gdb.dwarf2/implref-array.exp: Likewise.
16005 * gdb.dwarf2/implref-global.c: Likewise.
16006 * gdb.dwarf2/implref-global.exp: Likewise.
16007 * gdb.dwarf2/implref-struct.c: Likewise.
16008 * gdb.dwarf2/implref-struct.exp: Likewise.
16009
16010 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16011
16012 * gdb.trace/trace-condition.exp: Add 64bit tests.
16013
16014 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16015
16016 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
16017 bits types.
16018 (main): Adapt to 8 to 64 bits types.
16019 * gdb.trace/trace-condition.exp: Add new tests.
16020
16021 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16022
16023 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
16024
16025 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16026
16027 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
16028 Move condition tests...
16029 * gdb.trace/trace-condition.exp: Here.
16030
16031 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16032
16033 * gdb.trace/trace-condition.exp: Add counter-case tests.
16034
16035 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16036
16037 PR c++/15231
16038 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
16039 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
16040
16041 2016-05-27 Pedro Alves <palves@redhat.com>
16042
16043 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
16044 New procedure.
16045 (top level): Call it, and bail out of DejaGnu is known to be bad.
16046
16047 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
16048
16049 * gdb.base/whatis.c: Extend the test case.
16050 * gdb.base/whatis.exp: Add additional tests.
16051
16052 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16053
16054 * gdb.fortran/type.f90: Add pointer variable.
16055 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
16056
16057 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16058
16059 * gdb.fortran/vla-type.exp: Fix testcase name.
16060
16061 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16062
16063 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16064
16065 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16066
16067 * gdb.fortran/type.f90: Add nested structures.
16068 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16069 * gdb.fortran/derived-type.exp: Adapt expected output.
16070 * gdb.fortran/vla-type.exp: Adapt expected output.
16071
16072 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16073
16074 * gdb.fortran/whatis_type.exp: Adapt expected output.
16075
16076 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16077
16078 * gdb.fortran/print_type.exp: Fix expected output.
16079 * gdb.fortran/whatis_type.exp: Fix expected output.
16080
16081 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16082
16083 * gdb.fortran/whatis_type.exp: Use multi_line.
16084
16085 2016-05-24 Tom Tromey <tom@tromey.com>
16086
16087 PR python/17386:
16088 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16089 use value as an index.
16090
16091 2016-05-23 Tom Tromey <tom@tromey.com>
16092
16093 PR python/17981:
16094 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16095 no-breakpoint case.
16096
16097 2016-05-24 Pedro Alves <palves@redhat.com>
16098
16099 PR gdb/19828
16100 * gdb.threads/clone-attach-detach.c: New file.
16101 * gdb.threads/clone-attach-detach.exp: New file.
16102
16103 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16104
16105 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16106
16107 2016-05-23 Tom Tromey <tom@tromey.com>
16108
16109 PR python/19438, PR python/18393:
16110 * gdb.python/py-progspace.exp: Add "dir" test.
16111 * gdb.python/py-objfile.exp: Add "dir" test.
16112
16113 2016-05-23 Yao Qi <yao.qi@linaro.org>
16114
16115 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16116 * gdb.arch/thumb2-it.exp: Likewise.
16117
16118 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16119
16120 * gdb.mi/mi-threads-interrupt.c: New file.
16121 * gdb.mi/mi-threads-interrupt.exp: New file.
16122
16123 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16124
16125 PR gdb/18077
16126 * gdb.mi/mi-async-run.exp: New file.
16127 * gdb.mi/mi-async-run.c: New file.
16128
16129 2016-05-17 Tom Tromey <tom@tromey.com>
16130 Manish Goregaokar <manishsmail@gmail.com>
16131
16132 * lib/rust-support.exp: New file.
16133 * lib/gdb.exp (skip_rust_tests): New proc.
16134 (build_executable_from_specs): Handle rust.
16135 * lib/future.exp (gdb_find_rustc): New proc.
16136 (gdb_default_target_compile): Handle rust.
16137 * gdb.rust/expr.exp: New file.
16138 * gdb.rust/generics.exp: New file.
16139 * gdb.rust/generics.rs: New file.
16140 * gdb.rust/methods.exp: New file.
16141 * gdb.rust/methods.rs: New file.
16142 * gdb.rust/modules.exp: New file.
16143 * gdb.rust/modules.rs: New file.
16144 * gdb.rust/simple.exp: New file.
16145 * gdb.rust/simple.rs: New file.
16146
16147 2016-05-17 Tom Tromey <tom@tromey.com>
16148
16149 * gdb.base/default.exp (set language): Add rust.
16150
16151 2016-05-17 Tom Tromey <tom@tromey.com>
16152
16153 * gdb.gdb/unittest.exp: New file.
16154
16155 2016-05-16 Yao Qi <yao.qi@linaro.org>
16156
16157 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16158 shell_prompt. Update shell_prompt_re.
16159
16160 2016-05-12 Doug Evans <dje@google.com>
16161
16162 PR symtab/19999
16163 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16164 $options when building executable.
16165 * gdb.dwarf2/fission-loclists-pie.S: New file.
16166 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16167
16168 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16169
16170 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16171 of [is_remote target],
16172
16173 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16174
16175 * lib/gdb.exp (use_gdb_stub): New procedure.
16176
16177 2016-05-03 Yunlian Jiang <yunlian@google.com>
16178 Doug Evans <dje@google.com>
16179
16180 PR symtab/19914
16181 * gdb.dwarf2/dwp-sepdebug.c: New file.
16182 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16183
16184 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16185
16186 * gdb.base/detach.exp: Remove is_remote check.
16187
16188 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16189
16190 * gdb.base/annota-input-while-running.exp: Don't check for
16191 [is_remote target]. Enable annotations after running to main.
16192 Remove unused "set test..." line.
16193
16194 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16195
16196 * gdb.trace/trace-enable-disable.exp: New file.
16197 * gdb.trace/trace-enable-disable.c: New file.
16198
16199 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16200
16201 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16202 use it in info sharedlibrary test.
16203 * gdb.trace/ftrace-lock.exp: Likewise.
16204 * gdb.trace/ftrace.exp: Likewise.
16205 * gdb.trace/range-stepping.exp: Likewise.
16206 * gdb.trace/trace-break.exp: Likewise.
16207 * gdb.trace/trace-condition.exp: Likewise.
16208 * gdb.trace/trace-mt.exp: Likewise.
16209
16210 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16211
16212 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16213 (gdb_load_shlib): ... this.
16214 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16215 gdb_load_shlib.
16216 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16217 * gdb.base/ctxobj.exp: Likewise.
16218 * gdb.base/dprintf-pending.exp: Likewise.
16219 * gdb.base/dso2dso.exp: Likewise.
16220 * gdb.base/fixsection.exp: Likewise.
16221 * gdb.base/gcore-relro.exp: Likewise.
16222 * gdb.base/gdb1555.exp: Likewise.
16223 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16224 * gdb.base/gnu-ifunc.exp: Likewise.
16225 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16226 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16227 * gdb.base/pending.exp: Likewise.
16228 * gdb.base/print-file-var.exp: Likewise.
16229 * gdb.base/print-symbol-loading.exp: Likewise.
16230 * gdb.base/shlib-call.exp: Likewise.
16231 * gdb.base/shreloc.exp: Likewise.
16232 * gdb.base/so-impl-ld.exp: Likewise.
16233 * gdb.base/solib-disc.exp: Likewise.
16234 * gdb.base/solib-nodir.exp: Likewise.
16235 * gdb.base/solib-overlap.exp: Likewise.
16236 * gdb.base/solib-symbol.exp: Likewise.
16237 * gdb.base/solib-weak.exp (do_test): Likewise.
16238 * gdb.base/sym-file.exp: Likewise.
16239 * gdb.base/symtab-search-order.exp: Likewise.
16240 * gdb.base/type-opaque.exp: Likewise.
16241 * gdb.base/unload.exp: Likewise.
16242 * gdb.base/watchpoint-solib.exp: Likewise.
16243 * gdb.compile/compile.exp: Likewise.
16244 * gdb.cp/gdb2384.exp: Likewise.
16245 * gdb.cp/infcall-dlopen.exp: Likewise.
16246 * gdb.cp/re-set-overloaded.exp: Likewise.
16247 * gdb.fortran/library-module.exp: Likewise.
16248 * gdb.opt/solib-intra-step.exp: Likewise.
16249 * gdb.python/py-finish-breakpoint.exp: Likewise.
16250 * gdb.python/py-shared.exp: Likewise.
16251 * gdb.reverse/solib-precsave.exp: Likewise.
16252 * gdb.reverse/solib-reverse.exp: Likewise.
16253 * gdb.server/solib-list.exp: Likewise.
16254 * gdb.threads/dlopen-libpthread.exp: Likewise.
16255 * gdb.threads/tls-shared.exp: Likewise.
16256 * gdb.threads/tls-so_extern.exp: Likewise.
16257 * gdb.trace/change-loc.exp: Likewise.
16258 * gdb.trace/ftrace-lock.exp: Likewise.
16259 * gdb.trace/ftrace.exp: Likewise.
16260 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16261 * gdb.trace/pending.exp: Likewise.
16262 * gdb.trace/range-stepping.exp: Likewise.
16263 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16264 (strace_info_marker): Likewise.
16265 (strace_probe_marker): Likewise.
16266 (strace_trace_on_same_addr): Likewise.
16267 (strace_trace_on_diff_addr): Likewise.
16268 * gdb.trace/trace-break.exp: Likewise.
16269 * gdb.trace/trace-condition.exp: Likewise.
16270 * gdb.trace/trace-mt.exp: Likewise.
16271
16272 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16273
16274 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16275 result of gdb_remote_download.
16276 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16277 * gdb.base/dso2dso.exp: Likewise.
16278 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16279 * gdb.base/print-file-var.exp: Likewise.
16280 * gdb.base/shlib-call.exp: Likewise.
16281 * gdb.base/shreloc.exp: Likewise.
16282 * gdb.base/solib-overlap.exp: Likewise.
16283 * gdb.base/solib-weak.exp (do_test): Likewise.
16284 * gdb.base/unload.exp: Likewise.
16285
16286 2016-04-27 Yao Qi <yao.qi@linaro.org>
16287
16288 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16289 exists.
16290
16291 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16292
16293 * vla-type.exp: Print structure from toplevel.
16294
16295 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16296
16297 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16298 of dynamic types.
16299 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16300 of dynamic types.
16301
16302 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16303
16304 * gdb.fortran/vla-type.f90: New file.
16305 * gdb.fortran/vla-type.exp: New file.
16306
16307 2016-04-25 Yao Qi <yao.qi@linaro.org>
16308
16309 * gdb.base/branch-to-self.c: New file.
16310 * gdb.base/branch-to-self.exp: New file.
16311
16312 2016-04-22 Yao Qi <yao.qi@linaro.org>
16313
16314 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16315 more after $hex.
16316
16317 2016-04-22 Yao Qi <yao.qi@linaro.org>
16318
16319 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16320 * gdb.base/annota3.exp: Likewise.
16321
16322 2016-04-22 Yao Qi <yao.qi@linaro.org>
16323
16324 * gdb.reverse/step-precsave.exp: Do one step and test program
16325 stops in "callee" and do multiple steps until program goes out
16326 of "callee".
16327 * gdb.reverse/step-reverse.exp: Likewise.
16328
16329 2016-04-22 Yao Qi <yao.qi@linaro.org>
16330
16331 * gdb.trace/signal.exp: Also pass if
16332 $tracepoint_hits($i) > $iterations.
16333
16334 2016-04-22 Yao Qi <yao.qi@linaro.org>
16335
16336 * gdb.trace/signal.c: New file.
16337 * gdb.trace/signal.exp: New file.
16338
16339 2016-04-19 Doug Evans <xdje42@gmail.com>
16340
16341 * gdb.base/bad-file.exp: New file.
16342
16343 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16344
16345 * gdb.dwarf2/implref.exp: New file.
16346
16347 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16348
16349 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16350 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16351 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16352 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16353 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16354 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16355 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16356 * lib/fortran.exp (fortran_int4): New procedure.
16357 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16358 (fortran_logical4): Likewise.
16359
16360 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16361
16362 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16363
16364 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16365
16366 * lib/compiler.c: Add Intel specific preprocessor macros.
16367 * lib/compiler.cc: Likewise.
16368
16369 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
16370
16371 * gdb.server/connect-with-no-symbol-file.c: New file.
16372 * gdb.server/connect-with-no-symbol-file.exp: New file.
16373
16374 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16375
16376 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16377
16378 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16379
16380 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16381 standard output directory.
16382
16383 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16384
16385 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16386
16387 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16388
16389 * gdb.btrace/instruction_history.c (loop): Add declaration.
16390
16391 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16392
16393 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16394
16395 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16396
16397 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16398 parentheses to print.
16399 (continue_handler): Likewise.
16400
16401 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16402
16403 * gdb.server/solib-list.exp: Remove is_remote check.
16404 Pass shlib= to gdb_compile. Don't link shared library with
16405 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16406 Run binary filename through "readlink -f" on the target.
16407
16408 2016-04-08 Pedro Alves <palves@redhat.com>
16409
16410 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16411 interpreter filename as argument to gdbserver_spawn.
16412 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16413 Return empty if $last_loaded_file does not exist.
16414
16415 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16416
16417 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16418 * gdb.base/jit-main.c: Use exit after usage.
16419
16420 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16421
16422 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16423 GDBHISTSIZE prior to the tests.
16424 * gdb.base/gdbinit-history.exp: Likewise.
16425
16426 2016-04-07 Pedro Alves <palves@redhat.com>
16427
16428 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16429 instead of build_executable. Use gdb_load_shlibs.
16430
16431 2016-04-07 Yao Qi <yao.qi@linaro.org>
16432
16433 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16434 Execute "si" command.
16435
16436 2016-04-07 Yao Qi <yao.qi@linaro.org>
16437
16438 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16439 number instead of the comments on some line.
16440
16441 2016-04-06 Don Breazeal <donb@codesourcery.com>
16442
16443 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16444 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16445
16446 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16447
16448 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16449 standard_output_file. Remove unused binfile variable.
16450
16451 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
16452
16453 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16454 * gdb.python/py-mi-objfile.exp: Match "list main" output
16455 in console format.
16456
16457 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16458
16459 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16460 absolute.
16461
16462 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16463
16464 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16465 absolute.
16466 * gdb.trace/ftrace.exp: Likewise.
16467 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16468 targets as well.
16469 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16470 (gdb_load_shlibs): Copy libraries to test directory when testing
16471 natively. Only set solib-search-path if testing remotely.
16472 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16473
16474 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16475
16476 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16477 gdb_download. Use it even if the target is not remote.
16478 * gdb.base/jit.exp (compile_jit_test): Likewise.
16479 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16480 output directory if the destination board is local, otherwise use
16481 the standard remote_download from DejaGnu.
16482 (gdb_download): Remove.
16483 (gdb_load_shlibs): Use gdb_remote_download instead of
16484 gdb_download.
16485 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16486 Use gdb_remote_download instead of gdb_download. Use it even if
16487 the target is not remote.
16488 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16489 instead of gdb_download.
16490
16491 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16492
16493 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16494 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16495 run.
16496
16497 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
16498
16499 PR gdb/19820
16500 * gdb.base/printcmds.exp: Add artificial arrays tests.
16501
16502 2016-03-31 Pedro Alves <palves@redhat.com>
16503
16504 PR gdb/19858
16505 * gdb.base/jit-main.c: Include unistd.h.
16506 (ATTACH): Define to 0 if not already defined.
16507 (wait_for_gdb, mypid): New globals.
16508 (WAIT_FOR_GDB): New macro.
16509 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16510 some breakpoint locations.
16511 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16512 New procedures.
16513 (one_jit_test): Add REATTACH parameter, and handle it. Use
16514 continue_to_test_location.
16515 (top level): Test attach, and adjusts calls to one_jit_test.
16516
16517 2016-03-31 Pedro Alves <palves@redhat.com>
16518
16519 PR gdb/19858
16520 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16521 BINSUFFIX parameter, and handle it.
16522 (top level): Adjust calls compile_jit_test.
16523
16524 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
16525
16526 PR python/19743
16527 * gdb.python/py-mi-events-gdb.py: New file.
16528 * gdb.python/py-mi-events.c: New file.
16529 * gdb.python/py-mi-events.exp: New file.
16530
16531 2016-03-30 Yao Qi <yao.qi@linaro.org>
16532
16533 * gdb.reverse/until-precsave.exp: Match function name only.
16534 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16535 Move malloc to a condition block.
16536 * gdb.reverse/until-reverse.exp: Match function name only.
16537
16538 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16539
16540 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16541 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16542 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16543 variable for GPR 0 instead of assuming it is register 0.
16544 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16545 * lib/trace-support.exp: Add s390 registers.
16546
16547 2016-03-29 Yao Qi <yao.qi@linaro.org>
16548
16549 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16550
16551 2016-03-24 Yao Qi <yao.qi@linaro.org>
16552
16553 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16554 test message.
16555
16556 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16557
16558 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16559 maintaining separate logic for constructing the output path.
16560
16561 2016-03-16 Don Breazeal <donb@codesourcery.com>
16562
16563 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16564 Retry fork and waitpid on interrupted system call errors.
16565 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16566 Use with_timeout_factor to increase timeout by factor of 10.
16567
16568 2016-03-15 Don Breazeal <donb@codesourcery.com>
16569
16570 * gdb.cp/scope-err.cc: New test program.
16571 * gdb.cp/scope-err.exp: New test script.
16572 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16573 lines and "set breakpoint here" comment.
16574 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16575 Fixed some whitespace and format issues.
16576 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16577 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16578
16579 2016-03-15 Doug Evans <dje@google.com>
16580
16581 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16582 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16583 All callers updated. Add tests for enums, mixed flags register.
16584
16585 2016-03-15 Doug Evans <dje@google.com>
16586
16587 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16588 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16589
16590 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16591
16592 * gdb.base/default.exp: Add $_as_string to the list of expected
16593 convenience functions.
16594
16595 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16596
16597 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16598
16599 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16600
16601 * gdb.python/py-as-string.exp: New file.
16602 * gdb.python/py-as-string.c: New file.
16603
16604 2016-03-09 Pedro Alves <palves@redhat.com>
16605
16606 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16607 signal" -> "Thread NN received signal" output change.
16608 * gdb.threads/ia64-sigill.exp: Likewise.
16609 * gdb.threads/linux-dp.exp: Likewise.
16610 * gdb.threads/manythreads.exp: Likewise.
16611 * gdb.threads/pending-step.exp: Likewise.
16612 * gdb.threads/print-threads.exp: Likewise.
16613 * gdb.threads/sigstep-threads.exp: Likewise.
16614 * gdb.threads/staticthreads.exp: Likewise.
16615 * gdb.threads/tls.exp: Likewise.
16616
16617 2016-03-09 Pedro Alves <palves@redhat.com>
16618
16619 * gdb.base/command-line-input.exp: New file.
16620
16621 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16622
16623 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16624 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16625 * gdb.trace/pending.exp: Accept leading dot before function name.
16626 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16627 * lib/trace-support.exp: Set registers for ppc.
16628
16629 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16630
16631 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16632 use it for disassembly; accept .main in addition to main in backtrace.
16633
16634 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
16635 Marcin Kościelnicki <koriakin@0x04.net>
16636
16637 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16638 (gdb_recursion_test_ptr): New global variable.
16639 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16640 gdb_recursion_test.
16641 (gdb_c_test): Ditto.
16642
16643 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16644
16645 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16646 ordering.
16647
16648 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16649
16650 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16651 (bar): Add bar_start_lbl label.
16652 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16653 of foo/bar for emitting DWARF and tracing.
16654
16655 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16656
16657 * analyze-racy-logs.py: Set executable bit.
16658
16659 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16660
16661 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16662 (CHECK_TARGET_TMP): Likewise.
16663 (check-single-racy): New rule.
16664 (check-parallel-racy): Likewise.
16665 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16666 (do-check-parallel-racy): New rule.
16667 (check-racy/%.exp): Likewise.
16668 * README (Racy testcases): New section.
16669 * analyze-racy-logs.py: New file.
16670
16671 2016-03-03 Doug Evans <dje@google.com>
16672
16673 * gdb.base/skip.exp: Use with_test_prefix.
16674
16675 2016-03-03 Yao Qi <yao.qi@linaro.org>
16676
16677 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16678 Invoke step_over_syscall "clone" and break_cond_on_syscall
16679 "clone".
16680 * gdb.base/step-over-clone.c: New file.
16681
16682 2016-03-03 Yao Qi <yao.qi@linaro.org>
16683
16684 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16685 code format.
16686
16687 2016-03-03 Yao Qi <yao.qi@linaro.org>
16688
16689 * gdb.base/disp-step-fork.c: Rename to ...
16690 * gdb.base/step-over-fork.c: ... it. New file.
16691 * gdb.base/disp-step-vfork.c: Rename to ...
16692 * gdb.base/step-over-vfork.c: ... it. New file.
16693 * gdb.base/disp-step-syscall.exp: Rename to ...
16694 * gdb.base/step-over-syscall.exp: ... it. New file.
16695 (disp_step_cross_syscall): Rename to ...
16696 (step_over_syscall): ... it.
16697
16698 2016-03-03 Yao Qi <yao.qi@linaro.org>
16699
16700 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16701 If target supports condition evaluation on target, invoke
16702 break_cond_on_syscall for fork and vfork.
16703
16704 2016-03-03 Yao Qi <yao.qi@linaro.org>
16705
16706 * gdb.base/disp-step-syscall.exp: Don't invoke
16707 support_displaced_stepping.
16708 (disp_step_cross_syscall): Test with displaced stepping off and
16709 on if supported.
16710
16711 2016-03-03 Yao Qi <yao.qi@linaro.org>
16712
16713 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16714 proc.
16715 (setup): New proc.
16716 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16717 and setup.
16718
16719 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16720
16721 * gdb.fortran/vla-history.exp: Remove breakpoint.
16722
16723 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16724
16725 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16726 exceeds timeout.
16727
16728 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16729
16730 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16731 breakpoint.
16732
16733 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16734
16735 * gdb.mi/vla.f90: Nullify pointer after declaration.
16736
16737 2016-03-01 Pedro Alves <palves@redhat.com>
16738
16739 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16740
16741 2016-03-01 Pedro Alves <palves@redhat.com>
16742
16743 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16744 before anything else.
16745 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16746 _GNU_SOURCE here.
16747 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16748 before anything else.
16749 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16750
16751 2016-03-01 Pedro Alves <palves@redhat.com>
16752
16753 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16754
16755 2016-03-01 Yao Qi <yao.qi@linaro.org>
16756
16757 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16758 prepare_for_testing.
16759
16760 2016-03-01 Yao Qi <yao.qi@linaro.org>
16761
16762 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16763
16764 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16765
16766 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16767 manually constructing the output path.
16768
16769 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16770
16771 * gdb.arch/s390-stackless.S: New.
16772 * gdb.arch/s390-stackless.exp: New.
16773
16774 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16775
16776 * gdb.dlang/circular.c: New file.
16777 * gdb.dlang/circular.exp: New file.
16778
16779 2016-02-26 Yao Qi <yao.qi@linaro.org>
16780
16781 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16782 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16783 (testcases): Update.
16784
16785 2016-02-26 Yao Qi <yao.qi@linaro.org>
16786
16787 * gdb.reverse/aarch64.c: Rename to ...
16788 * gdb.reverse/insn-reverse.c: ... it.
16789 * gdb.reverse/aarch64.exp: Rename to ...
16790 * gdb.reverse/insn-reverse.exp: ... it.
16791
16792 2016-02-26 Yao Qi <yao.qi@linaro.org>
16793
16794 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16795 (testcase_ftype): New.
16796 (testcases): New array.
16797 (n_testcases): New.
16798 (main): Call each element in testcases.
16799 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16800 (read_testcase): New.
16801 Do the tests in a loop.
16802
16803 2016-02-25 Yao Qi <yao.qi@linaro.org>
16804
16805 * gdb.base/branches.c: Remove.
16806
16807 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16808
16809 PR gdb/13808
16810 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16811
16812 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16813
16814 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16815
16816 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16817
16818 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16819 change x86_64 call_insn to 'callq'.
16820
16821 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16822
16823 * gdb.trace/tfile-avx.c: Move to...
16824 * gdb.trace/tracefile-pseudo-reg.c: Here.
16825 * gdb.trace/tfile-avx.exp: Move to...
16826 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16827
16828 2016-02-24 Gary Benson <gbenson@redhat.com>
16829
16830 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16831 message on attach.
16832
16833 2016-02-23 Doug Evans <dje@google.com>
16834
16835 * gdb.base/skip.c (test_skip): New function.
16836 (end_test_skip_file_and_function): New function.
16837 (test_skip_file_and_function): New function.
16838 * gdb.base/skip1.c (test_skip): New function.
16839 (skip1_test_skip_file_and_function): New function.
16840 * gdb.base/skip.exp: Add tests for new skip options.
16841 * gdb.base/skip-solib.exp: Update expected output.
16842 * gdb.perf/skip-command.cc: New file.
16843 * gdb.perf/skip-command.exp: New file.
16844 * gdb.perf/skip-command.py: New file.
16845
16846 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16847
16848 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16849 info registers pattern.
16850
16851 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16852
16853 * lib/future.exp: Add D support.
16854 (gdb_find_gdc): New proc.
16855 (gdb_default_target_compile): Add D support.
16856
16857 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
16858
16859 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16860 user+system time.
16861 (trace_speed_test): Determine the iteration count for a time
16862 between 15..30 seconds.
16863
16864 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16865
16866 * gdb.arch/i386-mpx-sigsegv.c: New file.
16867 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16868 * gdb.arch/i386-mpx-simple_segv.c: New file.
16869 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16870
16871 2016-02-18 Yao Qi <yao.qi@linaro.org>
16872
16873 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16874 Don't call setup_kfail.
16875
16876 2016-02-18 Yao Qi <yao.qi@linaro.org>
16877
16878 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16879 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16880
16881 2016-02-16 Doug Evans <dje@google.com>
16882
16883 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16884 * gdb.base/skip1.c: Ditto.
16885 * gdb.base/skip.exp: Whitespace cleanup.
16886
16887 2016-02-16 Don Breazeal <donb@codesourcery.com>
16888
16889 PR remote/19496
16890 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16891 Remove kfail for PR remote/19496.
16892
16893 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16894
16895 * lib/gdb.exp (standard_temp_file): Return a path specific to
16896 the runtest invocation.
16897
16898 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16899
16900 * gdb.trace/save-trace.exp: Change relative path to be in the
16901 standard output directory.
16902
16903 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16904
16905 * gdb.arch/i386-prologue.c: Add missing prototypes.
16906
16907 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16908
16909 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16910 * gdb.arch/i386-prologue.exp: Likewise.
16911 * gdb.arch/i386-size.exp: Likewise.
16912
16913 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16914
16915 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16916 define object file path.
16917 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16918 file path.
16919 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16920 standard_output_file to define binfile.
16921
16922 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16923
16924 Fix compatibility with recent gfortran-5.3.1.
16925 * gdb.fortran/vla-history.exp (print vla1 allocated)
16926 (print vla2 allocated, print $2, print $3): Remove
16927 (print $4): Rename to ...
16928 (print $2): ... here.
16929 (print $9): Rename to ...
16930 (print $5): ... here.
16931 (print $10): Rename to ...
16932 (print $6): ... here.
16933 * gdb.fortran/vla.f90: Add pvla initialization.
16934
16935 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16936
16937 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16938 New test.
16939 * gdb.fortran/vla-value-sub.exp: Likewise.
16940
16941 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16942
16943 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16944
16945 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16946
16947 * i386-biarch-core.exp: Define corefile using
16948 standard_output_file.
16949
16950 2016-02-12 Yao Qi <yao.qi@linaro.org>
16951
16952 * gdb.arch/arm-single-step-kernel-helper.c: New.
16953 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16954
16955 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16956
16957 * gdb.btrace/tailcall-only.exp: New.
16958 * gdb.btrace/tailcall-only.c: New.
16959 * gdb.btrace/x86_64-tailcall-only.S: New.
16960 * gdb.btrace/i686-tailcall-only.S: New.
16961
16962 2016-02-11 Pedro Alves <palves@redhat.com>
16963
16964 * README (Parallel testing): Add missing double quotes.
16965
16966 2016-02-11 Pedro Alves <palves@redhat.com>
16967
16968 * README (Parallel testing): New section.
16969 (GDB_PARALLEL): Rewrite.
16970 (FORCE_PARALLEL): Document.
16971
16972 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16973
16974 * gdb.trace/tfile-avx.c: New test.
16975 * gdb.trace/tfile-avx.exp: New test.
16976
16977 2016-02-09 Keith Seitz <keiths@redhat.com>
16978
16979 PR breakpoints/19546
16980 * gdb.base/infcall-exec.c: New file.
16981 * gdb.base/infcall-exec2.c: New file.
16982 * gdb.base/infcall-exec.exp: New file.
16983
16984 2016-02-09 Keith Seitz <keiths@redhat.com>
16985
16986 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16987 (toplevel): Call test_bkpt_address.
16988
16989 2016-02-09 Keith Seitz <keiths@redhat.com>
16990
16991 PR python/19506
16992 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16993 (toplevel): Call test_bkpt_address.
16994
16995 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16996
16997 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16998 to AC_OUTPUT.
16999 * configure: Regenerate.
17000
17001 2016-02-09 Pedro Alves <palves@redhat.com>
17002
17003 PR breakpoints/19548
17004 * gdb.base/execl-update-breakpoints.c (some_function): New
17005 function.
17006 (main): Call it.
17007 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
17008 Tighten expected GDB output.
17009
17010 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17011
17012 * Makefile.in (ALL_SUBDIRS): Remove.
17013 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
17014 (distclean maintainer-clean realclean): Likewise.
17015 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
17016 * configure: Regenerate.
17017 * gdb.ada/Makefile.in: Delete.
17018 * gdb.arch/Makefile.in: Likewise.
17019 * gdb.asm/Makefile.in: Likewise.
17020 * gdb.base/Makefile.in: Likewise.
17021 * gdb.btrace/Makefile.in: Likewise.
17022 * gdb.cell/Makefile.in: Likewise.
17023 * gdb.compile/Makefile.in: Likewise.
17024 * gdb.cp/Makefile.in: Likewise.
17025 * gdb.disasm/Makefile.in: Likewise.
17026 * gdb.dlang/Makefile.in: Likewise.
17027 * gdb.dwarf2/Makefile.in: Likewise.
17028 * gdb.fortran/Makefile.in: Likewise.
17029 * gdb.gdb/Makefile.in: Likewise.
17030 * gdb.go/Makefile.in: Likewise.
17031 * gdb.guile/Makefile.in: Likewise.
17032 * gdb.java/Makefile.in: Likewise.
17033 * gdb.linespec/Makefile.in: Likewise.
17034 * gdb.mi/Makefile.in: Likewise.
17035 * gdb.modula2/Makefile.in: Likewise.
17036 * gdb.multi/Makefile.in: Likewise.
17037 * gdb.objc/Makefile.in: Likewise.
17038 * gdb.opencl/Makefile.in: Likewise.
17039 * gdb.opt/Makefile.in: Likewise.
17040 * gdb.pascal/Makefile.in: Likewise.
17041 * gdb.perf/Makefile.in: Likewise.
17042 * gdb.python/Makefile.in: Likewise.
17043 * gdb.reverse/Makefile.in: Likewise.
17044 * gdb.server/Makefile.in: Likewise.
17045 * gdb.stabs/Makefile.in: Likewise.
17046 * gdb.threads/Makefile.in: Likewise.
17047 * gdb.trace/Makefile.in: Likewise.
17048 * gdb.xml/Makefile.in: Likewise.
17049 * lib/gdb.exp (make_gdb_parallel_path): Add check for
17050 GDB_PARALLEL.
17051 (standard_output_file): Remove check for GDB_PARALLEL, always
17052 return path in outputs/$subdir/$testname.
17053
17054 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17055
17056 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
17057 (site.exp): Assign abs_srcdir to tcl's srcdir.
17058
17059 2016-02-04 Yao Qi <yao.qi@linaro.org>
17060
17061 * gdb.base/foll-exec-mode.c: Include limits.h.
17062 (main): Add parameters argc and argv. Get directory from
17063 argv[0].
17064 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17065 compilation.
17066 * gdb.base/foll-exec.c: Include limits.h.
17067 (main): Add parameters argc and argv.
17068 Get directory from argv[0].
17069 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17070 Adjust tests on the number of lines as source code changed.
17071 * gdb.base/foll-vfork-exit.c: Include limits.h.
17072 (main): Add one line of statement before vfork.
17073 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17074 (main): Add parameters argc and argv. Get directory from
17075 argv[0].
17076 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17077 (setup_gdb): Set tbreak to skip some source lines.
17078 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17079 (main): Add parameters argc and argv. Get directory from
17080 argv[0].
17081 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17082 compilation.
17083 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17084 (main): Add parameters argc and argv. Get directory from
17085 argv[0].
17086 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17087 compilation.
17088
17089 2016-02-01 Doug Evans <dje@google.com>
17090
17091 * gdb.base/skip.exp: Clean up multiple references to same test name.
17092
17093 2016-02-01 Pedro Alves <palves@redhat.com>
17094
17095 PR remote/19496
17096 * gdb.threads/forking-threads-plus-breakpoint.exp
17097 (displaced_stepping_supported): New global.
17098 (probe_displaced_stepping_support): New procedure.
17099 (do_test): Add 'displaced' parameter, and use it.
17100 (top level): Check for displaced stepping support. Add displaced
17101 stepping on/off testing axis.
17102
17103 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17104
17105 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17106 pointer. Don't perform further tests on the unassociated pointer
17107 if the first test fails.
17108
17109 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17110
17111 * gdb.base/max-value-size.c: New file.
17112 * gdb.base/max-value-size.exp: New file.
17113 * gdb.base/huge.exp: Disable max-value-size for this test.
17114
17115 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17116
17117 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17118
17119 2016-01-28 Yao Qi <yao.qi@linaro.org>
17120
17121 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17122
17123 2016-01-25 Pedro Alves <palves@redhat.com>
17124
17125 PR threads/19461
17126 * gdb.base/fork-running-state.c: New file.
17127 * gdb.base/fork-running-state.exp: New file.
17128
17129 2016-01-25 Pedro Alves <palves@redhat.com>
17130
17131 PR gdb/19494
17132 * gdb.base/catch-fork-kill.c: New file.
17133 * gdb.base/catch-fork-kill.exp: New file.
17134
17135 2016-01-25 Pedro Alves <palves@redhat.com>
17136
17137 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17138 Delete, moved to lib/gdb.exp.
17139 * gdb.threads/forking-threads-plus-breakpoint.exp
17140 (foreach_with_prefix): Likewise.
17141 * gdb.threads/process-dies-while-handling-bp.exp
17142 (foreach_with_prefix): Likewise.
17143 * lib/gdb.exp (foreach_with_prefix): New procedure.
17144
17145 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17146
17147 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17148 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17149
17150 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17151
17152 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17153 endian targets.
17154
17155 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17156 Pedro Alves <palves@redhat.com>
17157
17158 Fix testsuite compatibility with Guile.
17159 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17160 number.
17161
17162 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17163
17164 Fix testsuite compatibility with Guile.
17165 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17166 (thread 1): New test for backtrace through signal handler.
17167
17168 2016-01-22 Yao Qi <yao.qi@linaro.org>
17169
17170 PR testsuite/19491
17171 * gdb.base/multi-forks.c: Include
17172 ../lib/unbuffer_output.c
17173 (main): Call gdb_unbuffer_output.
17174
17175 2016-01-21 Doug Evans <dje@google.com>
17176
17177 * lib/ada.exp (gdb_compile_ada): Fix typo.
17178
17179 2016-01-21 Joel Brobecker <brobecker@adacore.com>
17180
17181 * gdb.base/break-fun-addr.exp: New file.
17182 * gdb.base/break-fun-addr1.c: New file.
17183 * gdb.base/break-fun-addr2.c: New file.
17184
17185 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17186
17187 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17188 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17189 enum flag values.
17190
17191 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17192
17193 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17194 when GDB can not set the vector return value. Add more comments
17195 for clarification.
17196
17197 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17198
17199 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17200 command.
17201
17202 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17203
17204 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17205
17206 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17207
17208 * Makefile.in (check-single): Pass --status to runtest.
17209 (check/%.exp): Likewise.
17210
17211 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17212
17213 * Makefile.in (check-parallel): Propagate return code from make
17214 do-check-parallel.
17215
17216 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17217
17218 * gdb.trace/ftrace.exp: Fix expected message on continue.
17219 * gdb.trace/pending.exp: Fix expected message on continue.
17220 * gdb.trace/trace-break.exp: Fix expected message on continue.
17221
17222 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17223
17224 * lib/gdb.exp (gdb_test): Remove unused global references.
17225
17226 2016-01-18 Pedro Alves <palves@redhat.com>
17227
17228 * gdb.base/async-shell.exp: Adjust expected output.
17229 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17230 * gdb.base/siginfo-thread.exp: Adjust expected output.
17231 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17232 * gdb.java/jnpe.exp: Adjust expected output.
17233 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17234 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17235 * gdb.threads/leader-exit.exp: Adjust expected output.
17236 * gdb.threads/manythreads.exp: Adjust expected output.
17237 * gdb.threads/pthreads.exp: Adjust expected output.
17238 * gdb.threads/schedlock.exp: Adjust expected output.
17239 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17240 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17241 expected output.
17242 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17243 output.
17244 * gdb.threads/sigthread.exp: Adjust expected output.
17245 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17246
17247 2016-01-18 Yao Qi <yao.qi@linaro.org>
17248
17249 * gdb.guile/scm-section-script.c: Replace @progbits with
17250 %progbits.
17251 * gdb.python/py-section-script.c: Likewise.
17252
17253 2016-01-15 Pedro Alves <palves@redhat.com>
17254
17255 * gdb.multi/tids.exp: Test star wildcard ranges.
17256
17257 2016-01-15 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17260 command from "thread apply" invocation.
17261 (thr_apply_info_thr_invalid): Default the expected output to the
17262 input tid list.
17263 (top level): Add tests that use convenience variables. Add tests
17264 for "thread apply" with a valid TID list, but missing the command.
17265
17266 2016-01-13 Pedro Alves <palves@redhat.com>
17267
17268 * gdb.base/default.exp: Expect $_gthread as well.
17269 * gdb.multi/tids.exp: Test $_gthread.
17270 * gdb.threads/thread-specific.exp: Test $_gthread.
17271
17272 2016-01-13 Pedro Alves <palves@redhat.com>
17273
17274 * gdb.multi/tids.exp: Test "info threads -gid".
17275
17276 2016-01-13 Pedro Alves <palves@redhat.com>
17277
17278 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17279 Breakpoint.thread.
17280 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17281
17282 2016-01-07 Pedro Alves <palves@redhat.com>
17283
17284 * gdb.base/break.exp: Adjust to output changes.
17285 * gdb.base/hbreak2.exp: Likewise.
17286 * gdb.base/sepdebug.exp: Likewise.
17287 * gdb.base/watch_thread_num.exp: Likewise.
17288 * gdb.linespec/keywords.exp: Likewise.
17289 * gdb.multi/info-threads.exp: Likewise.
17290 * gdb.threads/thread-find.exp: Likewise.
17291 * gdb.multi/tids.c: New file.
17292 * gdb.multi/tids.exp: New file.
17293
17294 2016-01-13 Pedro Alves <palves@redhat.com>
17295
17296 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17297
17298 2016-01-13 Pedro Alves <palves@redhat.com>
17299
17300 * gdb.base/default.exp: Expect $_inferior as well.
17301 * gdb.multi/base.exp: Test $_inferior.
17302
17303 2016-01-13 Pedro Alves <palves@redhat.com>
17304
17305 PR breakpoints/19388
17306 * gdb.base/catch-signal-siginfo-cond.c: New file.
17307 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17308
17309 2016-01-12 Josh Stone <jistone@redhat.com>
17310 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17311
17312 * gdb.base/catch-syscall.c (do_execve): New variable.
17313 (main): Conditionally trigger an execve.
17314 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17315 (test_catch_syscall_execve): New, check entry/return across execve.
17316 (do_syscall_tests): Call test_catch_syscall_execve.
17317
17318 2016-01-12 Pedro Alves <palves@redhat.com>
17319
17320 * gdb.base/random-signal.exp (do_test): New procedure, with body
17321 of testcase moved in.
17322
17323 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17324 Pedro Alves <palves@redhat.com>
17325
17326 * gdb.base/funcargs.exp (finish from indirectly called function):
17327 Reintroduce the case for 'First'.
17328
17329 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17330 Pedro Alves <palves@redhat.com>
17331
17332 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17333 (tcatch_vfork_then_child_follow_exec)
17334 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17335 identification.
17336
17337 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17338
17339 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17340 and repeats to unlimited.
17341 * gdb.python/py-value.exp: Likewise.
17342 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17343 and repeats to unlimited.
17344
17345 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17346
17347 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17348 and reordering the functions.
17349 * gdb.multi/hangout.c: Likewise.
17350 * gdb.multi/hello.c: Likewise.
17351
17352 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17353
17354 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17355 absolute.
17356 (SingleStatisticTestResult.report): Use dict.keys instead of
17357 dict.iterkeys.
17358
17359 2016-01-06 Pedro Alves <palves@redhat.com>
17360
17361 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17362
17363 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17364
17365 * gdb.btrace/dlopen.exp: New.
17366 * gdb.btrace/dlopen.c: New.
17367 * gdb.btrace/dlopen-dso.c: New.
17368
17369 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17370
17371 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17372 PATTERN argument is optional.
17373
17374 2015-12-24 Joel Brobecker <brobecker@adacore.com>
17375
17376 * lib/ada.exp (target_compile_ada_from_dir): New function.
17377 (gdb_compile_ada): Reimplement avoiding the use of project files.
17378 * gdb.ada/gnat_ada.gpr: Delete.
17379 * gdb.ada/cond_lang.exp: Adjust test to make path before
17380 filename optional.
17381 * gdb.ada/small_reg_param.exp: Likewise.
17382
17383 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17384
17385 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17386
17387 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17388
17389 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17390 case.
17391
17392 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17393
17394 * gdb.base/break.exp: Remove dead code.
17395 * gdb.base/sepdebug.exp: Likewise.
17396
17397 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17398
17399 * gdb.asm/asm-source.exp: Remove HP-UX references.
17400 * gdb.base/annota1.exp: Likewise.
17401 * gdb.base/annota3.exp: Likewise.
17402 * gdb.base/attach.exp: Likewise.
17403 * gdb.base/bigcore.exp: Likewise.
17404 * gdb.base/break.exp: Likewise.
17405 * gdb.base/call-ar-st.exp: Likewise.
17406 * gdb.base/callfuncs.exp: Likewise.
17407 * gdb.base/catch-fork-static.exp: Likewise.
17408 * gdb.base/display.exp: Likewise.
17409 * gdb.base/foll-exec-mode.exp: Likewise.
17410 * gdb.base/foll-exec.exp: Likewise.
17411 * gdb.base/foll-fork.exp: Likewise.
17412 * gdb.base/foll-vfork.exp: Likewise.
17413 * gdb.base/funcargs.exp: Likewise.
17414 * gdb.base/hbreak2.exp: Likewise.
17415 * gdb.base/inferior-died.exp: Likewise.
17416 * gdb.base/interrupt.exp: Likewise.
17417 * gdb.base/multi-forks.exp: Likewise.
17418 * gdb.base/nodebug.exp: Likewise.
17419 * gdb.base/sepdebug.exp: Likewise.
17420 * gdb.base/solib1.c: Likewise.
17421 * gdb.base/step-test.exp: Likewise.
17422 * gdb.mi/non-stop.c: Likewise.
17423 * gdb.mi/pthreads.c: Likewise.
17424 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17425 * gdb.threads/pthreads.c: Likewise.
17426 * gdb.threads/staticthreads.exp: Likewise.
17427 * lib/future.exp: Likewise.
17428 * lib/gdb.exp: Likewise.
17429 * gdb.base/so-indr-cl.c: Remove.
17430 * gdb.base/so-indr-cl.exp: Likewise.
17431 * gdb.base/solib.c: Likewise.
17432 * gdb.base/solib.exp: Likewise.
17433 * gdb.base/solib2.c: Likewise.
17434
17435 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17436
17437 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17438 * gdb.base/call-ar-st.exp: Likewise.
17439 * gdb.base/callfuncs.exp: Likewise.
17440 * gdb.base/condbreak.exp: Likewise.
17441 * gdb.base/constvars.exp: Likewise.
17442 * gdb.base/hbreak2.exp: Likewise.
17443 * gdb.base/langs.exp: Likewise.
17444 * gdb.base/list.exp: Likewise.
17445 * gdb.base/long_long.exp: Likewise.
17446 * gdb.base/ptype.exp: Likewise.
17447 * gdb.base/scope.exp: Likewise.
17448 * gdb.base/signals.exp: Likewise.
17449 * gdb.base/so-impl-ld.exp: Likewise.
17450 * gdb.base/varargs.exp: Likewise.
17451 * gdb.base/volatile.exp: Likewise.
17452 * gdb.base/whatis.exp: Likewise.
17453 * gdb.cp/cplusfuncs.exp: Likewise.
17454 * gdb.cp/inherit.exp: Likewise.
17455 * gdb.cp/local.exp: Likewise.
17456 * gdb.cp/member-ptr.exp: Likewise.
17457 * gdb.cp/method.exp: Likewise.
17458 * gdb.cp/overload.exp: Likewise.
17459 * gdb.cp/templates.exp: Likewise.
17460 * gdb.stabs/weird.exp: Likewise.
17461 * lib/compiler.c: Likewise.
17462 * lib/compiler.cc: Likewise.
17463 * lib/cp-support.exp: Likewise.
17464 * lib/gdb.exp: Likewise.
17465
17466 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17467
17468 * configure.ac: Remove HP-UX case.
17469 * configure: Regenerate.
17470
17471 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17472
17473 * lib/gdb.exp (gdb_compile): Add function doc.
17474
17475 2015-12-17 Pedro Alves <palves@redhat.com>
17476
17477 PR threads/19354
17478 * gdb.multi/info-threads.exp: New file.
17479
17480 2015-12-15 Yao Qi <yao.qi@linaro.org>
17481
17482 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17483 is aarch64*-*-*.
17484
17485 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17486
17487 * gdb.base/history-duplicates.exp: Skip if no readline support.
17488
17489 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17490
17491 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17492
17493 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17494
17495 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17496
17497 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17498
17499 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17500 ctrl-C if nointerrupts target property is set.
17501 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17502 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17503 * gdb.base/paginate-bg-execution.exp: Likewise.
17504 * gdb.base/paginate-execution-startup.exp: Likewise.
17505 * gdb.base/random-signal.exp: Likewise.
17506 * gdb.base/range-stepping.exp: Likewise.
17507 * gdb.cp/annota2.exp: Likewise.
17508 * gdb.cp/annota3.exp: Likewise.
17509 * gdb.gdb/selftest.exp: Likewise.
17510 * gdb.threads/continue-pending-status.exp: Likewise.
17511 * gdb.threads/leader-exit.exp: Likewise.
17512 * gdb.threads/manythreads.exp: Likewise.
17513 * gdb.threads/pthreads.exp: Likewise.
17514 * gdb.threads/schedlock.exp: Likewise.
17515 * gdb.threads/sigthread.exp: Likewise.
17516
17517 2015-12-11 Don Breazeal <donb@codesourcery.com>
17518
17519 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17520 remote.
17521 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17522 * gdb.base/foll-exec.exp (main): Enable for target remote.
17523 * gdb.base/foll-fork.exp (main): Likewise.
17524 * gdb.base/foll-vfork.exp (main): Likewise.
17525 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17526 (proc continue_to_exit_bp_loc): Use clean_restart.
17527 * gdb.base/pie-execl.exp (main): Disable for target remote.
17528 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17529 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17530 * gdb.threads/execl.exp (main): Likewise.
17531 * gdb.threads/fork-child-threads.exp (main): Likewise.
17532 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17533 remote.
17534 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17535 remote.
17536 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17537 pid.tid style ptids, instead of just tid.
17538 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17539 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17540 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17541 ptids, instead of just tid.
17542
17543 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17544
17545 * gdb.base/list.exp (test_list_forward): Add end of file error
17546 test.
17547 (test_repeat_list_command): Add end of file error test.
17548 (test_list_backwards): Add beginning of file error test.
17549
17550 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17551
17552 * gdb.base/list.exp (test_list_invalid_args): New function,
17553 defined, and called.
17554
17555 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17556
17557 * gdb.base/list.exp (test_list): Make test names unique.
17558
17559 2015-12-11 Yao Qi <yao.qi@linaro.org>
17560
17561 * gdb.base/coremaker2.c: Remove.
17562
17563 2015-12-10 Pedro Alves <palves@redhat.com>
17564
17565 * gdb.multi/base.exp: Remove stale "spaces" references.
17566
17567 2015-12-10 Pedro Alves <palves@redhat.com>
17568
17569 * gdb.multi/base.exp: Don't use nowarnings.
17570 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17571 * gdb.multi/hangout.c: Include stdio.h.
17572 * gdb.multi/hello.c: Include stdlib.h.
17573 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17574 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17575 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17576
17577 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17578
17579 * gdb.dwarf2/dw2-ranges-base.c: New file.
17580 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17581 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17582 support additional line table, and debug ranges generation.
17583 (Dwarf::ranges): New function, generate .debug_ranges.
17584 (Dwarf::lines): Support generating simple line table programs.
17585 (Dwarf::assemble): Initialise new namespace variables.
17586
17587 2015-12-09 Kevin Buettner <kevinb@redhat.com>
17588
17589 * gdb.base/async.exp (proc test_background): Add case for
17590 asynchronous execution not supported.
17591
17592 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
17593
17594 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17595 format and change test names to make them unique.
17596
17597 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17598 Pedro Alves <pedro@redhat.com>
17599
17600 PR gdb/18702
17601 Add checking of floatformats setup on x86_64 hosts.
17602 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17603 (smallval, bigval): New labels/constants.
17604 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17605 float" after loading bigval and smallval.
17606
17607 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17608
17609 * gdb.ada/fun_overload_menu.exp: New testcase.
17610 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17611
17612 2015-12-04 Josh Stone <jistone@redhat.com>
17613
17614 * gdb.base/catch-fork-static.exp: New.
17615
17616 2015-12-03 Yao Qi <yao.qi@linaro.org>
17617
17618 * gdb.base/sizeof.c: Don't include stdio.h and
17619 ../lib/unbuffer_output.c.
17620 (main): New variable 'size' and 'value'. Remove printf and
17621 gdb_unbuffer_output. Assign return value to size and value.
17622 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17623 at the beginning.
17624 (check_sizeof): Check the result by printing variable 'size'.
17625 (check_valueof): Check the result by printing variable 'value'.
17626
17627 2015-12-01 Yao Qi <yao.qi@linaro.org>
17628
17629 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17630 for aarch64*-*-linux* target.
17631
17632 2015-11-30 Pedro Alves <palves@redhat.com>
17633
17634 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17635
17636 2015-11-30 Pedro Alves <palves@redhat.com>
17637
17638 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17639 Handle non-stop mode vCont replies.
17640
17641 2015-11-30 Pedro Alves <palves@redhat.com>
17642
17643 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17644 prepare_for_testing. Start gdb with "set non-stop on" appended to
17645 GDBFLAGS. Lax expected stop output.
17646
17647 2015-11-27 Yao Qi <yao.qi@linaro.org>
17648
17649 * gdb.arch/arm-neon.exp: New.
17650 * gdb.arch/arm-neon.c: New.
17651
17652 2015-11-27 Yao Qi <yao.qi@linaro.org>
17653
17654 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17655
17656 2015-11-27 Yao Qi <yao.qi@linaro.org>
17657
17658 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17659 frames-invalid annotation.
17660
17661 2015-11-27 Yao Qi <yao.qi@linaro.org>
17662
17663 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17664
17665 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17666
17667 * gdb.threads/names.exp: New file.
17668 * gdb.threads/names.c: New file.
17669 * README: Mention gdb,no_thread_names.
17670
17671 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17672
17673 PR 19297
17674 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17675 support" error.
17676
17677 2015-11-24 Pedro Alves <palves@redhat.com>
17678
17679 PR 17539
17680 * gdb.base/display.exp: Expect displays to be sorted in ascending
17681 order. Use multi_line.
17682 * gdb.base/solib-display.exp: Likewise.
17683
17684 2015-11-24 Pedro Alves <palves@redhat.com>
17685
17686 PR 17539
17687 * gdb.base/display.exp: Expect displays to be sorted in ascending
17688 order. Use multi_line.
17689 * gdb.base/solib-display.exp: Likewise.
17690
17691 2015-11-24 Pedro Alves <palves@redhat.com>
17692
17693 PR 17539
17694 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17695 threads in ascending order.
17696 * gdb.base/foll-fork.exp: Likewise.
17697 * gdb.base/foll-vfork.exp: Likewise.
17698 * gdb.base/multi-forks.exp: Likewise.
17699 * gdb.mi/mi-nonstop.exp: Likewise.
17700 * gdb.mi/mi-nsintrall.exp: Likewise.
17701 * gdb.multi/base.exp: Likewise.
17702 * gdb.multi/multi-arch.exp: Likewise.
17703 * gdb.python/py-inferior.exp: Likewise.
17704 * gdb.threads/break-while-running.exp: Likewise.
17705 * gdb.threads/execl.exp: Likewise.
17706 * gdb.threads/gcore-thread.exp: Likewise.
17707 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17708 * gdb.threads/kill.exp: Likewise.
17709 * gdb.threads/linux-dp.exp: Likewise.
17710 * gdb.threads/multiple-step-overs.exp: Likewise.
17711 * gdb.threads/next-bp-other-thread.exp: Likewise.
17712 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17713 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17714 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17715 * gdb.threads/thread-find.exp: Likewise.
17716 * gdb.threads/tls.exp: Likewise.
17717 * lib/mi-support.exp (mi_reverse_list): Delete.
17718 (mi_check_thread_states): No longer reverse list.
17719
17720 2015-11-24 Pedro Alves <palves@redhat.com>
17721
17722 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17723 use lowercase.
17724
17725 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17726
17727 * gdb.trace/actions.c: Include trace-common.h.
17728 (main): Add a location for a fast tracepoint.
17729 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17730 the normal tracepoints.
17731 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17732
17733 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17734
17735 * save-trace.exp: Factor out code to these...
17736 (gdb_save_tracepoints): New.
17737 (gdb_load_tracepoints): New.
17738 (do_save_load_test): New.
17739
17740 2015-11-23 Kevin Buettner <kevinb@redhat.com>
17741
17742 * gdb.base/asmlabel.exp: New test.
17743 * gdb.base/asmlabel.c: New test case.
17744
17745 2015-11-23 Joel Brobecker <brobecker@adacore.com>
17746
17747 * gdb.base/wrong_frame_bt_full-main.c: New file.
17748 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17749 * gdb.base/wrong_frame_bt_full.exp: New file.
17750
17751 2015-11-23 Joel Brobecker <brobecker@adacore.com>
17752
17753 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17754
17755 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17756
17757 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
17758 pstate register when comparing registers values in
17759 sparc64-*-linux-gnu targets to avoid spurious differences.
17760
17761 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17762
17763 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
17764
17765 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17766
17767 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17768 as type argument to gdb_compile.
17769 * gdb.base/nested-subp2.exp: Likewise.
17770 * gdb.base/nested-subp3.exp: Likewise.
17771
17772 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17773
17774 * lib/dwarf.exp (_note): Fix left shift of negative value.
17775 * gdb.trace/trace-condition.exp: Likewise.
17776
17777 2015-11-13 Yao Qi <yao.qi@linaro.org>
17778
17779 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17780 comments about d10v.
17781 (test_scalar_returns): Likewise.
17782 * gdb.base/d10v.ld: Remove.
17783 * gdb.base/overlays.exp: Remove the target triplet checking for
17784 d10v-*-*.
17785 * gdb.base/structs.exp (test_struct_returns): Remove the
17786 comments about d10v.
17787 (test_struct_calls): Likewise.
17788
17789 2015-11-13 Yao Qi <yao.qi@linaro.org>
17790
17791 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17792 * gdb.base/gnu_vector.c: Don't include stdio.h.
17793 (main): Don't print res and call add_some_intvecs.
17794
17795 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17796
17797 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17798 macro.
17799 (func5): Removed.
17800 (func4): Use FAST_TRACEPOINT_LABEL.
17801 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17802 macro.
17803 (func): Removed.
17804 (thread_function): Use FAST_TRACEPOINT_LABEL.
17805 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17806 (func): Remove.
17807 (marker): Use FAST_TRACEPOINT_LABEL.
17808 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17809 (pendfunc1): Remove.
17810 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17811 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17812 (foo): Remove.
17813 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17814 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17815 macro.
17816 (func): Remove.
17817 (marker): Use FAST_TRACEPOINT_LABEL.
17818 * gdb.trace/trace-common.h: New header.
17819 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17820 macro.
17821 (func): Remove.
17822 (marker): Use FAST_TRACEPOINT_LABEL.
17823 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17824 (func): Remove.
17825 (thread_function): Use FAST_TRACEPOINT_LABEL.
17826
17827 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17828
17829 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17830 in front.
17831 * gdb.trace/change-loc.exp: Use global pcreg definition.
17832 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17833 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17834 in front.
17835 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17836 * gdb.trace/pending.exp: Likewise.
17837 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17838 * gdb.trace/trace-break.exp: Likewise.
17839 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17840 in front.
17841 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17842 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17843 in front.
17844 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17845
17846 2015-11-09 Joel Brobecker <brobecker@adacore.com>
17847
17848 * gdb.ada/fin_fun_out: New testcase.
17849
17850 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17851
17852 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17853 value associated with DW_AT_byte_size.
17854 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17855 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17856 DW_AT_upper_bound.
17857
17858 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17859
17860 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17861 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17862 version.
17863 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17864 gdb.dwarf2/dw2-canonicalize-type.exp,
17865 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17866 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17867 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17868 provided by gdb_target_symbol_prefix_flags_asm.
17869 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17870 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17871 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17872 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17873 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17874 macros where needed). Use this macro for symbols which require
17875 the prefix provided by SYMBOL_PREFIX.
17876
17877 2015-11-05 Kevin Buettner <kevinb@redhat.com>
17878
17879 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17880 New procs.
17881 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17882 representing expressions, of more than one list element.
17883 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17884 to prepend linker symbol prefix to f.
17885 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17886 table_1 and table_2.
17887 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17888 Likewise, for f and g.
17889 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17890 for ptr.
17891 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17892 for main.
17893 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17894 table_1_ptr and table_2_ptr.
17895
17896 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17897 Joel Brobecker <brobecker@adacore.com>
17898
17899 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17900
17901 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17902
17903 * gdb.reverse/s390-mvcle.c: New test.
17904 * gdb.reverse/s390-mvcle.exp: New file.
17905 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17906
17907 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17908
17909 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17910
17911 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17912
17913 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17914 reaching marker2.
17915 * gdb.reverse/getresuid-reverse.exp: Likewise.
17916 * gdb.reverse/pipe-reverse.exp: Likewise.
17917 * gdb.reverse/readv-reverse.exp: Likewise.
17918 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17919 * gdb.reverse/time-reverse.exp: Likewise.
17920 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17921
17922 2015-10-30 Yao Qi <yao.qi@linaro.org>
17923
17924 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17925 (empty_cycle): Remove.
17926 (main): Don't call empty_cycle. Don't use watch_count_done.
17927 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17928 empty_cycle. Rewrite the code counting HW watchpoints.
17929
17930 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17931
17932 * gdb.reverse/fstatat-reverse.c: New test.
17933 * gdb.reverse/fstatat-reverse.exp: New file.
17934 * gdb.reverse/getresuid-reverse.c: New test.
17935 * gdb.reverse/getresuid-reverse.exp: New file.
17936 * gdb.reverse/pipe-reverse.c: New test.
17937 * gdb.reverse/pipe-reverse.exp: New file.
17938 * gdb.reverse/readv-reverse.c: New test.
17939 * gdb.reverse/readv-reverse.exp: New file.
17940 * gdb.reverse/recvmsg-reverse.c: New test.
17941 * gdb.reverse/recvmsg-reverse.exp: New file.
17942 * gdb.reverse/time-reverse.c: New test.
17943 * gdb.reverse/time-reverse.exp: New file.
17944 * gdb.reverse/waitpid-reverse.c: New test.
17945 * gdb.reverse/waitpid-reverse.exp: New file.
17946
17947 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17948
17949 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17950
17951 2015-10-26 Doug Evans <dje@google.com>
17952
17953 PR symtab/17391
17954 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17955 * gdb.dwarf2/bad-regnum.c: New file.
17956 * gdb.dwarf2/bad-regnum.exp: New file.
17957
17958 2015-10-26 Doug Evans <dje@google.com>
17959
17960 PR python/18938
17961 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17962 file.
17963
17964 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17965
17966 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17967 for a change by "Mention language in compile error message".
17968
17969 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17970
17971 PR python/18073
17972 * gdb.python/py-type.c (C::a_method): New.
17973 (C::a_const_method): New.
17974 (C::a_static_method): New.
17975 (a_function): New.
17976 * gdb.python/py-type.exp (test_fields): Test getting fields
17977 from function and method.
17978
17979 2015-10-21 Keven Boell <keven.boell@intel.com>
17980
17981 * gdb.fortran/vla-alloc-assoc.exp: New file.
17982 * gdb.fortran/vla-datatypes.exp: New file.
17983 * gdb.fortran/vla-datatypes.f90: New file.
17984 * gdb.fortran/vla-history.exp: New file.
17985 * gdb.fortran/vla-ptype-sub.exp: New file.
17986 * gdb.fortran/vla-ptype.exp: New file.
17987 * gdb.fortran/vla-sizeof.exp: New file.
17988 * gdb.fortran/vla-sub.f90: New file.
17989 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17990 * gdb.fortran/vla-value-sub-finish.exp: New file.
17991 * gdb.fortran/vla-value-sub.exp: New file.
17992 * gdb.fortran/vla-value.exp: New file.
17993 * gdb.fortran/vla-ptr-info.exp: New file.
17994 * gdb.mi/mi-vla-fortran.exp: New file.
17995 * gdb.mi/vla.f90: New file.
17996
17997 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17998
17999 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
18000 of hardwired timeout value.
18001
18002 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18003 Pedro Alves <palves@redhat.com>
18004
18005 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
18006 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
18007
18008 2015-10-19 Josh Stone <jistone@redhat.com>
18009
18010 * gdb.base/catch-syscall.c: Include <sched.h>.
18011 (unknown_syscall): New variable.
18012 (main): Trigger a vfork and an unknown syscall.
18013 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
18014 (unknown_syscall_number): Likewise.
18015 (check_call_to_syscall): Accept an optional syscall pattern.
18016 (check_return_from_syscall): Likewise.
18017 (check_continue): Likewise.
18018 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
18019 (test_catch_syscall_skipping_return): New test toggling off 'catch
18020 syscall' to step over the syscall return, then toggling back on.
18021 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
18022 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
18023 (do_syscall_tests): Call test_catch_syscall_without_args and
18024 test_catch_syscall_mid_vfork.
18025 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
18026 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
18027
18028 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
18029
18030 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
18031 print g_vE): Add new pass patterns.
18032 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
18033 print various symbol names for vptr fields.
18034
18035 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
18036
18037 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
18038 results.
18039
18040 2015-10-12 Yao Qi <yao.qi@linaro.org>
18041
18042 * gdb.arch/disp-step-insn-reloc.exp: New test case.
18043
18044 2015-10-12 Yao Qi <yao.qi@linaro.org>
18045
18046 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
18047 is aarch64*-*-linux*.
18048
18049 2015-10-12 Yao Qi <yao.qi@linaro.org>
18050
18051 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
18052 (can_relocate_bcond_true): ... it.
18053 (can_relocate_bcond_false): New function.
18054 (foo): Likewise.
18055 (can_relocate_bl): Likewise.
18056 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
18057 can_relocate_bl.
18058
18059 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18060
18061 * gdb.base/nested-addr.c: New file.
18062 * gdb.base/nested-addr.exp: New testcase.
18063
18064 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18065
18066 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18067 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18068 its output. Ignore the output of "record goto begin" and instead
18069 check that GDB is replaying.
18070
18071 2015-10-09 Pedro Alves <palves@redhat.com>
18072
18073 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18074 (top level): Use it in the run with no args test.
18075
18076 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18077
18078 * gdb.dlang/properties.exp: New file.
18079
18080 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18081
18082 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18083 whether or not address 0x1000 is mapped on the target.
18084
18085 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18086
18087 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18088 build.
18089
18090 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18091
18092 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18093 instruction-history test.
18094
18095 2015-09-28 Doug Evans <dje@google.com>
18096
18097 * gdb.base/gcore.c (array_func): Add reference to static_array.
18098
18099 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18100
18101 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18102 source line.
18103
18104 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18105
18106 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18107 short or char as base type.
18108
18109 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18110
18111 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18112 to allow any size enum.
18113
18114 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18115
18116 * gdb.ada/array_ptr_renaming.exp: New testcase.
18117 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18118 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18119
18120 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18121
18122 * gdb.trace/ftrace-lock.c: New file.
18123 * gdb.trace/ftrace-lock.exp: New file.
18124
18125 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18126
18127 * gdb.arch/insn-reloc.c: New file.
18128 * gdb.arch/ftrace-insn-reloc.exp: New file.
18129
18130 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18131
18132 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18133 instruction.
18134 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18135 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18136 * gdb.trace/range-stepping.c: Likewise.
18137 * gdb.trace/trace-break.c: Likewise.
18138 * gdb.trace/trace-mt.c (thread_function): Likewise.
18139 * gdb.trace/ftrace.c (marker): Likewise.
18140 * gdb.trace/trace-condition.c (marker): Likewise.
18141 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18142 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18143 is_aarch64_target.
18144
18145 2015-09-18 Doug Evans <xdje42@gmail.com>
18146
18147 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18148 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18149
18150 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18151
18152 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18153 the breakpoint.
18154
18155 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18156
18157 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18158 the pending breakpoint. Remove timeout override for "Run till
18159 MI pending breakpoint on pendfunc3 on thread 2" test.
18160
18161 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18162
18163 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18164 filename pattern.
18165
18166 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18167
18168 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18169 in breakpoint filename pattern.
18170
18171 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18172
18173 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18174
18175 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18176
18177 * gdb.linespec/explicit.exp: Check for readline support for
18178 tab-completion tests. Fix obvious typo.
18179
18180 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18181
18182 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18183 and replay.
18184
18185 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18186
18187 * gdb.btrace/non-stop.c: New.
18188 * gdb.btrace/non-stop.exp: New.
18189
18190 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18191 Yao Qi <yao.qi@linaro.org>
18192
18193 * gdb.trace/trace-condition.c: New file.
18194 * gdb.trace/trace-condition.exp: New file.
18195
18196 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
18197
18198 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18199 for testing bytecode compilation.
18200
18201 2015-09-16 Pedro Alves <palves@redhat.com>
18202 Sandra Loosemore <sandra@codesourcery.com>
18203
18204 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18205 (SECONDS): Redefine.
18206 (main): Call pthread_kill and alarm early.
18207 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18208 support.
18209 (test): If the target can't hardware step and doesn't support
18210 displaced stepping, increase the timeout.
18211
18212 2015-09-16 Pedro Alves <palves@redhat.com>
18213
18214 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18215 (enable_debug): New procedures.
18216 (test): Use them. Bail out if waiting for threads fails.
18217 (top level): Bail out if a test fails.
18218
18219 2015-09-16 Yao Qi <yao.qi@linaro.org>
18220
18221 * gdb.asm/asm-source.exp: Set asm-arch for
18222 aarch64*-*-* target.
18223 * gdb.asm/aarch64.inc: New file.
18224
18225 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18226
18227 * gdb.ada/array_of_variable_length.exp: New testcase.
18228 * gdb.ada/array_of_variable_length/foo.adb: New file.
18229 * gdb.ada/array_of_variable_length/pck.adb: New file.
18230 * gdb.ada/array_of_variable_length/pck.ads: New file.
18231
18232 2015-09-15 Doug Evans <dje@google.com>
18233
18234 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18235 of function static local variable.
18236
18237 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18238
18239 * gdb.threads/tls-so_extern.exp: New test file.
18240 * gdb.threads/tls-so_extern.c: New test file.
18241 * gdb.threads/tls-so_extern_main.c: New test file.
18242
18243 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18244
18245 * gdb.opt/solib-intra-step-lib.c: New file.
18246 * gdb.opt/solib-intra-step-main.c: New file.
18247 * gdb.opt/solib-intra-step.exp: New file.
18248
18249 2015-09-15 Pedro Alves <palves@redhat.com>
18250
18251 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18252 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18253
18254 2015-09-14 Pedro Alves <palves@redhat.com>
18255
18256 * gdb.base/hook-stop-continue.c: Delete.
18257 * gdb.base/hook-stop-continue.exp: Delete.
18258 * gdb.base/hook-stop-frame.c: Delete.
18259 * gdb.base/hook-stop-frame.exp: Delete.
18260 * gdb.base/hook-stop.c: New file.
18261 * gdb.base/hook-stop.exp: New file.
18262
18263 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18264
18265 * gdb.ada/access_to_packed_array.exp: New testcase.
18266 * gdb.ada/access_to_packed_array/foo.adb: New file.
18267 * gdb.ada/access_to_packed_array/pack.adb: New file.
18268 * gdb.ada/access_to_packed_array/pack.ads: New file.
18269
18270 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18271
18272 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18273 buffer size test.
18274
18275 2015-09-11 Don Breazeal <donb@codesourcery.com>
18276
18277 * gdb.base/foll-exec.c: Add copyright header. Fix
18278 formatting issues.
18279 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18280 (do_exec_tests): Use clean_restart in place of zap_session,
18281 and for test initialization. Fix formatting issues. Use
18282 fail in place of perror.
18283 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18284 an expect statement to match an expression with output from
18285 the program under debug.
18286 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18287 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18288 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18289 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18290 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18291
18292 2015-09-09 Doug Evans <dje@google.com>
18293
18294 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18295
18296 2015-09-09 Doug Evans <dje@google.com>
18297
18298 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18299
18300 2015-09-09 Doug Evans <dje@google.com>
18301
18302 * gdb.base/savedregs.exp: Fix typo.
18303
18304 2015-09-09 Pedro Alves <palves@redhat.com>
18305
18306 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18307
18308 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18309
18310 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18311 command actually switches threads. Give up on remaining
18312 tests if target fails to stop at breakpoint.
18313
18314 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18315
18316 * gdb.ada/funcall_char.exp: New testcase.
18317 * gdb.ada/funcall_char/foo.adb: New file.
18318
18319 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18320
18321 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18322 expected outputs. Add two testcases for completing ambiguous
18323 functions.
18324 * gdb.ada/complete/aux_pck.adb: New file.
18325 * gdb.ada/complete/aux_pck.ads: New file.
18326 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18327 Ambiguous_Func functions.
18328 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18329 * gdb.ada/complete/pck.adb: Likewise.
18330
18331 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18332
18333 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18334 failures to run the test program under GDB.
18335
18336 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
18337
18338 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18339 to C.
18340
18341 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18342
18343 * gdb.base/run-after-attach.exp: New test file.
18344 * gdb.base/run-after-attach.c: New test file.
18345
18346 2015-08-26 Don Breazeal <donb@codesourcery.com>
18347
18348 * gdb.base/foll-exec-2.c: New test program.
18349 * gdb.base/foll-exec-2.exp: New test.
18350
18351 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18352
18353 * gdb.base/nested-subp1.exp: New file.
18354 * gdb.base/nested-subp1.c: New file.
18355 * gdb.base/nested-subp2.exp: New file.
18356 * gdb.base/nested-subp2.c: New file.
18357 * gdb.base/nested-subp3.exp: New file.
18358 * gdb.base/nested-subp3.c: New file.
18359
18360 2015-08-24 Pedro Alves <palves@redhat.com>
18361
18362 * gdb.server/connect-without-multi-process.c: New file.
18363 * gdb.server/connect-without-multi-process.exp: New file.
18364
18365 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
18366
18367 * gdb.opt/inline-markers.c: Make z int.
18368
18369 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
18370
18371 * gdb.opt/inline-markers.c: Make z volatile.
18372
18373 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
18374
18375 * gdb.opt/inline-bt.c: New volatile global z.
18376 * gdb.opt/inline-cmds.c: Likewise.
18377 * gdb.opt/inline-locals.c: Likewise.
18378 * gdb.opt/inline-markers.c: New extern global z.
18379 (marker): Use z.
18380 (inline_fn): Likewise.
18381
18382 2015-08-24 Pedro Alves <palves@redhat.com>
18383
18384 * config/m32r-stub.exp: Remove file.
18385 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18386 * gdb.base/call-rt-st.exp: Likewise.
18387 * gdb.base/call-strs.exp: Likewise.
18388 * gdb.base/default.exp: Remove references to h8300-*-hms and
18389 *-*-udi*.
18390 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18391
18392 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18393
18394 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18395 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18396 and "return" use KFAIL when GDB can not read/write the vector
18397 return value.
18398
18399 2015-08-21 Gary Benson <gbenson@redhat.com>
18400
18401 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18402
18403 2015-08-20 Pedro Alves <palves@redhat.com>
18404
18405 * gdb.server/solib-list.exp: No longer expect an interior stop in
18406 non-stop mode.
18407
18408 2015-08-20 Pedro Alves <palves@redhat.com>
18409
18410 * gdb.server/connect-stopped-target.c: New file.
18411 * gdb.server/connect-stopped-target.exp: New file.
18412
18413 2015-08-20 Pedro Alves <palves@redhat.com>
18414
18415 * gdb.dwarf2/comp-unit-lang.exp: New file.
18416 * gdb.dwarf2/comp-unit-lang.c: New file.
18417
18418 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18419
18420 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18421 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18422
18423 2015-08-19 Kevin Buettner <kevinb@redhat.com>
18424
18425 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18426 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18427
18428 2015-08-18 Doug Evans <dje@google.com>
18429 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18430
18431 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18432 skip_python_tests. New arg prompt_regexp.
18433 (skip_python_tests): New function.
18434 * lib/mi-support.exp (mi_skip_python_tests): New function.
18435 * gdb.python/py-mi-objfile-gdb.py: New file.
18436 * gdb.python/py-mi-objfile.c: New file.
18437 * gdb.python/py-mi-objfile.exp: New file.
18438
18439 2015-08-17 Keith Seitz <keiths@redhat.com>
18440
18441 * gdb.linespec/explicit.exp: Move strace test from here ...
18442 * gdb.trace/strace.exp: ... to here.
18443
18444 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18445
18446 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18447 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18448
18449 2015-08-14 Doug Evans <xdje42@gmail.com>
18450
18451 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18452 inferior before selecting a new file.
18453
18454 2015-08-14 Doug Evans <xdje42@gmail.com>
18455
18456 * gdb.mi/mi-disassemble.exp: Update.
18457 * gdb.base/disasm-optim.S: New file.
18458 * gdb.base/disasm-optim.c: New file.
18459 * gdb.base/disasm-optim.h: New file.
18460 * gdb.base/disasm-optim.exp: New file.
18461
18462 2015-08-14 Keith Seitz <keiths@redhat.com>
18463
18464 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18465 "evaluated-by".
18466
18467 2015-08-13 Joel Brobecker <brobecker@adacore.com>
18468
18469 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18470
18471 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18472
18473 * gdb.ada/fun_renaming.exp: New testcase.
18474 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18475 * gdb.ada/fun_renaming/pack.adb: New file.
18476 * gdb.ada/fun_renaming/pack.ads: New file.
18477
18478 2015-08-12 Keith Seitz <keiths@redhat.com>
18479
18480 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18481 gdb_get_line_number.
18482
18483 2015-08-12 Joel Brobecker <brobecker@adacore.com>
18484
18485 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18486 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18487 gdb.base/dso2dso.exp: New files.
18488
18489 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18490 Pedro Alves <palves@redhat.com>
18491 Keith Seitz <keiths@redhat.com>
18492
18493 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18494 GDBFLAGS.
18495
18496 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18497
18498 * gdb.base/gdbhistsize-history.exp
18499 (test_histsize_history_setting): Use save_vars.
18500 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18501 Use save_vars.
18502 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18503 * gdb.base/readline.exp: Use save_vars.
18504
18505 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18506
18507 * lib/gdb.exp (save_vars): New proc.
18508
18509 2015-08-11 Keith Seitz <keiths@redhat.com>
18510
18511 * gdb.base/help.exp: Update help_breakpoint_text.
18512
18513 2015-08-11 Keith Seitz <keiths@redhat.com>
18514
18515 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18516 (at toplevel): Call test_explicit_breakpoints.
18517 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18518 breakpoints.
18519 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18520 breakpoint conditions, "-cond".
18521
18522 2015-08-11 Keith Seitz <keiths@redhat.com>
18523
18524 * gdb.linespec/3explicit.c: New file.
18525 * gdb.linespec/cpexplicit.cc: New file.
18526 * gdb.linespec/cpexplicit.exp: New file.
18527 * gdb.linespec/explicit.c: New file.
18528 * gdb.linespec/explicit.exp: New file.
18529 * gdb.linespec/explicit2.c: New file.
18530 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18531 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18532 before using in the matching pattern.
18533 Clarify that `prefix' is a regular expression.
18534
18535 2015-08-11 Keith Seitz <keiths@redhat.com>
18536
18537 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18538 test.
18539 Add tests for missing ",FMT" and ",".
18540
18541 2015-08-10 Doug Evans <dje@google.com>
18542 Keith Seitz <keiths@redhat.com>
18543
18544 PR gdb/17960
18545 * gdb.base/completion.exp: Add location completer tests.
18546
18547 2015-08-07 Pedro Alves <palves@redhat.com>
18548
18549 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18550 tests here.
18551 (top level): Run do_test with and without displaced stepping.
18552
18553 2015-08-07 Pedro Alves <palves@redhat.com>
18554
18555 * gdb.base/valgrind-disp-step.c: New file.
18556 * gdb.base/valgrind-disp-step.exp: New file.
18557
18558 2015-08-07 Pedro Alves <palves@redhat.com>
18559
18560 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18561 Delete function.
18562 (main): Add alarm. Run an infinite loop instead of calling
18563 wait_threads.
18564 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18565 comment.
18566 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18567 Delete function.
18568 (main): Add alarm. Run an infinite loop instead of calling
18569 wait_threads.
18570 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18571 comment.
18572
18573 2015-08-07 Pedro Alves <palves@redhat.com>
18574
18575 * gdb.base/checkpoint-ns.exp: New file.
18576 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18577 standard_testfile.
18578
18579 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18580
18581 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18582 * gdb.btrace/instruction_history.exp: Update.
18583 * gdb.btrace/tsx.exp: New.
18584 * gdb.btrace/tsx.c: New.
18585
18586 2015-08-06 Pedro Alves <palves@redhat.com>
18587
18588 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18589 increase timeout.
18590 * gdb.reverse/until-precsave.exp: Bump timeouts.
18591
18592 2015-08-06 Pedro Alves <palves@redhat.com>
18593
18594 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18595
18596 2015-08-06 Pedro Alves <palves@redhat.com>
18597
18598 PR gdb/18749
18599 * gdb.threads/process-dies-while-handling-bp.c: New file.
18600 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18601
18602 2015-08-06 Pedro Alves <palves@redhat.com>
18603
18604 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18605 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18606
18607 2015-08-05 Pedro Alves <palves@redhat.com>
18608
18609 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18610 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18611
18612 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18613
18614 * gdb.base/bp-permanent.exp: Report test as unsupported if
18615 the target cannot stop at the permanent breakpoint.
18616
18617 2015-08-03 Doug Evans <dje@google.com>
18618
18619 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18620 10000.
18621
18622 2015-08-03 Doug Evans <dje@google.com>
18623
18624 * Makefile.in (workers/%.worker, build-perf): New rule.
18625 (GDB_PERFTEST_MODE): New variable.
18626 (check-perf): Use it.
18627 (clean): Clean up gdb.perf parallel build subdirs.
18628 * lib/build-piece.exp: New file.
18629 * lib/gdb.exp (make_gdb_parallel_path): New function
18630 (standard_output_file, standard_temp_file): Call it.
18631 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18632 of $GDB_PARALLEL.
18633 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18634
18635 2015-08-03 Doug Evans <dje@google.com>
18636
18637 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
18638 (LOG_FILE_NAME): New global.
18639 (TextReporter.__init__): Initialize self.txt_sum.
18640 (TextReporter.report): Add support for multiple data-points.
18641 Move report to perftest.sum, put raw data in perftest.log.
18642 (TextReporter.start): Open sum and log files.
18643 (TextReporter.end): Close sum and log files.
18644 * gdb.perf/lib/perftest/testresult.py
18645 (SingleStatisticTestResult.record): Handle multiple data-points.
18646
18647 2015-07-31 Pedro Alves <palves@redhat.com>
18648
18649 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18650 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18651 kill_wait_spawned_process instead of explicit "kill -9".
18652 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18653 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18654 kill_wait_spawned_process.
18655 * gdb.base/attach-twice.exp: Likewise.
18656 * gdb.base/attach.exp: Likewise.
18657 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18658 gdb_test_multiple.
18659 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18660 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18661 kill_wait_spawned_process.
18662 * gdb.base/valgrind-infcall.exp: Likewise.
18663 * gdb.multi/multi-attach.exp: Likewise.
18664 * gdb.python/py-prompt.exp: Likewise.
18665 * gdb.python/py-sync-interp.exp: Likewise.
18666 * gdb.server/ext-attach.exp: Likewise.
18667 * gdb.threads/attach-into-signal.exp (corefunc): Use
18668 spawn_wait_for_attach, spawn_id_get_pid and
18669 kill_wait_spawned_process.
18670 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18671 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18672 spawn_id_get_pid and kill_wait_spawned_process.
18673 * gdb.threads/attach-stopped.exp (corefunc): Use
18674 spawn_wait_for_attach, spawn_id_get_pid and
18675 kill_wait_spawned_process.
18676 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18677 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18678 kill_wait_spawned_process instead of explicit "kill -9".
18679 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18680 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18681 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18682 processes. Don't map cygwin/windows pids here. Now returns a
18683 spawn id list.
18684
18685 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18686
18687 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18688 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18689 correct patch.
18690
18691 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18692
18693 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18694
18695 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18696
18697 Reapply:
18698 2014-05-21 Mark Wielaard <mjw@redhat.com>
18699
18700 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18701
18702 2015-07-30 Pedro Alves <palves@redhat.com>
18703
18704 * linux-low.c (handle_extended_wait): Set the child's last
18705 reported status to TARGET_WAITKIND_STOPPED.
18706
18707 2015-07-30 Pedro Alves <palves@redhat.com>
18708
18709 PR threads/18600
18710 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18711 only shows inferior 1.
18712
18713 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18714 Pedro Alves <palves@redhat.com>
18715
18716 PR threads/18600
18717 * gdb.threads/fork-plus-threads.c: New file.
18718 * gdb.threads/fork-plus-threads.exp: New file.
18719
18720 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18721
18722 * gdb.base/batch-preserve-term-settings.exp
18723 (test_terminal_settings_preserved_after_cli_exit): Use
18724 send_quit_command.
18725
18726 2015-07-29 Pedro Alves <palves@redhat.com>
18727 Don Breazeal <donb@codesourcery.com>
18728
18729 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18730 output from both inferior_spawn_id and gdb_spawn_id.
18731
18732 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18733
18734 * gdb.threads/attach-into-signal.exp (corefunc): Use
18735 with_test_prefix on nested loops, uniquefying the test messages.
18736
18737 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18738
18739 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18740 commit.
18741
18742 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18743
18744 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18745 New proc.
18746 (test_terminal_settings_preserved_after_sigterm): New test.
18747
18748 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18749
18750 * gdb.base/batch-preserve-term-settings.exp
18751 (test_terminal_settings_preserved_after_cli_exit): New test.
18752
18753 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18754
18755 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18756 manipulation of saved_gdbflags.
18757 (test_terminal_settings_preserved): Remove global declaration of
18758 the unused variable pagination_prompt. Remove manipulation of
18759 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18760 GDBFLAGS.
18761
18762 2015-07-29 Pedro Alves <palves@redhat.com>
18763
18764 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18765
18766 2015-07-29 Pedro Alves <palves@redhat.com>
18767
18768 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18769 at the top.
18770
18771 2015-07-29 Pedro Alves <palves@redhat.com>
18772
18773 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18774 (main): Call gdb_unbuffer_output.
18775 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18776 (main): Call gdb_unbuffer_output.
18777 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18778 (main): Call gdb_unbuffer_output.
18779 * gdb.base/call-strs.exp: Adjust to step over the
18780 gdb_unbuffer_output call.
18781 * gdb.base/catch-gdb-caused-signals.c: Include
18782 "../lib/unbuffer_output.c".
18783 (main): Call gdb_unbuffer_output.
18784 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18785 (main): Call gdb_unbuffer_output.
18786 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18787 (main): Call gdb_unbuffer_output.
18788 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18789 (main): Call gdb_unbuffer_output.
18790 * gdb.base/shlib-call.exp: Adjust to step over the
18791 gdb_unbuffer_output call.
18792 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18793 (main): Call gdb_unbuffer_output.
18794 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18795 (main): Call gdb_unbuffer_output.
18796 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18797 (main): Rename to ...
18798 (test): ... this.
18799 (main): Reimplement.
18800 * gdb.base/varargs.exp: Run to test instead of to main.
18801 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18802 (main): Call gdb_unbuffer_output.
18803
18804 2015-07-29 Pedro Alves <palves@redhat.com>
18805
18806 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18807 factore out from mi_continue_dprintf. For call-style dprintfs,
18808 expect dprintf output out of $inferior_spawn_id.
18809 (mi_continue_dprintf): Use mi_expect_dprintf.
18810 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18811 (main): Call gdb_unbuffer_output.
18812
18813 2015-07-29 Pedro Alves <palves@redhat.com>
18814
18815 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18816 (default_mi_gdb_start): Set inferior_spawn_id instead of
18817 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18818 gdb_spawn_id.
18819 (mi_gdb_test): Always expect inferior output from both
18820 $inferior_spawn_id and $gdb_spawn_id.
18821
18822 2015-07-29 Pedro Alves <palves@redhat.com>
18823
18824 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18825 send_inferior and $inferior_spawn_id.
18826
18827 2015-07-29 Pedro Alves <palves@redhat.com>
18828
18829 * gdb.gdb/complaints.exp (test_initial_complaints)
18830 (test_serial_complaints, test_short_complaints): Use
18831 gdb_test_stdio.
18832 (test_empty_complaint): Handle $inferior_spawn_id !=
18833 $gdb_spawn_id.
18834
18835 2015-07-29 Pedro Alves <palves@redhat.com>
18836
18837 * gdb.base/varargs.exp: Use gdb_test_stdio.
18838
18839 2015-07-29 Pedro Alves <palves@redhat.com>
18840
18841 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18842
18843 2015-07-29 Pedro Alves <palves@redhat.com>
18844
18845 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18846
18847 2015-07-29 Pedro Alves <palves@redhat.com>
18848
18849 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18850 parameter into two new parameters, "inf_result" and "gdb_result".
18851 Expect inferior output and gdb output from $inferior_spawn_id and
18852 $gdb_spawn_id, respectively. Adjust all callers.
18853
18854 2015-07-29 Pedro Alves <palves@redhat.com>
18855
18856 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18857 of gdb_test_sequence.
18858
18859 2015-07-29 Pedro Alves <palves@redhat.com>
18860
18861 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18862 (saw_spurious_output): Expect inferior output from
18863 $inferior_spawn_id. Use gdb_test_stdio.
18864
18865 2015-07-29 Pedro Alves <palves@redhat.com>
18866
18867 * gdb.base/dprintf.exp: Use standard_testfile. Change
18868 prepare_for_testing call.
18869 (srcfile): Don't set.
18870 (restart): New procedure.
18871 (test_dprintf): New procecure, use to continue over dprintfs.
18872 (test_call, test_agent): New procedures, tests moved here.
18873 Restart gdb and recreate dprintfs. Adjust expected output.
18874
18875 2015-07-29 Pedro Alves <palves@redhat.com>
18876
18877 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18878
18879 2015-07-29 Pedro Alves <palves@redhat.com>
18880
18881 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18882
18883 2015-07-29 Pedro Alves <palves@redhat.com>
18884
18885 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18886 gdb_test_stdio.
18887
18888 2015-07-29 Pedro Alves <palves@redhat.com>
18889
18890 * lib/gdb.exp (gdb_test_stdio): New procedure.
18891
18892 2015-07-29 Pedro Alves <palves@redhat.com>
18893
18894 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18895
18896 2015-07-29 Pedro Alves <palves@redhat.com>
18897
18898 * gdb.base/call-signal-resume.exp: Remove check for
18899 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18900 * gdb.base/unwindonsignal.exp: Likewise.
18901 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18902 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18903
18904 2015-07-29 Pedro Alves <palves@redhat.com>
18905
18906 * gdb.base/siginfo-addr.c (pass): New function.
18907 (handler): Call it iff si_addr is correct.
18908 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18909 Set a breakpoint at "pass" and continue to it.
18910
18911 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18912
18913 * gdb.python/py-objfile.exp: Make some tests have unique names.
18914 * gdb.python/py-pp-registration.exp: Likewise.
18915
18916 2015-07-28 Pedro Alves <palves@redhat.com>
18917
18918 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18919
18920 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18921
18922 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18923
18924 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18925
18926 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18927
18928 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18929
18930 * gdb.base/gdb-sigterm-2.exp: New test.
18931
18932 2015-07-25 Doug Evans <xdje42@gmail.com>
18933
18934 Revert:
18935 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18936 (workers/%.worker, build-perf): New rule.
18937 (GDB_PERFTEST_MODE): New variable.
18938 (check-perf): Use it.
18939 (clean): Clean up gdb.perf parallel build subdirs.
18940 * lib/build-piece.exp: New file.
18941 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18942 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18943 name.
18944 (standard_temp_file): Ditto.
18945 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18946 of $GDB_PARALLEL.
18947
18948 2015-07-24 Doug Evans <dje@google.com>
18949
18950 * gdb.perf/lib/perftest/utils.py: New file.
18951 * gdb.perf/gm-hello.cc: New file.
18952 * gdb.perf/gm-pervasive-typedef.cc: New file.
18953 * gdb.perf/gm-pervasive-typedef.h: New file.
18954 * gdb.perf/gm-std.cc: New file.
18955 * gdb.perf/gm-std.h: New file.
18956 * gdb.perf/gm-use-cerr.cc: New file.
18957 * gdb.perf/gm-utils.h: New file.
18958 * gdb.perf/gmonster-null-lookup.py: New file.
18959 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18960 * gdb.perf/gmonster-print-cerr.py: New file.
18961 * gdb.perf/gmonster-ptype-string.py: New file.
18962 * gdb.perf/gmonster-runto-main.py: New file.
18963 * gdb.perf/gmonster-select-file.py: New file.
18964 * gdb.perf/gmonster1-null-lookup.exp: New file.
18965 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18966 * gdb.perf/gmonster1-print-cerr.exp: New file.
18967 * gdb.perf/gmonster1-ptype-string.exp: New file.
18968 * gdb.perf/gmonster1-runto-main.exp: New file.
18969 * gdb.perf/gmonster1-select-file.exp: New file.
18970 * gdb.perf/gmonster1.cc: New file.
18971 * gdb.perf/gmonster1.exp: New file.
18972 * gdb.perf/gmonster2-null-lookup.exp: New file.
18973 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18974 * gdb.perf/gmonster2-print-cerr.exp: New file.
18975 * gdb.perf/gmonster2-ptype-string.exp: New file.
18976 * gdb.perf/gmonster2-runto-main.exp: New file.
18977 * gdb.perf/gmonster2-select-file.exp: New file.
18978 * gdb.perf/gmonster2.cc: New file.
18979 * gdb.perf/gmonster2.exp: New file.
18980
18981 2015-07-24 Doug Evans <dje@google.com>
18982
18983 * gdb.perf/README: New file.
18984 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18985 * lib/gen-perf-test.exp: New file.
18986
18987 2015-07-24 Doug Evans <dje@google.com>
18988
18989 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18990 (PerfTest::startup): New function.
18991 (PerfTest::run): Return result of calling body.
18992 (PerfTest::assemble): Rewrite.
18993 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18994 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18995 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18996 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18997 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18998
18999 2015-07-24 Doug Evans <dje@google.com>
19000
19001 * lib/gdb.exp (clean_restart): Make executable optional.
19002
19003 2015-07-24 Doug Evans <dje@google.com>
19004
19005 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
19006 compiler_info references.
19007 * gdb.cp/temargs.exp: Ditto.
19008 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
19009 (get_compiler_info): Early exit if already computed. Set compiler_info
19010 to "unknown" if there was a problem.
19011 (test_compiler_info): Add function comment. Call get_compiler_info.
19012
19013 2015-07-24 Doug Evans <dje@google.com>
19014
19015 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19016 (workers/%.worker, build-perf): New rule.
19017 (GDB_PERFTEST_MODE): New variable.
19018 (check-perf): Use it.
19019 (clean): Clean up gdb.perf parallel build subdirs.
19020 * lib/build-piece.exp: New file.
19021 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19022 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19023 name.
19024 (standard_temp_file): Ditto.
19025 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19026 of $GDB_PARALLEL.
19027
19028 2015-07-24 Doug Evans <dje@google.com>
19029
19030 * lib/future.exp (gdb_default_target_compile): New option
19031 "early_flags".
19032 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
19033 --as-needed.
19034
19035 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
19036
19037 * gdb.base/catch-syscall.exp: Call gdb_exit before
19038 gdb_skip_xml_test.
19039
19040 2015-07-24 Pedro Alves <palves@redhat.com>
19041
19042 * gdb.python/py-events.exp: Accept output between the stop event
19043 and the prompt.
19044 * gdb.python/py-evsignal.exp: Likewise.
19045 * gdb.python/py-evthreads.exp: Likewise.
19046
19047 2015-07-24 Pedro Alves <palves@redhat.com>
19048
19049 PR gdb/18717
19050 * gdb.threads/non-ldr-exit.c: New file.
19051 * gdb.threads/non-ldr-exit.exp: New file.
19052
19053 2015-07-24 Yao Qi <yao.qi@linaro.org>
19054
19055 * gdb.server/ext-wrapper.exp: Test --wrapper option when
19056 restarting process.
19057
19058 2015-07-24 Yao Qi <yao.qi@linaro.org>
19059
19060 * gdb.server/ext-restart.exp: New file.
19061
19062 2015-07-24 Yao Qi <yao.qi@linaro.org>
19063
19064 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19065 argument options.
19066 * gdb.server/ext-wrapper.exp: New file.
19067
19068 2015-07-23 Doug Evans <dje@google.com>
19069
19070 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19071 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19072
19073 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19074
19075 * gdb.ada/var_arr_typedef.exp: New testcase.
19076 * gdb.ada/var_arr_typedef/pack.adb: New file.
19077 * gdb.ada/var_arr_typedef/pack.ads: New file.
19078 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19079
19080 2015-07-20 Joel Brobecker <brobecker@adacore.com>
19081
19082 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19083
19084 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19085
19086 * gdb.arch/i386-biarch-core.exp: Replace istarget
19087 by "complete set gnutarget". Remove expectation for the "core-file"
19088 command.
19089
19090 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19091
19092 Revert the previous commit:
19093 Tests for validate symbol file using build-id.
19094
19095 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19096
19097 Tests for validate symbol file using build-id.
19098 * gdb.base/solib-mismatch-lib.c: New file.
19099 * gdb.base/solib-mismatch-libmod.c: New file.
19100 * gdb.base/solib-mismatch.c: New file.
19101 * gdb.base/solib-mismatch.exp: New file.
19102
19103 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19104
19105 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19106 nios2-*-linux*.
19107 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19108 * gdb.base/siginfo.exp: Likewise.
19109 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19110
19111 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19112
19113 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19114 Move it to ...
19115 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19116 ... here.
19117 * gdb.trace/range-stepping.exp: Check that the target supports
19118 range stepping.
19119
19120 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19121
19122 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19123
19124 2015-07-14 Pedro Alves <palves@redhat.com>
19125
19126 * gdb.base/killed-outside.exp: New file.
19127 * gdb.base/killed-outside.c: New file.
19128
19129 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19130
19131 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19132 (n at main): New.
19133 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19134
19135 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19136
19137 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19138 infcall tests instead of setting up for KFAIL.
19139
19140 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19141
19142 * gdb.btrace/record_goto-step.exp: New.
19143
19144 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19145
19146 PR compile/18484
19147 * gdb.compile/compile.c (struct struct_type): Add volatile to
19148 selffield's type.
19149 * gdb.compile/compile.exp
19150 (compile code struct_object.selffield = &struct_object): Skip further
19151 struct_object tests if this one xfails.
19152
19153 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
19154
19155 PR exp/18617
19156 * gdb.trace/ax.exp: Add test.
19157
19158 2015-07-07 Yao Qi <yao.qi@linaro.org>
19159
19160 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19161 instead of istarget "aarch64*-*-*".
19162 * gdb.arch/aarch64-fp.exp: Likewise.
19163 * gdb.base/float.exp: Likewise.
19164 * gdb.reverse/aarch64.exp: Likewise.
19165 * lib/gdb.exp (is_aarch64_target): New proc.
19166
19167 2015-07-07 Yao Qi <yao.qi@linaro.org>
19168
19169 * lib/gdb.exp (is_aarch32_target): New proc.
19170 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19171 instead of "istarget "arm*-*-*"".
19172 * gdb.arch/arm-disp-step.exp: Likewise.
19173 * gdb.arch/thumb-bx-pc.exp: Likewise.
19174 * gdb.arch/thumb-prologue.exp: Likewise.
19175 * gdb.arch/thumb-singlestep.exp: Likewise.
19176 * gdb.base/disp-step-syscall.exp: Likewise.
19177 * gdb.base/float.exp: Likewise.
19178
19179 2015-07-07 Yao Qi <yao.qi@linaro.org>
19180
19181 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19182 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19183
19184 2015-07-07 Yao Qi <yao.qi@linaro.org>
19185
19186 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19187 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19188 if it exists.
19189 * gdb.multi/multi-arch.exp: Likewise.
19190
19191 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19192
19193 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19194 print.
19195
19196 2015-07-07 Yao Qi <yao.qi@linaro.org>
19197
19198 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19199
19200 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19201
19202 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19203 '[' and ']' characters.
19204
19205 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19206
19207 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19208
19209 2015-06-29 Pedro Alves <palves@redhat.com>
19210
19211 PR threads/18127
19212 * gdb.threads/hand-call-new-thread.c: New file.
19213 * gdb.threads/hand-call-new-thread.c: New file.
19214
19215 2015-06-26 Keith Seitz <keiths@redhat.com>
19216 Doug Evans <dje@google.com>
19217
19218 PR 16253
19219 * gdb.cp/var-tag-2.cc: New file.
19220 * gdb.cp/var-tag-3.cc: New file.
19221 * gdb.cp/var-tag-4.cc: New file.
19222 * gdb.cp/var-tag.cc: New file.
19223 * gdb.cp/var-tag.exp: New file.
19224
19225 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19226
19227 * gdb.base/history-duplicates.exp: New test.
19228
19229 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19230
19231 * gdb.base/completion.exp: Test the completion of the "focus"
19232 command.
19233
19234 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19235
19236 * gdb.arch/amd64-prologue-skip.S: New file.
19237 * gdb.arch/amd64-prologue-skip.exp: New file.
19238
19239 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19240
19241 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19242 is_address_zero_readable check.
19243
19244 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19245
19246 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19247 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19248
19249 2015-06-24 Yao Qi <yao.qi@linaro.org>
19250
19251 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19252 linux targets.
19253
19254 2015-06-24 Yao Qi <yao.qi@linaro.org>
19255
19256 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19257 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19258 * gdb.base/siginfo-thread.exp: Likewise.
19259
19260 2015-06-22 Yao Qi <yao.qi@linaro.org>
19261
19262 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19263
19264 2015-06-22 Yao Qi <yao.qi@linaro.org>
19265
19266 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19267 aarch64*-*-*.
19268 (skip_hw_watchpoint_tests): Likewise.
19269
19270 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19271
19272 * gdb.base/gdbinit-history.exp: Test the interaction between
19273 setting GDBHISTSIZE and setting the history size via .gdbinit.
19274
19275 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19276
19277 PR gdb/16999
19278 * gdb.base/gdbhistsize-history.exp: New test.
19279
19280 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19281
19282 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19283 with GDBHISTSIZE.
19284 * gdb.base/readline.exp: Likewise.
19285
19286 2015-06-17 Yao Qi <yao.qi@linaro.org>
19287
19288 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19289 line.
19290
19291 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19292
19293 * gdb.base/gdbinit-history.exp: Add test case to check that
19294 an unlimited history file does not get truncated on exit.
19295
19296 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19297
19298 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19299 (VECTOR): New macro. Use it...
19300 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19301 ...for these typedefs.
19302 (int8, char1, int1, double1): New typedefs.
19303 (struct just_int2, struct two_int2): New structures.
19304 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19305 (add_structvecs, add_singlevecs): New functions.
19306 (main): Call add_some_intvecs twice.
19307 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19308 the compile and exit upon failure. Try compiling for the "native"
19309 architecture. Test inferior function calls with vector arguments
19310 and vector return value handling with "finish" and "return".
19311
19312 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19313
19314 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19315 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19316 PE file.
19317 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19318
19319 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19320
19321 PR breakpoints/16465
19322 * gdb.mi/mi-dprintf-pending.c: New file.
19323 * gdb.mi/mi-dprintf-pending.exp: New test.
19324 * gdb.mi/mi-dprintf-pendshr.c: New file.
19325
19326 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19327 Mircea Gherzan <mircea.gherzan@intel.com>
19328
19329 * gdb.arch/i386-mpx-map.c: New file.
19330 * gdb.arch/i386-mpx-map.exp: New File.
19331
19332 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19333
19334 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19335 * gdb.arch/i386-mpx.exp: Indentation fixed.
19336
19337 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19338
19339 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19340 function and improved indentation.
19341 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19342 gdb_test_multiple. Added additional tests to skip the test.
19343
19344 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19345
19346 * gdb.arch/i386-avx512.c: Change path in include file.
19347 * gdb.arch/i386-avx512.exp: Change include dir path
19348 compilation flag.
19349 * gdb.arch/i386-mpx.c: Change path in include file.
19350 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19351 flag.
19352
19353 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19354
19355 * gdb.compile/compile-print.exp (compile print *vararray@3)
19356 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19357
19358 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19359
19360 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19361 (do not keep jit in memory): ... this.
19362 (expect 5): Change it to ...
19363 (expect no 5): ... this.
19364
19365 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19366
19367 PR gdb/15564
19368 * gdb.mi/mi-detach.exp: New file.
19369
19370 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19371
19372 PR symtab/18392
19373 * gdb.arch/amd64-tailcall-self.S: New file.
19374 * gdb.arch/amd64-tailcall-self.c: New file.
19375 * gdb.arch/amd64-tailcall-self.exp: New file.
19376
19377 2015-05-28 Don Breazeal <donb@codesourcery.com>
19378
19379 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19380 tests for remote targets by checking is_target_gdbserver.
19381
19382 2015-05-27 Doug Evans <dje@google.com>
19383
19384 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19385 * gdb.dwarf2/opaque-type-lookup.c: New file.
19386 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19387
19388 2015-05-26 Doug Evans <dje@google.com>
19389
19390 * gdb.cp/iostream.cc: New file.
19391 * gdb.cp/iostream.exp: New file.
19392
19393 2015-05-26 Doug Evans <dje@google.com>
19394
19395 * gdb.dwarf2/dw2-op-call.exp: Update.
19396 * gdb.dwarf2/dw4-sig-types.exp: Update.
19397 * gdb.dwarf2/implptr.exp: Update.
19398 * gdb.mi/mi-cmd-param-changed.exp: Update.
19399
19400 2015-05-26 Doug Evans <dje@google.com>
19401
19402 * gdb.python/py-lazy-string.c: New file.
19403 * gdb.python/py-lazy-string.exp: New file.
19404 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19405 (main): Update. Add estring3.
19406 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19407 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19408
19409 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
19410 Yao Qi <yao.qi@linaro.org>
19411
19412 * gdb.reverse/aarch64.c: New.
19413 * gdb.reverse/aarch64.exp: New.
19414
19415 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
19416
19417 * lib/gdb.exp (supports_process_record): Return true for
19418 aarch64*-linux*.
19419 (supports_reverse): Likewise.
19420
19421 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19422
19423 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19424 Use with_test_prefix.
19425
19426 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19427
19428 * gdb.base/completion.exp: Add test for completion of layout
19429 names.
19430
19431 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19432
19433 * lib/gdb.exp (skip_tui_tests): New proc.
19434 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19435
19436 2015-05-19 Pedro Alves <palves@redhat.com>
19437
19438 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19439 Save the whole env array instead of just HOME. Unset HISTSIZE in
19440 the environment while testing. Restore whole environment
19441 afterwards.
19442
19443 2015-05-16 Doug Evans <xdje42@gmail.com>
19444
19445 * gdb.guile/scm-ports.c: New file.
19446 * gdb.guile/scm-ports.exp: Add memory port tests.
19447
19448 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19449
19450 * gdb.compile/compile-print.c: New file.
19451 * gdb.compile/compile-print.exp: New file.
19452
19453 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19454
19455 * gdb.compile/compile-ops.exp: Cast param to void.
19456 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19457 (compile code struct_object.selffield = &struct_object): Add xfail.
19458
19459 2015-05-15 Joel Brobecker <brobecker@adacore.com>
19460
19461 * gdb.ada/arr_enum_with_gap: New testcase.
19462
19463 2015-05-15 Joel Brobecker <brobecker@adacore.com>
19464
19465 * gdb.ada/byte_packed_arr: New testcase.
19466
19467 2015-05-15 Joel Brobecker <brobecker@adacore.com>
19468
19469 * gdb.ada/pckd_neg: New testcase.
19470
19471 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19472
19473 PR gdb/17820
19474 * gdb.base/gdbinit-history.exp: New test.
19475 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19476 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19477
19478 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19479
19480 * gdb.python/py-xmethods.cc: Enhance test case.
19481 * gdb.python/py-xmethods.exp: New tests.
19482 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19483 function.
19484 (B_indexoper): Likewise.
19485 (global_dm_list) : Add new xmethod worker functions.
19486
19487 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19488
19489 * gdb.base/coredump-filter.exp: Correctly unset
19490 "coredump_var_addr" array.
19491
19492 2015-05-08 Pedro Alves <palves@redhat.com>
19493
19494 * gdb.server/non-existing-program.exp: Unset spawn_id.
19495
19496 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19497
19498 PR python/18291
19499 * gdb.python/py-xmethods.exp: Add tests.
19500
19501 2015-05-08 Yao Qi <yao.qi@linaro.org>
19502
19503 PR gdb/18208
19504 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19505 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19506 function set_coredump_filter, and remove remote_exec call.
19507 Remove argument ipid. Callers update.
19508 (top level): Don't get inferior's PID.
19509
19510 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19511
19512 * gdb.base/watch_thread_num.exp: Skip test on targets without
19513 access watchpoints.
19514
19515 2015-05-06 Pedro Alves <palves@redhat.com>
19516
19517 PR server/18081
19518 * gdb.server/non-existing-program.exp: New file.
19519
19520 2015-05-05 Joel Brobecker <brobecker@adacore.com>
19521
19522 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19523
19524 2015-05-05 Joel Brobecker <brobecker@adacore.com>
19525
19526 * gdb.ada/out_of_line_in_inlined: New testcase.
19527
19528 2015-05-05 Joel Brobecker <brobecker@adacore.com>
19529
19530 * gdb.ada/var_rec_arr: New testcase.
19531
19532 2015-04-30 Yao Qi <yao.qi@linaro.org>
19533
19534 * gdb.base/break-idempotent.exp: If
19535 skip_hw_watchpoint_multi_tests returns true, skip the tests
19536 on "rwatch" and "awatch".
19537
19538 2015-04-30 Yao Qi <yao.qi@linaro.org>
19539
19540 * gdb.base/relativedebug.exp: Invoke gdb command
19541 "info sharedlibrary", and if libc.so doesn't have debug info,
19542 skip the test.
19543
19544 2015-04-29 Doug Evans <dje@google.com>
19545
19546 * gdb.python/py-xmethods.exp: Add ptype tests.
19547 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19548 get_result_type method.
19549
19550 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
19551
19552 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19553 the target does not support hardware watchpoints.
19554
19555 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
19556
19557 * gdb.base/break-always.exp: Abort testing if writing to memory
19558 causes an error.
19559
19560 2015-04-28 Doug Evans <dje@google.com>
19561
19562 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19563 * gdb.python/py-pp-registration.exp: ... here. New file.
19564 * gdb.python/py-pp-registration.c: New file.
19565 * gdb.python/py-pp-registration.py: New file.
19566
19567 2015-04-28 Doug Evans <dje@google.com>
19568
19569 * gdb.python/py-bad-printers.c: New file.
19570 * gdb.python/py-bad-printers.py: New file.
19571 * gdb.python/py-bad-printers.exp: New file.
19572
19573 2015-04-28 Sasha Smundak <asmundak@google.com>
19574
19575 * gdb.python/py-type.exp: New test.
19576
19577 2015-04-28 Andy Wingo <wingo@igalia.com>
19578
19579 * gdb.python/py-parameter.exp:
19580 * gdb.guile/scm-parameter.exp: Escape the path that we are
19581 matching against, as it might contain characters that are special
19582 to regular expressions.
19583
19584 2015-04-27 Joel Brobecker <brobecker@adacore.com>
19585
19586 * gdb.ada/rec_comp: New testcase.
19587
19588 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19589
19590 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19591 before using it.
19592
19593 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19594
19595 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19596 new tests for verilog output.
19597
19598 2015-04-24 Yao Qi <yao.qi@linaro.org>
19599
19600 * boards/remote-gdbserver-on-localhost.exp: New file.
19601
19602 2015-04-23 Pedro Alves <palves@redhat.com>
19603
19604 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19605 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19606 "end of file", remove $inferior_spawn_id from the indirect list.
19607
19608 2015-04-23 Pedro Alves <palves@redhat.com>
19609
19610 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19611
19612 2015-04-23 Pedro Alves <palves@redhat.com>
19613
19614 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19615 on $any_spawn_id instead of only on $gdb_spawn_id.
19616
19617 2015-04-21 Pierre Muller <muller@sourceware.org>
19618
19619 PR pascal/17815
19620 * lib/pascal.exp (gpc_compile): Add new option "class".
19621 (fpc_compile): Likewise.
19622 * gdb.pascal/case-insensitive-symbols.pas: New file.
19623 * gdb.pascal/case-insensitive-symbols.exp: New file.
19624
19625 2015-04-20 Gary Benson <gbenson@redhat.com>
19626
19627 * gdb.base/attach.exp: Fix three extended remote failures.
19628
19629 2015-04-17 Gary Benson <gbenson@redhat.com>
19630
19631 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19632 the main executable over the remote protocol.
19633
19634 2015-04-16 Pedro Alves <palves@redhat.com>
19635
19636 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19637 a new gdbserver if gdbserver_reconnect_p is set.
19638
19639 2015-04-16 Pedro Alves <palves@redhat.com>
19640
19641 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19642 is set, don't exit gdbserver.
19643
19644 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19645
19646 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19647 appropriate .insn, such that an older assembler can be used.
19648 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19649 the z/Architecture instruction set on 31-bit targets as well.
19650
19651 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19652
19653 * gdb.go/handcall.exp: Remove all logic related to the first
19654 breakpoint and rely on go_runto_main instead.
19655 * gdb.go/strings.exp: Likewise.
19656 * gdb.go/unsafe.exp: Likewise.
19657 * gdb.go/hello.exp: Likewise. Also rename the remaining
19658 breakpoint marker to "breakpoint 1".
19659 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19660 * gdb.go/strings.go: Likewise.
19661 * gdb.go/unsafe.go: Likewise.
19662 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19663 "set breakpoint 2 here" and rename the remaining breakpoint marker
19664 to "breakpoint 1".
19665
19666 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19667
19668 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19669 if itertools.imap is not present.
19670 * gdb.python/py-objfile.exp: Add parentheses.
19671 * gdb.python/py-type.exp: Same.
19672 * gdb.python/py-unwind-maint.py: Same.
19673
19674 2015-04-15 Yao Qi <yao.qi@linaro.org>
19675
19676 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19677 of ":$ptr_size" and set its form explicitly.
19678
19679 2015-04-15 Pedro Alves <palves@redhat.com>
19680 Yao Qi <yao.qi@linaro.org>
19681
19682 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19683 timeout by factor of 4.
19684 (test_regular_watch): Likewise.
19685 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19686 * gdb.reverse/sigall-reverse.exp: Likewise.
19687 * gdb.reverse/until-precsave.exp: Likewise.
19688 * lib/gdb.exp (with_timeout_factor): New proc.
19689 (gdb_expect): Move some code to ...
19690 (get_largest_timeout): ... here. New procedure.
19691
19692 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
19693
19694 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19695
19696 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
19697
19698 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19699 to write to the .text section.
19700
19701 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
19702
19703 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19704 Handle the case of targets that do not provide PID information.
19705
19706 2015-04-13 Yao Qi <yao.qi@linaro.org>
19707
19708 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19709 and use expect instead of gdb_expect.
19710
19711 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19712
19713 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19714 "coredump_var_addr" to avoid naming conflict with other testcases.
19715
19716 2015-04-10 Pedro Alves <palves@redhat.com>
19717
19718 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19719 gdb_test_sequence and gdb_assert.
19720
19721 2015-04-10 Pedro Alves <palves@redhat.com>
19722
19723 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19724 test messages that don't include the breakpoint address.
19725
19726 2015-04-10 Yao Qi <yao.qi@linaro.org>
19727
19728 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19729 false for some offset and width combinations which aren't
19730 supported by linux kernel.
19731
19732 2015-04-10 Pedro Alves <palves@redhat.com>
19733
19734 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19735 procedure, factored out from ...
19736 (top level): ... here. Add "set displaced-stepping" testing axis.
19737 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19738 parameter "displaced". Use it.
19739 (top level): Use foreach and add "set displaced-stepping" testing
19740 axis.
19741
19742 2015-04-10 Pedro Alves <palves@redhat.com>
19743
19744 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19745 Remove comment.
19746 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19747 both the address of the instruction that triggers the watchpoint
19748 and the address of the instruction immediately after, and use
19749 those addresses for the test. Fix comment.
19750
19751 2015-04-10 Pedro Alves <palves@redhat.com>
19752
19753 * gdb.base/sigstep.exp (breakpoint_to_handler)
19754 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19755 Test "backtrace" in handler.
19756 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19757 (top level): Add new "displaced" test axis to
19758 breakpoint_to_handler, breakpoint_to_handler_entry and
19759 breakpoint_over_handler.
19760
19761 2015-04-10 Pedro Alves <palves@redhat.com>
19762
19763 PR gdb/18216
19764 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19765
19766 2015-04-10 Yao Qi <yao.qi@linaro.org>
19767
19768 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19769 (test_add_rn_pc): New function.
19770 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19771 (top level): Invoke test_add_rn_pc.
19772
19773 2015-04-10 Pedro Alves <palves@redhat.com>
19774
19775 PR gdb/13858
19776 * gdb.base/step-over-no-symbols.exp: New file.
19777
19778 2015-04-09 Andy Wingo <wingo@igalia.com>
19779
19780 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19781 after the Python tests.
19782
19783 2015-04-08 Keith Seitz <keiths@redhat.com>
19784
19785 PR python/16699
19786 * gdb.python/py-completion.exp: New tests for completion.
19787 * gdb.python/py-completion.py (CompleteLimit1): New class.
19788 (CompleteLimit2): Likewise.
19789 (CompleteLimit3): Likewise.
19790 (CompleteLimit4): Likewise.
19791 (CompleteLimit5): Likewise.
19792 (CompleteLimit6): Likewise.
19793 (CompleteLimit7): Likewise.
19794
19795 2015-04-08 Pedro Alves <palves@redhat.com>
19796
19797 PR gdb/18214
19798 PR gdb/18216
19799 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19800 function.
19801 (main): Install it as SIGUSR1 handler.
19802 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19803 parameter. Always use "setup" as prefix. Toggle "set
19804 displaced-stepping" off/on depending on global. Don't switch to
19805 thread 1 here.
19806 (top level): Add displaced stepping "off/on" test axis. Update
19807 "setup" calls. Wrap each subtest with with_test_prefix. Test
19808 continuing with a queued signal in each thread.
19809
19810 2015-04-08 Pedro Alves <palves@redhat.com>
19811
19812 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19813 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19814 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19815 Return early if running to main fails.
19816 * gdb.trace/while-stepping.exp: Likewise.
19817
19818 2015-04-07 Pedro Alves <palves@redhat.com>
19819
19820 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19821 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19822 interact with inferior program.
19823
19824 2015-04-07 Pedro Alves <palves@redhat.com>
19825
19826 * lib/gdb.exp (inferior_spawn_id): New global.
19827 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19828 spawn id after processing the user code.
19829 (default_gdb_start): Set inferior_spawn_id.
19830 (send_inferior): New procedure.
19831 * lib/gdbserver-support.exp (gdbserver_start): Set
19832 inferior_spawn_id.
19833 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19834
19835 2015-04-07 Pedro Alves <palves@redhat.com>
19836
19837 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19838 * lib/gdbserver-support.exp (gdbserver_start): Make
19839 $server_spawn_id global.
19840 (gdbserver_start): Don't wait for gdbserver's spawn id with
19841 expect_background.
19842 (close_gdbserver): New procedure.
19843 (gdb_exit): Rename the default version and reimplement.
19844
19845 2015-04-07 Pedro Alves <palves@redhat.com>
19846
19847 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
19848 append the substituted item, not the original item.
19849
19850 2015-04-07 Pedro Alves <palves@redhat.com>
19851
19852 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19853 gdb_expect.
19854
19855 2015-04-07 Pedro Alves <palves@redhat.com>
19856
19857 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19858 output appearing once only.
19859
19860 2015-04-07 Pedro Alves <palves@redhat.com>
19861
19862 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19863 that doesn't expect anything. Return early if running to main
19864 fails.
19865
19866 2015-04-07 Yao Qi <yao.qi@linaro.org>
19867
19868 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19869 (child_function): Call alarm.
19870 (main): Move call to alarm into the loop.
19871 * gdb.threads/non-stop-fair-events.exp: Build program with
19872 -DTIMEOUT=$timeout.
19873
19874 2015-04-06 Doug Evans <xdje42@gmail.com>
19875
19876 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19877 Fix dest parameter to board_info.
19878 (fpc_compile): Ditto.
19879 (gdb_compile_pascal): Rename dest arg to destfile.
19880
19881 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19882
19883 * gdb.ada/funcall_ref.exp: New file.
19884 * gdb.ada/funcall_ref/foo.adb: New file.
19885
19886 2015-04-02 Yao Qi <yao.qi@linaro.org>
19887
19888 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19889 is remote.
19890
19891 2015-04-02 Gary Benson <gbenson@redhat.com>
19892
19893 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19894
19895 2015-04-01 Sasha Smundak <asmundak@google.com>
19896
19897 * gdb.python/py-unwind-maint.c: New file.
19898 * gdb.python/py-unwind-maint.exp: New test.
19899 * gdb.python/py-unwind-maint.py: New file.
19900 * gdb.python/py-unwind.c: New file.
19901 * gdb.python/py-unwind.exp: New test.
19902 * gdb.python/py-unwind.py: New test.
19903
19904 2015-04-01 Pedro Alves <palves@redhat.com>
19905
19906 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19907 to fail instead of non-existent $test.
19908
19909 2015-04-01 Pedro Alves <palves@redhat.com>
19910
19911 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19912 GDBFLAGS if not empty.
19913
19914 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19915
19916 * gdb.ada/complete.exp: Remove "multi_line".
19917 * gdb.ada/info_exc.exp: Remove "multi_line".
19918 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19919 * gdb.ada/ptype_field.exp: Remove "multi_line".
19920 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19921 * gdb.ada/tagged.exp: Remove "multi_line".
19922 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19923 [multi_line ...]
19924 * gdb.btrace/delta.exp: Likewise.
19925 * gdb.btrace/exception.exp: Likewise.
19926 * gdb.btrace/function_call_history.exp: Likewise.
19927 * gdb.btrace/instruction_history.exp: Likewise.
19928 * gdb.btrace/nohist.exp: Likewise.
19929 * gdb.btrace/record_goto.exp: Likewise.
19930 * gdb.btrace/segv.exp: Likewise.
19931 * gdb.btrace/stepi.exp: Likewise.
19932 * gdb.btrace/tailcall.exp: Likewise.
19933 * gdb.btrace/unknown_functions.exp: Likewise.
19934 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19935 * lib/gdb.exp: Add the "multi_line" helper.
19936
19937 2015-04-01 Pedro Alves <palves@redhat.com>
19938
19939 * gdb.threads/tid-reuse.c: New file.
19940 * gdb.threads/tid-reuse.exp: New file.
19941
19942 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19943
19944 PR corefiles/16092
19945 * gdb.base/coredump-filter.c: New file.
19946 * gdb.base/coredump-filter.exp: Likewise.
19947
19948 2015-03-27 Petr Machata <pmachata@redhat.com>
19949
19950 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19951 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19952 (Dwarf::assemble): Initialize them.
19953 (Dwarf::lines): New function.
19954
19955 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19956
19957 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19958 SYMBOL_PREFIX for x86_64-*-cygwin.
19959
19960 2015-03-26 Andy Wingo <wingo@igalia.com>
19961
19962 PR symtab/18148
19963 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19964 const_value but not a location.
19965 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19966 location defined in non-main CUs are visible.
19967
19968 2015-03-26 Yao Qi <yao.qi@linaro.org>
19969
19970 PR testsuite/18139
19971 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19972 Add a line number entry for the same line.
19973 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19974 Add a line number entry for the same line.
19975
19976 2015-03-26 Yao Qi <yao.qi@linaro.org>
19977
19978 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19979 .int 0.
19980 (func): Likewise. Add .Lfunc_1 label.
19981 Use .Lfunc_1 label.
19982 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19983 .int 0.
19984 (func): Likewise.
19985 Use .Lfunc_1 label.
19986
19987 2015-03-26 Yao Qi <yao.qi@linaro.org>
19988
19989 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19990 Call gdb_compile instead to compile each .s files without debug
19991 information.
19992
19993 2015-03-26 Yao Qi <yao.qi@linaro.org>
19994
19995 * gdb.base/savedregs.exp (process_saved_regs): Make
19996 "Saved registers:" optional in the pattern.
19997
19998 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19999
20000 * gdb.btrace/next.exp: Merged into step.exp.
20001 * gdb.btrace/finish.exp: Merged into step.exp.
20002 * gdb.btrace/nexti.exp: Merged into stepi.exp.
20003 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
20004 "record goto" and checking the exact replay position.
20005 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
20006 check for "Recording format" in "info record" output.
20007 * gdb.btrace/record_goto.exp: Choose test file based on target.
20008 * gdb.btrace/x86-record_goto.S: Renamed into ...
20009 * gdb.btrace/x86_64-record_goto.S: ... this.
20010 * gdb.btrace/i686-record_goto.S: New.
20011 * gdb.btrace/x86-tailcall.S: Renamed into ...
20012 * gdb.btrace/x86_64-tailcall.S: ... this.
20013 * gdb.btrace/i686-tailcall.S: New.
20014 * gdb.btrace/x86-tailcall.c: Renamed into ...
20015 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
20016 separate statements. Update test.
20017 * gdb.btrace/delta.exp: Use record_goto.c as test file.
20018 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
20019 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
20020 * gdb.btrace/tailcall.exp: Choose test file based on target.
20021 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
20022
20023 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20024
20025 * gdb.btrace/exception.exp: Increase BTS buffer size.
20026
20027 2015-03-24 Pedro Alves <palves@redhat.com>
20028
20029 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
20030
20031 2015-03-24 Pedro Alves <palves@redhat.com>
20032
20033 * gdb.threads/schedlock.exp (test_step): No longer expect that
20034 "set scheduler-locking step" with "next" over a function call runs
20035 threads unlocked.
20036
20037 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20038
20039 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
20040
20041 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20042
20043 PR breakpoints/16466
20044 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
20045 * gdb.mi/mi-pending.c (thread_func): New function.
20046 (int main): Add threading support required.
20047 * gdb.mi/mi-pending.exp: Add tests for this issue.
20048 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
20049 (pendfunc2): Remove stdio dependency.
20050 * gdb.mi/mi-pendshr2.c: New file.
20051
20052 2015-03-23 Keith Seitz <keiths@redhat.com>
20053
20054 * gdb.linespec/keywords.c: New file.
20055 * gdb.linespec/keywords.exp: New file.
20056
20057 2015-03-23 Keith Seitz <keiths@redhat.com>
20058
20059 PR gdb/18021
20060 * gdb.dwarf2/staticvirtual.exp: New test.
20061
20062 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20063
20064 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20065 * README: Remove HP-UX and gdb.hp.
20066 (configuration):
20067 * configure: Regenerate.
20068 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20069 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20070 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20071 gdb.hp/gdb.defects/Makefile.
20072 * gdb.hp/Makefile.in: File deleted.
20073 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20074 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20075 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20076 * gdb.hp/gdb.aCC/run.c: File deleted.
20077 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20078 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20079 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20080 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20081 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20082 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20083 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20084 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20085 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20086 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20087 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20088 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20089 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20090 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20091 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20092 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20093 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20094 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20095 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20096 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20097 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20098 * gdb.hp/gdb.compat/average.c: File deleted.
20099 * gdb.hp/gdb.compat/sum.c: File deleted.
20100 * gdb.hp/gdb.compat/xdb.c: File deleted.
20101 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20102 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20103 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20104 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20105 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20106 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20107 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20108 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20109 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20110 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20111 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20112 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20113 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20114 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20115 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20116 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20117 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20118 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20119 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20120 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20121 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20122 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20123 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20124 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20125 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20126 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20127 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20128 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20129 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20130 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20131 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20132 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20133 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20134 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20135 * gdb.hp/tools/odump: File deleted.
20136
20137 2015-03-19 Pedro Alves <palves@redhat.com>
20138
20139 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20140 (saw_thread_3): New globals.
20141 (top level): Increment them when an event for the corresponding
20142 thread is seen.
20143 (no thread starvation): New test.
20144
20145 2015-03-19 Pedro Alves <palves@redhat.com>
20146
20147 * gdb.threads/continue-pending-status.c: New file.
20148 * gdb.threads/continue-pending-status.exp: New file.
20149
20150 2015-03-18 Pedro Alves <palves@redhat.com>
20151
20152 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20153 Use gdb_is_target_remote instead of is_remote. Use
20154 gdb_test_multiple instead of gdb_expect. Exit early if
20155 gdb_test_multiple hits its internal matches. Tighten stepi tests
20156 expected output. Fail on exit with any signal, instead of just
20157 SIGILL.
20158
20159 2015-03-18 Yao Qi <yao.qi@linaro.org>
20160
20161 PR tdep/18107
20162 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20163 variable.
20164 * gdb.base/catch-syscall.exp: Don't skip it on
20165 aarch64*-*-linux* target. Remove elements in all_syscalls.
20166 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20167 target.
20168 (setup_all_syscalls): New proc.
20169
20170 2015-03-16 Yao Qi <yao.qi@linaro.org>
20171
20172 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20173 (top level): Skip tests if valid_addr_p returns false for
20174 $cmd1 or $cmd2.
20175
20176 2015-03-11 Andy Wingo <wingo@igalia.com>
20177
20178 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20179
20180 2015-03-11 Yao Qi <yao.qi@linaro.org>
20181
20182 * gdb.base/catch-syscall.exp: Fix typo in comments.
20183
20184 2015-03-11 Yao Qi <yao.qi@linaro.org>
20185
20186 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20187
20188 2015-03-09 Pedro Alves <palves@redhat.com>
20189
20190 * dg-extract-results.py: Delete.
20191
20192 2015-03-09 Pedro Alves <palves@redhat.com>
20193
20194 Merge dg-extract-results.sh from GCC upstream (r218843).
20195
20196 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20197 * dg-extract-results.sh: Use --text with grep to avoid issues with
20198 binary files. Fall back to cat -v, if that doesn't work.
20199
20200 2015-03-05 Pedro Alves <palves@redhat.com>
20201
20202 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20203
20204 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20205
20206 * lib/mi-support.exp (mi_expect_interrupt): Accept
20207 alternative event for when in all-stop mode.
20208
20209 2015-03-04 Pedro Alves <palves@redhat.com>
20210
20211 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20212
20213 2015-03-04 Mark Kettenis <kettenis@gnu.org>
20214
20215 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20216
20217 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20218
20219 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20220 regexps for GDB's current line display, accept a hex address
20221 preceding the line number.
20222
20223 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20224
20225 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20226 the 'arch1' variable for "s390*-linux*" targets.
20227
20228 2015-03-04 Pedro Alves <palves@redhat.com>
20229
20230 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20231 (main): Pass missing retval argument to pthread_join call.
20232
20233 2015-03-02 Pedro Alves <palves@redhat.com>
20234
20235 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20236 (top level): Call do_test with non-stop as well.
20237
20238 2015-03-02 Pedro Alves <palves@redhat.com>
20239
20240 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20241 -1.
20242
20243 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20244
20245 * gdb.arch/s390-vregs.exp: New test.
20246 * gdb.arch/s390-vregs.S: New file.
20247
20248 2015-02-27 Pedro Alves <palves@redhat.com>
20249
20250 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20251 call to catch_command_errors.
20252 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20253 catch_command_errors.
20254
20255 2015-02-27 Pedro Alves <palves@redhat.com>
20256
20257 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20258 "true" for boolean result.
20259 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20260 prototype of main.
20261
20262 2015-02-27 Pedro Alves <palves@redhat.com>
20263
20264 * lib/unbuffer_output.c: New file.
20265 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20266 (main): Call gdb_unbuffer_output.
20267
20268 2015-02-27 Yao Qi <yao.qi@linaro.org>
20269
20270 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20271 target.
20272
20273 2015-02-26 Doug Evans <dje@google.com>
20274
20275 * gdb.cp/class2.cc (Dbase, D): New classes.
20276 (main): New local delta.
20277 * gdb.cp/class2.exp: Test printing delta.
20278 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20279 (dynbar): New global.
20280 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20281
20282 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20283
20284 * gdb.compile/compile-ifunc.c: New file.
20285 * gdb.compile/compile-ifunc.exp: New file.
20286
20287 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20288
20289 * gdb.base/structs.exp: Check for correct struct on finish.
20290
20291 2015-02-26 Yao Qi <yao.qi@linaro.org>
20292
20293 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20294 is zero.
20295
20296 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20297
20298 * gdb.arch/cordic.ko.bz2: New file.
20299 * gdb.arch/cordic.ko.debug.bz2: New file.
20300 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20301
20302 2015-02-25 Yao Qi <yao.qi@linaro.org>
20303
20304 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20305 aarch64*-*-* target.
20306
20307 2015-02-23 Pedro Alves <palves@redhat.com>
20308
20309 * lib/gdb.exp (delete_breakpoints): Rewrite using
20310 gdb_test_multiple.
20311
20312 2015-02-23 Pedro Alves <palves@redhat.com>
20313
20314 * gdb.base/info-os.c: Include stdlib.h.
20315
20316 2015-02-22 Doug Evans <xdje42@gmail.com>
20317
20318 PR symtab/17855
20319 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20320 is read after symbols have been re-read.
20321 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20322 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20323
20324 2015-02-21 Doug Evans <dje@google.com>
20325
20326 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20327
20328 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20329
20330 PR corefiles/17808
20331 * gdb.arch/i386-biarch-core.core.bz2: New file.
20332 * gdb.arch/i386-biarch-core.exp: New file.
20333
20334 2015-02-21 Pedro Alves <palves@redhat.com>
20335
20336 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20337 runto_main fails.
20338
20339 2015-02-20 Pedro Alves <palves@redhat.com>
20340
20341 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20342 info probes.
20343
20344 2015-02-20 Pedro Alves <palves@redhat.com>
20345
20346 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20347
20348 2015-02-20 Pedro Alves <palves@redhat.com>
20349
20350 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20351 clean_restart before gdb_target_supports_trace.
20352
20353 2015-02-20 Pedro Alves <palves@redhat.com>
20354
20355 PR threads/18006
20356 * gdb.threads/clone-thread_db.c: New file.
20357 * gdb.threads/clone-thread_db.exp: New file.
20358
20359 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20360
20361 PR breakpoints/16812
20362 * gdb.base/catch-gdb-caused-signals.c: New file.
20363 * gdb.base/catch-gdb-caused-signals.exp: New file.
20364
20365 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20366
20367 * configure: Regenerated.
20368 * configure.ac: Use GDB_AC_TRANSFORM.
20369 * aclocal.m4: sinclude ../transform.m4.
20370
20371 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20372
20373 * lib/dtrace.exp: New file.
20374 * gdb.base/dtrace-probe.exp: Likewise.
20375 * gdb.base/dtrace-probe.d: Likewise.
20376 * gdb.base/dtrace-probe.c: Likewise.
20377 * lib/pdtrace.in: Likewise.
20378 * configure.ac: Output variables with the transformed names of
20379 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20380 * configure: Regenerated.
20381
20382 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20383
20384 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20385 expected message when trying to access $_probe_* convenience
20386 variables while not on a probe.
20387
20388 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20389
20390 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20391
20392 2015-02-11 Pedro Alves <pedro@codesourcery.com>
20393
20394 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20395 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20396
20397 2015-02-10 Doug Evans <xdje42@gmail.com>
20398
20399 * lib/gdb.exp (gdb_load): Always return a result.
20400
20401 2015-02-10 Pedro Alves <palves@redhat.com>
20402
20403 * gdb.threads/signal-sigtrap.c: New file.
20404 * gdb.threads/signal-sigtrap.exp: New file.
20405
20406 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20407
20408 * gdb.trace/no-attach-trace.c: New file.
20409 * gdb.trace/no-attach-trace.exp: New file.
20410
20411 2015-02-09 Mark Wielaard <mjw@redhat.com>
20412
20413 * gdb.dwarf2/atomic.c: New file.
20414 * gdb.dwarf2/atomic-type.exp: Likewise.
20415
20416 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20417
20418 * gdb.btrace/buffer-size.exp: Update "info record" output.
20419 * gdb.btrace/delta.exp: Update "info record" output.
20420 * gdb.btrace/enable.exp: Update "info record" output.
20421 * gdb.btrace/finish.exp: Update "info record" output.
20422 * gdb.btrace/instruction_history.exp: Update "info record" output.
20423 * gdb.btrace/next.exp: Update "info record" output.
20424 * gdb.btrace/nexti.exp: Update "info record" output.
20425 * gdb.btrace/step.exp: Update "info record" output.
20426 * gdb.btrace/stepi.exp: Update "info record" output.
20427 * gdb.btrace/nohist.exp: Update "info record" output.
20428
20429 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20430
20431 * gdb.btrace/buffer-size: New.
20432
20433 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20434
20435 * gdb.btrace/delta.exp: Update "info record" output.
20436 * gdb.btrace/enable.exp: Update "info record" output.
20437 * gdb.btrace/finish.exp: Update "info record" output.
20438 * gdb.btrace/instruction_history.exp: Update "info record" output.
20439 * gdb.btrace/next.exp: Update "info record" output.
20440 * gdb.btrace/nexti.exp: Update "info record" output.
20441 * gdb.btrace/step.exp: Update "info record" output.
20442 * gdb.btrace/stepi.exp: Update "info record" output.
20443 * gdb.btrace/nohist.exp: Update "info record" output.
20444
20445 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20446
20447 PR gdb/15678
20448 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20449
20450 2015-02-06 Pedro Alves <palves@redhat.com>
20451
20452 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20453 macro.
20454 (seconds_left, again): New globals.
20455 (main): Wait seconds_left in a 1-second sleep loop instead of
20456 sleeping 180 seconds. If 'again' is set, reset the seconds
20457 counter.
20458 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20459 'again' in the inferior before detaching. Print the seconds left.
20460 (options): New global.
20461 (top level): Build program with -DTIMEOUT=$timeout.
20462
20463 2015-02-06 Pedro Alves <palves@redhat.com>
20464
20465 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20466 determine how many seconds to pass to 'alarm'.
20467 * gdb.base/gdb-sigterm.exp (top level): Build program with
20468 -DTIMEOUT=$timeout.
20469 (do_test): Return success/failure indication. Add more verbose
20470 logging. Don't fail if 200 single steps are seen. Instead, fail
20471 when the test times out.
20472 (passes): New global.
20473 (top level): Break the testing loop if testing fails on any
20474 iteration. Use gdb_assert.
20475
20476 2015-02-04 Don Breazeal <donb@codesourcery.com>
20477
20478 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20479 and initialize them.
20480 (ipc_cleanup): New function.
20481 (main): Don't declare shmid, semid, and msqid. Add a call to
20482 atexit so that we call ipc_cleanup on exit.
20483
20484 2015-02-04 Pedro Alves <palves@redhat.com>
20485
20486 * boards/native-extended-gdbserver.exp: Remove any target variant
20487 specifications from the board name before clearing the isremote
20488 flag from board_info.
20489
20490 2015-01-31 Doug Evans <xdje42@gmail.com>
20491
20492 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20493
20494 2015-01-31 Gary Benson <gbenson@redhat.com>
20495
20496 * gdb.base/completion.exp: Disable completion limiting for
20497 existing tests. Add new tests to check completion limiting.
20498 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20499
20500 2015-01-31 Doug Evans <xdje42@gmail.com>
20501
20502 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20503
20504 2015-01-31 Doug Evans <xdje42@gmail.com>
20505
20506 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20507 entries. Duplicate file section script entries.
20508 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20509 inlined entries. Add test for safe-path rejection.
20510 * gdb.python/py-section-script.c: Add duplicate inlined section script
20511 entries. Duplicate file section script entries.
20512 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20513 inlined entries. Add test for safe-path rejection.
20514
20515 2015-01-29 Joel Brobecker <brobecker@adacore.com>
20516
20517 * gdb.ada/disc_arr_bound: New testcase.
20518
20519 2015-01-29 Joel Brobecker <brobecker@adacore.com>
20520
20521 * gdb.ada/mi_var_array: New testcase.
20522
20523 2015-01-27 Doug Evans <dje@google.com>
20524
20525 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20526 Add test for objfile.filename, objfile.username after objfile
20527 has been unloaded.
20528
20529 2015-01-26 Joel Brobecker <brobecker@adacore.com>
20530
20531 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20532 the second test to print the name attribute of value
20533 returned by the call to gdb.lookup_type, and adjust
20534 the expected output accordingly.
20535
20536 2015-01-25 Mark Wielaard <mjw@redhat.com>
20537
20538 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20539 * gdb.base/disp-step-fork.c: Include unistd.h.
20540 * gdb.base/siginfo-obj.c: Include stdio.h.
20541 * gdb.base/siginfo-thread.c: Likewise.
20542 * gdb.mi/non-stop.c: Include unistd.h.
20543 * gdb.mi/nsthrexec.c: Include stdio.h.
20544 * gdb.mi/pthreads.c: Include unistd.h.
20545 * gdb.modula2/unbounded1.c (main): Declare returns int.
20546 * gdb.reverse/consecutive-reverse.c: Likewise.
20547 * gdb.threads/create-fail.c: Include unistd.h.
20548 * gdb.threads/killed.c: Likewise.
20549 * gdb.threads/linux-dp.c: Likewise.
20550 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20551 * gdb.threads/non-ldr-exc-2.c: Likewise.
20552 * gdb.threads/non-ldr-exc-3.c: Likewise.
20553 * gdb.threads/non-ldr-exc-4.c: Likewise.
20554 * gdb.threads/pthreads.c: Include unistd.h.
20555 (main): Declare returns int.
20556 * gdb.threads/tls-main.c (foo): New declaration.
20557 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20558
20559 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20560
20561 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20562 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20563
20564 2015-01-15 Mark Wielaard <mjw@redhat.com>
20565
20566 * gdb.base/noreturn-return.c: New file.
20567 * gdb.base/noreturn-return.exp: New file.
20568 * gdb.base/noreturn-finish.c: New file.
20569 * gdb.base/noreturn-finish.exp: New file.
20570
20571 2015-01-23 Pedro Alves <palves@redhat.com>
20572
20573 * gdb.threads/continue-pending-after-query.c: New file.
20574 * gdb.threads/continue-pending-after-query.exp: New file.
20575
20576 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20577 Simon Marchi <simon.marchi@ericsson.com>
20578
20579 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20580 * gdb.base/valgrind-db-attach.exp: Same.
20581 * gdb.base/valgrind-infcall.exp: Same.
20582 * lib/mi-support.exp (default_mi_gdb_start): Same.
20583 * lib/prompt.exp (default_prompt_gdb_start): Same.
20584 * lib/gdb.exp (default_gdb_spawn): Same.
20585 (gdb_interact): New.
20586
20587
20588 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20589
20590 * gdb.compile/compile.exp (pointer to jit function): New test.
20591
20592 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
20593
20594 * lib/gdb.exp (supports_process_record): Return true for
20595 powerpc*-*-linux*.
20596 (supports_reverse): Likewise.
20597
20598 2015-01-15 Don Breazeal <donb@codesourcery.com>
20599
20600 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20601 instead of checking whether the target board is remote and
20602 use spawn_wait_for_attach instead of exec/sleep.
20603 * gdb.base/attach-twice.exp: Likewise.
20604
20605 2015-01-15 Joel Brobecker <brobecker@adacore.com>
20606
20607 * gdb.ada/var_arr_attrs: New testcase.
20608
20609 2015-01-14 Pedro Alves <palves@redhat.com>
20610 Joel Brobecker <brobecker@adacore.com>
20611
20612 PR gdb/17525
20613 * gdb.base/bp-cmds-execution-x-script.c: New file.
20614 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20615 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20616
20617 2015-01-14 Pedro Alves <palves@redhat.com>
20618
20619 PR cli/17828
20620 * gdb.base/batch-preserve-term-settings.c: New file.
20621 * gdb.base/batch-preserve-term-settings.exp: New file.
20622
20623 2015-01-13 Doug Evans <dje@google.com>
20624
20625 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20626 binary.
20627
20628 2015-01-13 Joel Brobecker <brobecker@adacore.com>
20629
20630 * Makefile.in (clean mostlyclean): Do not delete *.py.
20631
20632 2015-01-13 Joel Brobecker <brobecker@adacore.com>
20633
20634 * gdb.python/py-lookup-type.exp: New file.
20635
20636 2015-01-12 Pedro Alves <palves@redhat.com>
20637
20638 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20639 restore GDBFLAGS before returning.
20640
20641 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20642
20643 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20644 is_amd64_regs_target and is_x86_like_target.
20645
20646 2015-01-11 Doug Evans <xdje42@gmail.com>
20647
20648 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20649 is given without an explicit form.
20650 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20651 attributes.
20652 * gdb.dwarf/corrupt.exp: Ditto.
20653 * gdb.dwarf2/enum-type.exp: Ditto.
20654 * gdb.trace/entry-values.exp: Ditto.
20655 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20656
20657 2015-01-11 Doug Evans <xdje42@gmail.com>
20658
20659 PR gdb/15830
20660 * gdb.base/maint.exp: Remove references to "maint demangle".
20661 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20662 Add tests for explicitly specifying language to demangle.
20663 * gdb.dlang/demangle.exp: Ditto.
20664
20665 2015-01-09 Pedro Alves <palves@redhat.com>
20666
20667 * gdb.threads/non-stop-fair-events.c: New file.
20668 * gdb.threads/non-stop-fair-events.exp: New file.
20669
20670 2015-01-09 Pedro Alves <palves@redhat.com>
20671
20672 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20673 the global scope. Set a breakpoint after all threads are started
20674 rather than stepping over two source lines. Expect the prompt.
20675 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20676 global.
20677 (NUM): Now 15.
20678 (main): Use threads_started_barrier to wait for all threads to
20679 start. Main thread no longer calls thread_function. Exit after
20680 180 seconds.
20681 (loop): New function.
20682 (thread_function): Wait on threads_started_barrier barrier. Call
20683 'loop' at each iteration.
20684 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20685 threads have started, instead of hardcoding number of "next"
20686 steps. Use an access watchpoint instead of a write watchpoint.
20687
20688 2015-01-09 Pedro Alves <palves@redhat.com>
20689
20690 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20691 (thread_func): Wait on barrier.
20692 (main): Wait for all threads to start before stopping GDB.
20693 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20694 global.
20695 (thread1_func, thread2_func): Wait on barrier.
20696 (main): Wait for all threads to start before stopping GDB.
20697 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20698 New global.
20699 (thread1_func, thread2_func): Wait on barrier.
20700 (main): Wait for all threads to start before stopping GDB.
20701
20702 2015-01-09 Pedro Alves <palves@redhat.com>
20703
20704 * gdb.threads/attach-many-short-lived-threads.c: New file.
20705 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20706
20707 2014-01-09 Pedro Alves <palves@redhat.com>
20708
20709 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20710 instead of to thread 2.
20711 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20712 Add barrier around each pthread_create call instead of around all
20713 calls.
20714 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20715 Set a break on thread_function and have the child threads hit it
20716 one at at a time.
20717
20718 2015-01-09 Pedro Alves <palves@redhat.com>
20719
20720 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20721 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20722 false.
20723 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20724 checking whether the target board is remote.
20725 * gdb.multi/multi-attach.exp: Likewise.
20726 * gdb.python/py-sync-interp.exp: Likewise.
20727 * gdb.server/ext-attach.exp: Likewise.
20728 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20729 tests that need to attach, instead of checking whether the target
20730 board is remote at the top of the file.
20731
20732 2015-01-08 Yao Qi <yao@codesourcery.com>
20733
20734 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20735
20736 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20737
20738 Fix testcase compilation.
20739 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20740
20741 2015-01-06 Joel Brobecker <brobecker@adacore.com>
20742
20743 * gdb.python/py-type.exp: Add a couple test about empty
20744 array creation, and negative-length array creation.
20745
20746 2015-01-02 Doug Evans <xdje42@gmail.com>
20747
20748 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20749
20750 2015-01-02 Doug Evans <dje@google.com>
20751
20752 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20753
20754 2014-12-29 Yao Qi <yao@codesourcery.com>
20755
20756 * gdb.trace/entry-values.exp: Update comments. Rename variable
20757 bar_call_foo to returned_from_foo.
20758
20759 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20760
20761 PR gdb/17394
20762 * gdb.linespec/break-asm-file.c: New file.
20763 * gdb.linespec/break-asm-file.exp: New file.
20764 * gdb.linespec/break-asm-file0.s: New file.
20765 * gdb.linespec/break-asm-file1.s: New file.
20766
20767 2014-12-18 Nigel Stephens <nigel@mips.com>
20768 Maciej W. Rozycki <macro@codesourcery.com>
20769
20770 * gdb.base/float.exp: Handle the new output from "info float" on
20771 MIPS targets.
20772
20773 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20774
20775 Fix MinGW compilation.
20776 * gdb.compile/compile-ops.exp: Update untested message if
20777 !skip_compile_feature_tests.
20778 * gdb.compile/compile-setjmp.exp: Likewise.
20779 * gdb.compile/compile-tls.exp: Likewise.
20780 * gdb.compile/compile.exp: Likewise.
20781 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20782 supported on this host".
20783
20784 2014-12-16 Doug Evans <xdje42@gmail.com>
20785
20786 * boards/stabs.exp: New file.
20787
20788 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20789
20790 * gdb.base/completion.exp: Adjust to format changes of "maint
20791 print user-registers".
20792
20793 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
20794
20795 PR server/17457
20796 * gdb.arch/aarch64-fp.c: New file.
20797 * gdb.arch/aarch64-fp.exp: New file.
20798
20799 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20800
20801 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20802 r210637, r210913, r211666, r215400, r215817).
20803
20804 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20805 * dg-extract-results.py: New file.
20806 * dg-extract-results.sh: Use it if the environment seems
20807 suitable.
20808
20809 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20810
20811 * dg-extract-results.py (parse_run): Handle warnings that
20812 are printed before a test harness is run.
20813
20814 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20815
20816 * dg-extract-results.py (Named): Remove __cmp__ method.
20817 (output_variation): Use a key to sort variation.harnesses.
20818
20819 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20820
20821 * dg-extract-results.py: For Python 3, force sys.stdout to
20822 handle surrogate escape sequences.
20823 (safe_open): New function.
20824 (output_segment, main): Use it.
20825
20826 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20827
20828 * dg-extract-results.py (Prog.result_re): Include options
20829 in test name.
20830
20831 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20832
20833 * dg-extract-results.py (output_variation): Always sort if
20834 do_sum.
20835
20836 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20837
20838 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20839 as long as we get pagination notifications.
20840
20841 2014-12-15 Jason Merrill <jason@redhat.com>
20842
20843 * Makefile.in (check-gdb.%): Restore.
20844 * README: Mention it.
20845
20846 2014-12-13 Joel Brobecker <brobecker@adacore.com>
20847
20848 * gdb.ada/str_uninit: New testcase.
20849
20850 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20851
20852 PR symtab/17642
20853 * gdb.base/vla-stub-define.c: New file.
20854 * gdb.base/vla-stub.c: New file.
20855 * gdb.base/vla-stub.exp: New file.
20856
20857 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20858 Jan Kratochvil <jan.kratochvil@redhat.com>
20859 Tom Tromey <tromey@redhat.com>
20860
20861 * configure.ac: Add gdb.compile/.
20862 * configure: Regenerate.
20863 * gdb.compile/Makefile.in: New file.
20864 * gdb.compile/compile-ops.exp: New file.
20865 * gdb.compile/compile-ops.c: New file.
20866 * gdb.compile/compile-tls.c: New file.
20867 * gdb.compile/compile-tls.exp: New file.
20868 * gdb.compile/compile-constvar.S: New file.
20869 * gdb.compile/compile-constvar.c: New file.
20870 * gdb.compile/compile-mod.c: New file.
20871 * gdb.compile/compile-nodebug.c: New file.
20872 * gdb.compile/compile-setjmp-mod.c: New file.
20873 * gdb.compile/compile-setjmp.c: New file.
20874 * gdb.compile/compile-setjmp.exp: New file.
20875 * gdb.compile/compile-shlib.c: New file.
20876 * gdb.compile/compile.c: New file.
20877 * gdb.compile/compile.exp: New file.
20878 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20879
20880 2014-12-12 Tom Tromey <tromey@redhat.com>
20881
20882 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20883 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20884
20885 2014-12-12 Doug Evans <dje@google.com>
20886
20887 * lib/gdb-python.exp (get_python_valueof): New function.
20888 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20889
20890 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20891
20892 * gdb.base/completion.exp: Add test for completion of "info
20893 registers ".
20894
20895 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20896
20897 * gdb.base/func-ptrs.c: New file.
20898 * gdb.base/func-ptrs.exp: New file.
20899
20900 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20901
20902 PR breakpoints/17012
20903 * gdb.base/dprintf-detach.c: New file.
20904 * gdb.base/dprintf-detach.exp: New file.
20905
20906 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20907
20908 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20909 * lib/gdb.exp (target_is_gdbserver): New procedure.
20910
20911 2014-12-08 Doug Evans <dje@google.com>
20912
20913 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20914
20915 2014-12-05 Yao Qi <yao@codesourcery.com>
20916
20917 * gdb.guile/scm-error.exp: Remove the third argument to
20918 gdb_remote_download.
20919 * gdb.guile/scm-frame-args.exp: Likewise.
20920 * gdb.guile/scm-section-script.exp: Likewise.
20921
20922 2014-12-05 Yao Qi <yao@codesourcery.com>
20923
20924 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20925
20926 2014-12-04 Doug Evans <dje@google.com>
20927
20928 * gdb.python/py-objfile.exp: Add tests for
20929 objfile.add_separate_debug_file.
20930
20931 2014-12-04 Doug Evans <dje@google.com>
20932
20933 * lib/gdb.exp (get_build_id): New function.
20934 (build_id_debug_filename_get): Rewrite to use it.
20935 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20936
20937 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20938
20939 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20940 `method(long)', not just 0x0.
20941 * gdb.cp/nsalias.exp: Align code labels to 4.
20942 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20943 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20944 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20945 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20946 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20947 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20948
20949 2014-12-02 Doug Evans <dje@google.com>
20950
20951 PR symtab/17602
20952 * gdb.cp/anon-ns.cc: Move guts of this file to ...
20953 * gdb.cp/anon-ns2.cc: ... here. New file.
20954 * gdb.cp/anon-ns.exp: Update.
20955
20956 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
20957
20958 * gdb.python/py-events.py (inferior_call_handler): New.
20959 (register_changed_handler, memory_changed_handler): New.
20960 (test_events.invoke): Register new handlers.
20961 * gdb.python/py-events.exp: Add tests for inferior call,
20962 memory_changed and register_changed events.
20963
20964 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20965
20966 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20967 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20968 if the linker doesn't understand this.
20969
20970 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20971
20972 * gdb.python/python.exp: Change expected reply to help().
20973
20974 2014-12-01 Yao Qi <yao@codesourcery.com>
20975
20976 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20977 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20978 * configure: Re-generated.
20979
20980 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20981
20982 * gdb.cp/chained-calls.cc: New file.
20983 * gdb.cp/chained-calls.exp: New file.
20984 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20985
20986 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20987
20988 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20989 * gdb.dwarf2/symtab-producer.exp: Same.
20990 * gdb.gdb/python-interrupts.exp: Same.
20991 * gdb.gdb/python-selftest.exp: Same.
20992 * gdb.python/py-linetable.exp: Same.
20993 * gdb.python/py-type.exp: Same.
20994 * gdb.python/py-value-cc.exp: Same.
20995 * gdb.python/py-value.exp: Same.
20996
20997 2014-11-28 Yao Qi <yao@codesourcery.com>
20998
20999 * gdb.base/break-probes.exp: Match library name prefixed with
21000 sysroot.
21001
21002 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
21003
21004 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
21005 test expected output. Add parentheses for the call to print.
21006 Remove L suffix from integers.
21007
21008 2014-11-26 Doug Evans <dje@google.com>
21009
21010 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
21011
21012 2014-11-22 Yao Qi <yao@codesourcery.com>
21013
21014 * gdb.trace/entry-values.c: Remove asms.
21015 (foo): Add foo_label.
21016 (bar): Add bar_label.
21017 * gdb.trace/entry-values.exp: Remove code computing foo's
21018 length and bar's length.
21019 (Dwarf::assemble): Invoke function_range for bar and use
21020 MACRO_AT_func for foo.
21021
21022 2014-11-22 Yao Qi <yao@codesourcery.com>
21023
21024 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
21025 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
21026 Use .Lgcc43_procstart instead of gcc43.
21027
21028 2014-11-21 Joel Brobecker <brobecker@adacore.com>
21029
21030 * gdb.ada/n_arr_bound: New testcase.
21031
21032 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
21033
21034 PR breakpoints/10737
21035 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
21036 test_catch_syscall_multi_arch.
21037 (test_catch_syscall_multi_arch): New function.
21038
21039 2014-11-20 Doug Evans <xdje42@gmail.com>
21040
21041 * gdb.base/maint.exp: Update expected output.
21042
21043 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
21044
21045 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
21046 4-byte instruction on S390.
21047
21048 2014-11-19 Joel Brobecker <brobecker@adacore.com>
21049
21050 * gdb.ada/arr_arr: New testcase.
21051
21052 2014-11-19 Joel Brobecker <brobecker@adacore.com>
21053
21054 * gdb.ada/pkd_arr_elem: New Testcase.
21055
21056 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
21057
21058 * gdb.reverse/break-precsave: Expect completion message for
21059 core file reads.
21060 * gdb.reverse/consecutive-precsave.exp: Likewise.
21061 * gdb.reverse/finish-precsave.exp: Likewise.
21062 * gdb.reverse/i386-precsave.exp: Likewise.
21063 * gdb.reverse/machinestate-precsave.exp: Likewise.
21064 * gdb.reverse/sigall-precsave.exp: Likewise.
21065 * gdb.reverse/solib-precsave.exp: Likewise.
21066 * gdb.reverse/step-precsave.exp: Likewise.
21067 * gdb.reverse/until-precsave.exp: Likewise.
21068 * gdb.reverse/watch-precsave.exp: Likewise.
21069
21070 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21071
21072 * gdb.base/bp-permanent.c: Include unistd.h.
21073 * gdb.python/py-framefilter-mi.c (main): Add return type.
21074 * gdb.python/py-framefilter.c (main): Likewise.
21075 * gdb.trace/actions-changed.c (main): Likewise.
21076
21077 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21078
21079 * gdb.mi/until.c: Add eye-catchers.
21080 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21081 line numbers.
21082
21083 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21084
21085 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21086 function header variants in break1.c.
21087 * gdb.base/ena-dis-br.exp: Likewise.
21088 * gdb.base/hbreak2.exp: Likewise.
21089 * gdb.reverse/until-precsave.exp: Drop references to removed
21090 non-prototype function header variants in ur1.c.
21091 * gdb.reverse/until-reverse.exp: Likewise.
21092
21093 2014-11-17 Petr Machata <pmachata@redhat.com>
21094
21095 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21096 ${_cu_offset_size} bytes abbrev offset.
21097
21098 2014-11-15 Doug Evans <xdje42@gmail.com>
21099
21100 PR symtab/17559
21101 * gdb.base/line-symtabs.exp: New file.
21102 * gdb.base/line-symtabs.c: New file.
21103 * gdb.base/line-symtabs.h: New file.
21104
21105 2014-11-14 Yao Qi <yao@codesourcery.com>
21106
21107 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21108 (func): Add label func_label.
21109 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21110 Replace low_pc and high_pc with MACRO_AT_range.
21111 Replace name, low_pc and high_pc with MACRO_AT_func.
21112
21113 2014-11-14 Yao Qi <yao@codesourcery.com>
21114
21115 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21116 Replace name, low_pc and high_pc with MACRO_AT_func.
21117
21118 2014-11-14 Yao Qi <yao@codesourcery.com>
21119
21120 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21121 produce debug information.
21122 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21123
21124 2014-11-14 Yao Qi <yao@codesourcery.com>
21125
21126 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21127 object and get function length.
21128 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21129 with MACRO_AT_func.
21130 (top-level): Replace gdb_compile and clean_restart with
21131 prepare_for_testing.
21132 * gdb.dwarf2/main.c (main): Add label main_label.
21133
21134 2014-11-14 Yao Qi <yao@codesourcery.com>
21135
21136 * lib/dwarf.exp (function_range): New procedure.
21137 (Dwarf::_handle_macro_at_func): New procedure.
21138 (Dwarf::_handle_macro_at_range): New procedure.
21139 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21140
21141 2014-11-14 Yao Qi <yao@codesourcery.com>
21142
21143 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21144 (_handle_attribute): New procedure.
21145
21146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21147
21148 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21149 * gdb.base/call-sc.c (zed): Likewise.
21150 * gdb.base/checkpoint.c (main): Likewise.
21151 * gdb.base/dump.c (main): Likewise.
21152 * gdb.base/gcore.c (main): Likewise.
21153 * gdb.base/huge.c (main): Likewise.
21154 * gdb.base/multi-forks.c (main): Likewise.
21155 * gdb.base/pr10179-a.c (main): Likewise.
21156 * gdb.base/savedregs.c (main): Likewise.
21157 * gdb.base/sigaltstack.c (main): Likewise.
21158 * gdb.base/siginfo.c (main): Likewise.
21159 * gdb.base/structs.c (zed): Likewise.
21160 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21161 * gdb.mi/mi-syn-frame.c (main): Likewise.
21162 * gdb.mi/until.c (foo, main): Likewise.
21163 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21164 * gdb.base/solib-weak.c (foo): Declare.
21165 * gdb.base/attach-twice.c: Include stdio.h.
21166 * gdb.base/weaklib1.c: Likewise.
21167 * gdb.base/weaklib2.c: Likewise.
21168 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21169 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21170 unistd.h.
21171 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21172 * gdb.mi/mi-exit-code.c: Likewise.
21173 * gdb.base/break-interp-lib.c: Include string.h.
21174 * gdb.base/coremaker.c: Likewise.
21175 * gdb.base/testenv.c: Likewise.
21176 * gdb.python/py-finish-breakpoint.c: Likewise.
21177 * gdb.base/inferior-died.c: Include sys/wait.h.
21178 * gdb.base/fileio.c: Include time.h.
21179 * gdb.base/async-shell.c: Include unistd.h.
21180 * gdb.base/dprintf-non-stop.c: Likewise.
21181 * gdb.base/info-os.c: Likewise.
21182 * gdb.mi/mi-console.c: Likewise.
21183 * gdb.mi/watch-nonstop.c: Likewise.
21184 * gdb.python/py-events.c: Likewise.
21185 * gdb.base/async.c (baz): Move up before its invocation.
21186 * gdb.base/code_elim2.c (my_global_func): Likewise.
21187 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21188 * gdb.base/advance.c (func2): Likewise.
21189
21190 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21191
21192 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21193 variant.
21194 * gdb.base/annota3.c: Likewise.
21195 * gdb.base/async.c: Likewise.
21196 * gdb.base/average.c: Likewise.
21197 * gdb.base/call-ar-st.c: Likewise.
21198 * gdb.base/call-rt-st.c: Likewise.
21199 * gdb.base/call-sc.c: Likewise.
21200 * gdb.base/call-strs.c: Likewise.
21201 * gdb.base/ending-run.c: Likewise.
21202 * gdb.base/execd-prog.c: Likewise.
21203 * gdb.base/exprs.c: Likewise.
21204 * gdb.base/foll-exec.c: Likewise.
21205 * gdb.base/foll-fork.c: Likewise.
21206 * gdb.base/foll-vfork.c: Likewise.
21207 * gdb.base/funcargs.c: Likewise.
21208 * gdb.base/gcore.c: Likewise.
21209 * gdb.base/jump.c: Likewise.
21210 * gdb.base/langs0.c: Likewise.
21211 * gdb.base/langs1.c: Likewise.
21212 * gdb.base/langs2.c: Likewise.
21213 * gdb.base/mips_pro.c: Likewise.
21214 * gdb.base/nodebug.c: Likewise.
21215 * gdb.base/opaque0.c: Likewise.
21216 * gdb.base/opaque1.c: Likewise.
21217 * gdb.base/recurse.c: Likewise.
21218 * gdb.base/run.c: Likewise.
21219 * gdb.base/scope0.c: Likewise.
21220 * gdb.base/scope1.c: Likewise.
21221 * gdb.base/setshow.c: Likewise.
21222 * gdb.base/setvar.c: Likewise.
21223 * gdb.base/shmain.c: Likewise.
21224 * gdb.base/shr1.c: Likewise.
21225 * gdb.base/shr2.c: Likewise.
21226 * gdb.base/sigall.c: Likewise.
21227 * gdb.base/signals.c: Likewise.
21228 * gdb.base/so-indr-cl.c: Likewise.
21229 * gdb.base/solib2.c: Likewise.
21230 * gdb.base/structs.c: Likewise.
21231 * gdb.base/sum.c: Likewise.
21232 * gdb.base/vforked-prog.c: Likewise.
21233 * gdb.base/watchpoint.c: Likewise.
21234 * gdb.reverse/shr2.c: Likewise.
21235 * gdb.reverse/until-reverse.c: Likewise.
21236 * gdb.reverse/ur1.c: Likewise.
21237 * gdb.reverse/watch-reverse.c: Likewise.
21238
21239 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21240
21241 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21242 variant.
21243 * gdb.base/sepdebug.exp: Drop references to removed code.
21244
21245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21246
21247 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21248 variant. Preserve original line numbering.
21249 * gdb.base/list1.c: Likewise.
21250
21251 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21252
21253 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21254 variant.
21255 * gdb.base/break1.c: Likewise.
21256 * gdb.base/break.exp: Drop references to removed code.
21257
21258 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21259
21260 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21261 variant.
21262
21263 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21264
21265 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21266
21267 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21268
21269 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21270 logic into perform_all_tests() and invoke it with and without
21271 function header prototypes.
21272 (do_function_calls): Remove conditional XFAIL for PR 5318.
21273 (rerun_and_prepare): Remove duplicate code.
21274 (perform_all_tests): New. Main logic moved here.
21275
21276 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21277
21278 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21279 code guarded by #ifdef NO_PROTOTYPES.
21280 (t_double_many_args): Likewise.
21281 (DEF_FUNC_MANY_ARGS_1): Likewise.
21282 (DEF_FUNC_VALUES_1): Likewise.
21283 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21284 guarded by #ifdef PROTOTYPES.
21285
21286 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21287
21288 * gdb.mi/mi-console.c: Add eye-catcher.
21289 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21290 instead of literal line number.
21291
21292 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21293
21294 * gdb.base/shr2.c: Add eye-catcher.
21295 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21296 line number.
21297
21298 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21299
21300 * gdb.base/jump.c: Add eye-catchers.
21301 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21302 numbers.
21303
21304 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21305
21306 * gdb.base/execd-prog.c: Add eye-catchers.
21307 * gdb.base/foll-exec.c: Likewise.
21308 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21309 line numbers.
21310
21311 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21312
21313 * gdb.base/ending-run.c: Add eye-catchers.
21314 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21315 literal line numbers.
21316
21317 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21318
21319 * gdb.base/call-rt-st.c: Add eye-catchers.
21320 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21321 literal line numbers.
21322
21323 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21324
21325 * gdb.base/call-ar-st.c: Add eye-catchers.
21326 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21327 literal line numbers.
21328
21329 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21330
21331 * gdb.base/average.c: Add eye-catchers.
21332 * gdb.base/sum.c: Likewise.
21333 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21334 regexps dynamically.
21335
21336 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21337
21338 * gdb.base/solib1.c: Add eye-catchers.
21339 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21340 literal line numbers.
21341
21342 2014-11-12 Pedro Alves <palves@redhat.com>
21343
21344 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21345 leader has exited.
21346
21347 2014-11-12 Pedro Alves <palves@redhat.com>
21348
21349 * gdb.arch/i386-bp_permanent.c: New file.
21350 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21351 (srcfile): Set to i386-bp_permanent.c.
21352 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21353 that stepi does not execute the 'leave' instruction, instead of
21354 testing it does execute.
21355 * gdb.base/bp-permanent.c: New file.
21356 * gdb.base/bp-permanent.exp: New file.
21357
21358 2014-11-10 Doug Evans <xdje42@gmail.com>
21359
21360 PR symtab/17564
21361 * gdb.base/symtab-search-order.exp: New file.
21362 * gdb.base/symtab-search-order.c: New file.
21363 * gdb.base/symtab-search-order-1.c: New file.
21364 * gdb.base/symtab-search-order-shlib-1.c: New file.
21365
21366 2014-11-07 Pedro Alves <palves@redhat.com>
21367
21368 PR gdb/17511
21369 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21370 i?86-*-linux*.
21371
21372 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21373
21374 PR c++/17494
21375 * gdb.cp/pr17494.cc: New file.
21376 * gdb.cp/pr17494.exp: New file.
21377
21378 2014-11-02 Yao Qi <yao@codesourcery.com>
21379
21380 * gdb.python/python.exp: Get working directory and match the
21381 output of "set extended-prompt \\w " with it.
21382
21383 2014-10-30 Doug Evans <dje@google.com>
21384
21385 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21386 in objfiles.
21387 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21388 in progspaces.
21389
21390 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
21391
21392 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21393 * gdb.base/realname-expand.exp: Likewise.
21394 * gdb.linespec/macro-relative.exp: Likewise.
21395
21396 2014-10-29 Pedro Alves <palves@redhat.com>
21397
21398 PR gdb/17408
21399 * gdb.threads/schedlock.c (some_function): New function.
21400 (call_function): New global.
21401 (MAYBE_CALL_SOME_FUNCTION): New macro.
21402 (thread_function): Call it.
21403 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21404 and use it instead of a global counter. Adjust all callers.
21405 (get_current_thread): Use "find current thread" for test message
21406 here rather than having all callers pass down the same string.
21407 (goto_loop): New procedure, factored out from ...
21408 (my_continue): ... this.
21409 (step_ten_loops): Change parameter from test message to command to
21410 use. Adjust.
21411 (list_count): Delete global.
21412 (check_result): New procedure, factored out from duplicate top
21413 level code.
21414 (continue tests): Wrap in with_test_prefix.
21415 (test_step): New procedure, factored out from duplicate top level
21416 code.
21417 (top level): Test "step" in combination with all scheduler-locking
21418 modes. Test "next" in combination with all scheduler-locking
21419 modes, and in combination with stepping over a function call or
21420 not.
21421 * gdb.threads/next-bp-other-thread.c: New file.
21422 * gdb.threads/next-bp-other-thread.exp: New file.
21423
21424 2014-10-29 Pedro Alves <palves@redhat.com>
21425
21426 PR python/17372
21427 * gdb.python/python.exp: Test a multi-line command that spawns
21428 interactive Python.
21429 * gdb.base/multi-line-starts-subshell.exp: New file.
21430
21431 2014-10-29 Yao Qi <yao@codesourcery.com>
21432
21433 * gdb.base/fileio.exp: Make directories on host.
21434
21435 2014-10-29 Yao Qi <yao@codesourcery.com>
21436
21437 * gdb.base/fileio.c (test_write): Close the file.
21438
21439 2014-10-28 Pedro Alves <palves@redhat.com>
21440
21441 PR gdb/12623
21442 * gdb.base/sigstep.c (no_handler): New global.
21443 (main): If 'no_handler is true, set the signal handlers to
21444 SIG_IGN.
21445 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21446 with_sw_watch and no_handler parameters. Handle them.
21447 (top level) <stepping over handler when stopped at a breakpoint
21448 test>: Add a test axis for testing with a software watchpoint, and
21449 another for testing with the signal handler set to SIG_IGN.
21450 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21451 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21452
21453 2014-10-28 Pedro Alves <palves@redhat.com>
21454
21455 PR gdb/17511
21456 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21457 * gdb.base/sigstep.exp (other_handler_location): New global.
21458 (advance): Support stepping into the signal handler, and running
21459 commands while in the handler.
21460 (in_handler_map): New global.
21461 (top level): In the advance test, add combinations for getting
21462 into the handler with stepping commands, and for running commands
21463 in the handler. Add comment descripting the advancei tests.
21464
21465 2014-10-28 Pedro Alves <palves@redhat.com>
21466
21467 * gdb.base/sigstep.exp: Use build_executable instead of
21468 prepare_for_testing.
21469 (top level): Move code that starts GDB, runs to main and creates a
21470 display to ...
21471 (restart): ... this new procedure.
21472 (top level): Move backtrace from signal handler test to ...
21473 (validate_backtrace): ... this new procedure.
21474 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21475 with_test_prefix. Always restart GDB.
21476 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21477 with_test_prefix. Always restart GDB. No need to delete
21478 breakpoints after the test.
21479 (test_skip_handler): Remove prefix parameter.
21480 (skip_over_handler, breakpoint_to_handler)
21481 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21482 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21483 restart GDB. No need to delete breakpoints after the test.
21484 (top level): Use foreach to call the test procedures with
21485 different commands.
21486
21487 2014-10-28 Pedro Alves <palves@redhat.com>
21488
21489 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21490 instead of GNATS numbers.
21491 * gdb.base/sigbpt.exp: Likewise.
21492 * gdb.base/siginfo.exp: Likewise.
21493 * gdb.base/sigstep.exp: Likewise.
21494
21495 2014-10-27 Pedro Alves <palves@redhat.com>
21496
21497 * gdb.base/sigstep.c (dummy): New global.
21498 (main): Issue a couple writes to the new global.
21499 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21500 procedures.
21501 (skip_over_handler): Use test_skip_handler.
21502 (top level): Call skip_over_handler for stepi and nexti too.
21503 (breakpoint_over_handler): Use test_skip_handler.
21504 (top level): Call breakpoint_over_handler for stepi and nexti too.
21505
21506 2014-10-27 Yao Qi <yao@codesourcery.com>
21507
21508 * gdb.trace/tfile.c (adjust_function_address)
21509 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21510 function descriptor.
21511
21512 2014-10-24 Don Breazeal <donb@codesourcery.com>
21513
21514 * gdb.base/foll-fork.exp (test_follow_fork,
21515 catch_fork_child_follow): Check for updated fork messages emitted
21516 from infrun.c.
21517 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21518 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21519 vfork_and_exec_child_follow_through_step): Check for updated vfork
21520 messages emitted from infrun.c.
21521
21522 2014-10-24 Pedro Alves <palves@redhat.com>
21523
21524 * gdb.base/corefile.exp: Remove references to ultrix.
21525 * gdb.base/interrupt.exp: Likewise.
21526 * gdb.base/whatis.exp: Likewise.
21527 * gdb.gdb/selftest.exp: Likewise.
21528 * gdb.threads/manythreads.exp: Likewise.
21529 * gdb.threads/print-threads.exp: Likewise.
21530 * gdb.threads/pthreads.exp:: Likewise.
21531 * gdb.threads/schedlock.exp: Likewise.
21532
21533 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21534
21535 * gdb.cp/non-trivial-retval.cc: Add a test case.
21536 * gdb.cp/non-trivial-retval.exp: Add a test.
21537
21538 2014-10-20 Yao Qi <yao@codesourcery.com>
21539
21540 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21541 * gdb.python/py-objfile-script-gdb.py: New file.
21542 * gdb.python/py-objfile-script.exp: Update reference to
21543 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21544 of remote_download. Remove the dest file.
21545
21546 2014-10-20 Yao Qi <yao@codesourcery.com>
21547
21548 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21549 * gdb.base/step-line.exp: Likewise.
21550 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21551 * gdb.dwarf2/dw2-basic.exp: Likewise.
21552 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21553 * gdb.dwarf2/dw2-filename.exp: Likewise.
21554 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21555 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21556 * gdb.dwarf2/dw2-producer.exp: Likewise.
21557 * gdb.dwarf2/mac-fileno.exp: Likewise.
21558 * gdb.python/py-frame-args.exp: Likewise.
21559 * gdb.python/py-framefilter.exp: Likewise.
21560 * gdb.python/py-mi.exp: Likewise.
21561 * gdb.python/py-objfile-script.exp: Likewise
21562 * gdb.python/py-pp-integral.exp: Likewise.
21563 * gdb.python/py-pp-re-notag.exp: Likewise.
21564 * gdb.python/py-prettyprint.exp: Likewise.
21565 * gdb.python/py-section-script.exp: Likewise.
21566 * gdb.python/py-typeprint.exp: Likewise.
21567 * gdb.python/py-xmethods.exp: Likewise.
21568 * gdb.stabs/weird.exp: Likewise.
21569 * gdb.xml/tdesc-regs.exp: Likewise.
21570
21571 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21572
21573 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21574 (out_cu): Use addr_len for the size of addresses.
21575 (out_line): Likewise. Size DW_LNE_set_address instruction
21576 according to addr_len.
21577 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21578 (FUNC): Add START_INSNS to definition.
21579
21580 2014-10-18 Yao Qi <yao@codesourcery.com>
21581
21582 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21583 gdb_has_argv0 return true.
21584 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21585 check [target_info exists noargs], check [gdb_has_argv0]
21586 instead.
21587 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21588 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21589 procedures.
21590
21591 2014-10-17 Doug Evans <dje@google.com>
21592
21593 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21594 event.
21595 * gdb.python/py-events.py: Add clear_objfiles event.
21596
21597 2014-10-17 Doug Evans <dje@google.com>
21598
21599 * gdb.python/py-objfile.exp: Test progspace attribute.
21600
21601 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
21602
21603 * gdb.guile/scm-breakpoint.exp: Do not assume any
21604 directory separators when matching source file paths.
21605 * gdb.python/py-breakpoint.exp: Likewise.
21606 * gdb.reverse/break-precsave.exp: Likewise.
21607 * gdb.reverse/break-reverse.exp: Likewise.
21608 * gdb.reverse/consecutive-precsave.exp: Likewise.
21609 * gdb.reverse/finish-precsave.exp: Likewise.
21610 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21611 * gdb.reverse/finish-reverse.exp: Likewise.
21612 * gdb.reverse/i386-precsave.exp: Likewise.
21613 * gdb.reverse/i387-env-reverse.exp: Likewise.
21614 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21615 * gdb.reverse/machinestate-precsave.exp: Likewise.
21616 * gdb.reverse/machinestate.exp: Likewise.
21617 * gdb.reverse/sigall-precsave.exp: Likewise.
21618 * gdb.reverse/solib-precsave.exp: Likewise.
21619 * gdb.reverse/step-precsave.exp: Likewise.
21620 * gdb.reverse/until-precsave.exp: Likewise.
21621 * gdb.reverse/watch-precsave.exp: Likewise.
21622 * gdb.reverse/watch-reverse.exp: Likewise.
21623
21624 2014-10-17 Yao Qi <yao@codesourcery.com>
21625
21626 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21627 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21628
21629 2014-10-17 Pedro Alves <palves@redhat.com>
21630
21631 PR gdb/17471
21632 * gdb.base/bg-execution-repeat.c: New file.
21633 * gdb.base/bg-execution-repeat.exp: New file.
21634
21635 2014-10-17 Pedro Alves <palves@redhat.com>
21636
21637 PR gdb/17300
21638 * gdb.base/continue-all-already-running.c: New file.
21639 * gdb.base/continue-all-already-running.exp: New file.
21640
21641 2014-10-17 Pedro Alves <palves@redhat.com>
21642
21643 PR gdb/17472
21644 * gdb.base/annota-input-while-running.c: New file.
21645 * gdb.base/annota-input-while-running.exp: New file.
21646
21647 2014-10-17 Pedro Alves <palves@redhat.com>
21648
21649 * gdb.base/callfuncs.exp: emove references to osf.
21650 * gdb.base/sigall.exp: Likewise.
21651 * gdb.gdb/selftest.exp: Likewise.
21652 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21653 * gdb.mi/non-stop.c: Likewise.
21654 * gdb.mi/pthreads.c: Likewise.
21655 * gdb.reverse/sigall-precsave.exp: Likewise.
21656 * gdb.reverse/sigall-reverse.exp: Likewise.
21657 * gdb.threads/pthreads.c: Likewise.
21658 * gdb.threads/pthreads.exp: Likewise.
21659
21660 2014-10-17 Yao Qi <yao@codesourcery.com>
21661
21662 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21663 check 'target_info exists noargs'.
21664 (test_command_prompt_position): Likewise.
21665 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21666 Remove "set args".
21667 (progvar_simple_while_test): Likewise.
21668 (progvar_complex_if_while_test): Likewise.
21669 (if_while_breakpoint_command_test): Likewise.
21670 (infrun_breakpoint_command_test): Likewise.
21671 (breakpoint_command_test): Likewise.
21672 (watchpoint_command_test): Likewise.
21673 (bp_deleted_in_command_test): Likewise.
21674 (temporary_breakpoint_commands): Likewise.
21675
21676 2014-10-16 Yao Qi <yao@codesourcery.com>
21677
21678 * gdb.base/remotetimeout.exp: Remove noargs checking.
21679
21680 2014-10-15 Pedro Alves <palves@redhat.com>
21681
21682 PR breakpoints/9649
21683 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21684 * gdb.base/breakpoint-in-ro-region.exp
21685 (probe_target_hardware_step): New procedure.
21686 (top level): Probe hardware stepping and hardware breakpoint
21687 support. Test stepping through a read-only region, with both
21688 "breakpoint auto-hw" on and off and both "always-inserted" on and
21689 off.
21690
21691 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21692
21693 * gdb.dlang/demangle.exp: Update for demangling changes.
21694
21695 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21696
21697 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21698 * gdb.cp/non-trivial-retval.exp: Add new tests.
21699
21700 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21701
21702 PR c++/13403
21703 PR c++/15154
21704 * gdb.cp/non-trivial-retval.cc: New file.
21705 * gdb.cp/non-trivial-retval.exp: New file.
21706
21707 2014-10-15 Yao Qi <yao@codesourcery.com>
21708
21709 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21710 remote host.
21711
21712 2014-10-15 Yao Qi <yao@codesourcery.com>
21713
21714 * gdb.python/py-symbol.exp: Match file base name if host is
21715 remote, otherwise match file name with dir name.
21716 * gdb.python/py-symtab.exp: Likewise.
21717 * gdb.python/python.exp: Likewise.
21718
21719 2014-10-15 Yao Qi <yao@codesourcery.com>
21720
21721 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21722 pattern.
21723 * gdb.python/py-symtab.exp: Likewise.
21724 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21725 locationn.
21726
21727 2014-10-14 Joel Brobecker <brobecker@adacore.com>
21728
21729 * gdb.ada/addr_arith: New testcase.
21730
21731 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21732
21733 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21734 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21735 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21736 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21737
21738 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21739
21740 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21741 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21742 * gdb.arch/stap-eval-lang-ada.exp: New file.
21743
21744 2014-10-14 Yao Qi <yao@codesourcery.com>
21745
21746 * gdb.mi/mi-var-child.c (nothing1): New function.
21747 (nothing2): New function.
21748 (do_children_tests): Set function pointers by nothing1 and
21749 nothing2.
21750 * gdb.mi/mi-var-child.exp: Step over new added statements.
21751 Update test to match the new output.
21752 * gdb.mi/var-cmd.c (nothing1): New function.
21753 (nothing2): New function.
21754 (do_children_tests): Set function pointers by nothing1 and
21755 nothing2.
21756 * gdb.mi/mi-var-display.exp: Update test to match output.
21757 Step to the line specified by $line_dct_nothing.
21758 Increase the number of lines to step.
21759
21760 2014-10-14 Yao Qi <yao@codesourcery.com>
21761
21762 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21763 tests.
21764 * gdb.mi/mi2-var-child.exp: Likewise.
21765
21766 2014-10-13 Doug Evans <dje@google.com>
21767
21768 * gdb.python/py-objfile.exp: Change name of file name test.
21769
21770 2014-10-13 Doug Evans <dje@google.com>
21771
21772 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21773 from the start of the CU.
21774
21775 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21776 Yao Qi <yao@codesourcery.com>
21777
21778 Fix "save breakpoints" for "catch" command.
21779 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21780 Remove -nonewline. Match also the added "main" line.
21781
21782 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21783
21784 Fix "save breakpoints" for "disable $bpnum" command.
21785 * gdb.base/save-bp.c (main): Add label.
21786 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21787
21788 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21789
21790 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21791
21792 2014-10-11 Yao Qi <yao@codesourcery.com>
21793
21794 * gdb.server/server-kill.exp: Execute command
21795 "set remote trace-status-packet on" before "tstatus".
21796
21797 2014-10-11 Yao Qi <yao@codesourcery.com>
21798
21799 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21800 (main): Call getppid.
21801 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21802 and continue to it. Read variable "server_pid".
21803
21804 2014-10-11 Yao Qi <yao@codesourcery.com>
21805
21806 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21807
21808 2014-10-11 Yao Qi <yao@codesourcery.com>
21809
21810 * gdb.threads/thread-find.exp: Don't execute command
21811 "info threads".
21812 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21813 * gdb.threads/linux-dp.exp: Don't check the condition
21814 $threads_created equals to zero.
21815
21816 2014-10-10 Pedro Alves <palves@redhat.com>
21817
21818 * gdb.base/bigcore.exp: Remove references to IRIX.
21819 * gdb.base/funcargs.exp: Likewise.
21820 * gdb.base/interrupt.exp: Likewise.
21821 * gdb.base/mips_pro.exp: Likewise.
21822 * gdb.base/nodebug.exp: Likewise.
21823 * gdb.base/setvar.exp: Likewise.
21824 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21825
21826 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21827 Pedro Alves <palves@redhat.com>
21828
21829 PR symtab/14466
21830 * gdb.base/vdso-warning.c: New file.
21831 * gdb.base/vdso-warning.exp: New file.
21832
21833 2014-10-02 Doug Evans <dje@google.com>
21834
21835 * gdb.base/structs.c (main): Don't run forever.
21836
21837 2014-10-02 Pedro Alves <palves@redhat.com>
21838
21839 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21840 (top level) <stop threads 1, stop threads 2>: Use it.
21841
21842 2014-10-02 Pedro Alves <palves@redhat.com>
21843
21844 * gdb.threads/break-while-running.exp (test): Add new
21845 'update_thread_list' argument. Skip "info threads" if false.
21846 (top level): Add new 'update_thread_list' axis.
21847
21848 2014-10-02 Pedro Alves <palves@redhat.com>
21849
21850 PR breakpoints/17431
21851 * gdb.base/execl-update-breakpoints.c: New file.
21852 * gdb.base/execl-update-breakpoints.exp: New file.
21853
21854 2014-10-01 Pedro Alves <palves@redhat.com>
21855
21856 * gdb.base/breakpoint-in-ro-region.c: New file.
21857 * gdb.base/breakpoint-in-ro-region.exp: New file.
21858
21859 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21860
21861 * gdb.mi/mi-exit-code.exp: New file.
21862 * gdb.mi/mi-exit-code.c: New file.
21863
21864 2014-09-30 Yao Qi <yao@codesourcery.com>
21865
21866 * lib/prelink-support.exp (build_executable_own_libs): Error if
21867 the target isn't native.
21868
21869 2014-09-30 Yao Qi <yao@codesourcery.com>
21870
21871 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21872 false.
21873
21874 2014-09-22 Pedro Alves <palves@redhat.com>
21875
21876 * gdb.threads/break-while-running.exp: New file.
21877 * gdb.threads/break-while-running.c: New file.
21878
21879 2014-09-19 Yao Qi <yao@codesourcery.com>
21880
21881 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21882 Invoke test. Restart GDB with --readnow and invoke test again.
21883
21884 2014-09-19 Yao Qi <yao@codesourcery.com>
21885
21886 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21887 proc set_breakpoint_on_gcd_function. Invoke
21888 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21889 invoke set_breakpoint_on_gcd_function again.
21890
21891 2014-09-18 Doug Evans <dje@google.com>
21892
21893 * gdb.dwarf2/symtab-producer.exp: New file.
21894
21895 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21896
21897 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21898 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21899 * gdb.base/global-var-nested-by-dso.c: Likewise.
21900 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21901
21902 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21903 Pedro Alves <palves@redhat.com>
21904
21905 * gdb.base/watch-bitfields.exp: Pass string other than test file
21906 name to prepare_for_testing.
21907 (watch): New procedure.
21908 (expect_watchpoint): Use with_test_prefix.
21909 (top level): Factor out tests to ...
21910 (test_watch_location, test_regular_watch): ... these new
21911 procedures, and use with_test_prefix and gdb_continue_to_end.
21912
21913 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21914
21915 PR breakpoints/12526
21916 * gdb.base/watch-bitfields.exp: New file.
21917 * gdb.base/watch-bitfields.c: New file.
21918
21919 2014-09-16 Pedro Alves <palves@redhat.com>
21920
21921 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21922 software and hardware addresses, not software address against
21923 itself.
21924
21925 2014-09-16 Pedro Alves <palves@redhat.com>
21926
21927 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21928 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21929
21930 2014-09-16 Pedro Alves <palves@redhat.com>
21931
21932 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21933 files.
21934 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21935 "*-*-vxworks*" throughout.
21936 * gdb.base/break.exp: Likewise.
21937 * gdb.base/default.exp: Likewise.
21938 * gdb.base/scope.exp: Likewise.
21939 * gdb.base/sepdebug.exp: Likewise.
21940 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21941 throughout.
21942 * gdb.base/run.c: Likewise.
21943 * gdb.base/sepdebug.c: Likewise.
21944 * gdb.hp/gdb.aCC/run.c: Likewise.
21945 * gdb.reverse/until-reverse.c: Likewise.
21946 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21947
21948 2014-09-16 Yao Qi <yao@codesourcery.com>
21949
21950 * boards/local-remote-host-native.exp: New file.
21951
21952 2014-09-14 Doug Evans <xdje42@gmail.com>
21953
21954 * gdb.threads/queue-signal.c (thread_count): New variable.
21955 (thread_count_mutex, thread_count_condvar): New variables.
21956 (incr_thread_count, wait_all_threads_running): New functions.
21957 (main): Wait for all threads to be in their thread functions.
21958
21959 2014-09-13 Doug Evans <xdje42@gmail.com>
21960
21961 * gdb.threads/queue-signal.c: New file.
21962 * gdb.threads/queue-signal.exp: New file.
21963
21964 2014-09-13 Doug Evans <xdje42@gmail.com>
21965
21966 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21967 be consistent with what default_gdb_init uses.
21968 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21969 the plain text of the prompt. Add some logging printfs.
21970 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21971
21972 2014-09-12 Pedro Alves <palves@redhat.com>
21973
21974 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21975 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21976 * gdb.arch/i386-size-overlap.exp: Likewise.
21977 * gdb.arch/i386-size.exp: Likewise.
21978 * gdb.arch/i386-unwind.exp: Likewise.
21979 * gdb.base/a2-run.exp: Likewise.
21980 * gdb.base/break.exp: Likewise.
21981 * gdb.base/charset.exp: Likewise.
21982 * gdb.base/chng-syms.exp: Likewise.
21983 * gdb.base/commands.exp: Likewise.
21984 * gdb.base/dbx.exp: Likewise.
21985 * gdb.base/find.exp: Likewise.
21986 * gdb.base/funcargs.exp: Likewise.
21987 * gdb.base/jit-simple.exp: Likewise.
21988 * gdb.base/reread.exp: Likewise.
21989 * gdb.base/sepdebug.exp: Likewise.
21990 * gdb.base/step-bt.exp: Likewise.
21991 * gdb.cp/mb-inline.exp: Likewise.
21992 * gdb.cp/mb-templates.exp: Likewise.
21993 * gdb.objc/basicclass.exp: Likewise.
21994 * gdb.threads/killed.exp: Likewise.
21995
21996 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21997
21998 PR tdep/17379
21999 * gdb.arch/powerpc-stackless.S: New file.
22000 * gdb.arch/powerpc-stackless.exp: New file.
22001
22002 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22003
22004 * gdb.base/attach.c: Include unistd.h.
22005 (main): Call alarm. Add label postloop.
22006 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
22007 gdb_breakpoint, gdb_continue_to_breakpoint.
22008 (test_command_line_attach_run): Kill ${testpid} in one exit path.
22009
22010 2014-09-11 Pedro Alves <palves@redhat.com>
22011
22012 PR gdb/17347
22013 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
22014 * gdb.base/attach.exp (test_command_line_attach_run): New
22015 procedure.
22016 (top level): Call it.
22017
22018 2014-09-11 Pedro Alves <palves@redhat.com>
22019
22020 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
22021 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
22022 (do_command_attach_tests): Use spawn_wait_for_attach.
22023 * gdb.base/solib-overlap.exp: Likewise.
22024 * gdb.multi/multi-attach.exp: Likewise.
22025 * gdb.python/py-prompt.exp: Likewise.
22026 * gdb.python/py-sync-interp.exp: Likewise.
22027 * gdb.server/ext-attach.exp: Likewise.
22028
22029 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
22030
22031 * gdb.fortran/array-element.exp: Remove unexpected "continue"
22032 command in testcase. Simplify testcase.
22033
22034 2014-09-10 Joel Brobecker <brobecker@adacore.com>
22035
22036 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
22037
22038 2014-09-10 Joel Brobecker <brobecker@adacore.com>
22039
22040 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
22041
22042 2014-09-10 Joel Brobecker <brobecker@adacore.com>
22043
22044 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
22045
22046 2014-09-10 Joel Brobecker <brobecker@adacore.com>
22047
22048 * gdb.dwarf2/dynarr-ptr.c: New file.
22049 * gdb.dwarf2/dynarr-ptr.exp: New file.
22050
22051 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22052
22053 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
22054 of 30 rather than hardcoding 120 for a slow test case. Take the
22055 `gdb,timeout' target setting into account for this calculation.
22056 Don't extend the timeout for the test cases that don't need it.
22057
22058 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22059
22060 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22061 a factor of 2 for a slow test case. Take the `gdb,timeout'
22062 target setting into account for this calculation.
22063 * gdb.reverse/until-precsave.exp: Increase the timeout by
22064 a factor of 15 and 3 respectively rather than adding 120
22065 for a pair of slow test cases. Take the `gdb,timeout'
22066 target setting into account for this calculation.
22067
22068 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22069
22070 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22071 timeout, don't pass one down to gdb_expect.
22072 (gdb_expect): Rework timeout selection.
22073
22074 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22075
22076 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22077 exception on timeout.
22078 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22079 (gdbserver_start_extended): Catch any `gdbserver_start' error
22080 exceptions.
22081 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22082 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22083 `gdbserver_gdb_load' error exceptions.
22084
22085 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22086
22087 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22088 120 on waiting for the TCP socket to open.
22089
22090 2014-09-09 Doug Evans <xdje42@gmail.com>
22091
22092 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22093 _caller_matches, _any_caller_is, _any_caller_matches.
22094
22095 2014-09-09 Doug Evans <xdje42@gmail.com>
22096
22097 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22098
22099 2014-09-09 Yao Qi <yao@codesourcery.com>
22100
22101 * gdb.mi/mi-var-display.exp: Set print symbol off.
22102
22103 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22104
22105 PR gdb/17035
22106 * gdb.base/commands.exp: Add tests to verify user-defined
22107 commands with empty bodies.
22108 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22109 python commands in `show user command`.
22110 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22111 scheme commands in `show user command`.
22112
22113 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22114
22115 PR python/17355
22116 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22117 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22118 * gdb.python/py-framefilter-invalidarg.exp: New file.
22119 * gdb.python/py-framefilter-invalidarg.py: New file.
22120
22121 2014-09-06 Doug Evans <xdje42@gmail.com>
22122
22123 PR 15276
22124 * gdb.python/py-caller-is.c: New file.
22125 * gdb.python/py-caller-is.exp: New file.
22126
22127 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22128
22129 PR gdb/17235
22130 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22131 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22132
22133 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22134
22135 PR fortran/17237
22136 * gdb.fortran/print-formatted.exp: New file.
22137 * gdb.fortran/print-formatted.f90: Likewise.
22138
22139 2014-09-03 Sasha Smundak <asmundak@google.com>
22140
22141 * gdb.python/py-frame.exp: Test Frame.read_register.
22142
22143 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22144
22145 PR python/16699
22146 * gdb.python/py-completion.exp: New file.
22147 * gdb.python/py-completion.py: Likewise.
22148
22149 2014-08-28 Doug Evans <dje@google.com>
22150
22151 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22152 eax,etc. are live with values set by gdb and thus the compiler can't
22153 use them.
22154 * gdb.arch/i386-pseudo.c (main): Ditto.
22155
22156 2014-08-27 Doug Evans <dje@google.com>
22157
22158 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22159
22160 2014-08-25 Doug Evans <dje@google.com>
22161
22162 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22163 (main): Ditto.
22164
22165 2014-08-25 Doug Evans <dje@google.com>
22166
22167 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22168
22169 2014-08-24 Yao Qi <yao@codesourcery.com>
22170
22171 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22172 symbol off.
22173 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22174
22175 2014-08-22 Doug Evans <dje@google.com>
22176
22177 PR 17276
22178 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22179 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22180 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22181
22182 2014-08-22 Yao Qi <yao@codesourcery.com>
22183
22184 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22185 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22186 * gdb.python/python.exp: Likewise. Use .py file on the host
22187 instead of the build.
22188
22189 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22190
22191 * gdb.threads/gcore-stale-thread.c: New file.
22192 * gdb.threads/gcore-stale-thread.exp: New file.
22193
22194 2014-08-21 Pedro Alves <palves@redhat.com>
22195
22196 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22197 * gdb.base/gcore-relro-pie.exp: Likewise.
22198 * gdb.base/gcore-relro.exp: Likewise.
22199 * gdb.base/gcore.exp: Likewise.
22200 * gdb.base/print-symbol-loading.exp: Likewise.
22201 * gdb.threads/gcore-thread.exp: Likewise.
22202 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22203
22204 2014-08-20 Pedro Alves <palves@redhat.com>
22205 Jan Kratochvil <jan.kratochvil@redhat.com>
22206
22207 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22208 configure.
22209 (EXPECT): Handle READ1 being set.
22210 (all): Depend on EXTRA_RULES.
22211 (check-read1, expect-read1, read1.so, read1): New rules.
22212 * README (Testsuite Parameters): Document the READ1 make variable.
22213 (Race detection): New section.
22214 * configure: Regenerate.
22215 * configure.ac: If build==host==target, and running under a
22216 GNU/glibc system, add read1 to the extra Makefile rules.
22217 (EXTRA_RULES): AC_SUBST it.
22218 * lib/read1.c: New file.
22219
22220 2014-08-20 Joel Brobecker <brobecker@adacore.com>
22221
22222 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22223 the handling of variables declared as a typedef to an array
22224 which a DW_AT_data_location attribute.
22225
22226 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
22227 Pedro Alves <palves@redhat.com>
22228
22229 PR symtab/14604
22230 PR symtab/14605
22231 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22232 gdb_test.
22233
22234 2014-08-19 Pedro Alves <palves@redhat.com>
22235
22236 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22237
22238 2014-08-19 Yao Qi <yao@codesourcery.com>
22239
22240 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22241 right line.
22242
22243 2014-08-18 David Blaikie <dblaikie@gmail.com>
22244
22245 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22246
22247 2014-08-18 Joel Brobecker <brobecker@adacore.com>
22248
22249 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22250 attribute in array range.
22251
22252 2014-08-18 Joel Brobecker <brobecker@adacore.com>
22253
22254 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22255
22256 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22257
22258 PR c++/17132
22259 * gdb.cp/pr17132.cc: New file.
22260 * gdb.cp/pr17132.exp: New file.
22261
22262 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22263
22264 * gdb.python/py-xmethods.py (A_getarrayind)
22265 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22266 Use 'print' with function call syntax.
22267 (E_method_matcher.match): Fix tab vs space indentation mixup.
22268
22269 2014-08-15 Yao Qi <yao@codesourcery.com>
22270
22271 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22272 false.
22273
22274 2014-08-15 Yao Qi <yao@codesourcery.com>
22275
22276 * gdb.cp/casts.exp: Set print symbol off.
22277 * gdb.cp/class2.exp: Likewise.
22278 * gdb.cp/overload.exp: Likewise.
22279 * gdb.cp/templates.exp: Likewise.
22280
22281 2014-08-11 Doug Evans <dje@google.com>
22282
22283 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22284 (test_load_shlib): Update.
22285
22286 2014-08-09 Yao Qi <yao@codesourcery.com>
22287
22288 * gdb.base/display.exp: Invoke is_address_zero_readable.
22289 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22290 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22291 * gdb.base/hbreak-unmapped.exp: Return if
22292 is_address_zero_readable returns true.
22293 * gdb.base/signest.exp: Likewise.
22294 * gdb.base/signull.exp: Likewise.
22295 * gdb.base/sigbpt.exp: Likewise.
22296 * gdb.guile/scm-disasm.exp: Do the test if
22297 is_address_zero_readable returns false.
22298 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22299 * gdb.python/py-arch.exp: Likewise.
22300 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22301 * lib/gdb.exp (is_address_zero_readable): New proc.
22302
22303 2014-08-09 Yao Qi <yao@codesourcery.com>
22304
22305 PR testsuite/13443
22306 * gdb.mi/mi-var-display.exp: Make test messages unique.
22307
22308 2014-08-04 Tom Tromey <tromey@redhat.com>
22309
22310 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22311 target 0".
22312
22313 2014-08-04 Tom Tromey <tromey@redhat.com>
22314
22315 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22316 "target_resume".
22317
22318 2014-08-01 Joel Brobecker <brobecker@adacore.com>
22319
22320 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22321 inner_vla_struct_object_size.
22322 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22323 as xfail.
22324
22325 2014-07-30 Pedro Alves <palves@redhat.com>
22326
22327 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22328 comment.
22329
22330 2014-07-29 Yao Qi <yao@codesourcery.com>
22331
22332 PR gdb/17206
22333 * gdb.base/until-nodebug.exp: New.
22334
22335 2014-07-28 Doug Evans <xdje42@gmail.com>
22336
22337 PR guile/17203
22338 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22339 previously existing parameter, and previously ambiguously spelled
22340 parameter.
22341
22342 2014-07-28 Will Newton <will.newton@linaro.org>
22343
22344 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22345
22346 2014-07-26 Ludovic Courtès <ludo@gnu.org>
22347 Doug Evans <xdje42@gmail.com>
22348
22349 PR guile/17146
22350 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22351
22352 2014-07-25 Pedro Alves <palves@redhat.com>
22353
22354 * gdb.threads/signal-command-handle-nopass.c: New file.
22355 * gdb.threads/signal-command-handle-nopass.exp: New file.
22356 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22357 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22358 * gdb.threads/signal-delivered-right-thread.c: New file.
22359 * gdb.threads/signal-delivered-right-thread.exp: New file.
22360
22361 2014-07-25 Pedro Alves <palves@redhat.com>
22362
22363 * gdb.base/double-prompt-target-event-error.exp
22364 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22365 match.
22366 (cancel_pagination_in_target_event): Rework double prompt
22367 detection.
22368 * gdb.base/paginate-after-ctrl-c-running.exp
22369 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22370 <return>' match.
22371 * gdb.base/paginate-bg-execution.exp
22372 (test_bg_execution_pagination_return)
22373 (test_bg_execution_pagination_cancel): Remove '-notransfer
22374 <return>' matches.
22375 * gdb.base/paginate-execution-startup.exp
22376 (test_fg_execution_pagination_return)
22377 (test_fg_execution_pagination_cancel): Remove '-notransfer
22378 <return>' matches.
22379 * gdb.base/paginate-inferior-exit.exp
22380 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22381 match.
22382 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22383 * lib/gdb.exp (pagination_prompt): Run text through
22384 string_to_regexp.
22385 (gdb_test_multiple): Match $pagination_prompt instead of
22386 "<return>".
22387 (string_to_regexp): Move to lib/gdb-utils.exp.
22388
22389 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22390
22391 * gdb.arch/amd64-entry-value-paramref.S: New file.
22392 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22393 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22394 * gdb.arch/amd64-optimout-repeat.S: New file.
22395 * gdb.arch/amd64-optimout-repeat.c: New file.
22396 * gdb.arch/amd64-optimout-repeat.exp: New file.
22397
22398 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22399
22400 PR gdb/17170
22401 * gdb.base/statistics.exp: New file.
22402
22403 2014-07-17 Doug Evans <dje@google.com>
22404
22405 PR gdb/17170
22406 * gdb.base/maint.exp: Update testing of per-command stats.
22407
22408 2014-07-16 Pedro Alves <palves@redhat.com>
22409
22410 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22411 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22412 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22413 (tfile_write_buf): New functions.
22414 (add_memory_block): Rewrite using the above.
22415 (adjust_function_address): New function.
22416 (FUNCTION_ADDRESS): New macro.
22417 (write_basic_trace_file): Remove short_x local, and use
22418 tfile_write_16. Change type of func_addr local to unsigned long
22419 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22420 here. Cast argument of add_memory_block to char pointer.
22421 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22422 (main): Remove parameters.
22423 * gdb.trace/tfile.exp: Remove nowarnings.
22424
22425 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22426
22427 * gdb.base/debug-expr.exp: Test string evaluation with
22428 "debug expression" on.
22429
22430 2014-07-15 Pedro Alves <palves@redhat.com>
22431
22432 * gdb.base/reread.exp: Use clean_restart.
22433
22434 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22435
22436 * gdb.arch/avr-flash-qualifer.c: New.
22437 * gdb.arch/avr-flash-qualifer.exp: New.
22438
22439 2014-07-14 Pedro Alves <palves@redhat.com>
22440
22441 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22442 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22443
22444 2014-07-14 Pedro Alves <palves@redhat.com>
22445
22446 * gdb.base/double-prompt-target-event-error.c: New file.
22447 * gdb.base/double-prompt-target-event-error.exp: New file.
22448
22449 2014-07-14 Pedro Alves <palves@redhat.com>
22450
22451 PR gdb/17072
22452 * gdb.base/paginate-inferior-exit.c: New file.
22453 * gdb.base/paginate-inferior-exit.exp: New file.
22454
22455 2014-07-14 Pedro Alves <palves@redhat.com>
22456
22457 PR gdb/17072
22458 * gdb.base/paginate-bg-execution.c: New file.
22459 * gdb.base/paginate-bg-execution.exp: New file.
22460
22461 2014-07-14 Pedro Alves <palves@redhat.com>
22462
22463 PR gdb/17072
22464 * gdb.base/paginate-execution-startup.c: New file.
22465 * gdb.base/paginate-execution-startup.exp: New file.
22466 * lib/gdb.exp (pagination_prompt): New global.
22467 (default_gdb_spawn): New procedure, factored out from
22468 default_gdb_spawn.
22469 (default_gdb_start): Adjust to call default_gdb_spawn.
22470 (gdb_spawn): New procedure.
22471
22472 2014-07-14 Pedro Alves <palves@redhat.com>
22473
22474 * lib/gdb.exp (gdb_assert): New procedure.
22475 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22476
22477 2014-07-14 Pedro Alves <palves@redhat.com>
22478
22479 * gdb.base/execution-termios.c: New file.
22480 * gdb.base/execution-termios.exp: New file.
22481
22482 2014-07-14 Tom Tromey <tromey@redhat.com>
22483
22484 * gdb.cp/vla-cxx.cc: New file.
22485 * gdb.cp/vla-cxx.exp: New file.
22486
22487 2014-07-14 Tom Tromey <tromey@redhat.com>
22488
22489 * gdb.reverse/rerun-prec.c: New file.
22490 * gdb.reverse/rerun-prec.exp: New file.
22491
22492 2014-07-12 Maciej W. Rozycki <macro@mips.com>
22493 Maciej W. Rozycki <macro@codesourcery.com>
22494
22495 * lib/gdb-utils.exp: New file.
22496 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22497 inline `gdb_init_command' processing.
22498 (gdb_start_cmd): Likewise.
22499 * lib/mi-support.exp (mi_run_cmd): Likewise.
22500 * README: Document `gdb_init_command' and `gdb_init_commands'.
22501
22502 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22503
22504 Fix false FAIL running under a very long directory name.
22505 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22506 and "set print elements 10000". Twice.
22507
22508 2014-07-11 Yao Qi <yao@codesourcery.com>
22509
22510 * gdb.base/exprs.exp: "set print symbol off".
22511
22512 2014-07-11 Pedro Alves <palves@redhat.com>
22513
22514 * gdb.threads/kill.c: New file.
22515 * gdb.threads/kill.exp: New file.
22516
22517 2014-07-10 Yao Qi <yao@codesourcery.com>
22518
22519 * gdb.trace/tfile.c (write_basic_trace_file)
22520 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22521 address written to trace file.
22522
22523 2014-07-09 Pedro Alves <palves@redhat.com>
22524
22525 * gdb.base/attach-wait-input.exp: New file.
22526 * gdb.base/attach-wait-input.c: New file.
22527
22528 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22529
22530 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22531 setting up test structures.
22532 (main): Call new test function.
22533 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22534 test function, continue into test function and walk test
22535 structures.
22536
22537 2014-07-02 Yao Qi <yao@codesourcery.com>
22538
22539 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22540 'bar_start' at the beginning of functions 'foo' and 'bar'
22541 respectively.
22542 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22543 instead of 'foo' and 'bar'.
22544
22545 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22546
22547 * gdb.btrace/segv.exp: New.
22548 * gdb.btrace/segv.c: New.
22549
22550 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
22551
22552 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22553 instruction.
22554
22555 2014-06-30 Mark Wielaard <mjw@redhat.com>
22556
22557 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22558 vulture, vilify, villar): New volatile array constants.
22559 (vindictive, vegetation): New const volatile array constants.
22560 * gdb.base/volatile.exp: Test volatile and const volatile array
22561 types.
22562
22563 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22564
22565 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22566 target lacks support for awatch, rwatch, or hbreak.
22567
22568 2014-06-27 Yao Qi <yao@codesourcery.com>
22569
22570 * gdb.multi/dummy-frame-restore.exp: New.
22571 * gdb.multi/dummy-frame-restore.c: New.
22572
22573 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22574
22575 * gdb.btrace/gcore.exp: New.
22576
22577 2014-06-23 Pedro Alves <palves@redhat.com>
22578
22579 * gdb.base/watchpoint-reuse-slot.c: New file.
22580 * gdb.base/watchpoint-reuse-slot.exp: New file.
22581
22582 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22583
22584 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22585 progspace's filename in 'info', 'enable' and 'disable' command
22586 tests.
22587
22588 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22589
22590 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22591 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22592 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22593
22594 2014-06-20 Gary Benson <gbenson@redhat.com>
22595
22596 * gdb.arch/i386-avx.exp: Fix include file location.
22597 * gdb.arch/i386-sse.exp: Likewise.
22598
22599 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22600
22601 * gdb.dlang/expression.exp: New file.
22602
22603 2014-06-19 Pedro Alves <palves@redhat.com>
22604
22605 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22606 out from ...
22607 (top level): ... here. Iterate running tests under different
22608 scheduler-locking settings.
22609
22610 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
22611
22612 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22613 to DW_FORM_addr and use non-zero addresses.
22614
22615 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22616
22617 PR gdb/17017
22618 * gdb.python/py-xmethods.cc: Add global function call counters and
22619 increment them in their respective functions. Remove "cout"
22620 statements.
22621 * gdb.python/py-xmethods.exp: Make tests check the global function
22622 call counters instead of depending on inferior IO.
22623
22624 2014-06-18 Don Breazeal <donb@codesourcery.com>
22625
22626 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22627 Deleted procedure.
22628 (explicit_fork_parent_follow): Deleted procedure.
22629 (explicit_fork_child_follow): Deleted procedure.
22630 (test_follow_fork): New procedure.
22631 (do_fork_tests): Replace calls to deleted procedures with
22632 calls to test_follow_fork and reset GDB for subsequent
22633 procedure calls.
22634
22635 2014-06-17 Yao Qi <yao@codesourcery.com>
22636
22637 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22638 CP1252.
22639
22640 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
22641
22642 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22643 Initialize ptr and S explicitly.
22644 (skip_type_update_when_not_use_rtti_test): Likewise.
22645
22646 2014-06-16 Keith Seitz <keiths@redhat.com>
22647
22648 PR mi/15863
22649 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22650 the inferior is started.
22651
22652 2014-06-16 Pedro Alves <palves@redhat.com>
22653
22654 * gdb.base/break-main-file-remove-fail.c: New file.
22655 * gdb.base/break-main-file-remove-fail.exp: New file.
22656 * gdb.base/break-unload-file.exp: Use build_executable instead of
22657 prepare_for_testing.
22658 (test_break): New parameter "initial_load". Handle it.
22659 (top level): Add initial_load cmdline/file axis.
22660
22661 2014-06-12 Tom Tromey <tromey@redhat.com>
22662
22663 * gdb.base/completion.exp: Don't use directory name in test.
22664
22665 2014-06-09 Gary Benson <gbenson@redhat.com>
22666
22667 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22668 separate the always-available ANSI-standard signals from the
22669 signals that require checking.
22670 (main): Likewise.
22671 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22672 Likewise.
22673 (main): Likewise.
22674
22675 2014-06-07 Keith Seitz <keiths@redhat.com>
22676
22677 Revert:
22678 PR c++/16253
22679 * gdb.cp/var-tag.cc: New file.
22680 * gdb.cp/var-tag.exp: New file.
22681 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22682 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22683 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22684 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22685
22686 2014-06-06 Doug Evans <xdje42@gmail.com>
22687
22688 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22689
22690 2014-06-06 Pedro Alves <palves@redhat.com>
22691
22692 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22693 in target debug output instead of looking at RSP packets,
22694 disabling the test on any target that uses hardware stepping.
22695 Update comments.
22696
22697 2014-06-06 Pedro Alves <palves@redhat.com>
22698
22699 * gdb.base/break-unload-file.exp: Fix typo.
22700
22701 2014-06-06 Yao Qi <yao@codesourcery.com>
22702
22703 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22704 from "jit_function" to "^jit_function".
22705
22706 2014-06-06 Yao Qi <yao@codesourcery.com>
22707
22708 * gdb.base/async.c (foo): Add one statement.
22709 * gdb.base/async.exp: Get the next instruction address and
22710 match the output of "nexti" by instruction address. Match
22711 the hex address in the output of "finish".
22712
22713 2014-06-06 Gary Benson <gbenson@redhat.com>
22714
22715 * gdb.base/call-signals.c: Remove preprocessor conditionals
22716 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22717 SIGSEGV and SIGTERM.
22718 * gdb.base/sigall.c: Likewise.
22719 * gdb.base/unwindonsignal.c: Likewise.
22720 * gdb.reverse/sigall-reverse.c: Likewise.
22721
22722 2014-06-06 Yao Qi <yao@codesourcery.com>
22723
22724 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22725 readable, skip the test.
22726
22727 2014-06-06 Yao Qi <yao@codesourcery.com>
22728
22729 * gdb.threads/staticthreads.c (thread_function): Move the line
22730 setting breakpoint on forward.
22731 * gdb.threads/staticthreads.exp: Update comments.
22732
22733 2014-06-05 Ludovic Courtès <ludo@gnu.org>
22734
22735 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22736 "history-append! type error".
22737
22738 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22739
22740 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22741 erroneous dprintf expected input.
22742
22743 2014-06-04 Doug Evans <xdje42@gmail.com>
22744
22745 * gdb.guile/scm-generics.exp: Delete.
22746
22747 2014-06-04 Doug Evans <xdje42@gmail.com>
22748
22749 * gdb.guile/scm-breakpoint.exp: Update.
22750 Add tests for breakpoint registration.
22751
22752 2014-06-04 Tom Tromey <tromey@redhat.com>
22753
22754 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22755 VLA-in-union.
22756 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22757 inner_vla_struct, vla_union types. Initialize objects of those
22758 types and compute their sizes.
22759
22760 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22761 Hui Zhu <hui@codesourcery.com>
22762
22763 * gdb.base/fileio.exp: Add test for shell not available as well as
22764 available.
22765 * gdb.base/fileio.c (test_system): Check for shell twice.
22766
22767 2014-06-04 Yao Qi <yao@codesourcery.com>
22768
22769 * gdb.base/auto-connect-native-target.exp: Remove redundant
22770 space from the regexp pattern.
22771
22772 2014-06-04 Yao Qi <yao@codesourcery.com>
22773
22774 * gdb.base/default.exp: Replace "child" with "native" in
22775 regexp pattern.
22776
22777 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22778
22779 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22780 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22781 * gdb.python/py-xmethods.py: Python script supporting the
22782 new testcase and tests.
22783
22784 2014-06-03 Joel Brobecker <brobecker@adacore.com>
22785 Pedro Alves <palves@redhat.com>
22786
22787 PR breakpoints/17000
22788 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22789 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22790
22791 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22792
22793 * gdb.base/subst.exp: Add tests to verify partial path matching
22794 output.
22795
22796 2014-06-03 Pedro Alves <palves@redhat.com>
22797
22798 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22799 target that doesn't use software single-stepping.
22800
22801 2014-06-03 Pedro Alves <palves@redhat.com>
22802
22803 PR breakpoints/17000
22804 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22805 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22806
22807 2014-06-02 Doug Evans <xdje42@gmail.com>
22808
22809 * gdb.guile/scm-parameter.exp: New file.
22810
22811 2014-06-02 Doug Evans <xdje42@gmail.com>
22812
22813 * gdb.guile/scm-cmd.c: New file.
22814 * gdb.guile/scm-cmd.exp: New file.
22815
22816 2014-06-02 Doug Evans <xdje42@gmail.com>
22817
22818 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22819 pretty-printer lookup.
22820 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22821 (make-pp_s-printer): Call it.
22822 (make-pretty-printer-from-dict): New function.
22823 (lookup-pretty-printer-maker-from-dict): New function.
22824 (*pretty-printer*): Simplify.
22825 (make-objfile-pp_s-printer): New function.
22826 (install-objfile-pretty-printers!): New function.
22827 (make-progspace-pp_s-printer): New function.
22828 (install-progspace-pretty-printers!): New function.
22829 * gdb.guile/scm-progspace.c: New file.
22830 * gdb.guile/scm-progspace.exp: New file.
22831
22832 2014-06-02 Pedro Alves <palves@redhat.com>
22833
22834 * gdb.base/dprintf-bp-same-addr.c: New file.
22835 * gdb.base/dprintf-bp-same-addr.exp: New file.
22836
22837 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22838
22839 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22840 * gdb.arch/powerpc-power.s: Likewise.
22841
22842 2014-06-02 Joel Brobecker <brobecker@adacore.com>
22843
22844 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22845
22846 2014-06-01 Yao Qi <yao@codesourcery.com>
22847
22848 * gdb.base/watchpoint.exp (test_watch_location): Check null
22849 pointer can be dereferenced. If not, do the test, otherwise
22850 skip it.
22851
22852 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22853
22854 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22855 results.
22856 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22857
22858 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22859
22860 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22861 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22862 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22863 * gdb.arch/amd64-invalid-stack-top.c: New file.
22864 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22865
22866 2014-05-30 Pedro Alves <palves@redhat.com>
22867
22868 PR breakpoints/17000
22869 * gdb.base/sss-bp-on-user-bp.c: New file.
22870 * gdb.base/sss-bp-on-user-bp.exp: New file.
22871
22872 2014-05-30 David Blaikie <dblaikie@gmail.com>
22873
22874 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22875 gnu_inline semantics via attribute.
22876 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22877 source explicitly specifies the required semantics.
22878
22879 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22880
22881 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22882
22883 2014-05-29 Pedro Alves <palves@redhat.com>
22884 Tom Tromey <tromey@redhat.com>
22885
22886 * gdb.base/async-shell.exp: Don't enable target-async.
22887 * gdb.base/async.exp
22888 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22889 parameter. Adjust.
22890 (top level): Don't test with "target-async".
22891 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22892 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22893 * gdb.base/inferior-died.exp: Don't enable target-async.
22894 * gdb.base/interrupt-noterm.exp: Likewise.
22895 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22896 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22897 * gdb.mi/mi-nonstop.exp: Likewise.
22898 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22899 * gdb.mi/mi-nsintrall.exp: Likewise.
22900 * gdb.mi/mi-nsmoribund.exp: Likewise.
22901 * gdb.mi/mi-nsthrexec.exp: Likewise.
22902 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22903 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22904 * gdb.python/py-evsignal.exp: Don't enable target-async.
22905 * gdb.python/py-evthreads.exp: Likewise.
22906 * gdb.python/py-prompt.exp: Likewise.
22907 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22908 * gdb.server/solib-list.exp: Don't enable target-async.
22909 * gdb.threads/thread-specific-bp.exp: Likewise.
22910 * lib/mi-support.exp: Adjust to use mi-async.
22911
22912 2014-05-29 Pedro Alves <palves@redhat.com>
22913
22914 PR gdb/13860
22915 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22916 reason, even in sync mode.
22917
22918 2014-05-29 Pedro Alves <palves@redhat.com>
22919 Hui Zhu <hui@codesourcery.com>
22920
22921 PR PR15693
22922 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22923 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22924 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22925 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22926
22927 2014-05-28 Joel Brobecker <brobecker@adacore.com>
22928
22929 * config/monitor.exp (gdb_target_monitor): Replace use of
22930 "set remotebaud" by "set serial baud".
22931
22932 2014-05-26 Andy Wingo <wingo@igalia.com>
22933
22934 * gdb.guile/scm-breakpoint.exp:
22935 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22936 properties instead of gdb-object-properties.
22937
22938 2014-05-26 Yao Qi <yao@codesourcery.com>
22939
22940 * gdb.server/no-thread-db.exp: Specify source file name
22941 explicitly when setting a breakpoint.
22942
22943 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22944
22945 * gdb.btrace/vdso.c: New.
22946 * gdb.btrace/vdso.exp: New.
22947
22948 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22949
22950 * gdb.base/gcore.exp (capture_command_output): Move ...
22951 * lib/gdb.exp (capture_command_output): ... here.
22952
22953 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22954
22955 * gdb.btrace/data.exp: Test memory access during btrace replay.
22956
22957 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22958
22959 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22960
22961 2014-05-21 Pedro Alves <palves@redhat.com>
22962
22963 PR gdb/13860
22964 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22965 (top level): Test that output related to execution commands is
22966 sent to the console with CLI commands, but not with MI commands.
22967 Test that breakpoint events are always mirrored to the console.
22968 Also expect the new source line to be output after a "next" in
22969 async mode too. Make it a pass/fail test.
22970 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22971 output.
22972 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22973
22974 2014-05-21 Pedro Alves <palves@redhat.com>
22975
22976 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22977 Use them to test variations of "list" after reaching a breakpoint.
22978 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22979 Test "list" with listsize 10 after reaching a breakpoint.
22980 * gdb.python/python.exp (decode_line current location line
22981 number): Adjust expected line number.
22982
22983 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22984
22985 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22986 behavior for $args, pass it directly to "run".
22987
22988 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22989
22990 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22991 30000 to 65536.
22992
22993 2014-05-21 Pedro Alves <palves@redhat.com>
22994
22995 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22996 auto-connect-native-target off".
22997 * gdb.base/auto-connect-native-target.c: New file.
22998 * gdb.base/auto-connect-native-target.exp: New file.
22999
23000 2014-05-21 Pedro Alves <palves@redhat.com>
23001
23002 * gdb.base/default.exp: Test "target native" instead of "target
23003 child".
23004
23005 2014-05-21 Mark Wielaard <mjw@redhat.com>
23006
23007 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
23008
23009 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
23010
23011 Fix TLS access for -static -pthread.
23012 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
23013 <HAVE_TLS> (thread_function, main): Initialize it.
23014 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
23015 Add clean_restart.
23016 <$have_tls != "">: Check TLSVAR.
23017
23018 2014-05-21 Pedro Alves <palves@redhat.com>
23019
23020 * gdb.base/dcache-line-read-error.c: New.
23021 * gdb.base/dcache-line-read-error.exp: New.
23022
23023 2014-05-20 Pedro Alves <palves@redhat.com>
23024
23025 * gdb.base/compare-sections.c: New file.
23026 * gdb.base/compare-sections.exp: New file.
23027
23028 2014-05-20 Pedro Alves <palves@redhat.com>
23029
23030 * gdb.base/break-idempotent.c: New file.
23031 * gdb.base/break-idempotent.exp: New file.
23032
23033 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
23034
23035 * gdb.btrace/nohist.exp: New.
23036
23037 2014-05-20 Yao Qi <yao@codesourcery.com>
23038
23039 * lib/gdb.exp (gdb_init): Set timeout if test file is under
23040 gdb.reverse directory and gdb_reverse_timeout exists in board
23041 setting.
23042 * README: Document gdb_reverse_timeout.
23043
23044 2014-05-20 Yao Qi <yao@codesourcery.com>
23045
23046 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
23047 'test_file_name'. Treat args as a string instead of a list.
23048 (gdb_init): Rename argument 'args' by 'test_file_name'.
23049
23050 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
23051
23052 * gdb.arch/powerpc-power.exp: New file.
23053 * gdb.arch/powerpc-power.s: New file.
23054
23055 2014-05-16 Doug Evans <dje@google.com>
23056
23057 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
23058 * gdb.base/completion.exp: Check that all expected files exist
23059 before doing file completion.
23060
23061 2014-05-16 Doug Evans <dje@google.com>
23062
23063 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23064 Update.
23065 (do_syscall_tests_without_xml): Update.
23066
23067 2014-05-16 Pedro Alves <palves@redhat.com>
23068
23069 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23070 instead of "unknown output after running".
23071
23072 2014-05-16 Yao Qi <yao@codesourcery.com>
23073
23074 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23075 file1.txt from host at the end.
23076 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23077
23078 2014-05-15 Doug Evans <dje@google.com>
23079
23080 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23081 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23082 loading file. Add test for TU lookup.
23083
23084 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23085
23086 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23087 calling "-exec-arguments" or "set args" before running the
23088 inferior.
23089
23090 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23091
23092 * lib/mi-support.exp (mi_expect_stop): Expect message for
23093 inferiors that exit with non-zero exit code.
23094
23095 2014-05-14 Yao Qi <yao@codesourcery.com>
23096
23097 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23098 match absolute path on remote host.
23099 (test_file_list_exec_source_files): Remove "/" from the
23100 pattern.
23101
23102 2014-05-14 Yao Qi <yao@codesourcery.com>
23103
23104 * boards/local-remote-host-notty.exp (${board}_file): New
23105 proc.
23106
23107 2014-05-07 Kyle McMartin <kyle@redhat.com>
23108
23109 Pushed by Joel Brobecker <brobecker@adacore.com>.
23110 * gdb.arch/aarch64-atomic-inst.c: New file.
23111 * gdb.arch/aarch64-atomic-inst.exp: New file.
23112
23113 2014-05-07 Yao Qi <yao@codesourcery.com>
23114
23115 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23116 in current context" too.
23117
23118 2014-05-05 Keith Seitz <keiths@redhat.com>
23119
23120 * gdb.linespec/ls-dollar.exp: Add test for linespec
23121 file:convenience_variable.
23122
23123 2014-05-05 Yao Qi <yao@codesourcery.com>
23124
23125 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23126 traceframes into tfile and ctf trace files. Read data from
23127 trace file and test collected data.
23128 (gdb_collect_locals_test): Likewise.
23129 (gdb_unavailable_registers_test): Likewise.
23130 (gdb_unavailable_floats): Likewise.
23131 (gdb_collect_globals_test): Likewise.
23132 (top-level): Append "ctf" to trace_file_targets if GDB
23133 supports.
23134
23135 2014-05-05 Yao Qi <yao@codesourcery.com>
23136
23137 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23138 code to ...
23139 (gdb_collect_args_test_1): ... it. New proc.
23140 (gdb_collect_locals_test): Move some code to ...
23141 (gdb_collect_locals_test_1): ... it. New proc.
23142 (gdb_unavailable_registers_test): Move some code to ...
23143 (gdb_unavailable_registers_test_1): ... it. New proc.
23144 (gdb_unavailable_floats): Move some code to ...
23145 (gdb_unavailable_floats_1): ... it. New proc.
23146
23147 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23148
23149 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23150 probes to test for bitness recognition.
23151 * gdb.arch/amd64-stap-optional-prefix.exp
23152 (test_probe_value_without_reg): New procedure.
23153 Add code to test for different kinds of bitness.
23154
23155 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23156
23157 PR breakpoints/16889
23158 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23159 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23160
23161 2014-05-01 Pedro Alves <palves@redhat.com>
23162
23163 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23164 gdb_file_cmd if no file is specified.
23165 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23166 last_loaded_file to set the remote exec-file.
23167
23168 2014-05-01 Pedro Alves <palves@redhat.com>
23169
23170 * boards/local-remote-host.exp: New file.
23171
23172 2014-05-01 Pedro Alves <palves@redhat.com>
23173
23174 * boards/local-remote-host.exp: Rename to ...
23175 * boards/local-remote-host-notty.exp: ... this.
23176
23177 2014-04-28 Joel Brobecker <brobecker@adacore.com>
23178
23179 * gdb.ada/dyn_arrayidx: New testcase.
23180
23181 2014-04-26 Yao Qi <yao@codesourcery.com>
23182
23183 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23184 and compute the length of function main. Save it in
23185 $main_length.
23186 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23187 (top-level): Use gdb_compile to compile objects into
23188 executable and restart GDB. Remove invocation to
23189 prepare_for_testing.
23190
23191 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23192 Pedro Alves <palves@redhat.com>
23193
23194 PR server/16255
23195 * gdb.multi/multi-attach.c: New file.
23196 * gdb.multi/multi-attach.exp: New file.
23197
23198 2014-04-25 Pedro Alves <palves@redhat.com>
23199
23200 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23201 user.
23202 (top level): Test that "set remote conditional-breakpoints-packet
23203 off" works as intended.
23204 * gdb.base/dprintf.exp: Test that "set remote
23205 breakpoint-commands-packet off" works as intended.
23206 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23207 New function.
23208 (top level): Call it.
23209 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23210 remote fast-tracepoints-packet off" works as intended.
23211 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23212 * lib/gdb.exp (gdb_is_target_remote): ... here.
23213
23214 2014-04-24 David Blaikie <dblaikie@gmail.com>
23215
23216 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23217 ensure clang would not discard them.
23218 * gdb.base/gdbvars.c: Ditto.
23219 * gdb.base/memattr.c: Ditto.
23220 * gdb.base/whatis.c: Ditto.
23221 * gdb.python/py-prettyprint.c: Ditto.
23222 * gdb.trace/actions.c: Ditto.
23223 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23224 ensure clang would not discard it.
23225
23226 2014-04-24 David Blaikie <dblaikie@gmail.com>
23227
23228 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23229 clang to emit the full definition of type required by the test
23230 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23231
23232 2014-04-24 David Blaikie <dblaikie@gmail.com>
23233
23234 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23235 coax Clang into emitting the definition of the type.
23236 * gdb.cp/pr10728-x.h (y): Ditto.
23237 * gdb.cp/pr10728-y.cc (y): Ditto.
23238
23239 2014-04-24 David Blaikie <dblaikie@gmail.com>
23240
23241 * gdb.base/label.exp: XFAIL label related tests under Clang.
23242 * gdb.cp/cplabel.exp: Ditto.
23243 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23244 under Clang those using labels.
23245
23246 2014-04-25 Yao Qi <yao@codesourcery.com>
23247
23248 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23249 double_label.
23250 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23251 partial_label and double_label.
23252
23253 2014-04-24 David Blaikie <dblaikie@gmail.com>
23254
23255 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23256
23257 2014-04-24 David Blaikie <dblaikie@gmail.com>
23258
23259 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23260 of the function to work across GCC and Clang.
23261 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23262 pointer types (const void ** const V void **).
23263
23264 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
23265 Walfred Tedeschi <walfred.tedeschi@intel.com>
23266
23267 * Makefile.in (EXECUTABLES): Added i386-avx512.
23268 * gdb.arch/i386-avx512.c: New file.
23269 * gdb.arch/i386-avx512.exp: Likewise.
23270
23271 2014-04-23 Keith Seitz <keiths@redhat.com>
23272
23273 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23274 (mi_make_breakpoint_table): New procedure.
23275 (mi_create_breakpoint): Use mi_make_breakpoint
23276 and return the result.
23277 (mi_make_breakpoint): New procedure.
23278 (mi_build_kv_pairs): New procedure.
23279
23280 * gdb.mi/mi-break.exp: Remove unused globals,
23281 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23282 All callers updated.
23283 * gdb.mi/mi-dprintf.exp: Use variable to track command
23284 number.
23285 Update all callers of mi_create_breakpoint and use
23286 mi_make_breakpoint_table.
23287 Remove any unused global variables.
23288 * gdb.mi/mi-nonstop.exp: Likewise.
23289 * gdb.mi/mi-nsintrall.exp: Likewise.
23290 * gdb.mi/mi-nsmoribund.exp: Likewise.
23291 * gdb.mi/mi-nsthrexec.exp: Likewise.
23292 * gdb.mi/mi-reverse.exp: Likewise.
23293 * gdb.mi/mi-simplerun.exp: Likewise.
23294 * gdb.mi/mi-stepn.exp: Likewise.
23295 * gdb.mi/mi-syn-frame.exp: Likewise.
23296 * gdb.mi/mi-until.exp: Likewise.
23297 * gdb.mi/mi-var-cp.exp: Likewise.
23298 * gdb.mi/mi-var-display.exp: Likewise.
23299 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23300 * gdb.mi/mi2-var-child.exp: Likewise.
23301 * gdb.mi/mi-vla-c99.exp: Likewise.
23302 * lib/mi-support.exp: Likewise.
23303
23304 From Ian Lance Taylor <iant@cygnus.com>:
23305 * lib/gdb.exp (parse_args): New procedure.
23306
23307 2014-04-23 Pedro Alves <palves@redhat.com>
23308
23309 * gdb.base/break-unload-file.c: New file.
23310 * gdb.base/break-unload-file.exp: New file.
23311 * gdb.base/sym-file-lib.c (baz): New function.
23312 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23313 field.
23314 (load): Store the segment's mapped size.
23315 (unload): New function.
23316 (unload_shlib): New function.
23317 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23318 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23319 set a breakpoint at baz, and call it.
23320 * gdb.base/sym-file.exp: New tests for stale breakpoint
23321 instructions.
23322
23323 2014-04-23 Pedro Alves <palves@redhat.com>
23324
23325 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23326 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23327 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23328 * gdb.base/hbreak-unmapped.c: New file.
23329 * gdb.base/hbreak-unmapped.exp: New file.
23330 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23331 * lib/gdb.exp (gdb_is_target_remote): ... here.
23332
23333 2014-04-22 Pedro Alves <palves@redhat.com>
23334
23335 * gdb.base/consecutive-step-over.c: New file.
23336 * gdb.base/consecutive-step-over.exp: New file.
23337
23338 2014-04-22 Pedro Alves <palves@redhat.com>
23339
23340 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23341 instead of send_gdb/gdb_expect.
23342
23343 2014-04-22 Yao Qi <yao@codesourcery.com>
23344
23345 * lib/trace-support.exp (generate_tracefile): New procedure.
23346 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23347 return 0.
23348 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23349 if generate_tracefile returns 1.
23350
23351 2014-04-18 Tom Tromey <palves@redhat.com>
23352 Pedro alves <tromey@redhat.com>
23353
23354 PR backtrace/15558
23355 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23356 with a backtrace limit.
23357 * gdb.python/py-frame-inline.exp: Test running to an inline
23358 function with a backtrace limit, and printing the newest frame.
23359 * gdb.python/py-frame-inline.c (main): Call f.
23360
23361 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23362
23363 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23364
23365 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23366
23367 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23368 Drop prefix from unsupported source file path.
23369
23370 2014-04-17 Yao Qi <yao@codesourcery.com>
23371
23372 * lib/gdb.exp (with_target_charset): New proc.
23373 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23374 with_target_charset.
23375 (test_print_strings): Likewise.
23376 (test_repeat_bytes): Likewise.
23377 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23378 for some tests.
23379
23380 2014-04-16 Keith Seitz <keiths@redhat.com>
23381
23382 PR gdb/15827
23383 * gdb.dwarf2/corrupt.c: New file.
23384 * gdb.dwarf2/corrupt.exp: New file.
23385
23386 2014-04-16 Keith Seitz <keiths@redhat.com>
23387
23388 PR c++/16597
23389 * gdb.cp/namelessclass.cc: New file.
23390 * gdb.cp/namelessclass.exp: New file.
23391 * gdb.cp/namelessclass.S: New file.
23392
23393 2014-04-16 Doug Evans <dje@google.com>
23394
23395 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23396 Add comment.
23397 (gdbserver_default_get_comm_port): New function.
23398 (gdbserver_start): Check if board file provided
23399 "gdbserver,get_comm_port" and use it if so.
23400 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23401 (gdb,socketport): Set to "stdio".
23402 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23403 (stdio_gdbserver_template): Delete.
23404 (${board}_get_remote_address): Update.
23405 (${board}_build_remote_cmd): Delete.
23406 (${board}_get_comm_port): New function.
23407 (${board}_spawn): Update.
23408 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23409 Delete.
23410 (${board}_get_remote_address): Update.
23411 (${board}_get_comm_port): New function.
23412
23413 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
23414
23415 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23416 appearing in any order.
23417
23418 2014-04-15 Doug Evans <dje@google.com>
23419
23420 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23421 uninitialized value of "description".
23422
23423 2014-04-15 Keith Seitz <keiths@redhat.com>
23424
23425 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23426 Remove unused globals.
23427 (test_running_the_program): Likewise.
23428 (test_controlled_execution): Likewise.
23429 (test_controlling_breakpoints): Likewise.
23430 (test_program_termination): Likewise.
23431
23432 2014-04-15 Keith Seitz <keiths@redhat.com>
23433
23434 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23435 unused globals.
23436 (test_rbreak_creation_and_listing): Likewise.
23437 (test_ignore_count): Likewise.
23438 (test_error): Likewise.
23439
23440 2014-04-15 Pedro Alves <palves@redhat.com>
23441
23442 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23443 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23444 sym-file-loader.c.
23445 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23446 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23447 to sym-file-loader.c.
23448 (struct library): Forward declare.
23449 (load_shlib, lookup_function): Change prototypes.
23450 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23451 (translate_offset): Remove declarations.
23452 (get_text_addr): New declaration.
23453 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23454 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23455 sym-file-loader.h.
23456 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23457 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23458 here from sym-file-loader.h.
23459 (struct library): New structure.
23460 (load_shlib, lookup_function): Change prototypes and adjust to
23461 work with a struct library.
23462 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23463 (translate_offset): Make static.
23464 (get_text_addr): New function.
23465 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23466
23467 2014-04-15 Pedro Alves <palves@redhat.com>
23468
23469 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23470
23471 2014-04-15 Pedro Alves <palves@redhat.com>
23472
23473 * gdb.base/sym-file-loader.c: Include <limits.h>.
23474 (SELF_LINK): New define.
23475 (get_origin): New function.
23476 (load_shlib): Use it.
23477 * gdb.base/sym-file.exp: Don't early return if the target is
23478 remote. Use runto_main, and issue fail is that fails. Use
23479 gdb_load_shlibs.
23480 (shlib_name): Delete.
23481 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23482
23483 2014-04-15 Pedro Alves <palves@redhat.com>
23484
23485 * gdb.base/sym-file.exp: Remove regex characters from test
23486 message. Don't refer to breakpoint numbers in test messages.
23487
23488 2014-04-14 Keith Seitz <keiths@redhat.com>
23489
23490 PR c++/16253
23491 * gdb.cp/var-tag.cc: New file.
23492 * gdb.cp/var-tag.exp: New file.
23493 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23494 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23495 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23496 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23497
23498 2014-04-14 Tom Tromey <tromey@redhat.com>
23499
23500 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23501 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23502 type.
23503 * gdb.cp/enum-class.exp: New file.
23504 * gdb.cp/enum-class.cc: New file.
23505
23506 2014-04-14 Tom Tromey <tromey@redhat.com>
23507
23508 * gdb.dwarf2/enum-type.exp: New file.
23509
23510 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23511
23512 * gdb.mi/mi-vla-c99.exp: New file.
23513 * gdb.mi/vla.c: New file.
23514
23515 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23516
23517 * gdb.base/vla-datatypes.c: New file.
23518 * gdb.base/vla-datatypes.exp: New file.
23519
23520 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23521
23522 * gdb.base/vla-ptr.c: New file.
23523 * gdb.base/vla-ptr.exp: New file.
23524
23525 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23526
23527 * gdb.dwarf2/count.exp: New file.
23528
23529 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23530
23531 * gdb.base/vla-sideeffect.c: New file.
23532 * gdb.base/vla-sideeffect.exp: New file.
23533
23534 2014-04-14 David Blaikie <dblaikie@gmail.com>
23535
23536 * gdb.mi/non-stop.c: Add return value for non-void function return
23537 statement.
23538 * gdb.threads/staticthreads.c: Ditto.
23539
23540 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23541 Doug Evans <xdje42@gmail.com>
23542
23543 * gdb.guile/scm-value.c: Improve test case.
23544 * gdb.guile/scm-value.exp: Add new test.
23545
23546 2014-04-11 David Blaikie <dblaikie@gmail.com>
23547
23548 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23549 override Clang's default.
23550
23551 2014-04-11 Joel Brobecker <brobecker@adacore.com>
23552
23553 Revert the following changes (regressions):
23554
23555 * gdb.base/vla-sideeffect.c: New file.
23556 * gdb.base/vla-sideeffect.exp: New file.
23557
23558 * gdb.dwarf2/count.exp: New file.
23559
23560 * gdb.base/vla-multi.c: New file.
23561 * gdb.base/vla-multi.exp: New file.
23562
23563 * gdb.base/vla-ptr.c: New file.
23564 * gdb.base/vla-ptr.exp: New file.
23565
23566 * gdb.base/vla-datatypes.c: New file.
23567 * gdb.base/vla-datatypes.exp: New file.
23568
23569 * gdb.mi/mi-vla-c99.exp: New file.
23570 * gdb.mi/vla.c: New file.
23571
23572 2014-04-11 Keith Seitz <keiths@redhat.com>
23573
23574 PR c++/16675
23575 * gdb.cp/cpsizeof.exp: New file.
23576 * gdb.cp/cpsizeof.cc: New file.
23577
23578 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23579
23580 * gdb.mi/mi-vla-c99.exp: New file.
23581 * gdb.mi/vla.c: New file.
23582
23583 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23584
23585 * gdb.base/vla-datatypes.c: New file.
23586 * gdb.base/vla-datatypes.exp: New file.
23587
23588 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23589
23590 * gdb.base/vla-ptr.c: New file.
23591 * gdb.base/vla-ptr.exp: New file.
23592
23593 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23594
23595 * gdb.base/vla-multi.c: New file.
23596 * gdb.base/vla-multi.exp: New file.
23597
23598 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23599
23600 * gdb.dwarf2/count.exp: New file.
23601
23602 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23603
23604 * gdb.base/vla-sideeffect.c: New file.
23605 * gdb.base/vla-sideeffect.exp: New file.
23606
23607 2014-04-11 Yao Qi <yao@codesourcery.com>
23608
23609 * gdb.base/completion.exp: Check file exists before running tests
23610 on file completion.
23611
23612 2014-04-10 Pedro Alves <palves@redhat.com>
23613
23614 * gdb.base/cond-eval-mode.c: New file.
23615 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23616 prepare_for_testing to build the new file. Check result of
23617 runto_main.
23618 (test_break, test_watch): New procedures.
23619 (top level): Use them.
23620
23621 2014-04-08 Pierre Muller <muller@sourceware.org>
23622
23623 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23624 Ctrl-V use for mingw hosts.
23625
23626 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23627
23628 * gdb.python/py-value.c: Improve test case.
23629 * gdb.python/py-value.exp: Add new test.
23630
23631 2014-04-07 David Blaikie <dblaikie@gmail.com>
23632
23633 * lib/compiler.c: Identify the clang compiler.
23634 * lib/compiler.cc: Ditto.
23635
23636 2014-04-03 Yao Qi <yao@codesourcery.com>
23637
23638 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23639
23640 2014-04-01 Anton Blanchard <anton@samba.org>
23641
23642 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23643 messages unique.
23644
23645 2014-04-01 Anton Blanchard <anton@samba.org>
23646
23647 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23648 prepare_for_testing.
23649
23650 2014-04-01 Anton Blanchard <anton@samba.org>
23651
23652 * gdb.arch/ppc64-atomic-inst.c: Remove.
23653 * gdb.arch/ppc64-atomic-inst.S: New file.
23654 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23655
23656 2014-03-31 Doug Evans <dje@google.com>
23657
23658 * gdb.base/print-symbol-loading-lib.c: New file.
23659 * gdb.base/print-symbol-loading-main.c: New file.
23660 * gdb.base/print-symbol-loading.exp: New file.
23661
23662 2014-03-31 Yao Qi <yao@codesourcery.com>
23663
23664 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23665
23666 2014-03-28 Joel Brobecker <brobecker@adacore.com>
23667
23668 * gdb.ada/mi_dyn_arr: New testcase.
23669
23670 2014-03-27 Doug Evans <dje@google.com>
23671
23672 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23673
23674 2014-03-27 Yao Qi <yao@codesourcery.com>
23675
23676 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23677 if target is nios2-*-*.
23678
23679 2014-03-26 Yao Qi <yao@codesourcery.com>
23680
23681 * lib/gdb.exp (readline_is_used): New proc.
23682 * gdb.base/completion.exp: Move tests on command complete up.
23683 Skip the rest of tests if readline is not used.
23684 * gdb.ada/complete.exp: Skp the test if readline is not
23685 used.
23686 * gdb.base/filesym.exp: Likewise.
23687 * gdb.base/macscp.exp: Likewise.
23688 * gdb.base/readline-ask.exp: Likewise.
23689 * gdb.base/readline.exp: Likewise.
23690 * gdb.python/py-cmd.exp: Likewise.
23691 * gdb.trace/tfile.exp: Likewise.
23692
23693 2014-03-26 Yao Qi <yao@codesourcery.com>
23694
23695 * gdb.base/macscp.exp: Fix code format issues.
23696
23697 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23698
23699 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23700 * gdb.asm/powerpc64le.inc: New file.
23701
23702 2014-03-25 Pedro Alves <palves@redhat.com>
23703 Doug Evans <dje@google.com>
23704
23705 * gdb.base/source-execution.c: New file.
23706 * gdb.base/source-execution.exp: New file.
23707 * gdb.base/source-execution.gdb: New file.
23708
23709 2014-03-24 Doug Evans <dje@google.com>
23710
23711 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23712 using fission.
23713
23714 2014-03-24 Hui Zhu <hui@codesourcery.com>
23715 Pedro Alves <palves@redhat.com>
23716
23717 PR breakpoints/16101
23718 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23719 test pass/fail messages. Detect missing support for dprintf when
23720 breakpoints are actually inserted.
23721 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23722 breakpoints are actually inserted.
23723 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23724 fails.
23725
23726 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23727
23728 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23729
23730 2014-03-22 Doug Evans <xdje42@gmail.com>
23731
23732 * gdb.python/python.exp (python not supported): Verify multi-line
23733 python command issues an error.
23734 * gdb.guile/guile.exp (guile not supported): Verify multi-line
23735 guile command issues an error.
23736
23737 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23738
23739 * gdb.threads/thread-specific.exp: Handle the lack of usable
23740 $this_breakpoint and $this_thread.
23741
23742 2014-03-21 Hui Zhu <hui@codesourcery.com>
23743
23744 * gdb.base/attach.exp (do_command_attach_tests): New.
23745
23746 2014-03-20 Tom Tromey <tromey@redhat.com>
23747 Pedro Alves <palves@redhat.com>
23748
23749 PR cli/15718
23750 * gdb.base/condbreak-call-false.c: New file.
23751 * gdb.base/condbreak-call-false.exp: New file.
23752
23753 2014-03-20 Pedro Alves <palves@redhat.com>
23754
23755 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23756 Delete.
23757 (block_signals, unblock_signals): Delete.
23758 (child_function_2, main): Remove references to deleted variable
23759 and functions.
23760
23761 2014-03-20 Pedro Alves <palves@redhat.com>
23762
23763 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23764 Use pthread_kill to signal thread 2.
23765 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23766 Adjust to make the test send itself a signal rather than using the
23767 host's "kill" command.
23768
23769 2014-03-20 Pedro Alves <palves@redhat.com>
23770
23771 * gdb.threads/multiple-step-overs.c: New file.
23772 * gdb.threads/multiple-step-overs.exp: New file.
23773 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23774 Adjust expected infrun debug output.
23775
23776 2014-03-20 Pedro Alves <palves@redhat.com>
23777
23778 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23779 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23780
23781 2014-03-20 Pedro Alves <palves@redhat.com>
23782
23783 PR breakpoints/7143
23784 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23785 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23786 of gdb_test_multiple.
23787 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23788 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23789
23790 2014-03-20 Pedro Alves <palves@redhat.com>
23791
23792 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23793 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23794
23795 2014-03-19 Pedro Alves <palves@redhat.com>
23796
23797 * gdb.base/async.exp: Remove early return.
23798
23799 2014-03-19 Pedro Alves <palves@redhat.com>
23800
23801 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23802
23803 2014-03-19 Pedro Alves <palves@redhat.com>
23804
23805 * gdb.base/async.exp (test_background): Expect \r\n after
23806 "completed." in the fail pattern.
23807
23808 2014-03-19 Pedro Alves <palves@redhat.com>
23809
23810 * gdb.base/async.exp (test_background): New procedure.
23811 Use it for all background execution command tests.
23812
23813 2014-03-19 Pedro Alves <palves@redhat.com>
23814
23815 * gdb.base/async.exp: Use prepare_for_testing.
23816
23817 2014-03-19 Pedro Alves <palves@redhat.com>
23818
23819 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23820 the same line.
23821
23822 2014-03-19 Pedro Alves <palves@redhat.com>
23823
23824 * gdb.base/async.c (main): Add "jump here" and "until here" line
23825 marker comments.
23826 * gdb.base/async.exp (jump_here): New global.
23827 (jump& test): Use it.
23828 (until_here): New global.
23829 (until& test): Use it.
23830
23831 2014-03-19 Pedro Alves <palves@redhat.com>
23832
23833 * gdb.base/async.exp: Don't frob gdb_protocol.
23834
23835 2014-03-18 Doug Evans <xdje42@gmail.com>
23836
23837 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23838 Fix spelling of exec-done-display.
23839
23840 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23841
23842 PR gdb/15358
23843 * gdb.base/gdb-sigterm.c: New file.
23844 * gdb.base/gdb-sigterm.exp: New file.
23845
23846 2014-03-18 Pedro Alves <palves@redhat.com>
23847
23848 PR gdb/13860
23849 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23850 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23851 solib-event.
23852
23853 2014-03-17 Joel Brobecker <brobecker@adacore.com>
23854
23855 * gdb.ada/pckd_arr_ren: New testcase.
23856
23857 2014-03-13 Doug Evans <xdje42@gmail.com>
23858
23859 PR guile/16612
23860 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23861 collect after discarding symbols.
23862
23863 2014-03-13 Ludovic Courtès <ludo@gnu.org>
23864 Doug Evans <xdje42@gmail.com>
23865
23866 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23867 to history survives a gc.
23868
23869 2014-03-13 Pedro Alves <palves@redhat.com>
23870
23871 * gdb.base/default.exp: Don't test "target procfs".
23872
23873 2014-03-13 Pedro Alves <palves@redhat.com>
23874
23875 * gdb.base/default.exp: Update "target child" and "target procfs"
23876 tests to not expect "Unix".
23877
23878 2014-03-12 Tom Tromey <tromey@redhat.com>
23879
23880 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23881 New procs. Add target-async tests.
23882 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23883 Add target-async tests.
23884
23885 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23886
23887 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23888 'func_start' and 'func_end' for the beginning and end of the
23889 function code, respectively.
23890 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23891 'func_end' instead of 'func' and 'main'.
23892
23893 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23894
23895 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23896 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23897 generate the debug info assembler source.
23898
23899 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23900
23901 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23902 * gdb.dwarf2/arr-subrange.exp: Likewise.
23903 * gdb.dwarf2/dwz.exp: Likewise.
23904 * gdb.dwarf2/method-ptr.exp: Likewise.
23905 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23906 * gdb.dwarf2/subrange.exp: Likewise.
23907 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23908 * gdb.dwarf2/implptrpiece.exp: Likewise.
23909 * gdb.dwarf2/nostaticblock.exp: Likewise.
23910
23911 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23912
23913 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23914 directory to absolute path name arguments.
23915
23916 2014-03-10 Joel Brobecker <brobecker@adacore.com>
23917
23918 * gdb.ada/tagged_access: New testcase.
23919
23920 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23921
23922 * gdb.btrace/data.exp: Update expected output.
23923
23924 2014-03-06 Yao Qi <yao@codesourcery.com>
23925
23926 * gdb.trace/pr16508.exp: New file.
23927
23928 2014-03-05 Pedro Alves <palves@redhat.com>
23929
23930 PR gdb/16575
23931 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23932 procedure.
23933 (top level): Adjust to use it. Add tests that exercise breakpoint
23934 interaction with the code-cache.
23935
23936 2014-02-26 Ludovic Courtès <ludo@gnu.org>
23937
23938 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23939 test for 'history-append!'.
23940
23941 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23942
23943 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23944 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23945 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23946 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23947 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23948 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23949
23950 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23951
23952 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23953 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23954 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23955
23956 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23957
23958 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23959
23960 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23961
23962 * gdb.dwarf2/arr-stride.c: New file.
23963 * gdb.dwarf2/arr-stride.exp: New file.
23964
23965 2014-02-26 Pedro Alves <palves@redhat.com>
23966
23967 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23968 that won't ever trigger. Make sure that GDB reports the correct
23969 breakpoint that caused the stop.
23970
23971 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23972
23973 PR gdb/16626
23974 * gdb.base/auto-load-script: New file.
23975 * gdb.base/auto-load.c: New file.
23976 * gdb.base/auto-load.exp: New file.
23977
23978 PR gdb/16626
23979 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23980
23981 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23982
23983 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23984 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23985
23986 2014-02-24 Doug Evans <dje@google.com>
23987
23988 * lib/gdb.exp (run_on_host): Log error output if program fails.
23989
23990 2014-02-21 Pedro Alves <palves@redhat.com>
23991
23992 * gdb.threads/step-after-sr-lock.c: Rename to ...
23993 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23994 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23995 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23996 ... this.
23997
23998 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23999
24000 PR tdep/16397
24001 * gdb.arch/amd64-stap-special-operands.exp: New file.
24002 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
24003 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
24004 * gdb.arch/amd64-stap-triplet.S: Likewise.
24005 * gdb.arch/amd64-stap-triplet.c: Likewise.
24006
24007 2014-02-20 Joel Brobecker <brobecker@adacore.com>
24008
24009 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
24010 in .section pseudo-op.
24011
24012 2014-02-20 lin zuojian <manjian2006@gmail.com>
24013 Joel Brobecker <brobecker@adacore.com>
24014 Doug Evans <xdje42@gmail.com>
24015
24016 PR symtab/16581
24017 * gdb.dwarf2/dw2-icycle.S: New file.
24018 * gdb.dwarf2/dw2-icycle.c: New file.
24019 * gdb.dwarf2/dw2-icycle.exp: New file.
24020
24021 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
24022
24023 * gdb.python/py-value-cc.cc: Improve test case to enable testing
24024 operations on gdb.Value objects.
24025 * gdb.python/py-value-cc.exp: Add new test to test operations on
24026 gdb.Value objects.
24027
24028 2014-02-18 Doug Evans <dje@google.com>
24029
24030 * Makefile.in (TESTS): New variable.
24031 (expanded_tests, expanded_tests_or_none): New variables
24032 (check-single): Pass $(expanded_tests_or_none) to runtest.
24033 (check-parallel): Only run tests in $(TESTS) if non-empty.
24034 (check/no-matching-tests-found): New rule.
24035 * README: Document TESTS makefile variable.
24036
24037 2014-02-18 Doug Evans <dje@google.com>
24038
24039 * Makefile.in (check-parallel): rm -rf outputs temp.
24040
24041 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24042
24043 Fix "ERROR: no fileid for" in the testsuite.
24044 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
24045
24046 2014-02-12 Doug Evans <dje@google.com>
24047
24048 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
24049 (MISCELLANEOUS): New variable.
24050 (clean): rm -rf $(MISCELLANEOUS).
24051 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
24052 dwp live in the same directory as symlinks, with each symlink pointed
24053 to a differently named file in a different directory.
24054
24055 2014-02-11 Doug Evans <dje@google.com>
24056
24057 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
24058 of Tcl file commands.
24059
24060 2014-02-10 Mark Kettenis <kettenis@gnu.org>
24061
24062 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24063 "kill -SIGUSR1 -1".
24064
24065 2014-02-10 Joel Brobecker <brobecker@adacore.com>
24066
24067 * gdb.ada/tick_length_array_enum_idx: New testcase.
24068
24069 2014-02-10 Doug Evans <xdje42@gmail.com>
24070
24071 * configure.ac (AC_OUTPUT): Add gdb.guile.
24072 * configure: Regenerate.
24073 * lib/gdb-guile.exp: New file.
24074 * lib/gdb.exp (get_target_charset): New function.
24075 * gdb.base/help.exp: Update expected output from "apropos apropos".
24076 * gdb.guile/Makefile.in: New file.
24077 * gdb.guile/guile.exp: New file.
24078 * gdb.guile/scm-arch.c: New file.
24079 * gdb.guile/scm-arch.exp: New file.
24080 * gdb.guile/scm-block.c: New file.
24081 * gdb.guile/scm-block.exp: New file.
24082 * gdb.guile/scm-breakpoint.c: New file.
24083 * gdb.guile/scm-breakpoint.exp: New file.
24084 * gdb.guile/scm-disasm.c: New file.
24085 * gdb.guile/scm-disasm.exp: New file.
24086 * gdb.guile/scm-equal.c: New file.
24087 * gdb.guile/scm-equal.exp: New file.
24088 * gdb.guile/scm-error.exp: New file.
24089 * gdb.guile/scm-error.scm: New file.
24090 * gdb.guile/scm-frame-args.c: New file.
24091 * gdb.guile/scm-frame-args.exp: New file.
24092 * gdb.guile/scm-frame-args.scm: New file.
24093 * gdb.guile/scm-frame-inline.c: New file.
24094 * gdb.guile/scm-frame-inline.exp: New file.
24095 * gdb.guile/scm-frame.c: New file.
24096 * gdb.guile/scm-frame.exp: New file.
24097 * gdb.guile/scm-generics.exp: New file.
24098 * gdb.guile/scm-gsmob.exp: New file.
24099 * gdb.guile/scm-iterator.c: New file.
24100 * gdb.guile/scm-iterator.exp: New file.
24101 * gdb.guile/scm-math.c: New file.
24102 * gdb.guile/scm-math.exp: New file.
24103 * gdb.guile/scm-objfile-script-gdb.in: New file.
24104 * gdb.guile/scm-objfile-script.c: New file.
24105 * gdb.guile/scm-objfile-script.exp: New file.
24106 * gdb.guile/scm-objfile.c: New file.
24107 * gdb.guile/scm-objfile.exp: New file.
24108 * gdb.guile/scm-ports.exp: New file.
24109 * gdb.guile/scm-pretty-print.c: New file.
24110 * gdb.guile/scm-pretty-print.exp: New file.
24111 * gdb.guile/scm-pretty-print.scm: New file.
24112 * gdb.guile/scm-section-script.c: New file.
24113 * gdb.guile/scm-section-script.exp: New file.
24114 * gdb.guile/scm-section-script.scm: New file.
24115 * gdb.guile/scm-symbol.c: New file.
24116 * gdb.guile/scm-symbol.exp: New file.
24117 * gdb.guile/scm-symtab-2.c: New file.
24118 * gdb.guile/scm-symtab.c: New file.
24119 * gdb.guile/scm-symtab.exp: New file.
24120 * gdb.guile/scm-type.c: New file.
24121 * gdb.guile/scm-type.exp: New file.
24122 * gdb.guile/scm-value-cc.cc: New file.
24123 * gdb.guile/scm-value-cc.exp: New file.
24124 * gdb.guile/scm-value.c: New file.
24125 * gdb.guile/scm-value.exp: New file.
24126 * gdb.guile/source2.scm: New file.
24127 * gdb.guile/types-module.cc: New file.
24128 * gdb.guile/types-module.exp: New file.
24129
24130 2014-02-10 Yao Qi <yao@codesourcery.com>
24131
24132 PR testsuite/16543
24133 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24134 * configure: Regenerated.
24135 * Makefile.in: New file.
24136
24137 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24138
24139 * gdb.python/py-framefilter.exp: Fix typo.
24140
24141 2014-02-08 Yao Qi <yao@codesourcery.com>
24142
24143 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24144 that no =breakpoint-modified is emitted when breakpoints are
24145 modified through MI commands.
24146
24147 2014-02-07 Pedro Alves <pedro@codesourcery.com>
24148 Pedro Alves <palves@redhat.com>
24149
24150 * gdb.threads/step-after-sr-lock.c: New file.
24151 * gdb.threads/step-after-sr-lock.exp: New file.
24152
24153 2014-02-07 Pedro Alves <palves@redhat.com>
24154
24155 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24156
24157 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24158
24159 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24160 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24161
24162 2014-02-06 Doug Evans <xdje42@gmail.com>
24163
24164 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24165 output.
24166
24167 * gdb.gdb/python-interrupts.exp: New file.
24168
24169 2014-02-05 Yao Qi <yao@codesourcery.com>
24170
24171 * gdb.trace/report.exp (use_collected_data): Test the output
24172 of "info threads" and "info inferiors".
24173
24174 2014-02-05 Yao Qi <yao@codesourcery.com>
24175
24176 Revert this patch:
24177
24178 2013-05-24 Yao Qi <yao@codesourcery.com>
24179
24180 * gdb.trace/tfile.exp: Test inferior and thread.
24181
24182 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24183
24184 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24185 on a function.
24186 * gdb.base/step-bt.c: Call hello via function pointer to make
24187 sure its first instruction is executed on powerpc64le-linux.
24188
24189 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24190
24191 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24192
24193 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24194
24195 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24196 of the test patterns for use on little-endian systems.
24197
24198 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24199
24200 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24201 (decimal_vector): Fix for little-endian.
24202
24203 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24204
24205 * gdb.arch/sparc-sysstep.exp: New file.
24206 * gdb.arch/sparc-sysstep.c: Likewise.
24207
24208 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24209
24210 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24211
24212 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24213
24214 2014-01-23 Tom Tromey <tromey@redhat.com>
24215
24216 * gdb.ada/array_char_idx: New testcase.
24217
24218 2014-01-23 Tom Tromey <tromey@redhat.com>
24219
24220 PR python/16487:
24221 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24222 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24223 classes.
24224
24225 2014-01-23 Tom Tromey <tromey@redhat.com>
24226
24227 PR python/16491:
24228 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24229 string from an inferior frame.
24230 * gdb.python/py-framefilter-mi.exp: Update.
24231
24232 2014-01-22 Doug Evans <dje@google.com>
24233
24234 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24235
24236 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24237
24238 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24239
24240 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24241
24242 * gdb.trace/entry-values.exp: Remove excess space character from
24243 regex patterns. Handle s390 call instruction.
24244
24245 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24246
24247 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24248 define "*_start" label. Make "name" static.
24249 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24250 ${name} by references to ${name}_start.
24251
24252 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24253
24254 * gdb.base/info-macros.exp: Remove "debug" from the compile
24255 options.
24256
24257 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24258
24259 * gdb.dlang/demangle.exp: New file.
24260
24261 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24262
24263 * gdb.dlang/primitive-types.exp: New file.
24264
24265 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24266
24267 * configure.ac: Create gdb.dlang/Makefile.
24268 * configure: Regenerate.
24269 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24270 * gdb.dlang/Makefile.in: New file.
24271 * lib/d-support.exp: New file.
24272 * lib/gdb.exp (skip_d_tests): New proc.
24273
24274 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24275
24276 * gdb.btrace/delta.exp: Check reverse stepi.
24277 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24278 * gdb.btrace/finish.exp: New.
24279 * gdb.btrace/next.exp: New.
24280 * gdb.btrace/nexti.exp: New.
24281 * gdb.btrace/record_goto.c: Add comments.
24282 * gdb.btrace/step.exp: New.
24283 * gdb.btrace/stepi.exp: New.
24284 * gdb.btrace/multi-thread-step.c: New.
24285 * gdb.btrace/multi-thread-step.exp: New.
24286 * gdb.btrace/rn-dl-bind.c: New.
24287 * gdb.btrace/rn-dl-bind.exp: New.
24288 * gdb.btrace/data.c: New.
24289 * gdb.btrace/data.exp: New.
24290 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24291
24292 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24293
24294 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24295 * gdb.btrace/exception.exp: Update.
24296 * gdb.btrace/instruction_history.exp: Update.
24297 * gdb.btrace/record_goto.exp: Update.
24298 * gdb.btrace/tailcall.exp: Update.
24299 * gdb.btrace/unknown_functions.exp: Update.
24300 * gdb.btrace/delta.exp: New.
24301
24302 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24303
24304 * gdb.btrace/record_goto.exp: Add backtrace test.
24305 * gdb.btrace/tailcall.exp: Add backtrace test.
24306
24307 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24308
24309 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24310 * gdb.btrace/record_goto.c: New.
24311 * gdb.btrace/record_goto.exp: New.
24312 * gdb.btrace/x86-record_goto.S: New.
24313
24314 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24315
24316 * gdb.btrace/function_call_history.exp: Update tests.
24317 * gdb.btrace/instruction_history.exp: Update tests.
24318
24319 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24320
24321 * gdb.btrace/function_call_history.exp: Fix expected field
24322 order for "record function-call-history".
24323 Add new tests for "record function-call-history /c".
24324 * gdb.btrace/exception.cc: New.
24325 * gdb.btrace/exception.exp: New.
24326 * gdb.btrace/tailcall.exp: New.
24327 * gdb.btrace/x86-tailcall.S: New.
24328 * gdb.btrace/x86-tailcall.c: New.
24329 * gdb.btrace/unknown_functions.c: New.
24330 * gdb.btrace/unknown_functions.exp: New.
24331 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24332
24333 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24334
24335 * gdb.btrace/instruction_history.exp: Update.
24336 * gdb.btrace/function_call_history.exp: Update.
24337
24338 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24339
24340 * gdb.btrace/function_call_history.exp: Fix expected function
24341 trace.
24342 * gdb.btrace/instruction_history.exp: Initialize traced.
24343 Remove traced_functions.
24344
24345 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24346
24347 * gdb.btrace/function_call_history.exp: Update
24348 * gdb.btrace/instruction_history.exp: Update.
24349
24350 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24351
24352 * gdb.btrace/enable.exp: Update expected text.
24353
24354 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24355
24356 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24357 bytes.
24358
24359 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24360
24361 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24362
24363 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
24364
24365 * lib/gdb.exp (supports_process_record): Return true for
24366 arm*-linux*. (supports_reverse): Likewise.
24367
24368 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24369
24370 PR python/15464
24371 PR python/16113
24372 * gdb.python/py-type.c: Enhance test case.
24373 * gdb.python/py-value-cc.cc: Likewise
24374 * gdb.python/py-type.exp: Add new tests.
24375 * gdb.python/py-value-cc.exp: Likewise
24376
24377 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24378 Pedro Alves <palves@redhat.com>
24379
24380 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24381 Make "name" extern.
24382 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24383 references to ${name}_start by references to ${name}.
24384
24385 2014-01-10 Joel Brobecker <brobecker@adacore.com>
24386
24387 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24388
24389 2014-01-10 Joel Brobecker <brobecker@adacore.com>
24390
24391 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24392
24393 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24394 Pedro Alves <palves@redhat.com>
24395
24396 * gdb.mi/mi-info-os.exp: Connect to the target with
24397 mi_gdb_target_load.
24398
24399 2014-01-08 Pedro Alves <palves@redhat.com>
24400
24401 * gdb.threads/reconnect-signal.c: New file.
24402 * gdb.threads/reconnect-signal.exp: New file.
24403
24404 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24405
24406 * gdb.base/source-dir.exp: New file.
24407
24408 2014-01-07 Joel Brobecker <brobecker@adacore.com>
24409
24410 * gdb.ada/mi_interface: New testcase.
24411
24412 2014-01-07 Joel Brobecker <brobecker@adacore.com>
24413
24414 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24415 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24416 gdb.ada/pp-rec-component/pck.ads: New files.
24417
24418 2014-01-07 Joel Brobecker <brobecker@adacore.com>
24419
24420 * gdb.python/py-pp-integral.c: New file.
24421 * gdb.python/py-pp-integral.py: New file.
24422 * gdb.python/py-pp-integral.exp: New file.
24423
24424 For older changes see ChangeLog-1993-2013.
24425 \f
24426 ;; Local Variables:
24427 ;; mode: change-log
24428 ;; left-margin: 8
24429 ;; fill-column: 74
24430 ;; version-control: never
24431 ;; End:
24432
24433 Copyright 2014-2021 Free Software Foundation, Inc.
24434 Copying and distribution of this file, with or without modification,
24435 are permitted provided the copyright notice and this notice are preserved.