326ba47961f8d65acda18b14fbbe85d59a395ce9
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * gdb.python/py-type.exp (test_fields): Test calling fields on
4 an int type.
5
6 2021-05-04 Simon Marchi <simon.marchi@efficios.com>
7
8 * gdb.python/flexible-array-member.exp: Adjust expected range
9 value for member declared with 0 size. Test accessing range
10 tuple through range type.
11
12 2021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
13
14 PR testsuite/27788
15 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
16 expected results when environment variable PYTHONDONTWRITEBYTECODE
17 is set.
18
19 2021-04-30 Tom Tromey <tromey@adacore.com>
20
21 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
22 (Confused_Array): New types.
23 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
24 * gdb.ada/enum_idx_packed.exp: Add new tests.
25
26 2021-04-30 Tom de Vries <tdevries@suse.de>
27
28 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
29 existing timeout factors.
30
31 2021-04-30 Tom de Vries <tdevries@suse.de>
32
33 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
34
35 2021-04-29 Tom de Vries <tdevries@suse.de>
36
37 PR testsuite/27786
38 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
39 remotetimeout to 4.
40
41 2021-04-28 Tom Tromey <tromey@adacore.com>
42
43 * gdb.ada/null_overload.exp: New file.
44 * gdb.ada/null_overload/foo.adb: New file.
45
46 2021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
47
48 * gdb.python/py-startup-opt.exp: New file.
49
50 2021-04-27 Luis Machado <luis.machado@linaro.org>
51
52 * gdb.base/maint.exp: Drop a pattern that is not needed.
53 * lib/gdb.exp (readnow): Match line-by-line.
54
55 2021-04-27 Luis Machado <luis.machado@linaro.org>
56
57 * gdb.xml/tdesc-reload.exp: Pass -lbl.
58
59 2021-04-27 Michael Weghorn <m.weghorn@posteo.de>
60 Simon Marchi <simon.marchi@polymtl.ca>
61
62 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
63 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
64 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
65 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
66 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
67 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
68
69 2021-04-26 Tom Tromey <tromey@adacore.com>
70
71 PR gdb/27743:
72 * gdb.dwarf2/imported-unit-bp.exp: New file.
73 * gdb.dwarf2/imported-unit-bp-main.c: New file.
74 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
75
76 2021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
77
78 PR gdb/27773
79 * gdb.base/dump.exp: Test dump to non-existent dir.
80
81 2021-04-26 Luis Machado <luis.machado@linaro.org>
82
83 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
84 comparison.
85
86 2021-04-25 Lancelot Six <lsix@lancelotsix.com>
87
88 PR gdb/22640
89 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
90 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
91 changes the default behavior of 'ptype/o'. Update to take into
92 account new horizontal layout.
93 * gdb.rust/simple.exp: Update ptype test to check new horizontal
94 layout.
95 * gdb.rust/union.exp: Same.
96
97 2021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
98
99 * gdb.base/info_sources.exp: Add new tests.
100
101 2021-04-22 Tom Tromey <tom@tromey.com>
102
103 * gdb.base/ptype-offsets.cc (struct empty_member): New.
104 (main): Use empty_member.
105 * gdb.base/ptype-offsets.exp: Add new test.
106
107 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
108
109 * gdb.python/flexible-array-member.exp: Add check for Python
110 support.
111
112 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
113
114 PR gdb/27757
115 * gdb.python/flexible-array-member.c: New test.
116 * gdb.python/flexible-array-member.exp: New test.
117 * gdb.guile/scm-type.exp (test_range): Add test for flexible
118 array member.
119 * gdb.guile/scm-type.c (struct flex_member): New.
120 (main): Use it.
121
122 2021-04-22 Tom Tromey <tom@tromey.com>
123
124 * gdb.rust/modules.exp: Add checks for syntax errors.
125 * gdb.rust/expr.exp: Add checks for syntax errors.
126 * gdb.rust/simple.exp: Add checks for syntax errors.
127
128 2021-04-21 Carl Love <cel@us.ibm.com>
129
130 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
131 Update expected string for gdb_test "bt".
132
133 * lib/valgrind.exp: Add set remotetimeout 3.
134 Increase vgdb wait from 1 to 2.
135 Add max-invoke-ms option to vgdb command line.
136
137 2021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
138
139 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
140 conditions.
141
142 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
143 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
144
145 * gdb.mi/mi-break.exp: Fix the duplicate test names.
146
147 2021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
148
149 * gdb.base/address_space_qualifier.exp: New file.
150
151 2021-04-19 Tom Tromey <tromey@adacore.com>
152
153 PR gdb/27742:
154 * gdb.opt/inline-locals.exp: Update kfail patterns.
155
156 2021-04-17 Tom Tromey <tom@tromey.com>
157
158 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
159
160 2021-04-16 Tom Tromey <tom@tromey.com>
161
162 * gdb.rust/simple.exp: Change error text.
163 * gdb.rust/expr.exp: Change error text.
164
165 2021-04-16 Tom Tromey <tom@tromey.com>
166
167 * gdb.rust/simple.exp: Add parens to 'as' test.
168
169 2021-04-16 Simon Marchi <simon.marchi@efficios.com>
170
171 * boards/simavr.exp: Set debug_flags.
172
173 2021-04-16 Luis Machado <luis.machado@linaro.org>
174
175 * gdb.dwarf2/dw2-bfloat16.exp: New file.
176
177 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
178
179 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
180 including a path in the test name.
181
182 2021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
183
184 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
185
186 2021-04-15 Tom Tromey <tromey@adacore.com>
187
188 * gdb.dwarf2/arr-stride.exp: Add test.
189
190 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
191
192 * gdb.base/startup-file.exp: Add more tests.
193
194 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
195
196 PR cli/25956
197 * gdb.base/early-init-file.c: New file.
198 * gdb.base/early-init-file.exp: New file.
199 * lib/gdb-utils.exp (style): Handle style 'none'.
200
201 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
202
203 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
204 @DW_INL_declared_inlined for the inline attribute.
205
206 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
207
208 * gdb.opt/inline-locals.c (scoped): New function.
209 (main): Call 'scoped'.
210 * gdb.opt/inline-locals.exp: Update with "info locals" tests
211 for scoped variables.
212 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
213 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
214
215 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
216
217 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
218
219 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
220
221 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
222
223 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
224
225 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
226 non-relative plxv instructions.
227 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
228
229 2021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
230
231 PR gdb/27525
232 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
233 exercise single-stepping over subpcis,lnia,addpcis instructions
234 with displacement.
235 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
236 of addpcis/lnia/subpcis instructions.
237 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
238 exercise single-stepping over lnia instructions with displacement.
239 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
240 lnia instructions.
241
242 2021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
243
244 * gdb.arch/powerpc-power10.s: New test for instructions.
245 * gdb.arch/powerpc-power10.exp: Harness to run the test.
246
247 2021-4-12 Carl Love <cel@us.ibm.com>
248
249 * gdb.arch/vsx-vsr-float128.c: New test file.
250 * gdb.arch/vsx-vsr-float128.exp: New expect file.
251
252 2021-04-12 Markus Metzger <markus.t.metzger@intel.com>
253
254 * gdb.btrace/reconnect.exp: Relax expected stepi output.
255
256 2021-04-07 Weimin Pan <weimin.pan@oracle.com>
257
258 * gdb.base/ctf-ptype.c: Add struct link containing a forward
259 reference type.
260 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
261
262 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
263
264 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
265 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
266
267 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * gdb.cp/rvalue-ref-params.cc (f3): New function.
270 (f4): New function.
271 (global_int): New global variable.
272 (global_float): Likeiwse.
273 (main): Call both new functions.
274 * gdb.cp/rvalue-ref-params.exp: Add new tests.
275
276 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
277
278 * gdb.dwarf2/fission-relative-dwo.c: New file.
279 * gdb.dwarf2/fission-relative-dwo.exp: New file.
280
281 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
282
283 * gdb.dwarf2/fission-absolute-dwo.c: New file.
284 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
285 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
286 instead of build_executable_from_fission_assembler.
287 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
288 * gdb.dwarf2/fission-loclists.exp: Likewise.
289
290 * gdb.dwarf2/fission-multi-cu.S: Delete file.
291 * gdb.dwarf2/fission-multi-cu.c: New file based on old
292 fission-multi-cu1.c and fission-multi-cu2.c files.
293 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
294 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
295 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
296 * gdb.dwarf2/fission-reread.exp: Likewise.
297 * lib/dwarf.exp (extract_dwo_information): New proc.
298 (strip_dwo_information): New proc.
299 (build_executable_and_dwo_files): New proc.
300 (build_executable_from_fission_assembler): Delete.
301 (Dwarf::_debug_addr_index): New variable.
302 (Dwarf::_cu_is_fission): New variable.
303 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
304 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
305 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
306 if this is a fission CU.
307 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
308 (Dwarf::debug_addr_label): New proc.
309 (Dwarf::cu): Initialise _cu_is_fission.
310 (Dwarf::tu): Likewise.
311 (Dwarf::assemble): Initialise _debug_addr_index.
312
313 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
314
315 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
316
317 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
318
319 * gdb.python/py-parameter.exp: Add test for reading data-directory
320 using gdb.parameter API.
321
322 2021-04-06 Tom de Vries <tdevries@suse.de>
323
324 PR breakpoints/25884
325 * gdb.opt/inline-cmds.exp: Remove kfail.
326
327 2021-04-06 Tom de Vries <tdevries@suse.de>
328
329 PR testsuite/27691
330 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
331 file "".
332
333 2021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
334
335 * lib/pdtrace.in: Fix obvious typo.
336
337 2021-03-31 Tom Tromey <tromey@adacore.com>
338
339 * lib/dwarf.exp (Dwarf::_get_args): New proc.
340 (Dwarf::_location): Use it.
341
342 2021-03-31 Tom de Vries <tdevries@suse.de>
343
344 PR testsuite/27667
345 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
346
347 2021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
348
349 PR gdb/27541
350 * gdb.base/index-cache-load-twice.exp: Remove.
351 * gdb.base/index-cache-load-twice.c: Remove.
352 * gdb.dwarf2/per-bfd-sharing.exp: New.
353 * gdb.dwarf2/per-bfd-sharing.c: New.
354
355 2021-03-30 Tom de Vries <tdevries@suse.de>
356
357 PR testsuite/27604
358 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
359
360 2021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
361
362 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
363 the infinite loop to avoid a Clang bug.
364
365 2021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
366
367 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
368 names for uniqueness.
369 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
370 uniqueness.
371
372 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
373
374 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
375 member.
376 (make_container): Initialise is_array_p.
377 * gdb.python/py-prettyprint.exp: Add new tests.
378 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
379 Check is_array_p and possibly return 'array'.
380
381 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
382
383 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
384 * gdb.cp/casts.exp: Give tests unique names.
385 * gdb.cp/filename.exp: Likewise.
386 * gdb.cp/gdb2495.exp: Likewise.
387 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
388 * gdb.cp/misc.exp: Rename test to make it unique.
389 * gdb.cp/nsnested.exp: Give tests unique names.
390 * gdb.cp/ovldbreak.exp: Likewise.
391 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
392 being tested. This also removes the duplicate test name.
393 * gdb.cp/ref-types.exp: Likewise.
394 * gdb.cp/temargs.exp: Likewise.
395
396 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
397
398 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
399 square brackets in test.
400
401 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
402
403 * gdb.cp/maint.exp (test_first_component): Run more tests with a
404 variable number of spaces, this removes the duplicate testing of
405 'operator ->' which existed before.
406
407 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
408
409 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
410 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
411 duplicates, and also to avoid having a string inside parentheses
412 at the end of test names.
413
414 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
415
416 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
417 Avoid repeated uses of 'runto', and instread just progress once
418 through the test stopping at different breakpoints. Give comments
419 a capital letter and full stop. Give duplicate tests unique names.
420
421 2021-03-25 Pedro Alves <pedro@palves.net>
422
423 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
424 "target_non_stop" parameter and use it.
425 (top level): Add "maint set target-non-stop on/off" testing axis.
426
427 2021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
428
429 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
430 gdb_test_multiple.
431
432 2021-03-24 Luis Machado <luis.machado@linaro.org>
433
434 * gdb.arch/aarch64-mte.c: New file.
435 * gdb.arch/aarch64-mte.exp: New test.
436 * gdb.base/memtag.c: New file.
437 * gdb.base/memtag.exp: New test.
438 * lib/gdb.exp (supports_memtag): New function.
439
440 2021-03-24 Luis Machado <luis.machado@linaro.org>
441
442 * gdb.base/options.exp: Adjust for new print options.
443 * gdb.base/with.exp: Likewise.
444
445 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
446
447 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
448 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
449
450 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
451
452 * gdb.dwarf2/dw2-using-debug-str.c: New file.
453 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
454 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
455 not .debug_string.
456
457 2021-03-20 Tom Tromey <tom@tromey.com>
458
459 * gdb.base/maint.exp: Update "maint print statistics" output.
460
461 2021-03-19 Kevin Buettner <kevinb@redhat.com>
462
463 * lib/gdbserver-support.exp (gdbserver_exit): Use the
464 "-nowait" flag when waiting for gdbserver to exit.
465
466 2021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
467
468 * gdb.base/info-macros.exp: Append -fdebug-macro to
469 additional_flags for clang.
470 * gdb.base/macscp.exp: Likewise.
471 * gdb.base/style.exp: Likewise.
472 * gdb.linespec/macro-relative.exp: Likewise.
473
474 2021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
475 Pedro Alves <pedro@palves.net>
476
477 * gdb.base/run-attach-while-running.exp: New.
478 * gdb.base/run-attach-while-running.c: New.
479
480 2021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
481
482 * gdb.python/py-framefilter-addr.c: New file.
483 * gdb.python/py-framefilter-addr.exp: New file.
484 * gdb.python/py-framefilter-addr.py: New file.
485
486 2021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
487
488 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
489 Make use of $gdb_test_name instead of creating a separate $test
490 variable.
491 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
492 adding a '($name)' at the end of each test. This also catches the
493 one place where '($name)' was missing, and so caused a duplicate
494 test name.
495 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
496 duplicate test names based on the command being tested.
497 * gdb.threads/signal-command-multiple-signals-pending.exp:
498 Likewise.
499 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
500 avoid duplicate testnames when a test script uses this proc and
501 also gdb_compile_pthreads.
502 * lib/prelink-support.exp (build_executable_own_libs): Use
503 with_test_prefix to avoid duplicate test names when we call
504 build_executable twice.
505
506 2021-03-15 Tom Tromey <tromey@adacore.com>
507
508 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
509
510 2021-03-15 Tom Tromey <tromey@adacore.com>
511
512 * gdb.ada/varsize_limit.exp: Add new test.
513 * gdb.ada/varsize_limit/vsizelim.adb: Update.
514
515 2021-03-15 Tom Tromey <tromey@adacore.com>
516
517 * gdb.ada/operator_call/twovecs.ads: New file.
518 * gdb.ada/operator_call/twovecs.adb: New file.
519 * gdb.ada/operator_call/opcall.adb: New file.
520 * gdb.ada/operator_call.exp: New file.
521
522 2021-03-15 Tom Tromey <tromey@adacore.com>
523
524 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
525 * gdb.ada/enums_overload/enums_overload.ads: New file.
526 * gdb.ada/enums_overload/enums_overload.adb: New file.
527 * gdb.ada/enums_overload.exp: New file.
528
529 2021-03-15 Tom Tromey <tromey@adacore.com>
530
531 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
532 Declare.
533 * gdb.ada/assign_arr/target_wrapper.adb: New file.
534 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
535 Call Put.
536 * gdb.ada/assign_arr.exp: Update.
537
538 2021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
539
540 * gdb.python/py-auto-load-chaining-f1.c: New file.
541 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
542 * gdb.python/py-auto-load-chaining-f2.c: New file.
543 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
544 * gdb.python/py-auto-load-chaining.c: New file.
545 * gdb.python/py-auto-load-chaining.exp: New file.
546
547 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
548
549 * gdb.python/py-bad-printers.exp: Extend test names to make them
550 unique.
551 * gdb.python/py-events.exp: Likewise.
552 * gdb.python/py-finish-breakpoint2.exp: Likewise.
553 * gdb.python/py-frame-inline.exp: Likewise.
554 * gdb.python/py-frame.exp: Likewise.
555 * gdb.python/py-infthread.exp: Likewise.
556
557 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
558
559 * gdb.python/py-value-cc.exp: Remove a duplicate test.
560
561 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
562
563 * gdb.python/lib-types.exp: Update the test to check the correct
564 python variable.
565
566 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
567
568 * gdb.python/py-explore-cc.exp: Extend test names to make them
569 unique.
570
571 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
572
573 * gdb.python/py-lookup-type.exp: Remove duplicate test.
574
575 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
576
577 * gdb.python/py-symtab.exp: Extend test names to make them
578 unique.
579
580 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
581
582 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
583 names unique.
584
585 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
586
587 * gdb.python/py-block.exp: Give tests unique names.
588
589 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
590
591 * gdb.python/py-pp-maint.exp: Extend test names to make them
592 unique.
593
594 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
595
596 * gdb.python/py-explore.exp: Add with_test_prefix to make test
597 names unique.
598
599 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
600
601 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
602
603 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
604
605 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
606 names unique.
607
608 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
609
610 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
611 test names unique.
612
613 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
614
615 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
616 unique.
617
618 2021-03-09 Tom Tromey <tromey@adacore.com>
619
620 * gdb.base/cast-call.exp: New file.
621 * gdb.base/cast-call.c: New file.
622
623 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
624
625 * gdb.gdb/python-helper.exp: New file.
626
627 2020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
628
629 * gdb.fortran/intrinsics.exp: Add LOC tests.
630
631 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
632
633 * gdb.fortran/shape.exp: New file.
634 * gdb.fortran/shape.f90: New file.
635
636 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
637
638 * gdb.fortran/size.exp: New file.
639 * gdb.fortran/size.f90: New file.
640
641 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
642
643 * gdb.fortran/rank.exp: New file.
644 * gdb.fortran/rank.f90: New file.
645
646 2021-03-08 Tom Tromey <tom@tromey.com>
647
648 * gdb.fortran/debug-expr.exp: Update tests.
649
650 2021-03-08 Tom Tromey <tom@tromey.com>
651
652 * gdb.base/debug-expr.exp: Update expected dump output.
653
654 2021-03-06 Tom Tromey <tom@tromey.com>
655
656 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
657 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
658 * gdb.dwarf2/dwznolink.exp: New file.
659
660 2021-03-05 Mark Wielaard <mark@klomp.org>
661
662 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
663
664 2021-03-06 Weimin Pan <weimin.pan@oracle.com>
665
666 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
667
668 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
669
670 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
671
672 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
673
674 * gdb.btrace/non-stop.exp: Adjust expected source lines.
675
676 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
677
678 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
679
680 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
681
682 * gdb.btrace/exception.cc (main): Update test source.
683 * gdb.btrace/exception.exp: Update patterns.
684 * gdb.btrace/function_call_history.exp: Likewise.
685
686 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
687
688 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
689
690 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
691
692 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
693 reverse-continue to breakpoint.
694
695 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
696
697 * gdb.btrace/delta.exp: Remove instruction-history and
698 function-call-history checks.
699
700 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
701
702 * README (Note): Add nopie_ldflag.
703 * lib/gdb.exp (gdb_compile): Extend nopie handling.
704
705 2021-03-02 Tom Tromey <tromey@adacore.com>
706
707 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
708 encodings.
709
710 2021-02-27 Lancelot Six <lsix@lancelotix.com>
711
712 PR gdb/27393
713 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
714
715
716 2021-02-26 Tom Tromey <tom@tromey.com>
717
718 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
719
720 2021-02-26 Jan Vrany <jan.vrany@labware.com>
721
722 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
723 Remove trailing \n from expected output.
724
725 2021-02-26 Markus Metzger <markus.t.metzger@intel.com>
726
727 * lib/gdb.exp (use_gdb_stub): Extend comment.
728
729 2021-02-25 Jan Matyas <jmatyas@codasip.com>
730
731 PR gdb/26819
732 * gdb.server/stop-reply-no-thread.exp: Add two test
733 scenarios that cover remote targets which do not have
734 the concept of threads.
735
736 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
737
738 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
739
740 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
741
742 PR fortran/26155
743 * gdb.fortran/call-no-debug-func.f90: New file.
744 * gdb.fortran/call-no-debug-prog.f90: New file.
745 * gdb.fortran/call-no-debug.exp: New file.
746
747 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
748
749 * gdb.fortran/associated.exp: New file.
750 * gdb.fortran/associated.f90: New file.
751
752 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
753
754 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
755
756 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
757
758 * gdb.base/sect-cmd.exp: Update expected results.
759
760 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
761
762 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
763 techniques. Enable the test for all targets.
764
765 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
766
767 * gdb.base/maint-info-sections.exp: Add new tests.
768 (check_maint_info_target_sections_output): New proc.
769
770 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
771
772 * gdb.arch/riscv-default-tdesc.exp: New file.
773
774 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
775
776 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
777
778 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
779
780 * gdb.arch/i386-biarch-core.exp: Add target check.
781
782 2021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
783
784 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
785
786 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
787
788 * gdb.fortran/allocated.exp: New file.
789 * gdb.fortran/allocated.f90: New file.
790
791 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
792
793 * gdb.fortran/lbound-ubound.exp: Remove old comment.
794
795 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
796
797 * gdb.base/maint-info-sections.exp: Update expected output, and
798 add additional tests. Again.
799
800 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
801
802 * gdb.base/maint-info-sections.exp: Update expected output, and
803 add additional tests.
804
805 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
806
807 * gdb.base/maint-info-sections.exp: New file, content is moved
808 from gdb.base/maint.exp and cleaned up to use latest testsuite
809 techniques.
810 * gdb.base/maint.exp: Tests moved out to
811 gdb.base/maint-info-sections.exp.
812
813 2021-02-10 Simon Marchi <simon.marchi@efficios.com>
814
815 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
816 GDBFLAGS.
817
818 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
819
820 * gdb.fortran/lbound-ubound.F90: New file.
821 * gdb.fortran/lbound-ubound.exp: New file.
822
823 2021-02-10 Tom de Vries <tdevries@suse.de>
824
825 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
826 "Restore saved setting of complaints".
827
828 2021-02-09 Tom de Vries <tdevries@suse.de>
829
830 PR symtab/27341
831 * lib/gdb.exp (with_complaints): New proc, factored out of ...
832 (gdb_load_no_complaints): ... here.
833 * gdb.fortran/function-calls.exp: Add test-case.
834
835 2021-02-09 Abid Qadeer <abidh@codesourcery.com>
836
837 * gdb.threads/signal-command-handle-nopass.exp: Call
838 'standard_testfile' before using 'testfile'.
839 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
840 * gdb.threads/signal-delivered-right-thread.exp: Likewise
841 * gdb.threads/signal-sigtrap.exp: Likewise
842
843 2021-02-08 Luis Machado <luis.machado@linaro.org>
844
845 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
846
847 2021-02-08 Tom de Vries <tdevries@suse.de>
848
849 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
850
851 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
852
853 * gdb.python/tui-window-disabled.c: New file.
854 * gdb.python/tui-window-disabled.exp: New file.
855 * gdb.python/tui-window-disabled.py: New file.
856
857 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
858
859 * gdb.python/tui-window.exp: Add new tests.
860 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
861 TestWindow object into global the_window.
862 <remote_title>: New method.
863 (delete_window_title): New function.
864
865 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
866
867 * gdb.tui/winheight.exp: Add more tests.
868
869 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
870
871 * gdb.python/py-framefilter.exp: Update expected results.
872 * gdb.python/python.exp: Update expected results.
873
874 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
875
876 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
877 about bug in GDB, update expected results, and add more tests.
878
879 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
880
881 * gdb.tui/scroll.exp: New file.
882 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
883 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
884 remaining lines up.
885 (Term::check_region_contents): New proc.
886 (Term::check_box_contents): Use check_region_contents.
887
888 2021-02-06 Tom de Vries <tdevries@suse.de>
889
890 PR testsuite/26922
891 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
892 scrolling.
893
894 2021-02-05 Tom de Vries <tdevries@suse.de>
895
896 PR breakpoints/27313
897 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
898 rejected.
899
900 2021-02-05 Tom de Vries <tdevries@suse.de>
901
902 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
903 * gdb.fortran/mixed-lang-stack.exp: Same.
904
905 2021-02-05 Tom de Vries <tdevries@suse.de>
906
907 PR exp/27265
908 * gdb.base/complex-parts.exp: Add tests.
909
910 2021-02-05 Tom de Vries <tdevries@suse.de>
911
912 PR symtab/27307
913 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
914
915 2021-02-04 Shahab Vahedi <shahab@synopsys.com>
916
917 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
918
919 2021-02-03 Pedro Alves <pedro@palves.net>
920
921 * gdb.threads/detach-step-over.c: New file.
922 * gdb.threads/detach-step-over.exp: New file.
923
924 2021-02-03 Pedro Alves <pedro@palves.net>
925
926 * gdb.threads/attach-non-stop.c: New file.
927 * gdb.threads/attach-non-stop.exp: New file.
928
929 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
930
931 * gdb.base/inferior-noarg.c: New test.
932 * gdb.base/inferior-noarg.exp: New test.
933
934 2021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
935
936 * gdb.base/scope.exp: Use proc_with_prefix.
937
938 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
939
940 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
941 table proc.
942 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
943 .debug_rnglists table without offset array.
944 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
945 .debug_loclists table without offset array.
946
947 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
948
949 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
950 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
951 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
952 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
953 attribute
954
955 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
956
957 PR gdb/26813
958 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
959 (loclists): New proc.
960 * gdb.dwarf2/loclists-multiple-cus.c: New.
961 * gdb.dwarf2/loclists-multiple-cus.exp: New.
962 * gdb.dwarf2/loclists-sec-offset.c: New.
963 * gdb.dwarf2/loclists-sec-offset.exp: New.
964
965 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
966
967 * lib/dwarf.exp (_location): Add parameters.
968 (_handle_DW_FORM): Adjust.
969
970 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
971
972 PR gdb/26813
973 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
974 (cu): Generate header for DWARF 5.
975 (rnglists): New proc.
976 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
977 * gdb.dwarf2/rnglists-sec-offset.exp: New.
978
979 2021-02-02 Tom de Vries <tdevries@suse.de>
980
981 PR symtab/24620
982 * gdb.dwarf2/fission-reread.exp: Add test-case.
983
984 2021-02-01 Tom de Vries <tdevries@suse.de>
985
986 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
987 * gdb.dwarf2/fission-loclists-pie.S: Same.
988 * gdb.dwarf2/fission-loclists.S: Same.
989 * gdb.dwarf2/fission-multi-cu.S: Same.
990 * gdb.dwarf2/fission-reread.S: Same.
991 * gdb.dwarf2/fission-base.exp: Use DWO.
992 * gdb.dwarf2/fission-loclists-pie.exp: Same.
993 * gdb.dwarf2/fission-loclists.exp: Same.
994 * gdb.dwarf2/fission-multi-cu.exp: Same.
995 * gdb.dwarf2/fission-reread.exp: Same.
996
997 2021-01-29 Tom de Vries <tdevries@suse.de>
998
999 PR breakpoints/26063
1000 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1001 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1002
1003 2021-01-29 Tom de Vries <tdevries@suse.de>
1004
1005 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1006
1007 2021-01-28 Tom de Vries <tdevries@suse.de>
1008
1009 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1010 in the backtrace, and use that in the rest of the test instead of
1011 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1012
1013 2021-01-28 Tom de Vries <tdevries@suse.de>
1014
1015 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1016 * gdb.arch/i386-sse-stack-align.c: Same.
1017 * gdb.arch/i386-sse-stack-align.exp: Same.
1018
1019 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1020
1021 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1022
1023 2021-01-28 Tom de Vries <tdevries@suse.de>
1024
1025 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1026
1027 2021-01-28 Tom de Vries <tdevries@suse.de>
1028
1029 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1030 "maint info line-table". Make PASS pattern more specific. Make
1031 FAIL pattern work for -m32.
1032
1033 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1034
1035 PR gdb/27133
1036 * gdb.base/ui-redirect.exp: Add test case that ensures that
1037 redirecting both logging and debug does not cause gdb to crash.
1038
1039
1040 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1041
1042 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1043
1044 2021-01-26 Tom de Vries <tdevries@suse.de>
1045
1046 * gdb.threads/killed-outside.exp: Allow regular output.
1047
1048 2021-01-26 Tom de Vries <tdevries@suse.de>
1049
1050 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1051
1052 2021-01-25 Tom de Vries <tdevries@suse.de>
1053
1054 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1055 * lib/gdb.exp: Use gdb_load_no_complaints.
1056
1057 2021-01-25 Tom Tromey <tromey@adacore.com>
1058
1059 * gdb.ada/fixed_points.exp: Add regression test.
1060 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1061 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1062
1063 2021-01-25 Tom Tromey <tromey@adacore.com>
1064
1065 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1066
1067 2021-01-25 Tom Tromey <tromey@adacore.com>
1068
1069 * gdb.ada/local-enum.exp: New file.
1070 * gdb.ada/local-enum/local.adb: New file.
1071
1072 2021-01-23 Tom Tromey <tom@tromey.com>
1073
1074 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1075
1076 2021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1077
1078 * gdb.base/line65535.exp: Fix test expectation.
1079
1080 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1081
1082 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1083 suppression.
1084 (default_gdb_exit): Likewise.
1085 (default_gdb_spawn): Likewise.
1086 (send_gdb): Likewise.
1087 (gdb_expect): Likewise.
1088 (gdb_expect_list): Likewise.
1089 (default_gdb_init): Likewise.
1090 (gdb_suppress_entire_file): Remove.
1091 (gdb_suppress_tests): Remove.
1092 (gdb_stop_suppressing_tests): Remove.
1093 (gdb_clear_suppressed): Remove.
1094 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1095 related to test suppression.
1096 (default_mi_gdb_start): Likewise.
1097 (mi_gdb_reinitialize_dir): Likewise.
1098 (mi_gdb_test): Likewise.
1099 (mi_run_cmd_full): Likewise.
1100 (mi_runto_helper): Likewise.
1101 (mi_execute_to): Likewise.
1102 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1103 * gdb.base/bitfields.exp: Likewise.
1104 * gdb.base/bitfields2.exp: Likewise.
1105 * gdb.base/break.exp: Likewise.
1106 * gdb.base/call-sc.exp: Likewise.
1107 * gdb.base/callfuncs.exp: Likewise.
1108 * gdb.base/dfp-test.exp: Likewise.
1109 * gdb.base/endian.exp: Likewise.
1110 * gdb.base/exprs.exp: Likewise.
1111 * gdb.base/funcargs.exp: Likewise.
1112 * gdb.base/hbreak2.exp: Likewise.
1113 * gdb.base/recurse.exp: Likewise.
1114 * gdb.base/scope.exp: Likewise.
1115 * gdb.base/sepdebug.exp: Likewise.
1116 * gdb.base/structs.exp: Likewise.
1117 * gdb.base/until.exp: Likewise.
1118 * gdb.cp/misc.exp: Likewise.
1119
1120 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1121
1122 PR cli/25956
1123 * gdb.base/style.exp (run_style_tests): Add version string test.
1124 (test_startup_version_string): Use version style name.
1125 * lib/gdb-utils.exp (style): Handle version style name.
1126
1127 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1128
1129 * gdb.base/style.exp (limited_style): New proc.
1130 (clean_restart_and_disable): New proc.
1131 (run_style_tests): New proc. Most of the old tests from this file
1132 are now in this proc.
1133 (test_startup_version_string): New proc. Reamining test from the
1134 old file is in this proc.
1135
1136 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1137
1138 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1139 Adjust to "set debug remote" changes.
1140
1141 2021-01-21 Luis Machado <luis.machado@linaro.org>
1142
1143 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1144 message.
1145
1146 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1147
1148 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1149
1150 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
1151
1152 PR python/19151
1153 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1154
1155 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1156
1157 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1158
1159 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1160
1161 * lib/tuiterm.exp: Add links in comments.
1162
1163 2021-01-20 Tom de Vries <tdevries@suse.de>
1164
1165 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1166 offset.
1167
1168 2021-01-20 Tom de Vries <tdevries@suse.de>
1169
1170 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1171
1172 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1173
1174 * gdb.arch/amd64-stap-expressions.S: New file.
1175 * gdb.arch/amd64-stap-expressions.exp: New file.
1176
1177 2021-01-19 Tom de Vries <tdevries@suse.de>
1178
1179 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1180 sequence.
1181
1182 2021-01-19 Tom de Vries <tdevries@suse.de>
1183
1184 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1185
1186 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1187
1188 * gdb.fortran/array-slices.exp (run_test): Avoid including
1189 addresses in test names.
1190
1191 2021-01-15 Tom de Vries <tdevries@suse.de>
1192
1193 PR testsuite/26997
1194 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1195 when adding sizeof.
1196
1197 2021-01-14 Tom de Vries <tdevries@suse.de>
1198
1199 PR testsuite/24590
1200 * gdb.base/style.exp: Handle shorter argv in frame command output.
1201
1202 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1203
1204 PR gdb/26819
1205 * gdb.server/stop-reply-no-thread-multi.c: New file.
1206 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1207
1208 2021-01-12 Tom de Vries <tdevries@suse.de>
1209
1210 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1211 (main): Remove call to have_mpx.
1212 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1213 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1214 (main): Remote call to have_mpx.
1215 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1216 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1217 (main): Remove call to have_mpx.
1218 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1219 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1220 (main): Remove call to have_mpx.
1221 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1222 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1223 (main): Remote call to have_mpx.
1224 * gdb.arch/i386-mpx.exp: Use have_mpx.
1225 * lib/gdb.exp (have_mpx): New proc.
1226
1227 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1228
1229 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1230
1231 2021-01-12 Tom de Vries <tdevries@suse.de>
1232
1233 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1234
1235 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1236
1237 * gdb.fortran/debug-expr.exp: Add new tests.
1238
1239 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1240
1241 * gdb.fortran/dot-ops.exp: Add new tests.
1242
1243 2021-01-11 Tom de Vries <tdevries@suse.de>
1244
1245 PR testsuite/26968
1246 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1247 Move insn setting $eax to before probe point.
1248
1249 2021-01-09 Tom Tromey <tom@tromey.com>
1250
1251 * gdb.trace/ax.exp: Do not require an "ext".
1252
1253 2021-01-08 Tom Tromey <tromey@adacore.com>
1254
1255 * gdb.ada/voidctx/pck.adb: New file.
1256 * gdb.ada/voidctx/pck.ads: New file.
1257 * gdb.ada/voidctx/voidctx.adb: New file.
1258 * gdb.ada/voidctx.exp: New file.
1259
1260 2021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1261
1262 PR gdb/27157
1263 * gdb.base/empty-host-env-vars.exp: New test.
1264
1265 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1266
1267 * gdb.base/completion.exp: Add a new test.
1268
1269 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1270
1271 * gdb.fortran/intvar-dynamic-types.exp: New file.
1272 * gdb.fortran/intvar-dynamic-types.f90: New file.
1273
1274 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1275
1276 * gdb.fortran/intvar-array.exp: New file.
1277 * gdb.fortran/intvar-array.f90: New file.
1278
1279 2021-01-07 Tom Tromey <tromey@adacore.com>
1280
1281 * gdb.ada/assign_arr.exp: Add 'others' test.
1282
1283 2021-01-06 Tom Tromey <tromey@adacore.com>
1284
1285 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1286 (FP4_Type): New type.
1287 (FP4_Var): New variable.
1288 * gdb.ada/fixed_points/fixed_points.adb: Update.
1289 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1290
1291 2021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1292
1293 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1294 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1295 Pass prompt containing debug print to gdb_test_sequence.
1296
1297 2021-01-04 Tom de Vries <tdevries@suse.de>
1298
1299 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1300
1301 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1302
1303
1304
1305 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1306
1307 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1308 * gdb.server/connect-without-multi-process.exp: Likewise.
1309 * gdb.server/exit-multiple-threads.exp: Likewise.
1310 * gdb.server/ext-attach.exp: Likewise.
1311 * gdb.server/ext-restart.exp: Likewise.
1312 * gdb.server/ext-run.exp: Likewise.
1313 * gdb.server/ext-wrapper.exp: Likewise.
1314 * gdb.server/multi-ui-errors.exp: Likewise.
1315 * gdb.server/no-thread-db.exp: Likewise.
1316 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1317 * gdb.server/run-without-local-binary.exp: Likewise.
1318 * gdb.server/server-kill.exp: Likewise.
1319 * gdb.server/server-run.exp: Likewise.
1320 * gdb.server/solib-list.exp: Likewise.
1321 * gdb.server/stop-reply-no-thread.exp: Likewise.
1322 * gdb.server/wrapper.exp: Likewise.
1323 * gdb.server/sysroot.exp: Increase timeout when testing the
1324 target: sysroot.
1325
1326 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1327
1328 * gdb.server/server-run.exp: Use clean_restart.
1329
1330 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1331
1332 * gdb.server/ext-run.exp: Use clean_restart.
1333
1334 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1335
1336 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1337 instead of prepare_for_testing.
1338
1339 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1340
1341 * gdb.server/solib-list.exp: Use clean_restart.
1342
1343 2021-01-04 Tom de Vries <tdevries@suse.de>
1344
1345 * gdb.base/morestack.c: Remove printf.
1346 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1347
1348 2020-12-31 Tom Tromey <tom@tromey.com>
1349
1350 * gdb.rust/simple.exp: Update output for Rust 1.49.
1351
1352 2020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1353
1354 * gdb.cp/step-and-next-inline.exp: Fix test case.
1355
1356 2020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1357
1358 * gdb.python/py-frame-args.exp: De-duplicate test names.
1359
1360 2020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1361
1362 PR gdb/27059
1363 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1364 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1365
1366 2020-12-21 Peter Waller <p@pwaller.net>
1367
1368 * gdb.base/style-interp-exec-mi.exp: New.
1369 * gdb.base/style-interp-exec-mi.c: New.
1370
1371 2020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1372
1373 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1374 gdb_test. Use proc_with_prefix.
1375
1376 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1377
1378 * gdb.btrace/exception.exp: Build with nopie.
1379 * gdb.btrace/function_call_history.exp: Likewise.
1380 * gdb.btrace/unknown_functions.exp: Likewise.
1381
1382 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1383
1384 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1385
1386 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1387
1388 * gdb.python/py-record-btrace.exp: Make test names unique.
1389 * gdb.python/py-record-full.exp: Likewise.
1390
1391 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1392
1393 * gdb.btrace/data.exp: Make test names unique.
1394 * gdb.btrace/delta.exp: Likewise.
1395 * gdb.btrace/enable.exp: Likewise.
1396 * gdb.btrace/function_call_history.exp: Likewise.
1397 * gdb.btrace/nohist.exp: Likewise.
1398 * gdb.btrace/non-stop.exp: Likewise.
1399 * gdb.btrace/rn-dl-bind.exp: Likewise.
1400 * gdb.btrace/step.exp: Likewise.
1401 * gdb.btrace/stepi.exp: Likewise.
1402 * gdb.btrace/tailcall.exp: Likewise.
1403
1404 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1405
1406 * gdb.btrace/enable.exp: Update error message.
1407 * gdb.btrace/multi-inferior.exp: Likewise.
1408 * gdb.btrace/reconnect.exp: Likewise.
1409 * gdb.python/py-record-btrace.exp: Likewise.
1410 * gdb.python/py-record-full.exp: Likewise.
1411
1412 2020-12-20 Tom de Vries <tdevries@suse.de>
1413
1414 * lib/gdb.exp (save_target_board_info): New proc.
1415 (gdb_compile_shlib): Use save_target_board_info.
1416
1417 2020-12-19 Tom de Vries <tdevries@suse.de>
1418
1419 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1420 (supports_gnuc): New proc.
1421 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1422 test_compiler_info calls. Add unsupported message.
1423 * gdb.base/endianity.c: Use TEST_SSO.
1424
1425 2020-12-19 Hannes Domani <ssbssa@yahoo.de>
1426
1427 PR exp/27070
1428 * gdb.python/compare-enum-type-a.c: New test.
1429 * gdb.python/compare-enum-type-b.c: New test.
1430 * gdb.python/compare-enum-type.exp: New file.
1431 * gdb.python/compare-enum-type.h: New test.
1432
1433 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
1434
1435 * gdb.python/py-format-string.exp: Add tests for address keyword.
1436
1437 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
1438
1439 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1440
1441 2020-12-18 Tom Tromey <tromey@adacore.com>
1442
1443 * gdb.ada/fixed_points.exp: Also run with
1444 -fgnat-encodings=minimal. Update expected output.
1445
1446 2020-12-16 Simon Marchi <simon.marchi@efficios.com>
1447
1448 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1449 * gdb.base/continue-all-already-running.exp: Likewise.
1450 * gdb.base/moribund-step.exp: Likewise.
1451 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1452
1453 2020-12-16 Tom de Vries <tdevries@suse.de>
1454
1455 * gdb.base/batch-preserve-term-settings.exp:
1456
1457 2020-12-16 Tom de Vries <tdevries@suse.de>
1458
1459 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1460 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1461
1462 2020-12-16 Luis Machado <luis.machado@linaro.org>
1463
1464 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1465 pointer-based memory accesses.
1466 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1467 hw watchpoint cases.
1468
1469 2020-12-15 Rae Kim <rae.kim@gmail.com>
1470
1471 * gdb.base/document.exp: New test.
1472
1473 2020-12-15 Tom Tromey <tromey@adacore.com>
1474
1475 * gdb.base/style.exp: Add deprecation tests.
1476
1477 2020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1478
1479 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1480
1481 2020-12-14 Mark Wielaard <mark@klomp.org>
1482
1483 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1484 specially, set attr_form_comment to the actual FORM string used.
1485
1486 2020-12-14 Mark Wielaard <mark@klomp.org>
1487
1488 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1489 _constants(SPECIAL_expr) here, but set it...
1490 (Dwarf::cu): ...here based on _cu_version.
1491
1492 2020-12-14 Tom de Vries <tdevries@suse.de>
1493
1494 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1495 pass -fPIC.
1496 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1497 * gdb.base/break-probes.exp: Same.
1498 * gdb.base/ctxobj.exp: Same.
1499 * gdb.base/dso2dso.exp: Same.
1500 * gdb.base/global-var-nested-by-dso.exp: Same.
1501 * gdb.base/info-shared.exp: Same.
1502 * gdb.base/jit-reader-simple.exp: Same.
1503 * gdb.base/print-file-var.exp: Same.
1504 * gdb.base/skip-solib.exp: Same.
1505 * gdb.btrace/dlopen.exp: Same.
1506
1507 2020-12-14 Tom de Vries <tdevries@suse.de>
1508
1509 PR testsuite/26963
1510 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1511
1512 2020-12-14 Tom de Vries <tdevries@suse.de>
1513
1514 PR testsuite/26962
1515 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1516 cast it to its declared type".
1517
1518 2020-12-14 Tom de Vries <tdevries@suse.de>
1519
1520 PR testsuite/26951
1521 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1522 shell prompt.
1523
1524 2020-12-14 Tom Tromey <tromey@adacore.com>
1525
1526 * gdb.ada/nested.exp: Add new tests.
1527 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1528
1529 2020-12-14 Tom Tromey <tromey@adacore.com>
1530
1531 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1532
1533 2020-12-14 Tom Tromey <tromey@adacore.com>
1534
1535 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1536
1537 2020-12-13 Tom de Vries <tdevries@suse.de>
1538
1539 PR testsuite/26953
1540 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1541 attribute support if compiler doesn't support it.
1542
1543 2020-12-13 Tom de Vries <tdevries@suse.de>
1544
1545 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1546 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1547 source to shared lib. Add ada to options.
1548
1549 2020-12-13 Tom de Vries <tdevries@suse.de>
1550
1551 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1552 calling gnatbind and gnatlink.
1553
1554 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1555
1556 * gdb.base/dcache-flush.c: New file.
1557 * gdb.base/dcache-flush.exp: New file.
1558
1559 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1560
1561 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1562 commands.
1563 * gdb.base/killed-outside.exp: Likewise.
1564 * gdb.opt/inline-bt.exp: Likewise.
1565 * gdb.perf/gmonster-null-lookup.py: Likewise.
1566 * gdb.perf/gmonster-print-cerr.py: Likewise.
1567 * gdb.perf/gmonster-ptype-string.py: Likewise.
1568 * gdb.python/py-unwind.exp: Likewise.
1569
1570 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1571
1572 * gdb.base/commands.exp: Update expected results.
1573
1574 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1575
1576 PR cli/15104
1577 * gdb.base/commands.exp: Add additional tests.
1578 * gdb.base/completion.exp: Add additional tests.
1579
1580 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1581
1582 * gdb.base/completion.exp: Add additional tests.
1583
1584 2020-12-11 Tom de Vries <tdevries@suse.de>
1585
1586 PR testsuite/26991
1587 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1588 violations by setting bounds registers if the bounds are passed in the
1589 Bounds Table.
1590
1591 2020-12-11 Tom de Vries <tdevries@suse.de>
1592
1593 PR testsuite/26954
1594 * gdb.base/float128.exp: Detect and handle no mpfr support.
1595
1596 2020-12-10 Simon Marchi <simon.marchi@efficios.com>
1597
1598 PR gdb/24694
1599 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1600 calls.
1601
1602 2020-12-10 Tom de Vries <tdevries@suse.de>
1603
1604 PR testsuite/26947
1605 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1606 braces for tcl 8.5 and earlier.
1607
1608 2020-12-09 Simon Marchi <simon.marchi@efficios.com>
1609
1610 PR 26875, PR 26901
1611 * gdb.base/flexible-array-member.c: New test.
1612 * gdb.base/flexible-array-member.exp: New test.
1613
1614 2020-12-08 Tom de Vries <tdevries@suse.de>
1615
1616 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1617 using is_amd64_regs_target.
1618
1619 2020-12-08 Tom de Vries <tdevries@suse.de>
1620
1621 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1622 self_id.
1623
1624 2020-12-07 Pedro Alves <pedro@palves.net>
1625
1626 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1627 'additional_flags' variable.
1628
1629 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1630
1631 * gdb.linespec/explicit.exp: Extend with a test to check completing
1632 '-' after seemingly complete options.
1633
1634 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1635
1636 * gdb.linespec/keywords.exp: Add tests to check positional
1637 flexibility of "-force-condition".
1638
1639 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1640
1641 * gdb.base/bp-cmds-run-with-ex.c: New file.
1642 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1643 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1644 * gdb.gdb/python-interrupts.exp: Update the call to
1645 'catch_command_errors' with the new argument.
1646 * gdb.gdb/python-selftest.exp: Ditto.
1647
1648 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1649
1650 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1651 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1652 * gdb.threads/non-stop-fair-events.exp: Likewise.
1653
1654 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1655
1656 * gdb.threads/step-over-exec.exp: New.
1657 * gdb.threads/step-over-exec.c: New.
1658 * gdb.threads/step-over-exec-execd.c: New.
1659 * lib/my-syscalls.S: New.
1660 * lib/my-syscalls.h: New.
1661
1662 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1663
1664 * lib/dwarf.exp (declare_labels): Use name as text if text is
1665 not provided.
1666
1667 2020-12-04 Tom de Vries <tdevries@suse.de>
1668
1669 PR testsuite/26990
1670 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1671 are unsupported.
1672
1673 2020-12-04 Tom de Vries <tdevries@suse.de>
1674
1675 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1676 clause.
1677
1678 2020-12-04 Tom de Vries <tdevries@suse.de>
1679
1680 * gdb.reverse/insn-reverse.exp: Fix count handling.
1681
1682 2020-12-04 Tom de Vries <tdevries@suse.de>
1683
1684 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1685 __x86_64__.
1686
1687 2020-12-04 Tom de Vries <tdevries@suse.de>
1688
1689 * gdb.reverse/insn-reverse.c (test_nr): New var.
1690 (usage, parse_args): New function.
1691 (main): Call parse_args. Only run test for test_nr.
1692 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1693 and bail out. Run subtests individually, using an inferior arg
1694 specifying the subtest.
1695
1696 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1697
1698 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1699
1700 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1703 update test to use this.
1704
1705 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1706
1707 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1708
1709 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1710
1711 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1712 (do_test): Don't use with_test_prefix.
1713 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1714 (do_test): Don't use with_test_prefix.
1715 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1716 (do_test): Don't use with_test_prefix.
1717 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1718 (do_test): Don't use with_test_prefix.
1719
1720 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1721
1722 * gdb.threads/non-ldr-exit.exp: Fix comment.
1723
1724 2020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1725
1726 * gdb.xml/maint-xml-dump-03.xml: New file.
1727
1728 2020-11-30 Tom de Vries <tdevries@suse.de>
1729
1730 PR symtab/26905
1731 * gdb.dwarf2/count.exp: Remove kfails.
1732
1733 2020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1734
1735 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1736 indices.
1737
1738 2020-11-24 Joel Brobecker <brobecker@adacore.com>
1739
1740 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1741 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1742 languages. Remove the associated setup_xfail.
1743
1744 2020-11-23 Simon Marchi <simon.marchi@efficios.com>
1745
1746 * lib/gdb.exp (gdb_assert): Show error message on error.
1747
1748 2020-11-23 Tom de Vries <tdevries@suse.de>
1749
1750 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1751 * gdb.ada/mod_from_name.exp: Same.
1752 * gdb.ada/pckd_arr_ren.exp: Same.
1753
1754 2020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1755
1756 * gdb.base/template.exp: New.
1757 * gdb.base/template.c: New.
1758
1759 2020-11-22 Gary Benson <gbenson@redhat.com>
1760
1761 PR gdb/26905
1762 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1763 is defined using a DW_AT_count which references another DIE.
1764
1765 2020-11-21 Tom de Vries <tdevries@suse.de>
1766
1767 * gdb.base/vla-ptr.exp: Add XFAIL.
1768
1769 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1770
1771 * gdb.fortran/array-slices-bad.exp: New file.
1772 * gdb.fortran/array-slices-bad.f90: New file.
1773 * gdb.fortran/array-slices-sub-slices.exp: New file.
1774 * gdb.fortran/array-slices-sub-slices.f90: New file.
1775 * gdb.fortran/array-slices.exp: Rewrite tests.
1776 * gdb.fortran/array-slices.f90: Rewrite tests.
1777 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1778
1779 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1780
1781 * gdb.base/completion.exp: Add new completion tests.
1782
1783 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1784
1785 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1786 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1787 * gdb.mi/mi-nsintrall.exp: Likewise.
1788 * gdb.mi/mi-nsmoribund.exp: Likewise.
1789 * gdb.mi/mi-nsthrexec.exp: Likewise.
1790 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1791
1792 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1793
1794 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1795 of perror.
1796
1797 2020-11-18 Joseph Myers <joseph@codesourcery.com>
1798
1799 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1800 $arg.exe exists but $arg does not.
1801
1802 2020-11-17 Gary Benson <gbenson@redhat.com>
1803
1804 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1805 __attribute__ ((used)).
1806
1807 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1808
1809 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1810
1811 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1812
1813 * gdb.base/completion.exp: Add new tests.
1814
1815 2020-11-16 Tom Tromey <tromey@adacore.com>
1816
1817 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1818 tests.
1819
1820 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1821
1822 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1823 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1824 (main): Add reference to pck__fp1_var2.
1825 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1826
1827 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1828
1829 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1830
1831 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1832
1833 * gdb.ada/fixed_points.exp: Add ptype tests.
1834 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1835
1836 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1837
1838 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1839
1840 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1841
1842 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1843 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1844 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1845 New files.
1846 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1847
1848 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1849 New files.
1850
1851 2020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1852
1853 PR cli/26879
1854 * gdb.fortran/completion.exp: New file.
1855 * gdb.fortran/completion.f90: New file.
1856
1857 2020-11-12 Joseph Myers <joseph@codesourcery.com>
1858
1859 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1860 but $arg does not.
1861
1862 2020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1863
1864 * gdb.fortran/types.exp: Add more tests.
1865
1866 2020-11-12 Tom Tromey <tom@tromey.com>
1867
1868 PR rust/26799:
1869 * gdb.rust/traits.exp: Remove kfails.
1870
1871 2020-11-12 Gary Benson <gbenson@redhat.com>
1872
1873 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1874 statement.
1875
1876 2020-11-11 Simon Marchi <simon.marchi@efficios.com>
1877
1878 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1879 always-inserted" axis.
1880 (do_test): Add breakpoint_always_inserted parameter.
1881
1882 2020-11-10 Tom Tromey <tromey@adacore.com>
1883
1884 * gdb.ada/bias.exp: Update.
1885 * gdb.ada/bias/bias.adb (X): Change value.
1886
1887 2020-11-10 Gary Benson <gbenson@redhat.com>
1888
1889 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1890 regexp fragment in parentheses to prevent false matching.
1891
1892 2020-11-10 Gary Benson <gbenson@redhat.com>
1893
1894 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1895
1896 2020-11-10 Gary Benson <gbenson@redhat.com>
1897
1898 * gdb.cp/step-and-next-inline.exp: Only require
1899 -gstatement-frontiers when building with GCC.
1900 Only setup KFAIL's for GCC issues when using
1901 a GCC-built executable.
1902
1903 2020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1904
1905 * gdb.base/debug-expr.c: Add extra function to allow for an
1906 additional test.
1907 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1908 to this proc with gdb_test_debug_expr. Add an extra test.
1909 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1910 to this proc with gdb_test_debug_expr, give the tests names
1911 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1912 calls to this proc with gdb_test_debug_expr, give the tests names
1913 * gdb.fortran/debug-expr.exp: New file.
1914 * gdb.fortran/debug-expr.f90: New file.
1915 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1916
1917 2020-11-06 Simon Marchi <simon.marchi@efficios.com>
1918
1919 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1920 proceduresu.
1921 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1922 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1923 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1924 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1925 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1926 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1927 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1928 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1929
1930 2020-11-04 Tom Tromey <tromey@adacore.com>
1931
1932 * gdb.ada/funcall_ref.exp: Update.
1933 * gdb.ada/var_rec_arr.exp: Update.
1934
1935 2020-11-04 Tom Tromey <tromey@adacore.com>
1936
1937 * gdb.ada/rec_ptype.exp: New file.
1938 * gdb.ada/rec_ptype/main.adb: New file.
1939 * gdb.ada/rec_ptype/p.ads: New file.
1940
1941 2020-11-04 Tom Tromey <tromey@adacore.com>
1942
1943 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1944 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1945 (PT_Full): New variable.
1946 * gdb.ada/tick_length_array_enum_idx/pck.adb
1947 (Full_PT): New type.
1948
1949 2020-11-04 Tom Tromey <tromey@adacore.com>
1950
1951 * gdb.ada/array_of_variant.exp: New file.
1952 * gdb.ada/array_of_variant/p.adb: New file.
1953 * gdb.ada/array_of_variant/pck.ads: New file.
1954 * gdb.ada/array_of_variant/pck.adb: New file.
1955
1956 2020-11-04 Tom Tromey <tromey@adacore.com>
1957
1958 * gdb.ada/enum_idx_packed.exp: Add test.
1959 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1960 New variable.
1961 * gdb.ada/enum_idx_packed/pck.ads (Short)
1962 (Multi_Dimension, Multi_Dimension_Access): New types.
1963
1964 2020-11-04 Tom Tromey <tromey@adacore.com>
1965
1966 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1967
1968 2020-11-04 Tom Tromey <tromey@adacore.com>
1969
1970 * gdb.ada/set_pckd_arr_elt.exp: Also test
1971 -fgnat-encodings=minimal. Add tests.
1972 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1973 Call Update_Small a second time.
1974 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1975 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1976 (Variant_Access): New types.
1977 (New_Variant): Declare.
1978
1979 2020-11-04 Tom Tromey <tromey@adacore.com>
1980
1981 * gdb.ada/mod_from_name.exp: Test printing slice.
1982
1983 2020-11-04 Tom Tromey <tromey@adacore.com>
1984
1985 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1986 values.
1987 * gdb.ada/access_to_unbounded_array.exp: Test different
1988 -fgnat-encodings values.
1989 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1990 values.
1991 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1992 values.
1993 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1994 values.
1995 * gdb.ada/array_of_variable_length.exp: Test different
1996 -fgnat-encodings values.
1997 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1998 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1999 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2000 change.
2001 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2002 values.
2003 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2004 * gdb.ada/out_of_line_in_inlined.exp: Test different
2005 -fgnat-encodings values.
2006 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2007 values.
2008 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2009 values.
2010 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2011 -fgnat-encodings values.
2012 * gdb.ada/variant_record_packed_array.exp: Test different
2013 -fgnat-encodings values.
2014
2015 2020-11-04 Tom Tromey <tromey@adacore.com>
2016
2017 * gdb.ada/enum_idx_packed.exp: Add tests.
2018 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2019 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2020 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2021 declarations.
2022
2023 2020-11-03 Tom de Vries <tdevries@suse.de>
2024
2025 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2026 terminator comments.
2027 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2028 terminator.
2029
2030 2020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2031
2032 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2033 integer format test with regexp.
2034
2035 2020-11-02 Gary Benson <gbenson@redhat.com>
2036
2037 * gdb.base/print-file-var.exp (test): Separate compiler and
2038 linker options, and build using build_executable_from_specs
2039 to accommodate this.
2040
2041 2020-11-02 Gary Benson <gbenson@redhat.com>
2042
2043 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2044 for .c files compiled as C++ with Clang if any shared
2045 libraries are specified.
2046
2047 2020-11-02 Gary Benson <gbenson@redhat.com>
2048
2049 * lib/attributes.h: New header.
2050 * gdb.base/backtrace.c: Include the above. Replace
2051 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2052 * gdb.base/infcall-nested-structs.c: Likewise.
2053 * gdb.base/vla-optimized-out.c: Likewise.
2054
2055 2020-11-02 Tom de Vries <tdevries@suse.de>
2056
2057 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2058
2059 2020-11-01 Joel Brobecker <brobecker@adacore.com>
2060
2061 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2062 System.Min_Int and System.Max_Int with smaller hardcoded
2063 constants.
2064
2065 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2066
2067 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2068 * configure: Re-generate.
2069
2070 2020-10-30 Simon Marchi <simon.marchi@efficios.com>
2071
2072 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2073 expected output.
2074
2075 2020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2076
2077 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2078 behavior.
2079 * gdb.base/paginate-bg-execution.exp: Ditto.
2080 * gdb.base/paginate-inferior-exit.exp: Ditto.
2081 * gdb.base/double-prompt-target-event-error.c: Remove.
2082 * gdb.base/double-prompt-target-event-error.exp: Remove.
2083
2084 2020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2085
2086 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2087 inferiors' and 'detach inferiors' do not change the current
2088 inferior.
2089
2090 2020-10-29 Tom de Vries <tdevries@suse.de>
2091
2092 * gdb.threads/tls.exp: Fix DUPLICATEs.
2093
2094 2020-10-28 Tom de Vries <tdevries@suse.de>
2095
2096 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2097
2098 2020-10-28 Tom de Vries <tdevries@suse.de>
2099
2100 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2101 * gdb.base/reread.exp: Same.
2102
2103 2020-10-28 Tom de Vries <tdevries@suse.de>
2104
2105 * lib/gdb.exp (readnow): Handle arg.
2106 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2107
2108 2020-10-28 Tom de Vries <tdevries@suse.de>
2109
2110 * gdb.base/relocate.exp: Update regexp for -readnow.
2111
2112 2020-10-28 Tom de Vries <tdevries@suse.de>
2113
2114 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2115 -readnow.
2116
2117 2020-10-28 Tom de Vries <tdevries@suse.de>
2118
2119 PR symtab/26772
2120 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2121 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2122
2123 2020-10-28 Tom de Vries <tdevries@suse.de>
2124
2125 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2126 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2127 complaint during file command for -readnow.
2128
2129 2020-10-28 Tom de Vries <tdevries@suse.de>
2130
2131 * gdb.cp/nsalias.exp: Fix typo in test name.
2132
2133 2020-10-28 Tom de Vries <tdevries@suse.de>
2134
2135 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2136
2137 2020-10-28 Tom de Vries <tdevries@suse.de>
2138
2139 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2140 -readnow.
2141
2142 2020-10-27 Tom de Vries <tdevries@suse.de>
2143
2144 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2145
2146 2020-10-27 Tom de Vries <tdevries@suse.de>
2147
2148 * gdb.base/maint.exp: Update for -readnow.
2149
2150 2020-10-27 Tom de Vries <tdevries@suse.de>
2151
2152 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2153 -readnow.
2154
2155 2020-10-14 Gary Benson <gbenson@redhat.com>
2156
2157 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2158 "_vptr$Base" as correct, in addition to "_vptr.Base".
2159 (test_mixed): Likewise.
2160
2161 2020-10-27 Gary Benson <gbenson@redhat.com>
2162
2163 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2164 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2165
2166 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2167
2168 * gdb.base/condbreak.exp: Update the completion tests to
2169 consider the '-force' flag.
2170
2171 2020-10-27 Tom de Vries <tdevries@suse.de>
2172
2173 * gdb.base/list-ambiguous-readnow.exp: New file.
2174
2175 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2176
2177 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2178 the condition.
2179 * gdb.linespec/cpcompletion.exp: Update to consider the
2180 '-force-condition' keyword.
2181 * gdb.linespec/explicit.exp: Ditto.
2182 * lib/completion-support.exp: Ditto.
2183
2184 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2185
2186 * gdb.base/condbreak-multi-context.cc: New file.
2187 * gdb.base/condbreak-multi-context.exp: New file.
2188
2189 2020-10-26 Tom Tromey <tom@tromey.com>
2190
2191 * lib/mi-support.exp (default_mi_gdb_start): Call
2192 gdb_stdin_log_init.
2193 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2194 subtract one from gdb_instances.
2195 (gdb_stdin_log_write): Flush in_file.
2196
2197 2020-10-26 Tom de Vries <tdevries@suse.de>
2198
2199 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2200
2201 2020-10-26 Tom Tromey <tromey@adacore.com>
2202
2203 * gdb.ada/unsigned_range/foo.adb: New file.
2204 * gdb.ada/unsigned_range/pack.adb: New file.
2205 * gdb.ada/unsigned_range/pack.ads: New file.
2206 * gdb.ada/unsigned_range.exp: New file.
2207
2208 2020-10-26 Tom de Vries <tdevries@suse.de>
2209
2210 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2211
2212 2020-10-26 Tom de Vries <tdevries@suse.de>
2213
2214 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2215 for CU.
2216 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2217
2218 2020-10-23 Tom de Vries <tdevries@suse.de>
2219
2220 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2221 DW_FORM_string.
2222 (Dwarf::_default_form): New proc.
2223 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2224 guessed.
2225
2226 2020-10-23 Tom de Vries <tdevries@suse.de>
2227
2228 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2229 * gdb.dwarf2/atomic-type.exp: Same.
2230 * gdb.dwarf2/bad-regnum.exp: Same.
2231 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2232 * gdb.dwarf2/dw2-align.exp: Same.
2233 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2234 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2235 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2236 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2237 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2238 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2239 * gdb.dwarf2/enum-type.exp: Same.
2240 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2241 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2242 * gdb.dwarf2/main-subprogram.exp: Same.
2243 * gdb.dwarf2/missing-type-name.exp: Same.
2244 * gdb.dwarf2/nonvar-access.exp: Same.
2245 * gdb.dwarf2/typedef-void-finish.exp: Same.
2246 * gdb.dwarf2/var-access.exp: Same.
2247 * gdb.dwarf2/void-type.exp: Same.
2248
2249 2020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2250
2251 PR gdb/26693
2252 * gdb.dwarf2/template-specification-full-name.exp: New test.
2253
2254 2020-10-22 Luis Machado <luis.machado@linaro.org>
2255
2256 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2257 expected an offset from the function.
2258 * gdb.base/msym-bp.exp (test): Likewise.
2259
2260 2020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2261
2262 * gdb.fortran/array-slices.exp: Add a new test.
2263
2264 2020-10-21 Gary Benson <gbenson@redhat.com>
2265
2266 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2267 fullname test with Clang. Also expand comments generally.
2268
2269 2020-10-20 Tom de Vries <tdevries@suse.de>
2270
2271 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2272
2273 2020-10-20 Tom de Vries <tdevries@suse.de>
2274
2275 * gdb.dwarf2/arr-stride.c: Remove.
2276 * gdb.dwarf2/arr-stride.exp: Use main.c.
2277 * gdb.dwarf2/arr-subrange.c: Remove.
2278 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2279 * gdb.dwarf2/bad-regnum.c: Remove.
2280 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2281 * gdb.dwarf2/corrupt.c: Remove.
2282 * gdb.dwarf2/corrupt.exp: Use main.c.
2283 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2284 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2285 * gdb.dwarf2/dw2-icycle.c: Remove.
2286 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2287 * gdb.dwarf2/formdata16.c: Remove.
2288 * gdb.dwarf2/formdata16.exp: Use main.c.
2289 * gdb.dwarf2/implptrconst.c: Remove.
2290 * gdb.dwarf2/implptrconst.exp: Use main.c.
2291 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2292 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2293 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2294 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2295
2296 2020-10-20 Tom de Vries <tdevries@suse.de>
2297
2298 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2299 file.
2300 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2301
2302 2020-10-20 Tom de Vries <tdevries@suse.de>
2303
2304 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2305 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2306 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2307 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2308 * gdb.dwarf2/dw2-ranges.exp: Same.
2309 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2310 * gdb.dwarf2/var-access.exp: Same.
2311
2312 2020-10-19 Tom Tromey <tromey@adacore.com>
2313
2314 PR tui/26719
2315 * gdb.tui/list.exp: Check source window contents after focus
2316 change.
2317
2318 2020-10-17 Tom de Vries <tdevries@suse.de>
2319
2320 PR symtab/26317
2321 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2322
2323 2020-10-17 Tom de Vries <tdevries@suse.de>
2324
2325 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2326 as suffix.
2327 * gdb.dwarf2/atomic.c: Rename to ...
2328 * gdb.dwarf2/atomic-type.c: ... this.
2329 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2330 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2331 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2332 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2333 * gdb.dwarf2/fission-mix2.c: Rename to ...
2334 * gdb.dwarf2/fission-mix-2.c: ... this.
2335 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2336 standard_testfile.
2337 * gdb.dwarf2/ada-valprint-error.exp: Same.
2338 * gdb.dwarf2/arr-stride.exp: Same.
2339 * gdb.dwarf2/arr-subrange.exp: Same.
2340 * gdb.dwarf2/atomic-type.exp: Same.
2341 * gdb.dwarf2/bad-regnum.exp: Same.
2342 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2343 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2344 * gdb.dwarf2/clang-debug-names.exp: Same.
2345 * gdb.dwarf2/comp-unit-lang.exp: Same.
2346 * gdb.dwarf2/corrupt.exp: Same.
2347 * gdb.dwarf2/count.exp: Same.
2348 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2349 * gdb.dwarf2/data-loc.exp: Same.
2350 * gdb.dwarf2/dw2-align.exp: Same.
2351 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2352 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2353 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2354 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2355 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2356 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2357 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2358 * gdb.dwarf2/dw2-inline-param.exp: Same.
2359 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2360 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2361 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2362 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2363 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2364 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2365 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2366 * gdb.dwarf2/dw2-param-error.exp: Same.
2367 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2368 * gdb.dwarf2/dw2-ranges.exp: Same.
2369 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2370 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2371 * gdb.dwarf2/dw4-sig-types.exp: Same.
2372 * gdb.dwarf2/dynarr-ptr.exp: Same.
2373 * gdb.dwarf2/enum-type.exp: Same.
2374 * gdb.dwarf2/fission-mix.exp: Same.
2375 * gdb.dwarf2/formdata16.exp: Same.
2376 * gdb.dwarf2/implptrconst.exp: Same.
2377 * gdb.dwarf2/implptrpiece.exp: Same.
2378 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2379 * gdb.dwarf2/main-subprogram.exp: Same.
2380 * gdb.dwarf2/method-ptr.exp: Same.
2381 * gdb.dwarf2/missing-sig-type.exp: Same.
2382 * gdb.dwarf2/nonvar-access.exp: Same.
2383 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2384 * gdb.dwarf2/shortpiece.exp: Same.
2385 * gdb.dwarf2/staticvirtual.exp: Same.
2386 * gdb.dwarf2/subrange.exp: Same.
2387 * gdb.dwarf2/symtab-producer.exp: Same.
2388 * gdb.dwarf2/typedef-void-finish.exp: Same.
2389 * gdb.dwarf2/var-access.exp: Same.
2390 * gdb.dwarf2/variant.exp: Same.
2391 * gdb.dwarf2/void-type.exp: Same.
2392 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2393 dw2-ranges-main.c.
2394 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2395
2396 2020-10-16 Tom de Vries <tdevries@suse.de>
2397
2398 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2399
2400 2020-10-16 Tom de Vries <tdevries@suse.de>
2401
2402 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2403
2404 2020-10-14 Tom de Vries <tdevries@suse.de>
2405
2406 PR testsuite/26732
2407 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2408 scenario 2.
2409 * gdb.ada/mi_catch_ex_hand.exp: Same.
2410
2411 2020-10-13 Pedro Alves <pedro@palves.net>
2412
2413 * lib/mi-support.exp (mi_clean_restart): New.
2414 (mi_run_to_main): Delete.
2415 All callers adjust to use mi_clean_restart / mi_runto_main.
2416
2417 2020-10-13 Pedro Alves <pedro@palves.net>
2418
2419 * config/monitor.exp: Use "list -q".
2420 * gdb.arch/gdb1558.exp: Use "break -q".
2421 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2422 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2423 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2424 * gdb.base/commands.exp: Use "break -q".
2425 * gdb.base/condbreak.exp: Use "break -q".
2426 * gdb.base/ctf-ptype.exp: Use "list -q".
2427 * gdb.base/define.exp: Use "break -q".
2428 * gdb.base/del.exp: Use "break -q".
2429 * gdb.base/fullname.exp: Use "break -q".
2430 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2431 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2432 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2433 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2434 "hbreak -q".
2435 * gdb.base/included.exp: Use "list -q".
2436 * gdb.base/label.exp: Use "break -q".
2437 * gdb.base/lineinc.exp: Use "break -q".
2438 * gdb.base/list.exp: Use "list -q".
2439 * gdb.base/macscp.exp: Use "list -q".
2440 * gdb.base/pending.exp: Use "break -q".
2441 * gdb.base/prologue-include.exp: Use "break -q".
2442 * gdb.base/ptype.exp: Use "list -q".
2443 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2444 * gdb.base/server-del-break.exp: Use "break -q".
2445 * gdb.base/style.exp: Use "break -q".
2446 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2447 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2448 * gdb.cp/exception.exp: Use "tbreak -q".
2449 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2450 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2451 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2452 * gdb.dwarf2/pr13961.exp: Use "break -q".
2453 * gdb.linespec/explicit.exp: Use "list -q".
2454 * gdb.linespec/linespec.exp: Use "break -q".
2455 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2456 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2457 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2458 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2459 * gdb.trace/change-loc.exp: Use "break -q".
2460 * gdb.trace/pending.exp: Use "break -q".
2461 * gdb.tui/basic.exp: Use "list -q".
2462 * gdb.tui/list-before.exp: Use "list -q".
2463 * gdb.tui/list.exp: Use "list -q".
2464 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2465
2466 2020-10-13 Pedro Alves <pedro@palves.net>
2467
2468 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2469 saved breakpoints file.
2470 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2471 inspecting breakpoint list.
2472 * lib/gdb.exp (runto_main): Add "qualified" to options.
2473 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2474 and handle it.
2475 (mi_runto_main): Pass 1 as qualified argument.
2476
2477 2020-10-13 Pedro Alves <pedro@palves.net>
2478
2479 * lib/mi-support.exp (mi_runto_main): New proc.
2480 (mi_run_to_main): Use it.
2481 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2482 * gdb.mi/mi-var-cmd.exp: Likewise.
2483 * gdb.mi/mi-var-invalidate.exp: Likewise.
2484 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2485 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2486 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2487 * gdb.mi/user-selected-context-sync.exp: Likewise.
2488 * gdb.opt/inline-cmds.exp: Likewise.
2489 * gdb.python/py-framefilter-mi.exp: Likewise.
2490 * gdb.python/py-mi.exp: Likewise.
2491
2492 2020-10-13 Pedro Alves <pedro@palves.net>
2493
2494 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2495 "runto main".
2496 * gdb.ada/small_reg_param.exp: Likewise.
2497 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2498 * gdb.base/annota1.exp: Likewise.
2499 * gdb.base/anon.exp: Likewise.
2500 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2501 * gdb.base/dprintf-non-stop.exp: Likewise.
2502 * gdb.base/dprintf.exp: Likewise.
2503 * gdb.base/gdb11530.exp: Likewise.
2504 * gdb.base/gdb11531.exp: Likewise.
2505 * gdb.base/gnu_vector.exp: Likewise.
2506 * gdb.base/interrupt-noterm.exp: Likewise.
2507 * gdb.base/memattr.exp: Likewise.
2508 * gdb.base/step-over-syscall.exp: Likewise.
2509 * gdb.base/watch-cond-infcall.exp: Likewise.
2510 * gdb.base/watch-read.exp: Likewise.
2511 * gdb.base/watch-vfork.exp: Likewise.
2512 * gdb.base/watch_thread_num.exp: Likewise.
2513 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2514 * gdb.guile/scm-frame-inline.exp: Likewise.
2515 * gdb.linespec/explicit.exp: Likewise.
2516 * gdb.opt/inline-break.exp: Likewise.
2517 * gdb.python/py-frame-inline.exp: Likewise.
2518 * gdb.reverse/break-precsave.exp: Likewise.
2519 * gdb.reverse/break-reverse.exp: Likewise.
2520 * gdb.reverse/consecutive-precsave.exp: Likewise.
2521 * gdb.reverse/consecutive-reverse.exp: Likewise.
2522 * gdb.reverse/finish-precsave.exp: Likewise.
2523 * gdb.reverse/finish-reverse.exp: Likewise.
2524 * gdb.reverse/fstatat-reverse.exp: Likewise.
2525 * gdb.reverse/getresuid-reverse.exp: Likewise.
2526 * gdb.reverse/i386-precsave.exp: Likewise.
2527 * gdb.reverse/i386-reverse.exp: Likewise.
2528 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2529 * gdb.reverse/i387-env-reverse.exp: Likewise.
2530 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2531 * gdb.reverse/insn-reverse.exp: Likewise.
2532 * gdb.reverse/machinestate-precsave.exp: Likewise.
2533 * gdb.reverse/machinestate.exp: Likewise.
2534 * gdb.reverse/pipe-reverse.exp: Likewise.
2535 * gdb.reverse/readv-reverse.exp: Likewise.
2536 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2537 * gdb.reverse/rerun-prec.exp: Likewise.
2538 * gdb.reverse/s390-mvcle.exp: Likewise.
2539 * gdb.reverse/solib-precsave.exp: Likewise.
2540 * gdb.reverse/solib-reverse.exp: Likewise.
2541 * gdb.reverse/step-precsave.exp: Likewise.
2542 * gdb.reverse/step-reverse.exp: Likewise.
2543 * gdb.reverse/time-reverse.exp: Likewise.
2544 * gdb.reverse/until-precsave.exp: Likewise.
2545 * gdb.reverse/until-reverse.exp: Likewise.
2546 * gdb.reverse/waitpid-reverse.exp: Likewise.
2547 * gdb.reverse/watch-precsave.exp: Likewise.
2548 * gdb.reverse/watch-reverse.exp: Likewise.
2549 * gdb.threads/kill.exp: Likewise.
2550 * gdb.threads/tid-reuse.exp: Likewise.
2551
2552 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2553
2554 PR gdb/26642
2555 * gdb.base/maint-target-async-off.c: New test.
2556 * gdb.base/maint-target-async-off.exp: New test.
2557
2558 2020-10-13 Alan Modra <amodra@gmail.com>
2559
2560 * gdb.arch/powerpc-altivec.s,
2561 * gdb.arch/powerpc-power7.s,
2562 * gdb.arch/powerpc-power8.s,
2563 * gdb.arch/powerpc-power9.s,
2564 * gdb.arch/powerpc-vsx.s,
2565 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2566 * gdb.arch/powerpc-altivec.exp,
2567 * gdb.arch/powerpc-power7.exp,
2568 * gdb.arch/powerpc-power8.exp,
2569 * gdb.arch/powerpc-power9.exp,
2570 * gdb.arch/powerpc-vsx.exp,
2571 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2572 disassembly of mfvsrd/mtvsrd.
2573
2574 2020-10-13 Alan Modra <amodra@gmail.com>
2575
2576 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2577 "target architecture" output.
2578 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2579 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2580 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2581 * gdb.arch/s390-disassembler-options.exp: Likewise.
2582
2583 2020-10-12 Pedro Alves <pedro@palves.net>
2584
2585 PR exp/26602
2586 PR c++/26550
2587 * gdb.cp/ambiguous.cc (marker1): Delete.
2588 (main): Initialize all the fields of the locals. Replace marker1
2589 call with a "set breakpoint here" marker.
2590 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2591 instead of running to marker1. Add tests printing all the
2592 variables and all the fields of the variables.
2593 (test_ambiguous): New proc, expecting the new GDB output when a
2594 field access is ambiguous. Change all "warning: X ambiguous"
2595 tests to use it.
2596
2597 2020-10-12 Gary Benson <gbenson@redhat.com>
2598
2599 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2600 * gdb.base/msym-bp-2.c (foo): Likewise.
2601 * gdb.base/msym-lang.c (foo): Likewise.
2602 * gdb.base/msym-lang-main.c (foo): Likewise.
2603 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2604 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2605 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2606 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2607 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2608 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2609 * gdb.python/py-objfile.c (static_var): Likewise.
2610 * gdb.python/py-symbol.c (rr): Likewise.
2611 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2612 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2613
2614 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2615
2616 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2617 output of backtrace.
2618
2619 2020-10-09 Tom Tromey <tromey@adacore.com>
2620
2621 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2622 (Rec): Add field. Fix range.
2623 * gdb.ada/scalar_storage.exp: Update.
2624
2625 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
2626
2627 PR exp/26714
2628 * gdb.base/printcmds.exp: Add tests for void results.
2629
2630 2020-10-09 Jan Vrany <jan.vrany@labware.com>
2631
2632 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2633 is emmited for both 'set directories' and 'directory' commands.
2634
2635 2020-10-08 Tom Tromey <tom@tromey.com>
2636
2637 * gdb.base/style.exp: Check that "main"'s name is styled.
2638
2639 2020-10-07 Tom Tromey <tromey@adacore.com>
2640
2641 * gdb.base/find.exp: Rename some tests.
2642
2643 2020-10-06 Gary Benson <gbenson@redhat.com>
2644
2645 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2646 * gdb.base/list1.c (unused): Likewise.
2647
2648 2020-10-06 Gary Benson <gbenson@redhat.com>
2649
2650 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2651 __attribute__ ((used)).
2652 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2653
2654 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2655
2656 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2657 make use of regions throughout.
2658 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2659 not {...}.
2660 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2661
2662 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
2663
2664 * gdb.base/call-sc.c: Fix return struct on stack test case.
2665 * gdb.base/call-sc.exp: Likewise.
2666
2667 2020-10-02 Gary Benson <gbenson@redhat.com>
2668
2669 * README: Fix "paralell".
2670
2671 2020-09-30 Gary Benson <gbenson@redhat.com>
2672
2673 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2674 Convert directive to lowercase.
2675 (.Labbrev1_begin): Add missing label.
2676 (abbrev code 0x1): Remove DW_AT_stmt_list.
2677 (.Ldie_b): Likewise.
2678
2679 2020-09-27 Tom Tromey <tom@tromey.com>
2680
2681 * gdb.tui/new-layout.exp: Use with_test_prefix.
2682
2683 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2684
2685 PR python/26586
2686 * gdb.python/python.exp: add test cases for the from_tty
2687 argument to gdb.execute.
2688
2689 2020-09-25 Gary Benson <gbenson@redhat.com>
2690
2691 * gdb.base/infcall-nested-structs.exp.tcl: Add
2692 additional_flags=-Wno-tautological-compare for C++
2693 tests when compiling using Clang.
2694
2695 2020-09-25 Gary Benson <gbenson@redhat.com>
2696
2697 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2698 for .c files.
2699
2700 2020-09-24 Tom Tromey <tromey@adacore.com>
2701
2702 PR tui/26638:
2703 * gdb.tui/list.exp: Check output of "focus next".
2704
2705 2020-09-23 Tom Tromey <tom@tromey.com>
2706
2707 * gdb.dwarf2/intbits.exp: New file.
2708 * gdb.dwarf2/intbits.c: New file.
2709
2710 2020-09-20 Pedro Alves <pedro@palves.net>
2711
2712 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2713 spawn_id before calling remote_close. Close secondary MI channel.
2714
2715 2020-09-20 Pedro Alves <pedro@palves.net>
2716
2717 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2718 fails.
2719
2720 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2721
2722 * gdb.fortran/array-slices.exp: Update expected results.
2723 * gdb.fortran/class-allocatable-array.exp: Likewise.
2724 * gdb.fortran/multi-dim.exp: Likewise.
2725 * gdb.fortran/vla-type.exp: Likewise.
2726 * gdb.mi/mi-vla-fortran.exp: Likewise.
2727
2728 2020-09-18 Victor Collod <vcollod@nvidia.com>
2729
2730 PR gdb/26635
2731 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2732 compatible with i386, and move it to...
2733 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2734 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2735 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2736
2737 2020-09-18 Pedro Alves <pedro@palves.net>
2738
2739 PR gdb/26631
2740 * gdb.multi/multi-target-thread-find.exp: New file.
2741
2742 2020-09-18 Pedro Alves <pedro@palves.net>
2743
2744 * gdb.multi/multi-target-continue.exp: New file, factored out from
2745 multi-target.exp.
2746 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2747 multi-target.exp.
2748 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2749 multi-target.exp.
2750 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2751 multi-target.exp.
2752 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2753 multi-target.exp.
2754 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2755 multi-target.exp.
2756 * gdb.multi/multi-target.exp: Delete.
2757
2758 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2759
2760 * gdb.fortran/array-slices.exp: Add missing message data.
2761
2762 2020-09-17 Pedro Alves <pedro@palves.net>
2763
2764 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2765
2766 2020-09-17 Pedro Alves <pedro@palves.net>
2767
2768 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2769 full prototype.
2770
2771 2020-09-17 Pedro Alves <pedro@palves.net>
2772
2773 * gdb.python/py-as-string.c: Add cast.
2774
2775 2020-09-17 Pedro Alves <pedro@palves.net>
2776
2777 * gdb.base/sizeof.c (fill): Add cast.
2778
2779 2020-09-17 Pedro Alves <pedro@palves.net>
2780
2781 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2782
2783 2020-09-17 Pedro Alves <pedro@palves.net>
2784
2785 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2786 linkage name.
2787 * gdb.base/prologue.exp: Use print /d.
2788 * gdb.base/symbol-alias.exp: Handle C++ output.
2789 * gdb.base/symbol-alias2.c: Handle C++ output.
2790 [__cplusplus] (func): Explicitly specify linkage name.
2791
2792 2020-09-17 Pedro Alves <pedro@palves.net>
2793
2794 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2795 (struct my_key_t): ... this. Adjust all references.
2796 (struct value_t): Rename to ...
2797 (struct my_value_t): ... this. Adjust all references.
2798 (create_map, add_map_element, create_map_map)
2799 (add_map_map_element): Add casts.
2800
2801 2020-09-17 Pedro Alves <pedro@palves.net>
2802
2803 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2804 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2805
2806 2020-09-17 Pedro Alves <pedro@palves.net>
2807
2808 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2809
2810 2020-09-17 Pedro Alves <pedro@palves.net>
2811
2812 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2813 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2814 (charfoo, intfoo): Define full prototype.
2815 * gdb.base/ptype1.c (charfoo): Define full prototype.
2816 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2817 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2818
2819 2020-09-17 Pedro Alves <pedro@palves.net>
2820
2821 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2822 Don't define.
2823 (utf_32_string): Compile for both C and C++.
2824 * gdb.base/charset.exp: Use "print /d".
2825
2826 2020-09-17 Pedro Alves <pedro@palves.net>
2827
2828 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2829 (nullptr): Rename to ...
2830 (null_ptr): ... this.
2831 * gdb.base/watchpoint.exp: Adjust to rename.
2832
2833 2020-09-17 Pedro Alves <pedro@palves.net>
2834
2835 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2836 (three_not_flag): Add casts.
2837
2838 2020-09-17 Pedro Alves <pedro@palves.net>
2839
2840 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2841 char array.
2842 (main): Add references to Barrier, TestStrings, TestStringsH and
2843 TestStringsW.
2844 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2845 and expect a full prototype in C++.
2846
2847 2020-09-17 Pedro Alves <pedro@palves.net>
2848
2849 * gdb.base/nested-addr.c (main): Add cast.
2850 * gdb.base/nested-addr.exp: Use "print /d".
2851
2852 2020-09-17 Pedro Alves <pedro@palves.net>
2853
2854 * gdb.base/break.exp (func): New. Use it throughout when
2855 expecting a function name.
2856
2857 2020-09-17 Pedro Alves <pedro@palves.net>
2858
2859 * gdb.base/display.exp: Issue "set print asm-demangle on".
2860
2861 2020-09-17 Pedro Alves <pedro@palves.net>
2862
2863 * gdb.base/find.c: Include <string.h>.
2864 (init_bufs): Add cast.
2865 * gdb.base/find.exp: Issue "set print asm-demangle on".
2866
2867 2020-09-16 Tom Tromey <tromey@adacore.com>
2868
2869 PR gdb/26598:
2870 * gdb.base/skipcxx.exp: New file.
2871 * gdb.base/skipcxx.cc: New file.
2872
2873 2020-09-16 Tom de Vries <tdevries@suse.de>
2874
2875 PR testsuite/26617
2876 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2877 WITH_DEBUG_SECTIONS is defined.
2878 (xstr, str): New macro.
2879 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2880 to get start and size of _Dmain.
2881 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2882 using additional_flags.
2883
2884 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2885
2886 * gdb.base/bp-cmds-sourced-script.c: New file.
2887 * gdb.base/bp-cmds-sourced-script.exp: New test.
2888 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2889
2890 2020-09-16 Tom de Vries <tdevries@suse.de>
2891
2892 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2893 get the gdb prompt after issuing "monitor exit".
2894
2895 2020-09-16 Tom de Vries <tdevries@suse.de>
2896
2897 PR testsuite/26624
2898 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2899
2900 2020-09-16 Tom de Vries <tdevries@suse.de>
2901
2902 PR testsuite/26618
2903 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2904
2905 2020-09-15 Tom Tromey <tromey@adacore.com>
2906
2907 PR rust/26197:
2908 * lib/rust-support.exp (rust_llvm_version): New proc.
2909 * gdb.rust/simple.exp: Check rust_llvm_version.
2910
2911 2020-09-14 Tom de Vries <tdevries@suse.de>
2912
2913 * gdb.rust/traits.exp: Fix PATH warning.
2914
2915 2020-09-13 Pedro Alves <pedro@palves.net>
2916
2917 * gdb.base/catch-follow-exec.c (main): Add explicit return
2918 statement.
2919 * gdb.base/catch-signal.c (main): Likewise.
2920 * gdb.base/condbreak-call-false.c (main): Likewise.
2921 * gdb.base/consecutive.c (main): Add explicit return
2922 statement and return type.
2923 * gdb.base/cursal.c (main): Add explicit return statement.
2924 * gdb.base/cvexpr.c (main): Likewise.
2925 * gdb.base/display.c (main): Add explicit return statement and
2926 return type.
2927 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2928 * gdb.base/endianity.c (main): Likewise.
2929 * gdb.base/execd-prog.c (main): Likewise.
2930 * gdb.base/gdb1090.c (main): Likewise.
2931 * gdb.base/info_qt.c (main): Likewise.
2932 * gdb.base/lineinc.c (main): Likewise.
2933 * gdb.base/load-command.c (main): Likewise.
2934 * gdb.base/macscp1.c (main): Likewise.
2935 * gdb.base/pr10179-a.c (main): Likewise.
2936 * gdb.base/quit-live.c (main): Likewise.
2937 * gdb.base/scope0.c (main): Likewise.
2938 * gdb.base/settings.c (main): Likewise.
2939 * gdb.base/stack-checking.c (main): Return int.
2940 * gdb.base/varargs.c (main): Add explicit return statement.
2941 * gdb.cp/ambiguous.cc (main): Likewise.
2942 * gdb.cp/anon-struct.cc (main): Likewise.
2943 * gdb.cp/anon-union.cc (main): Likewise.
2944 * gdb.cp/bool.cc (main): Likewise.
2945 * gdb.cp/bs15503.cc (main): Likewise.
2946 * gdb.cp/cplusfuncs.cc (main): Likewise.
2947 * gdb.cp/cttiadd.cc (main): Likewise.
2948 * gdb.cp/extern-c.cc (main): Likewise.
2949 * gdb.cp/filename.cc (main): Likewise.
2950 * gdb.cp/formatted-ref.cc (main): Likewise.
2951 * gdb.cp/mb-ctor.cc (main): Likewise.
2952 * gdb.cp/member-ptr.cc (main): Likewise.
2953 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2954 * gdb.cp/overload-const.cc (main): Likewise.
2955 * gdb.cp/paren-type.cc (main): Likewise.
2956 * gdb.cp/parse-lang.cc (main): Likewise.
2957 * gdb.cp/pr-1023.cc (main): Likewise.
2958 * gdb.cp/psmang1.cc (main): Likewise.
2959 * gdb.cp/readnow-language.cc (main): Likewise.
2960 * gdb.cp/ref-params.cc (main): Likewise.
2961 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2962 * gdb.cp/virtbase2.cc (main): Likewise.
2963 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2964 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2965 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2966 * gdb.mi/mi-console.c (main): Likewise.
2967 * gdb.mi/mi-read-memory.c (main): Likewise.
2968 * gdb.modula2/multidim.c (main): Likewise.
2969 * gdb.opt/inline-small-func.c (main): Likewise.
2970 * gdb.python/py-rbreak.c (main): Likewise.
2971 * gdb.stabs/exclfwd1.c (main): Likewise.
2972 * gdb.trace/qtro.c (main): Likewise.
2973
2974 2020-09-13 Pedro Alves <pedro@palves.net>
2975
2976 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2977 instead of getenv.
2978
2979 2020-09-13 Pedro Alves <pedro@palves.net>
2980
2981 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2982 instead of spawning GDB with remote_spawn.
2983 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2984 gdb_spawn instead of spawning GDB with remote_spawn.
2985
2986 2020-09-13 Pedro Alves <pedro@palves.net>
2987
2988 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2989 file and add calls to first and second.
2990 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2991 add call to f.
2992
2993 2020-09-13 Pedro Alves <pedro@palves.net>
2994
2995 * gdb.mi/mi-break-qualified.cc: New file.
2996 * gdb.mi/mi-break-qualified.exp: New file.
2997 * lib/mi-support.exp (mi_create_breakpoint_multi)
2998 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2999 procedures.
3000 (mi_create_breakpoint_1): New, factored out from
3001 mi_create_breakpoint.
3002
3003 2020-09-13 Pedro Alves <pedro@palves.net>
3004
3005 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3006 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3007 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3008 (register_class): Delete.
3009 (main): Don't call register_class.
3010
3011 2020-09-13 Pedro Alves <pedro@palves.net>
3012
3013 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3014 (do_tests): Remove "calling method for small class" test.
3015 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3016 (register_class): Delete.
3017 (main): Don't call register_class.
3018 * gdb.cp/call-method-register.exp: New file, based on bits removed
3019 from classes.exp.
3020 * gdb.cp/call-method-register.cc: New file, based on bits removed
3021 from classes.cc.
3022
3023 2020-09-13 Pedro Alves <pedro@palves.net>
3024
3025 * gdb.base/msym-bp-2.c: New.
3026 * gdb.base/msym-bp-shl-lib.c: New file.
3027 * gdb.base/msym-bp-shl-main-2.c: New file.
3028 * gdb.base/msym-bp-shl-main.c: New file.
3029 * gdb.base/msym-bp-shl.exp: New file.
3030 * gdb.base/msym-bp.c: New file.
3031 * gdb.base/msym-bp.exp: New file.
3032
3033 2020-09-13 Joel Brobecker <brobecker@adacore.com>
3034
3035 * gdb.base/default.exp: Change $_gdb_major to 11.
3036
3037 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3038 Felix Willgerodt <Felix.Willgerodt@intel.com>
3039
3040 * x86-avx512bf16.c: New file.
3041 * x86-avx512bf16.exp: Likewise.
3042 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3043
3044 2020-09-11 Tom de Vries <tdevries@suse.de>
3045
3046 PR exp/26602
3047 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3048
3049 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3050
3051 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3052
3053 2020-09-10 Alan Modra <amodra@gmail.com>
3054
3055 PR 26597
3056 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3057
3058 2020-09-08 Tom de Vries <tdevries@suse.de>
3059
3060 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3061 after gdb_starti_cmd.
3062
3063 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3064
3065 * lib/fortran.exp (fortran_complex8): New proc.
3066 (fortran_complex16): New proc.
3067 * gdb.fortran/complex.exp: Use routines from fortran.exp
3068 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3069 * gdb.fortran/vla-ptr-info.exp: Likewise.
3070
3071 2020-09-03 Tom de Vries <tdevries@suse.de>
3072
3073 PR breakpoint/26546
3074 * gdb.base/label-without-address.exp: Runto main first.
3075
3076 2020-09-02 Tom Tromey <tromey@adacore.com>
3077
3078 * gdb.ada/mi_var_access.exp: Test children of access variable.
3079 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3080 * gdb.ada/mi_var_array.exp: Update.
3081
3082 2020-08-31 Kevin Buettner <kevinb@redhat.com>
3083
3084 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3085 on docker w/ AUFS storage driver.
3086
3087 2020-08-31 Kevin Buettner <kevinb@redhat.com>
3088
3089 * gdb.base/corefile2.exp (renamed binfile): New tests.
3090
3091 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
3092
3093 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3094
3095 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
3096
3097 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3098 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3099
3100 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
3101
3102 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3103 output, printing a "not saved" value from history and printing a
3104 convenience variable created from a "not saved" value.
3105
3106 2020-08-31 Tom de Vries <tdevries@suse.de>
3107
3108 * gdb.base/eh_return.exp: Use nopie.
3109
3110 2020-08-28 Pedro Alves <pedro@palves.net>
3111
3112 * gdb.base/advance-until-multiple-locations.exp
3113 (advance_overload, until_overload): Adjust to match the
3114 frame/function header instead of the source line text.
3115
3116 2020-08-28 Tom de Vries <tdevries@suse.de>
3117
3118 * gdb.base/label-without-address.c: New test.
3119 * gdb.base/label-without-address.exp: New file.
3120
3121 2020-08-27 Pedro Alves <pedro@palves.net>
3122
3123 PR gdb/26523
3124 PR gdb/26524
3125 * gdb.base/advance-until-multiple-locations.cc: New.
3126 * gdb.base/advance-until-multiple-locations.exp: New.
3127
3128 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3129
3130 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3131
3132 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * gdb.arch/amd64-byte.exp: Make test names unique, use
3135 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3136 * gdb.arch/amd64-dword.exp: Likewise.
3137 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3138 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3139 unique.
3140 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3141 * gdb.arch/amd64-word.exp: Make test names unique, use
3142 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3143 * gdb.arch/i386-byte.exp: Make test names unique, use
3144 gdb_breakpoint.
3145 * gdb.arch/i386-word.exp: Likewise.
3146
3147 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
3148
3149 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3150
3151 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3152
3153 PR gdb/26532
3154 * gdb.threads/stepi-random-signal.exp: Update pattern.
3155
3156 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
3157
3158 PR gdb/26532
3159 * gdb.base/ui-redirect.exp: Update pattern.
3160
3161 2020-08-25 Gary Benson <gbenson@redhat.com>
3162
3163 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3164 when compiling with clang.
3165 * gdb.dwarf2/dw2-restore.exp: Likewise.
3166
3167 2020-08-25 Gary Benson <gbenson@redhat.com>
3168
3169 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3170 Add additional_flags=-Wno-inaccessible-base when compiling
3171 with GCC >= 10.1 or clang. Add additional_flags=-w when
3172 compiling with GCC < 10.
3173
3174 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3175
3176 PR m2/26372
3177 * gdb.modula2/multidim.c: New file.
3178 * gdb.modula2/multidim.exp: New file.
3179
3180 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3181
3182 * lib/gdb.exp (runto): Always emit fail on internal error.
3183
3184 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
3185
3186 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3187 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3188 Likewise.
3189 * gdb.threads/stepi-random-signal.exp: Likewise.
3190
3191 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3192
3193 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3194 * gdb.trace/strace.exp: Ditto.
3195
3196 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3197
3198 * gdb.fortran/vla-type.exp: Skip commands not required for
3199 the Flang compiled binaries after prologue fix.
3200
3201 2020-08-17 Tom de Vries <tdevries@suse.de>
3202 Tom Tromey <tromey@adacore.com>
3203
3204 PR rust/26197:
3205 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3206
3207 2020-08-17 Tom Tromey <tromey@adacore.com>
3208
3209 * gdb.ada/mi_var_access.exp: New file.
3210 * gdb.ada/mi_var_access/mi_access.adb: New file.
3211 * gdb.ada/mi_var_access/pck.adb: New file.
3212 * gdb.ada/mi_var_access/pck.ads: New file.
3213
3214 2020-08-16 Tom de Vries <tdevries@suse.de>
3215
3216 PR gdb/25350
3217 * gdb.base/eh_return.c: New test.
3218 * gdb.base/eh_return.exp: New file.
3219
3220 2020-08-15 Tom de Vries <tdevries@suse.de>
3221
3222 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3223 (mixed_func_1d_): Use fortran_charlen_t in decl.
3224
3225 2020-08-15 Tom de Vries <tdevries@suse.de>
3226
3227 PR backtrace/26390
3228 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3229 Update expected pattern.
3230
3231 2020-08-13 Pedro Alves <pedro@palves.net>
3232
3233 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3234 * gdb.fortran/library-module.exp: Likewise.
3235 * gdb.fortran/logical.exp: Likewise.
3236 * gdb.fortran/module.exp: Likewise.
3237 * gdb.fortran/print_type.exp: Likewise.
3238 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3239 * gdb.fortran/vla-datatypes.exp: Likewise.
3240 * gdb.fortran/vla-history.exp: Likewise.
3241 * gdb.fortran/vla-ptr-info.exp: Likewise.
3242 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3243 * gdb.fortran/vla-ptype.exp: Likewise.
3244 * gdb.fortran/vla-sizeof.exp: Likewise.
3245 * gdb.fortran/vla-type.exp: Likewise.
3246 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3247 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3248 * gdb.fortran/vla-value-sub.exp: Likewise.
3249 * gdb.fortran/vla-value.exp: Likewise.
3250
3251 2020-08-13 Pedro Alves <pedro@palves.net>
3252
3253 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3254 * gdb.ada/access_to_packed_array.exp: Likewise.
3255 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3256 * gdb.ada/addr_arith.exp: Likewise.
3257 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3258 * gdb.ada/arr_arr.exp: Likewise.
3259 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3260 * gdb.ada/array_bounds.exp: Likewise.
3261 * gdb.ada/array_of_variable_length.exp: Likewise.
3262 * gdb.ada/array_ptr_renaming.exp: Likewise.
3263 * gdb.ada/array_subscript_addr.exp: Likewise.
3264 * gdb.ada/arraydim.exp: Likewise.
3265 * gdb.ada/arrayparam.exp: Likewise.
3266 * gdb.ada/arrayptr.exp: Likewise.
3267 * gdb.ada/assign_1.exp: Likewise.
3268 * gdb.ada/assign_arr.exp: Likewise.
3269 * gdb.ada/atomic_enum.exp: Likewise.
3270 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3271 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3272 * gdb.ada/bias.exp: Likewise.
3273 * gdb.ada/boolean_expr.exp: Likewise.
3274 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3275 * gdb.ada/bp_enum_homonym.exp: Likewise.
3276 * gdb.ada/bp_inlined_func.exp: Likewise.
3277 * gdb.ada/bp_on_var.exp: Likewise.
3278 * gdb.ada/bp_range_type.exp: Likewise.
3279 * gdb.ada/bp_reset.exp: Likewise.
3280 * gdb.ada/call_pn.exp: Likewise.
3281 * gdb.ada/catch_assert_if.exp: Likewise.
3282 * gdb.ada/catch_ex.exp: Likewise.
3283 * gdb.ada/catch_ex_std.exp: Likewise.
3284 * gdb.ada/char_enum.exp: Likewise.
3285 * gdb.ada/char_param.exp: Likewise.
3286 * gdb.ada/complete.exp: Likewise.
3287 * gdb.ada/cond_lang.exp: Likewise.
3288 * gdb.ada/convvar_comp.exp: Likewise.
3289 * gdb.ada/dgopt.exp: Likewise.
3290 * gdb.ada/disc_arr_bound.exp: Likewise.
3291 * gdb.ada/display_nested.exp: Likewise.
3292 * gdb.ada/dot_all.exp: Likewise.
3293 * gdb.ada/dyn_loc.exp: Likewise.
3294 * gdb.ada/dyn_stride.exp: Likewise.
3295 * gdb.ada/excep_handle.exp: Likewise.
3296 * gdb.ada/expr_delims.exp: Likewise.
3297 * gdb.ada/expr_with_funcall.exp: Likewise.
3298 * gdb.ada/exprs.exp: Likewise.
3299 * gdb.ada/fin_fun_out.exp: Likewise.
3300 * gdb.ada/fixed_cmp.exp: Likewise.
3301 * gdb.ada/formatted_ref.exp: Likewise.
3302 * gdb.ada/frame_arg_lang.exp: Likewise.
3303 * gdb.ada/frame_args.exp: Likewise.
3304 * gdb.ada/fullname_bp.exp: Likewise.
3305 * gdb.ada/fun_addr.exp: Likewise.
3306 * gdb.ada/fun_in_declare.exp: Likewise.
3307 * gdb.ada/fun_overload_menu.exp: Likewise.
3308 * gdb.ada/fun_renaming.exp: Likewise.
3309 * gdb.ada/funcall_char.exp: Likewise.
3310 * gdb.ada/funcall_param.exp: Likewise.
3311 * gdb.ada/funcall_ptr.exp: Likewise.
3312 * gdb.ada/funcall_ref.exp: Likewise.
3313 * gdb.ada/homonym.exp: Likewise.
3314 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3315 * gdb.ada/info_auto_lang.exp: Likewise.
3316 * gdb.ada/info_exc.exp: Likewise.
3317 * gdb.ada/info_types.exp: Likewise.
3318 * gdb.ada/int_deref.exp: Likewise.
3319 * gdb.ada/interface.exp: Likewise.
3320 * gdb.ada/iwide.exp: Likewise.
3321 * gdb.ada/lang_switch.exp: Likewise.
3322 * gdb.ada/length_cond.exp: Likewise.
3323 * gdb.ada/maint_with_ada.exp: Likewise.
3324 * gdb.ada/mi_catch_assert.exp: Likewise.
3325 * gdb.ada/mi_catch_ex.exp: Likewise.
3326 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3327 * gdb.ada/mi_dyn_arr.exp: Likewise.
3328 * gdb.ada/mi_ex_cond.exp: Likewise.
3329 * gdb.ada/mi_exc_info.exp: Likewise.
3330 * gdb.ada/mi_interface.exp: Likewise.
3331 * gdb.ada/mi_prot.exp: Likewise.
3332 * gdb.ada/mi_ref_changeable.exp: Likewise.
3333 * gdb.ada/mi_string_access.exp: Likewise.
3334 * gdb.ada/mi_task_arg.exp: Likewise.
3335 * gdb.ada/mi_task_info.exp: Likewise.
3336 * gdb.ada/mi_var_array.exp: Likewise.
3337 * gdb.ada/mi_var_union.exp: Likewise.
3338 * gdb.ada/mi_variant.exp: Likewise.
3339 * gdb.ada/minsyms.exp: Likewise.
3340 * gdb.ada/mod_from_name.exp: Likewise.
3341 * gdb.ada/nested.exp: Likewise.
3342 * gdb.ada/null_array.exp: Likewise.
3343 * gdb.ada/optim_drec.exp: Likewise.
3344 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3345 * gdb.ada/packed_array_assign.exp: Likewise.
3346 * gdb.ada/packed_tagged.exp: Likewise.
3347 * gdb.ada/pp-rec-component.exp: Likewise.
3348 * gdb.ada/print_chars.exp: Likewise.
3349 * gdb.ada/print_pc.exp: Likewise.
3350 * gdb.ada/ptr_typedef.exp: Likewise.
3351 * gdb.ada/ptype_arith_binop.exp: Likewise.
3352 * gdb.ada/ptype_array.exp: Likewise.
3353 * gdb.ada/ptype_field.exp: Likewise.
3354 * gdb.ada/ptype_tagged_param.exp: Likewise.
3355 * gdb.ada/ptype_union.exp: Likewise.
3356 * gdb.ada/py_range.exp: Likewise.
3357 * gdb.ada/py_taft.exp: Likewise.
3358 * gdb.ada/rdv_wait.exp: Likewise.
3359 * gdb.ada/rec_comp.exp: Likewise.
3360 * gdb.ada/rec_return.exp: Likewise.
3361 * gdb.ada/ref_param.exp: Likewise.
3362 * gdb.ada/ref_tick_size.exp: Likewise.
3363 * gdb.ada/rename_subscript_param.exp: Likewise.
3364 * gdb.ada/repeat_dyn.exp: Likewise.
3365 * gdb.ada/same_component_name.exp: Likewise.
3366 * gdb.ada/same_enum.exp: Likewise.
3367 * gdb.ada/scalar_storage.exp: Likewise.
3368 * gdb.ada/set_wstr.exp: Likewise.
3369 * gdb.ada/small_reg_param.exp: Likewise.
3370 * gdb.ada/str_binop_equal.exp: Likewise.
3371 * gdb.ada/str_ref_cmp.exp: Likewise.
3372 * gdb.ada/str_uninit.exp: Likewise.
3373 * gdb.ada/sub_variant.exp: Likewise.
3374 * gdb.ada/sym_print_name.exp: Likewise.
3375 * gdb.ada/taft_type.exp: Likewise.
3376 * gdb.ada/tagged.exp: Likewise.
3377 * gdb.ada/tagged_access.exp: Likewise.
3378 * gdb.ada/task_bp.exp: Likewise.
3379 * gdb.ada/task_switch_in_core.exp: Likewise.
3380 * gdb.ada/tasks.exp: Likewise.
3381 * gdb.ada/tick_last_segv.exp: Likewise.
3382 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3383 * gdb.ada/type_coercion.exp: Likewise.
3384 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3385 * gdb.ada/unchecked_union.exp: Likewise.
3386 * gdb.ada/uninitialized_vars.exp: Likewise.
3387 * gdb.ada/var_arr_attrs.exp: Likewise.
3388 * gdb.ada/var_arr_typedef.exp: Likewise.
3389 * gdb.ada/var_rec_arr.exp: Likewise.
3390 * gdb.ada/variant-record.exp: Likewise.
3391 * gdb.ada/variant.exp: Likewise.
3392 * gdb.ada/variant_record_packed_array.exp: Likewise.
3393 * gdb.ada/varsize_limit.exp: Likewise.
3394 * gdb.ada/whatis_array_val.exp: Likewise.
3395 * gdb.ada/widewide.exp: Likewise.
3396 * gdb.ada/win_fu_syms.exp: Likewise.
3397
3398 2020-08-12 Gary Benson <gbenson@redhat.com>
3399
3400 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3401
3402 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3403
3404 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3405 unset the array variable.
3406
3407 2020-08-03 Tom de Vries <tdevries@suse.de>
3408
3409 PR symtab/26333
3410 * lib/dwarf.exp (DW_LNE_user): New proc.
3411 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3412 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3413
3414 2020-07-31 Kevin Buettner <kevinb@redhat.com>
3415
3416 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3417 to 'uintptr_t'
3418 (inttypes.h): Include.
3419
3420 2020-07-31 Kevin Buettner <kevinb@redhat.com>
3421
3422 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3423 (C5_24k): Delete.
3424 (C5_8k, C5_64k, C5_256k): New macros.
3425 (buf_ro): Allocate 256 KiB of initialized data.
3426
3427 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3428
3429 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3430 that attempt to overwrite an existing condition with a condition
3431 that fails parsing and also with a condition that parses fine
3432 but contains junk at the end.
3433
3434 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3435
3436 * gdb.base/condbreak-bad.c: New test.
3437 * gdb.base/condbreak-bad.exp: New file.
3438
3439 2020-07-30 Tom de Vries <tdevries@suse.de>
3440
3441 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3442 out of ...
3443 (GDBInfoModuleSymbols::check_entry): ... here.
3444 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3445 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3446 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3447
3448 2020-07-30 Tom de Vries <tdevries@suse.de>
3449
3450 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3451 "__class_some_module_Number_t" optional.
3452
3453 2020-07-29 Tom de Vries <tdevries@suse.de>
3454
3455 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3456 multiple locations.
3457
3458 2020-07-29 Tom de Vries <tdevries@suse.de>
3459
3460 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3461 rather than function name.
3462
3463 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3464
3465 PR symtab/26270:
3466 * gdb.cp/disasm-func-name.cc: New file.
3467 * gdb.cp/disasm-func-name.exp: New file.
3468
3469 2020-07-28 Tom Tromey <tromey@adacore.com>
3470
3471 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3472 'varval' location.
3473
3474 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3475
3476 * gdb.python/py-unwind.py: Update to make use of a register
3477 descriptor.
3478
3479 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3480
3481 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3482
3483 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3484
3485 PR fortran/23051
3486 PR fortran/26139
3487 * gdb.fortran/class-allocatable-array.exp: New file.
3488 * gdb.fortran/class-allocatable-array.f90: New file.
3489 * gdb.fortran/pointer-to-pointer.exp: New file.
3490 * gdb.fortran/pointer-to-pointer.f90: New file.
3491
3492 2020-07-25 Tom de Vries <tdevries@suse.de>
3493
3494 PR symtab/26243
3495 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3496 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3497
3498 2020-07-24 Tom de Vries <tdevries@suse.de>
3499
3500 PR testsuite/26293
3501 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3502
3503 2020-07-23 Pedro Alves <pedro@palves.net>
3504
3505 * gdb.server/server-kill.exp (prepare): New, factored out from the
3506 top level.
3507 (kill_server): New.
3508 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3509 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3510
3511 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3512
3513 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3514
3515 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3516
3517 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3518 Initialize to empty string at top level.
3519 (gdb_wrapper_init): Revert check for file existence on build.
3520 Build the wrapper in its default place, not a build-specific
3521 location. When host == build, make the pathname absolute.
3522 (gdb_compile): Delete leftover declaration of
3523 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3524 string instead of uninitialized.
3525
3526 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3527
3528 * gdb.base/corefile2.exp: New file.
3529 * gdb.base/coremaker2.exp: New file.
3530
3531 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3532
3533 * gdb.base/coredump-filter.exp: Add second
3534 non-Private-Shared-Anon-File test.
3535 (test_disasm): Rename binfile for test which is expected
3536 to fail.
3537
3538 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3539
3540 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3541 data in core file".
3542 * gdb.base/coremaker.c (buf2ro): New global.
3543 (mmapdata): Add a read-only mmap mapping.
3544
3545 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3546
3547 PR corefiles/25631
3548 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3549 New test.
3550 * gdb.base/coremaker.c (buf3): New global.
3551 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3552 flags.
3553
3554 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3555
3556 * gdb.base/coremaker.c (filler_ro): New global constant.
3557
3558 2020-07-22 Tom Tromey <tromey@adacore.com>
3559
3560 * gdb.ada/mi_prot.exp: New file.
3561 * gdb.ada/mi_prot/pkg.adb: New file.
3562 * gdb.ada/mi_prot/pkg.ads: New file.
3563 * gdb.ada/mi_prot/prot.adb: New file.
3564
3565 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3566
3567 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3568 loads two JITers.
3569
3570 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3571
3572 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3573
3574 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3575
3576 * gdb.python/py-arch-reg-names.exp: Additional tests.
3577
3578 2020-07-21 Tom de Vries <tdevries@suse.de>
3579
3580 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3581 breakpoint locations".
3582 * gdb.reverse/solib-reverse.exp: Same.
3583
3584 2020-07-21 Tom de Vries <tdevries@suse.de>
3585
3586 * gdb.reverse/step-reverse.c (callee): Merge statements.
3587
3588 2020-07-21 Tom de Vries <tdevries@suse.de>
3589
3590 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3591 line numbers for some variables.
3592
3593 2020-07-21 Tom de Vries <tdevries@suse.de>
3594
3595 * gdb.opt/inline-locals.c (init_array): New func.
3596 (func1): Use init_array.
3597 * gdb.opt/inline-locals.exp: Update pattern.
3598
3599 2020-07-21 Tom de Vries <tdevries@suse.de>
3600
3601 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3602 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3603
3604 2020-07-20 Ludovic Courtès <ludo@gnu.org>
3605
3606 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3607 * gdb.guile/types-module.exp: Remove "ERROR:" from
3608 regexps since Guile 3.0 no longer prints that.
3609
3610 2020-07-20 Ludovic Courtès <ludo@gnu.org>
3611
3612 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3613 error regexp to match on Guile 2.2.
3614
3615 2020-07-20 Gary Benson <gbenson@redhat.com>
3616
3617 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3618 with clang.
3619
3620 2020-07-20 Tom de Vries <tdevries@suse.de>
3621
3622 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3623 (omp_set_lock_in_order): New function.
3624 (single_scope, multi_scope, nested_func, nested_parallel): Use
3625 omp_set_lock_in_order and omp_unset_lock.
3626 (main): Init and destroy lock and lock2.
3627
3628 2020-07-20 Tom de Vries <tdevries@suse.de>
3629
3630 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3631
3632 2020-07-20 Tom de Vries <tdevries@suse.de>
3633
3634 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3635
3636 2020-07-17 Tom de Vries <tdevries@suse.de>
3637
3638 * gdb.base/valgrind-infcall-2.c: New test.
3639 * gdb.base/valgrind-infcall-2.exp: New file.
3640 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3641
3642 2020-07-17 Tom de Vries <tdevries@suse.de>
3643
3644 * gdb.dlang/circular.c (found): Use found_label as label name.
3645 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3646 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3647 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3648 * gdb.dwarf2/ada-linkage-name.exp: Same.
3649 * gdb.dwarf2/arr-subrange.exp: Same.
3650 * gdb.dwarf2/atomic-type.exp: Same.
3651 * gdb.dwarf2/comp-unit-lang.exp: Same.
3652 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3653 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3654 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3655 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3656 * gdb.dwarf2/implptr-64bit.exp: Same.
3657 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3658 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3659 * gdb.dwarf2/imported-unit.exp: Same.
3660 * gdb.dwarf2/main-subprogram.exp: Same.
3661 * gdb.dwarf2/missing-type-name.exp: Same.
3662 * gdb.dwarf2/nonvar-access.exp: Same.
3663 * gdb.dwarf2/struct-with-sig.exp: Same.
3664 * gdb.dwarf2/typedef-void-finish.exp: Same.
3665 * gdb.dwarf2/void-type.exp: Same.
3666
3667 2020-07-17 Tom de Vries <tdevries@suse.de>
3668
3669 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3670 src parameter.
3671 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3672 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3673 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3674 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3675 * gdb.dwarf2/dwz.exp: Same.
3676 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3677 * gdb.dwarf2/implref-array.exp: Same.
3678 * gdb.dwarf2/implref-const.exp: Same.
3679 * gdb.dwarf2/implref-global.exp: Same.
3680 * gdb.dwarf2/implref-struct.exp: Same.
3681 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3682 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3683 * gdb.dwarf2/var-access.exp: Same.
3684 * gdb.dwarf2/varval.exp: Same.
3685 * gdb.trace/entry-values.exp: Same.
3686
3687 2020-07-17 Tom de Vries <tdevries@suse.de>
3688
3689 * lib/dwarf.exp (Dwarf::extern): Remove.
3690 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3691 * gdb.dlang/circular.exp: Same.
3692 * gdb.dwarf2/comp-unit-lang.exp: Same.
3693 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3694 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3695 * gdb.dwarf2/dwz.exp: Same.
3696 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3697 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3698 * gdb.dwarf2/imported-unit.exp: Same.
3699 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3700
3701 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3702
3703 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3704 Use double quotes instead of single quotes.
3705
3706 2020-07-16 Caroline Tice <cmtice@google.com>
3707
3708 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3709 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3710
3711 2020-07-16 Tom de Vries <tdevries@suse.de>
3712
3713 * lib/dwarf.exp (program): Initialize _line.
3714 (DW_LNE_end_sequence): Reinitialize _line.
3715 (DW_LNS_advance_line): Update _line.
3716 (line): New proc.
3717 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3718 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3719 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3720 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3721 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3722 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3723
3724 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3725
3726 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3727 generic.
3728
3729 2020-07-15 Tom de Vries <tdevries@suse.de>
3730
3731 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3732 is_amd64_regs_target.
3733
3734 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3735
3736 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3737 * gdb.fortran/ptype-on-functions.f90: Likewise.
3738
3739 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3740
3741 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3742 values in documentation for addr_size to 4 and 8.
3743
3744 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3745
3746 * gdb.arch/amd64-osabi.exp: Update.
3747 * gdb.arch/arm-disassembler-options.exp: Update.
3748 * gdb.arch/powerpc-disassembler-options.exp: Update.
3749 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3750 * gdb.arch/s390-disassembler-options.exp: Update.
3751 * gdb.base/all-architectures.exp.tcl: Update.
3752 * gdb.base/attach-pie-noexec.exp: Update.
3753 * gdb.base/catch-syscall.exp: Update.
3754 * gdb.xml/tdesc-arch.exp: Update.
3755
3756 2020-07-14 Tom de Vries <tdevries@suse.de>
3757
3758 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3759 (local_gettid): ... this.
3760 (fn): Update.
3761
3762 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3763
3764 * gdb.base/info_sources.exp: Skip directory match tests on
3765 remote hosts.
3766
3767 2020-07-13 Gary Benson <gbenson@redhat.com>
3768
3769 * gdb.base/savedregs.exp (caller): Use parentheses to
3770 make expected expression evaluation ordering explicit.
3771
3772 2020-07-13 Gary Benson <gbenson@redhat.com>
3773
3774 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3775
3776 2020-07-13 Gary Benson <gbenson@redhat.com>
3777
3778 * gdb.base/bigcore.c (main): Use a volatile pointer when
3779 attempting to trigger a SIGSEGV.
3780 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3781 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3782 * gdb.base/savedregs.c (thrower): Likewise.
3783 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3784
3785 2020-07-13 Gary Benson <gbenson@redhat.com>
3786
3787 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3788 defining and using VLA structure fields into...
3789 * gdb.base/vla-struct-fields.c: New file.
3790 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3791 tests into...
3792 * gdb.base/vla-struct-fields.exp: New file.
3793
3794 2020-07-13 Tom de Vries <tdevries@suse.de>
3795
3796 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3797 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3798 * gdb.base/gold-gdb-index.exp: Same.
3799 * gdb.base/morestack.exp: Same.
3800
3801 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3802
3803 PR rust/26121
3804 * gdb.rust/modules.rs: Prevent linker from discarding test
3805 symbol.
3806
3807 2020-07-10 Pedro Alves <pedro@palves.net>
3808
3809 PR gdb/26199
3810 * gdb.multi/multi-target.c (exit_thread): New.
3811 (thread_start): Break loop if EXIT_THREAD.
3812 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3813 (top level) Call test_no_resumed.
3814
3815 2020-07-08 Tom Tromey <tromey@adacore.com>
3816
3817 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3818 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3819
3820 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3821
3822 PR python/22748
3823 * gdb.opt/inline-frame-tailcall.c: New file.
3824 * gdb.opt/inline-frame-tailcall.exp: New file.
3825 * gdb.python/py-unwind-inline.c: New file.
3826 * gdb.python/py-unwind-inline.exp: New file.
3827 * gdb.python/py-unwind-inline.py: New file.
3828
3829 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3830
3831 * gdb.python/py-arch-reg-groups.exp: New file.
3832
3833 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3834
3835 * gdb.python/py-arch-reg-names.exp: New file.
3836
3837 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3838
3839 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3840 gdb.PendingFrame.architecture method.
3841
3842 2020-07-06 Tom de Vries <tdevries@suse.de>
3843
3844 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3845
3846 2020-07-03 Pedro Alves <palves@redhat.com>
3847
3848 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3849 explicitly write negative numbers.
3850 * gdb.base/structs2.exp: Adjust expected output.
3851
3852 2020-07-03 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.base/charset.c (init_string): Change all char parameters to
3855 unsigned char parameters.
3856
3857 2020-07-03 Pedro Alves <palves@redhat.com>
3858
3859 * gdb.base/call-sc.exp (start_scalars_test): Use
3860 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3861 * gdb.base/overlays.c: Remove references to PARAMS.
3862 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3863 * gdb.base/reread.exp: Don't set 'prototypes' global.
3864 * gdb.base/structs.exp (start_structs_test): Use
3865 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3866 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3867 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3868 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3869 call.
3870 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3871
3872 2020-07-03 Pedro Alves <palves@redhat.com>
3873
3874 * gdb.base/m32rovly.c: Delete.
3875 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3876
3877 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3878
3879 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3880 of gdb_py_test_multiple.
3881 * gdb.python/py-cmd.exp: Likewise.
3882 * gdb.python/py-events.exp: Likewise.
3883 * gdb.python/py-function.exp: Likewise.
3884 * gdb.python/py-inferior.exp: Likewise.
3885 * gdb.python/py-infthread.exp: Likewise.
3886 * gdb.python/py-linetable.exp: Likewise.
3887 * gdb.python/py-parameter.exp: Likewise.
3888 * gdb.python/py-value.exp: Likewise.
3889
3890 2020-06-30 Tom de Vries <tdevries@suse.de>
3891
3892 PR testsuite/26175
3893 * lib/future.exp (gdb_default_target_compile): Detect and handle
3894 early_flags.
3895
3896 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
3897
3898 * boards/simavr.exp (gdb_load): Catch errors when closing
3899 previous connection. Close connection, wait for process and
3900 unset simavr_spawn_id on failure.
3901
3902 2020-06-29 Tom de Vries <tdevries@suse.de>
3903
3904 * lib/gdb.exp (unknown): Make test-case unresolved.
3905
3906 2020-06-29 Tom de Vries <tdevries@suse.de>
3907
3908 PR gdb/25475
3909 * gdb.server/solib-list.exp: Verify that the symbol reload
3910 confirmation question is asked.
3911
3912 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3913
3914 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3915 have a input seq nr in each pass message.
3916 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
3917 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3918 * gdb.python/python.exp: Make test names unique,
3919 use gdb_test_multiline instead of gdb_py_test_multiple,
3920 use $gdb_test_name.
3921 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3922
3923 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
3924
3925 * configure.ac: Add --enable-libctf.
3926 * aclocal.m4: sinclude ../config/enable.m4.
3927 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3928 * lib/gdb.exp (skip_ctf_tests): Use it.
3929 * gdb.base/ctf-constvars.exp: Error message tweak.
3930 * gdb.base/ctf-ptype.exp: Likewise.
3931 * configure: Regenerate.
3932
3933 2020-06-26 Gary Benson <gbenson@redhat.com>
3934
3935 * gdb.cp/try_catch.cc: Include string.h.
3936 (main): Replace comparison against string literal with
3937 strcmp, avoiding build failure with -Wstring-compare.
3938 Add "marker test-complete".
3939 * gdb.cp/try_catch.exp: Run the test to the above marker,
3940 then verify that the value of "test" is still true.
3941
3942 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3943
3944 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3945
3946 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3947
3948 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3949
3950 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3951
3952 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3953 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3954 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3955 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3956 * gdb.arch/riscv-tdesc-loading.exp: New file.
3957
3958 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3959
3960 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3961
3962 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3963
3964 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3965 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3966 * gdb.arch/riscv-tdesc-regs.c: New file.
3967 * gdb.arch/riscv-tdesc-regs.exp: New file.
3968
3969 2020-06-24 Pedro Alves <palves@redhat.com>
3970
3971 * gdb.arch/amd64-entry-value-paramref.exp: Use
3972 prepare_for_testing_full and don't pass "c++" for the .S file
3973 build spec.
3974 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3975 $options, since it's an assembly file. Remove -Wno-deprecated.
3976 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3977 compiling C++ programs.
3978
3979 2020-06-24 Pedro Alves <palves@redhat.com>
3980
3981 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3982 Clang, add "-Wno-unknown-warning-option" to the options.
3983
3984 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3985
3986 * gdb.xml/tdesc-reload.c: New file.
3987 * gdb.xml/tdesc-reload.exp: New file.
3988 * gdb.xml/maint-xml-dump-01.xml: New file.
3989 * gdb.xml/maint-xml-dump-02.xml: New file.
3990 * gdb.xml/maint-xml-dump.exp: New file.
3991
3992 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3993
3994 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3995 Adjust for omitted commands when TUI is disabled.
3996
3997 2020-06-23 Gary Benson <gbenson@redhat.com>
3998 Pedro Alves <palves@redhat.com>
3999
4000 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4001 * gdb.cp/nsimport.cc: Likewise.
4002 * gdb.cp/nsnested.cc: Likewise.
4003 * gdb.cp/nsnoimports.cc: Likewise.
4004 * gdb.cp/nsusing.cc: Likewise.
4005 * gdb.cp/smartp.cc: Likewise.
4006 * gdb.python/py-pp-integral.c: Likewise.
4007 * gdb.python/py-pp-re-notag.c: Likewise.
4008
4009 2020-06-23 Gary Benson <gbenson@redhat.com>
4010
4011 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4012 * gdb.cp/nsimport.cc: Likewise.
4013 * gdb.cp/nsnested.cc: Likewise.
4014 * gdb.cp/nsnoimports.cc: Likewise.
4015 * gdb.cp/nsusing.cc: Likewise.
4016 * gdb.cp/smartp.cc: Likewise.
4017 * gdb.python/py-pp-integral.c: Likewise.
4018 * gdb.python/py-pp-re-notag.c: Likewise.
4019
4020 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4021
4022 * gdb.base/default-args.exp: New test.
4023 * gdb.base/default-args.c: New file.
4024 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4025 * gdb.base/default.exp: Update to new help text.
4026 * gdb.base/help.exp: Likewise.
4027 * gdb.base/page.exp: Likewise.
4028 * gdb.base/style.exp: Likewise.
4029 * gdb.guile/guile.exp: Likewise.
4030 * gdb.python/python.exp: Likewise.
4031
4032 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4033
4034 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4035 remote host. Fix search path syntax on Windows host.
4036
4037 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4038
4039 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4040 over 'exec-file-mismatch'.
4041 * gdb.base/attach.c: Mark should_exit volatile.
4042 * gdb.base/attach2.c: Likewise. Add a comment explaining
4043 why the sleep cannot be big.
4044 * gdb.base/attach3.c: New file.
4045
4046 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4047
4048 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4049 prefix optional.
4050
4051 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4052
4053 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4054 for remote host.
4055
4056 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4057 Hafiz Abid Qadeer <abidh@codesourcery.com>
4058
4059 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4060 file sent to remote host.
4061 (top level): Allow int32_t as type of 32-bit register.
4062
4063 2020-06-19 Tom de Vries <tdevries@suse.de>
4064
4065 * lib/gdb.exp (gdb_note): New proc.
4066 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4067 (gdb_default_target_compile): ... here. Only call
4068 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4069 (use_gdb_compile): Change to array.
4070 (toplevel): Update sets of use_gdb_compile to specify language.
4071 Warn about default_target_compile override. Store dejagnu's version
4072 of default_target_compile in dejagnu_default_target_compile.
4073
4074 2020-06-18 Tom de Vries <tdevries@suse.de>
4075
4076 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4077 (default_gdb_init): ... here.
4078
4079 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4080
4081 Fix TUI support checks in gdb.tui tests.
4082
4083 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4084 just say UNSUPPORTED.
4085 * gdb.tui/corefile-run.exp: Likewise.
4086 * gdb.tui/empty.exp: Likewise.
4087 * gdb.tui/list-before.exp: Likewise.
4088 * gdb.tui/list.exp: Likewise.
4089 * gdb.tui/main.exp: Likewise.
4090 * gdb.tui/regs.exp: Likewise.
4091 * gdb.tui/resize.exp: Likewise.
4092 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4093 * gdb.tui/tui-layout-asm.exp: Likewise.
4094 * gdb.tui/tui-missing-src.exp: Likewise.
4095 * gdb.tui/winheight.exp: Likewise.
4096 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4097
4098 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4099
4100 Fix TCL error in gdb.python/py-format-string.exp.
4101
4102 * gdb.python/py-format-string.exp: Move test for python support
4103 earlier, out of function body.
4104
4105 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
4106
4107 * gdb.base/index-cache-load-twice.c: New.
4108 * gdb.base/index-cache-load-twice.exp: New.
4109
4110 2020-06-17 Keith Seitz <keiths@redhat.com>
4111
4112 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
4113 when executing "gdb --configuration".
4114
4115 2020-06-17 Tom de Vries <tdevries@suse.de>
4116
4117 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4118 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4119 conditional on presence of gdb_tcl_unknown.
4120 (gdb_finish): Make override undo conditional on presence of
4121 gdb_tcl_unknown.
4122
4123 2020-06-16 Tom Tromey <tom@tromey.com>
4124
4125 * gdb.python/tui-window.py (failwin): New function. Register it
4126 as a TUI window type.
4127 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4128
4129 2020-06-16 Gary Benson <gbenson@redhat.com>
4130
4131 * gdb.python/py-nested-maps.c (create_map): Add missing return
4132 value.
4133 (create_map_map): Likewise.
4134
4135 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4136
4137 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4138 variable.
4139 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4140 and use the already-defined 'options' variable.
4141
4142 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4143 Tom de Vries <tdevries@suse.de>
4144
4145 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4146 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4147 (gdb_setup_known_globals): New proc.
4148 (gdb_cleanup_globals): New proc.
4149 * lib/gdb.exp (load_lib): New override proc.
4150 (gdb_stdin_log_init): Set var in_file as persistent global.
4151 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4152 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4153 fpc_compiler as persistent global.
4154
4155 2020-06-12 Tom de Vries <tdevries@suse.de>
4156
4157 * lib/tuiterm.exp (spawn): Rename to ...
4158 (tui_spawn): ... this.
4159 (toplevel): Move rename of spawn ...
4160 (gdb_init_tuiterm): ... here. New proc.
4161 (gdb_finish_tuiterm): New proc.
4162 * lib/gdb.exp (gdb_finish_hooks): New global var.
4163 (gdb_finish): Handle gdb_finish_hooks.
4164 (tuiterm_env): New proc.
4165 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4166 tuiterm_env.
4167 * gdb.tui/basic.exp: Same.
4168 * gdb.tui/corefile-run.exp: Same.
4169 * gdb.tui/empty.exp: Same.
4170 * gdb.tui/list-before.exp: Same.
4171 * gdb.tui/list.exp: Same.
4172 * gdb.tui/main.exp: Same.
4173 * gdb.tui/new-layout.exp: Same.
4174 * gdb.tui/regs.exp: Same.
4175 * gdb.tui/resize.exp: Same.
4176 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4177 * gdb.tui/tui-layout-asm.exp: Same.
4178 * gdb.tui/tui-missing-src.exp: Same.
4179 * gdb.tui/winheight.exp: Same.
4180
4181 2020-06-12 Tom de Vries <tdevries@suse.de>
4182
4183 PR testsuite/26110
4184 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4185 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4186
4187 2020-06-11 Tom Tromey <tom@tromey.com>
4188
4189 PR gdb/18318:
4190 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4191 floating point tests.
4192
4193 2020-06-11 Keith Seitz <keiths@redhat.com>
4194
4195 PR gdb/21356
4196 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4197 vla_struct.
4198 Add new struct vla_typedef and union vla_typedef_union and
4199 corresponding instantiation objects.
4200 Initialize new objects.
4201 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4202 and vla_typedef_union_object.
4203 Fixup type for vla_struct_object.
4204
4205 2020-06-11 Tom de Vries <tdevries@suse.de>
4206
4207 * lib/gdb.exp (with_override): New proc, factored out of ...
4208 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4209
4210 2020-06-10 Tom de Vries <tdevries@suse.de>
4211
4212 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4213
4214 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4215
4216 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4217 parameter, update callers.
4218
4219 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
4220
4221 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4222 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4223 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4224
4225 2020-06-04 Tom de Vries <tdevries@suse.de>
4226
4227 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4228
4229 2020-06-04 Tom de Vries <tdevries@suse.de>
4230
4231 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4232 exp_continue.
4233
4234 2020-06-04 Tom de Vries <tdevries@suse.de>
4235
4236 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4237
4238 2020-06-03 Tom de Vries <tdevries@suse.de>
4239
4240 PR symtab/26046
4241 * gdb.cp/breakpoint-locs-2.cc: New test.
4242 * gdb.cp/breakpoint-locs.cc: New test.
4243 * gdb.cp/breakpoint-locs.exp: New file.
4244 * gdb.cp/breakpoint-locs.h: New test.
4245
4246 2020-06-03 Tom de Vries <tdevries@suse.de>
4247
4248 PR testsuite/25609
4249 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4250 value of global verbose.
4251 * gdb.base/jit-elf.exp: Same.
4252 * gdb.base/jit-reader.exp: Same.
4253
4254 2020-06-02 Tom de Vries <tdevries@suse.de>
4255
4256 * gdb.dwarf2/multidictionary.exp: Don't use
4257 gdb_spawn_with_cmdline_opts.
4258
4259 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4260
4261 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4262 use_header case.
4263 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4264 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4265 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4266 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4267 * gdb.dwarf2/dw2-inline-header.c: New file.
4268 * gdb.dwarf2/dw2-inline-header.h: New file.
4269
4270 2020-05-30 Pedro Alves <palves@redhat.com>
4271
4272 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4273 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4274
4275 2020-05-29 Gary Benson <gbenson@redhat.com>
4276
4277 * gdb.compile/compile-cplus.exp (additional_flags): Also
4278 set when building with clang.
4279 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4280 when building with clang.
4281
4282 2020-05-29 Gary Benson <gbenson@redhat.com>
4283
4284 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4285 building with clang.
4286 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4287
4288 2020-05-29 Gary Benson <gbenson@redhat.com>
4289
4290 * gdb.cp/koenig.exp (prepare_for_testing): Add
4291 additional_flags=-Wno-unused-comparison.
4292 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4293
4294 2020-05-28 Gary Benson <gbenson@redhat.com>
4295
4296 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4297 statement.
4298
4299 2020-05-28 Gary Benson <gbenson@redhat.com>
4300
4301 * gdb.cp/classes.exp (prepare_for_testing): Add
4302 additional_flags=-Wno-deprecated-register.
4303 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4304 * gdb.cp/misc.exp: Likewise.
4305
4306 2020-05-28 Gary Benson <gbenson@redhat.com>
4307
4308 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4309 (test_op_new::operator new): Add return statement.
4310 (test_op_new_array::operator new[]): Likewise.
4311
4312 2020-05-27 Pedro Alves <palves@redhat.com>
4313
4314 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4315 check. Use test_gdb_complete_unique instead of
4316 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4317 test_gdb_complete_multiple instead of
4318 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4319
4320 2020-05-27 Luis Machado <luis.machado@linaro.org>
4321
4322 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4323 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4324 * gdb.arch/arm-disassembler-options.exp: Likewise.
4325 * gdb.arch/arm-disp-step.exp: Likewise.
4326 * gdb.arch/thumb-prologue.exp: Likewise.
4327 * gdb.base/async.exp: Likewise.
4328 * gdb.base/auxv.exp: Likewise.
4329 * gdb.base/complex-parts.exp: Likewise.
4330 * gdb.base/ena-dis-br.exp: Likewise.
4331 * gdb.base/foll-exec.exp: Likewise.
4332 * gdb.base/permissions.exp: Likewise.
4333 * gdb.base/relocate.exp: Likewise.
4334 * gdb.base/return2.exp: Likewise.
4335 * gdb.base/sigbpt.exp: Likewise.
4336 * gdb.base/siginfo-obj.exp: Likewise.
4337 * gdb.cp/converts.exp: Likewise.
4338 * gdb.cp/exceptprint.exp: Likewise.
4339 * gdb.cp/inherit.exp: Likewise.
4340 * gdb.cp/nsnoimports.exp: Likewise.
4341 * gdb.cp/virtbase2.exp: Likewise.
4342 * gdb.mi/mi-var-cmd.exp: Likewise.
4343 * gdb.mi/var-cmd.c: Likewise.
4344
4345 2020-05-26 Tom Tromey <tromey@adacore.com>
4346
4347 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4348
4349 2020-05-26 Tom Tromey <tromey@adacore.com>
4350
4351 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4352 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4353 type.
4354 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4355 variable.
4356
4357 2020-05-26 Christian Biesinger <cbiesinger@google.com>
4358
4359 * Makefile.in: Use = instead of == for the test command
4360 for portability.
4361
4362 2020-05-26 Tom de Vries <tdevries@suse.de>
4363
4364 * gdb.base/gold-gdb-index-2.c: New test.
4365 * gdb.base/gold-gdb-index.c: New test.
4366 * gdb.base/gold-gdb-index.exp: New file.
4367 * gdb.base/gold-gdb-index.h: New test.
4368
4369 2020-05-25 Tom de Vries <tdevries@suse.de>
4370
4371 * boards/gold-gdb-index.exp: New file.
4372
4373 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
4374
4375 * boards/simavr.exp: New file.
4376
4377 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
4378
4379 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4380 * gdb.base/inferior-args.exp: New file.
4381 * gdb.base/inferior-args.c: New file.
4382
4383 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
4384
4385 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4386 inferior_args. Pass it to gdb_reload.
4387 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4388 inferior_args.
4389 (gdb_reload): Add inferior_args argument.
4390 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4391 pass it to gdbserver_run.
4392 * boards/native-gdbserver.exp: Do not set noargs.
4393 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4394 inferior_args argument.
4395 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4396 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4397 * gdb.base/args.exp: Likewise.
4398
4399 2020-05-25 Tom de Vries <tdevries@suse.de>
4400
4401 * lib/gdb.exp (exec_is_pie): Add comment.
4402
4403 2020-05-25 Tom de Vries <tdevries@suse.de>
4404
4405 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4406 instead of $binfile in the untested message.
4407
4408 2020-05-25 Tom de Vries <tdevries@suse.de>
4409
4410 PR testsuite/26031
4411 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4412
4413 2020-05-25 Tom de Vries <tdevries@suse.de>
4414
4415 * boards/gold.exp: New file.
4416
4417 2020-05-23 Tom Tromey <tom@tromey.com>
4418
4419 * gdb.base/style.exp: Remove completion styling test.
4420 * lib/gdb-utils.exp (style): Remove completion styles.
4421
4422 2020-05-23 Tom Tromey <tom@tromey.com>
4423
4424 * gdb.base/style.exp: Add completion styling test.
4425 * lib/gdb-utils.exp (style): Add completion styles.
4426
4427 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4428
4429 * gdb.base/annota1.exp: Update expected results.
4430 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4431 test name.
4432 * gdb.cp/annota3.exp: Update expected results.
4433
4434 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
4435
4436 PR gdb/26016
4437 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4438 against MAP_FAILED.
4439 * gdb.base/coremaker.c (mmapdata): Likewise.
4440 * gdb.base/jit-reader-host.c (main): Likewise.
4441 * gdb.base/sym-file-loader.c (load): Likewise.
4442 (load_shlib): Likewise.
4443
4444 2020-05-20 Tom Tromey <tromey@adacore.com>
4445
4446 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4447
4448 2020-05-20 Tom de Vries <tdevries@suse.de>
4449
4450 PR symtab/25833
4451 * gdb.base/with-mf-inc.c: New test.
4452 * gdb.base/with-mf-main.c: New test.
4453 * gdb.base/with-mf.exp: New file.
4454
4455 2020-05-19 Tom Tromey <tromey@adacore.com>
4456
4457 * gdb.rust/simple.exp: Restore missing test result.
4458
4459 2020-05-19 Tom de Vries <tdevries@suse.de>
4460
4461 * gdb.base/gdb-caching-proc.exp: Fix typo.
4462
4463 2020-05-19 Tom Tromey <tromey@adacore.com>
4464
4465 * gdb.rust/simple.exp: Add some test descriptions.
4466 (test_one_slice): Use with_test_prefix.
4467
4468 2020-05-18 Tom de Vries <tdevries@suse.de>
4469
4470 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4471
4472 2020-05-17 Pedro Alves <palves@redhat.com>
4473
4474 PR gdb/25741
4475 * gdb.base/hw-sw-break-same-address.exp: New file.
4476
4477 2020-05-16 Pedro Alves <palves@redhat.com>
4478
4479 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4480 LAST_LOADED_FILE accordingly.
4481
4482 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4483
4484 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4485
4486 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4487
4488 * gdb.base/help.exp: Test apropos and help for commands
4489 having aliases. Fixed comments not starting with an
4490 upper-case letter or not finishing with a dot.
4491
4492 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4493
4494 * gdb.base/alias.exp: Update help output check.
4495
4496 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4497
4498 * gdb.base/default.exp: Update output following fixes.
4499
4500 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4501
4502 * gdb.base/alias.exp: Test aliases starting with a prefix of
4503 another alias.
4504
4505 2020-05-15 Gary Benson <gbenson@redhat.com>
4506
4507 * gdb.base/info-os.c (main): Add return statement.
4508 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4509 * gdb.base/large-frame-2.c (func): Likewise.
4510 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4511 * gdb.base/pr10179-b.c (foo2): Likewise.
4512 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4513 * gdb.base/watch-cond.c (func): Likewise.
4514 * gdb.multi/goodbye.c (verylongfun): Likewise.
4515 * gdb.multi/hello.c (commonfun): Likewise.
4516 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4517 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4518 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4519 Likewise.
4520 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4521 * gdb.threads/interrupt-while-step-over.c (child_function):
4522 Likewise.
4523 * gdb.trace/actions-changed.c (end): Likewise.
4524
4525 2020-05-15 Gary Benson <gbenson@redhat.com>
4526
4527 * gdb.opencl/callfuncs.exp: Report when test skipped.
4528 * gdb.opencl/convs_casts.exp: Likewise.
4529 * gdb.opencl/datatypes.exp: Likewise.
4530 * gdb.opencl/operators.exp: Likewise.
4531 * gdb.opencl/vec_comps.exp: Likewise.
4532
4533 2020-05-15 Tom de Vries <tdevries@suse.de>
4534
4535 * gdb.base/align.exp.in: Rename to ...
4536 * gdb.base/align.exp.tcl: ... this.
4537 * gdb.base/align-c++.exp: Update.
4538 * gdb.base/align-c.exp: Update.
4539 * gdb.base/all-architectures.exp.in: Rename to ...
4540 * gdb.base/all-architectures.exp: ... this.
4541 * gdb.base/all-architectures-0.exp: Update.
4542 * gdb.base/all-architectures-1.exp: Update.
4543 * gdb.base/all-architectures-2.exp: Update.
4544 * gdb.base/all-architectures-3.exp: Update.
4545 * gdb.base/all-architectures-4.exp: Update.
4546 * gdb.base/all-architectures-5.exp: Update.
4547 * gdb.base/all-architectures-6.exp: Update.
4548 * gdb.base/all-architectures-7.exp: Update.
4549 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4550 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4551 * gdb.base/infcall-nested-structs-c++.exp: Update.
4552 * gdb.base/infcall-nested-structs-c.exp: Update.
4553 * gdb.base/info-types.exp.in: Rename to ...
4554 * gdb.base/info-types.exp.tcl: ... this.
4555 * gdb.base/info-types-c++.exp: Update.
4556 * gdb.base/info-types-c.exp: Update.
4557 * gdb.base/max-depth.exp.in: Rename to ...
4558 * gdb.base/max-depth.exp.tcl: ... this.
4559 * gdb.base/max-depth-c++.exp: Update.
4560 * gdb.base/max-depth-c.exp: Update.
4561 * gdb.cp/cpexprs.exp.in: Rename to ...
4562 * gdb.cp/cpexprs.exp.tcl: ... this.
4563 * gdb.cp/cpexprs-debug-types.exp: Update.
4564 * gdb.cp/cpexprs.exp: Update.
4565 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4566 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4567 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4568 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4569 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4570 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4571 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4572 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4573 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4574 * gdb.dwarf2/clang-debug-names.exp: Update.
4575
4576 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4577
4578 * lib/check-test-names.exp: Remove code that prevents this file
4579 loading when tests are run in parallel.
4580
4581 2020-05-15 Pedro Alves <palves@redhat.com>
4582
4583 * gdb.multi/multi-kill.exp (start_inferior): Remove
4584 'testpid' parameter. Refer to namespace variable directly.
4585 (testpid): Declare as namespace variable.
4586
4587 2020-05-15 Pedro Alves <palves@redhat.com>
4588
4589 * gdb.multi/multi-kill.exp: Wrap in namespace.
4590 (start_inferior): Add TESTPID parameter. Use it instead of the
4591 testpid global.
4592 (top level): Define empty TESTPID array, and pass it down to
4593 start_inferior.
4594
4595 2020-05-14 Tom de Vries <tdevries@suse.de>
4596
4597 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4598 output.
4599
4600 2020-05-14 Tom de Vries <tdevries@suse.de>
4601
4602 * gdb.base/align.exp: Split into ...
4603 * gdb.base/align.exp.in: ...
4604 * gdb.base/align-c++.exp: ...
4605 * gdb.base/align-c.exp: ... these.
4606 * gdb.base/infcall-nested-structs.exp: Split into ...
4607 * gdb.base/infcall-nested-structs.exp.in: ...
4608 * gdb.base/infcall-nested-structs-c++.exp: ...
4609 * gdb.base/infcall-nested-structs-c.exp: ... these.
4610 * gdb.base/info-types.exp: Split into ...
4611 * gdb.base/info-types.exp.in: ...
4612 * gdb.base/info-types-c++.exp: ...
4613 * gdb.base/info-types-c.exp: ... these.
4614 * gdb.base/max-depth.exp: Split into ...
4615 * gdb.base/max-depth.exp.in: ...
4616 * gdb.base/max-depth-c++.exp: ...
4617 * gdb.base/max-depth-c.exp: ... these.
4618 * gdb.cp/infcall-nodebug.exp: Split into ...
4619 * gdb.cp/infcall-nodebug.exp.in: ...
4620 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4621 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4622 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4623 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4624
4625 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4626 Pedro Alves <palves@redhat.com>
4627
4628 * gdb.multi/multi-exit.c: New file.
4629 * gdb.multi/multi-exit.exp: New file.
4630 * gdb.multi/multi-kill.c: New file.
4631 * gdb.multi/multi-kill.exp: New file.
4632
4633 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4634
4635 * gdb.base/annota1.exp: Update the expected output.
4636 * gdb.cp/annota2.exp: Ditto.
4637
4638 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4639
4640 * lib/check-test-names.exp: Disable when testing is being run in
4641 parallel.
4642
4643 2020-05-12 Tom de Vries <tdevries@suse.de>
4644
4645 * gdb.base/jit-elf.exp: Fix string concat.
4646
4647 2020-05-12 Tom de Vries <tdevries@suse.de>
4648
4649 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4650 messages.
4651
4652 2020-05-12 Tom de Vries <tdevries@suse.de>
4653
4654 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4655
4656 2020-05-12 Tom de Vries <tdevries@suse.de>
4657
4658 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4659 * gdb.ada/mi_catch_ex.exp: Same.
4660 * gdb.ada/mi_catch_ex_hand.exp: Same.
4661
4662 2020-05-12 Tom de Vries <tdevries@suse.de>
4663
4664 * gdb.fortran/complex.exp: Use with_test_prefix.
4665
4666 2020-05-12 Tom de Vries <tdevries@suse.de>
4667
4668 * gdb.trace/passcount.exp: Fix test-names.
4669
4670 2020-05-12 Tom de Vries <tdevries@suse.de>
4671
4672 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4673
4674 2020-05-12 Tom de Vries <tdevries@suse.de>
4675
4676 * gdb.gdb/complaints.exp: Use with_test_prefix.
4677 * gdb.xml/tdesc-regs.exp: Same.
4678 * gdb.opt/inline-locals.exp: Fix test name.
4679
4680 2020-05-12 Tom de Vries <tdevries@suse.de>
4681
4682 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4683 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4684 * gdb.dwarf2/implref-struct.exp: Same.
4685 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4686 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4687
4688 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4689
4690 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4691
4692 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4693
4694 * lib/check-test-names.exp (all_test_names): New module variable.
4695 (counts): Add 'duplicates' field.
4696 (_check_duplicates): New procedure.
4697 (check): Also check for duplicates.
4698 (do_log_summary): Print duplicates count.
4699 (do_reset_vars): Reset counter for duplicate test names, and
4700 discard all know test names.
4701
4702 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4703
4704 * lib/gdb.exp: Include check-test-names.exp library.
4705 * lib/check-test-names.exp: New file.
4706
4707 2020-05-11 Tom de Vries <tdevries@suse.de>
4708
4709 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4710
4711 2020-05-11 Keith Seitz <keiths@redhat.com>
4712
4713 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4714
4715 2020-05-11 Tom de Vries <tdevries@suse.de>
4716
4717 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4718 * gdb.cp/cpexprs.exp.in: .. here.
4719 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4720 cpexprs.exp.
4721
4722 2020-05-11 Keith Seitz <keiths@redhat.com>
4723
4724 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4725 test names.
4726 * gdb.ada/arrayptr.exp: Likewise.
4727 * gdb.ada/assign_arr.exp: Likewise.
4728 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4729 * gdb.ada/bp_on_var.exp: Likewise.
4730 * gdb.ada/call_pn.exp: Likewise.
4731 * gdb.ada/complete.exp: Likewise.
4732 * gdb.ada/fun_overload_menu.exp: Likewise.
4733 * gdb.ada/funcall_param.exp: Likewise.
4734 * gdb.ada/funcall_ref.exp: Likewise.
4735 * gdb.ada/packed_array_assign.exp: Likewise.
4736 * gdb.ada/same_component_name.exp: Likewise.
4737 * gdb.ada/type_coercion.exp: Likewise.
4738 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4739 * gdb.ada/variant_record_packed_array.exp: Likewise.
4740
4741 2020-05-11 Tom de Vries <tdevries@suse.de>
4742
4743 PR symtab/25941
4744 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4745 out of ...
4746 * gdb.dwarf2/clang-debug-names.exp: ... here.
4747 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4748 clang-debug-names.exp.in.
4749 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4750 * gdb.dwarf2/clang-debug-names-2.c: New test.
4751
4752 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4753
4754 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4755 (fortran_runto_main): New Proc, fortran version of runto_main.
4756 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4757 * gdb.fortran/array-bounds.exp: Likewise.
4758 * gdb.fortran/array-slices.exp: Likewise.
4759 * gdb.fortran/block-data.exp: Likewise.
4760 * gdb.fortran/charset.exp: Likewise.
4761 * gdb.fortran/common-block.exp: Likewise.
4762 * gdb.fortran/complex.exp: Likewise.
4763 * gdb.fortran/derived-type-function.exp: Likewise.
4764 * gdb.fortran/derived-type.exp: Likewise.
4765 * gdb.fortran/info-modules.exp: Likewise.
4766 * gdb.fortran/info-types.exp: Likewise.
4767 * gdb.fortran/intrinsics.exp: Likewise.
4768 * gdb.fortran/library-module.exp: Likewise.
4769 * gdb.fortran/logical.exp: Likewise.
4770 * gdb.fortran/max-depth.exp: Likewise.
4771 * gdb.fortran/module.exp: Likewise.
4772 * gdb.fortran/multi-dim.exp: Likewise.
4773 * gdb.fortran/nested-funcs.exp: Likewise.
4774 * gdb.fortran/print-formatted.exp: Likewise.
4775 * gdb.fortran/print_type.exp: Likewise.
4776 * gdb.fortran/printing-types.exp: Likewise.
4777 * gdb.fortran/ptr-indentation.exp: Likewise.
4778 * gdb.fortran/ptype-on-functions.exp: Likewise.
4779 * gdb.fortran/subarray.exp: Likewise.
4780 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4781 * gdb.fortran/vla-datatypes.exp: Likewise.
4782 * gdb.fortran/vla-history.exp: Likewise.
4783 * gdb.fortran/vla-ptr-info.exp: Likewise.
4784 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4785 * gdb.fortran/vla-ptype.exp: Likewise.
4786 * gdb.fortran/vla-sizeof.exp: Likewise.
4787 * gdb.fortran/vla-type.exp: Likewise.
4788 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4789 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4790 * gdb.fortran/vla-value-sub.exp: Likewise.
4791 * gdb.fortran/vla-value.exp: Likewise.
4792 * gdb.fortran/whatis_type.exp: Likewise.
4793 * gdb.mi/mi-var-child-f.exp: Likewise.
4794
4795 2020-05-09 Tom de Vries <tdevries@suse.de>
4796
4797 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4798
4799 2020-05-08 Tom de Vries <tdevries@suse.de>
4800
4801 * gdb.dwarf2/clang-debug-names.c: New test.
4802 * gdb.dwarf2/clang-debug-names.exp: New file.
4803
4804 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
4805
4806 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4807 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4808
4809 2020-05-06 Tom de Vries <tdevries@suse.de>
4810
4811 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4812 breakpoint is at a "recommended breakpoint location".
4813 * gdb.reverse/consecutive-reverse.exp: Same.
4814
4815 2020-05-06 Tom de Vries <tdevries@suse.de>
4816
4817 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4818 address.
4819
4820 2020-05-06 Tom de Vries <tdevries@suse.de>
4821
4822 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4823
4824 2020-05-06 Tom de Vries <tdevries@suse.de>
4825
4826 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4827 info for r.
4828
4829 2020-05-06 Tom de Vries <tdevries@suse.de>
4830
4831 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4832 necessary.
4833
4834 2020-05-06 Tom de Vries <tdevries@suse.de>
4835
4836 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4837 void.
4838
4839 2020-05-06 Tom de Vries <tdevries@suse.de>
4840
4841 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4842 of ...
4843 * gdb.base/async.exp: ... here.
4844 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4845 "recommended breakpoint location".
4846
4847 2020-05-06 Tom de Vries <tdevries@suse.de>
4848
4849 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4850
4851 2020-05-04 Tom de Vries <tdevries@suse.de>
4852
4853 * gdb.base/async.exp: Check whether instruction addresses are a
4854 "recommended breakpoint location".
4855
4856 2020-05-03 Tom Tromey <tom@tromey.com>
4857
4858 * gdb.base/sepdebug.exp: Remove "catch" test.
4859 * gdb.base/break.exp: Remove "catch" test.
4860 * gdb.base/default.exp: Update expected output.
4861
4862 2020-05-02 Tom de Vries <tdevries@suse.de>
4863
4864 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4865 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4866 * gdb.arch/i386-mpx-map.exp: Same.
4867 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4868 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4869 * gdb.arch/i386-mpx.exp: Same.
4870
4871 2020-05-02 Tom de Vries <tdevries@suse.de>
4872
4873 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4874
4875 2020-05-01 Tom de Vries <tdevries@suse.de>
4876
4877 * gdb.ada/operator_bp.exp: Allow more than required amount of
4878 breakpoint.
4879
4880 2020-05-01 Tom de Vries <tdevries@suse.de>
4881
4882 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4883
4884 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
4885
4886 PR gdb/18706
4887 * gdb.cp/stub-array-size.cc: New test.
4888 * gdb.cp/stub-array-size.exp: New file.
4889 * gdb.cp/stub-array-size.h: New test.
4890 * gdb.cp/stub-array-size2.cc: New test.
4891
4892 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
4893
4894 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4895 output to the new format.
4896
4897 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
4898
4899 * gdb.base/break.exp: Use with_test_prefix.
4900
4901 2020-04-29 Tom de Vries <tdevries@suse.de>
4902
4903 * lib/gdb.exp (debug_types): New proc.
4904 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4905 * gdb.python/py-symtab.exp: Same.
4906
4907 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
4908
4909 PR gdb/17320
4910 * gdb.base/pretty-array.c: New test.
4911 * gdb.base/pretty-array.exp: New file.
4912
4913 2020-04-29 Tom de Vries <tdevries@suse.de>
4914
4915 PR symtab/25889
4916 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4917 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4918 and include cpexprs.exp.
4919
4920 2020-04-28 Mark Williams <mark@myosotissp.com>
4921
4922 PR gdb/24480
4923 * dw4-toplevel-types.exp: Test for top level types.
4924 * dw4-toplevel-types.cc: Test for top level types.
4925
4926 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4927
4928 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4929 (theads -> threads).
4930
4931 2020-04-28 Tom de Vries <tdevries@suse.de>
4932
4933 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4934
4935 2020-04-28 Tom de Vries <tdevries@suse.de>
4936
4937 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4938
4939 2020-04-28 Tom de Vries <tdevries@suse.de>
4940
4941 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4942
4943 2020-04-28 Tom de Vries <tdevries@suse.de>
4944
4945 * gdb.dwarf2/main-foo.c: New test.
4946 * gdb.dwarf2/struct-with-sig.exp: New file.
4947
4948 2020-04-25 Tom de Vries <tdevries@suse.de>
4949
4950 * boards/debug-types.exp: New file.
4951
4952 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4953
4954 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4955
4956 2020-04-24 Tom Tromey <tom@tromey.com>
4957
4958 PR symtab/12707:
4959 * gdb.python/py-symbol.exp: Update expected results for
4960 linkage_name test.
4961 * gdb.cp/print-demangle.exp: New file.
4962 * gdb.base/c-linkage-name.exp: Fix test.
4963 * gdb.guile/scm-symbol.exp: Update expected results for
4964 linkage_name test.
4965
4966 2020-04-24 Tom Tromey <tom@tromey.com>
4967
4968 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4969 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4970 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4971 assembler.
4972
4973 2020-04-24 Tom de Vries <tdevries@suse.de>
4974
4975 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4976 C++.
4977
4978 2020-04-24 Tom Tromey <tromey@adacore.com>
4979
4980 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4981 values.
4982 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4983 values. Update test for minimal encodings.
4984 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4985 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4986 values. Update test for minimal encodings.
4987
4988 2020-04-24 Tom Tromey <tromey@adacore.com>
4989
4990 PR python/23662:
4991 * gdb.ada/variant.exp: Add Python checks.
4992 * gdb.rust/simple.exp: Add dynamic type checks.
4993
4994 2020-04-24 Tom Tromey <tromey@adacore.com>
4995
4996 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4997 Make array type matching more lax.
4998 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4999 * gdb.ada/mi_variant.exp: New file.
5000 * gdb.ada/mi_variant/pck.ads: New file.
5001 * gdb.ada/mi_variant/pkg.adb: New file.
5002 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5003 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5004
5005 2020-04-24 Tom Tromey <tromey@adacore.com>
5006
5007 * gdb.ada/variant.exp: Add dynamic field offset tests.
5008 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5009 * gdb.ada/variant/pkg.adb: Add new variables.
5010
5011 2020-04-24 Tom Tromey <tromey@adacore.com>
5012
5013 * gdb.ada/variant.exp: New file
5014 * gdb.ada/variant/pkg.adb: New file
5015 * gdb.ada/variant/pck.adb: New file
5016
5017 2020-04-24 Tom de Vries <tdevries@suse.de>
5018
5019 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5020
5021 2020-04-24 Tom de Vries <tdevries@suse.de>
5022
5023 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5024 flags.
5025
5026 2020-04-24 Tom de Vries <tdevries@suse.de>
5027
5028 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5029
5030 2020-04-24 Tom de Vries <tdevries@suse.de>
5031
5032 * lib/gdb.exp (default_gdb_start): Handle eof.
5033 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5034 failure.
5035 * gdb.base/readnever.exp: Handle clean_restart failure.
5036
5037 2020-04-23 Tom de Vries <tdevries@suse.de>
5038
5039 * gdb.base/decl-before-def.exp: Run to main and print a again.
5040
5041 2020-04-23 Tom de Vries <tdevries@suse.de>
5042
5043 * gdb.base/decl-before-def-decl.c: New test.
5044 * gdb.base/decl-before-def-def.c: New test.
5045 * gdb.base/decl-before-def.exp: New file.
5046
5047 2020-04-23 Tom de Vries <tdevries@suse.de>
5048
5049 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5050
5051 2020-04-22 Tom de Vries <tdevries@suse.de>
5052
5053 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5054 debug_info_offset.
5055 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5056 before $objsfile in the line line.
5057
5058 2020-04-22 Tom de Vries <tdevries@suse.de>
5059
5060 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5061
5062 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5063
5064 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5065 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5066 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5067 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5068 * gdb.base/jit-protocol.h: Update definitions to match all usage
5069 contexts.
5070
5071 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5072
5073 * gdb.base: Rename all jit related test and source files.
5074
5075 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5076
5077 * gdb.base/jit-reader.exp: Relax register output check.
5078
5079 2020-04-22 Tom de Vries <tdevries@suse.de>
5080
5081 PR symtab/25764
5082 * gdb.base/psym-external-decl-2.c: New test.
5083 * gdb.base/psym-external-decl.c: New test.
5084 * gdb.base/psym-external-decl.exp: New file.
5085 * gdb.threads/tls.exp: Add PR25807 kfail.
5086
5087 2020-04-22 Tom de Vries <tdevries@suse.de>
5088
5089 PR symtab/25801
5090 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5091 in "info source" output.
5092
5093 2020-04-22 Tom de Vries <tdevries@suse.de>
5094
5095 PR symtab/25700
5096 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5097 symtab for imported_unit.c.
5098
5099 2020-04-21 Gary Benson <gbenson@redhat.com>
5100
5101 * gdb.base/advance.c (func): New argument, to match call site.
5102 (func2, func3): Add return statements.
5103
5104 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5105
5106 * gdb.multi/run-only-second-inf.c: New file.
5107 * gdb.multi/run-only-second-inf.exp: New file.
5108
5109 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5110
5111 * gdb.btrace/multi-inferior.c: New test.
5112 * gdb.btrace/multi-inferior.exp: New file.
5113
5114 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5115
5116 * gdb.btrace/enable-new-thread.c: New test.
5117 * gdb.btrace/enable-new-thread.exp: New file.
5118
5119 2020-04-21 Tom de Vries <tdevries@suse.de>
5120
5121 PR gdb/25471
5122 * gdb.threads/killed-outside.c: New test.
5123 * gdb.threads/killed-outside.exp: New file.
5124
5125 2020-04-20 Gary Benson <gbenson@redhat.com>
5126
5127 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5128 * gdb.base/nested-subp2.exp: Likewise.
5129 * gdb.base/nested-subp3.exp: Likewise.
5130
5131 2020-04-20 Gary Benson <gbenson@redhat.com>
5132
5133 * gdb.base/nested-subp1.exp: Disable test when using clang.
5134 * gdb.base/nested-subp2.exp: Likewise.
5135 * gdb.base/nested-subp3.exp: Likewise.
5136
5137 2020-04-20 Gary Benson <gbenson@redhat.com>
5138
5139 * gdb.cp/exception.cc: Fix compilation error with clang.
5140
5141 2020-04-20 Gary Benson <gbenson@redhat.com>
5142
5143 * gdb.trace/tspeed.c: Fix compilation error with clang.
5144
5145 2020-04-20 Gary Benson <gbenson@redhat.com>
5146
5147 * gdb.base/jit-main.c: Fix compilation error with clang.
5148
5149 2020-04-17 Kamil Rytarowski <n54@gmx.com>
5150
5151 * gdb.base/attach-twice.c: Include "sys/types.h".
5152 (PTRACE_ATTACH): Add fallback definition.
5153 (main): Pass `0' to the 4th argument of `ptrace'.
5154
5155 2020-04-17 Kamil Rytarowski <n54@gmx.com>
5156
5157 * gdb.base/fork-running-state.c: Include "signal.h".
5158
5159 2020-04-17 Tom Tromey <tromey@adacore.com>
5160
5161 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5162 Update tests.
5163 * gdb.btrace/cpu.exp: Update tests.
5164 * gdb.base/maint.exp: Update tests.
5165 * gdb.base/default.exp: Update tests.
5166 * gdb.base/completion.exp: Update tests.
5167
5168 2020-04-16 Tom de Vries <tdevries@suse.de>
5169
5170 PR symtab/25791
5171 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5172 (ensure_gdb_index): and factor out and move ...
5173 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5174 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5175
5176 2020-04-16 Tom de Vries <tdevries@suse.de>
5177
5178 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5179 loading exec.
5180
5181 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5182
5183 * gdb.base/many-completions.exp: New file.
5184
5185 2020-04-14 Tom de Vries <tdevries@suse.de>
5186
5187 PR symtab/25718
5188 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5189
5190 2020-04-14 Tom de Vries <tdevries@suse.de>
5191
5192 PR symtab/25720
5193 * gdb.base/maint-expand-symbols-header-file.c: New test.
5194 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5195 * gdb.base/maint-expand-symbols-header-file.h: New test.
5196
5197 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5198
5199 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5200 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5201 get_func_info.
5202 (get_func_info): Delete.
5203 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5204 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5205 * lib/dwarf.exp (get_func_info): New function.
5206
5207 2020-04-13 Tom de Vries <tdevries@suse.de>
5208
5209 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5210 to what find_gnatmake does.
5211
5212 2020-04-10 Tom de Vries <tdevries@suse.de>
5213
5214 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5215 -readnow.
5216
5217 2020-04-10 Tom de Vries <tdevries@suse.de>
5218
5219 PR cli/25808
5220 * gdb.base/style.c: Add leading newlines.
5221 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5222 Check listing of main's one-line body.
5223
5224 2020-04-08 Tom de Vries <tdevries@suse.de>
5225
5226 * lib/gdb.exp (psymtabs_p): New proc.
5227 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5228 importing unit" unsupported if there are no partial symbols.
5229
5230 2020-04-08 Tom de Vries <tdevries@suse.de>
5231
5232 PR testsuite/25760
5233 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5234
5235 2020-04-07 Tom de Vries <tdevries@suse.de>
5236
5237 PR symtab/25796
5238 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5239
5240 2020-04-07 Tom de Vries <tdevries@suse.de>
5241
5242 * gdb.base/check-psymtab.c: New test.
5243 * gdb.base/check-psymtab.exp: New file.
5244
5245 2020-04-06 Tom Tromey <tromey@adacore.com>
5246
5247 * gdb.ada/variant-record/proc.adb: New file.
5248 * gdb.ada/variant-record/value.adb: New file.
5249 * gdb.ada/variant-record/value.s: New file.
5250 * gdb.ada/variant-record.exp: New file.
5251
5252 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
5253
5254 PR gdb/25325
5255 * gdb.cp/typed-enum.cc: New test.
5256 * gdb.cp/typed-enum.exp: New file.
5257
5258 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5259
5260 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5261 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5262 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5263 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5264 * gdb.opt/inline-small-func.c: New file.
5265 * gdb.opt/inline-small-func.exp: New file.
5266 * gdb.opt/inline-small-func.h: New file.
5267
5268 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5269
5270 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5271 function.
5272
5273 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5274
5275 * lib/dwarf.exp (function_range): Allow compiler options to be
5276 specified.
5277
5278 2020-04-02 Tom de Vries <tdevries@suse.de>
5279
5280 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5281 __attribute__((always_inline)).
5282 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5283
5284 2020-04-02 Tom de Vries <tdevries@suse.de>
5285
5286 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5287 (gdbserver_gdb_exit): ... here. Add timeout warning.
5288 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5289 (connect_target_extended_remote): Append new server_spawn_id to
5290 server_spawn_ids.
5291 (cleanup): New proc.
5292 (setup, <toplevel>): Call cleanup.
5293
5294 2020-04-02 Tom de Vries <tdevries@suse.de>
5295
5296 * gdb.base/main-psymtab.exp: New file.
5297
5298 2020-04-02 Tom de Vries <tdevries@suse.de>
5299
5300 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5301
5302 2020-04-01 Tom Tromey <tom@tromey.com>
5303
5304 * gdb.base/complex-parts.exp: Add type tests.
5305
5306 2020-04-01 Tom Tromey <tom@tromey.com>
5307
5308 * gdb.base/complex-parts.exp: Add arithmetic tests.
5309
5310 2020-04-01 Tom Tromey <tom@tromey.com>
5311
5312 * gdb.compile/compile.exp: Update.
5313 * gdb.compile/compile-cplus.exp: Update.
5314 * gdb.base/varargs.exp: Update.
5315 * gdb.base/floatn.exp: Update.
5316 * gdb.base/endianity.exp: Update.
5317 * gdb.base/callfuncs.exp (do_function_calls): Update.
5318 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5319 (complex_float_integral_args): Update.
5320 * gdb.base/complex.exp: Update.
5321 * gdb.base/complex-parts.exp: Update.
5322
5323 2020-04-01 Tom Tromey <tromey@adacore.com>
5324
5325 * gdb.rust/union.rs: New file.
5326 * gdb.rust/union.exp: New file.
5327 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5328 (main): Update.
5329 * gdb.rust/simple.exp: Move union tests to union.exp.
5330
5331 2020-04-01 Tom Tromey <tromey@adacore.com>
5332
5333 * gdb.rust/simple.rs (main): Remove "y0".
5334
5335 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5336
5337 * gdb.multi/stop-all-on-exit.c: New test.
5338 * gdb.multi/stop-all-on-exit.exp: New file.
5339
5340 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
5341
5342 PR gdb/24789
5343 * gdb.cp/misc.cc: Add integer reference variable.
5344 * gdb.cp/misc.exp: Add test.
5345
5346 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5347
5348 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5349 scenario to cover execution until the end and also the case
5350
5351 2020-03-31 Tom de Vries <tdevries@suse.de>
5352
5353 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5354 c. Use "maint info symtabs" to check symtab expansion.
5355
5356 2020-03-30 Tom de Vries <tdevries@suse.de>
5357
5358 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5359 unsupported.
5360 (verify_psymtab_expanded): Move ...
5361 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5362 test.
5363 (readnow): New proc.
5364
5365 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5366
5367 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5368 with $hex.
5369
5370 2020-03-20 Tom Tromey <tromey@adacore.com>
5371
5372 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5373
5374 2020-03-20 Tom Tromey <tromey@adacore.com>
5375
5376 * gdb.ada/sub_variant/subv.adb: New file.
5377 * gdb.ada/sub_variant.exp: New file.
5378
5379 2020-03-20 Tom de Vries <tdevries@suse.de>
5380
5381 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5382 first break fails.
5383 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5384
5385 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5386
5387 * gdb.server/exit-multiple-threads.c: New file.
5388 * gdb.server/exit-multiple-threads.exp: New file.
5389
5390 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5391
5392 * gdb.fortran/mixed-lang-stack.c: New file.
5393 * gdb.fortran/mixed-lang-stack.cpp: New file.
5394 * gdb.fortran/mixed-lang-stack.exp: New file.
5395 * gdb.fortran/mixed-lang-stack.f90: New file.
5396
5397 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5398
5399 * gdb.linespec/cp-completion-aliases.cc: New file.
5400 * gdb.linespec/cp-completion-aliases.exp: New file.
5401
5402 2020-03-19 Tom de Vries <tdevries@suse.de>
5403
5404 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5405 more precise.
5406
5407 2020-03-18 Tom de Vries <tdevries@suse.de>
5408
5409 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5410 * gdb.dwarf2/break-inline-psymtab.c: New test.
5411 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5412
5413 2020-03-16 Tom de Vries <tdevries@suse.de>
5414
5415 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5416 cache_verify and cache_verify_proc.
5417
5418 2020-03-15 Tom de Vries <tdevries@suse.de>
5419
5420 * gdb.server/solib-list.exp: Handle
5421 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5422
5423 2020-03-15 Tom de Vries <tdevries@suse.de>
5424
5425 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5426 objfiles".
5427
5428 2020-03-14 Tom Tromey <tom@tromey.com>
5429
5430 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5431
5432 2020-03-14 Tom de Vries <tdevries@suse.de>
5433
5434 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5435
5436 2020-03-14 Tom de Vries <tdevries@suse.de>
5437
5438 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5439 result in line-by-line fashion.
5440
5441 2020-03-14 Tom de Vries <tdevries@suse.de>
5442
5443 * lib/gdb.exp (supports_statement_frontiers): New proc.
5444 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5445
5446 2020-03-14 Tom de Vries <tdevries@suse.de>
5447
5448 * gdb.base/printcmds.exp: Add missing quoting for "print
5449 teststring2".
5450
5451 2020-03-13 Tom Tromey <tom@tromey.com>
5452
5453 * gdb.base/printcmds.exp (test_print_strings): Add regression
5454 test.
5455 * gdb.base/printcmds.c (charptr): New typedef.
5456 (teststring2): New global.
5457
5458 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5459
5460 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5461 full path in the test name.
5462 (test_ld): Add some with_test_prefix blocks to make test names
5463 unique.
5464
5465 2020-03-13 Tom de Vries <tdevries@suse.de>
5466
5467 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5468
5469 2020-03-13 Tom de Vries <tdevries@suse.de>
5470
5471 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5472
5473 2020-03-13 Tom de Vries <tdevries@suse.de>
5474
5475 PR symtab/25646
5476 * gdb.dwarf2/imported-unit.exp: Add test.
5477
5478 2020-03-13 Tom de Vries <tdevries@suse.de>
5479
5480 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5481 (var1, var2): New variable.
5482 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5483 matching symbols.
5484
5485 2020-03-13 Tom de Vries <tdevries@suse.de>
5486
5487 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5488 (Term::command): Use prompt prefix.
5489 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5490 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5491 command_no_prompt_prefix instead of prefix.
5492 * gdb.tui/tui-layout-asm.exp: Same.
5493
5494 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
5495
5496 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5497
5498 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
5499
5500 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5501 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5502 on" while stepping over the test instruction, match printed
5503 message.
5504
5505 2020-03-12 Tom de Vries <tdevries@suse.de>
5506
5507 * gdb.base/info-types.exp: Use exp_continue during matching of output
5508 of "info types".
5509
5510 2020-03-12 Tom de Vries <tdevries@suse.de>
5511
5512 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5513
5514 2020-03-12 Tom de Vries <tdevries@suse.de>
5515
5516 * gdb.fortran/module.exp: Use exp_continue during matching of output
5517 of "info variable -n".
5518
5519 2020-03-12 Tom de Vries <tdevries@suse.de>
5520
5521 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5522 gdb.dwarf2/dw2-ranges-base.c.
5523
5524 2020-03-12 Tom de Vries <tdevries@suse.de>
5525
5526 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5527 in presence of GLIBC debuginfo.
5528
5529 2020-03-12 Tom de Vries <tdevries@suse.de>
5530
5531 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5532 $core.
5533
5534 2020-03-12 Tom de Vries <tdevries@suse.de>
5535
5536 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5537 more precise.
5538
5539 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
5540
5541 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5542 from Unix to Windows path.
5543
5544 2020-03-11 Tom de Vries <tdevries@suse.de>
5545
5546 * gdb.ada/minsyms.exp: Set language to ada.
5547
5548 2020-03-11 Tom de Vries <tdevries@suse.de>
5549
5550 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5551
5552 2020-03-11 Tom de Vries <tdevries@suse.de>
5553
5554 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5555
5556 2020-03-11 Tom Tromey <tromey@adacore.com>
5557
5558 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5559
5560 2020-03-11 Tom de Vries <tdevries@suse.de>
5561
5562 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5563
5564 2020-03-11 Tom de Vries <tdevries@suse.de>
5565
5566 * gdb.base/break-interp.exp: Limit verbose scope.
5567
5568 2020-03-11 Tom de Vries <tdevries@suse.de>
5569
5570 * gdb.fortran/logical.f90: Define variable with character type.
5571 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5572
5573 2020-03-11 Tom de Vries <tdevries@suse.de>
5574
5575 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5576
5577 2020-03-11 Tom de Vries <tdevries@suse.de>
5578
5579 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5580 symtabs.
5581
5582 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5583 Bernd Edlinger <bernd.edlinger@hotmail.de>
5584
5585 * gdb.cp/step-and-next-inline.cc: New file.
5586 * gdb.cp/step-and-next-inline.exp: New file.
5587 * gdb.cp/step-and-next-inline.h: New file.
5588 * gdb.dwarf2/dw2-is-stmt.c: New file.
5589 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5590 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5591 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5592 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5593
5594 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5595
5596 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5597 is-stmt flag in the line table.
5598
5599 2020-03-09 Tom de Vries <tdevries@suse.de>
5600
5601 * lib/gdb.exp (cached_file): Create cache dir.
5602
5603 2020-03-07 Tom de Vries <tdevries@suse.de>
5604
5605 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5606 * gdb.cp/rvalue-ref-params.exp: Same.
5607
5608 2020-03-06 Tom de Vries <tdevries@suse.de>
5609
5610 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5611 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5612
5613 2020-03-06 Tom de Vries <tdevries@suse.de>
5614
5615 * README: Fix "the the".
5616 * gdb.base/dprintf.exp: Same.
5617
5618 2020-03-05 Tom de Vries <tdevries@suse.de>
5619
5620 * gdb.base/maint.exp: Update "main print statistics" expected output.
5621
5622 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5623
5624 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5625 (fortran_int8): Likewise.
5626 (fortran_real4): Likewise.
5627 (fortran_real8): Likewise.
5628 (fortran_complex4): Likewise.
5629 (fortran_logical4): Likewise.
5630 (fortran_character1): Likewise.
5631
5632 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5633
5634 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5635 printed as true.
5636
5637 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5638
5639 * gdb.base/printcmds.exp: Add test to verify printf of a
5640 variable holding an address.
5641
5642 2020-03-03 Tom de Vries <tdevries@suse.de>
5643
5644 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5645
5646 2020-03-03 Tom de Vries <tdevries@suse.de>
5647
5648 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5649 gdb_test_multiple call.
5650
5651 2020-03-03 Tom de Vries <tdevries@suse.de>
5652
5653 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5654 gdb_test_multiple calls.
5655
5656 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5657
5658 * gdb.base/default.exp: Remove test of 'set history filename'.
5659 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5660 filename to the empty string.
5661 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5662 and GDBHISTSIZE.
5663
5664 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5665
5666 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5667 disabled.
5668
5669 2020-03-02 Pedro Alves <palves@redhat.com>
5670 Tom de Vries <tdevries@suse.de>
5671
5672 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5673 -prompt prefix, before user_code argument. Add -lbl option likewise.
5674 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5675 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5676 argument.
5677 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5678 have "\r\n" at start-of-line, instead of at end-of-line.
5679
5680 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
5681
5682 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5683 libinproctrace.so.
5684
5685 2020-02-28 Luis Machado <luis.machado@linaro.org>
5686
5687 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5688 to "p/x".
5689
5690 2020-02-28 Luis Machado <luis.machado@linaro.org>
5691
5692 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5693 asm/ptrace.h and error.h.
5694
5695 2020-02-28 Tom de Vries <tdevries@suse.de>
5696
5697 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5698 (struct wrapper, do_something, mundane/symada__cS): Move ...
5699 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5700 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5701 Update "print symada__cS before partial symtab expansion" regexp.
5702 Update breakpoint location. Flush symbol cache after expansion.
5703
5704 2020-02-28 Luis Machado <luis.machado@linaro.org>
5705
5706 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5707
5708 2020-02-27 Tom de Vries <tdevries@suse.de>
5709
5710 * config/sid.exp: Remove unused globals.
5711 * gdb.base/attach.exp: Same.
5712 * gdb.base/catch-load.exp: Same.
5713 * gdb.base/dbx.exp: Same.
5714 * lib/gdb.exp: Same.
5715 * lib/mi-support.exp: Same.
5716 * lib/prompt.exp: Same.
5717
5718 2020-02-27 Tom de Vries <tdevries@suse.de>
5719
5720 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5721 not set.
5722
5723 2020-02-26 Aaron Merey <amerey@redhat.com>
5724
5725 * gdb.debuginfod: New directory for debuginfod tests.
5726 * gdb.debuginfod/main.c: New test file.
5727 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5728
5729 2020-02-26 Tom de Vries <tdevries@suse.de>
5730
5731 PR gdb/25603
5732 * gdb.base/persistent-lang.cc: New test.
5733 * gdb.base/persistent-lang.exp: New file.
5734
5735 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5736
5737 * gdb.fortran/derived-type-striding.exp: Add a new test.
5738 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5739 new test.
5740
5741 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5742
5743 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5744 names.
5745
5746 2020-02-25 Tom de Vries <tdevries@suse.de>
5747
5748 PR go/18926
5749 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5750
5751 2020-02-24 Tom de Vries <tdevries@suse.de>
5752
5753 PR gdb/25592
5754 * gdb.base/info-locals-unused-static-var.c: New test.
5755 * gdb.base/info-locals-unused-static-var.exp: New file.
5756
5757 2020-02-22 Tom Tromey <tom@tromey.com>
5758
5759 * gdb.python/tui-window.exp: New file.
5760 * gdb.python/tui-window.py: New file.
5761
5762 2020-02-22 Tom Tromey <tom@tromey.com>
5763
5764 PR tui/17850:
5765 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5766 tests.
5767
5768 2020-02-22 Tom Tromey <tom@tromey.com>
5769
5770 * gdb.tui/new-layout.exp: Add sub-layout tests.
5771
5772 2020-02-22 Tom Tromey <tom@tromey.com>
5773
5774 * gdb.tui/new-layout.exp: New file.
5775
5776 2020-02-22 Tom Tromey <tom@tromey.com>
5777
5778 * gdb.rust/rust-style.rs: New file.
5779 * gdb.rust/rust-style.exp: New file.
5780 * gdb.base/style.exp: Test structure printing.
5781 * gdb.base/style.c (struct some_struct): New type.
5782 (enum etype): New type.
5783 (struct_value): New global.
5784
5785 2020-02-21 Tom de Vries <tdevries@suse.de>
5786
5787 PR go/18926
5788 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5789 Remove blanket xfails. Use message argument for gdb_breakpoint.
5790 Make continuing to breakpoint test conditional on setting breakpoint.
5791 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5792 DW_AT_name attribute. Add xfail for GCC PR93866.
5793
5794 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5795
5796 * gdb.dwarf2/cpp-linkage-name.c: New file.
5797 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5798
5799 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
5800
5801 * lib/gdb.exp (gdb_wrapper_init): Reset
5802 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5803 not exist.
5804
5805 2020-02-20 Tom de Vries <tdevries@suse.de>
5806
5807 PR go/17018
5808 * gdb.go/hello.exp: Copy ...
5809 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5810 print of st to print value of global definition. Add xfail for GCC
5811 PR93844.
5812 * gdb.go/hello.exp: Remove printing of st before definition.
5813 * gdb.go/hello.go: Copy ...
5814 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5815 to st.
5816 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5817
5818 2020-02-20 Tom de Vries <tdevries@suse.de>
5819
5820 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5821 (gdb_simple_compile): Handle compile_flags go by using .go extension
5822 for source file.
5823 * gdb.go/chan.exp: Use support_go_compile.
5824 * gdb.go/handcall.exp: Same.
5825 * gdb.go/hello.exp: Same.
5826 * gdb.go/integers.exp: Same.
5827 * gdb.go/max-depth.exp: Same.
5828 * gdb.go/methods.exp: Same.
5829 * gdb.go/package.exp: Same.
5830 * gdb.go/strings.exp: Same.
5831 * gdb.go/types.exp: Same.
5832 * gdb.go/unsafe.exp: Same.
5833
5834 2020-02-19 Tom de Vries <tdevries@suse.de>
5835
5836 * gdb.python/lib-types.exp: Make xfail more strict.
5837
5838 2020-02-19 Tom de Vries <tdevries@suse.de>
5839
5840 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5841
5842 2020-02-19 Doug Evans <dje@google.com>
5843
5844 PR rust/25535
5845 * gdb.rust/simple.exp: Add test.
5846 * gdb.rust/simple.rs: Add test.
5847
5848 2020-02-19 Tom de Vries <tdevries@suse.de>
5849
5850 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5851 output line-by-line.
5852
5853 2020-02-19 Tom de Vries <tdevries@suse.de>
5854
5855 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5856
5857 2020-02-19 Tom de Vries <tdevries@suse.de>
5858
5859 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5860 prelink.
5861
5862 2020-02-19 Tom de Vries <tdevries@suse.de>
5863
5864 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5865 (gdb_do_cache): Use gdb_do_cache_wrap.
5866 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5867
5868 2020-02-19 Tom de Vries <tdevries@suse.de>
5869
5870 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5871 gdb_compile option.
5872
5873 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5874
5875 * gdb.base/printcmds.exp (test_print_enums): Update expected
5876 output.
5877
5878 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5879
5880 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5881 for "unknown".
5882
5883 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5884
5885 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5886 enumerator.
5887
5888 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5889
5890 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5891 FE_, add FE_NONE.
5892 (three): Update.
5893 (enum flag_enum_without_zero): New enum.
5894 (flag_enum_without_zero): New variable.
5895 (enum not_flag_enum): New enum.
5896 (three_not_flag): New variable.
5897 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5898 (test_print_enums): Add more tests for printing flag enums.
5899
5900 2020-02-18 Tom de Vries <tdevries@suse.de>
5901
5902 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5903 (gdb_compile_ada): ... here.
5904 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5905 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5906
5907 2020-02-14 Tom Tromey <tom@tromey.com>
5908
5909 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5910 build directory.
5911 * boards/gdbserver-base.exp: Update path to gdbserver.
5912
5913 2020-02-13 Tom de Vries <tdevries@suse.de>
5914
5915 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5916
5917 2020-02-13 Tom de Vries <tdevries@suse.de>
5918
5919 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5920 are missing.
5921
5922 2020-02-13 Tom de Vries <tdevries@suse.de>
5923
5924 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5925 call.
5926
5927 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5928
5929 PR tui/25126
5930 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5931 * gdb.base/cached-source-file.c: New file.
5932 * gdb.base/cached-source-file.exp: New file.
5933
5934 2020-02-11 Tom de Vries <tdevries@suse.de>
5935
5936 PR testsuite/25488
5937 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5938
5939 2020-02-10 Tom de Vries <tdevries@suse.de>
5940
5941 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5942
5943 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
5944
5945 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5946 and $after_addr are both integers before making a comparison.
5947
5948 2020-02-09 Tom de Vries <tdevries@suse.de>
5949
5950 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5951 command output and paste it into gdb.log. If any, paste catch message
5952 to gdb.log.
5953
5954 2020-02-07 Tom Tromey <tromey@adacore.com>
5955
5956 PR breakpoints/24915:
5957 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5958
5959 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
5960
5961 * gdb.tui/tui-missing-src.exp: Add the "missing source
5962 file" test for the TUI.
5963
5964 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5965
5966 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5967 including a port number in the output.
5968
5969 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5970
5971 * lib/fortran.exp (fortran_int4): Handle clang.
5972 (fortran_int8): Likewise.
5973 (fortran_real4): Likewise.
5974 (fortran_real8): Likewise.
5975 (fortran_complex4): Likewise.
5976 (fortran_logical4): Likewise.
5977 (fortran_character1): Likewise.
5978
5979 2020-02-04 Tom de Vries <tdevries@suse.de>
5980
5981 * README (Race detection): Add note.
5982
5983 2020-02-04 Tom de Vries <tdevries@suse.de>
5984
5985 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5986
5987 2020-02-04 Tom de Vries <tdevries@suse.de>
5988
5989 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5990
5991 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5992
5993 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5994 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5995 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5996 blttar, bnetarl.
5997 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5998 binary for blttar, bnetarl.
5999 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6000 wait instruction. Delete ldmx test.
6001 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6002
6003 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6004
6005 * gdb.fortran/array-bounds-high.exp: New file.
6006 * gdb.fortran/array-bounds-high.f90: New file.
6007
6008 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6009
6010 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6011 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6012
6013 2020-02-01 Tom de Vries <tdevries@suse.de>
6014
6015 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6016
6017 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6018
6019 PR tui/9765
6020 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6021 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6022
6023 2020-01-29 Luis Machado <luis.machado@linaro.org>
6024
6025 * gdb.arch/aarch64-brk-patterns.c: New source file.
6026 * gdb.arch/aarch64-brk-patterns.exp: New test.
6027
6028 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6029
6030 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6031 GCC/Clang version.
6032 * gdb.cp/pass-by-ref.exp: Ditto.
6033
6034 2020-01-29 Tom de Vries <tdevries@suse.de>
6035
6036 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6037 * gdb.threads/watchpoint-fork-mt.c: Same.
6038 * gdb.threads/watchpoint-fork-parent.c: Same.
6039 * gdb.threads/watchpoint-fork-st.c: Same.
6040 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6041
6042 2020-01-27 Luis Machado <luis.machado@linaro.org>
6043
6044 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6045 sitting at a syscall instruction when we hit the syscall function's
6046 breakpoint.
6047 Check PC against one obtained with the x command.
6048 Validate syscall number.
6049 (step_over_syscall): Don't continue to the syscall instruction if
6050 we're already there.
6051
6052 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6053
6054 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6055
6056 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6057
6058 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6059 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6060
6061 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6062
6063 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6064 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6065
6066 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6067
6068 * gdb.base/maint.exp: Update line table parsing test.
6069 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6070
6071 2020-01-24 Pedro Alves <palves@redhat.com>
6072
6073 PR gdb/25410
6074 * gdb.multi/multi-re-run-1.c: New.
6075 * gdb.multi/multi-re-run-2.c: New.
6076 * gdb.multi/multi-re-run.exp: New.
6077
6078 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6079
6080 PR gdb/23718
6081 * gdb.server/server-kill-python.exp: New file.
6082
6083 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6084
6085 * gdb.server/multi-ui-errors.c: New file.
6086 * gdb.server/multi-ui-errors.exp: New file.
6087
6088 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6089
6090 PR tui/9765
6091 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6092
6093 2020-01-19 Tom Tromey <tom@tromey.com>
6094
6095 * gdb.tui/main.exp: Add check for plain "file".
6096
6097 2020-01-16 Christian Biesinger <cbiesinger@google.com>
6098
6099 * lib/gdb.exp: Fix spelling error (seperatelly).
6100
6101 2020-01-14 Tom Tromey <tom@tromey.com>
6102
6103 PR symtab/12535:
6104 * gdb.python/python.exp: Test decode_line with empty string
6105 argument.
6106
6107 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6108
6109 * gdb.base/skip-inline.exp: Extend test.
6110
6111 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6112
6113 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6114 * gdb.dwarf2/dw2-bad-elf.c: New file.
6115 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6116
6117 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6118
6119 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6120 _line_saw_file.
6121
6122 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6123
6124 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6125 border.
6126
6127 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6128
6129 * gdb.multi/multi-target.exp (setup): Factor out "info
6130 connections" and "info inferiors" tests to ...
6131 (test_info_inferiors): ... this new procedure.
6132 (top level): Run new "info-inferiors" tests.
6133
6134 2020-01-10 Pedro Alves <palves@redhat.com>
6135
6136 * gdb.server/bkpt-other-inferior.exp: New file.
6137
6138 2020-01-10 Pedro Alves <palves@redhat.com>
6139
6140 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6141 of "add-inferior".
6142 * gdb.base/quit-live.exp: Likewise.
6143 * gdb.base/remote-exec-file.exp: Likewise.
6144 * gdb.guile/scm-progspace.exp: Likewise.
6145 * gdb.linespec/linespec.exp: Likewise.
6146 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6147 * gdb.mi/user-selected-context-sync.exp: Likewise.
6148 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6149 "info inferiors" tests.
6150 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6151 "add-inferior".
6152 * gdb.multi/watchpoint-multi.exp: Likewise.
6153 * gdb.python/py-inferior.exp: Likewise.
6154 * gdb.server/extended-remote-restart.exp: Likewise.
6155 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6156 "info inferiors".
6157 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6158 * gdb.trace/report.exp: Likewise.
6159
6160 2020-01-10 Pedro Alves <palves@redhat.com>
6161
6162 * gdb.multi/multi-target.c: New file.
6163 * gdb.multi/multi-target.exp: New file.
6164 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6165 mode requested, but remote does not support non-stop".
6166
6167 2020-01-10 Pedro Alves <palves@redhat.com>
6168
6169 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6170 disconnect before reconnecting.
6171
6172 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6173 Pedro Alves <palves@redhat.com>
6174
6175 * gdb.server/connect-without-multi-process.exp: Also test
6176 continuing to end.
6177
6178 2020-01-10 Pedro Alves <palves@redhat.com>
6179
6180 * gdb.base/remote-exec-file.exp: New file.
6181
6182 2020-01-10 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6185 output.
6186 * gdb.threads/async.c: New.
6187 * gdb.threads/async.exp: New.
6188 * gdb.multi/tids-gid-reset.c: New.
6189 * gdb.multi/tids-gid-reset.exp: New.
6190
6191 2020-01-10 George Barrett <bob@bob131.so>
6192
6193 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6194 to help in finding the image relocation offset.
6195 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6196 options in arguments.
6197 (stap_test_no_debuginfo): Likewise.
6198 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6199 test variants.
6200 (stap_test): Add null semaphore relocation test.
6201
6202 2020-01-10 George Barrett <bob@bob131.so>
6203
6204 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6205 * gdb.base/stap-probe.exp: Likewise.
6206 (stap_test): Pass argument as an additional flag.
6207 (stap_test_no_debuginfo): Likewise.
6208 (stap_test): Check `info probes stap' output for semaphore
6209 addresses if the test binary is supposed to have them.
6210
6211 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6212
6213 * gdb.tui/basic.exp: Add more scrolling tests.
6214
6215 2020-01-09 Tom Tromey <tom@tromey.com>
6216
6217 PR tui/18932:
6218 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6219 meangingful value.
6220 (Term::command, Term::resize): Update.
6221 * gdb.tui/basic.exp: Add scrolling test.
6222
6223 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6224
6225 * gdb.tui/tui-layout-asm.exp: New file.
6226
6227 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6228
6229 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6230
6231 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6232
6233 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6234 (Term::enter_tui): Use Term::prepare_for_tui.
6235
6236 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6237
6238 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6239 called.
6240
6241 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6242
6243 * gdb.base/skip.exp: Fix race condition in test.
6244
6245 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6246
6247 * gdb.base/backtrace.c: New file.
6248 * gdb.base/backtrace.exp: New file.
6249
6250 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6251
6252 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6253
6254 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6255
6256 * gdb.base/style.exp: Test that warnings are styled.
6257
6258 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6259
6260 * gdb.base/line65535.exp: New file.
6261 * gdb.base/line65535.c: New file.
6262
6263 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6264
6265 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6266 * lib/gnat_debug_info_test.adb: New file.
6267 * gdb.ada/ptype_tagged_param.exp: Use
6268 gnat_runtime_has_debug_info, expect a different output if
6269 runtime does not have debug info.
6270
6271 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
6272
6273 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6274 (another) quote in test name.
6275
6276 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
6277
6278 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6279 Add quote in test name.
6280
6281 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6282
6283 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6284 directory instead.
6285 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6286 * gdb.cp/pass-by-ref-2.cc: New file.
6287 * gdb.cp/pass-by-ref-2.exp: New file.
6288
6289 2019-12-20 Tom Tromey <tom@tromey.com>
6290
6291 * gdb.tui/list-before.exp: New file.
6292
6293 2019-12-20 Tom Tromey <tom@tromey.com>
6294
6295 * gdb.tui/list.exp: Check for source on initial listing.
6296
6297 2019-12-11 Tom Tromey <tromey@adacore.com>
6298
6299 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6300 Add crlf test.
6301
6302 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
6303
6304 * gdb.base/default.exp: Update value of $_gdb_major.
6305
6306 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6307
6308 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6309
6310 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6311
6312 * gdb.base/skip.exp: Whitespace fix.
6313
6314 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6315
6316 * gdb.base/skip-inline.c: New file.
6317 * gdb.base/skip-inline.exp: New file.
6318
6319 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6320
6321 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6322 jit_function_00 to jit_function_stack_mangle.
6323 * gdb.base/jithost.c (jit_function_t): Rename to...
6324 (jit_function_stack_mangle_t): ... this.
6325 (jit_function_add_t): New typedef.
6326 (jit_function_00_code): Rename to...
6327 (jit_function_stack_mangle_code): ... this, make static.
6328 (jit_function_add_code): New.
6329 (main): Generate "add" function and call it. Adjust to changes
6330 in jithost_abi.
6331 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6332 (struct jithost_abi) <begin, end>: Remove fields.
6333 <object, function_stack_mangle, function_add>: New fields.
6334 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6335 code_end>: Remove fields.
6336 <func_stack_mangle>: New field.
6337 (read_debug_info): Adjust to renaming, create block for "add"
6338 function.
6339 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6340
6341 2019-12-11 Tom Tromey <tom@tromey.com>
6342
6343 * gdb.tui/resize.exp: Fix regexp.
6344 * gdb.tui/regs.exp: Fix regexps.
6345 * gdb.tui/main.exp: Fix regexp.
6346
6347 2019-12-11 Tom Tromey <tom@tromey.com>
6348
6349 * gdb.tui/resize.exp: Update.
6350 * gdb.tui/empty.exp (layouts): Update.
6351
6352 2019-12-11 Tom Tromey <tom@tromey.com>
6353
6354 * gdb.tui/regs.exp: Update.
6355 * gdb.tui/empty.exp (layouts): Update.
6356 * gdb.tui/basic.exp: Update.
6357 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6358
6359 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6360
6361 * gdb.base/options.exp: Add -raw-values in the print completion list.
6362 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6363
6364 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6365
6366 * gdb.threads/omp-par-scope.c: New file.
6367 * gdb/threads/omp-par-scope.exp: New file.
6368
6369 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6370
6371 * lib/gdb.exp (support_nested_function_tests): New proc.
6372
6373 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6374
6375 * lib/gdb.exp (gdb_compile_openmp): New proc.
6376 (build_executable_from_specs): Add an "openmp" option.
6377 (gdb_compile_pthreads): Add non-executable case.
6378
6379 2019-12-10 Tom Tromey <tromey@adacore.com>
6380
6381 * gdb.ada/unchecked_union.exp: New file.
6382 * gdb.ada/unchecked_union/pck.adb: New file.
6383 * gdb.ada/unchecked_union/pck.ads: New file.
6384 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6385 * gdb-utils.exp (string_to_regexp): Also quote "?".
6386
6387 2019-12-10 George Barrett <bob@bob131.so>
6388
6389 Test scripted probe breakpoints.
6390 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6391 * gdb.python/py-breakpoint.c (main): Likewise.
6392 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6393 specifier test.
6394 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6395
6396 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6397
6398 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6399 an rvalue parameter.
6400 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6401 parameter.
6402
6403 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6404
6405 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6406 modules.
6407
6408 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6409
6410 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6411 broken version of GCC.
6412
6413 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6414
6415 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6416 sym-info-cmds library.
6417 * gdb.fortran/info-types.exp: Likewise.
6418 * lib/sym-info-cmds.exp: New file.
6419
6420 2019-12-08 Tom de Vries <tdevries@suse.de>
6421
6422 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6423
6424 2019-12-07 Keith Seitz <keiths@redhat.com>
6425
6426 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6427 * gdb.base/corefile-buildid-shlib.c: New file.
6428 * gdb.base/corefile-buildid.c: New file.
6429 * gdb.base/corefile-buildid.exp: New file.
6430
6431 2019-12-06 Tom de Vries <tdevries@suse.de>
6432
6433 * gdb.dwarf2/varval.exp: Add decl before def test.
6434
6435 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6436
6437 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6438
6439 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6440
6441 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6442 CV and reference conversion for overload resolution.
6443 * gdb.cp/rvalue-ref-overload.exp: Test it.
6444
6445 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6446
6447 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6448 * gdb.base/frameapply.exp: Test faas without command.
6449
6450 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6451
6452 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6453 Fortran tests.
6454 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6455 order.
6456
6457 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6458
6459 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6460 casting to type with no kind specified.
6461 (test_basic_parsing_of_type_kinds): Additional tests for types
6462 with no kind specified, and add tests for single/double
6463 precision/complex types.
6464
6465 2019-12-04 Tom Tromey <tromey@adacore.com>
6466
6467 * gdb.base/endianity.c (struct other) <x>: New field.
6468 (main): Initialize it.
6469 * gdb.base/endianity.exp: Update.
6470
6471 2019-12-04 Tom Tromey <tromey@adacore.com>
6472
6473 * gdb.ada/scalar_storage/storage.adb: New file.
6474 * gdb.ada/scalar_storage/pck.adb: New file.
6475 * gdb.ada/scalar_storage/pck.ads: New file.
6476 * gdb.ada/scalar_storage.exp: New file.
6477
6478 2019-12-04 Tom Tromey <tromey@adacore.com>
6479
6480 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6481 (main): Initialize it.
6482 * gdb.base/endianity.exp: Update.
6483
6484 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6485
6486 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6487
6488 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6489
6490 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6491 -symbol-info-module-functions and -symbol-info-module-variables.
6492
6493 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6494
6495 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6496
6497 2019-12-01 Richard Bunt <richard.bunt@arm.com>
6498 Andrew Burgess <andrew.burgess@embecosm.com>
6499
6500 * gdb.fortran/derived-type-striding.exp: New file.
6501 * gdb.fortran/derived-type-striding.f90: New file.
6502 * gdb.fortran/array-slices.exp: New file.
6503 * gdb.fortran/array-slices.f90: New file.
6504
6505 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6506
6507 * gdb.base/define.exp: Test . in command names.
6508 * gdb.base/setshow.exp: Update test, as . is now part of
6509 command name.
6510
6511 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6512
6513 * gdb.base/define-prefix.exp: New file.
6514
6515 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6516
6517 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6518 compile.
6519 (skip_btrace_pt_tests): Likewise.
6520
6521 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6522
6523 * gdb.fortran/info-modules.exp: Compile source files in correct
6524 order.
6525
6526 2019-11-27 Kevin Buettner <kevinb@redhat.com>
6527
6528 * gdb.dwarf2/imported-unit.exp: New file.
6529 * gdb.dwarf2/imported-unit.c: New file.
6530
6531 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6532
6533 * gdb.mi/mi-fortran-modules-2.f90: New file.
6534 * gdb.mi/mi-fortran-modules.exp: New file.
6535 * gdb.mi/mi-fortran-modules.f90: New file.
6536
6537 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6538
6539 * gdb.mi/mi-sym-info-1.c: New file.
6540 * gdb.mi/mi-sym-info-2.c: New file.
6541 * gdb.mi/mi-sym-info.exp: New file.
6542
6543 2019-11-22 Tom Tromey <tromey@adacore.com>
6544
6545 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6546 * gdb.ada/tasks/foo.adb: Add another stopping location.
6547
6548 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6549
6550 * gdb.base/endianity.c: New test.
6551 * gdb.base/endianity.exp: New file.
6552
6553 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6554
6555 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6556
6557 2019-11-21 Tom de Vries <tdevries@suse.de>
6558
6559 PR gdb/24956
6560 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6561
6562 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6563
6564 * gdb.python/py-progspace.exp: Add missing parentheses on some
6565 'print' commands.
6566
6567 2019-11-19 Tom Tromey <tom@tromey.com>
6568
6569 * gdb.tui/winheight.exp: New file.
6570
6571 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6572
6573 * gdb.base/ctf-whatis.c: Delete.
6574 * gdb.base/ctf-whatis.exp: Delete.
6575 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6576
6577 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6578
6579 * gdb.base/ctf-cvexpr.exp: Delete.
6580 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6581
6582 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6583
6584 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6585 the compiler. Clean up header comment a little.
6586 * gdb.base/ctf-ptype.exp: Likewise.
6587 * gdb.base/ctf-whatis.exp: Likewise.
6588 * lib/gdb.exp (skip_ctf_tests): New proc.
6589
6590 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6591
6592 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6593 * gdb.tui/corefile-run.exp: New file.
6594
6595 2019-11-14 Tom Tromey <tromey@adacore.com>
6596
6597 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6598 regression tests.
6599
6600 2019-11-12 Tom Tromey <tom@tromey.com>
6601
6602 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6603 after any command. Expect prompt after WAIT_FOR is seen.
6604 (enter_tui): Enable resize messages.
6605 (command): Expect command in output.
6606 (get_line): Avoid error when cursor appears to be off-screen.
6607 (dump_screen): Include screen size in title.
6608 (_do_resize): New proc, from "resize".
6609 (resize): Rewrite. Do resize in two steps.
6610 * gdb.tui/empty.exp (layouts): Fix entries.
6611 (check_boxes): Remove xfail.
6612 (check_text): Dump screen on failure.
6613
6614 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6615
6616 * gdb.python/py-symbol.exp: Add test for
6617 gdb.lookup_static_symbols.
6618
6619 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6620
6621 * gdb.python/py-symbol.c: Declare and call function from new
6622 py-symbol-2.c file.
6623 * gdb.python/py-symbol.exp: Compile both source files, and add new
6624 tests for gdb.lookup_static_symbol.
6625 * gdb.python/py-symbol-2.c: New file.
6626
6627 2019-11-02 Tom de Vries <tdevries@suse.de>
6628
6629 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6630 * gdb.base/anon.exp: Same.
6631 * gdb.base/auto-connect-native-target.exp: Same.
6632 * gdb.base/call-ar-st.exp: Same.
6633 * gdb.base/catch-syscall.exp: Same.
6634 * gdb.base/commands.exp: Same.
6635 * gdb.base/default.exp: Same.
6636 * gdb.base/display.exp: Same.
6637 * gdb.base/float.exp: Same.
6638 * gdb.base/foll-fork.exp: Same.
6639 * gdb.base/help.exp: Same.
6640 * gdb.base/info-macros.exp: Same.
6641 * gdb.base/info-proc.exp: Same.
6642 * gdb.base/info-target.exp: Same.
6643 * gdb.base/long_long.exp: Same.
6644 * gdb.base/macscp.exp: Same.
6645 * gdb.base/memattr.exp: Same.
6646 * gdb.base/nofield.exp: Same.
6647 * gdb.base/pointers.exp: Same.
6648 * gdb.base/printcmds.exp: Same.
6649 * gdb.base/ptype.exp: Same.
6650 * gdb.base/restore.exp: Same.
6651 * gdb.base/return.exp: Same.
6652 * gdb.base/scope.exp: Same.
6653 * gdb.base/set-noassign.exp: Same.
6654 * gdb.base/setshow.exp: Same.
6655 * gdb.base/shlib-call.exp: Same.
6656 * gdb.base/signals.exp: Same.
6657 * gdb.base/sigstep.exp: Same.
6658 * gdb.base/skip.exp: Same.
6659 * gdb.base/solib-symbol.exp: Same.
6660 * gdb.base/stap-probe.exp: Same.
6661 * gdb.base/step-line.exp: Same.
6662 * gdb.base/step-test.exp: Same.
6663 * gdb.base/style.exp: Same.
6664 * gdb.base/varargs.exp: Same.
6665 * gdb.base/vla-datatypes.exp: Same.
6666 * gdb.base/vla-ptr.exp: Same.
6667 * gdb.base/vla-sideeffect.exp: Same.
6668 * gdb.base/volatile.exp: Same.
6669 * gdb.base/watch-cond-infcall.exp: Same.
6670 * gdb.base/watchpoint.exp: Same.
6671
6672 2019-11-02 Tom de Vries <tdevries@suse.de>
6673
6674 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6675 * gdb.cp/cpexprs.exp: Same.
6676 * gdb.cp/except-multi-location.exp: Same.
6677 * gdb.cp/exceptprint.exp: Same.
6678 * gdb.cp/gdb2384.exp: Same.
6679 * gdb.cp/inherit.exp: Same.
6680 * gdb.cp/m-static.exp: Same.
6681 * gdb.cp/meth-typedefs.exp: Same.
6682 * gdb.cp/misc.exp: Same.
6683 * gdb.cp/namespace.exp: Same.
6684 * gdb.cp/non-trivial-retval.exp: Same.
6685 * gdb.cp/overload.exp: Same.
6686 * gdb.cp/pr17132.exp: Same.
6687 * gdb.cp/re-set-overloaded.exp: Same.
6688 * gdb.cp/rvalue-ref-types.exp: Same.
6689 * gdb.cp/templates.exp: Same.
6690
6691 2019-11-01 Luis Machado <luis.machado@linaro.org>
6692
6693 PR gdb/25124
6694
6695 * gdb.arch/pr25124.S: New file.
6696 * gdb.arch/pr25124.exp: New file.
6697
6698 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6699
6700 * gdb.fortran/info-modules.exp: Update expected results, and add
6701 additional tests for 'info module functinos', and 'info module
6702 variables'.
6703 * gdb.fortran/info-types.exp: Update expected results.
6704 * gdb.fortran/info-types.f90: Extend testcase with additional
6705 module variables and functions.
6706
6707 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6708
6709 * gdb.fortran/info-modules.exp: New file.
6710 * gdb.fortran/info-types.exp: Build with new file.
6711 * gdb.fortran/info-types.f90: Include and use new module.
6712 * gdb.fortran/info-types-2.f90: New file.
6713
6714 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6715
6716 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6717 * gdb.base/settings.exp: Test all settings types using
6718 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6719 that now verifies that the value of "maint show" is the same as
6720 returned by the settings functions. Test the type of the
6721 maintenance settings.
6722 * gdb.base/default.exp: Update show_conv_list.
6723
6724 2019-10-31 Tom de Vries <tdevries@suse.de>
6725
6726 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6727 gdb_test.
6728 * gdb.arch/amd64-disp-step.exp: Same.
6729 * gdb.asm/asm-source.exp: Same.
6730 * gdb.btrace/buffer-size.exp: Same.
6731 * gdb.btrace/cpu.exp: Same.
6732 * gdb.btrace/enable.exp: Same.
6733 * gdb.dwarf2/count.exp: Same.
6734 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6735 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6736 * gdb.fortran/vla-datatypes.exp: Same.
6737 * gdb.fortran/vla-history.exp: Same.
6738 * gdb.fortran/vla-ptype.exp: Same.
6739 * gdb.fortran/vla-value.exp: Same.
6740 * gdb.fortran/whatis_type.exp: Same.
6741 * gdb.guile/guile.exp: Same.
6742 * gdb.multi/tids.exp: Same.
6743 * gdb.python/py-finish-breakpoint.exp: Same.
6744 * gdb.python/py-framefilter.exp: Same.
6745 * gdb.python/py-pp-registration.exp: Same.
6746 * gdb.python/py-xmethods.exp: Same.
6747 * gdb.python/python.exp: Same.
6748 * gdb.server/connect-with-no-symbol-file.exp: Same.
6749 * gdb.server/no-thread-db.exp: Same.
6750 * gdb.server/run-without-local-binary.exp: Same.
6751 * gdb.stabs/weird.exp: Same.
6752 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6753 * gdb.threads/thread-find.exp: Same.
6754 * gdb.threads/tls-shared.exp: Same.
6755 * gdb.threads/tls.exp: Same.
6756 * gdb.threads/wp-replication.exp: Same.
6757 * gdb.trace/ax.exp: Same.
6758 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6759
6760 2019-10-31 Tom de Vries <tdevries@suse.de>
6761
6762 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6763 * gdb.ada/array_subscript_addr.exp: Same.
6764 * gdb.ada/arrayidx.exp: Same.
6765 * gdb.ada/arrayparam.exp: Same.
6766 * gdb.ada/arrayptr.exp: Same.
6767 * gdb.ada/boolean_expr.exp: Same.
6768 * gdb.ada/call_pn.exp: Same.
6769 * gdb.ada/complete.exp: Same.
6770 * gdb.ada/fixed_cmp.exp: Same.
6771 * gdb.ada/fun_addr.exp: Same.
6772 * gdb.ada/funcall_param.exp: Same.
6773 * gdb.ada/interface.exp: Same.
6774 * gdb.ada/mod_from_name.exp: Same.
6775 * gdb.ada/null_array.exp: Same.
6776 * gdb.ada/packed_array.exp: Same.
6777 * gdb.ada/packed_tagged.exp: Same.
6778 * gdb.ada/print_chars.exp: Same.
6779 * gdb.ada/print_pc.exp: Same.
6780 * gdb.ada/ptype_arith_binop.exp: Same.
6781 * gdb.ada/ptype_field.exp: Same.
6782 * gdb.ada/ptype_tagged_param.exp: Same.
6783 * gdb.ada/rec_return.exp: Same.
6784 * gdb.ada/ref_tick_size.exp: Same.
6785 * gdb.ada/str_ref_cmp.exp: Same.
6786 * gdb.ada/taft_type.exp: Same.
6787 * gdb.ada/tagged.exp: Same.
6788 * gdb.ada/type_coercion.exp: Same.
6789 * gdb.ada/uninitialized_vars.exp: Same.
6790
6791 2019-10-30 Tom de Vries <tdevries@suse.de>
6792
6793 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6794
6795 2019-10-26 Tom de Vries <tdevries@suse.de>
6796
6797 * gdb.base/bigcore.c: Fix typos in comments.
6798 * gdb.base/ctf-ptype.c: Same.
6799 * gdb.base/long_long.c: Same.
6800 * gdb.dwarf2/dw2-op-out-param.S: Same.
6801 * gdb.python/py-evthreads.c: Same.
6802 * gdb.reverse/i387-stack-reverse.c: Same.
6803 * gdb.trace/tfile.c: Same.
6804 * lib/compiler.c: Same.
6805 * lib/compiler.cc: Same.
6806
6807 2019-10-25 Tom de Vries <tdevries@suse.de>
6808
6809 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6810 gdb_test_multiple calls.
6811 * gdb.reverse/sigall-reverse.exp: Same.
6812 * gdb.reverse/solib-precsave.exp: Same.
6813 * gdb.reverse/solib-reverse.exp: Same.
6814 * gdb.reverse/until-precsave.exp: Same.
6815 * gdb.reverse/until-reverse.exp: Same.
6816
6817 2019-10-24 Tom de Vries <tdevries@suse.de>
6818
6819 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6820 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6821 kfail using -wrap pattern flag and convenience variable
6822 gdb_test_name.
6823
6824 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6825
6826 * gdb.python/py-progspace.exp: Add tests for the
6827 Progspace.block_for_pc method.
6828
6829 2019-10-23 Tom Tromey <tom@tromey.com>
6830
6831 * configure: Rebuild.
6832 * aclocal.m4: Use m4_include, not sinclude.
6833
6834 2019-10-21 Tom de Vries <tdevries@suse.de>
6835
6836 * gdb.base/infcall-nested-structs.c: Add
6837 __attribute__((noinline,noclone)) to all functions.
6838 (call_all): Add missing variable initialization. Simplify return value.
6839 (breakpt): Increment volatile variable, to prevent call from being
6840 optimized out.
6841 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6842
6843 2019-10-17 Tom de Vries <tdevries@suse.de>
6844
6845 * gdb.fortran/module.exp: Allow info variables to print info for files
6846 other than module.f90.
6847
6848 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6849
6850 * gdb.fortran/module.exp: Extend with 'info variables' test.
6851
6852 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6853
6854 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6855 F77_FOR_TARGET.
6856
6857 2019-10-16 Tom de Vries <tdevries@suse.de>
6858
6859 PR tdep/25096
6860 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6861
6862 2019-10-16 Tom de Vries <tdevries@suse.de>
6863
6864 PR tdep/24104
6865 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6866 Add KFAIL for PR tdep/25096.
6867
6868 2019-10-16 Tom de Vries <tdevries@suse.de>
6869
6870 PR testsuite/25059
6871 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6872
6873 2019-10-16 Tom de Vries <tdevries@suse.de>
6874
6875 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6876 as signed.
6877
6878 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6879
6880 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6881 one instead of increasing timeout.
6882
6883 2019-10-13 Tom de Vries <tdevries@suse.de>
6884
6885 PR record/25038
6886 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6887 * gdb.reverse/sigall-reverse.exp: Same.
6888 * gdb.reverse/solib-precsave.exp: Same.
6889 * gdb.reverse/solib-reverse.exp: Same.
6890 * gdb.reverse/step-precsave.exp: Same.
6891 * gdb.reverse/until-precsave.exp: Same.
6892 * gdb.reverse/until-reverse.exp: Same.
6893 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6894
6895 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6896
6897 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6898 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6899 (cmp_struct_05_01, cmp_struct_static_02_01)
6900 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6901 comparisons.
6902
6903 2019-10-10 Tom de Vries <tdevries@suse.de>
6904
6905 PR testsuite/24888
6906 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6907 gnatlink.
6908
6909 2019-10-09 Tom de Vries <tdevries@suse.de>
6910
6911 PR testsuite/25048
6912 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6913
6914 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6915
6916 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6917 exceptions due to missing debug information.
6918
6919 2019-10-07 Tom de Vries <tdevries@suse.de>
6920
6921 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6922
6923 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6924
6925 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6926 * gdb.base/annota1.exp: Update to use gdb_test_name.
6927
6928 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
6929
6930 * gdb.base/ctf-whatis.exp: New file.
6931 * gdb.base/ctf-whatis.c: New file.
6932 * gdb.base/ctf-ptype.exp: New file.
6933 * gdb.base/ctf-ptype.c: New file.
6934 * gdb.base/ctf-constvars.exp: New file.
6935 * gdb.base/ctf-constvars.c: New file.
6936 * gdb.base/ctf-cvexpr.exp: New file.
6937
6938 2019-10-04 Tom de Vries <tdevries@suse.de>
6939
6940 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6941 for loop.
6942
6943 2019-10-03 Tom Tromey <tom@tromey.com>
6944
6945 PR rust/24976:
6946 * gdb.rust/simple.rs (Union2): New type.
6947 (main): Use Union2.
6948 * gdb.rust/simple.exp: Add test.
6949
6950 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6951
6952 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6953 nested function prefix.
6954
6955 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6956 Richard Bunt <richard.bunt@arm.com>
6957 Andrew Burgess <andrew.burgess@embecosm.com>
6958
6959 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6960 nested functions.
6961 * gdb.fortran/nested-funcs.f90: Update expected results.
6962 * gdb.fortran/nested-funcs-2.exp: New file.
6963 * gdb.fortran/nested-funcs-2.f90: New file.
6964
6965 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6966
6967 * gdb.python/py-parameter.exp: Make test names unique.
6968 * gdb.python/py-template.exp: Likewise.
6969 * gdb.python/py-value.exp: Likewise.
6970
6971 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6972
6973 * gdb.base/break-interp.exp: Reduce test name duplication.
6974 * gdb.base/call-sc.exp: Likewise.
6975 * gdb.base/callfuncs.exp: Likewise.
6976 * gdb.base/charset.exp: Likewise.
6977 * gdb.base/dump.exp: Likewise.
6978 * gdb.base/ena-dis-br.exp: Likewise.
6979 * gdb.base/relational.exp: Likewise.
6980 * gdb.base/step-over-syscall.exp: Likewise.
6981 * gdb.base/structs.exp: Likewise.
6982
6983 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6984
6985 * gdb.linespec/explicit.exp: Make test names unique.
6986 * gdb.linespec/ls-errs.exp: Likewise.
6987
6988 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6989
6990 * gdb.reverse/break-precsave.exp: Make test names unique.
6991 * gdb.reverse/break-reverse.exp: Likewise.
6992 * gdb.reverse/finish-precsave.exp: Likewise.
6993 * gdb.reverse/finish-reverse.exp: Likewise.
6994 * gdb.reverse/machinestate-precsave.exp: Likewise.
6995 * gdb.reverse/machinestate.exp: Likewise.
6996 * gdb.reverse/readv-reverse.exp: Likewise.
6997 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6998 * gdb.reverse/sigall-precsave.exp: Likewise.
6999 * gdb.reverse/sigall-reverse.exp: Likewise.
7000 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7001 * gdb.reverse/watch-precsave.exp: Likewise.
7002 * gdb.reverse/watch-reverse.exp: Likewise.
7003
7004 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7005
7006 * gdb.threads/stop-with-handle.c: New file.
7007 * gdb.threads/stop-with-handle.exp: New file.
7008
7009 2019-10-03 Tom de Vries <tdevries@suse.de>
7010
7011 PR testsuite/25059
7012 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7013 directory" line to be missing.
7014
7015 2019-10-03 Tom de Vries <tdevries@suse.de>
7016
7017 PR testsuite/25059
7018 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7019 type optional.
7020
7021 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7022
7023 * gdb.python/py-format-string.c (string.h): New include.
7024 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7025 the same value, for endianness-independence.
7026 * gdb.python/py-format-string.exp (default_regexp_dict)
7027 (test_pretty_structs, test_format): Adjust expected output to the
7028 changed initialization.
7029
7030 2019-10-02 Tom Tromey <tromey@adacore.com>
7031
7032 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7033
7034 2019-10-02 Pedro Alves <palves@redhat.com>
7035 Andrew Burgess <andrew.burgess@embecosm.com>
7036
7037 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7038 "print-file-var.h".
7039 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7040 (get_version_1): Print this_version_id and its address.
7041 Add extern "C" wrappers around interface functions.
7042 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7043 "print-file-var.h".
7044 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7045 (get_version_2): Print this_version_id and its address.
7046 Add extern "C" wrappers around interface functions.
7047 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7048 <stddef.h> and "print-file-var.h".
7049 Add extern "C" wrappers around interface functions.
7050 [VERSION_ID_MAIN] (this_version_id): Define.
7051 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7052 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7053 up extern "C" blocks.
7054 * gdb.base/print-file-var.exp (test): New, factored out from top
7055 level.
7056 (top level): Test all combinations of attribute hidden or not,
7057 dlopen or not, and this_version_id symbol in main file or not.
7058 Compile tests as both C++ and C, make test names unique.
7059
7060 2019-10-01 Tom Tromey <tom@tromey.com>
7061
7062 * gdb.base/style.exp: Test "show logging filename".
7063
7064 2019-10-01 Tom Tromey <tom@tromey.com>
7065
7066 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7067 * gdb.base/style.exp: Add metadata style test.
7068
7069 2019-10-01 Tom Tromey <tom@tromey.com>
7070
7071 * gdb.base/style.exp: Test "pwd".
7072
7073 2019-10-01 Tom Tromey <tom@tromey.com>
7074
7075 * gdb.base/style.exp: Update tests.
7076
7077 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7078
7079 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7080 'six' to unsigned.
7081 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7082 'five'. Use an all-ones bit pattern for each.
7083 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7084 to its changed values.
7085
7086 2019-09-30 Tom Tromey <tromey@adacore.com>
7087
7088 * gdb.rust/traits.rs: Disable all warnings.
7089
7090 2019-09-29 Tom de Vries <tdevries@suse.de>
7091
7092 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
7093
7094 2019-09-29 Tom de Vries <tdevries@suse.de>
7095
7096 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7097
7098 2019-09-27 Tom de Vries <tdevries@suse.de>
7099
7100 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7101
7102 2019-09-27 Tom de Vries <tdevries@suse.de>
7103
7104 PR record/23188
7105 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7106
7107 2019-09-26 Tom Tromey <tromey@adacore.com>
7108
7109 * gdb.ada/py_taft.exp: New file.
7110 * gdb.ada/py_taft/main.adb: New file.
7111 * gdb.ada/py_taft/pkg.adb: New file.
7112 * gdb.ada/py_taft/pkg.ads: New file.
7113
7114 2019-09-24 Tom de Vries <tdevries@suse.de>
7115
7116 PR gdb/24598
7117 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7118
7119 2019-09-22 Tom de Vries <tdevries@suse.de>
7120
7121 * gdb.base/restore.exp: Allow register variables to be optimized out at
7122 -O0.
7123
7124 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7125
7126 * gdb.arch/spu-info.exp: Remove file.
7127 * gdb.arch/spu-info.c: Remove file.
7128 * gdb.arch/spu-ls.exp: Remove file.
7129 * gdb.arch/spu-ls.c: Remove file.
7130
7131 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7132 * gdb.asm/spu.inc: Remove file.
7133
7134 * gdb.base/dump.exp: Remove support for spu*-*-*.
7135 * gdb.base/stack-checking.exp: Likewise.
7136 * gdb.base/overlays.exp: Likewise.
7137 * gdb.base/ovlymgr.c: Likewise.
7138 * gdb.base/spu.ld: Remove file.
7139
7140 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7141 * gdb.cp/cpexprs.exp: Likewise.
7142 * gdb.cp/exception.exp: Likewise.
7143 * gdb.cp/gdb2495.exp: Likewise.
7144 * gdb.cp/mb-templates.exp: Likewise.
7145 * gdb.cp/pr9167.exp: Likewise.
7146 * gdb.cp/userdef.exp: Likewise.
7147
7148 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7149
7150 * gdb.cell: Remove directory.
7151 * lib/cell.exp: Remove file.
7152
7153 2019-09-19 Tom de Vries <tdevries@suse.de>
7154
7155 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7156
7157 2019-09-19 Tom de Vries <tdevries@suse.de>
7158
7159 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7160
7161 2019-09-19 Tom de Vries <tdevries@suse.de>
7162
7163 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7164 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7165 (gdb_target_cmd): ... here.
7166 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7167 value 2.
7168
7169 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7170
7171 * gdb.base/source-dir.exp: Avoid having directory names in test
7172 names.
7173
7174 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7175
7176 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7177 directory.
7178
7179 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7180
7181 * gdb.base/list-missing-source.exp: New file.
7182
7183 2019-09-14 Tom de Vries <tdevries@suse.de>
7184
7185 PR teststuite/24599
7186 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7187 * lib/ada.exp (gnatmake_version_at_least): New proc.
7188
7189 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7190
7191 * gdb.base/maint.exp: Use exec_has_index_section.
7192
7193 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7194
7195 * gdb.base/maint.exp: Add test for 'maint info sections'.
7196
7197 2019-09-12 Tom de Vries <tdevries@suse.de>
7198
7199 * gdb.base/store.exp: Allow register variables to be optimized out at
7200 -O0.
7201
7202 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7203
7204 * gdb.ada/rdv_wait.exp: Update to new task names.
7205 * gdb.base/task_switch_in_core.exp: Likewise.
7206 * gdb.base/info_sources_base.c: Likewise.
7207
7208 2019-09-10 Tom Tromey <tromey@adacore.com>
7209
7210 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7211
7212 2019-09-10 Tom Tromey <tromey@adacore.com>
7213
7214 * gdb.ada/dgopt.exp: New file.
7215 * gdb.ada/dgopt/x.adb: New file.
7216
7217 2019-09-08 Tom Tromey <tom@tromey.com>
7218
7219 * gdb.tui/resize.exp: Remove setup_xfail.
7220 * gdb.tui/regs.exp: Remove setup_xfail.
7221 * gdb.tui/basic.exp: Remove setup_xfail.
7222
7223 2019-09-06 David Blaikie <dblaikie@gmail.com>
7224
7225 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7226 * gdb.cp/cplabel.exp: Ditto.
7227 * gdb.linespec/ls-errs.exp: Ditto.
7228
7229 2019-09-05 Tom de Vries <tdevries@suse.de>
7230
7231 * lib/gdb.exp (cmp_file_string): New proc.
7232 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7233 runto_main. Verify save breakpoints output.
7234
7235 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7236
7237 * gdb.base/info-var.exp: Test info variables without running
7238 to main, to avoid expect's buffer overflow.
7239
7240 2019-09-03 Tom Tromey <tromey@adacore.com>
7241
7242 * gdb.ada/bias.exp: New file.
7243 * gdb.ada/bias/bias.adb: New file.
7244 * gdb.ada/print_chars.exp: Add regression test.
7245 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7246 (MC): New variable.
7247
7248 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7249
7250 * gdb.base/argv0-symlink.exp: Run only on native target
7251 and local host.
7252
7253 2019-08-29 Tom de Vries <tdevries@suse.de>
7254
7255 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7256 diverse debug info.
7257 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7258
7259 2019-08-28 Tom de Vries <tdevries@suse.de>
7260
7261 * gdb.base/info-var.exp: Allow info variables to print info for files
7262 other than info-var-f1.c and info-var-f2.c.
7263
7264 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7265
7266 * gdb.fortran/info-types.exp: Add module.
7267 * gdb.fortran/info-types.f90: Update expected results.
7268
7269 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7270
7271 * gdb.fortran/info-types.exp: New file.
7272 * gdb.fortran/info-types.f90: New file.
7273 * lib/fortran.exp (fortran_character1): New proc.
7274
7275 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7276
7277 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7278 functions'. Reindent as needed.
7279 * gdb.base/info-var-f1.c: New file.
7280 * gdb.base/info-var-f2.c: New file.
7281 * gdb.base/info-var.exp: New file.
7282 * gdb.base/info-var.h: New file.
7283
7284 2019-08-26 Tom de Vries <tdevries@suse.de>
7285
7286 PR c++/24852
7287 * gdb.cp/no-libstdcxx-probe.exp: New test.
7288
7289 2019-08-26 Tom de Vries <tdevries@suse.de>
7290
7291 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7292 * tests need to be skipped.
7293 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7294 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7295 mi_skip_libstdcxx_probe_tests.
7296
7297 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7298
7299 * gdb.python/py-xmethods.exp: Use raw strings when passing
7300 arguments to SimpleXMethodMatcher.
7301
7302 2019-08-22 Tom de Vries <tdevries@suse.de>
7303
7304 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7305 more informative.
7306
7307 2019-08-21 Pedro Alves <palves@redhat.com>
7308
7309 * gdb.base/with.exp: Test "with" with no arguments.
7310
7311 2019-08-21 Tom de Vries <tdevries@suse.de>
7312
7313 * gdb.base/gdb-caching-proc.exp: Sort files.
7314
7315 2019-08-20 Tom de Vries <tdevries@suse.de>
7316
7317 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7318 compilation.
7319
7320 2019-08-16 Tom de Vries <tdevries@suse.de>
7321
7322 * gdb.base/compare-sections.exp ("after run to main"): Allow
7323 mismatched read-only sections for PIE executables.
7324
7325 2019-08-16 Tom Tromey <tom@tromey.com>
7326
7327 * lib/tuiterm.exp (_csi_Z): New proc.
7328 * gdb.tui/basic.exp: Update window positions.
7329 * gdb.tui/empty.exp: Update window positions.
7330
7331 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7332
7333 * gdb.base/examine-backward.exp: Correct regexp for
7334 "examine 3 bytes backward from ${address_zero}".
7335
7336 2019-08-15 Tom Tromey <tom@tromey.com>
7337
7338 * gdb.tui/empty.exp: Enable resizing tests.
7339
7340 2019-08-15 Tom Tromey <tromey@adacore.com>
7341
7342 * gdb.ada/char_enum.exp: Add regression tests.
7343 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7344 and '0'.
7345 (Char, Gchar): Update.
7346 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7347
7348 2019-08-15 Christian Biesinger <cbiesinger@google.com>
7349
7350 * gdb.python/python.exp: Expect a leading underscore on
7351 GdbOutput{,Error}File.
7352
7353 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7354
7355 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7356 Windows host.
7357
7358 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7359
7360 * gdb.base/batch-preserve-term-settings.exp
7361 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7362
7363 2019-08-15 Christian Biesinger <cbiesinger@google.com>
7364
7365 * lib/gdb.exp: When running on a mingw target, replace
7366 /x/ with x:/.
7367
7368 2019-08-14 Alan Hayward <alan.hayward@arm.com>
7369
7370 * gdb.arch/aarch64-prologue.c: New test.
7371 * gdb.arch/aarch64-prologue.exp: New file.
7372
7373 2019-08-13 Tom de Vries <tdevries@suse.de>
7374
7375 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7376 Thread.
7377
7378 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7379
7380 * gdb.python/py-completion.exp: Download the .py file to the host
7381 and use its host pathname. Conditionalize tests that use
7382 tab completion and manipulate files on the build machine.
7383 * gdb.python/py-events.exp: Download the .py file to the host
7384 and use its host pathname.
7385 * gdb.python/py-evsignal.exp: Likewise.
7386 * gdb.python/py-evthreads.exp: Likewise.
7387 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7388 pathname syntax.
7389 * gdb.python/py-framefilter.exp: Download the .py file to the right
7390 place on the host. Match Windows pathname syntax.
7391 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7392 .py file to the host and use its host pathname.
7393 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7394 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7395 build pathname. Skip symlink test on Windows host. Add missing
7396 newline at end of file.
7397 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7398 and use its host pathname.
7399 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7400 * gdb.python/py-section-script.exp: Use host location of binfile
7401 on safe-path. Use correct path separator on Windows host.
7402 Reorder alternatives in gdb_test_multiple to prevent matching
7403 the wrong alternative on success.
7404 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7405
7406 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7407
7408 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7409 expect the GDB inferior to no longer immediately stop after
7410 being resumed with "signal SIGINT".
7411
7412 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7413
7414 * gdb.linespec/break-ask.exp: Generalize regexps to match
7415 Windows pathnames too.
7416
7417 2019-08-08 Tom de Vries <tdevries@suse.de>
7418
7419 PR testsuite/24862
7420 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7421
7422 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7423
7424 * gdb.base/style.exp: Update tests for help doc new invariants.
7425 * gdb.base/help.exp: Likewise.
7426
7427 2019-08-06 Tom Tromey <tom@tromey.com>
7428
7429 * gdb.base/style.exp: Add disassemble test.
7430 * gdb.base/style.c (some_called_function): New function.
7431 (main): Use it.
7432
7433 2019-08-05 Christian Biesinger <cbiesinger@google.com>
7434
7435 * gdb.python/py-block.exp: Test dictionary access on blocks.
7436
7437 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
7438
7439 PR gdb/24863
7440 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7441 -list-thread-groups --available test when running under
7442 check-read1.
7443
7444 2019-08-05 Tom de Vries <tdevries@suse.de>
7445
7446 PR testsuite/24863
7447 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7448 * gdb.base/help.exp: Use with_read1_timeout_factor.
7449 * gdb.base/info-macros.exp: Same.
7450 * gdb.cp/nested-types.exp: Same.
7451
7452 2019-08-05 Tom de Vries <tdevries@suse.de>
7453
7454 * lib/gdb.exp (version_at_least): Factor out of ...
7455 (tcl_version_at_least): ... here.
7456 (gdb_compile): Fail if pie results in non-PIE executable.
7457 (readelf_version, readelf_prints_pie): New proc.
7458 (exec_is_pie): Return -1 if unknown.
7459
7460 2019-08-05 Tom de Vries <tdevries@suse.de>
7461
7462 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7463
7464 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7465
7466 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7467
7468 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7469
7470 * lib/completion-support.exp (test_gdb_complete_none): Skip
7471 tab completion tests if no readline support.
7472 (test_gdb_complete_unique_re): Likewise.
7473 (test_gdb_complete_multiple): Likewise.
7474
7475 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7476
7477 * gdb.base/info_sources.exp: New file.
7478 * gdb.base/info_sources.c: New file.
7479 * gdb.base/info_sources_base.c: New file.
7480
7481 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7482
7483 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7484 prefix argument.
7485 (test_exit_status): Add prefix argument.
7486
7487 2019-08-01 Tom de Vries <tdevries@suse.de>
7488
7489 PR testsuite/24863
7490 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7491 calling exp_continue for new thread and thread exited messages.
7492
7493 2019-08-01 Tom de Vries <tdevries@suse.de>
7494
7495 PR testsuite/24863
7496 * gdb.base/structs.exp: Fix check-read1 timeout using
7497 gdb_test_sequence.
7498 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7499
7500 2019-08-01 Tom de Vries <tdevries@suse.de>
7501
7502 PR testsuite/24863
7503 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7504 line.
7505
7506 2019-08-01 Tom de Vries <tdevries@suse.de>
7507
7508 PR testsuite/24863
7509 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7510
7511 2019-07-30 Tom Tromey <tromey@adacore.com>
7512
7513 * gdb.ada/display_nested.exp: New file.
7514 * gdb.ada/display_nested/foo.adb: New file.
7515 * gdb.ada/display_nested/pack.adb: New file.
7516 * gdb.ada/display_nested/pack.ads: New file.
7517
7518 2019-07-30 Christian Biesinger <cbiesinger@google.com>
7519
7520 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7521 namespace.
7522 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7523
7524 2019-07-30 Tom de Vries <tdevries@suse.de>
7525
7526 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7527 instead.
7528
7529 2019-07-30 Tom de Vries <tdevries@suse.de>
7530
7531 PR testsuite/24834
7532 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7533 (exec_is_pie): New proc.
7534
7535 2019-07-29 Christian Biesinger <cbiesinger@google.com>
7536
7537 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7538
7539 2019-07-29 Christian Biesinger <cbiesinger@google.com>
7540
7541 * gdb.python/py-objfile.c: Add global and static vars.
7542 * gdb.python/py-objfile.exp: Test new functions Objfile.
7543 lookup_global_symbol and lookup_static_symbol.
7544
7545 2019-07-29 Tom Tromey <tom@tromey.com>
7546
7547 * lib/tuiterm.exp (Term::_csi_@): New proc.
7548 (Term::_csi_X): Don't move cursor.
7549
7550 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7551
7552 * gdb.base/options.exp: Update backtrace - completion to
7553 new option -frame-info.
7554 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7555 Test new 'set print frame-info'. Test backtrace -frame-info
7556 overriding 'set print frame-info'.
7557 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7558 Test new 'set print frame-info'.
7559 Verify consistency of backtrace with and without filters, with and
7560 without -no-filters.
7561 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7562 default.
7563
7564 2019-07-29 Tom de Vries <tdevries@suse.de>
7565
7566 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7567 no arguments".
7568
7569 2019-07-29 Tom de Vries <tdevries@suse.de>
7570
7571 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7572 is a substring of the first for "complete non-unique file name".
7573
7574 2019-07-29 Tom de Vries <tdevries@suse.de>
7575
7576 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7577 with ".*".
7578
7579 2019-07-29 Tom de Vries <tdevries@suse.de>
7580
7581 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7582 Pass prompt_regexp parameter to gdb_test_multiple calls.
7583
7584 2019-07-29 Tom de Vries <tdevries@suse.de>
7585
7586 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
7587 print registers" regexps.
7588
7589 2019-07-29 Tom de Vries <tdevries@suse.de>
7590
7591 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7592
7593 2019-07-29 Tom de Vries <tdevries@suse.de>
7594
7595 PR gdb/24855
7596 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7597 (skip_python_tests_prompt): Add prompt_regexp argument to
7598 gdb_test_multiple calls.
7599
7600 2019-07-27 Tom Tromey <tom@tromey.com>
7601
7602 * gdb.tui/main.exp: New file.
7603
7604 2019-07-27 Tom Tromey <tom@tromey.com>
7605
7606 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7607 optional.
7608 * gdb.tui/empty.exp: New file.
7609
7610 2019-07-27 Tom Tromey <tom@tromey.com>
7611
7612 * lib/tuiterm.exp (spawn): New proc.
7613 (Term::resize): New proc.
7614 * gdb.tui/resize.exp: New file.
7615
7616 2019-07-27 Tom Tromey <tom@tromey.com>
7617
7618 * gdb.tui/list.exp: New file.
7619
7620 2019-07-27 Tom Tromey <tom@tromey.com>
7621
7622 * gdb.tui/regs.exp: New file.
7623
7624 2019-07-27 Tom Tromey <tom@tromey.com>
7625
7626 * gdb.tui/basic.exp: Add "layout split" test.
7627
7628 2019-07-27 Tom Tromey <tom@tromey.com>
7629
7630 * gdb.tui/basic.exp: Add "layout asm" test.
7631
7632 2019-07-27 Tom Tromey <tom@tromey.com>
7633
7634 * lib/tuiterm.exp: New file.
7635 * gdb.tui/basic.exp: New file.
7636
7637 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7638
7639 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7640 Enable tests associated with this flag. Adjust regex
7641 referencing "foo_low" to now refer to "foo_cold" instead.
7642
7643 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7644
7645 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7646 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7647 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7648 foo_cold. Revise comments to match.
7649 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7650 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7651 were wrapped into this proc; Call do_test in loop from outermost
7652 level.
7653 (foo_low): Rename all occurrences to "foo_cold".
7654 (backtrace from baz): New test.
7655 (x2/i foo_cold): New test.
7656 (info line *foo_cold): New test.
7657
7658 2019-07-26 Tom de Vries <tdevries@suse.de>
7659
7660 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7661
7662 2019-07-25 Tom de Vries <tdevries@suse.de>
7663
7664 PR testsuite/24830
7665 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7666 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7667 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7668 (skip_libstdcxx_probe_tests): ... here.
7669 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7670
7671 2019-07-24 Tom de Vries <tdevries@suse.de>
7672
7673 PR testsuite/24807
7674 * gdb.objc/basicclass.m: Include stdio.h.
7675 * gdb.objc/nondebug.m: Same.
7676 * gdb.objc/objcdecode.m: Same.
7677
7678 2019-07-24 Tom de Vries <tdevries@suse.de>
7679
7680 PR testsuite/24612
7681 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7682 additional_flags.
7683
7684 2019-07-24 Tom de Vries <tdevries@suse.de>
7685
7686 PR testsuite/24831
7687 * gdb.multi/tids.exp: Update error messages for info threads.
7688
7689 2019-07-24 Tom de Vries <tdevries@suse.de>
7690
7691 * gdb.base/info-types.exp: Allow info types to print info for more than
7692 one file.
7693
7694 2019-07-23 Tom de Vries <tdevries@suse.de>
7695
7696 PR testsuite/24842
7697 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7698 gdb_spawn_with_cmdline_opts.
7699
7700 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7701
7702 * gdb.arch/arm-cmse-sgstubs.c: New test.
7703 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7704
7705 2019-07-23 Tom de Vries <tdevries@suse.de>
7706
7707 PR testsuite/24711
7708 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7709 issuing next command.
7710
7711 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7712
7713 * gdb.ada/info_auto_lang.exp: Update expected results.
7714 * gdb.base/info-types.c: Add additional types to check.
7715 * gdb.base/info-types.exp: Update expected results.
7716
7717 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7718
7719 * gdb.base/info-types.c: New file.
7720 * gdb.base/info-types.exp: New file.
7721
7722 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7723
7724 * gdb.arch/riscv-bp-infcall.c: New file.
7725 * gdb.arch/riscv-bp-infcall.exp: New file.
7726
7727 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7728
7729 PR breakpoints/24541
7730 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7731
7732 2019-07-14 Tom de Vries <tdevries@suse.de>
7733
7734 PR testsuite/24760
7735 * gdb.objc/basicclass.exp: Fix unterminated string.
7736
7737 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7738 Andrew Burgess <andrew.burgess@embecosm.com>
7739
7740 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7741 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7742 negative bounds.
7743 * gdb.fortran/vla-value.exp: Print elements of an array with
7744 negative bounds.
7745 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7746 testing.
7747
7748 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7749
7750 * gdb.base/options.exp (expect_string): Dequote strings in
7751 results.
7752 (test-string): Test strings with different quoting and reindent.
7753
7754 2019-07-10 Tom Tromey <tromey@adacore.com>
7755
7756 * gdb.ada/mi_ex_cond.exp: Update expected results.
7757 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7758 * gdb.ada/mi_catch_ex.exp: Update expected results.
7759 * gdb.ada/mi_catch_assert.exp: Update expected results.
7760 * gdb.ada/catch_ex.exp (catch_exception_info)
7761 (catch_exception_entry, catch_assert_entry)
7762 (catch_unhandled_entry): Update.
7763 * gdb.ada/catch_assert_if.exp: Update expected results.
7764
7765 2019-07-10 Richard Bunt <richard.bunt@arm.com>
7766 Stephen Roberts <stephen.roberts@arm.com>
7767
7768 * gdb.base/define.exp: Restore original prompt.
7769
7770 2019-07-09 Pedro Alves <palves@redhat.com>
7771
7772 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7773 breakpoints" output.
7774 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7775 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7776 throw" creates breakpoint.
7777 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7778 'type="catchpoint"'.
7779
7780 2019-07-09 Pedro Alves <palves@redhat.com>
7781
7782 PR c++/15468
7783 * gdb.cp/except-multi-location-lib.cc: New.
7784 * gdb.cp/except-multi-location-main.cc: New.
7785 * gdb.cp/except-multi-location.exp: New.
7786
7787 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7788
7789 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7790 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7791 argument and update callers.
7792
7793 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7794
7795 * gdb.arch/amd64-break-on-asm-line.S: New file.
7796 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7797
7798 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7799
7800 * gdb.base/printcmds.exp: Test printing C string and
7801 C wide string convenience vars without transiting via the inferior.
7802 Also make test names unique.
7803
7804 2019-07-08 Alan Hayward <alan.hayward@arm.com>
7805
7806 PR breakpoints/25011
7807 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7808
7809 2019-07-04 Pedro Alves <palves@redhat.com>
7810
7811 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7812 body returned ok(0), break(3) or continue(4).
7813 * gdb.testsuite/foreach_with_prefix.exp: New file.
7814
7815 2019-07-04 Alan Hayward <alan.hayward@arm.com>
7816
7817 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7818
7819 2019-07-03 Pedro Alves <palves@redhat.com>
7820
7821 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7822 "return -code".
7823
7824 2019-07-03 Pedro Alves <palves@redhat.com>
7825
7826 PR cli/24732
7827 * gdb.base/shell.exp: Load completion-support.exp.
7828 Adjust expected error output. Add completion tests.
7829
7830 2019-07-03 Pedro Alves <palves@redhat.com>
7831
7832 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7833 string_to_regexp.
7834
7835 2019-07-03 Pedro Alves <palves@redhat.com>
7836
7837 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7838 (expect_integer): Adjust to expect "-string".
7839 (expect_string): New.
7840 (all_options): Expect "-string".
7841 (test-flag, test-boolean): Adjust to expect "-string".
7842 (test-string): New proc.
7843 (top level): Call it.
7844
7845 2019-07-03 Pedro Alves <palves@redhat.com>
7846
7847 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7848 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7849 the expected output in the success.
7850
7851 2019-07-03 Pedro Alves <palves@redhat.com>
7852
7853 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7854 Split one gdb_test_multiple call in two to avoid a race.
7855
7856 2019-07-03 Pedro Alves <palves@redhat.com>
7857
7858 * gdb.base/with.c: New file.
7859 * gdb.base/with.exp: New file.
7860
7861 2019-07-03 Pedro Alves <palves@redhat.com>
7862
7863 * gdb.base/settings.exp: Replace all references to "maint
7864 test-settings set" with references to "maint set test-settings",
7865 and all references to "maint test-settings show" with references
7866 to "maint show test-settings".
7867
7868 2019-07-03 Pedro Alves <palves@redhat.com>
7869
7870 * gdb.base/settings.exp (test-string): Adjust expected out when
7871 testing "maint test-settings show filename"
7872
7873 2019-07-02 Pedro Alves <palves@redhat.com>
7874
7875 * gdb.base/options.exp (test-info-threads): New procedure.
7876 (top level): Call it.
7877
7878 2019-06-28 Tom Tromey <tromey@adacore.com>
7879
7880 * gdb.dwarf2/ada-linkage-name.c: New file.
7881 * gdb.dwarf2/ada-linkage-name.exp: New file.
7882
7883 2019-06-27 Tom Tromey <tromey@adacore.com>
7884
7885 PR c++/20020:
7886 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7887
7888 2019-06-26 Tom de Vries <tdevries@suse.de>
7889
7890 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7891
7892 2019-06-26 Tom de Vries <tdevries@suse.de>
7893
7894 * gdb.base/index-cache.exp: Add back missing debug option.
7895
7896 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7897
7898 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7899
7900 2019-06-25 Tom de Vries <tdevries@suse.de>
7901
7902 PR testsuite/24727
7903 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7904
7905 2019-06-24 Tom de Vries <tdevries@suse.de>
7906
7907 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7908
7909 2019-06-24 Tom de Vries <tdevries@suse.de>
7910
7911 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7912 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7913 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7914
7915 2019-06-24 Tom de Vries <tdevries@suse.de>
7916
7917 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7918
7919 2019-06-21 Tom de Vries <tdevries@suse.de>
7920
7921 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7922
7923 2019-06-21 Tom de Vries <tdevries@suse.de>
7924
7925 PR testsuite/24518
7926 PR ada/24713
7927 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7928 index.
7929
7930 2019-06-19 Tom Tromey <tromey@adacore.com>
7931
7932 * gdb.ada/length_cond.exp: Add intro comment.
7933
7934 2019-06-19 Tom Tromey <tromey@adacore.com>
7935
7936 * gdb.ada/length_cond.exp: New file.
7937 * gdb.ada/length_cond/length_cond.adb: New file.
7938 * gdb.ada/length_cond/pck.adb: New file.
7939 * gdb.ada/length_cond/pck.ads: New file.
7940
7941 2019-06-18 Tom de Vries <tdevries@suse.de>
7942
7943 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7944
7945 2019-06-18 Tom Tromey <tromey@adacore.com>
7946
7947 * gdb.base/list0.h: Add comment explaining control character.
7948
7949 2019-06-18 Tom de Vries <tdevries@suse.de>
7950
7951 * boards/fission.exp: Break up long debug_flags line.
7952
7953 2019-06-16 Tom de Vries <tdevries@suse.de>
7954
7955 PR gdb/24445
7956 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7957 generated index.
7958
7959 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7960
7961 PR gdb/24686
7962 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7963 improve detection of bug gdb/24541.
7964
7965 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7966
7967 PR gdb/24669
7968 * gdb.base/index-cache.exp (uses_readnow,
7969 expecting_index_cache_use): Define global variable.
7970 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7971 expecting_index_cache_use.
7972
7973 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7974 Andrew Burgess <andrew.burgess@embecosm.com>
7975
7976 * gdb.fortran/pointers.f90: New file.
7977 * gdb.fortran/print_type.exp: New file.
7978 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7979 * gdb.fortran/vla-type.exp: Likewise.
7980 * gdb.fortran/vla-value.exp: Likewise.
7981 * gdb.mi/mi-vla-fortran.exp: Likewise.
7982
7983 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7984
7985 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7986 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7987 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7988 as a stop reason.
7989
7990 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7991
7992 * gdb.base/annota1.exp: Update expected results.
7993 * gdb.cp/annota2.exp: Likewise.
7994 * gdb.cp/annota3.exp: Likewise.
7995
7996 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7997
7998 * gdb.base/style-logging.exp: Remove path from test name.
7999
8000 2019-06-14 Tom Tromey <tromey@adacore.com>
8001
8002 PR gdb/24502:
8003 * gdb.base/style-logging.exp: New file.
8004
8005 2019-06-14 Tom Tromey <tromey@adacore.com>
8006
8007 * gdb.base/symfile-warn.exp: New file.
8008 * gdb.base/symfile-warn.c: New file.
8009
8010 2019-06-14 Tom Tromey <tromey@adacore.com>
8011
8012 * gdb.base/annotate-symlink.exp: New file.
8013
8014 2019-06-14 Tom Tromey <tromey@adacore.com>
8015
8016 * gdb.ada/set_wstr.exp: Add reassignment test.
8017
8018 2019-06-14 Tom Tromey <tromey@adacore.com>
8019
8020 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8021 'unchecked_access and 'unrestricted_access as well.
8022
8023 2019-06-14 Tom Tromey <tromey@adacore.com>
8024
8025 PR ada/24539:
8026 * gdb.ada/vla.exp: Update tests.
8027 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8028 pragma.
8029
8030 2019-06-13 Pedro Alves <palves@redhat.com>
8031
8032 * gdb.base/settings.exp (test-integer): Test junk after
8033 "unlimited".
8034
8035 2019-06-13 Pedro Alves <palves@redhat.com>
8036
8037 * gdb.base/options.exp (test-thread-apply): New.
8038 (top level): Call it.
8039
8040 2019-06-13 Pedro Alves <palves@redhat.com>
8041
8042 * gdb.base/options.exp (test-frame-apply): New.
8043 (top level): Test print commands with different "frame apply"
8044 prefixes.
8045
8046 2019-06-13 Pedro Alves <palves@redhat.com>
8047
8048 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
8049 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8050 'max_completions' parameter and handle it.
8051 (test_gdb_completion_offers_commands): New.
8052
8053 2019-06-13 Pedro Alves <palves@redhat.com>
8054
8055 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8056
8057 2019-06-13 Pedro Alves <palves@redhat.com>
8058
8059 * gdb.base/options.exp (test-backtrace): New.
8060 (top level): Call it.
8061
8062 2019-06-13 Pedro Alves <palves@redhat.com>
8063
8064 * gdb.guile/scm-frame-args.exp: Use "set print
8065 raw-frame-arguments" instead of "set print raw frame-arguments".
8066 * gdb.python/py-frame-args.exp: Likewise.
8067
8068 2019-06-13 Pedro Alves <palves@redhat.com>
8069
8070 * gdb.compile/compile.exp: Adjust expected output to option
8071 processing changes.
8072
8073 2019-06-13 Pedro Alves <palves@redhat.com>
8074
8075 * gdb.base/options.exp: Build executable.
8076 (test-print): New procedure.
8077 (top level): Call it, once for "print" and another for "compile
8078 print".
8079
8080 2019-06-13 Pedro Alves <palves@redhat.com>
8081
8082 * gdb.base/options.c: New file.
8083 * gdb.base/options.exp: New file.
8084
8085 2019-06-13 Pedro Alves <palves@redhat.com>
8086
8087 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8088 that "o" is ambiguous.
8089
8090 2019-06-13 Pedro Alves <palves@redhat.com>
8091
8092 * gdb.base/settings.c: New file.
8093 * gdb.base/settings.exp: New file.
8094
8095 2019-06-13 Pedro Alves <palves@redhat.com>
8096
8097 * gdb.base/completion.exp: Fix comment typo.
8098
8099 2019-06-13 Pedro Alves <palves@redhat.com>
8100
8101 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8102 foo --1" test.
8103
8104 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8105
8106 * gdb.fortran/block-data.f: New.
8107 * gdb.fortran/block-data.exp: New.
8108
8109 2019-06-11 Tom de Vries <tdevries@suse.de>
8110
8111 PR testsuite/24521
8112 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8113 message.
8114
8115 2019-06-11 Tom de Vries <tdevries@suse.de>
8116
8117 PR testsuite/24521
8118 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8119
8120 2019-06-11 Tom de Vries <tdevries@suse.de>
8121
8122 * boards/readnow.exp: New file.
8123
8124 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8125
8126 * gdb.fortran/vla-sizeof.exp: Update expected results.
8127
8128 2019-06-06 Amos Bird <amosbird@gmail.com>
8129
8130 * gdb.base/annota1.exp (thread_switch): Add test for
8131 thread-exited annotation.
8132
8133 2019-06-06 Tom Tromey <tromey@adacore.com>
8134
8135 * gdb.base/maint.exp: Expect command started/finished output.
8136
8137 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8138
8139 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8140 comment.
8141 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8142
8143 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8144
8145 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8146 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8147 * gdb.arch/riscv-unwind-long-insn.c: New file.
8148 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8149
8150 2019-06-04 Christian Biesinger <cbiesinger@google.com>
8151
8152 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
8153
8154 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8155
8156 * lib/gdb.exp (help_list_trailer): New regexp variable
8157 factorizing the help trailer message.
8158 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8159 arg to allow to better factorize various tests.
8160 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8161 (test_prefix_command_help): Use help_list_trailer.
8162 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8163 * gdb.guile/scm-cmd.exp: Likewise.
8164 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8165 * gdb.base/help.exp: Use test_user_defined_class_help.
8166 * gdb.base/style.exp: Add tests for styling of help and apropos.
8167 * lib/gdb-utils.exp (style): Add title and highlight styles.
8168
8169 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8170
8171 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8172 $_shell_exitsignal.
8173 * gdb.base/default.exp: Update for new convenience variables.
8174
8175 2019-05-29 Tom Tromey <tromey@adacore.com>
8176
8177 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8178 to "break complete ada" test case's regexp.
8179
8180 2019-05-29 Tom Tromey <tromey@adacore.com>
8181
8182 PR c++/20020:
8183 * gdb.cp/constexpr-field.exp: New file.
8184 * gdb.cp/constexpr-field.cc: New file.
8185
8186 2019-05-29 Tom Tromey <tromey@adacore.com>
8187
8188 * gdb.base/finish.exp (finish_no_print): New proc.
8189 (finish_tests): Call it.
8190
8191 2019-05-24 Tom de Vries <tdevries@suse.de>
8192
8193 * gdb.dwarf2/gdb-add-index.exp: New file.
8194
8195 2019-05-22 Tom Tromey <tromey@adacore.com>
8196
8197 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8198 * gdb.base/style.exp: Use "style".
8199 * lib/gdb-utils.exp (style): New proc.
8200
8201 2019-05-22 Tom de Vries <tdevries@suse.de>
8202
8203 * gdb.base/align.exp: Require c++11.
8204
8205 2019-05-22 Tom de Vries <tdevries@suse.de>
8206
8207 PR testsuite/24586
8208 * gdb.python/py-mi-var-info-path-expression.exp: Call
8209 mi_skip_python_tests to check if python is supported.
8210
8211 2019-05-22 Alan Hayward <alan.hayward@arm.com>
8212
8213 * gdb.arch/aarch64-pauth.c: New test.
8214 * gdb.arch/aarch64-pauth.exp: New file.
8215
8216 2019-05-22 Alan Hayward <alan.hayward@arm.com>
8217
8218 * README (Re-running Tests Outside The Testsuite): New section.
8219
8220 2019-05-21 Tom de Vries <tdevries@suse.de>
8221
8222 * gdb.arch/amd64-eval.exp: Require c++11.
8223 * gdb.base/max-depth.exp: Same.
8224 * gdb.compile/compile-cplus-array-decay.exp: Same.
8225 * gdb.cp/meth-typedefs.exp: Same.
8226 * gdb.cp/subtypes.exp: Same.
8227 * gdb.cp/temargs.exp: Same.
8228
8229 2019-05-21 Alan Hayward <alan.hayward@arm.com>
8230
8231 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8232
8233 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8234
8235 PR gdb/18644
8236 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8237 * gdb.fortran/printing-types.exp: Add new test.
8238 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8239 testing.
8240 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8241 setup_kfail call.
8242
8243 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8244
8245 * README (Running the Testsuite): Change example.
8246 (Testsuite Parameters): Remove TRANSCRIPT.
8247 * lib/gdb.exp: Remove TRANSCRIPT check.
8248
8249 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8250
8251 * README (Testsuite Parameters): Add replay logging to
8252 GDBSERVER_DEBUG.
8253 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8254 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8255 as a comma separated list.
8256 (gdb_debug_init): Override procedure.
8257
8258 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8259
8260 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8261 (gdb_write_cmd_file): New procedure.
8262 * lib/gdbserver-support.exp (gdbserver_start): Call
8263 gdbserver_write_cmd_file.
8264 (gdbserver_write_cmd_file): New procedure.
8265
8266 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8267
8268 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8269 (delete_breakpoints): Likewise.
8270 (gdb_run_cmd): Likewise.
8271 (gdb_start_cmd): Likewise.
8272 (gdb_starti_cmd): Likewise.
8273 (gdb_internal_error_resync): Likewise.
8274 (gdb_test_multiple): Likewise.
8275 (gdb_reinitialize_dir): Likewise.
8276 (default_gdb_exit): Likewise.
8277 (gdb_file_cmd): Mark kill as optional.
8278 (default_gdb_start): Call gdb_stdin_log_init.
8279 (send_gdb): Call gdb_stdin_log_write.
8280 (rerun_to_main): Mark Y as an answer.
8281 (gdb_stdin_log_init): New function.
8282 (gdb_stdin_log_write): Likewise.
8283
8284 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8285
8286 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8287 * gdb.base/debug-expr.exp: Likewise.
8288 * gdb.base/foll-fork.exp: Likewise.
8289 * gdb.base/foll-vfork.exp: Likewise.
8290 * gdb.base/fork-print-inferior-events.exp: Likewise.
8291 * gdb.base/gdb-sigterm.exp: Likewise.
8292 * gdb.base/gdbinit-history.exp: Likewise.
8293 * gdb.base/osabi.exp: Likewise.
8294 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8295 * gdb.base/ui-redirect.exp: Likewise.
8296 * gdb.gdb/unittest.exp: Likewise.
8297 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8298 * gdb.mi/mi-watch.exp: Likewise.
8299 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8300 * gdb.mi/user-selected-context-sync.exp: Likewise.
8301 * gdb.python/python.exp: Disable debug test when debugging.
8302 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8303 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8304 Likewise.
8305 * gdb.threads/stepi-random-signal.exp: Likewise.
8306
8307 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8308
8309 * Makefile.in: Pass through GDB_DEBUG.
8310 * README (Testsuite Parameters): Add GDB_DEBUG.
8311 (gdb,debug): Add board setting.
8312 * lib/gdb.exp (default_gdb_start): Start debugging.
8313 (gdb_debug_enabled): New procedure.
8314 (gdb_debug_init): Likewise.
8315
8316 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8317
8318 * Makefile.in: Pass through GDB_DEBUG.
8319 * README (Testsuite Parameters): Add GDB_DEBUG.
8320 (gdb,debug): Add board setting.
8321 * lib/gdb.exp (default_gdb_start): Start debugging.
8322 (gdb_debug_enabled): New procedure.
8323 (gdb_debug_init): Likewise.
8324
8325 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8326
8327 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8328
8329 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8330
8331 * gdb.base/ui-redirect.exp: Test redirection.
8332
8333 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8334
8335 * gdb.mi/mi-complete.exp: New file.
8336 * gdb.mi/mi-complete.cc: Likewise.
8337
8338 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8339
8340 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8341 indexed and sliced arrays, and pointers to arrays.
8342
8343 2019-05-14 Tom Tromey <tromey@adacore.com>
8344
8345 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8346 styling test.
8347
8348 2019-05-14 Tom de Vries <tdevries@suse.de>
8349
8350 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8351 selection entry encoding.
8352
8353 2019-05-10 Tom Tromey <tromey@adacore.com>
8354
8355 * gdb.ada/info_exc.exp: Add "complete" test.
8356
8357 2019-05-09 Tom de Vries <tdevries@suse.de>
8358
8359 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8360 CU-relative.
8361
8362 2019-05-09 Tom de Vries <tdevries@suse.de>
8363
8364 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8365 CU-relative.
8366
8367 2019-05-08 Joel Brobecker <brobecker@adacore.com>
8368
8369 * gdb.ada/frame_arg_lang.exp: New testcase.
8370 * gdb.ada/frame_arg_lang/bla.adb: New file.
8371 * gdb.ada/frame_arg_lang/pck.ads: New file.
8372 * gdb.ada/frame_arg_lang/pck.adb: New file.
8373 * gdb.ada/frame_arg_lang/foo.c: New file.
8374
8375 2019-05-08 Tom Tromey <tromey@adacore.com>
8376
8377 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8378
8379 2019-05-08 Tom Tromey <tromey@adacore.com>
8380
8381 * gdb.base/ptype-offsets.exp: Update tests.
8382
8383 2019-05-08 Tom Tromey <tromey@adacore.com>
8384
8385 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8386 cases.
8387 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8388 "short".
8389
8390 2019-05-08 Tom Tromey <tromey@adacore.com>
8391
8392 * gdb.ada/vla.exp: New file.
8393 * gdb.ada/vla/vla.adb: New file.
8394
8395 2019-05-07 Tom de Vries <tdevries@suse.de>
8396
8397 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8398
8399 2019-05-07 Tom de Vries <tdevries@suse.de>
8400
8401 PR testsuite/24522
8402 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8403 section.
8404
8405 2019-05-07 Tom de Vries <tdevries@suse.de>
8406
8407 PR testsuite/24522
8408 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8409 .debug_aranges section.
8410
8411 2019-05-07 Tom de Vries <tdevries@suse.de>
8412
8413 PR testsuite/24159
8414 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8415
8416 2019-05-06 Tom de Vries <tdevries@suse.de>
8417
8418 * lib/gdb.exp (exec_has_index_section): New proc.
8419 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8420 section.
8421
8422 2019-05-04 Tom de Vries <tdevries@suse.de>
8423
8424 * boards/cc-with-debug-names.exp: New file.
8425
8426 2019-05-03 Tom Tromey <tromey@adacore.com>
8427
8428 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8429 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8430 * gdb.ada/char_enum.exp: Add test.
8431
8432 2019-05-03 Tom de Vries <tdevries@suse.de>
8433
8434 * boards/cc-with-gdb-index.exp: New file.
8435
8436 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8437
8438 * gdb.rust/simple.exp: Add new test case.
8439 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8440 (main): Initialise an instance of the new struct.
8441
8442 2019-05-01 Tom Tromey <tromey@adacore.com>
8443
8444 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8445 record.
8446 (NPR): New variable.
8447 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8448 test.
8449
8450 2019-05-01 Tom Tromey <tromey@adacore.com>
8451
8452 * gdb.ada/packed_array_assign.exp: Add packed assignment
8453 regression test.
8454
8455 2019-05-01 Tom de Vries <tdevries@suse.de>
8456
8457 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8458
8459 2019-05-01 Tom de Vries <tdevries@suse.de>
8460
8461 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8462
8463 2019-04-30 Ali Tamur <tamur@google.com>
8464
8465 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8466
8467 2019-04-30 Tom Tromey <tromey@adacore.com>
8468
8469 * lib/ada.exp (find_ada_tool): New proc.
8470 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8471 * gdb.ada/catch_ex_std.exp: New file.
8472 * gdb.ada/catch_ex_std/foo.adb: New file.
8473 * gdb.ada/catch_ex_std/some_package.adb: New file.
8474 * gdb.ada/catch_ex_std/some_package.ads: New file.
8475
8476 2019-04-30 Tom Tromey <tromey@adacore.com>
8477
8478 PR c++/24470:
8479 * gdb.cp/temargs.cc: Add test code from PR.
8480
8481 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8482
8483 * gdb.fortran/vla-datatypes.exp: Update expected results.
8484 * gdb.fortran/vla-ptype.exp: Likewise.
8485 * gdb.fortran/vla-type.exp: Likewise.
8486 * gdb.fortran/vla-value.exp: Likewise.
8487
8488 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8489
8490 * gdb.fortran/ptr-indentation.exp: Update expected results.
8491 * gdb.fortran/ptype-on-functions.exp: Likewise.
8492 * gdb.fortran/vla-ptr-info.exp: Likewise.
8493 * gdb.fortran/vla-value.exp: Likewise.
8494
8495 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8496
8497 * gdb.fortran/ptype-on-functions.exp: New file.
8498 * gdb.fortran/ptype-on-functions.f90: New file.
8499
8500 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8501
8502 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8503 case void string.
8504
8505 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8506
8507 * gdb.fortran/complex.exp: Expand.
8508 * gdb.fortran/complex.f: Renamed to...
8509 * gdb.fortran/complex.f90: ...this, and extended to add more
8510 complex values.
8511
8512 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8513
8514 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8515 MODULO, CMPLX.
8516
8517 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8518 Richard Bunt <richard.bunt@arm.com>
8519
8520 * gdb.base/max-depth.c: New file.
8521 * gdb.base/max-depth.exp: New file.
8522 * gdb.python/py-nested-maps.c: New file.
8523 * gdb.python/py-nested-maps.exp: New file.
8524 * gdb.python/py-nested-maps.py: New file.
8525 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8526 (test_all_common): Call test_max_depth.
8527 * gdb.fortran/max-depth.exp: New file.
8528 * gdb.fortran/max-depth.f90: New file.
8529 * gdb.go/max-depth.exp: New file.
8530 * gdb.go/max-depth.go: New file.
8531 * gdb.modula2/max-depth.exp: New file.
8532 * gdb.modula2/max-depth.c: New file.
8533 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8534
8535 2019-04-29 Tom de Vries <tdevries@suse.de>
8536
8537 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8538
8539 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8540
8541 * gdb.base/callexit.exp: Test may-call-functions off.
8542
8543 2019-04-25 Keith Seitz <keiths@redhat.com>
8544
8545 PR c++/24367
8546 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8547 (another_incomplete_struct, test_incomplete): New definitions.
8548 (main): Use new definitions.
8549 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8550 functions.
8551
8552 2019-04-25 Ali Tamur <tamur@google.com>
8553
8554 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8555
8556 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8557
8558 PR corefiles/11608
8559 PR corefiles/18187
8560 * gdb.base/coredump-filter-build-id.exp: New file.
8561
8562 2019-04-25 Alan Hayward <alan.hayward@arm.com>
8563
8564 * Makefile.in: Pass through GDBSERVER_DEBUG.
8565 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8566 (gdbserver,debug): Add board setting.
8567 * gdb.trace/tspeed.exp: Skip when debugging.
8568 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8569 * lib/gdbserver-support.exp: Likewise
8570
8571 2019-04-24 Tom Tromey <tromey@adacore.com>
8572
8573 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8574 Rust.
8575
8576 2019-04-24 Tom Tromey <tromey@adacore.com>
8577
8578 * gdb.arch/amd64-eval.exp: Test bitfield return.
8579 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8580 (class Foo) <return_bitfields>: New method.
8581 (main): Call it.
8582
8583 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8584
8585 * gdb.cp/many-args.cc: New file.
8586 * gdb.cp/many-args.exp: New file.
8587
8588 2019-04-23 Tom de Vries <tdevries@suse.de>
8589
8590 PR gdb/24433
8591 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8592
8593 2019-04-23 Alan Hayward <alan.hayward@arm.com>
8594
8595 * gdb.trace/backtrace.exp: Use nopie flag.
8596 * gdb.trace/circ.exp: Likewise.
8597 * gdb.trace/collection.exp: Likewise.
8598 * gdb.trace/ftrace.exp: Likewise.
8599 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8600 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8601 * gdb.trace/qtro.exp: Likewise.
8602 * gdb.trace/read-memory.exp: Likewise.
8603 * gdb.trace/report.exp: Likewise.
8604 * gdb.trace/tfile.exp: Likewise.
8605 * gdb.trace/tfind.exp: Likewise.
8606 * gdb.trace/unavailable.exp: Likewise.
8607
8608 2019-04-22 Pedro Alves <palves@redhat.com>
8609
8610 * gdb.base/solib-probes-nosharedlibrary.c,
8611 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8612
8613 2019-04-19 Tom Tromey <tromey@adacore.com>
8614
8615 * gdb.ada/ptype_union.c: New file.
8616 * gdb.ada/ptype_union.exp: New file.
8617
8618 2019-04-19 Tom Tromey <tromey@adacore.com>
8619
8620 PR symtab/24423:
8621 * gdb.base/list0.h (foo): Add a control-l character.
8622
8623 2019-04-18 Tom de Vries <tdevries@suse.de>
8624
8625 PR gdb/24433
8626 * boards/local-board.exp: Set sysroot to "".
8627
8628 2019-04-18 Tom de Vries <tdevries@suse.de>
8629 Pedro Alves <palves@redhat.com>
8630
8631 PR gdb/24454
8632 * gdb.threads/vfork-follow-child-exec.c: New file.
8633 * gdb.threads/vfork-follow-child-exec.exp: New file.
8634 * gdb.threads/vfork-follow-child-exit.c: New file.
8635 * gdb.threads/vfork-follow-child-exit.exp: New file.
8636
8637 2019-04-15 Leszek Swirski <leszeks@google.com>
8638
8639 * gdb.arch/amd64-eval.cc: New file.
8640 * gdb.arch/amd64-eval.exp: New file.
8641
8642 2019-04-11 Alan Hayward <alan.hayward@arm.com>
8643
8644 * gdb.server/sysroot.c: New test.
8645 * gdb.server/sysroot.exp: New file.
8646 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8647 matching param.
8648
8649 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8650
8651 * gdb.base/align.exp: Extend test to cover structures containing
8652 only static fields.
8653
8654 2019-04-11 Tom de Vries <tdevries@suse.de>
8655
8656 * boards/cc-with-dwz-m.exp: New file.
8657 * boards/cc-with-dwz.exp: New file.
8658 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8659
8660 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
8661
8662 * gdb.base/start-cpp.exp: New file.
8663 * gdb.base/start-cpp.cc: New file.
8664
8665 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8666
8667 * gdb.python/py-thrhandle.exp: Adjust tests to call
8668 thread_from_handle instead of thread_from_thread_handle.
8669
8670 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8671
8672 * gdb.python/py-thrhandle.exp: Add tests for
8673 gdb.InferiorThread.handle.
8674
8675 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8676
8677 * gdb.python/py-function.exp: Check calling helper function from
8678 all languages.
8679 * lib/gdb.exp (gdb_supported_languages): New proc.
8680
8681 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8682
8683 * gdb.base/complex-parts.c: New file.
8684 * gdb.base/complex-parts.exp: New file.
8685
8686 2019-04-01 Tom Tromey <tromey@adacore.com>
8687
8688 PR symtab/23331:
8689 * gdb.dwarf2/dw2-ranges-main.c: New file.
8690 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8691 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8692
8693 2019-03-30 Simon Marchi <simark@simark.ca>
8694
8695 * gdb.base/default.exp: Add values for $_gdb_major and
8696 $_gdb_minor.
8697
8698 2019-03-29 Tom Tromey <tromey@adacore.com>
8699
8700 * gdb.base/help.exp: Tighten apropos regexp.
8701
8702 2019-03-29 Keith Seitz <keiths@redhat.com>
8703
8704 * gdb.fortran/array-bounds.exp: New file.
8705 * gdb.fortran/array-bounds.f90: New file.
8706
8707 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8708
8709 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8710
8711 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8712
8713 * gdb.multi/hello.c (main): Increase alarm timer.
8714
8715 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8716
8717 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8718 factor when no hardware watchpoint support.
8719
8720 2019-03-28 Alan Hayward <alan.hayward@arm.com>
8721 Pedro Alves <palves@redhat.com>
8722
8723 * boards/local-board.exp: set sysroot to /.
8724
8725 2019-03-27 Alan Hayward <alan.hayward@arm.com>
8726
8727 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8728 in child.
8729
8730 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8731
8732 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8733 field.
8734 (make_container): Initialise new field.
8735 * gdb.python/py-prettyprint.exp: Add new tests.
8736 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8737 <display_hint>: New method.
8738
8739 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8740
8741 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8742 gdb_continue_to_breakpoint more throughout this test.
8743 (run_lang_tests) Supply unique test names, and use
8744 gdb_test_no_output.
8745
8746 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8747
8748 * gdb.base/finish-pretty.exp: Update expected results.
8749 * gdb.base/pretty-print.c: New file.
8750 * gdb.base/pretty-print.exp: New file.
8751
8752 2019-03-25 Pedro Alves <palves@redhat.com>
8753
8754 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8755 move comments outside list. Append '-i "" eof' section.
8756
8757 2019-03-22 Alan Hayward <alan.hayward@arm.com>
8758
8759 PR testsuite/25016
8760 * README: Add pie options.
8761 * gdb.base/break-interp.exp: Ensure pie is disabled.
8762 * gdb.base/dump.exp: Likewise.
8763 * lib/gdb.exp (gdb_compile): Add pie option.
8764
8765 2019-03-19 Tom Tromey <tromey@adacore.com>
8766
8767 * gdb.mi/mi2-cli-display.c: New file.
8768 * gdb.mi/mi2-cli-display.exp: New file.
8769
8770 2019-03-18 Joel Brobecker <brobecker@adacore.com>
8771 Tom Tromey <tromey@adacore.com>
8772
8773 * gdb.ada/ptype_array/pck.adb: New file.
8774 * gdb.ada/ptype_array/pck.ads: New file.
8775 * gdb.ada/ptype_array/foo.adb: New file.
8776 * gdb.ada/ptype_array.exp: New file.
8777
8778 2019-03-14 Tom Tromey <tromey@adacore.com>
8779
8780 * gdb.base/style.exp: Add "set style sources" test.
8781
8782 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8783
8784 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8785 * mi-breakpoint-multiple-locations.exp: ... this.
8786 (make_breakpoints_pattern): New proc.
8787 (do_test): Add mi_version parameter, test -break-insert,
8788 -break-info and =breakpoint-created.
8789
8790 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8791
8792 * config/default.exp: Remove 'load_lib gdb.exp'.
8793 * config/monitor.exp: Likewise.
8794 * config/sid.exp: Likewise.
8795 * config/sim.exp: Likewise.
8796 * config/slite.exp: Likewise.
8797 * config/unix.exp: Likewise.
8798 * gdb.base/default.exp: Remove unhelpful comment.
8799
8800 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8801
8802 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8803
8804 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8805
8806 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8807
8808 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8809
8810 * gdb.fortran/type-kinds.exp: Update expected results.
8811
8812 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8813
8814 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8815
8816 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8817
8818 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8819 function.
8820 (test_basic_parsing_of_type_kinds): Expand types tested.
8821 (test_parsing_invalid_type_kinds): New function.
8822
8823 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8824
8825 * gdb.fortran/intrinsics.exp: New file.
8826 * gdb.fortran/intrinsics.f90: New file.
8827 * gdb.fortran/type-kinds.exp: New file.
8828
8829 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8830
8831 * gdb.fortran/dot-ops.exp: New file.
8832
8833 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8834
8835 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8836 Check upper and lower case logical literals.
8837
8838 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8839
8840 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8841 Remove duplicate tests.
8842
8843 2019-03-06 Alan Hayward <alan.hayward@arm.com>
8844
8845 * lib/gdb.exp (builtin_cd): rename of cd.
8846 (cd): Override builtin.
8847
8848 2019-03-06 Richard Bunt <richard.bunt@arm.com>
8849
8850 * gdb.fortran/function-calls.exp: New file.
8851 * gdb.fortran/function-calls.f90: New test.
8852
8853 2019-03-04 Richard Bunt <richard.bunt@arm.com>
8854
8855 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8856 on user program standard output.
8857 * gdb.fortran/short-circuit-argument-list.f90: Record function
8858 calls.
8859
8860 2019-02-28 Alan Hayward <alan.hayward@arm.com>
8861
8862 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8863 failure.
8864
8865 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8866
8867 PR gdb/8527
8868 * gdb.base/interrupt-daemon-attach.c,
8869 gdb.base/interrupt-daemon-attach.exp: New test.
8870
8871 2019-02-27 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.base/page.exp: Add tests for "set width/height -1".
8874
8875 2019-02-27 Pedro Alves <palves@redhat.com>
8876
8877 * gdb.base/page.exp: Add tests for "set/show width/height" with
8878 "infinite" values.
8879
8880 2019-02-27 Tom Tromey <tromey@adacore.com>
8881
8882 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8883 2.4.
8884 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8885 workaround.
8886
8887 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8888
8889 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8890 tests for structs with static members.
8891
8892 2019-02-26 Tom Tromey <tromey@adacore.com>
8893
8894 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8895 ValueError, not TypeError.
8896
8897 2019-02-26 Kevin Buettner <kevinb@redhat.com>
8898
8899 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8900 call from main program.
8901
8902 2019-02-23 Joel Brobecker <brobecker@adacore.com>
8903
8904 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8905 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8906 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8907 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8908 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8909
8910 2019-02-22 Keith Seitz <keiths@redhat.com>
8911
8912 PR symtab/23853
8913 * gdb.base/symlink-sourcefile.c: New file.
8914 * gdb.base/symlink-sourcefile.exp: New file.
8915
8916 2019-02-20 Tom Tromey <tom@tromey.com>
8917
8918 * gdb.base/info_qt.exp: Update.
8919
8920 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8921
8922 * gdb.base/source.exp: Move "error in sourced script" code to
8923 the end.
8924 * gdb.base/source-error.gdb: Move contents to
8925 source-error-1.gdb. Add new code to source source-error-1.gdb.
8926 * gdb.base/source-error-1.gdb: New file, from previous
8927 source-error.gdb.
8928
8929 2019-02-17 Tom Tromey <tom@tromey.com>
8930
8931 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8932 for macro styling.
8933 * gdb.base/style.c (SOME_MACRO): New macro.
8934
8935 2019-02-17 Tom Tromey <tom@tromey.com>
8936
8937 * gdb.base/style.exp: Add line-wrapping tests.
8938 * gdb.base/page.exp: Add test for quitting during pagination.
8939
8940 2019-02-17 Joel Brobecker <brobecker@adacore.com>
8941
8942 * gdb.ada/big_packed_array: New testcase.
8943 * gdb.ada/homonym.exp: Fix incorrect expected output for
8944 "break <homonym__get_value>" test.
8945
8946 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
8947
8948 PR breakpoints/21870
8949 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8950 and prepare_for_testing. Add comment.
8951 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8952 redundant cleanup call. Clean up comment.
8953
8954 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
8955
8956 PR breakpoints/21870
8957 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8958 * gdb.arch/aarch64-dbreg-contents.c: New file.
8959
8960 2019-02-10 Joel Brobecker <brobecker@adacore.com>
8961
8962 * gdb.ada/mi_ref_changeable: New testcase.
8963
8964 2019-02-07 Alan Hayward <alan.hayward@arm.com>
8965
8966 * gdb.base/attach.exp: Add double attach test.
8967
8968 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8969
8970 * lib/gdb.exp (default_gdb_start): Don't match pagination
8971 prompt.
8972 (gdb_init): Set stty_init.
8973
8974 2019-01-27 Tom Tromey <tom@tromey.com>
8975
8976 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8977 skip_python_tests.
8978
8979 2019-01-24 Alan Hayward <alan.hayward@arm.com>
8980
8981 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8982 New structure.
8983 (struct struct_static_02_02): Likewise.
8984 (struct struct_static_02_03): Likewise.
8985 (struct struct_static_02_04): Likewise.
8986 (struct struct_static_04_01): Likewise.
8987 (struct struct_static_04_02): Likewise.
8988 (struct struct_static_04_03): Likewise.
8989 (struct struct_static_04_04): Likewise.
8990 (struct struct_static_06_01): Likewise.
8991 (struct struct_static_06_02): Likewise.
8992 (struct struct_static_06_03): Likewise.
8993 (struct struct_static_06_04): Likewise.
8994 (cmp_struct_static_02_01): Likewise.
8995 (cmp_struct_static_02_02): Likewise.
8996 (cmp_struct_static_02_03): Likewise.
8997 (cmp_struct_static_02_04): Likewise.
8998 (cmp_struct_static_04_01): Likewise.
8999 (cmp_struct_static_04_02): Likewise.
9000 (cmp_struct_static_04_03): Likewise.
9001 (cmp_struct_static_04_04): Likewise.
9002 (cmp_struct_static_06_01): Likewise.
9003 (cmp_struct_static_06_02): Likewise.
9004 (cmp_struct_static_06_03): Likewise.
9005 (cmp_struct_static_06_04): Likewise.
9006 (call_all): Test new structs.
9007 * gdb.base/infcall-nested-structs.exp: Likewise.
9008
9009 2019-01-21 Alan Hayward <alan.hayward@arm.com>
9010 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9011
9012 2019-01-21 Alan Hayward <alan.hayward@arm.com>
9013 * gdb.base/stack-protector.c: New test.
9014 * gdb.base/stack-protector.exp: New file.
9015 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9016 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9017 option.
9018 (gdb_compile): Remove stack protector for GCC and prevent
9019 recursion.
9020
9021 2019-01-16 Keith Seitz <keiths@redhat.com>
9022
9023 PR gdb/23773
9024 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9025
9026 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9027
9028 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9029 aliases.
9030 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9031 tests.
9032 * gdb.arch/powerpc-vector-regs.c: New file.
9033 * gdb.arch/powerpc-vector-regs.exp: New file.
9034
9035 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9036
9037 * gdb.arch/altivec-regs.exp: Fix the list passed to
9038 gdb_expect_list when testing "info vector".
9039
9040 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9041
9042 * gdb.base/style.exp: Don't include path in testname.
9043
9044 2019-01-10 Keith Seitz <keiths@redhat.com>
9045
9046 PR gdb/23712
9047 PR symtab/23010
9048 * gdb.dwarf2/multidictionary.exp: New file.
9049
9050 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9051
9052 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9053 (test_gnuv3_style_demangling): ... this.
9054 (test_lucid_style_demangling): Remove.
9055 (test_arm_style_demangling): Remove.
9056 (test_hp_style_demangling): Remove.
9057 (do_tests): Remove calls to the above.
9058
9059 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9060
9061 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9062 case.
9063
9064 2019-01-06 Tom Tromey <tom@tromey.com>
9065
9066 PR gdb/28155:
9067 * gdb.dwarf2/typedef-void-finish.exp: New file.
9068
9069 2018-12-28 Tom Tromey <tom@tromey.com>
9070 Simon Marchi <simark@simark.ca>
9071
9072 * gdb.base/jit-exec.exp: New file.
9073 * gdb.base/jit-exec.c: New file.
9074 * gdb.base/jit-execd.c: New file.
9075
9076 2018-12-28 Tom Tromey <tom@tromey.com>
9077
9078 * gdb.base/style.exp: Update test to check for address styling.
9079
9080 2018-12-28 Tom Tromey <tom@tromey.com>
9081
9082 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9083 message.
9084
9085 2018-12-28 Tom Tromey <tom@tromey.com>
9086
9087 * gdb.base/style.exp: Add test for version number styling.
9088
9089 2018-12-28 Tom Tromey <tom@tromey.com>
9090
9091 * gdb.base/style.exp: Add test for print_address_symbolic.
9092
9093 2018-12-28 Tom Tromey <tom@tromey.com>
9094
9095 * gdb.base/style.exp: Add test for breakpoint setting.
9096
9097 2018-12-28 Tom Tromey <tom@tromey.com>
9098
9099 * gdb.base/style.exp: Add test for variable names.
9100
9101 2018-12-28 Tom Tromey <tom@tromey.com>
9102
9103 * gdb.base/style.exp: New file.
9104 * gdb.base/style.c: New file.
9105
9106 2018-12-28 Tom Tromey <tom@tromey.com>
9107
9108 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9109 "dumb".
9110 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9111 the TERM environment variable.
9112
9113 2018-12-27 Tom Tromey <tom@tromey.com>
9114
9115 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9116 pagination test.
9117
9118 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9119
9120 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9121 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9122
9123 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9124
9125 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9126 Filename a.adb changed to bp_fun_addr.adb.
9127 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9128
9129 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9130
9131 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9132 non-PIE executables.
9133 * README: Mention the gdb,nopie_flag board setting.
9134 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9135 non-PIE executable.
9136 * gdb.arch/amd64-entry-value.exp: Likewise.
9137 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9138 * gdb.arch/i386-float.exp: Likewise.
9139 * gdb.arch/i386-signal.exp: Likewise.
9140 * gdb.mi/mi-reg-undefined.exp: Likewise.
9141
9142 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9143
9144 PR gdb/23974
9145 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9146
9147 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9148
9149 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9150 Update order of results accordingly.
9151
9152 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9153
9154 * gdb.base/annota1.exp: Update a test regexp.
9155
9156 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9157
9158 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9159
9160 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9161
9162 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9163 (reuse_time): Initialize to REUSE_TIME_CAP.
9164 (check_rc): New function.
9165 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9166 Check pthread_create rc.
9167 (spawner_thread_func): Check pthread_create and pthread_join rc.
9168
9169 2018-12-08 Pedro Alves <palves@redhat.com>
9170
9171 * gdb.base/list.exp (test_forward_search): Rename to ...
9172 (test_forward_reverse_search): ... this. Also test reverse-search
9173 and the forward-search alias.
9174
9175 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9176
9177 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9178 local timeout variable before return, and remove all local timeout
9179 variable entirely.
9180 (gdb_load): Likewise.
9181
9182 2018-12-01 Tom de Vries <tdevries@suse.de>
9183
9184 * gdb.base/gdb-caching-proc.exp: New file.
9185
9186 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9187
9188 * Makefile.in (TIMESTAMP): New variable.
9189 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9190 command.
9191 (check-single-racy): Likewise.
9192 (check/%.exp): Likewise.
9193 (check-racy/%.exp): Likewise.
9194 (workers/%.worker): Likewise.
9195 (build-perf): Likewise.
9196 (check-perf): Likewise.
9197 * README: Describe new "TS" and "TS_FORMAT" variables.
9198 * print-ts.py: New file.
9199
9200 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9201
9202 PR python/23714
9203 * gdb.python/python.exp: Test command repetition after
9204 gdb.execute.
9205
9206 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9207
9208 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9209 is correctly aligned.
9210
9211 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9212
9213 * gdb.ada/info_auto_lang.exp: New testcase.
9214 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9215 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9216 * gdb.ada/info_auto_lang/some_c.c: New file.
9217
9218 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9219
9220 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9221 FUNC_lang language syntax.
9222
9223 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9224
9225 * gdb.base/info_minsym.c: New file.
9226 * gdb.base/info_minsym.exp: New file.
9227
9228 2018-11-19 Tom Tromey <tom@tromey.com>
9229
9230 PR rust/23625:
9231 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9232 * gdb.rust/expr.exp: Update expected output. Change one test.
9233
9234 2018-11-19 Tom Tromey <tom@tromey.com>
9235
9236 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9237
9238 2018-11-19 Pedro Alves <palves@redhat.com>
9239
9240 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9241 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9242 see the expected warning.
9243
9244 2018-11-16 Alan Hayward <alan.hayward@arm.com>
9245
9246 PR gdb/22736:
9247 * gdb.cp/infcall-nodebug-lib.c: New test.
9248 * gdb.cp/infcall-nodebug-main.c: New test.
9249 * gdb.cp/infcall-nodebug.exp: New file.
9250
9251 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9252
9253 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9254 completer tests.
9255
9256 2018-11-09 Tom de Vries <tdevries@suse.de>
9257
9258 * gdb.base/msym-lang.c: New test.
9259 * gdb.base/msym-lang.exp: New file.
9260 * gdb.base/msym-lang-main.c: New test.
9261
9262 2018-11-08 Tom Tromey <tom@tromey.com>
9263
9264 PR gdb/23555:
9265 PR gdb/23838:
9266 * gdb.base/warning.exp: New file.
9267
9268 2018-11-08 Jan Beulich <jbeulich@suse.com>
9269
9270 * testsuite/gdb.arch/i386-avx512.c,
9271 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9272
9273 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9274
9275 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9276 point hardware.
9277
9278 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9279
9280 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9281 * gdb.dwarf2/missing-type-name.exp: New file.
9282
9283 2018-11-06 Tom de Vries <tdevries@suse.de>
9284
9285 * gdb.base/many-headers.c: New test.
9286 * gdb.base/many-headers.exp: New file.
9287
9288 2018-11-06 Jim Wilson <jimw@sifive.com>
9289
9290 * gdb.base/code_elim.exp: For riscv, set additional_flags
9291 to include -msmall-data-limit=0.
9292
9293 2018-11-01 Joel Brobecker <brobecker@adacore.com>
9294
9295 * gdb.ada/watch_minus_l: New testcase.
9296
9297 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9298
9299 * gdb.arch/aix-sighandle.c: New file.
9300 * gdb.arch/aix-sighandle.exp: New file.
9301
9302 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9303
9304 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9305 registers being unions.
9306
9307 2018-10-31 Tom de Vries <tdevries@suse.de>
9308
9309 * lib/valgrind.exp: New file.
9310 (vgdb_start, vgdb_stop): New procs, factored out of ...
9311 * gdb.base/valgrind-bt.exp: ... here, ...
9312 * gdb.base/valgrind-disp-step.exp: ... here and ...
9313 * gdb.base/valgrind-infcall.exp: ... here.
9314
9315 2018-10-31 Tom de Vries <tdevries@suse.de>
9316
9317 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9318
9319 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9320
9321 * gdb.dwarf2/void-type.c: New file.
9322 * gdb.dwarf2/void-type.exp: New file.
9323
9324 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9325
9326 * gdb.base/info_qt.c: New file.
9327 * gdb.base/info_qt.exp: New file.
9328
9329 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9330
9331 * gdb.arch/powerpc-htm-regs.c: New file.
9332 * gdb.arch/powerpc-htm-regs.exp: New file.
9333
9334 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9335
9336 * gdb.arch/powerpc-tar.c: New file.
9337 * gdb.arch/powerpc-tar.exp: New file.
9338
9339 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9340
9341 * gdb.arch/powerpc-ppr-dscr.c: New file.
9342 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9343
9344 2018-10-25 Tom de Vries <tdevries@suse.de>
9345
9346 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9347
9348 2018-10-24 Tom de Vries <tdevries@suse.de>
9349
9350 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9351 longer exists error.
9352
9353 2018-10-24 Tom de Vries <tdevries@suse.de>
9354
9355 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9356
9357 2018-10-24 Tom de Vries <tdevries@suse.de>
9358
9359 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9360 --db-attach in valgrind.
9361
9362 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9363
9364 * gdb.arch/riscv-reg-aliases.c: New file.
9365 * gdb.arch/riscv-reg-aliases.exp: New file.
9366
9367 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9368
9369 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9370
9371 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9372
9373 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9374
9375 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9376
9377 * gdb.cp/ovldbreak.exp: Fix regexps.
9378
9379 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9380
9381 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9382
9383 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9384
9385 PR cli/23785
9386 * gdb.base/restore.exp: New test to check if "restore" with an
9387 invalid file doesn't segfault.
9388
9389 2018-10-18 Tom de Vries <tdevries@suse.de>
9390
9391 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9392 * gdb.ada/excep_handle.exp: Same.
9393 * gdb.ada/mi_string_access.exp: Same.
9394 * gdb.ada/mi_var_union.exp: Same.
9395 * gdb.arch/arc-analyze-prologue.exp: Same.
9396 * gdb.arch/arc-decode-insn.exp: Same.
9397 * gdb.base/readnever.exp: Same.
9398 * gdb.fortran/printing-types.exp: Same.
9399 * gdb.guile/scm-lazy-string.exp: Same.
9400
9401 2018-10-16 Tom de Vries <tdevries@suse.de>
9402
9403 PR gdb/23730
9404 * gdb.base/catch-follow-exec.c: Add copyright notice.
9405 * gdb.base/catch-follow-exec.exp: Rewrite to use
9406 gdb_spawn_with_cmdline_opts. Require gdb-native.
9407
9408 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9409
9410 * gdb.trace/actions-changed.exp: Check for arch support.
9411 * gdb.trace/actions.exp: Likewise.
9412 * gdb.trace/ax.exp: Likewise.
9413 * gdb.trace/backtrace.exp: Likewise.
9414 * gdb.trace/change-loc.exp: Likewise.
9415 * gdb.trace/deltrace.exp: Likewise.
9416 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9417 * gdb.trace/ftrace.exp: Likewise.
9418 * gdb.trace/infotrace.exp: Check for arch support.
9419 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9420 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9421 * gdb.trace/mi-tsv-changed.exp: Likewise.
9422 * gdb.trace/packetlen.exp: Likewise.
9423 * gdb.trace/passc-dyn.exp: Likewise.
9424 * gdb.trace/passcount.exp: Likewise.
9425 * gdb.trace/pending.exp: Likewise.
9426 * gdb.trace/range-stepping.exp: Check for shlib support.
9427 * gdb.trace/report.exp: Check for arch support.
9428 * gdb.trace/save-trace.exp: Likewise.
9429 * gdb.trace/signal.exp: Check for signal support.
9430 * gdb.trace/tfind.exp: Check for arch support.
9431 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9432 * gdb.trace/trace-common.h: Add comment.
9433 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9434 * gdb.trace/trace-enable-disable.exp: Likewise.
9435 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9436 * gdb.trace/tracecmd.exp: Check for arch support.
9437 * gdb.trace/tspeed.exp: Check for shlib and target support.
9438 * gdb.trace/tstatus.exp: Check for arch support.
9439 * gdb.trace/tsv.exp: Likewise.
9440 * gdb.trace/while-dyn.exp: Likewise.
9441 * gdb.trace/while-stepping.exp: Likewise.
9442 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9443
9444 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9445
9446 * gdb.trace/tspeed.exp: Remove nowarnings.
9447 (prepare_for_trace_test): Declare "global ipalib".
9448 * gdb.trace/tspeed.c: Include unistd.h.
9449 (main): Remove superfluous printf argument.
9450
9451 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9452
9453 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9454 directory prefix on the filename.
9455
9456 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9457
9458 * gdb.gdb/unittest.exp: Update expected message informing that
9459 selftests have been disabled.
9460 * gdb.server/unittest.exp: Likewise.
9461
9462 2018-10-09 Tom de Vries <tdevries@suse.de>
9463
9464 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9465 with runto_main.
9466
9467 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
9468
9469 PR c++/16841
9470 * gdb.cp/virtbase2.cc: New file.
9471 * gdb.cp/virtbase2.exp: New file.
9472
9473 2018-10-06 Tom Tromey <tom@tromey.com>
9474
9475 PR python/19399:
9476 * gdb.python/py-inferior.exp: Add architecture test.
9477
9478 2018-10-06 Tom Tromey <tom@tromey.com>
9479
9480 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9481 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9482
9483 2018-10-06 Tom Tromey <tom@tromey.com>
9484
9485 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9486 of a "throw" catchpoint.
9487
9488 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9489
9490 * gdb.base/info-proc.exp: Update string expected from "help info
9491 proc".
9492
9493 2018-10-04 Tom Tromey <tom@tromey.com>
9494
9495 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9496 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9497 (test_initial_complaints, test_empty_complaints): Update.
9498 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9499
9500 2018-10-04 Tom Tromey <tom@tromey.com>
9501
9502 PR cli/19551:
9503 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9504 * lib/gdb.exp (gdb_file_cmd): Update.
9505 * gdb.stabs/weird.exp (print_weird_var): Update.
9506 * gdb.server/solib-list.exp: Update.
9507 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9508 * gdb.mi/mi-cli.exp: Update.
9509 * gdb.linespec/linespec.exp: Update.
9510 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9511 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9512 * gdb.cp/cp-relocate.exp: Update.
9513 * gdb.base/sym-file.exp: Update.
9514 * gdb.base/relocate.exp: Update.
9515 * gdb.base/readnever.exp: Update.
9516 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9517 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9518 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9519 * gdb.base/code_elim.exp: Update.
9520 * gdb.base/break-unload-file.exp (test_break): Update.
9521 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9522 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9523 Update.
9524 * gdb.base/attach.exp (do_attach_tests): Update.
9525 * gdb.base/sepdebug.exp: Update.
9526 * gdb.python/py-section-script.exp: Update.
9527
9528 2018-10-04 Tom Tromey <tom@tromey.com>
9529
9530 PR cli/22234:
9531 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9532 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9533 output.
9534
9535 2018-10-04 Tom Tromey <tom@tromey.com>
9536
9537 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9538 set width and height to 0.
9539 (test_command_line_attach_run): Use -quiet.
9540
9541 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9542
9543 * lib/gdb.exp (skip_ifunc_tests): New.
9544 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9545 other compile failures.
9546 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9547
9548 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9549
9550 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9551 is_amd64_regs_target.
9552
9553 2018-10-01 Alan Hayward <alan.hayward@arm.com>
9554
9555 * gdb.arch/aarch64-sighandler-regs.c: New test.
9556 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9557 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9558
9559 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9560
9561 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9562 assembly.
9563
9564 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9565
9566 * gdb.base/frame-selection.exp: New file.
9567 * gdb.base/frame-selection.c: New file.
9568
9569 2018-09-27 Alan Hayward <alan.hayward@arm.com>
9570
9571 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9572 pthread barrier.
9573 (main): Likewise.
9574
9575 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9576
9577 * gdb.base/large-frame-1.c: New file.
9578 * gdb.base/large-frame-2.c: New file.
9579 * gdb.base/large-frame.exp: New file.
9580 * gdb.base/large-frame.h: New file.
9581
9582 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9583
9584 PR gdb/20948
9585 * gdb.base/write_mem.exp: New test.
9586 * gdb.base/write_mem.c: Likewise.
9587
9588 2018-09-23 Tom Tromey <tom@tromey.com>
9589
9590 PR python/18852:
9591 * gdb.python/py-parameter.exp: Add test for parameter that throws
9592 on "set".
9593
9594 2018-09-23 Tom Tromey <tom@tromey.com>
9595
9596 PR python/17284:
9597 * gdb.python/py-template.exp (test_template_arg): Add test for
9598 negative template argument number.
9599
9600 2018-09-23 Tom Tromey <tom@tromey.com>
9601
9602 PR python/14062:
9603 * gdb.python/python.exp: Add test for post_event error.
9604
9605 2018-09-23 Tom Tromey <tom@tromey.com>
9606
9607 PR python/18170:
9608 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9609 convert pointers to int and long.
9610
9611 2018-09-23 Tom Tromey <tom@tromey.com>
9612
9613 PR python/20126:
9614 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9615 signed-ness conversion tests.
9616
9617 2018-09-23 Tom Tromey <tom@tromey.com>
9618
9619 PR python/18352;
9620 * gdb.python/py-value.exp (test_float_conversion): New proc.
9621 Use it.
9622
9623 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9624
9625 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9626
9627 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9628
9629 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9630 no readline.
9631 * gdb.base/utf8-identifiers.exp: Likewise.
9632 * gdb.cp/cpcompletion.exp: Likewise.
9633 * gdb.linespec/cpcompletion.exp: Likewise.
9634 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9635 * gdb.linespec/cpls-ops.exp: Likewise.
9636
9637 2018-09-19 Richard Bunt <richard.bunt@arm.com>
9638 Chris January <chris.january@arm.com>
9639
9640 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9641 * gdb.fortran/short-circuit-argument-list.exp: New file.
9642 * gdb.fortran/short-circuit-argument-list.f90: New test.
9643
9644 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9645
9646 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9647 "arch=" keyword when executing "-stack-list-frames".
9648
9649 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9650
9651 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9652 "arch=" keyword when executing "-stack-list-frames".
9653
9654 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9655
9656 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9657 break ada".
9658
9659 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9660
9661 PR python/23669
9662 * gdb.python/python.exp: Test gdb.execute("show commands").
9663
9664 2018-09-16 Tom Tromey <tom@tromey.com>
9665
9666 * gdb.base/new-ui.exp (do_execution_tests): Update.
9667 * gdb.base/dbx.exp (test_breakpoints): Update.
9668
9669 2018-09-14 Alan Hayward <alan.hayward@arm.com>
9670
9671 * lib/gdb.exp (gdb_simple_compile): Add proc.
9672 (is_elf_target): Use gdb_simple_compile.
9673 (skip_altivec_tests): Likewise.
9674 (skip_vsx_tests): Likewise.
9675 (skip_tsx_tests): Likewise.
9676 (skip_btrace_tests): Likewise.
9677 (skip_btrace_pt_tests): Likewise.
9678 (gdb_can_simple_compile): Likewise.
9679 (gdb_has_argv0): Likewise.
9680 (gdb_target_symbol_prefix): Likewise.
9681 (target_supports_scheduler_locking): Likewise.
9682
9683 2018-09-13 Tom Tromey <tom@tromey.com>
9684
9685 * Makefile.in (TAGS): Recognize proc_with_prefix and
9686 gdb_caching_proc.
9687
9688 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9689
9690 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9691 method.
9692
9693 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9694
9695 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9696 and a few other Inferior properties when the Inferior is no
9697 longer valid.
9698
9699 2018-09-13 Tom Tromey <tom@tromey.com>
9700
9701 PR rust/23650:
9702 * gdb.rust/simple.exp: Add test for enum field access error.
9703
9704 2018-09-13 Tom Tromey <tom@tromey.com>
9705
9706 PR rust/23626:
9707 * gdb.rust/simple.rs (EmptyEnum): New type.
9708 (main): Use it.
9709 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9710
9711 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9712
9713 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9714 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9715 * gdb.python/py-symtab.exp: Update test printing an objfile.
9716
9717 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9718
9719 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9720 object.
9721
9722 2018-09-12 Alan Hayward <alan.hayward@arm.com>
9723
9724 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9725 (support_complex_tests): Use gdb_can_simple_compile.
9726 (is_ilp32_target): Likewise.
9727 (is_lp64_target): Likewise.
9728 (is_64_target): Likewise.
9729 (is_amd64_regs_target): Likewise.
9730 (is_aarch32_target): Likewise.
9731 (gdb_int128_helper): Likewise.
9732
9733 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9734
9735 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9736
9737 2018-09-10 Jerome Guitton <guitton@adacore.com>
9738
9739 * gdb.ada/same_component_name: Add test for case of tagged record
9740 with variable-length fields.
9741
9742 2018-09-10 Xavier Roirand <roirand@adacore.com>
9743
9744 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9745 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9746 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9747 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9748
9749 2018-09-10 Xavier Roirand <roirand@adacore.com>
9750
9751 * gdb.ada/mi_string_access.exp: New testcase.
9752 * gdb.ada/mi_string_access/bar.adb: New file.
9753 * gdb.ada/mi_string_access/pck.adb: New file.
9754 * gdb.ada/mi_string_access/pck.asd: New file.
9755
9756 2018-09-10 Xavier Roirand <roirand@adacore.com>
9757
9758 * gdb.ada/mi_var_union.exp: New testcase.
9759 * gdb.ada/mi_var_union/bar.adb: New file.
9760 * gdb.ada/mi_var_union/pck.adb: New file.
9761 * gdb.ada/mi_var_union/pck.asd: New file.
9762
9763 2018-09-08 Tom Tromey <tom@tromey.com>
9764
9765 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9766
9767 2018-09-08 Tom Tromey <tom@tromey.com>
9768
9769 PR python/16047:
9770 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9771 (register_pretty_printers): Register new printer.
9772 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9773 test.
9774 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9775 (an_int_type3): New global.
9776
9777 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9778
9779 * gdb.ada/expr_with_funcall: New testcase.
9780
9781 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9782
9783 * gdb.ada/packed_array_assign: New testcase.
9784
9785 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9786
9787 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9788 names, and add test prefixes to make test names unique.
9789
9790 2018-09-05 Tom de Vries <tdevries@suse.de>
9791
9792 * gdb.dwarf2/varval.exp: Add test.
9793
9794 2018-09-04 Gary Benson <gbenson@redhat.com>
9795
9796 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9797 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9798
9799 2018-08-31 Tom Tromey <tom@tromey.com>
9800
9801 * gdb.rust/simple.rs: Rename second variable "v".
9802
9803 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9804
9805 * gdb.base/funcargs.c (use_a): New function.
9806 (recurse): Call use_a.
9807
9808 2018-08-29 Keith Seitz <keiths@redhat.com>
9809
9810 * gdb.compile/compile-cplus-anonymous.cc: New file.
9811 * gdb.compile/compile-cplus-anonymous.exp: New file.
9812 * gdb.compile/compile-cplus-array-decay.cc: New file.
9813 * gdb.compile/compile-cplus-array-decay.exp: New file.
9814 * gdb.compile/compile-cplus-inherit.cc: New file.
9815 * gdb.compile/compile-cplus-inherit.exp: New file.
9816 * gdb.compile/compile-cplus-member.cc: New file.
9817 * gdb.compile/compile-cplus-member.exp: New file.
9818 * gdb.compile/compile-cplus-method.cc: New file.
9819 * gdb.compile/compile-cplus-method.exp: New file.
9820 * gdb.compile/compile-cplus-mod.c: "New" file.
9821 * gdb.compile/compile-cplus-namespace.cc: New file.
9822 * gdb.compile/compile-cplus-namespace.exp: New file.
9823 * gdb.compile/compile-cplus-nested.cc: New file.
9824 * gdb.compile/compile-cplus-nested.exp: New file.
9825 * gdb.compile/compile-cplus-print.c: "New" file.
9826 * gdb.compile/compile-cplus-print.exp: "New" file.
9827 * gdb.compile/compile-cplus-virtual.cc: New file.
9828 * gdb.compile/compile-cplus-virtual.exp: New file.
9829 * gdb.compile/compile-cplus.c: "New" file.
9830 * gdb.compile/compile-cplus.exp: "New" file.
9831 * lib/compile-support.exp: New file.
9832
9833 2018-08-16 Gary Benson <gbenson@redhat.com>
9834
9835 PR gdb/13000:
9836 * gdb.base/batch-exit-status.exp: New file.
9837 * gdb.base/batch-exit-status.good-commands: Likewise.
9838 * gdb.base/batch-exit-status.bad-commands: Likewise.
9839
9840 2018-08-29 Alan Hayward <alan.hayward@arm.com>
9841
9842 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9843 (struct struct02): Likewise.
9844 (struct struct03): Likewise.
9845 (struct struct04): Likewise.
9846 (struct struct_01_01): New struct.
9847 (struct struct_01_02): Likewise.
9848 (struct struct_01_03): Likewise.
9849 (struct struct_01_04): Likewise.
9850 (struct struct_02_01): Likewise.
9851 (struct struct_02_02): Likewise.
9852 (struct struct_02_03): Likewise.
9853 (struct struct_02_04): Likewise.
9854 (struct struct_04_01): Likewise.
9855 (struct struct_04_02): Likewise.
9856 (struct struct_04_03): Likewise.
9857 (struct struct_04_04): Likewise.
9858 (struct struct_05_01): Likewise.
9859 (struct struct_05_02): Likewise.
9860 (struct struct_05_03): Likewise.
9861 (struct struct_05_04): Likewise.
9862 (cmp_struct01): Remove function.
9863 (cmp_struct02): Likewise.
9864 (cmp_struct03): Likewise.
9865 (cmp_struct04): Likewise.
9866 (cmp_struct_01_01): Add Function.
9867 (cmp_struct_01_02): Likewise.
9868 (cmp_struct_01_03): Likewise.
9869 (cmp_struct_01_04): Likewise.
9870 (cmp_struct_02_01): Likewise.
9871 (cmp_struct_02_02): Likewise.
9872 (cmp_struct_02_03): Likewise.
9873 (cmp_struct_02_04): Likewise.
9874 (cmp_struct_04_01): Likewise.
9875 (cmp_struct_04_02): Likewise.
9876 (cmp_struct_04_03): Likewise.
9877 (cmp_struct_04_04): Likewise.
9878 (cmp_struct_05_01): Likewise.
9879 (cmp_struct_05_02): Likewise.
9880 (cmp_struct_05_03): Likewise.
9881 (cmp_struct_05_04): Likewise.
9882 (call_all): Add new structs.
9883 * gdb.base/infcall-nested-structs.exp: Likewise.
9884
9885 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9886
9887 * gdb.python/py-framefilter-mi.exp: Update regexp to
9888 check for "arch" field in frame output.
9889
9890 2018-08-23 Kevin Buettner <kevinb@redhat.com>
9891
9892 * gdb.dwarf2/dw2-ranges-func.c: New file.
9893 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9894
9895 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9896
9897 * gdb.base/term.exp: Compare terminal settings with values from
9898 the inferior.
9899 * gdb.base/term.c: Get and set terminal settings.
9900
9901 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9902
9903 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9904 accommodate new "arch" field in frame output.
9905 * gdb.mi/mi-return.exp: Likewise.
9906 * gdb.mi/mi-stack.exp: Likewise.
9907 * gdb.mi/mi-syn-frame.exp: Likewise.
9908 * gdb.mi/user-selected-context-sync.exp: Likewise.
9909
9910 2018-08-19 Michael Spang <spang@google.com>
9911
9912 PR gdb/11786
9913 * gdb.base/gcore-tls-pie.c: New file.
9914 * gdb.base/gcore-tls-pie.exp: New file.
9915
9916 2018-08-18 Kevin Buettner <kevinb@redhat.com>
9917
9918 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
9919 * gdb.dwarf2/varval.c: New file.
9920 * gdb.dwarf2/varval.exp: New file.
9921
9922 2018-08-17 Alan Hayward <alan.hayward@arm.com>
9923
9924 PR gdb/18931
9925 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9926
9927 2018-08-16 Keith Seitz <keiths@redhat.com>
9928
9929 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9930 tests expected to pass.
9931
9932 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9933
9934 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9935 -data-disassemble -a.
9936 (test_disassembly_bogus_args): Likewise.
9937
9938 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9939
9940 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9941
9942 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9943
9944 * gdb.base/vla-optimized-out.exp: Add new test.
9945
9946 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9947
9948 * gdb.base/vla-optimized-out-o3.exp: Delete.
9949 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9950 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9951 deleted tests.
9952
9953 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9954
9955 PR gdb/18050:
9956 * gdb.server/extended-remote-restart.c: New file.
9957 * gdb.server/extended-remote-restart.exp: New file.
9958
9959 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9960
9961 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9962 "set variable index = 42".
9963
9964 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9965
9966 * boards/index-cache-gdb.exp: New file.
9967 * gdb.dwarf2/index-cache.exp: New file.
9968 * gdb.dwarf2/index-cache.c: New file.
9969 * gdb.base/maint.exp: Check if we are using the index cache.
9970
9971 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9972
9973 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9974 MAKEFLAGS.
9975
9976 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9977
9978 * dg-extract-results.sh: Move to toplevel contrib.
9979 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9980 * Makefile.in (check-parallel-racy): Likewise.
9981
9982 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9983
9984 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9985 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9986 tests if the target supports scheduler locking.
9987
9988 2018-08-04 Tom de Vries <tdevries@suse.de>
9989
9990 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9991
9992 2018-08-02 Tom Tromey <tom@tromey.com>
9993
9994 PR symtab/16842.
9995 * gdb.cp/temargs.exp: Test "info address" of a template
9996 parameter.
9997
9998 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9999
10000 * gdb.python/py-mi-var-info-path-expression.c: New file.
10001 * gdb.python/py-mi-var-info-path-expression.py: New file.
10002 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10003
10004 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10005
10006 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10007 error after "cannot resolve name" string.
10008
10009 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10010
10011 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10012 started.
10013 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10014
10015 2018-07-28 Tom de Vries <tdevries@suse.de>
10016
10017 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10018
10019 2018-07-26 Tom de Vries <tdevries@suse.de>
10020
10021 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10022
10023 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10024
10025 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10026 is visible.
10027
10028 2018-07-26 Tom de Vries <tdevries@suse.de>
10029
10030 PR breakpoints/23366
10031 * gdb.base/catch-follow-exec.c: New test.
10032 * gdb.base/catch-follow-exec.exp: New file.
10033
10034 2018-07-25 Tom de Vries <tdevries@suse.de>
10035
10036 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10037 vla-optimized-out.c.
10038
10039 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10040
10041 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10042 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10043
10044 2018-07-20 Tom de Vries <tdevries@suse.de>
10045
10046 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10047 NOCLONE macro.
10048 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10049
10050 2018-07-19 Tom de Vries <tdevries@suse.de>
10051
10052 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10053 regular expression.
10054
10055 2018-07-18 Tom de Vries <tdevries@suse.de>
10056
10057 * gdb.base/vla-optimized-out.c: New test.
10058 * gdb.base/vla-optimized-out.exp: New file.
10059
10060 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10061
10062 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10063 message "No address associated with hostname" when gdbserver
10064 cannot resolve the hostname.
10065
10066 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10067
10068 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10069 Add some test prefixes to make tests unique.
10070
10071 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10072
10073 * gdb.base/frameapply.c: New file.
10074 * gdb.base/frameapply.exp: New file.
10075
10076 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10077
10078 * gdb.base/skip.exp: Update expected error message.
10079
10080 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10081 Jan Kratochvil <jan.kratochvil@redhat.com>
10082 Paul Fertser <fercerpav@gmail.com>
10083 Tsutomu Seki <sekiriki@gmail.com>
10084
10085 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10086 parameter.
10087 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10088 by default.
10089 * boards/native-gdbserver.exp: Likewise.
10090 * gdb.server/run-without-local-binary.exp: Improve regexp used
10091 for detecting when a remote debugging connection succeeds.
10092 * gdb.server/server-connect.exp: New file.
10093 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10094 Do not prefix the port number with ":".
10095 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10096 support for detecting and using it. Add '$debughost_gdbserver'
10097 to the list of arguments used to start gdbserver. Handle case
10098 when gdbserver cannot resolve a network name.
10099
10100 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10101
10102 PR c++/23373
10103 * gdb.base/ptype-offsets.cc (struct static_member): New
10104 struct.
10105 (main) <stmember>: New variable.
10106 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10107 with a static member in it.
10108
10109 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10110
10111 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10112 watchpoints enabled and disabled.
10113
10114 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10115
10116 * gdb.base/examine-backward.exp: Still run tests around address
10117 0x0, even if address 0x0 is not readable. Update the pattern for
10118 matching address 0x0 in expected output.
10119
10120 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10121
10122 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10123 malloc/free.
10124
10125 2018-07-04 Tom de Vries <tdevries@suse.de>
10126
10127 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10128
10129 2018-07-02 Maciej W. Rozycki <macro@mips.com>
10130
10131 PR tdep/8282
10132 * gdb.arch/mips-disassembler-options.exp: New test.
10133 * gdb.arch/mips-disassembler-options.s: New test source.
10134
10135 2018-06-29 Pedro Alves <palves@redhat.com>
10136
10137 * gdb.threads/names.exp: Adjust expected "info threads" output.
10138
10139 2018-06-29 Pedro Alves <palves@redhat.com>
10140
10141 * gdb.opt/inline-break.exp (line number, address): Add "info
10142 break" tests.
10143
10144 2018-06-29 Pedro Alves <palves@redhat.com>
10145
10146 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10147 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10148 number and address and running to them.
10149
10150 2018-06-29 Richard Bunt <richard.bunt@arm.com>
10151
10152 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10153
10154 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10155
10156 * lib/compiler.c: Remove executable permission flag.
10157
10158 2018-06-28 Richard Bunt <richard.bunt@arm.com>
10159
10160 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10161 code.
10162 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10163
10164 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
10165
10166 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10167
10168 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
10169
10170 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10171 address argument is omitted.
10172
10173 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
10174
10175 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10176
10177 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
10178
10179 PR gdb/21695
10180 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10181 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10182
10183 2018-06-26 Tom Tromey <tom@tromey.com>
10184
10185 PR rust/22574:
10186 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10187 * gdb.rust/simple.rs (struct SimpleLayout): New.
10188
10189 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10190
10191 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10192 "info registers" output.
10193
10194 2018-06-21 Richard Bunt <richard.bunt@arm.com>
10195
10196 * gdb.base/watchpoint-hw-attach.c: New test.
10197 * gdb.base/watchpoint-hw-attach.exp: New file.
10198
10199 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10200
10201 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10202 through /bin/sh.
10203 * boards/dwarf4-gdb-index.exp: Likewise.
10204 * boards/fission-dwp.exp: Likewise.
10205
10206 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10207
10208 * gdb.base/float128.exp: Add comment and improved fail message
10209 to the failure case of "print large128" test.
10210
10211 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10212
10213 * configure.ac: Remove AC_PREREQ.
10214 * configure: Re-generate.
10215
10216 2018-06-19 Pedro Alves <palves@redhat.com>
10217
10218 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10219 (func_extern_caller): New.
10220 (main): Call func_extern_caller.
10221 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10222 logic change.
10223
10224 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
10225
10226 PR gdb/16841
10227 * gdb.cp/typedef-base.cc: New file.
10228 * gdb.cp/typedef-base.exp: New file.
10229
10230 2018-06-18 Tom de Vries <tdevries@suse.de>
10231
10232 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10233
10234 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10235 Richard Bunt <Richard.Bunt@arm.com>
10236
10237 * gdb.threads/attach-slow-waitpid.c: New file.
10238 * gdb.threads/attach-slow-waitpid.exp: New file.
10239 * gdb.threads/slow-waitpid.c: New file.
10240
10241 2018-06-14 Pedro Alves <palves@redhat.com>
10242
10243 * gdb.base/fork-running-state.c: Include <errno.h>.
10244 (exit_if_relative_exits): New.
10245 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10246 exits.
10247 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10248 child exits.
10249
10250 2018-06-14 Tom de Vries <tdevries@suse.de>
10251
10252 PR cli/22573
10253 * gdb.base/finish-pretty.c: New test.
10254 * gdb.base/finish-pretty.exp: New file.
10255
10256 2018-06-14 Pedro Alves <palves@redhat.com>
10257
10258 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10259 gdb's expected startup output.
10260
10261 2018-06-14 Pedro Alves <palves@redhat.com>
10262
10263 * lib/selftest-support.exp (selftest_setup): Remove inlined
10264 function handling.
10265
10266 2018-06-14 Tom de Vries <tdevries@suse.de>
10267
10268 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10269 matching of breakpoint printing.
10270
10271 2018-06-13 Tom de Vries <tdevries@suse.de>
10272
10273 PR testsuite/23269
10274 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10275 (fork_child): ... here, and ...
10276 (fork_parent): ... here.
10277
10278 2018-06-12 Tom de Vries <tdevries@suse.de>
10279
10280 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10281
10282 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10283 Stephen Roberts <stephen.roberts@arm.com>
10284
10285 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10286 rewrite test to describe action performed, rather than possible
10287 failure.
10288
10289 2018-06-08 Gary Benson <gbenson@redhat.com>
10290
10291 * gdb.threads/check-libthread-db.exp: New file.
10292 * gdb.threads/check-libthread-db.c: Likewise.
10293
10294 2018-06-05 Tom Tromey <tom@tromey.com>
10295
10296 * gdb.base/default.exp: Update expected "show version" output.
10297
10298 2018-06-05 Tom Tromey <tom@tromey.com>
10299
10300 PR cli/12326:
10301 * gdb.cp/static-print-quit.exp: Update.
10302 * lib/gdb.exp (pagination_prompt): Update.
10303 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10304 * gdb.python/python.exp: Update.
10305
10306 2018-06-04 Joel Brobecker <brobecker@adacore.com>
10307
10308 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10309
10310 2018-06-01 Joel Brobecker <brobecker@adacore.com>
10311
10312 * gdb.ada/bp_fun_addr: New testcase.
10313
10314 2018-06-01 Tom Tromey <tom@tromey.com>
10315
10316 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10317 results.
10318 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10319 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10320 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10321 * gdb.base/maint.exp (maint_pass_if): Update.
10322
10323 2018-05-31 Maciej W. Rozycki <macro@mips.com>
10324
10325 * gdb.base/endian.exp: New test.
10326 * gdb.base/endian.c: New test source.
10327
10328 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10329
10330 PR gdb/23203
10331 * gdb.base/bt-selected-frame.c: New file.
10332 * gdb.base/bt-selected-frame.exp: New file.
10333 * lib/gdb.exp (get_current_frame_number): New function.
10334
10335 2018-05-24 Maciej W. Rozycki <macro@mips.com>
10336 Pedro Alves <palves@redhat.com>
10337
10338 * gdb.threads/tls-core.c: Include <stdlib.h>
10339 (thread_proc): Call `abort'.
10340 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10341 (tls_core_test): New procedure, bits factored out from ...
10342 (top level): ... here. Test both native cores and gcore cores.
10343
10344 2018-05-23 Tom Tromey <tom@tromey.com>
10345
10346 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10347
10348 2018-05-23 Tom Tromey <tom@tromey.com>
10349
10350 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10351 symfile_complaints.
10352 (test_short_complaints): Likewise.
10353 (test_empty_complaints): Likewise.
10354 (test_initial_complaints): Update.
10355
10356 2018-05-23 Tom Tromey <tom@tromey.com>
10357
10358 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10359
10360 2018-05-23 Tom Tromey <tom@tromey.com>
10361
10362 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10363 (test_short_complaints): Update.
10364
10365 2018-05-22 Pedro Alves <palves@redhat.com>
10366
10367 * gdb.base/remote.exp: Only gdb_start after compiling the
10368 testcase. Issue "disconnect" before testing "set remote" command
10369 defaults. Issue clean_restart before running to main.
10370
10371 2018-05-22 Pedro Alves <palves@redhat.com>
10372
10373 * gdb.base/remote.exp: Adjust expected output of "show remote
10374 memory-write-packet-size". Add tests for "set remote
10375 memory-write-packet-size 0" and "set remote
10376 memory-write-packet-size fixed/limit".
10377
10378 2018-05-22 Pedro Alves <palves@redhat.com>
10379
10380 PR gdb/22973
10381 * gdb.base/utf8-identifiers.c: New file.
10382 * gdb.base/utf8-identifiers.exp: New file.
10383
10384 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10385
10386 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10387
10388 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10389
10390 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10391
10392 2018-05-18 Tom Tromey <tom@tromey.com>
10393
10394 * gdb.base/ptype-offsets.exp: Update.
10395
10396 2018-05-17 Keith Seitz <keiths@redhat.com>
10397
10398 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10399 in expected breakpoint stop locations.
10400 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10401 move to proper scope to test variable values.
10402 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10403 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10404 New functions.
10405 (main): Call not_inline_func3.
10406 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10407 inline_func1, inline_func2, and inline_func3. Test that when each
10408 breakpoint is hit, GDB properly reports both the stop location
10409 and the backtrace. Repeat tests for temporary breakpoints.
10410
10411 2018-05-15 Maciej W. Rozycki <macro@mips.com>
10412
10413 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10414 rather then trying to access it in determining whether the PID
10415 of `gdbserver' could have been retrieved.
10416
10417 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10418
10419 * gdb.arch/amd64-init-x87-values.S: New file.
10420 * gdb.arch/amd64-init-x87-values.exp: New file.
10421
10422 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10423
10424 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10425
10426 2018-05-04 Tom Tromey <tom@tromey.com>
10427
10428 PR python/22730:
10429 * gdb.python/python.exp: Test multi-line execute.
10430
10431 2018-05-04 Tom Tromey <tom@tromey.com>
10432
10433 PR python/22731:
10434 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10435
10436 2018-05-04 Tom Tromey <tom@tromey.com>
10437
10438 PR gdb/11750:
10439 * gdb.base/define.exp: Test defining a user command inside a user
10440 command.
10441 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10442
10443 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10444 Pedro Alves <palves@redhat.com>
10445
10446 PR breakpoints/19806 and support for PR external/20207.
10447 * gdb.base/watchpoint-unaligned.c: New file.
10448 * gdb.base/watchpoint-unaligned.exp: New file.
10449
10450 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10451
10452 * gdb.base/maint.exp: Make test names unique, use
10453 test_prefix_command_help to test 'help maint info', and remove
10454 repeated test of 'help maint'.
10455
10456 2018-05-04 Tom Tromey <tom@tromey.com>
10457
10458 PR gdb/22619:
10459 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10460 behavior.
10461
10462 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10463
10464 * gdb.base/maint.exp: Process output from 'maint print registers'
10465 line at a time.
10466
10467 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10468
10469 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10470 timeout.
10471
10472 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10473
10474 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10475 filter pattern.
10476
10477 2018-05-02 Pedro Alves <palves@redhat.com>
10478
10479 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10480 to_log_command renames.
10481 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10482
10483 2018-05-02 Tom Tromey <tom@tromey.com>
10484
10485 * gdb.python/py-parameter.exp: Set test message.
10486
10487 2018-05-02 Tom Tromey <tom@tromey.com>
10488
10489 PR python/20084:
10490 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10491 PARAM_ZUINTEGER_UNLIMITED tests.
10492
10493 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10494
10495 PR rust/23124
10496 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10497 when casting.
10498
10499 2018-04-30 Tom Tromey <tom@tromey.com>
10500
10501 * gdb.python/py-type.exp: Check align attribute.
10502 * gdb.python/py-type.c: New "aligncheck" global.
10503
10504 2018-04-30 Tom Tromey <tom@tromey.com>
10505
10506 PR exp/17095:
10507 * gdb.dwarf2/dw2-align.exp: New file.
10508 * gdb.cp/align.exp: New file.
10509 * gdb.base/align.exp: New file.
10510 * lib/gdb.exp (gdb_int128_helper): New proc.
10511 (has_int128_c, has_int128_cxx): New caching procs.
10512
10513 2018-04-27 Tom Tromey <tom@tromey.com>
10514
10515 PR rust/22545:
10516 * gdb.rust/simple.exp: Add inclusive range tests.
10517
10518 2018-04-26 Pedro Alves <palves@redhat.com>
10519
10520 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10521 ifunc breakpoint locations correctly of ifunc breakpoints set
10522 while the program resolves the ifunc.
10523
10524 2018-04-26 Pedro Alves <palves@redhat.com>
10525
10526 * gdb.base/gnu-ifunc-final.c: New file.
10527 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10528 * gdb.base/gnu-ifunc.exp (executable): Delete.
10529 (staticexecutable): Adjust.
10530 (lib_opts, exec_opts): Delete.
10531 (make_binsuffix, build, set-break): New procedures.
10532 (misc_tests): New, with tests factored out from the top level.
10533 (top level): Test different combinations of ifunc resolver name,
10534 resolver with and with debug info, and ifunc target with and
10535 without debug info. Wrap static tests with with_target_prefix.
10536
10537 2018-04-26 Pedro Alves <palves@redhat.com>
10538
10539 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10540 return type" warnings.
10541
10542 2018-04-25 Pedro Alves <palves@redhat.com>
10543
10544 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10545 killed".
10546 * gdb.base/kill-after-signal.exp: Likewise.
10547 * gdb.threads/kill.exp: Likewise.
10548
10549 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10550 Sergio Durigan Junior <sergiodj@redhat.com>
10551 Pedro Alves <palves@redhat.com>
10552
10553 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10554 regexps to expect for '[Inferior ... detached]' as well.
10555 * gdb.base/attach.exp: Likewise.
10556 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10557 "gdb_continue_to_end".
10558 (test_catch_syscall_with_wrong_args): Likewise.
10559 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10560 ']'. Don't set 'verbose' on.
10561 * gdb.base/foll-vfork.exp: Likewise.
10562 * gdb.base/fork-print-inferior-events.c: New file.
10563 * gdb.base/fork-print-inferior-events.exp: New file.
10564 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10565 '[Inferior ... has been killed]' message.
10566 * gdb.base/kill-after-signal.exp: Likewise.
10567 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10568 detach message.
10569 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10570 message.
10571 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10572 regexps to expect for '[Inferior ... detached]' as well.
10573 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10574
10575 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10576
10577 PR gdb/23104
10578 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10579
10580 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10581
10582 PR gdb/23095
10583 * gdb.base/break-probes.exp: Pass shlib_load to
10584 prepare_for_testing. Set normal_bp to r_debug_state if target is
10585 bsd.
10586
10587 2018-04-19 Richard Bunt <richard.bunt@arm.com>
10588
10589 * gdb.threads/multiple-successive-infcall.c: New test.
10590 * gdb.threads/multiple-successive-infcall.exp: New file.
10591
10592 2018-04-17 Tom Tromey <tom@tromey.com>
10593
10594 * gdb.rust/simple.rs (Union): New type.
10595 (main): New local "u".
10596 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10597
10598 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10599
10600 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10601 number information in output of "whereis" command.
10602 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10603
10604 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10605
10606 * gdb.ada/info_types.exp: Adjust expected output to the line
10607 numbers now printed by "info var/func/type".
10608 * gdb.base/completion.exp: Likewise.
10609 * gdb.base/included.exp: Likewise.
10610 * gdb.cp/cp-relocate.exp: Likewise.
10611 * gdb.cp/cplusfuncs.exp: Likewise.
10612 * gdb.cp/namespace.exp: Likewise.
10613 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10614
10615 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10616
10617 * gdb.btrace/cpu.exp: New.
10618
10619 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10620
10621 * gdb.base/step-indirect-call-thunk.exp: New.
10622 * gdb.base/step-indirect-call-thunk.c: New.
10623 * gdb.reverse/step-indirect-call-thunk.exp: New.
10624 * gdb.reverse/step-indirect-call-thunk.c: New.
10625
10626 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10627
10628 * gdb.base/pie-fork.c: New file.
10629 * gdb.base/pie-fork.exp: New file.
10630
10631 2018-04-11 Tom Tromey <tom@tromey.com>
10632
10633 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10634
10635 2018-04-10 Pedro Alves <palves@redhat.com>
10636
10637 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10638 exits. Instead loop running forever.
10639 (fork_parent): Run forever too.
10640
10641 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10642
10643 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10644 mi_continue_to_line.
10645 * gdb.mi/mi-stack.c (callee4): Add comment.
10646
10647 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10648
10649 * gdb.mi/mi-stack.exp: Fix indentation.
10650
10651 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10652
10653 PR gdb/22979
10654 * gdb.arch/amd64-osabi.exp: New file.
10655
10656 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10657
10658 PR gdb/22980
10659 * gdb.base/osabi.exp: New file.
10660
10661 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
10662
10663 * gdb.cp/static-typedef-print.exp: New file.
10664 * gdb.cp/static-typedef-print.cc: New file.
10665
10666 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10667
10668 * gdb.ada/varsize_limit: New testcase.
10669
10670 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10671
10672 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10673
10674 * gdb.ada/notcplusplus: New testcase.
10675
10676 * gdb.base/c-linkage-name.c: New file.
10677 * gdb.base/c-linkage-name.exp: New testcase.
10678
10679 2018-03-26 Tom Tromey <tom@tromey.com>
10680
10681 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10682 * gdb.python/py-framefilter.py (name_error): New global.
10683 (ErrorInName.function): Use name_error.
10684
10685 2018-03-26 Tom Tromey <tom@tromey.com>
10686
10687 PR backtrace/15582:
10688 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10689
10690 2018-03-23 Keith Seitz <keiths@redhat.com>
10691
10692 PR c++/22968
10693 * gdb.cp/subtypes.exp: New file.
10694 * gdb.cp/subtypes.h: New file.
10695 * gdb.cp/subtypes.cc: New file.
10696 * gdb.cp/subtypes-2.cc: New file.
10697
10698 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10699
10700 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10701 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10702 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10703 -nostartfiles when compiling the test. Confirm that all registers
10704 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10705
10706 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10707
10708 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10709 option, syntax was wrong anyway.
10710 * gdb.arch/arm-disp-step.exp: Likewise.
10711 * gdb.arch/sparc64-regs.exp: Likewise.
10712 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10713 option, syntax was wrong anyway, switch to use
10714 prepare_for_testing.
10715 * gdb.arch/i386-disp-step.exp: Likewise.
10716
10717 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10718
10719 * gdb.ada/exec_changed.exp: Replace "target_info exists
10720 use_gdb_stub" by "use_gdb_stub".
10721 * gdb.ada/start.exp: Likewise.
10722 * gdb.base/async-shell.exp: Likewise.
10723 * gdb.base/attach-pie-misread.exp: Likewise.
10724 * gdb.base/attach-wait-input.exp: Likewise.
10725 * gdb.base/break-entry.exp: Likewise.
10726 * gdb.base/break-interp.exp: Likewise.
10727 * gdb.base/dprintf-detach.exp: Likewise.
10728 * gdb.base/nostdlib.exp: Likewise.
10729 * gdb.base/solib-nodir.exp: Likewise.
10730 * gdb.base/statistics.exp: Likewise.
10731 * gdb.base/testenv.exp: Likewise.
10732 * gdb.mi/mi-exec-run.exp: Likewise.
10733 * gdb.mi/mi-start.exp: Likewise.
10734 * gdb.multi/dummy-frame-restore.exp: Likewise.
10735 * gdb.multi/multi-arch-exec.exp: Likewise.
10736 * gdb.multi/multi-arch.exp: Likewise.
10737 * gdb.multi/tids.exp: Likewise.
10738 * gdb.multi/watchpoint-multi.exp: Likewise.
10739 * gdb.python/py-events.exp: Likewise.
10740 * gdb.threads/attach-into-signal.exp: Likewise.
10741 * gdb.threads/attach-stopped.exp: Likewise.
10742 * gdb.threads/threadapply.exp: Likewise.
10743 * lib/selftest-support.exp: Likewise.
10744
10745 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10746
10747 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10748
10749 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10750
10751 * gdb.perf/template-breakpoints.cc: New file.
10752 * gdb.perf/template-breakpoints.exp: New file.
10753 * gdb.perf/template-breakpoints.py: New file.
10754
10755 2018-03-19 Tom Tromey <tom@tromey.com>
10756
10757 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10758 y0.
10759 * gdb.rust/simple.exp: Test bare identifier form of struct
10760 initializer.
10761
10762 2018-03-19 Tom Tromey <tom@tromey.com>
10763
10764 * gdb.gdb/observer.exp: Remove.
10765
10766 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10767
10768 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10769 "qualified" option when setting breakpoints.
10770 * gdb.trace/backtrace.exp: Likewise.
10771 * gdb.trace/circ.exp: Likewise.
10772 * gdb.trace/collection.exp: Likewise.
10773 * gdb.trace/disconnected-tracing.exp: Likewise.
10774 * gdb.trace/ftrace-lock.exp: Likewise.
10775 * gdb.trace/ftrace.exp: Likewise.
10776 * gdb.trace/infotrace.exp: Likewise.
10777 * gdb.trace/packetlen.exp: Likewise.
10778 * gdb.trace/passc-dyn.exp: Likewise.
10779 * gdb.trace/qtro.exp: Likewise.
10780 * gdb.trace/read-memory.exp: Likewise.
10781 * gdb.trace/report.exp: Likewise.
10782 * gdb.trace/signal.exp: Likewise.
10783 * gdb.trace/status-stop.exp: Likewise.
10784 * gdb.trace/strace.exp: Likewise.
10785 * gdb.trace/tfind.exp: Likewise.
10786 * gdb.trace/trace-break.exp: Likewise.
10787 * gdb.trace/trace-condition.exp: Likewise.
10788 * gdb.trace/trace-mt.exp: Likewise.
10789 * gdb.trace/tstatus.exp: Likewise.
10790 * gdb.trace/tsv.exp: Likewise.
10791 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10792 * gdb.trace/unavailable.exp: Likewise.
10793 * gdb.trace/while-dyn.exp: Likewise.
10794
10795 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10796
10797 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10798 that libinproctrace is copied to the target.
10799
10800 2018-03-14 Tom Tromey <tom@tromey.com>
10801
10802 PR cli/14977:
10803 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10804 a null pointer.
10805 * gdb.base/wchar.exp: Likewise.
10806
10807 2018-03-14 Tom Tromey <tom@tromey.com>
10808
10809 PR cli/19918:
10810 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10811 flag.
10812
10813 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10814
10815 PR gdb/22841
10816 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10817 "target" to remote_exec.
10818
10819 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10820
10821 PR gdb/22841
10822 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10823 ${board}_upload): Remove.
10824
10825 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10826
10827 * gdb.cp/watch-cp.cc: New test.
10828 * gdb.cp/watch-cp.exp: New file.
10829
10830 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10831
10832 * gdb.base/infcall-nested-structs.exp: New file.
10833 * gdb.base/infcall-nested-structs.c: New file.
10834 * gdb.base/float.exp: Add riscv support.
10835
10836 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10837
10838 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10839 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10840
10841 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10842
10843 * gdb.server/abspath.exp: New file.
10844 * lib/gdb.exp (with_cwd): New procedure.
10845
10846 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10847
10848 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10849 use it.
10850 (gdb_is_target_remote_prompt): New proc.
10851 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10852 (gdb_is_target_native): Pass prompt parameter to
10853 gdb_is_target_1.
10854
10855 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10856
10857 * gdb.base/load-command.c: New file.
10858 * gdb.base/load-command.exp: New file.
10859 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10860 (gdb_is_target_1): ...this, and generalize for other targets
10861 than just remote.
10862 (gdb_is_target_remote): Use gdb_is_target_1.
10863 (gdb_is_target_native): use gdb_is_target_1.
10864
10865 2018-02-26 Tom Tromey <tom@tromey.com>
10866
10867 PR python/16497:
10868 * gdb.python/py-framefilter.exp: Update test.
10869
10870 2018-02-26 Tom Tromey <tom@tromey.com>
10871
10872 * gdb.dwarf2/variant.c: New file.
10873 * gdb.dwarf2/variant.exp: New file.
10874
10875 2018-02-26 Tom Tromey <tom@tromey.com>
10876
10877 * gdb.rust/simple.exp: Accept more possible results in enum test.
10878
10879 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10880
10881 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10882 parentheses.
10883
10884 2018-02-23 Maciej W. Rozycki <macro@mips.com>
10885
10886 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10887 name of a variable: $actual_linejj -> $actual_line.
10888
10889 2018-02-21 John Baldwin <jhb@FreeBSD.org>
10890
10891 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10892
10893 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10894
10895 * gdb.btrace/buffer-size.exp: Do not force BTS.
10896
10897 2018-02-14 Pedro Alves <palves@redhat.com>
10898
10899 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10900 getting a "Quit".
10901
10902 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10903
10904 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10905 Fix test name.
10906
10907 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10908
10909 * gdb.cp/m-static.exp: Check type of optimized out static
10910 member.
10911
10912 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10913
10914 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10915 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10916
10917 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10918 Leszek Swirski <leszeks@google.com>
10919
10920 * gdb.python/py-prettyprint.c
10921 (struct to_string_returns_value_inner,
10922 struct to_string_returns_value_wrapper): New.
10923 (main): Add tsrvw variable.
10924 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10925 ToStringReturnsValueWrapper): New classes.
10926 (register_pretty_printers): Register new pretty-printers.
10927 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10928 recursive pretty printer.
10929 * gdb.python/py-mi.exp: Likewise.
10930
10931 2018-02-01 Leszek Swirski <leszeks@google.com>
10932
10933 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10934 functions with the same name as an include file are parsed
10935 correctly.
10936
10937 2018-02-01 Yao Qi <yao.qi@linaro.org>
10938
10939 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10940 "\[^\r\n\]*".
10941
10942 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10943
10944 * gdb.arch/powerpc-prologue-frame.s: New file.
10945 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10946 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10947
10948 2018-01-31 Joel Brobecker <brobecker@adacore.com>
10949
10950 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10951
10952 2018-01-30 Pedro Alves <palves@redhat.com>
10953
10954 PR gdb/13211
10955 * gdb.base/interrupt-daemon.c: New.
10956 * gdb.base/interrupt-daemon.exp: New.
10957 * gdb.multi/multi-term-settings.c: New.
10958 * gdb.multi/multi-term-settings.exp: New.
10959
10960 2018-01-30 Joel Brobecker <brobecker@adacore.com>
10961
10962 * gdb.base/break.exp: Save the location where the breakpoint
10963 on break.c:47 was actually inserted when debugging the version
10964 compiled at -O2 and use it in the expected output of the "info
10965 break" test performed soon after.
10966
10967 2018-01-22 Pedro Alves <palves@redhat.com>
10968 Sergio Durigan Junior <sergiodj@redhat.com>
10969
10970 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10971 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10972
10973 2018-01-22 Joel Brobecker <brobecker@adacore.com>
10974
10975 * gdb.base/break-include.c, gdb.base/break-include.inc,
10976 gdb.base/break-include.exp: New files.
10977 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10978 line number now being the actual line number where the breakpoint
10979 was inserted.
10980 * gdb.mi/mi-break.exp: Likewise.
10981 * gdb.mi/mi-reverse.exp: Likewise.
10982 * gdb.mi/mi-simplerun.exp: Ditto.
10983
10984 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10985
10986 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10987 varobj.
10988 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10989
10990 2018-01-21 Don Breazeal <donb@codesourcery.com>
10991 Andrew Burgess <andrew.burgess@embecosm.com>
10992
10993 * gdb.mi/basics.c: Add new global.
10994 * gdb.mi/mi-frame-regs.exp: New file.
10995 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10996 case.
10997
10998 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10999
11000 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11001 non-parameter, and on an unknown symbol.
11002
11003 2018-01-19 Tom Tromey <tom@tromey.com>
11004
11005 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11006 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11007
11008 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11009
11010 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11011 setrlimit and chdir to int.
11012
11013 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11014
11015 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11016 function.
11017 (my_tend): Likewise.
11018 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11019 rationale of avoiding FP- and vector instructions.
11020
11021 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11022
11023 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11024 "info reg" with "\[ \t\]*".
11025 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11026 "\[ \t\]+".
11027 * gdb.arch/s390-multiarch.exp: Ditto.
11028 * gdb.base/pc-fp.exp: Ditto.
11029 * gdb.reverse/i386-precsave.exp: Ditto.
11030 * gdb.reverse/i386-reverse.exp: Ditto.
11031 * gdb.reverse/i387-env-reverse.exp: Ditto.
11032 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11033
11034 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11035
11036 * lib/gdb.exp (gdb_compile): Re-enable use of
11037 universal_compile_options for languages other than Rust.
11038
11039 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11040
11041 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11042
11043 2018-01-17 Mike Gulick <mgulick@mathworks.com>
11044
11045 PR gdb/16577
11046 * gdb.base/solib-vanish.exp: New.
11047 * gdb.base/solib-vanish-main.c: New.
11048 * gdb.base/solib-vanish-lib1.c: New.
11049 * gdb.base/solib-vanish-lib2.c: New.
11050
11051 2018-01-17 Yao Qi <yao.qi@linaro.org>
11052
11053 * gdb.compile/compile.exp: Match the address printed for
11054 frame in the output of command "bt".
11055
11056 2018-01-15 Tom Tromey <tom@tromey.com>
11057
11058 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11059 compute sp_reg.
11060
11061 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11062
11063 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11064 to prepare.
11065 (prepare): Return 0 on error, 1 on success.
11066
11067 2018-01-12 Pedro Alves <palves@redhat.com>
11068
11069 * gdb.base/continue-after-aborted-step-over.c: New.
11070 * gdb.base/continue-after-aborted-step-over.exp: New.
11071
11072 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11073
11074 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11075 options when not creating an executable.
11076
11077 2018-01-11 Pedro Alves <palves@redhat.com>
11078
11079 PR remote/22597
11080 * gdb.server/stop-reply-no-thread.c: New file.
11081 * gdb.server/stop-reply-no-thread.exp: New file.
11082
11083 2018-01-10 Pedro Alves <palves@redhat.com>
11084
11085 PR gdb/22670
11086 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11087 functions too. Test setting breakpoints and printing C functions
11088 with no debug info too.
11089 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11090
11091 2018-01-10 Pedro Alves <palves@redhat.com>
11092
11093 PR gdb/22670
11094 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11095 a fail.
11096
11097 2018-01-10 Pedro Alves <palves@redhat.com>
11098
11099 PR gdb/22670
11100 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11101
11102 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11103
11104 * gdb.server/unittest.exp: Match the output in non-development
11105 mode.
11106
11107 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11108
11109 * gdb.gdb/unittest.exp: Match output in non-development mode.
11110
11111 2018-01-08 Joel Brobecker <brobecker@adacore.com>
11112
11113 * gdb.ada/access_tagged_param.exp: Relax expected output
11114 for value of "ObjL" in "continue" to pck.inspect breakpoint
11115 test.
11116
11117 2018-01-08 Joel Brobecker <brobecker@adacore.com>
11118
11119 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11120 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
11121
11122 2018-01-05 Pedro Alves <palves@redhat.com>
11123
11124 PR gdb/18653
11125 * gdb.base/libsegfault.exp: New.
11126
11127 2018-01-05 Joel Brobecker <brobecker@adacore.com>
11128
11129 PR gdb/22670
11130 * gdb.ada/access_tagged_param.exp: New file.
11131 * gdb.ada/access_tagged_param/foo.adb: New file.
11132
11133 2018-01-05 Pedro Alves <palves@redhat.com>
11134
11135 PR gdb/22670
11136 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11137 exercise lower case too, and to exercise both full matching and
11138 wild matching.
11139
11140 2018-01-05 Joel Brobecker <brobecker@adacore.com>
11141
11142 * gdb.ada/rename_subscript_param: New testcase.
11143
11144 2018-01-05 Jerome Guitton <guitton@adacore.com>
11145
11146 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11147
11148 2018-01-05 Joel Brobecker <brobecker@adacore.com>
11149
11150 * gdb.ada/convvar_comp: New testcase.
11151
11152 2018-01-05 Xavier Roirand <roirand@adacore.com>
11153
11154 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11155 (My_Table): New global variable.
11156 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11157
11158 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11159
11160 PR gdb/22670
11161 * gdb.ada/maint_with_ada: New testcase.
11162
11163 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11164
11165 PR gdb/22670
11166 * gdb.ada/bp_c_mixed_case: New testcase.
11167
11168 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11169
11170 PR gdb/22670
11171 * gdb.ada/complete.exp: Add "complete break ada" test.
11172
11173 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11174
11175 PR gdb/22670
11176 * gdb.ada/info_addr_mixed_case: New testcase.
11177
11178 2018-01-03 Xavier Roirand <roirand@adacore.com>
11179
11180 * gdb.ada/excep_handle.exp: New testcase.
11181 * gdb.ada/excep_handle/foo.adb: New file.
11182 * gdb.ada/excep_handle/pck.ads: New file.
11183
11184 2018-01-03 Joel Brobecker <brobecker@adacore.com>
11185
11186 * gdb.base/step-line.c: Add extra empty line in copyright header.
11187 * gdb.base/step-line.inp: Likewise.
11188
11189 2018-01-02 Joel Brobecker <brobecker@adacore.com>
11190
11191 * gdb.ada/dyn_stride.exp: Add slice test.
11192
11193 2018-01-02 Joel Brobecker <brobecker@adacore.com>
11194
11195 * gdb.ada/dyn_stride: New testcase.
11196
11197 2017-12-27 Stafford Horne <shorne@gmail.com>
11198
11199 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11200 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11201
11202 2017-12-27 Stafford Horne <shorne@gmail.com>
11203
11204 * gdb.base/reggroups.c: New file.
11205 * gdb.base/reggroups.exp: New file.
11206
11207 2017-12-18 Joel Brobecker <brobecker@adacore.com>
11208
11209 * gdb.dwarf2/ada-valprint-error.c: New file.
11210 * gdb.dwarf2/ada-valprint-error.exp: New file.
11211
11212 2017-12-18 Joel Brobecker <brobecker@adacore.com>
11213
11214 * gdb.ada/assign_arr: New testcase.
11215
11216 2017-12-18 Xavier Roirand <roirand@adacore.com>
11217
11218 * gdb.ada/funcall_ptr: New testcase.
11219
11220 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11221
11222 PR cli/16224
11223 * gdb.base/ptype-offsets.cc: New file.
11224 * gdb.base/ptype-offsets.exp: New file.
11225
11226 2017-12-15 Yao Qi <yao.qi@linaro.org>
11227
11228 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11229 if XML is disabled.
11230
11231 2017-12-15 Xavier Roirand <roirand@adacore.com>
11232
11233 * gdb.ada/same_component_name: New testcase.
11234
11235 2017-12-14 Joel Brobecker <brobecker@adacore.com>
11236
11237 * gdb.ada/str_binop_equal: New testcase.
11238
11239 2017-12-14 Joel Brobecker <brobecker@adacore.com>
11240
11241 * gdb.ada/task_switch_in_core: New testcase.
11242
11243 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11244
11245 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11246 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11247 call test_bkpt_qualified.
11248 (test_bkpt_qualified): New proc.
11249
11250 2017-12-13 Pedro Alves <palves@redhat.com>
11251
11252 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11253 Tighten regexp by matching with an anchor.
11254
11255 2017-12-13 Pedro Alves <palves@redhat.com>
11256
11257 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11258 ("expression with namespace"): New set of tests.
11259 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11260 (Nested::Test_NS::qux): New.
11261 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11262 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11263
11264 2017-12-13 Joel Brobecker <brobecker@adacore.com>
11265
11266 * gdb.base/server-del-break.c: New file.
11267 * gdb.base/server-del-break.exp: New file.
11268
11269 2017-12-12 Stafford Horne <shorne@gmail.com>
11270
11271 * gdb.xml/tdesc-regs.exp: Add or1k support.
11272
11273 2017-12-12 Stafford Horne <shorne@gmail.com>
11274
11275 * gdb.base/bp-permanent.c: Define nop of or1k.
11276
11277 2017-12-11 Joel Brobecker <brobecker@adacore.com>
11278
11279 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11280 output with components being reordered.
11281
11282 2017-12-11 Joel Brobecker <brobecker@adacore.com>
11283
11284 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11285 output with components being reordered.
11286
11287 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11288 Pedro Alves <palves@redhat.com>
11289
11290 * gdb.base/maint.exp (check for .gdb_index): Check also for
11291 .debug_names.
11292 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11293 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11294 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11295 (.gdb_index used after symbol reloading): Support also .debug_names.
11296 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11297
11298 2017-12-08 Yao Qi <yao.qi@linaro.org>
11299
11300 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11301 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11302
11303 2017-12-08 Yao Qi <yao.qi@linaro.org>
11304
11305 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11306 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11307
11308 2017-12-08 Yao Qi <yao.qi@linaro.org>
11309
11310 * gdb.arch/aarch64-tagged-pointer.c: New file.
11311 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11312
11313 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11314
11315 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11316 "int".
11317
11318 2017-12-07 Keith Seitz <keiths@redhat.com>
11319
11320 PR breakpoints/22569
11321 * gdb.linespec/ls-errs.exp: Change expected result of "break
11322 -source this file has spaces.c -line 3".
11323 Check that an explicit source file followed by whitespace is
11324 identified as an invalid explicit location.
11325
11326 2017-12-07 Keith Seitz <keiths@redhat.com>
11327
11328 * gdb.cp/nested-types.cc: New file.
11329 * gdb.cp/nested-types.exp: New file.
11330 * lib/cp-support.exp: Load data-structures.exp library.
11331 (debug_cp_test_ptype_class): New global.
11332 (cp_ptype_class_verbose, next_line): New procedures.
11333 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11334 Add and document new return value.
11335 Switch the list of lines to a queue.
11336 Add support for new `type' key for nested type definitions.
11337 Add debugging/troubleshooting messages.
11338 * lib/data-structures.exp: New file.
11339
11340 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11341
11342 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11343 with proc_with_prefix, don't use with_test_prefix.
11344
11345 2017-12-07 Tom Tromey <tom@tromey.com>
11346
11347 * gdb.base/break.exp: Add test for empty "commands".
11348
11349 2017-12-07 Yao Qi <yao.qi@linaro.org>
11350
11351 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11352 malloc and catch syscall.
11353
11354 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11355
11356 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
11357 tests for explicit locations.
11358
11359 2017-12-06 Pedro Alves <palves@redhat.com>
11360
11361 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11362 force-disabling XML descriptions.
11363
11364 2017-12-04 Pedro Alves <palves@redhat.com>
11365
11366 PR gdb/22499
11367 * gdb.arch/amd64-disp-step-avx.S: New file.
11368 * gdb.arch/amd64-disp-step-avx.exp: New file.
11369
11370 2017-12-03 Pedro Alves <palves@redhat.com>
11371
11372 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11373 and <string.h>.
11374 (parent_function): Print distinct messages when waitpid fails, or
11375 the child exits with a signal, or the child exits for an unhandled
11376 reason.
11377 * gdb.threads/process-dies-while-detaching.exp
11378 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11379 it. Wait for both inferior output and GDB's prompt. Use an
11380 indirect spawn id list.
11381 (do_detach): New parameter 'child_exit'. Use it to compute
11382 expected inferior output.
11383 (test_detach, test_detach_watch, test_detach_killed_outside):
11384 Adjust to pass down the expected child exit kind.
11385
11386 2017-12-01 Joel Brobecker <brobecker@adacore.com>
11387 Sergio Durigan Junior <sergiodj@redhat.com>
11388 Pedro Alves <palves@redhat.com>
11389
11390 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11391
11392 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11393
11394 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11395 to 'symbol-file' and 'add-symbol-file' can be
11396 position-independent.
11397
11398 2017-12-01 Yao Qi <yao.qi@linaro.org>
11399
11400 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11401 the URL in copyright header.
11402 * gdb.arch/aarch64-fp.exp: Likewise.
11403 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11404 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11405 * gdb.base/expand-psymtabs.exp: Likewise.
11406 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11407 * gdb.fortran/common-block.exp: Likewise.
11408 * gdb.fortran/common-block.f90: Likewise.
11409 * gdb.fortran/logical.exp: Likewise.
11410 * gdb.fortran/vla-datatypes.f90: Likewise.
11411 * gdb.fortran/vla-sub.f90: Likewise.
11412
11413 2017-11-30 Joel Brobecker <brobecker@adacore.com>
11414
11415 * gdb.ada/repeat_dyn: New testcase.
11416
11417 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11418
11419 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11420 Update for changed thread numbering.
11421 * gdb.cell/bt.exp: Update for changed GDB output.
11422
11423 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11424
11425 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11426 setting isremote by hand.
11427 * boards/dwarf4-gdb-index.exp: Likewise.
11428 * boards/fission.exp: Likewise.
11429 * boards/stabs.exp: Likewise.
11430
11431 2017-11-30 Pedro Alves <palves@redhat.com>
11432
11433 * gdb.linespec/cpls-ops.exp
11434 (check_explicit_skips_function_argument): Extract the underlying
11435 type of size_t instead of hardcoding it.
11436
11437 2017-11-29 Pedro Alves <palves@redhat.com>
11438
11439 PR c++/19436
11440 * gdb.linespec/cpls-abi-tag.cc: New file.
11441 * gdb.linespec/cpls-abi-tag.exp: New file.
11442
11443 2017-11-29 Pedro Alves <palves@redhat.com>
11444
11445 * gdb.base/langs.exp: Use -qualified.
11446 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11447 it.
11448 * gdb.cp/namespace.exp: Use -qualified.
11449 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11450 (overload-3, template-overload, template-ret-type, const-overload)
11451 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11452 procedures.
11453 (test_driver): Call them.
11454 * gdb.cp/save-bp-qualified.cc: New.
11455 * gdb.cp/save-bp-qualified.exp: New.
11456 * gdb.linespec/explicit.exp: Test -qualified.
11457 * lib/completion-support.exp (completion::explicit_opts_list): Add
11458 "-qualified".
11459 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11460
11461 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11462
11463 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11464
11465 2017-11-29 Tom Tromey <tom@tromey.com>
11466
11467 * gdb.base/relocate.exp: Update invalid argument test.
11468 Add new tests for invalid arguments.
11469
11470 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11471
11472 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11473 Return 0 as a long.
11474 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11475
11476 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11477
11478 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11479 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11480 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11481 func ().
11482 * gdb.cp/shadow.cc (B.func): Return 0.
11483
11484 2017-11-27 Joel Brobecker <brobecker@adacore.com>
11485
11486 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11487 expected output in gdb_expect call to allow the exception
11488 message to be present as well. Fix syntax confusion to avoid
11489 TCL thinking that exception_name is an array.
11490
11491 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11492
11493 * gdb.arch/spu-info.c: Include <unistd.h>.
11494 (do_signal_test): Fix broken calls to write.
11495 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11496 Fix checks for empty mailboxes. Update signal tests for corrected
11497 do_signal_test routine. Allow nonzero event status.
11498 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11499 * gdb.cell/arch.exp: Use standard_output_file.
11500 * gdb.cell/break.exp: Likewise.
11501 * gdb.cell/bt.exp: Likewise.
11502 * gdb.cell/core.exp: Likewise.
11503 * gdb.cell/dwarfaddr.exp: Likewise.
11504 * gdb.cell/ea-cache.exp: Likewise.
11505 * gdb.cell/ea-standalone.exp: Likewise.
11506 * gdb.cell/f-regs.exp: Likewise.
11507 * gdb.cell/fork.exp: Likewise.
11508 * gdb.cell/gcore.exp: Likewise.
11509 * gdb.cell/mem-access.exp: Likewise.
11510 * gdb.cell/ptype.exp: Likewise.
11511 * gdb.cell/registers.exp: Likewise.
11512 * gdb.cell/sizeof.exp: Likewise.
11513 * gdb.cell/solib-symbol.exp: Likewise.
11514 * gdb.cell/solib.exp: Likewise.
11515
11516 2017-11-25 Pedro Alves <palves@redhat.com>
11517
11518 * gdb.base/complete-empty.exp: New file.
11519 * gdb.base/completion.exp: Adjust.
11520
11521 2017-11-25 Pedro Alves <palves@redhat.com>
11522
11523 * gdb.linespec/cpls-ops.cc: New file.
11524 * gdb.linespec/cpls-ops.exp: New file.
11525 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11526 factored out from ...
11527 (test_complete_prefix_range): ... this.
11528
11529 2017-11-24 Pedro Alves <palves@redhat.com>
11530
11531 * gdb.linespec/cpcompletion.exp: New file.
11532 * gdb.linespec/cpls-hyphen.cc: New file.
11533 * gdb.linespec/cpls.cc: New file.
11534 * gdb.linespec/cpls2.cc: New file.
11535 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11536 test to use test_gdb_complete_unique. Add label completion,
11537 keyword completion and explicit location completion tests.
11538 * lib/completion-support.exp: New file.
11539
11540 2017-11-24 Joel Brobecker <brobecker@adacore.com>
11541
11542 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11543 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11544 when hitting an exception catchpoint.
11545
11546 2017-11-22 Yao Qi <yao.qi@linaro.org>
11547
11548 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11549
11550 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11551
11552 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11553 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11554 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11555
11556 2017-11-22 Yao Qi <yao.qi@linaro.org>
11557
11558 * gdb.base/info-os.exp: Pass pthreads.
11559 * gdb.multi/multi-attach.exp: Likewise.
11560
11561 2017-11-22 Yao Qi <yao.qi@linaro.org>
11562
11563 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11564 compiler.
11565
11566 2017-11-22 Yao Qi <yao.qi@linaro.org>
11567
11568 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11569 * gdb.base/break-interp.exp: Likewise.
11570 * gdb.base/jit-attach-pie.exp: Likewise.
11571
11572 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11573
11574 * gdb.base/float128.c (large128): New variable.
11575 * gdb.base/float128.exp: Add test to print largest __float128 value.
11576
11577 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11578
11579 * gdb.arch/vsx-regs.exp: Update register content checks.
11580
11581 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11582
11583 * gdb.arch/ppc-longdouble.exp: New file.
11584 * gdb.arch/ppc-longdouble.c: Likewise.
11585
11586 2017-11-21 Pedro Alves <palves@redhat.com>
11587
11588 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11589
11590 2017-11-20 Pedro Alves <palves@redhat.com>
11591
11592 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11593 (long_double_typedef): New typedefs.
11594 Use DEF on double and long double.
11595 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11596 cases.
11597 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11598 and 'long_double_ptr_same_size' locals. Use them to decide
11599 whether cast from array/function to float is valid/invalid.
11600
11601 2017-11-17 Tom Tromey <tom@tromey.com>
11602
11603 * gdb.rust/traits.rs: New file.
11604 * gdb.rust/traits.exp: New file.
11605
11606 2017-11-17 Joel Brobecker <brobecker@adacore.com>
11607
11608 * gdb.ada/minsyms: New testcase.
11609
11610 2017-11-16 Pedro Alves <palves@redhat.com>
11611
11612 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11613 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11614
11615 2017-11-16 Pedro Alves <palves@redhat.com>
11616
11617 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11618 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11619
11620 2017-11-16 Pedro Alves <palves@redhat.com>
11621
11622 * gdb.server/reconnect-ctrl-c.c: New file.
11623 * gdb.server/reconnect-ctrl-c.exp: New file.
11624
11625 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11626
11627 * gdb.python/py-rbreak.exp: New file.
11628 * gdb.python/py-rbreak.c: New file.
11629 * gdb.python/py-rbreak-func2.c: New file.
11630
11631 2017-11-16 Pedro Alves <palves@redhat.com>
11632
11633 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11634 pattern.
11635 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11636 GDB.
11637
11638 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11639
11640 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11641 regex.
11642
11643 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11644
11645 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11646 test names.
11647
11648 2017-11-09 Pedro Alves <palves@redhat.com>
11649
11650 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11651 factored out from ...
11652 (top level): ... here, and adjusted to avoid expecting beyond the
11653 prompt in a single gdb_test_multiple.
11654
11655 2017-11-09 Pedro Alves <palves@redhat.com>
11656
11657 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11658 output.
11659 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11660 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11661 * gdb.server/ext-run.exp ("kill" test): Likewise.
11662 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11663
11664 2017-11-09 Pedro Alves <palves@redhat.com>
11665
11666 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11667 match till end of line.
11668
11669 2017-11-09 Pedro Alves <palves@redhat.com>
11670
11671 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11672
11673 2017-11-09 Pedro Alves <palves@redhat.com>
11674
11675 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11676 New procedures, factored out from ...
11677 (top level): ... here, and adjusted to avoid expecting beyond the
11678 prompt in one go.
11679
11680 2017-11-09 Pedro Alves <palves@redhat.com>
11681
11682 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11683 output. Fix '?' match.
11684
11685 2017-11-08 Joel Brobecker <brobecker@adacore.com>
11686
11687 * gdb.ada/scoped_watch: New testcase.
11688 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11689 which is actually correct.
11690 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11691 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11692
11693 2017-11-08 Pedro Alves <palves@redhat.com>
11694
11695 * gdb.gdb/complaints.exp (test_initial_complaints)
11696 (test_serial_complaints, test_short_complaints): Call
11697 complaint_internal instead of complaint.
11698
11699 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11700
11701 * gdb.threads/tls-core.c: New file.
11702 * gdb.threads/tls-core.exp: Likewise.
11703
11704 2017-11-08 Pedro Alves <palves@redhat.com>
11705
11706 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11707 (p Exported_Capitalized): New test.
11708 (p exported_capitalized): New test.
11709
11710 2017-11-07 Pedro Alves <palves@redhat.com>
11711
11712 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11713
11714 2017-11-07 Pedro Alves <palves@redhat.com>
11715
11716 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11717 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11718 (disable_invalid, disable_inverted, disable_negative): New
11719 procedures.
11720 ("bad numbers"): New set of tests.
11721
11722 2017-11-07 Pedro Alves <palves@redhat.com>
11723
11724 * gdb.cp/ena-dis-br-range.exp: Add tests.
11725
11726 2017-11-07 Pedro Alves <palves@redhat.com>
11727
11728 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11729
11730 2017-11-07 Xavier Roirand <roirand@adacore.com>
11731 Pedro Alves <palves@redhat.com>
11732
11733 * gdb.base/ena-dis-br.exp: Add reference to
11734 gdb.cp/ena-dis-br-range.exp.
11735 * gdb.cp/ena-dis-br-range.exp: New file.
11736 * gdb.cp/ena-dis-br-range.cc: New file.
11737
11738 2017-11-06 Pedro Alves <palves@redhat.com>
11739
11740 * gdb.base/attach-non-pgrp-leader.c: New.
11741 * gdb.base/attach-non-pgrp-leader.exp: New.
11742
11743 2017-11-06 Pedro Alves <palves@redhat.com>
11744
11745 * configure.ac: No longer check for termio.h and sgtty.h.
11746 * configure: Regenerate.
11747 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11748 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11749 Remove termio and sgtty code.
11750
11751 2017-11-03 Yao Qi <yao.qi@linaro.org>
11752
11753 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11754 in GDB is disabled.
11755
11756 2017-11-03 Yao Qi <yao.qi@linaro.org>
11757
11758 * gdb.python/py-thrhandle.exp: Skip it if python is not
11759 enabled.
11760
11761 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11762
11763 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11764 as a breakpoint command.
11765
11766 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11767
11768 PR python/21213
11769 * gdb.python/py-infthread.exp: Test calling
11770 InferiorThread.inferior () multiple times in a row.
11771
11772 2017-10-27 Keith Seitz <keiths@redhat.com>
11773
11774 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11775 Test "info break" for every inlined function breakpoint.
11776
11777 2017-10-27 Yao Qi <yao.qi@linaro.org>
11778
11779 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11780
11781 2017-10-26 Patrick Frants <osscontribute@gmail.com>
11782
11783 * gdb.cp/classes.exp (test_static_members): Test printing
11784 Outer::instance.
11785 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11786 (Inner::instance, Outer::instance): New.
11787
11788 2017-10-24 Pedro Alves <palves@redhat.com>
11789
11790 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11791 extra console" test in two stages.
11792
11793 2017-10-24 Pedro Alves <palves@redhat.com>
11794
11795 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11796
11797 2017-10-24 Pedro Alves <palves@redhat.com>
11798
11799 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11800 loop.
11801
11802 2017-10-24 Pedro Alves <palves@redhat.com>
11803
11804 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11805 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11806
11807 2017-10-24 Pedro Alves <palves@redhat.com>
11808
11809 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11810 parameter and handle it. Don't output read value in test name.
11811
11812 2017-10-24 Pedro Alves <palves@redhat.com>
11813
11814 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11815 custom test name.
11816
11817 2017-10-24 Pedro Alves <palves@redhat.com>
11818
11819 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11820 include the unstable output directory name in the test's name.
11821 (initial_setup_simple) <'set args'>: Use custom test name.
11822
11823 2017-10-24 Pedro Alves <palves@redhat.com>
11824
11825 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11826 with explicit test name.
11827
11828 2017-10-20 Pedro Alves <palves@redhat.com>
11829
11830 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11831 'wait -i'. Use gdb_assert and remote_close.
11832
11833 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11834
11835 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11836 number from variable rather than hard-coded.
11837
11838 2017-10-19 Pedro Alves <palves@redhat.com>
11839
11840 * gdb.base/long-inferior-output.c: New file.
11841 * gdb.base/long-inferior-output.exp: New file.
11842
11843 2017-11-18 Keith Seitz <keiths@redhat.com>
11844
11845 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11846 method.
11847 (main): Call it.
11848 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11849 Add additional user-defined conversion operator tests.
11850
11851 2017-10-17 Pedro Alves <palves@redhat.com>
11852
11853 * boards/native-stdio-gdbserver.exp: Load "local-board".
11854
11855 2017-10-17 Pedro Alves <palves@redhat.com>
11856
11857 * gdb.base/quit-live.c: New file.
11858 * gdb.base/quit-live.exp: New file.
11859
11860 2017-10-16 Keith Seitz <keiths@redhat.com>
11861
11862 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11863 (class_with_protected_typedef, class_with_private_typedef)
11864 (struct_with_public_typedef, struct_with_protected_typedef)
11865 (struct_with_private_typedef): New classes/structs.
11866 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11867 typedefs and access specifiers.
11868
11869 2017-10-16 Pedro Alves <palves@redhat.com>
11870 Simon Marchi <simon.marchi@polymtl.ca>
11871
11872 * README (Local vs Remote vs Native): New section.
11873 * boards/local-board.exp: New file, with bits factored out from
11874 ...
11875 * boards/native-extended-gdbserver.exp: ... here. Load
11876 "local-board".
11877 * boards/native-gdbserver.exp: Load "local-board".
11878 (${board}_spawn, ${board}_exec): Delete.
11879 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11880 ...
11881 * boards/stdio-gdbserver-base.exp: ... this new file.
11882 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11883 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11884 procedure.
11885 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11886 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11887 stdio_gdbserver_command.
11888 (${board}_get_remote_address, ${board}_get_comm_port)
11889 (${board}_download, ${board}_upload): Delete.
11890 (get_target_remote_pipe_cmd): New.
11891
11892 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11893
11894 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11895 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11896 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11897 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11898 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11899 remove with_test_prefix.
11900
11901 2017-10-13 Pedro Alves <palves@redhat.com>
11902
11903 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11904 * gdb.base/annota1.exp: Use it instead of is_remote.
11905 * gdb.base/annota3.exp: Use it instead of is_remote.
11906 * gdb.cp/annota2.exp: Use it instead of is_remote.
11907 * gdb.cp/annota3.exp: Use it instead of is_remote.
11908 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11909
11910 2017-10-13 Pedro Alves <palves@redhat.com>
11911
11912 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11913 (test_num_test_vars, run_and_count_vars, find_env)
11914 (test_set_unset_env, test_inherit_env_var): New procedures.
11915 (top level): Use them.
11916
11917 2017-10-13 Pedro Alves <palves@redhat.com>
11918
11919 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11920 also skip on stub-like targets.
11921
11922 2017-10-13 Pedro Alves <palves@redhat.com>
11923
11924 PR gdb/22293
11925 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11926 (top level): Move some tests to ...
11927 (test_not_found): ... this new procedure.
11928 (top level): Call it.
11929
11930 2017-10-13 Pedro Alves <palves@redhat.com>
11931
11932 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11933 expect different "info terminal" output if testing with a
11934 non-native target.
11935
11936 2017-10-13 Pedro Alves <palves@redhat.com>
11937 Simon Marchi <simon.marchi@polymtl.ca>
11938
11939 PR python/12966
11940 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11941
11942 2017-10-13 Pedro Alves <palves@redhat.com>
11943
11944 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11945 already.
11946
11947 2017-10-13 Pedro Alves <palves@redhat.com>
11948
11949 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11950 is_remote.
11951
11952 2017-10-13 Pedro Alves <palves@redhat.com>
11953
11954 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11955 is_remote.
11956
11957 2017-10-13 Pedro Alves <palves@redhat.com>
11958
11959 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11960 is set.
11961 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11962 instead of is_remote.
11963
11964 2017-10-13 Pedro Alves <palves@redhat.com>
11965
11966 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11967 (top level): Add comment.
11968
11969 2017-10-13 Pedro Alves <palves@redhat.com>
11970
11971 * gdb.base/remote.exp (top level): Fix comment typo and add
11972 missing return.
11973
11974 2017-10-13 Pedro Alves <palves@redhat.com>
11975 Simon Marchi <simon.marchi@polymtl.ca>
11976
11977 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11978 calls and add comments. Skip test if use_gdb_stub is set.
11979 (top level): Use "set cwd" command instead of "cd" command.
11980
11981 2017-10-13 Pedro Alves <palves@redhat.com>
11982
11983 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11984 is_remote target check.
11985
11986 2017-10-13 Pedro Alves <palves@redhat.com>
11987
11988 * gdb.base/scope.exp: Use build_executable + clean_restart +
11989 gdb_file_cmd instead of prepare_for_testing and no longer skip
11990 "before run" tests on is_remote target boards. Update comments.
11991 * boards/native-extended-gdbserver.exp
11992 (extended_gdbserver_load_last_file): New, factored out from ...
11993 (gdb_load): ... this. Move further below and add comment.
11994 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11995
11996 2017-10-12 Pedro Alves <palves@redhat.com>
11997
11998 * gdb.base/attach.exp: Remove references to gdb64.
11999 * gdb.base/dbx.exp: Remove references to gdb64.
12000
12001 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12002 Pedro Alves <palves@redhat.com>
12003
12004 * gdb.base/label.exp: Remove is_remote target check.
12005
12006 2017-10-12 Pedro Alves <palves@redhat.com>
12007
12008 * gdb.base/auvx.exp (coredir): Update comment.
12009 (top level) <core_works>: Use "set cwd" command instead of "cd"
12010 command.
12011
12012 2017-10-12 Pedro Alves <palves@redhat.com>
12013 Simon Marchi <simon.marchi@polymtl.ca>
12014
12015 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12016 target boards.
12017
12018 2017-10-12 Pedro Alves <palves@redhat.com>
12019 Simon Marchi <simon.marchi@polymtl.ca>
12020
12021 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12022 Instead skip if there's any gdb_protocol set.
12023
12024 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12025 Pedro Alves <palves@redhat.com>
12026
12027 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12028
12029 2017-10-12 Pedro Alves <palves@redhat.com>
12030 Simon Marchi <simon.marchi@polymtl.ca>
12031
12032 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12033 instead of on dejagnu remote boards.
12034
12035 2017-10-12 Pedro Alves <palves@redhat.com>
12036 Simon Marchi <simon.marchi@polymtl.ca>
12037
12038 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12039 checks. Use build_executable + clean_restart instead of
12040 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12041 of enabling non-stop after starting gdb.
12042
12043 2017-10-12 Pedro Alves <palves@redhat.com>
12044
12045 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12046 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12047 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12048 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12049
12050 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12051
12052 * gdb.arch/arc-tdesc-cpu.exp: New file.
12053 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12054
12055 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12056
12057 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12058
12059 2017-10-10 Pedro Alves <palves@redhat.com>
12060
12061 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12062 expect CLI output.
12063
12064 2017-10-10 Pedro Alves <palves@redhat.com>
12065
12066 * lib/selftest-support.exp (selftest_setup): Update for
12067 captured_command_loop's prototype change.
12068
12069 2017-10-09 Pedro Alves <palves@redhat.com>
12070
12071 Test both arch1=>arch2 and arch2=>arch1.
12072
12073 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12074 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12075 factored out to...
12076 (append_arch1_options, append_arch2_options, append_arch_options)
12077 (build_executables): New procedures.
12078 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12079 local.
12080 (top level): Add new 'first_arch' testing axis.
12081
12082 2017-10-09 Pedro Alves <palves@redhat.com>
12083
12084 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12085 (barrier): New.
12086 (thread_start, all_started): New functions.
12087 (main): Spawn new thread and wait until it is scheduled.
12088 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12089 option.
12090 (do_test): Add 'selected_thread' parameter. Run to all_started
12091 instead of main. Explicitly set the breakpoint at main. Switch
12092 to the SELECTED_THREAD thread.
12093 (top level): Test handling the exec event with either the main
12094 thread or the second thread selected.
12095
12096 2017-10-09 Pedro Alves <palves@redhat.com>
12097
12098 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12099 logic. Move STOP marker after the value checks.
12100 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12101 regexp.
12102
12103 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12104
12105 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12106
12107 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12108
12109 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12110 integer-to-dfp conversion.
12111 * gdb.base/dfp-test.exp: Likewise.
12112
12113 2017-10-04 Pedro Alves <palves@redhat.com>
12114
12115 * gdb.multi/hangout.c: Include <unistd.h>.
12116 (hangout_loop): New function.
12117 (main): Call alarm. Call hangout_loop in a loop.
12118 * gdb.multi/hello.c: Include <unistd.h>.
12119 (hello_loop): New function.
12120 (main): Call alarm. Call hangout_loop in a loop.
12121 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12122 inferior with the other selected.
12123
12124 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12125
12126 * gdb.mi/list-thread-groups-available.exp: New file.
12127 * gdb.mi/list-thread-groups-available.c: New file.
12128
12129 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12130
12131 * gdb.base/set-cwd.exp: Make it available on
12132 native-extended-gdbserver.
12133
12134 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12135
12136 * gdb.base/set-cwd.c: New file.
12137 * gdb.base/set-cwd.exp: Likewise.
12138
12139 2017-10-02 Tom Tromey <tom@tromey.com>
12140
12141 PR rust/22236:
12142 * gdb.rust/simple.rs (main): New variable "fslice".
12143 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12144
12145 2017-10-02 Tom Tromey <tom@tromey.com>
12146
12147 * gdb.rust/simple.exp: Test ptype of a slice.
12148
12149 2017-10-02 Tom Tromey <tom@tromey.com>
12150
12151 * gdb.rust/simple.exp: Test index of slice.
12152
12153 2017-09-27 Tom Tromey <tom@tromey.com>
12154
12155 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12156
12157 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12158 Pedro Alves <palves@redhat.com>
12159
12160 * gdb.base/compare-sections.exp (get value of read-only section): Read
12161 as unsigned value.
12162 (corrupt read-only section): Likewise and don't set written if patching
12163 failed.
12164
12165 2017-09-21 Kevin Buettner <kevinb@redhat.com>
12166
12167 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12168 files.
12169
12170 2017-09-20 Pedro Alves <palves@redhat.com>
12171
12172 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12173 symbol names in gdb's output.
12174 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12175
12176 2017-09-20 Pedro Alves <palves@redhat.com>
12177
12178 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12179 Rename to ...
12180 (test_list_ambiguous_symbol): ... this and add a symbol name
12181 parameter. Adjust.
12182 (test_list_ambiguous_function): Reimplement on top of
12183 test_list_ambiguous_symbol and also test listing ambiguous
12184 variables.
12185 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12186 (ambiguous_fun): ... this.
12187 (ambiguous_var): New.
12188 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12189 (ambiguous_fun): ... this.
12190 (ambiguous_var): New.
12191
12192 2017-09-19 John Baldwin <jhb@FreeBSD.org>
12193
12194 * gdb.base/starti.c: New file.
12195 * gdb.base/starti.exp: New file.
12196 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12197
12198 2017-09-14 Pedro Alves <palves@redhat.com>
12199
12200 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12201 (top level): Use it instead of runto.
12202
12203 2017-09-11 Tom Tromey <tom@tromey.com>
12204
12205 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12206
12207 2017-09-11 Tom Tromey <tom@tromey.com>
12208
12209 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12210 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12211
12212 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12213
12214 * gdb.fortran/printing-types.exp: New file.
12215 * gdb.fortran/printing-types.exp: New file.
12216
12217 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12218
12219 * gdb.fortran/vla-ptype.exp: Fix typos.
12220 * gdb.fortran/vla-value.exp: Same.
12221
12222 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12223
12224 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12225 * gdb.mi/mi-var-child-f.exp: Likewise.
12226 * gdb.mi/mi-vla-fortran.exp: Likewise.
12227
12228 2017-09-08 Frank Penczek <frank.penczek@intel.com>
12229 Christoph Weinmann <christoph.t.weinmann@intel.com>
12230 Bernhard Heckel <bernhard.heckel@intel.com>
12231
12232 * gdb.fortran/ptr-indentation.f90: New file.
12233 * gdb.fortran/ptr-indentation.exp: New file.
12234
12235 2017-09-05 Tom Tromey <tom@tromey.com>
12236
12237 PR gdb/22010:
12238 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12239
12240 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12241
12242 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12243
12244 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12245
12246 * gdb.threads/tls-nodebug-pie.c: New file.
12247 * gdb.threads/tls-nodebug-pie.exp: New file.
12248
12249 2017-09-05 Tom Tromey <tom@tromey.com>
12250
12251 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12252 for rust.
12253
12254 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12255
12256 * gdb.multi/multi-arch-exec.exp: Test with different
12257 "follow-exec-mode" settings.
12258 (do_test): New procedure.
12259
12260 2017-09-04 Pedro Alves <palves@redhat.com>
12261
12262 * gdb.base/func-static.c (S::method const, S::method volatile)
12263 (S::method volatile const): New methods.
12264 (c_s, v_s, cv_s): New instances.
12265 (main): Call method() on them.
12266 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12267 (cannot_resolve): New procedure.
12268 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12269 print-quote-unquoted columns.
12270 (do_test): Test printing each scope too.
12271
12272 2017-09-04 Pedro Alves <palves@redhat.com>
12273
12274 * gdb.base/local-static.exp: Also test with
12275 class::method::variable wholly quoted.
12276 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12277
12278 2017-09-04 Pedro Alves <palves@redhat.com>
12279
12280 * gdb.base/local-static.c: New.
12281 * gdb.base/local-static.cc: New.
12282 * gdb.base/local-static.exp: New.
12283
12284 2017-09-04 Pedro Alves <palves@redhat.com>
12285
12286 * gdb.asm/asm-source.exp: Add casts to int.
12287 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12288 (dataglobal64_1, dataglobal64_2): New globals.
12289 * gdb.base/nodebug.exp: Test different expressions involving the
12290 new globals, with print, whatis and ptype. Add casts to int.
12291 * gdb.base/solib-display.exp: Add casts to int.
12292 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12293 * gdb.cp/m-static.exp: Add cast to int.
12294 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12295 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12296 tls variable with no debug info without a cast. Test with a cast
12297 to int too.
12298 * gdb.trace/entry-values.exp: Add casts.
12299
12300 2017-09-04 Pedro Alves <palves@redhat.com>
12301
12302 * gdb.base/nodebug.exp: Test that ptype's error about functions
12303 with unknown return type includes the function name too.
12304
12305 2017-09-04 Pedro Alves <palves@redhat.com>
12306
12307 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12308 return type of munmap in infcall.
12309 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12310 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12311 type of ftell in infcall.
12312 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12313 type of getpid in infcall.
12314 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12315 infcall.
12316 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12317 Bail on failure to extract the pid.
12318 * gdb.base/nodebug.c: #include <stdint.h>.
12319 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12320 New functions.
12321 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12322 Change expected output of print/whatis/ptype with functions with
12323 no debug info. Test all supported languages. Call
12324 test_call_promotion.
12325 * gdb.compile/compile.exp: Adjust expected output to expect
12326 warning.
12327 * gdb.threads/siginfo-threads.exp: Likewise.
12328
12329 2017-09-04 Pedro Alves <palves@redhat.com>
12330
12331 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12332 "prototypes". Test calling float functions via prototyped and
12333 unprototyped function pointers.
12334 (perform_all_tests): New parameter "prototypes". Pass it down.
12335 (top level): Pass down "prototypes" parameter to
12336 perform_all_tests.
12337
12338 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12339
12340 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12341 Test with nested loops.
12342
12343 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12344
12345 * gdb.base/commands.exp: Call the new procedures.
12346 (loop_break_test, loop_continue_test): New procedures.
12347
12348 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12349
12350 * gdb.base/commands.exp: Call new procedure.
12351 (define_if_without_arg_test): New procedure.
12352
12353 2017-09-04 Pedro Alves <palves@redhat.com>
12354
12355 * gdb.base/list-ambiguous.exp: New file.
12356 * gdb.base/list-ambiguous0.c: New file.
12357 * gdb.base/list-ambiguous1.c: New file.
12358 * gdb.base/list.exp (test_list_range): Adjust expected output.
12359
12360 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12361
12362 * gdb.base/share-env-with-gdbserver.c: New file.
12363 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12364
12365 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12366
12367 * gdb.base/commands.exp (gdbvar_simple_if_test,
12368 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12369 progvar_simple_if_test, progvar_simple_while_test,
12370 progvar_complex_if_while_test, user_defined_command_test,
12371 user_defined_command_args_eval,
12372 user_defined_command_args_stack_test,
12373 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12374 temporary_breakpoint_commands,
12375 gdb_test_no_prompt, redefine_hook_test,
12376 redefine_backtrace_test): Remove "global gdb_prompt".
12377
12378 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12379
12380 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12381 New proc, call it from toplevel.
12382
12383 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12384
12385 PR remote/21852
12386 * gdb.server/normal.c: New file, copied from gdb.base.
12387 * gdb.server/run-without-local-binary.exp: New file.
12388
12389 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
12390
12391 * gdb.arch/sparc64-adi.exp: New file.
12392 * gdb.arch/sparc64-adi.c: New file.
12393
12394 2017-08-22 Pedro Alves <palves@redhat.com>
12395
12396 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12397 (top level): Add "list all overloads" tests.
12398
12399 2017-08-22 Tom Tromey <tom@tromey.com>
12400
12401 * gdb.gdb/xfullpath.exp: Remove.
12402
12403 2017-08-21 Pedro Alves <palves@redhat.com>
12404
12405 PR gdb/19487
12406 * gdb.base/symbol-alias.c: New.
12407 * gdb.base/symbol-alias2.c: New.
12408 * gdb.base/symbol-alias.exp: New.
12409
12410 2017-08-21 Pedro Alves <palves@redhat.com>
12411
12412 * gdb.base/dfp-test.c
12413 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12414 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12415 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12416 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12417 * gdb.base/whatis-ptype-typedefs.c: New.
12418 * gdb.base/whatis-ptype-typedefs.exp: New.
12419 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12420 (an_int, an_int_type, an_int_type2): New globals.
12421 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12422 involving typedefs and cast expressions.
12423 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12424 (lookup_typedefs_function): New.
12425 (typedefs_pretty_printers_dict): New.
12426 (top level): Register lookup_typedefs_function in
12427 gdb.pretty_printers.
12428
12429 2017-08-18 Yao Qi <yao.qi@linaro.org>
12430
12431 * gdb.server/unittest.exp: New.
12432
12433 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12434
12435 PR gdb/21954
12436 * gdb.base/environ.exp: Add test to check if 'unset environment'
12437 works.
12438
12439 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12440
12441 * lib/gdb.exp (universal_compile_options): New caching proc.
12442 (gdb_compile): Suppress GCC's coloring of messages.
12443
12444 2017-08-14 Tom Tromey <tom@tromey.com>
12445
12446 PR gdb/21675:
12447 * gdb.base/printcmds.exp (test_radices): New function.
12448 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12449 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12450 * lib/gdb.exp (get_integer_valueof): Use p/d.
12451
12452 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12453
12454 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12455 characters.
12456
12457 2017-08-05 Tom Tromey <tom@tromey.com>
12458
12459 * gdb.rust/simple.exp: Allow String to appear in a different
12460 namespace.
12461
12462 2017-07-26 Yao Qi <yao.qi@linaro.org>
12463
12464 * gdb.gdb/unittest.exp: Invoke command
12465 "maintenance check xml-descriptions".
12466
12467 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12468
12469 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12470 calling context.
12471 (hex128): Drop erroneous calculation of parameters.
12472
12473 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12474
12475 * gdb.python/py-unwind.exp: Disable stack protection when
12476 building test file.
12477
12478 2017-07-20 Pedro Alves <palves@redhat.com>
12479
12480 * gdb.base/default.exp (set language): Adjust expected output.
12481
12482 2017-07-20 Pedro Alves <palves@redhat.com>
12483
12484 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12485 (test_minsym): ... this, and make static.
12486 (get_pck__foo__bar__minsym): Rename to ...
12487 (get_test_minsym): ... this.
12488 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12489 symbol names and comments.
12490 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12491 (get_test_minsym): ... this.
12492 (pck__foo__bar__minsym__2): Rename to ...
12493 (test_minsym): ... this.
12494 (main): Adjust.
12495
12496 2017-07-17 Pedro Alves <palves@redhat.com>
12497
12498 * gdb.base/completion.exp: Adjust expected output.
12499 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12500 the completer works.
12501
12502 2017-07-17 Pedro Alves <palves@redhat.com>
12503
12504 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12505
12506 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12507
12508 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12509
12510 2017-07-14 Tom Tromey <tom@tromey.com>
12511
12512 PR rust/21764:
12513 * gdb.rust/simple.exp: Add tests.
12514
12515 2017-07-14 Tom Tromey <tom@tromey.com>
12516
12517 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12518
12519 2017-07-14 Pedro Alves <palves@redhat.com>
12520
12521 * gdb.linespec/base/one/thefile.cc (z1): New function.
12522 * gdb.linespec/base/two/thefile.cc (z2): New function.
12523 * gdb.linespec/linespec.exp: Add tests.
12524
12525 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12526
12527 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12528 to mi_create_breakpoint.
12529
12530 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12531
12532 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12533 mi_create_breakpoint.
12534
12535 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12536
12537 * gdb.dlang/demangle.exp: Update for demangling changes.
12538
12539 2017-07-09 Tom Tromey <tom@tromey.com>
12540
12541 * gdb.dwarf2/shortpiece.exp: New file.
12542
12543 2017-07-06 David Blaikie <dblaikie@gmail.com>
12544
12545 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12546 built from fissiont-multi-cu{1,2}.c.
12547 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12548 except putting 'main' and 'func' in separate CUs in the same DWO file.
12549 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12550 test.
12551 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12552 test.
12553
12554 2017-07-06 Pedro Alves <palves@redhat.com>
12555
12556 * gdb.python/py-unwind.exp: Test flushregs.
12557
12558 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12559
12560 PR cli/21688
12561 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12562 tests for alias commands and trailing whitespace.
12563
12564 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12565
12566 PR cli/21688
12567 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12568 procedure. Call it.
12569
12570 2017-06-29 Pedro Alves <palves@redhat.com>
12571
12572 * gdb.base/printcmds.exp: Add tests.
12573
12574 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12575
12576 PR gdb/21337
12577 * gdb.base/reread-readsym.exp: New file.
12578 * gdb.base/reread-readsym.c: New file.
12579
12580 2017-06-21 Kevin Buettner <kevinb@redhat.com>
12581
12582 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12583 subpattern.
12584
12585 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12586
12587 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12588 extended mnemonic.
12589 * gdb.arch/powerpc-power9.s: Likewise.
12590
12591 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12592
12593 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12594 on 32-bit x86 targets. Exploit is_*_target macros where
12595 appropriate.
12596
12597 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12598
12599 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12600 register pieces.
12601
12602 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12603
12604 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12605 located in one or more DWARF pieces.
12606
12607 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12608
12609 * lib/gdb.exp (get_endianness): New proc.
12610 * gdb.arch/aarch64-fp.exp: Use it.
12611 * gdb.arch/altivec-regs.exp: Likewise.
12612 * gdb.arch/e500-regs.exp: Likewise.
12613 * gdb.arch/vsx-regs.exp: Likewise.
12614 * gdb.base/dump.exp: Likewise.
12615 * gdb.base/funcargs.exp: Likewise.
12616 * gdb.base/gnu_vector.exp: Likewise.
12617 * gdb.dwarf2/formdata16.exp: Likewise.
12618 * gdb.dwarf2/implptrpiece.exp: Likewise.
12619 * gdb.dwarf2/nonvar-access.exp: Likewise.
12620 * gdb.python/py-inferior.exp: Likewise.
12621 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12622
12623 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12624
12625 PR gdb/21226
12626 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12627 stack value pieces are taken from the LSB end.
12628
12629 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12630
12631 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12632 variable at nonzero offset.
12633
12634 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12635
12636 * gdb.dwarf2/var-access.c: New file.
12637 * gdb.dwarf2/var-access.exp: New test.
12638 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12639
12640 2017-06-12 Tom Tromey <tom@tromey.com>
12641
12642 * gdb.dwarf2/formdata16.exp: Add tests.
12643
12644 2017-06-12 Tom Tromey <tom@tromey.com>
12645
12646 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12647
12648 2017-06-12 Tom Tromey <tom@tromey.com>
12649
12650 PR exp/16225:
12651 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12652 * gdb.arch/vsx-regs.exp: Update tests.
12653 * gdb.arch/s390-vregs.exp (hex128): New proc.
12654 Update test.
12655 * gdb.arch/altivec-regs.exp: Update tests.
12656
12657 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12658
12659 * gdb.base/startup-with-shell.c: New file.
12660 * gdb.base/startup-with-shell.exp: Likewise.
12661
12662 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12663
12664 * gdb.server/non-existing-program.exp: Update regex in order to
12665 reflect the fact that gdbserver is now using fork_inferior (with a
12666 shell) to startup the inferior.
12667
12668 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12669
12670 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12671 support function calls from GDB.
12672
12673 2017-05-21 Tom Tromey <tom@tromey.com>
12674
12675 PR rust/21466:
12676 * gdb.rust/unsized.exp: New file.
12677 * gdb.rust/unsized.rs: New file.
12678
12679 2017-05-19 Tom Tromey <tom@tromey.com>
12680
12681 PR rust/21484:
12682 * gdb.rust/watch.exp: New file.
12683 * gdb.rust/watch.rs: New file.
12684
12685 2017-05-18 Tom Tromey <tom@tromey.com>
12686
12687 * gdb.rust/simple.exp: Allow Box to be qualified.
12688
12689 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12690
12691 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12692
12693 2017-05-18 Pedro Alves <palves@redhat.com>
12694
12695 * gdb.base/fileio.c (test_write, test_read, test_close)
12696 (test_fstat): Don't print 'ret' in the fail path.
12697
12698 2017-05-18 Pedro Alves <palves@redhat.com>
12699
12700 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12701 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12702 (test_system, test_rename, test_unlink, test_time): Change
12703 prototypes.
12704 * gdb.base/fileio.exp (stop_msg): Adjust.
12705
12706 2017-05-18 Pedro Alves <palves@redhat.com>
12707
12708 * gdb.base/fileio.c (null_str): New global.
12709 (test_stat): Use it.
12710 * gdb.base/fileio.exp: Remove nowarnings.
12711
12712 2017-05-17 Yao Qi <yao.qi@linaro.org>
12713
12714 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12715
12716 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12717
12718 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12719 argument command.
12720 (top-level): Invoke test_set_inferior_tty.
12721
12722 2017-05-04 Pedro Alves <palves@redhat.com>
12723
12724 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12725 Add parens to print call for Python 3.
12726
12727 2017-05-03 Keith Seitz <keiths@redhat.com>
12728
12729 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12730 (main): Call it.
12731
12732 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12733
12734 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12735 to prev and next.
12736
12737 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12738
12739 * gdb.python/py-record-btrace.exp: Remove test for
12740 gdb.BtraceInstruction.error.
12741
12742 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12743
12744 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12745
12746 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12747
12748 * gdb.python/py-record-btrace-threads.c: New file.
12749 * gdb.python/py-record-btrace-threads.exp: New file.
12750
12751 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12752
12753 PR testsuite/8595
12754 * gdb.base/environ.exp: Make test available in all architectures.
12755 Move bits related to "info program" testing to
12756 gdb.base/info-program.exp. Rewrite tests to use the two new
12757 procedures mentione below.
12758 (test_set_show_env_var) New procedure.
12759 (test_set_show_env_var_equal): Likewise.
12760 * gdb.base/info-program.exp: New file.
12761
12762 2017-04-27 Keith Seitz <keiths@redhat.com>
12763
12764 * gdb.cp/oranking.cc (test15): New function.
12765 (main): Call test15 and declare additional variables for testing.
12766 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12767 "p foo101('abc')" tests.
12768 Add tests for cv qualifier overloads.
12769 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12770 "lvalue reference overload" test.
12771 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12772 "print value of f1 on Child&& in f2" test.
12773
12774 2017-04-19 Pedro Alves <palves@redhat.com>
12775
12776 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12777 procedure.
12778 (top level): Call it.
12779 * lib/gdb.exp (gdb_define_cmd): New procedure.
12780
12781 2017-04-12 Pedro Alves <palves@redhat.com>
12782
12783 PR gdb/21323
12784 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12785 (wchar): New global.
12786 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12787 (do_test_wide_char, wide_char_types_no_program, top level): Add
12788 wchar_t testing.
12789
12790 2017-04-12 Pedro Alves <palves@redhat.com>
12791
12792 PR c++/21323
12793 * gdb.cp/wide_char_types.c: New file.
12794 * gdb.cp/wide_char_types.exp: New file.
12795
12796 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12797
12798 PR gdb/21352
12799 * gdb.trace/tsv.exp: Add test for "tsave -r".
12800
12801 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12802
12803 * gdb.dlang/watch-loc.c: New file.
12804 * gdb.dlang/watch-loc.exp: New file.
12805
12806 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12807
12808 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12809
12810 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12811
12812 * gdb.arch/arc-analyze-prologue.S: New file.
12813 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12814
12815 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12816
12817 * gdb.arch/arc-decode-insn.S: New file.
12818 * gdb.arch/arc-decode-insn.exp: Likewise.
12819
12820 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12821
12822 PR tdep/20928
12823 * gdb.arch/sparc64-regs.exp: New file.
12824 * gdb.arch/sparc64-regs.S: Likewise.
12825
12826 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12827
12828 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12829 and memory view on Python 3.
12830
12831 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
12832 Keith Seitz <keiths@redhat.com>
12833
12834 PR gdb/14441
12835 * gdb.cp/demangle.exp: Add rvalue reference tests.
12836 * gdb.cp/rvalue-ref-casts.cc: New file.
12837 * gdb.cp/rvalue-ref-casts.exp: New file.
12838 * gdb.cp/rvalue-ref-overload.cc: New file.
12839 * gdb.cp/rvalue-ref-overload.exp: New file.
12840 * gdb.cp/rvalue-ref-params.cc: New file.
12841 * gdb.cp/rvalue-ref-params.exp: New file.
12842 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12843 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12844 * gdb.cp/rvalue-ref-types.cc: New file.
12845 * gdb.cp/rvalue-ref-types.exp: New file.
12846 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12847 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12848
12849 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12850
12851 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12852 New procedure.
12853
12854 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12855
12856 * lib/mi-support.exp (mi_gdb_test): Add additional message
12857 for unexpected output.
12858
12859 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12860
12861 * gdb.base/examine-backward.c (Barrier): New character array
12862 constant, to ensure that TestStrings is preceded by a string
12863 terminator.
12864
12865 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12866
12867 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12868 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12869 and implicit pointer into such a location.
12870
12871 2017-03-16 Doug Evans <dje@google.com>
12872
12873 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12874
12875 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12876
12877 * gdb.cp/m-static.exp: Fix expectation for prototype of
12878 test5.single_constructor and single_constructor::single_constructor.
12879
12880 2017-03-16 Doug Evans <dje@google.com>
12881
12882 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12883 * gdb.guile/scm-lazy-string.c: New file.
12884 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12885 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12886 for pointer, array, typedef lazy strings.
12887
12888 2017-03-16 Doug Evans <dje@google.com>
12889
12890 PR python/17728, python/18439, python/18779
12891 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12892 * gdb.python/py-lazy-string.c (pointer): New typedef.
12893 (main): New locals ptr, array, typedef_ptr.
12894 * gdb.python/py-value.exp: Move lazy string tests to ...
12895 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12896 array, typedef lazy strings.
12897
12898 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12899
12900 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12901 Add optional 'test' parameter.
12902
12903 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12904
12905 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12906 Skip for versions of DejaGnu < 1.5.
12907
12908 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12909
12910 * lib/gdb.exp (dejagnu_version): New proc.
12911 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12912 Use dejagnu_version.
12913
12914 2017-03-10 Keith Seitz <keiths@redhat.com>
12915
12916 PR c++/8128
12917 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12918 type from destructor regexps.
12919 Add a branch which actually passes the test.
12920 Adjust "ptype t5i" test names.
12921
12922 2017-03-08 Pedro Alves <palves@redhat.com>
12923
12924 * gdb.base/step-over-exit.exp: Add explicit test message.
12925
12926 2017-03-08 Pedro Alves <palves@redhat.com>
12927
12928 PR gdb/18360
12929 * gdb.threads/interrupt-while-step-over.c: New file.
12930 * gdb.threads/interrupt-while-step-over.exp: New file.
12931
12932 2017-03-08 Pedro Alves <palves@redhat.com>
12933
12934 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12935 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12936
12937 2017-03-08 Pedro Alves <palves@redhat.com>
12938
12939 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12940 PKRU as not supported as a PASS.
12941
12942 2017-03-08 Pedro Alves <palves@redhat.com>
12943
12944 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12945 prefix instead of $binfile1/$binfile2.
12946 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12947 in test message.
12948 * gdb.python/py-completion.exp: Use "load python file" as test
12949 messages instead of unstable path names.
12950
12951 2017-03-08 Pedro Alves <palves@redhat.com>
12952 Jan Kratochvil <jan.kratochvil@redhat.com>
12953
12954 PR cli/21218
12955 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12956 New proc.
12957 (top level): Call it.
12958
12959 2017-03-08 Pedro Alves <palves@redhat.com>
12960
12961 PR tui/21216
12962 * gdb.tui/tui-nl-filtered-output.exp: New file.
12963
12964 2017-03-08 Pedro Alves <palves@redhat.com>
12965
12966 * gdb.base/completion.exp: Move TUI completion tests to ...
12967 * gdb.tui/completion.exp: ... this new file.
12968
12969 2017-03-08 Pedro Alves <palves@redhat.com>
12970
12971 * gdb.base/tui-disasm-long-lines.c,
12972 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12973 gdb.base/tui-layout.exp: Move to ...
12974 * gdb.tui/: ... this new directory.
12975
12976 2017-03-07 Pedro Alves <palves@redhat.com>
12977
12978 * gdb.base/tui-layout.c: New file.
12979 * gdb.base/tui-layout.exp: New file.
12980
12981 2017-03-07 Pedro Alves <palves@redhat.com>
12982
12983 * gdb.base/tui-layout.c: Rename to ...
12984 * gdb.base/tui-disasm-long-lines.c: ... this.
12985 * gdb.base/tui-layout.exp: Rename to ...
12986 * gdb.base/tui-disasm-long-lines.exp: ... this.
12987
12988 2017-03-07 Pedro Alves <palves@redhat.com>
12989
12990 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12991
12992 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12993
12994 * i386-mpx-call.c: New file.
12995 * i386-mpx-call.exp: New file.
12996
12997 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12998
12999 * gdb.arch/powerpc-power.exp: Delete test.
13000 * gdb.arch/powerpc-power.s: Likewise.
13001 * gdb.disasm/disassembler-options.exp: New test.
13002 * gdb.arch/powerpc-altivec.exp: Likewise.
13003 * gdb.arch/powerpc-altivec.s: Likewise.
13004 * gdb.arch/powerpc-altivec2.exp: Likewise.
13005 * gdb.arch/powerpc-altivec2.s: Likewise.
13006 * gdb.arch/powerpc-altivec3.exp: Likewise.
13007 * gdb.arch/powerpc-altivec3.s: Likewise.
13008 * gdb.arch/powerpc-power7.exp: Likewise.
13009 * gdb.arch/powerpc-power7.s: Likewise.
13010 * gdb.arch/powerpc-power8.exp: Likewise.
13011 * gdb.arch/powerpc-power8.s: Likewise.
13012 * gdb.arch/powerpc-power9.exp: Likewise.
13013 * gdb.arch/powerpc-power9.s: Likewise.
13014 * gdb.arch/powerpc-vsx.exp: Likewise.
13015 * gdb.arch/powerpc-vsx.s: Likewise.
13016 * gdb.arch/powerpc-vsx2.exp: Likewise.
13017 * gdb.arch/powerpc-vsx2.s: Likewise.
13018 * gdb.arch/powerpc-vsx3.exp: Likewise.
13019 * gdb.arch/powerpc-vsx3.s: Likewise.
13020 * gdb.arch/arm-disassembler-options.exp: Likewise.
13021 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13022 * gdb.arch/s390-disassembler-options.exp: Likewise.
13023
13024 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
13025
13026 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13027 (check_supported_features): ... this. Changed return type to void.
13028 (supports_rdseed): New static global.
13029 (rdseed): Check supports_rdseed.
13030 (initialize): Call check_supported_features.
13031
13032 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13033
13034 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13035 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13036 and lqarx/stqcx.
13037 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13038 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13039
13040 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13041
13042 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13043 uppercase.
13044
13045 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13046
13047 * gdb.dwarf2/formdata16.c: New file.
13048 * gdb.dwarf2/formdata16.exp: New file.
13049 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13050
13051 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13052
13053 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13054 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13055 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13056 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13057 DW_AT_GNU_*.
13058
13059 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13060
13061 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13062
13063 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13064
13065 PR gdb/21164
13066 * gdb.base/maint.exp: Add testcases for when the commands do
13067 not have arguments.
13068
13069 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13070
13071 * gdb.cp/chained-calls.exp: Use p instead of P.
13072
13073 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13074
13075 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13076 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13077
13078 2017-02-14 Tom Tromey <tom@tromey.com>
13079
13080 PR python/13598:
13081 * gdb.python/py-events.exp: Add before_prompt event tests.
13082
13083 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13084
13085 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13086
13087 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
13088
13089 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13090 (main): Call my_unique_function_name.
13091 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13092 completion of patterns with a single match.
13093 Add missing -re switches to gdb_test_multiple calls.
13094
13095 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
13096
13097 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13098 return if core file is not recognized.
13099
13100 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13101
13102 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13103 and extra UIs.
13104
13105 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13106
13107 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13108 proc_with_prefix.
13109
13110 2017-02-10 Tom Tromey <tom@tromey.com>
13111
13112 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13113
13114 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
13115
13116 PR gdb/21122
13117 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13118
13119 2017-02-08 Jerome Guitton <guitton@adacore.com>
13120
13121 * gdb.base/define.exp: Add test for command abbreviations
13122 in define.
13123
13124 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
13125
13126 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13127 * gdb.reverse/insn-reverse-x86.c: New file.
13128
13129 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13130
13131 PR tdep/20936
13132 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13133
13134 2017-02-03 Tom Tromey <tom@tromey.com>
13135
13136 PR rust/21097:
13137 * gdb.rust/simple.exp: Add new tests.
13138
13139 2017-02-02 Pedro Alves <palves@redhat.com>
13140
13141 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13142 tests.
13143
13144 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13145
13146 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13147 taking a 2-byte value out of a 4-byte DWARF implicit value on
13148 big-endian targets.
13149 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13150 logic. Add test cases for DW_OP_implicit.
13151
13152 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13153
13154 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13155
13156 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13157
13158 * gdb.btrace/enable.exp: Call gdb_exit before
13159 skip_gdbserver_tests.
13160
13161 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13162
13163 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13164 GDBFLAGS.
13165
13166 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13167
13168 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13169 the test is skipped.
13170 * gdb.btrace/data.exp: Likewise.
13171 * gdb.btrace/delta.exp: Likewise.
13172 * gdb.btrace/dlopen.exp: Likewise.
13173 * gdb.btrace/enable-running.exp: Likewise.
13174 * gdb.btrace/enable.exp: Likewise.
13175 * gdb.btrace/exception.exp: Likewise.
13176 * gdb.btrace/function_call_history.exp: Likewise.
13177 * gdb.btrace/gcore.exp: Likewise.
13178 * gdb.btrace/instruction_history.exp: Likewise.
13179 * gdb.btrace/multi-thread-step.exp: Likewise.
13180 * gdb.btrace/nohist.exp: Likewise.
13181 * gdb.btrace/non-stop.exp: Likewise.
13182 * gdb.btrace/reconnect.exp: Likewise.
13183 * gdb.btrace/record_goto-step.exp: Likewise.
13184 * gdb.btrace/record_goto.exp: Likewise.
13185 * gdb.btrace/rn-dl-bind.exp: Likewise.
13186 * gdb.btrace/segv.exp: Likewise.
13187 * gdb.btrace/step.exp: Likewise.
13188 * gdb.btrace/stepi.exp: Likewise.
13189 * gdb.btrace/tailcall-only.exp: Likewise.
13190 * gdb.btrace/tailcall.exp: Likewise.
13191 * gdb.btrace/tsx.exp: Likewise.
13192 * gdb.btrace/unknown_functions.exp: Likewise.
13193 * gdb.btrace/vdso.exp: Likewise.
13194
13195 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13196
13197 * gdb.btrace/enable-running.c: New.
13198 * gdb.btrace/enable-running.exp: New.
13199
13200 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13201
13202 * gdb.arch/amd64-gs_base.c: New file.
13203 * gdb.arch/amd64-gs_base.exp: New file.
13204
13205 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
13206
13207 * lib/memory.exp: Remove spurious empty newlines.
13208
13209 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13210
13211 * gdb.python/py-bad-printers.exp: Load python file using "source".
13212 * gdb.python/py-events.exp: Likewise.
13213 * gdb.python/py-evsignal.exp: Likewise.
13214 * gdb.python/py-evthreads.exp: Likewise.
13215 * gdb.python/py-frame-args.exp: Likewise.
13216 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13217 * gdb.python/py-framefilter-mi.exp: Likewise.
13218 * gdb.python/py-framefilter.exp: Likewise.
13219 * gdb.python/py-mi.exp: Likewise.
13220 * gdb.python/py-pp-maint.exp: Likewise.
13221 * gdb.python/py-pp-registration.exp: Likewise.
13222 * gdb.python/py-prettyprint.exp: Likewise.
13223 (run_lang_tests): Likewise.
13224 * gdb.python/py-typeprint.exp: Likewise.
13225
13226 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
13227
13228 * lib/memory.exp: New file.
13229 * lib/gdb.exp: Load memory.exp.
13230 * gdb.base/memattr.exp (delete_memory): Move proc to
13231 lib/memory.exp and rename to delete_memory_regions.
13232 Replace delete_memory with delete_memory_regions.
13233 Cleanup memory regions before tests.
13234 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13235 before tests.
13236
13237 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
13238
13239 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13240 files.
13241 (initialize): New function conditionally defined.
13242 (testcases): Move within conditional block.
13243 (main): Call initialize.
13244 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13245 of gdb.reverse/insn-reverse.c.
13246 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13247 gdb.reverse/insn-reverse.c.
13248
13249 2017-01-26 Yao Qi <yao.qi@linaro.org>
13250
13251 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13252 disassemble on address 0.
13253
13254 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13255 Yao Qi <yao.qi@linaro.org>
13256
13257 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13258 * gdb.dwarf2/implptr-64bit.S: Remove.
13259 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13260 variables in caller's context. Add DW_OP_implicit_value.
13261
13262 2017-01-25 Yao Qi <yao.qi@linaro.org>
13263
13264 * lib/dwarf.exp (Dwarf::_location): Handle
13265 DW_OP_GNU_implicit_pointer with proper size.
13266
13267 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
13268
13269 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13270 and add untested calls.
13271
13272 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
13273
13274 * gdb.python/python.exp: Check line number against what GDB thinks
13275 the line number is for func1.
13276
13277 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13278
13279 * gdb.dlang/debug-expr.exp: New file.
13280
13281 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
13282
13283 Fix test names for the following files:
13284
13285 * gdb.ada/exec_changed.exp
13286 * gdb.ada/info_types.exp
13287 * gdb.arch/aarch64-atomic-inst.exp
13288 * gdb.arch/aarch64-fp.exp
13289 * gdb.arch/altivec-abi.exp
13290 * gdb.arch/altivec-regs.exp
13291 * gdb.arch/amd64-byte.exp
13292 * gdb.arch/amd64-disp-step.exp
13293 * gdb.arch/amd64-dword.exp
13294 * gdb.arch/amd64-entry-value-inline.exp
13295 * gdb.arch/amd64-entry-value-param.exp
13296 * gdb.arch/amd64-entry-value-paramref.exp
13297 * gdb.arch/amd64-entry-value.exp
13298 * gdb.arch/amd64-i386-address.exp
13299 * gdb.arch/amd64-invalid-stack-middle.exp
13300 * gdb.arch/amd64-invalid-stack-top.exp
13301 * gdb.arch/amd64-optimout-repeat.exp
13302 * gdb.arch/amd64-prologue-skip.exp
13303 * gdb.arch/amd64-prologue-xmm.exp
13304 * gdb.arch/amd64-stap-special-operands.exp
13305 * gdb.arch/amd64-stap-wrong-subexp.exp
13306 * gdb.arch/amd64-tailcall-cxx.exp
13307 * gdb.arch/amd64-tailcall-noret.exp
13308 * gdb.arch/amd64-tailcall-ret.exp
13309 * gdb.arch/amd64-tailcall-self.exp
13310 * gdb.arch/amd64-word.exp
13311 * gdb.arch/arm-bl-branch-dest.exp
13312 * gdb.arch/arm-disp-step.exp
13313 * gdb.arch/arm-neon.exp
13314 * gdb.arch/arm-single-step-kernel-helper.exp
13315 * gdb.arch/avr-flash-qualifier.exp
13316 * gdb.arch/disp-step-insn-reloc.exp
13317 * gdb.arch/e500-abi.exp
13318 * gdb.arch/e500-regs.exp
13319 * gdb.arch/ftrace-insn-reloc.exp
13320 * gdb.arch/i386-avx512.exp
13321 * gdb.arch/i386-bp_permanent.exp
13322 * gdb.arch/i386-byte.exp
13323 * gdb.arch/i386-cfi-notcurrent.exp
13324 * gdb.arch/i386-disp-step.exp
13325 * gdb.arch/i386-dr3-watch.exp
13326 * gdb.arch/i386-float.exp
13327 * gdb.arch/i386-gnu-cfi.exp
13328 * gdb.arch/i386-mpx-map.exp
13329 * gdb.arch/i386-mpx-sigsegv.exp
13330 * gdb.arch/i386-mpx-simple_segv.exp
13331 * gdb.arch/i386-mpx.exp
13332 * gdb.arch/i386-permbkpt.exp
13333 * gdb.arch/i386-prologue.exp
13334 * gdb.arch/i386-signal.exp
13335 * gdb.arch/i386-size-overlap.exp
13336 * gdb.arch/i386-unwind.exp
13337 * gdb.arch/i386-word.exp
13338 * gdb.arch/mips-fcr.exp
13339 * gdb.arch/powerpc-d128-regs.exp
13340 * gdb.arch/powerpc-stackless.exp
13341 * gdb.arch/ppc64-atomic-inst.exp
13342 * gdb.arch/s390-stackless.exp
13343 * gdb.arch/s390-tdbregs.exp
13344 * gdb.arch/s390-vregs.exp
13345 * gdb.arch/sparc-sysstep.exp
13346 * gdb.arch/thumb-bx-pc.exp
13347 * gdb.arch/thumb-singlestep.exp
13348 * gdb.arch/thumb2-it.exp
13349 * gdb.arch/vsx-regs.exp
13350 * gdb.asm/asm-source.exp
13351 * gdb.base/a2-run.exp
13352 * gdb.base/advance.exp
13353 * gdb.base/all-bin.exp
13354 * gdb.base/anon.exp
13355 * gdb.base/args.exp
13356 * gdb.base/arithmet.exp
13357 * gdb.base/async-shell.exp
13358 * gdb.base/async.exp
13359 * gdb.base/attach-pie-noexec.exp
13360 * gdb.base/attach-twice.exp
13361 * gdb.base/auto-load.exp
13362 * gdb.base/bang.exp
13363 * gdb.base/bitfields.exp
13364 * gdb.base/break-always.exp
13365 * gdb.base/break-caller-line.exp
13366 * gdb.base/break-entry.exp
13367 * gdb.base/break-inline.exp
13368 * gdb.base/break-on-linker-gcd-function.exp
13369 * gdb.base/break-probes.exp
13370 * gdb.base/break.exp
13371 * gdb.base/breakpoint-shadow.exp
13372 * gdb.base/call-ar-st.exp
13373 * gdb.base/call-sc.exp
13374 * gdb.base/call-signal-resume.exp
13375 * gdb.base/call-strs.exp
13376 * gdb.base/callfuncs.exp
13377 * gdb.base/catch-fork-static.exp
13378 * gdb.base/catch-gdb-caused-signals.exp
13379 * gdb.base/catch-load.exp
13380 * gdb.base/catch-signal-fork.exp
13381 * gdb.base/catch-signal.exp
13382 * gdb.base/catch-syscall.exp
13383 * gdb.base/charset.exp
13384 * gdb.base/checkpoint.exp
13385 * gdb.base/chng-syms.exp
13386 * gdb.base/code-expr.exp
13387 * gdb.base/code_elim.exp
13388 * gdb.base/commands.exp
13389 * gdb.base/completion.exp
13390 * gdb.base/complex.exp
13391 * gdb.base/cond-expr.exp
13392 * gdb.base/condbreak.exp
13393 * gdb.base/consecutive.exp
13394 * gdb.base/continue-all-already-running.exp
13395 * gdb.base/coredump-filter.exp
13396 * gdb.base/corefile.exp
13397 * gdb.base/dbx.exp
13398 * gdb.base/debug-expr.exp
13399 * gdb.base/define.exp
13400 * gdb.base/del.exp
13401 * gdb.base/disabled-location.exp
13402 * gdb.base/disasm-end-cu.exp
13403 * gdb.base/disasm-optim.exp
13404 * gdb.base/display.exp
13405 * gdb.base/duplicate-bp.exp
13406 * gdb.base/ena-dis-br.exp
13407 * gdb.base/ending-run.exp
13408 * gdb.base/enumval.exp
13409 * gdb.base/environ.exp
13410 * gdb.base/eu-strip-infcall.exp
13411 * gdb.base/eval-avoid-side-effects.exp
13412 * gdb.base/eval-skip.exp
13413 * gdb.base/exitsignal.exp
13414 * gdb.base/expand-psymtabs.exp
13415 * gdb.base/filesym.exp
13416 * gdb.base/find-unmapped.exp
13417 * gdb.base/finish.exp
13418 * gdb.base/float.exp
13419 * gdb.base/foll-exec-mode.exp
13420 * gdb.base/foll-exec.exp
13421 * gdb.base/foll-fork.exp
13422 * gdb.base/fortran-sym-case.exp
13423 * gdb.base/freebpcmd.exp
13424 * gdb.base/func-ptr.exp
13425 * gdb.base/func-ptrs.exp
13426 * gdb.base/funcargs.exp
13427 * gdb.base/gcore-buffer-overflow.exp
13428 * gdb.base/gcore-relro-pie.exp
13429 * gdb.base/gcore-relro.exp
13430 * gdb.base/gcore.exp
13431 * gdb.base/gdb1090.exp
13432 * gdb.base/gdb11530.exp
13433 * gdb.base/gdb11531.exp
13434 * gdb.base/gdb1821.exp
13435 * gdb.base/gdbindex-stabs.exp
13436 * gdb.base/gdbvars.exp
13437 * gdb.base/hbreak.exp
13438 * gdb.base/hbreak2.exp
13439 * gdb.base/included.exp
13440 * gdb.base/infcall-input.exp
13441 * gdb.base/inferior-died.exp
13442 * gdb.base/infnan.exp
13443 * gdb.base/info-macros.exp
13444 * gdb.base/info-os.exp
13445 * gdb.base/info-proc.exp
13446 * gdb.base/info-shared.exp
13447 * gdb.base/info-target.exp
13448 * gdb.base/infoline.exp
13449 * gdb.base/interp.exp
13450 * gdb.base/interrupt.exp
13451 * gdb.base/jit-reader.exp
13452 * gdb.base/jit-simple.exp
13453 * gdb.base/kill-after-signal.exp
13454 * gdb.base/kill-detach-inferiors-cmd.exp
13455 * gdb.base/label.exp
13456 * gdb.base/langs.exp
13457 * gdb.base/ldbl_e308.exp
13458 * gdb.base/line-symtabs.exp
13459 * gdb.base/linespecs.exp
13460 * gdb.base/list.exp
13461 * gdb.base/long_long.exp
13462 * gdb.base/longest-types.exp
13463 * gdb.base/maint.exp
13464 * gdb.base/max-value-size.exp
13465 * gdb.base/memattr.exp
13466 * gdb.base/mips_pro.exp
13467 * gdb.base/morestack.exp
13468 * gdb.base/moribund-step.exp
13469 * gdb.base/multi-forks.exp
13470 * gdb.base/nested-addr.exp
13471 * gdb.base/nextoverexit.exp
13472 * gdb.base/noreturn-finish.exp
13473 * gdb.base/noreturn-return.exp
13474 * gdb.base/nostdlib.exp
13475 * gdb.base/offsets.exp
13476 * gdb.base/opaque.exp
13477 * gdb.base/pc-fp.exp
13478 * gdb.base/permissions.exp
13479 * gdb.base/print-symbol-loading.exp
13480 * gdb.base/prologue-include.exp
13481 * gdb.base/psymtab.exp
13482 * gdb.base/ptype.exp
13483 * gdb.base/random-signal.exp
13484 * gdb.base/randomize.exp
13485 * gdb.base/range-stepping.exp
13486 * gdb.base/readline-ask.exp
13487 * gdb.base/recpar.exp
13488 * gdb.base/recurse.exp
13489 * gdb.base/relational.exp
13490 * gdb.base/restore.exp
13491 * gdb.base/return-nodebug.exp
13492 * gdb.base/return.exp
13493 * gdb.base/run-after-attach.exp
13494 * gdb.base/save-bp.exp
13495 * gdb.base/scope.exp
13496 * gdb.base/sect-cmd.exp
13497 * gdb.base/set-lang-auto.exp
13498 * gdb.base/set-noassign.exp
13499 * gdb.base/setvar.exp
13500 * gdb.base/sigall.exp
13501 * gdb.base/sigbpt.exp
13502 * gdb.base/siginfo-addr.exp
13503 * gdb.base/siginfo-infcall.exp
13504 * gdb.base/siginfo-obj.exp
13505 * gdb.base/siginfo.exp
13506 * gdb.base/signals-state-child.exp
13507 * gdb.base/signest.exp
13508 * gdb.base/sigstep.exp
13509 * gdb.base/sizeof.exp
13510 * gdb.base/skip.exp
13511 * gdb.base/solib-corrupted.exp
13512 * gdb.base/solib-nodir.exp
13513 * gdb.base/solib-search.exp
13514 * gdb.base/stack-checking.exp
13515 * gdb.base/stale-infcall.exp
13516 * gdb.base/stap-probe.exp
13517 * gdb.base/start.exp
13518 * gdb.base/step-break.exp
13519 * gdb.base/step-bt.exp
13520 * gdb.base/step-line.exp
13521 * gdb.base/step-over-exit.exp
13522 * gdb.base/step-over-syscall.exp
13523 * gdb.base/step-resume-infcall.exp
13524 * gdb.base/step-test.exp
13525 * gdb.base/store.exp
13526 * gdb.base/structs3.exp
13527 * gdb.base/sym-file.exp
13528 * gdb.base/symbol-without-target_section.exp
13529 * gdb.base/term.exp
13530 * gdb.base/testenv.exp
13531 * gdb.base/ui-redirect.exp
13532 * gdb.base/until.exp
13533 * gdb.base/unwindonsignal.exp
13534 * gdb.base/value-double-free.exp
13535 * gdb.base/vla-datatypes.exp
13536 * gdb.base/vla-ptr.exp
13537 * gdb.base/vla-sideeffect.exp
13538 * gdb.base/volatile.exp
13539 * gdb.base/watch-cond-infcall.exp
13540 * gdb.base/watch-cond.exp
13541 * gdb.base/watch-non-mem.exp
13542 * gdb.base/watch-read.exp
13543 * gdb.base/watch-vfork.exp
13544 * gdb.base/watchpoint-cond-gone.exp
13545 * gdb.base/watchpoint-delete.exp
13546 * gdb.base/watchpoint-hw-hit-once.exp
13547 * gdb.base/watchpoint-hw.exp
13548 * gdb.base/watchpoint-stops-at-right-insn.exp
13549 * gdb.base/watchpoints.exp
13550 * gdb.base/wchar.exp
13551 * gdb.base/whatis-exp.exp
13552 * gdb.btrace/buffer-size.exp
13553 * gdb.btrace/data.exp
13554 * gdb.btrace/delta.exp
13555 * gdb.btrace/dlopen.exp
13556 * gdb.btrace/enable.exp
13557 * gdb.btrace/exception.exp
13558 * gdb.btrace/function_call_history.exp
13559 * gdb.btrace/gcore.exp
13560 * gdb.btrace/instruction_history.exp
13561 * gdb.btrace/nohist.exp
13562 * gdb.btrace/reconnect.exp
13563 * gdb.btrace/record_goto-step.exp
13564 * gdb.btrace/record_goto.exp
13565 * gdb.btrace/rn-dl-bind.exp
13566 * gdb.btrace/segv.exp
13567 * gdb.btrace/step.exp
13568 * gdb.btrace/stepi.exp
13569 * gdb.btrace/tailcall-only.exp
13570 * gdb.btrace/tailcall.exp
13571 * gdb.btrace/tsx.exp
13572 * gdb.btrace/unknown_functions.exp
13573 * gdb.btrace/vdso.exp
13574 * gdb.compile/compile-ifunc.exp
13575 * gdb.compile/compile-ops.exp
13576 * gdb.compile/compile-print.exp
13577 * gdb.compile/compile-setjmp.exp
13578 * gdb.cp/abstract-origin.exp
13579 * gdb.cp/ambiguous.exp
13580 * gdb.cp/annota2.exp
13581 * gdb.cp/annota3.exp
13582 * gdb.cp/anon-ns.exp
13583 * gdb.cp/anon-struct.exp
13584 * gdb.cp/anon-union.exp
13585 * gdb.cp/arg-reference.exp
13586 * gdb.cp/baseenum.exp
13587 * gdb.cp/bool.exp
13588 * gdb.cp/breakpoint.exp
13589 * gdb.cp/bs15503.exp
13590 * gdb.cp/call-c.exp
13591 * gdb.cp/casts.exp
13592 * gdb.cp/chained-calls.exp
13593 * gdb.cp/class2.exp
13594 * gdb.cp/classes.exp
13595 * gdb.cp/cmpd-minsyms.exp
13596 * gdb.cp/converts.exp
13597 * gdb.cp/cp-relocate.exp
13598 * gdb.cp/cpcompletion.exp
13599 * gdb.cp/cpexprs.exp
13600 * gdb.cp/cplabel.exp
13601 * gdb.cp/cplusfuncs.exp
13602 * gdb.cp/cpsizeof.exp
13603 * gdb.cp/ctti.exp
13604 * gdb.cp/derivation.exp
13605 * gdb.cp/destrprint.exp
13606 * gdb.cp/dispcxx.exp
13607 * gdb.cp/enum-class.exp
13608 * gdb.cp/exception.exp
13609 * gdb.cp/exceptprint.exp
13610 * gdb.cp/expand-psymtabs-cxx.exp
13611 * gdb.cp/expand-sals.exp
13612 * gdb.cp/extern-c.exp
13613 * gdb.cp/filename.exp
13614 * gdb.cp/formatted-ref.exp
13615 * gdb.cp/fpointer.exp
13616 * gdb.cp/gdb1355.exp
13617 * gdb.cp/gdb2495.exp
13618 * gdb.cp/hang.exp
13619 * gdb.cp/impl-this.exp
13620 * gdb.cp/infcall-dlopen.exp
13621 * gdb.cp/inherit.exp
13622 * gdb.cp/iostream.exp
13623 * gdb.cp/koenig.exp
13624 * gdb.cp/local.exp
13625 * gdb.cp/m-data.exp
13626 * gdb.cp/m-static.exp
13627 * gdb.cp/mb-ctor.exp
13628 * gdb.cp/mb-inline.exp
13629 * gdb.cp/mb-templates.exp
13630 * gdb.cp/member-name.exp
13631 * gdb.cp/member-ptr.exp
13632 * gdb.cp/meth-typedefs.exp
13633 * gdb.cp/method.exp
13634 * gdb.cp/method2.exp
13635 * gdb.cp/minsym-fallback.exp
13636 * gdb.cp/misc.exp
13637 * gdb.cp/namelessclass.exp
13638 * gdb.cp/namespace-enum.exp
13639 * gdb.cp/namespace-nested-import.exp
13640 * gdb.cp/namespace.exp
13641 * gdb.cp/nextoverthrow.exp
13642 * gdb.cp/no-dmgl-verbose.exp
13643 * gdb.cp/non-trivial-retval.exp
13644 * gdb.cp/noparam.exp
13645 * gdb.cp/nsdecl.exp
13646 * gdb.cp/nsimport.exp
13647 * gdb.cp/nsnested.exp
13648 * gdb.cp/nsnoimports.exp
13649 * gdb.cp/nsrecurs.exp
13650 * gdb.cp/nsstress.exp
13651 * gdb.cp/nsusing.exp
13652 * gdb.cp/operator.exp
13653 * gdb.cp/oranking.exp
13654 * gdb.cp/overload-const.exp
13655 * gdb.cp/overload.exp
13656 * gdb.cp/ovldbreak.exp
13657 * gdb.cp/ovsrch.exp
13658 * gdb.cp/paren-type.exp
13659 * gdb.cp/parse-lang.exp
13660 * gdb.cp/pass-by-ref.exp
13661 * gdb.cp/pr-1023.exp
13662 * gdb.cp/pr-1210.exp
13663 * gdb.cp/pr-574.exp
13664 * gdb.cp/pr10687.exp
13665 * gdb.cp/pr12028.exp
13666 * gdb.cp/pr17132.exp
13667 * gdb.cp/pr17494.exp
13668 * gdb.cp/pr9067.exp
13669 * gdb.cp/pr9167.exp
13670 * gdb.cp/pr9631.exp
13671 * gdb.cp/printmethod.exp
13672 * gdb.cp/psmang.exp
13673 * gdb.cp/psymtab-parameter.exp
13674 * gdb.cp/ptype-cv-cp.exp
13675 * gdb.cp/ptype-flags.exp
13676 * gdb.cp/re-set-overloaded.exp
13677 * gdb.cp/ref-types.exp
13678 * gdb.cp/rtti.exp
13679 * gdb.cp/scope-err.exp
13680 * gdb.cp/shadow.exp
13681 * gdb.cp/smartp.exp
13682 * gdb.cp/static-method.exp
13683 * gdb.cp/static-print-quit.exp
13684 * gdb.cp/temargs.exp
13685 * gdb.cp/templates.exp
13686 * gdb.cp/try_catch.exp
13687 * gdb.cp/typedef-operator.exp
13688 * gdb.cp/typeid.exp
13689 * gdb.cp/userdef.exp
13690 * gdb.cp/using-crash.exp
13691 * gdb.cp/var-tag.exp
13692 * gdb.cp/virtbase.exp
13693 * gdb.cp/virtfunc.exp
13694 * gdb.cp/virtfunc2.exp
13695 * gdb.cp/vla-cxx.exp
13696 * gdb.disasm/t01_mov.exp
13697 * gdb.disasm/t02_mova.exp
13698 * gdb.disasm/t03_add.exp
13699 * gdb.disasm/t04_sub.exp
13700 * gdb.disasm/t05_cmp.exp
13701 * gdb.disasm/t06_ari2.exp
13702 * gdb.disasm/t07_ari3.exp
13703 * gdb.disasm/t08_or.exp
13704 * gdb.disasm/t09_xor.exp
13705 * gdb.disasm/t10_and.exp
13706 * gdb.disasm/t11_logs.exp
13707 * gdb.disasm/t12_bit.exp
13708 * gdb.disasm/t13_otr.exp
13709 * gdb.dlang/circular.exp
13710 * gdb.dwarf2/arr-stride.exp
13711 * gdb.dwarf2/arr-subrange.exp
13712 * gdb.dwarf2/atomic-type.exp
13713 * gdb.dwarf2/bad-regnum.exp
13714 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13715 * gdb.dwarf2/callframecfa.exp
13716 * gdb.dwarf2/clztest.exp
13717 * gdb.dwarf2/corrupt.exp
13718 * gdb.dwarf2/data-loc.exp
13719 * gdb.dwarf2/dup-psym.exp
13720 * gdb.dwarf2/dw2-anon-mptr.exp
13721 * gdb.dwarf2/dw2-anonymous-func.exp
13722 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13723 * gdb.dwarf2/dw2-bad-unresolved.exp
13724 * gdb.dwarf2/dw2-basic.exp
13725 * gdb.dwarf2/dw2-canonicalize-type.exp
13726 * gdb.dwarf2/dw2-case-insensitive.exp
13727 * gdb.dwarf2/dw2-common-block.exp
13728 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13729 * gdb.dwarf2/dw2-compressed.exp
13730 * gdb.dwarf2/dw2-const.exp
13731 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13732 * gdb.dwarf2/dw2-cu-size.exp
13733 * gdb.dwarf2/dw2-dup-frame.exp
13734 * gdb.dwarf2/dw2-entry-value.exp
13735 * gdb.dwarf2/dw2-icycle.exp
13736 * gdb.dwarf2/dw2-ifort-parameter.exp
13737 * gdb.dwarf2/dw2-inline-break.exp
13738 * gdb.dwarf2/dw2-inline-param.exp
13739 * gdb.dwarf2/dw2-intercu.exp
13740 * gdb.dwarf2/dw2-intermix.exp
13741 * gdb.dwarf2/dw2-lexical-block-bare.exp
13742 * gdb.dwarf2/dw2-linkage-name-trust.exp
13743 * gdb.dwarf2/dw2-minsym-in-cu.exp
13744 * gdb.dwarf2/dw2-noloc.exp
13745 * gdb.dwarf2/dw2-op-call.exp
13746 * gdb.dwarf2/dw2-op-out-param.exp
13747 * gdb.dwarf2/dw2-opt-structptr.exp
13748 * gdb.dwarf2/dw2-param-error.exp
13749 * gdb.dwarf2/dw2-producer.exp
13750 * gdb.dwarf2/dw2-ranges-base.exp
13751 * gdb.dwarf2/dw2-ref-missing-frame.exp
13752 * gdb.dwarf2/dw2-reg-undefined.exp
13753 * gdb.dwarf2/dw2-regno-invalid.exp
13754 * gdb.dwarf2/dw2-restore.exp
13755 * gdb.dwarf2/dw2-restrict.exp
13756 * gdb.dwarf2/dw2-single-line-discriminators.exp
13757 * gdb.dwarf2/dw2-strp.exp
13758 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13759 * gdb.dwarf2/dw2-unresolved.exp
13760 * gdb.dwarf2/dw2-var-zero-addr.exp
13761 * gdb.dwarf2/dw4-sig-types.exp
13762 * gdb.dwarf2/dwz.exp
13763 * gdb.dwarf2/dynarr-ptr.exp
13764 * gdb.dwarf2/enum-type.exp
13765 * gdb.dwarf2/gdb-index.exp
13766 * gdb.dwarf2/implptr-64bit.exp
13767 * gdb.dwarf2/implptr-optimized-out.exp
13768 * gdb.dwarf2/implptr.exp
13769 * gdb.dwarf2/implref-array.exp
13770 * gdb.dwarf2/implref-const.exp
13771 * gdb.dwarf2/implref-global.exp
13772 * gdb.dwarf2/implref-struct.exp
13773 * gdb.dwarf2/mac-fileno.exp
13774 * gdb.dwarf2/main-subprogram.exp
13775 * gdb.dwarf2/member-ptr-forwardref.exp
13776 * gdb.dwarf2/method-ptr.exp
13777 * gdb.dwarf2/missing-sig-type.exp
13778 * gdb.dwarf2/nonvar-access.exp
13779 * gdb.dwarf2/opaque-type-lookup.exp
13780 * gdb.dwarf2/pieces-optimized-out.exp
13781 * gdb.dwarf2/pieces.exp
13782 * gdb.dwarf2/pr10770.exp
13783 * gdb.dwarf2/pr13961.exp
13784 * gdb.dwarf2/staticvirtual.exp
13785 * gdb.dwarf2/subrange.exp
13786 * gdb.dwarf2/symtab-producer.exp
13787 * gdb.dwarf2/trace-crash.exp
13788 * gdb.dwarf2/typeddwarf.exp
13789 * gdb.dwarf2/valop.exp
13790 * gdb.dwarf2/watch-notconst.exp
13791 * gdb.fortran/array-element.exp
13792 * gdb.fortran/charset.exp
13793 * gdb.fortran/common-block.exp
13794 * gdb.fortran/complex.exp
13795 * gdb.fortran/derived-type-function.exp
13796 * gdb.fortran/derived-type.exp
13797 * gdb.fortran/logical.exp
13798 * gdb.fortran/module.exp
13799 * gdb.fortran/multi-dim.exp
13800 * gdb.fortran/nested-funcs.exp
13801 * gdb.fortran/print-formatted.exp
13802 * gdb.fortran/subarray.exp
13803 * gdb.fortran/vla-alloc-assoc.exp
13804 * gdb.fortran/vla-datatypes.exp
13805 * gdb.fortran/vla-history.exp
13806 * gdb.fortran/vla-ptr-info.exp
13807 * gdb.fortran/vla-ptype-sub.exp
13808 * gdb.fortran/vla-ptype.exp
13809 * gdb.fortran/vla-sizeof.exp
13810 * gdb.fortran/vla-type.exp
13811 * gdb.fortran/vla-value-sub-arbitrary.exp
13812 * gdb.fortran/vla-value-sub-finish.exp
13813 * gdb.fortran/vla-value-sub.exp
13814 * gdb.fortran/vla-value.exp
13815 * gdb.fortran/whatis_type.exp
13816 * gdb.go/chan.exp
13817 * gdb.go/handcall.exp
13818 * gdb.go/hello.exp
13819 * gdb.go/integers.exp
13820 * gdb.go/methods.exp
13821 * gdb.go/package.exp
13822 * gdb.go/strings.exp
13823 * gdb.go/types.exp
13824 * gdb.go/unsafe.exp
13825 * gdb.guile/scm-arch.exp
13826 * gdb.guile/scm-block.exp
13827 * gdb.guile/scm-breakpoint.exp
13828 * gdb.guile/scm-cmd.exp
13829 * gdb.guile/scm-disasm.exp
13830 * gdb.guile/scm-equal.exp
13831 * gdb.guile/scm-frame-args.exp
13832 * gdb.guile/scm-frame-inline.exp
13833 * gdb.guile/scm-frame.exp
13834 * gdb.guile/scm-iterator.exp
13835 * gdb.guile/scm-math.exp
13836 * gdb.guile/scm-objfile.exp
13837 * gdb.guile/scm-ports.exp
13838 * gdb.guile/scm-symbol.exp
13839 * gdb.guile/scm-symtab.exp
13840 * gdb.guile/scm-value-cc.exp
13841 * gdb.guile/types-module.exp
13842 * gdb.linespec/break-ask.exp
13843 * gdb.linespec/cpexplicit.exp
13844 * gdb.linespec/explicit.exp
13845 * gdb.linespec/keywords.exp
13846 * gdb.linespec/linespec.exp
13847 * gdb.linespec/ls-dollar.exp
13848 * gdb.linespec/ls-errs.exp
13849 * gdb.linespec/skip-two.exp
13850 * gdb.linespec/thread.exp
13851 * gdb.mi/mi-async.exp
13852 * gdb.mi/mi-basics.exp
13853 * gdb.mi/mi-break.exp
13854 * gdb.mi/mi-catch-load.exp
13855 * gdb.mi/mi-cli.exp
13856 * gdb.mi/mi-cmd-param-changed.exp
13857 * gdb.mi/mi-console.exp
13858 * gdb.mi/mi-detach.exp
13859 * gdb.mi/mi-disassemble.exp
13860 * gdb.mi/mi-eval.exp
13861 * gdb.mi/mi-file-transfer.exp
13862 * gdb.mi/mi-file.exp
13863 * gdb.mi/mi-fill-memory.exp
13864 * gdb.mi/mi-inheritance-syntax-error.exp
13865 * gdb.mi/mi-linespec-err-cp.exp
13866 * gdb.mi/mi-logging.exp
13867 * gdb.mi/mi-memory-changed.exp
13868 * gdb.mi/mi-read-memory.exp
13869 * gdb.mi/mi-record-changed.exp
13870 * gdb.mi/mi-reg-undefined.exp
13871 * gdb.mi/mi-regs.exp
13872 * gdb.mi/mi-return.exp
13873 * gdb.mi/mi-reverse.exp
13874 * gdb.mi/mi-simplerun.exp
13875 * gdb.mi/mi-solib.exp
13876 * gdb.mi/mi-stack.exp
13877 * gdb.mi/mi-stepi.exp
13878 * gdb.mi/mi-syn-frame.exp
13879 * gdb.mi/mi-until.exp
13880 * gdb.mi/mi-var-block.exp
13881 * gdb.mi/mi-var-child.exp
13882 * gdb.mi/mi-var-cmd.exp
13883 * gdb.mi/mi-var-cp.exp
13884 * gdb.mi/mi-var-display.exp
13885 * gdb.mi/mi-var-invalidate.exp
13886 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13887 * gdb.mi/mi-vla-fortran.exp
13888 * gdb.mi/mi-watch.exp
13889 * gdb.mi/mi2-var-child.exp
13890 * gdb.mi/user-selected-context-sync.exp
13891 * gdb.modula2/unbounded-array.exp
13892 * gdb.multi/dummy-frame-restore.exp
13893 * gdb.multi/multi-arch-exec.exp
13894 * gdb.multi/multi-arch.exp
13895 * gdb.multi/tids.exp
13896 * gdb.multi/watchpoint-multi.exp
13897 * gdb.opencl/callfuncs.exp
13898 * gdb.opencl/convs_casts.exp
13899 * gdb.opencl/datatypes.exp
13900 * gdb.opencl/operators.exp
13901 * gdb.opencl/vec_comps.exp
13902 * gdb.opt/clobbered-registers-O2.exp
13903 * gdb.opt/inline-break.exp
13904 * gdb.opt/inline-bt.exp
13905 * gdb.opt/inline-cmds.exp
13906 * gdb.opt/inline-locals.exp
13907 * gdb.pascal/case-insensitive-symbols.exp
13908 * gdb.pascal/floats.exp
13909 * gdb.pascal/gdb11492.exp
13910 * gdb.python/lib-types.exp
13911 * gdb.python/py-arch.exp
13912 * gdb.python/py-as-string.exp
13913 * gdb.python/py-bad-printers.exp
13914 * gdb.python/py-block.exp
13915 * gdb.python/py-breakpoint-create-fail.exp
13916 * gdb.python/py-breakpoint.exp
13917 * gdb.python/py-caller-is.exp
13918 * gdb.python/py-cmd.exp
13919 * gdb.python/py-explore-cc.exp
13920 * gdb.python/py-explore.exp
13921 * gdb.python/py-finish-breakpoint.exp
13922 * gdb.python/py-finish-breakpoint2.exp
13923 * gdb.python/py-frame-args.exp
13924 * gdb.python/py-frame-inline.exp
13925 * gdb.python/py-frame.exp
13926 * gdb.python/py-framefilter-mi.exp
13927 * gdb.python/py-infthread.exp
13928 * gdb.python/py-lazy-string.exp
13929 * gdb.python/py-linetable.exp
13930 * gdb.python/py-mi-events.exp
13931 * gdb.python/py-mi-objfile.exp
13932 * gdb.python/py-mi.exp
13933 * gdb.python/py-objfile.exp
13934 * gdb.python/py-pp-integral.exp
13935 * gdb.python/py-pp-maint.exp
13936 * gdb.python/py-pp-re-notag.exp
13937 * gdb.python/py-pp-registration.exp
13938 * gdb.python/py-recurse-unwind.exp
13939 * gdb.python/py-strfns.exp
13940 * gdb.python/py-symbol.exp
13941 * gdb.python/py-symtab.exp
13942 * gdb.python/py-sync-interp.exp
13943 * gdb.python/py-typeprint.exp
13944 * gdb.python/py-unwind-maint.exp
13945 * gdb.python/py-unwind.exp
13946 * gdb.python/py-value-cc.exp
13947 * gdb.python/py-xmethods.exp
13948 * gdb.reverse/amd64-tailcall-reverse.exp
13949 * gdb.reverse/break-precsave.exp
13950 * gdb.reverse/break-reverse.exp
13951 * gdb.reverse/consecutive-precsave.exp
13952 * gdb.reverse/consecutive-reverse.exp
13953 * gdb.reverse/finish-precsave.exp
13954 * gdb.reverse/finish-reverse-bkpt.exp
13955 * gdb.reverse/finish-reverse.exp
13956 * gdb.reverse/fstatat-reverse.exp
13957 * gdb.reverse/getresuid-reverse.exp
13958 * gdb.reverse/i386-precsave.exp
13959 * gdb.reverse/i386-reverse.exp
13960 * gdb.reverse/i386-sse-reverse.exp
13961 * gdb.reverse/i387-env-reverse.exp
13962 * gdb.reverse/i387-stack-reverse.exp
13963 * gdb.reverse/insn-reverse.exp
13964 * gdb.reverse/machinestate-precsave.exp
13965 * gdb.reverse/machinestate.exp
13966 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13967 * gdb.reverse/pipe-reverse.exp
13968 * gdb.reverse/readv-reverse.exp
13969 * gdb.reverse/recvmsg-reverse.exp
13970 * gdb.reverse/rerun-prec.exp
13971 * gdb.reverse/s390-mvcle.exp
13972 * gdb.reverse/step-precsave.exp
13973 * gdb.reverse/step-reverse.exp
13974 * gdb.reverse/time-reverse.exp
13975 * gdb.reverse/until-precsave.exp
13976 * gdb.reverse/until-reverse.exp
13977 * gdb.reverse/waitpid-reverse.exp
13978 * gdb.reverse/watch-precsave.exp
13979 * gdb.reverse/watch-reverse.exp
13980 * gdb.rust/generics.exp
13981 * gdb.rust/methods.exp
13982 * gdb.rust/modules.exp
13983 * gdb.rust/simple.exp
13984 * gdb.server/connect-with-no-symbol-file.exp
13985 * gdb.server/ext-attach.exp
13986 * gdb.server/ext-restart.exp
13987 * gdb.server/ext-wrapper.exp
13988 * gdb.server/file-transfer.exp
13989 * gdb.server/server-exec-info.exp
13990 * gdb.server/server-kill.exp
13991 * gdb.server/server-mon.exp
13992 * gdb.server/wrapper.exp
13993 * gdb.stabs/exclfwd.exp
13994 * gdb.stabs/gdb11479.exp
13995 * gdb.threads/clone-new-thread-event.exp
13996 * gdb.threads/corethreads.exp
13997 * gdb.threads/current-lwp-dead.exp
13998 * gdb.threads/dlopen-libpthread.exp
13999 * gdb.threads/gcore-thread.exp
14000 * gdb.threads/sigstep-threads.exp
14001 * gdb.threads/watchpoint-fork.exp
14002 * gdb.trace/actions-changed.exp
14003 * gdb.trace/backtrace.exp
14004 * gdb.trace/change-loc.exp
14005 * gdb.trace/circ.exp
14006 * gdb.trace/collection.exp
14007 * gdb.trace/disconnected-tracing.exp
14008 * gdb.trace/ftrace.exp
14009 * gdb.trace/mi-trace-frame-collected.exp
14010 * gdb.trace/mi-trace-unavailable.exp
14011 * gdb.trace/mi-traceframe-changed.exp
14012 * gdb.trace/mi-tsv-changed.exp
14013 * gdb.trace/no-attach-trace.exp
14014 * gdb.trace/passc-dyn.exp
14015 * gdb.trace/qtro.exp
14016 * gdb.trace/range-stepping.exp
14017 * gdb.trace/read-memory.exp
14018 * gdb.trace/save-trace.exp
14019 * gdb.trace/signal.exp
14020 * gdb.trace/status-stop.exp
14021 * gdb.trace/tfile.exp
14022 * gdb.trace/trace-break.exp
14023 * gdb.trace/trace-buffer-size.exp
14024 * gdb.trace/trace-condition.exp
14025 * gdb.trace/tracefile-pseudo-reg.exp
14026 * gdb.trace/tstatus.exp
14027 * gdb.trace/unavailable.exp
14028 * gdb.trace/while-dyn.exp
14029 * gdb.trace/while-stepping.exp
14030
14031 2016-12-22 Doug Evans <xdje42@gmail.com>
14032
14033 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14034 and msymbols.
14035
14036 2016-12-19 Yao Qi <yao.qi@linaro.org>
14037
14038 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14039 (test_with_self): Don't call do_steps_and_nexts, and remove
14040 code about stepping into xmalloc.
14041
14042 2016-12-09 Yao Qi <yao.qi@linaro.org>
14043
14044 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14045
14046 2016-12-09 Yao Qi <yao.qi@linaro.org>
14047
14048 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14049
14050 2016-12-09 Pedro Alves <palves@redhat.com>
14051
14052 * gdb.base/all-architectures-0.exp: New file.
14053 * gdb.base/all-architectures-1.exp: New file.
14054 * gdb.base/all-architectures-2.exp: New file.
14055 * gdb.base/all-architectures-3.exp: New file.
14056 * gdb.base/all-architectures-4.exp: New file.
14057 * gdb.base/all-architectures-5.exp: New file.
14058 * gdb.base/all-architectures-6.exp: New file.
14059 * gdb.base/all-architectures-7.exp: New file.
14060 * gdb.base/all-architectures.exp.in: New file.
14061
14062 2016-12-09 Yao Qi <yao.qi@linaro.org>
14063
14064 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14065
14066 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
14067
14068 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14069 possible.
14070 Remove useless pattern-matching code.
14071
14072 2016-12-02 Pedro Alves <palves@redhat.com>
14073
14074 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14075 procedure.
14076 (top level): Call it.
14077
14078 2016-12-02 Pedro Alves <palves@redhat.com>
14079
14080 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14081 New procedure.
14082 (top level): Call it.
14083
14084 2016-12-02 Pedro Alves <palves@redhat.com>
14085
14086 PR cli/20559
14087 * gdb.base/commands.exp (user_defined_command_args_eval): New
14088 procedure.
14089 (top level): Call it.
14090
14091 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
14092
14093 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14094 timeout handling.
14095
14096 2016-12-02 Tom Tromey <tom@tromey.com>
14097
14098 * gdb.dwarf2/main-subprogram.c: New file.
14099 * gdb.dwarf2/main-subprogram.exp: New file.
14100
14101 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14102
14103 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14104 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14105 gdb_test_no_output for a couple of cases.
14106 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14107
14108 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14109
14110 Fix test names and standardize compilation error messages throughout
14111 the following files:
14112
14113 * gdb.ada/start.exp
14114 * gdb.arch/alpha-step.exp
14115 * gdb.arch/e500-prologue.exp
14116 * gdb.arch/ftrace-insn-reloc.exp
14117 * gdb.arch/gdb1291.exp
14118 * gdb.arch/gdb1431.exp
14119 * gdb.arch/gdb1558.exp
14120 * gdb.arch/i386-dr3-watch.exp
14121 * gdb.arch/i386-sse-stack-align.exp
14122 * gdb.arch/ia64-breakpoint-shadow.exp
14123 * gdb.arch/pa-nullify.exp
14124 * gdb.arch/powerpc-aix-prologue.exp
14125 * gdb.arch/thumb-bx-pc.exp
14126 * gdb.base/annota1.exp
14127 * gdb.base/annota3.exp
14128 * gdb.base/arrayidx.exp
14129 * gdb.base/assign.exp
14130 * gdb.base/attach.exp
14131 * gdb.base/auxv.exp
14132 * gdb.base/bang.exp
14133 * gdb.base/bfp-test.exp
14134 * gdb.base/bigcore.exp
14135 * gdb.base/bitfields2.exp
14136 * gdb.base/break-fun-addr.exp
14137 * gdb.base/break-probes.exp
14138 * gdb.base/call-rt-st.exp
14139 * gdb.base/callexit.exp
14140 * gdb.base/catch-fork-kill.exp
14141 * gdb.base/charset.exp
14142 * gdb.base/checkpoint.exp
14143 * gdb.base/comprdebug.exp
14144 * gdb.base/constvars.exp
14145 * gdb.base/coredump-filter.exp
14146 * gdb.base/cursal.exp
14147 * gdb.base/cvexpr.exp
14148 * gdb.base/detach.exp
14149 * gdb.base/display.exp
14150 * gdb.base/dmsym.exp
14151 * gdb.base/dprintf-pending.exp
14152 * gdb.base/dso2dso.exp
14153 * gdb.base/dtrace-probe.exp
14154 * gdb.base/dump.exp
14155 * gdb.base/enum_cond.exp
14156 * gdb.base/exe-lock.exp
14157 * gdb.base/exec-invalid-sysroot.exp
14158 * gdb.base/execl-update-breakpoints.exp
14159 * gdb.base/exprs.exp
14160 * gdb.base/fileio.exp
14161 * gdb.base/find.exp
14162 * gdb.base/finish.exp
14163 * gdb.base/fixsection.exp
14164 * gdb.base/foll-vfork.exp
14165 * gdb.base/frame-args.exp
14166 * gdb.base/gcore.exp
14167 * gdb.base/gdb1250.exp
14168 * gdb.base/global-var-nested-by-dso.exp
14169 * gdb.base/gnu-ifunc.exp
14170 * gdb.base/hashline1.exp
14171 * gdb.base/hashline2.exp
14172 * gdb.base/hashline3.exp
14173 * gdb.base/hbreak-in-shr-unsupported.exp
14174 * gdb.base/huge.exp
14175 * gdb.base/infcall-input.exp
14176 * gdb.base/info-fun.exp
14177 * gdb.base/info-shared.exp
14178 * gdb.base/jit-simple.exp
14179 * gdb.base/jit-so.exp
14180 * gdb.base/jit.exp
14181 * gdb.base/jump.exp
14182 * gdb.base/label.exp
14183 * gdb.base/lineinc.exp
14184 * gdb.base/logical.exp
14185 * gdb.base/longjmp.exp
14186 * gdb.base/macscp.exp
14187 * gdb.base/miscexprs.exp
14188 * gdb.base/new-ui-echo.exp
14189 * gdb.base/new-ui-pending-input.exp
14190 * gdb.base/new-ui.exp
14191 * gdb.base/nodebug.exp
14192 * gdb.base/nofield.exp
14193 * gdb.base/offsets.exp
14194 * gdb.base/overlays.exp
14195 * gdb.base/pending.exp
14196 * gdb.base/pointers.exp
14197 * gdb.base/pr11022.exp
14198 * gdb.base/printcmds.exp
14199 * gdb.base/prologue.exp
14200 * gdb.base/ptr-typedef.exp
14201 * gdb.base/realname-expand.exp
14202 * gdb.base/relativedebug.exp
14203 * gdb.base/relocate.exp
14204 * gdb.base/remote.exp
14205 * gdb.base/reread.exp
14206 * gdb.base/return2.exp
14207 * gdb.base/savedregs.exp
14208 * gdb.base/sep.exp
14209 * gdb.base/sepdebug.exp
14210 * gdb.base/sepsymtab.exp
14211 * gdb.base/set-inferior-tty.exp
14212 * gdb.base/setshow.exp
14213 * gdb.base/shlib-call.exp
14214 * gdb.base/sigaltstack.exp
14215 * gdb.base/siginfo-addr.exp
14216 * gdb.base/signals.exp
14217 * gdb.base/signull.exp
14218 * gdb.base/sigrepeat.exp
14219 * gdb.base/so-impl-ld.exp
14220 * gdb.base/solib-display.exp
14221 * gdb.base/solib-overlap.exp
14222 * gdb.base/solib-search.exp
14223 * gdb.base/solib-symbol.exp
14224 * gdb.base/structs.exp
14225 * gdb.base/structs2.exp
14226 * gdb.base/symtab-search-order.exp
14227 * gdb.base/twice.exp
14228 * gdb.base/unload.exp
14229 * gdb.base/varargs.exp
14230 * gdb.base/watchpoint-solib.exp
14231 * gdb.base/watchpoint.exp
14232 * gdb.base/whatis.exp
14233 * gdb.base/wrong_frame_bt_full.exp
14234 * gdb.btrace/dlopen.exp
14235 * gdb.cell/ea-standalone.exp
14236 * gdb.cell/ea-test.exp
14237 * gdb.cp/dispcxx.exp
14238 * gdb.cp/gdb2384.exp
14239 * gdb.cp/method2.exp
14240 * gdb.cp/nextoverthrow.exp
14241 * gdb.cp/pr10728.exp
14242 * gdb.disasm/am33.exp
14243 * gdb.disasm/h8300s.exp
14244 * gdb.disasm/mn10300.exp
14245 * gdb.disasm/sh3.exp
14246 * gdb.dwarf2/dw2-dir-file-name.exp
14247 * gdb.fortran/complex.exp
14248 * gdb.fortran/library-module.exp
14249 * gdb.guile/scm-pretty-print.exp
14250 * gdb.guile/scm-symbol.exp
14251 * gdb.guile/scm-type.exp
14252 * gdb.guile/scm-value.exp
14253 * gdb.linespec/linespec.exp
14254 * gdb.mi/gdb701.exp
14255 * gdb.mi/gdb792.exp
14256 * gdb.mi/mi-breakpoint-changed.exp
14257 * gdb.mi/mi-dprintf-pending.exp
14258 * gdb.mi/mi-dprintf.exp
14259 * gdb.mi/mi-exit-code.exp
14260 * gdb.mi/mi-pending.exp
14261 * gdb.mi/mi-solib.exp
14262 * gdb.mi/new-ui-mi-sync.exp
14263 * gdb.mi/pr11022.exp
14264 * gdb.mi/user-selected-context-sync.exp
14265 * gdb.opt/solib-intra-step.exp
14266 * gdb.python/py-events.exp
14267 * gdb.python/py-finish-breakpoint.exp
14268 * gdb.python/py-mi.exp
14269 * gdb.python/py-prettyprint.exp
14270 * gdb.python/py-shared.exp
14271 * gdb.python/py-symbol.exp
14272 * gdb.python/py-template.exp
14273 * gdb.python/py-type.exp
14274 * gdb.python/py-value.exp
14275 * gdb.reverse/solib-precsave.exp
14276 * gdb.reverse/solib-reverse.exp
14277 * gdb.server/solib-list.exp
14278 * gdb.stabs/weird.exp
14279 * gdb.threads/reconnect-signal.exp
14280 * gdb.threads/stepi-random-signal.exp
14281 * gdb.trace/actions.exp
14282 * gdb.trace/ax.exp
14283 * gdb.trace/backtrace.exp
14284 * gdb.trace/change-loc.exp
14285 * gdb.trace/deltrace.exp
14286 * gdb.trace/ftrace-lock.exp
14287 * gdb.trace/ftrace.exp
14288 * gdb.trace/infotrace.exp
14289 * gdb.trace/mi-tracepoint-changed.exp
14290 * gdb.trace/packetlen.exp
14291 * gdb.trace/passcount.exp
14292 * gdb.trace/pending.exp
14293 * gdb.trace/range-stepping.exp
14294 * gdb.trace/report.exp
14295 * gdb.trace/stap-trace.exp
14296 * gdb.trace/tfind.exp
14297 * gdb.trace/trace-break.exp
14298 * gdb.trace/trace-condition.exp
14299 * gdb.trace/trace-enable-disable.exp
14300 * gdb.trace/trace-mt.exp
14301 * gdb.trace/tracecmd.exp
14302 * gdb.trace/tspeed.exp
14303 * gdb.trace/tsv.exp
14304 * lib/perftest.exp
14305
14306 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14307
14308 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14309 with gdb_test_no_output.
14310 Use command as test name.
14311
14312 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14313
14314 Fix test names starting with uppercase throughout the files.
14315
14316 * gdb.ada/assign_1.exp
14317 * gdb.ada/boolean_expr.exp
14318 * gdb.base/arrayidx.exp
14319 * gdb.base/del.exp
14320 * gdb.base/gcore-buffer-overflow.exp
14321 * gdb.base/testenv.exp
14322 * gdb.compile/compile.exp
14323 * gdb.python/py-framefilter-invalidarg.exp
14324 * gdb.python/py-framefilter.exp
14325
14326 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14327
14328 Fix test names starting with uppercase throughout the files.
14329
14330 * gdb.ada/array_return.exp
14331 * gdb.ada/expr_delims.exp
14332 * gdb.ada/mi_dyn_arr.exp
14333 * gdb.ada/mi_interface.exp
14334 * gdb.ada/mi_var_array.exp
14335 * gdb.ada/watch_arg.exp
14336 * gdb.arch/alpha-step.exp
14337 * gdb.arch/altivec-regs.exp
14338 * gdb.arch/e500-regs.exp
14339 * gdb.arch/powerpc-d128-regs.exp
14340 * gdb.base/arrayidx.exp
14341 * gdb.base/break.exp
14342 * gdb.base/checkpoint.exp
14343 * gdb.base/debug-expr.exp
14344 * gdb.base/dmsym.exp
14345 * gdb.base/radix.exp
14346 * gdb.base/sepdebug.exp
14347 * gdb.base/testenv.exp
14348 * gdb.base/watch_thread_num.exp
14349 * gdb.base/watchpoint-cond-gone.exp
14350 * gdb.cell/break.exp
14351 * gdb.cell/ea-cache.exp
14352 * gdb.compile/compile.exp
14353 * gdb.cp/gdb2495.exp
14354 * gdb.gdb/selftest.exp
14355 * gdb.gdb/xfullpath.exp
14356 * gdb.go/hello.exp
14357 * gdb.go/integers.exp
14358 * gdb.objc/basicclass.exp
14359 * gdb.pascal/hello.exp
14360 * gdb.pascal/integers.exp
14361 * gdb.python/py-breakpoint.exp
14362 * gdb.python/py-cmd.exp
14363 * gdb.python/py-linetable.exp
14364 * gdb.python/py-xmethods.exp
14365 * gdb.python/python.exp
14366 * gdb.reverse/consecutive-precsave.exp
14367 * gdb.reverse/finish-precsave.exp
14368 * gdb.reverse/i386-precsave.exp
14369 * gdb.reverse/machinestate-precsave.exp
14370 * gdb.reverse/sigall-precsave.exp
14371 * gdb.reverse/solib-precsave.exp
14372 * gdb.reverse/step-precsave.exp
14373 * gdb.reverse/until-precsave.exp
14374 * gdb.reverse/watch-precsave.exp
14375 * gdb.threads/leader-exit.exp
14376 * gdb.threads/pthreads.exp
14377 * gdb.threads/wp-replication.exp
14378 * gdb.trace/actions.exp
14379 * gdb.trace/mi-tsv-changed.exp
14380 * gdb.trace/tsv.exp
14381
14382 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14383
14384 Fix test names starting with uppercase throughout the files.
14385
14386 * gdb.arch/i386-bp_permanent.exp
14387 * gdb.arch/i386-gnu-cfi.exp
14388 * gdb.base/disasm-end-cu.exp
14389 * gdb.base/macscp.exp
14390 * gdb.base/pending.exp
14391 * gdb.base/watch_thread_num.exp
14392 * gdb.cp/exception.exp
14393 * gdb.cp/gdb2495.exp
14394 * gdb.cp/local.exp
14395 * gdb.python/py-evsignal.exp
14396 * gdb.python/python.exp
14397 * gdb.trace/tracecmd.exp
14398
14399 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14400
14401 Fix test names starting with uppercase throughout the files.
14402
14403 * gdb.base/charset.exp
14404 * gdb.base/eval.exp
14405 * gdb.base/multi-forks.exp
14406 * gdb.guile/scm-progspace.exp
14407 * gdb.opencl/datatypes.exp
14408 * gdb.python/py-block.exp
14409 * gdb.python/py-function.exp
14410 * gdb.python/py-symbol.exp
14411 * gdb.python/py-symtab.exp
14412 * gdb.python/py-xmethods.exp
14413 * gdb.reverse/break-precsave.exp
14414 * gdb.reverse/break-reverse.exp
14415 * gdb.reverse/consecutive-precsave.exp
14416 * gdb.reverse/consecutive-reverse.exp
14417 * gdb.reverse/finish-precsave.exp
14418 * gdb.reverse/finish-reverse-bkpt.exp
14419 * gdb.reverse/finish-reverse.exp
14420 * gdb.reverse/fstatat-reverse.exp
14421 * gdb.reverse/getresuid-reverse.exp
14422 * gdb.reverse/i386-precsave.exp
14423 * gdb.reverse/i386-reverse.exp
14424 * gdb.reverse/i386-sse-reverse.exp
14425 * gdb.reverse/i387-stack-reverse.exp
14426 * gdb.reverse/insn-reverse.exp
14427 * gdb.reverse/machinestate-precsave.exp
14428 * gdb.reverse/machinestate.exp
14429 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14430 * gdb.reverse/pipe-reverse.exp
14431 * gdb.reverse/readv-reverse.exp
14432 * gdb.reverse/recvmsg-reverse.exp
14433 * gdb.reverse/rerun-prec.exp
14434 * gdb.reverse/s390-mvcle.exp
14435 * gdb.reverse/sigall-precsave.exp
14436 * gdb.reverse/sigall-reverse.exp
14437 * gdb.reverse/solib-precsave.exp
14438 * gdb.reverse/solib-reverse.exp
14439 * gdb.reverse/step-precsave.exp
14440 * gdb.reverse/step-reverse.exp
14441 * gdb.reverse/time-reverse.exp
14442 * gdb.reverse/until-precsave.exp
14443 * gdb.reverse/until-reverse.exp
14444 * gdb.reverse/waitpid-reverse.exp
14445 * gdb.reverse/watch-precsave.exp
14446 * gdb.reverse/watch-reverse.exp
14447
14448 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14449
14450 Fix test names starting with uppercase throughout the files.
14451
14452 * gdb.arch/i386-mpx-simple_segv.exp
14453 * gdb.arch/i386-mpx.exp
14454 * gdb.arch/i386-permbkpt.exp
14455 * gdb.arch/pa-nullify.exp
14456 * gdb.arch/powerpc-d128-regs.exp
14457 * gdb.arch/vsx-regs.exp
14458 * gdb.base/bfp-test.exp
14459 * gdb.base/break.exp
14460 * gdb.base/breakpoint-shadow.exp
14461 * gdb.base/callfuncs.exp
14462 * gdb.base/charset.exp
14463 * gdb.base/commands.exp
14464 * gdb.base/completion.exp
14465 * gdb.base/dfp-test.exp
14466 * gdb.base/echo.exp
14467 * gdb.base/ending-run.exp
14468 * gdb.base/eval.exp
14469 * gdb.base/expand-psymtabs.exp
14470 * gdb.base/float128.exp
14471 * gdb.base/floatn.exp
14472 * gdb.base/foll-exec-mode.exp
14473 * gdb.base/gdb1056.exp
14474 * gdb.base/gdb11531.exp
14475 * gdb.base/kill-after-signal.exp
14476 * gdb.base/multi-forks.exp
14477 * gdb.base/overlays.exp
14478 * gdb.base/pending.exp
14479 * gdb.base/sepdebug.exp
14480 * gdb.base/testenv.exp
14481 * gdb.base/valgrind-db-attach.exp
14482 * gdb.base/watch_thread_num.exp
14483 * gdb.base/watchpoint-cond-gone.exp
14484 * gdb.base/watchpoint.exp
14485 * gdb.base/watchpoints.exp
14486 * gdb.cp/arg-reference.exp
14487 * gdb.cp/baseenum.exp
14488 * gdb.cp/operator.exp
14489 * gdb.cp/shadow.exp
14490 * gdb.dwarf2/dw2-op-out-param.exp
14491 * gdb.dwarf2/dw2-reg-undefined.exp
14492 * gdb.go/chan.exp
14493 * gdb.go/hello.exp
14494 * gdb.go/integers.exp
14495 * gdb.go/methods.exp
14496 * gdb.go/package.exp
14497 * gdb.guile/scm-parameter.exp
14498 * gdb.guile/scm-progspace.exp
14499 * gdb.guile/scm-value.exp
14500 * gdb.mi/mi-pending.exp
14501 * gdb.mi/user-selected-context-sync.exp
14502 * gdb.multi/multi-attach.exp
14503 * gdb.multi/tids.exp
14504 * gdb.opt/clobbered-registers-O2.exp
14505 * gdb.pascal/floats.exp
14506 * gdb.pascal/integers.exp
14507 * gdb.python/py-block.exp
14508 * gdb.python/py-events.exp
14509 * gdb.python/py-parameter.exp
14510 * gdb.python/py-symbol.exp
14511 * gdb.python/py-symtab.exp
14512 * gdb.python/py-type.exp
14513 * gdb.python/py-value.exp
14514 * gdb.python/py-xmethods.exp
14515 * gdb.python/python.exp
14516 * gdb.reverse/break-precsave.exp
14517 * gdb.reverse/consecutive-precsave.exp
14518 * gdb.reverse/finish-precsave.exp
14519 * gdb.reverse/i386-precsave.exp
14520 * gdb.reverse/machinestate-precsave.exp
14521 * gdb.reverse/sigall-precsave.exp
14522 * gdb.reverse/solib-precsave.exp
14523 * gdb.reverse/step-precsave.exp
14524 * gdb.reverse/until-precsave.exp
14525 * gdb.reverse/watch-precsave.exp
14526 * gdb.server/ext-attach.exp
14527 * gdb.server/ext-restart.exp
14528 * gdb.server/ext-run.exp
14529 * gdb.server/ext-wrapper.exp
14530 * gdb.stabs/gdb11479.exp
14531 * gdb.stabs/weird.exp
14532 * gdb.threads/attach-many-short-lived-threads.exp
14533 * gdb.threads/kill.exp
14534 * gdb.threads/watchpoint-fork.exp
14535
14536 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14537
14538 Fix test names starting with uppercase throughout all the files below.
14539
14540 * gdb.ada/array_return.exp
14541 * gdb.ada/catch_ex.exp
14542 * gdb.ada/info_exc.exp
14543 * gdb.ada/mi_catch_ex.exp
14544 * gdb.ada/mi_dyn_arr.exp
14545 * gdb.ada/mi_ex_cond.exp
14546 * gdb.ada/mi_exc_info.exp
14547 * gdb.ada/mi_interface.exp
14548 * gdb.ada/mi_task_arg.exp
14549 * gdb.ada/mi_task_info.exp
14550 * gdb.ada/mi_var_array.exp
14551 * gdb.arch/alpha-step.exp
14552 * gdb.arch/amd64-disp-step.exp
14553 * gdb.arch/arm-disp-step.exp
14554 * gdb.arch/disp-step-insn-reloc.exp
14555 * gdb.arch/e500-prologue.exp
14556 * gdb.arch/ftrace-insn-reloc.exp
14557 * gdb.arch/gdb1558.exp
14558 * gdb.arch/i386-bp_permanent.exp
14559 * gdb.arch/i386-disp-step.exp
14560 * gdb.arch/i386-float.exp
14561 * gdb.arch/i386-gnu-cfi.exp
14562 * gdb.arch/ia64-breakpoint-shadow.exp
14563 * gdb.arch/mips16-thunks.exp
14564 * gdb.arch/pa-nullify.exp
14565 * gdb.arch/powerpc-aix-prologue.exp
14566 * gdb.arch/powerpc-power.exp
14567 * gdb.arch/ppc-dfp.exp
14568 * gdb.arch/s390-tdbregs.exp
14569 * gdb.arch/spu-info.exp
14570 * gdb.arch/spu-ls.exp
14571 * gdb.arch/thumb-bx-pc.exp
14572 * gdb.base/advance.exp
14573 * gdb.base/annota-input-while-running.exp
14574 * gdb.base/arrayidx.exp
14575 * gdb.base/asmlabel.exp
14576 * gdb.base/async.exp
14577 * gdb.base/attach-wait-input.exp
14578 * gdb.base/auto-connect-native-target.exp
14579 * gdb.base/batch-preserve-term-settings.exp
14580 * gdb.base/bfp-test.exp
14581 * gdb.base/bigcore.exp
14582 * gdb.base/bp-permanent.exp
14583 * gdb.base/break-always.exp
14584 * gdb.base/break-fun-addr.exp
14585 * gdb.base/break-idempotent.exp
14586 * gdb.base/break-main-file-remove-fail.exp
14587 * gdb.base/break-probes.exp
14588 * gdb.base/break-unload-file.exp
14589 * gdb.base/break.exp
14590 * gdb.base/call-ar-st.exp
14591 * gdb.base/call-rt-st.exp
14592 * gdb.base/call-sc.exp
14593 * gdb.base/call-signal-resume.exp
14594 * gdb.base/call-strs.exp
14595 * gdb.base/callexit.exp
14596 * gdb.base/callfuncs.exp
14597 * gdb.base/catch-gdb-caused-signals.exp
14598 * gdb.base/catch-signal-siginfo-cond.exp
14599 * gdb.base/catch-syscall.exp
14600 * gdb.base/compare-sections.exp
14601 * gdb.base/cond-eval-mode.exp
14602 * gdb.base/condbreak-call-false.exp
14603 * gdb.base/consecutive-step-over.exp
14604 * gdb.base/cursal.exp
14605 * gdb.base/disabled-location.exp
14606 * gdb.base/disasm-end-cu.exp
14607 * gdb.base/display.exp
14608 * gdb.base/double-prompt-target-event-error.exp
14609 * gdb.base/dprintf-bp-same-addr.exp
14610 * gdb.base/dprintf-detach.exp
14611 * gdb.base/dprintf-next.exp
14612 * gdb.base/dprintf-non-stop.exp
14613 * gdb.base/dprintf-pending.exp
14614 * gdb.base/dso2dso.exp
14615 * gdb.base/ending-run.exp
14616 * gdb.base/enum_cond.exp
14617 * gdb.base/examine-backward.exp
14618 * gdb.base/exe-lock.exp
14619 * gdb.base/exec-invalid-sysroot.exp
14620 * gdb.base/execl-update-breakpoints.exp
14621 * gdb.base/execution-termios.exp
14622 * gdb.base/fileio.exp
14623 * gdb.base/fixsection.exp
14624 * gdb.base/foll-exec-mode.exp
14625 * gdb.base/foll-exec.exp
14626 * gdb.base/fork-running-state.exp
14627 * gdb.base/frame-args.exp
14628 * gdb.base/fullpath-expand.exp
14629 * gdb.base/func-ptr.exp
14630 * gdb.base/gcore-relro-pie.exp
14631 * gdb.base/gdb1090.exp
14632 * gdb.base/gdb1555.exp
14633 * gdb.base/global-var-nested-by-dso.exp
14634 * gdb.base/gnu-ifunc.exp
14635 * gdb.base/hbreak-in-shr-unsupported.exp
14636 * gdb.base/hbreak-unmapped.exp
14637 * gdb.base/hook-stop.exp
14638 * gdb.base/infcall-input.exp
14639 * gdb.base/info-fun.exp
14640 * gdb.base/info-shared.exp
14641 * gdb.base/interrupt-noterm.exp
14642 * gdb.base/jit-so.exp
14643 * gdb.base/jit.exp
14644 * gdb.base/line-symtabs.exp
14645 * gdb.base/list.exp
14646 * gdb.base/longjmp.exp
14647 * gdb.base/macscp.exp
14648 * gdb.base/max-value-size.exp
14649 * gdb.base/nodebug.exp
14650 * gdb.base/nofield.exp
14651 * gdb.base/overlays.exp
14652 * gdb.base/paginate-after-ctrl-c-running.exp
14653 * gdb.base/paginate-bg-execution.exp
14654 * gdb.base/paginate-inferior-exit.exp
14655 * gdb.base/pending.exp
14656 * gdb.base/pr11022.exp
14657 * gdb.base/printcmds.exp
14658 * gdb.base/ptr-typedef.exp
14659 * gdb.base/ptype.exp
14660 * gdb.base/randomize.exp
14661 * gdb.base/range-stepping.exp
14662 * gdb.base/realname-expand.exp
14663 * gdb.base/relativedebug.exp
14664 * gdb.base/remote.exp
14665 * gdb.base/savedregs.exp
14666 * gdb.base/sepdebug.exp
14667 * gdb.base/set-noassign.exp
14668 * gdb.base/shlib-call.exp
14669 * gdb.base/shreloc.exp
14670 * gdb.base/sigaltstack.exp
14671 * gdb.base/sigbpt.exp
14672 * gdb.base/siginfo-addr.exp
14673 * gdb.base/siginfo-obj.exp
14674 * gdb.base/siginfo-thread.exp
14675 * gdb.base/signest.exp
14676 * gdb.base/signull.exp
14677 * gdb.base/sigrepeat.exp
14678 * gdb.base/skip.exp
14679 * gdb.base/so-impl-ld.exp
14680 * gdb.base/solib-corrupted.exp
14681 * gdb.base/solib-disc.exp
14682 * gdb.base/solib-display.exp
14683 * gdb.base/solib-overlap.exp
14684 * gdb.base/solib-search.exp
14685 * gdb.base/solib-symbol.exp
14686 * gdb.base/source-execution.exp
14687 * gdb.base/sss-bp-on-user-bp-2.exp
14688 * gdb.base/sss-bp-on-user-bp.exp
14689 * gdb.base/stack-checking.exp
14690 * gdb.base/stale-infcall.exp
14691 * gdb.base/step-break.exp
14692 * gdb.base/step-line.exp
14693 * gdb.base/step-over-exit.exp
14694 * gdb.base/step-test.exp
14695 * gdb.base/structs.exp
14696 * gdb.base/sym-file.exp
14697 * gdb.base/symtab-search-order.exp
14698 * gdb.base/term.exp
14699 * gdb.base/type-opaque.exp
14700 * gdb.base/unload.exp
14701 * gdb.base/until-nodebug.exp
14702 * gdb.base/until.exp
14703 * gdb.base/unwindonsignal.exp
14704 * gdb.base/watch-cond.exp
14705 * gdb.base/watch-non-mem.exp
14706 * gdb.base/watch_thread_num.exp
14707 * gdb.base/watchpoint-reuse-slot.exp
14708 * gdb.base/watchpoint-solib.exp
14709 * gdb.base/watchpoint.exp
14710 * gdb.btrace/dlopen.exp
14711 * gdb.cell/arch.exp
14712 * gdb.cell/break.exp
14713 * gdb.cell/bt.exp
14714 * gdb.cell/core.exp
14715 * gdb.cell/data.exp
14716 * gdb.cell/dwarfaddr.exp
14717 * gdb.cell/ea-cache.exp
14718 * gdb.cell/ea-standalone.exp
14719 * gdb.cell/ea-test.exp
14720 * gdb.cell/f-regs.exp
14721 * gdb.cell/fork.exp
14722 * gdb.cell/gcore.exp
14723 * gdb.cell/mem-access.exp
14724 * gdb.cell/ptype.exp
14725 * gdb.cell/registers.exp
14726 * gdb.cell/sizeof.exp
14727 * gdb.cell/solib-symbol.exp
14728 * gdb.cell/solib.exp
14729 * gdb.compile/compile-tls.exp
14730 * gdb.cp/exception.exp
14731 * gdb.cp/gdb2495.exp
14732 * gdb.cp/local.exp
14733 * gdb.cp/mb-inline.exp
14734 * gdb.cp/mb-templates.exp
14735 * gdb.cp/pr10687.exp
14736 * gdb.cp/pr9167.exp
14737 * gdb.cp/scope-err.exp
14738 * gdb.cp/templates.exp
14739 * gdb.cp/virtfunc.exp
14740 * gdb.dwarf2/dw2-dir-file-name.exp
14741 * gdb.dwarf2/dw2-single-line-discriminators.exp
14742 * gdb.fortran/complex.exp
14743 * gdb.fortran/library-module.exp
14744 * gdb.guile/guile.exp
14745 * gdb.guile/scm-cmd.exp
14746 * gdb.guile/scm-frame-inline.exp
14747 * gdb.guile/scm-objfile.exp
14748 * gdb.guile/scm-pretty-print.exp
14749 * gdb.guile/scm-symbol.exp
14750 * gdb.guile/scm-type.exp
14751 * gdb.guile/scm-value.exp
14752 * gdb.linespec/keywords.exp
14753 * gdb.linespec/ls-errs.exp
14754 * gdb.linespec/macro-relative.exp
14755 * gdb.linespec/thread.exp
14756 * gdb.mi/mi-breakpoint-changed.exp
14757 * gdb.mi/mi-dprintf-pending.exp
14758 * gdb.mi/mi-fullname-deleted.exp
14759 * gdb.mi/mi-logging.exp
14760 * gdb.mi/mi-pending.exp
14761 * gdb.mi/mi-solib.exp
14762 * gdb.mi/new-ui-mi-sync.exp
14763 * gdb.mi/user-selected-context-sync.exp
14764 * gdb.multi/dummy-frame-restore.exp
14765 * gdb.multi/multi-arch-exec.exp
14766 * gdb.multi/remove-inferiors.exp
14767 * gdb.multi/watchpoint-multi-exit.exp
14768 * gdb.opt/solib-intra-step.exp
14769 * gdb.perf/backtrace.exp
14770 * gdb.perf/single-step.exp
14771 * gdb.perf/skip-command.exp
14772 * gdb.perf/skip-prologue.exp
14773 * gdb.perf/solib.exp
14774 * gdb.python/lib-types.exp
14775 * gdb.python/py-as-string.exp
14776 * gdb.python/py-bad-printers.exp
14777 * gdb.python/py-block.exp
14778 * gdb.python/py-breakpoint.exp
14779 * gdb.python/py-cmd.exp
14780 * gdb.python/py-events.exp
14781 * gdb.python/py-evthreads.exp
14782 * gdb.python/py-finish-breakpoint.exp
14783 * gdb.python/py-finish-breakpoint2.exp
14784 * gdb.python/py-frame-inline.exp
14785 * gdb.python/py-frame.exp
14786 * gdb.python/py-inferior.exp
14787 * gdb.python/py-infthread.exp
14788 * gdb.python/py-mi.exp
14789 * gdb.python/py-objfile.exp
14790 * gdb.python/py-pp-maint.exp
14791 * gdb.python/py-pp-registration.exp
14792 * gdb.python/py-prettyprint.exp
14793 * gdb.python/py-recurse-unwind.exp
14794 * gdb.python/py-shared.exp
14795 * gdb.python/py-symbol.exp
14796 * gdb.python/py-symtab.exp
14797 * gdb.python/py-template.exp
14798 * gdb.python/py-type.exp
14799 * gdb.python/py-unwind-maint.exp
14800 * gdb.python/py-unwind.exp
14801 * gdb.python/py-value.exp
14802 * gdb.python/python.exp
14803 * gdb.reverse/finish-reverse-bkpt.exp
14804 * gdb.reverse/insn-reverse.exp
14805 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14806 * gdb.reverse/solib-precsave.exp
14807 * gdb.reverse/solib-reverse.exp
14808 * gdb.stabs/gdb11479.exp
14809 * gdb.stabs/weird.exp
14810 * gdb.threads/fork-child-threads.exp
14811 * gdb.threads/fork-plus-threads.exp
14812 * gdb.threads/fork-thread-pending.exp
14813 * gdb.threads/forking-threads-plus-breakpoint.exp
14814 * gdb.threads/hand-call-in-threads.exp
14815 * gdb.threads/interrupted-hand-call.exp
14816 * gdb.threads/linux-dp.exp
14817 * gdb.threads/local-watch-wrong-thread.exp
14818 * gdb.threads/next-while-other-thread-longjmps.exp
14819 * gdb.threads/non-ldr-exit.exp
14820 * gdb.threads/pending-step.exp
14821 * gdb.threads/print-threads.exp
14822 * gdb.threads/process-dies-while-detaching.exp
14823 * gdb.threads/process-dies-while-handling-bp.exp
14824 * gdb.threads/pthreads.exp
14825 * gdb.threads/queue-signal.exp
14826 * gdb.threads/reconnect-signal.exp
14827 * gdb.threads/signal-command-handle-nopass.exp
14828 * gdb.threads/signal-command-multiple-signals-pending.exp
14829 * gdb.threads/signal-delivered-right-thread.exp
14830 * gdb.threads/signal-sigtrap.exp
14831 * gdb.threads/sigthread.exp
14832 * gdb.threads/staticthreads.exp
14833 * gdb.threads/stepi-random-signal.exp
14834 * gdb.threads/thread-unwindonsignal.exp
14835 * gdb.threads/thread_check.exp
14836 * gdb.threads/thread_events.exp
14837 * gdb.threads/tid-reuse.exp
14838 * gdb.threads/tls-nodebug.exp
14839 * gdb.threads/tls-shared.exp
14840 * gdb.threads/tls-so_extern.exp
14841 * gdb.threads/tls.exp
14842 * gdb.threads/wp-replication.exp
14843 * gdb.trace/actions-changed.exp
14844 * gdb.trace/actions.exp
14845 * gdb.trace/backtrace.exp
14846 * gdb.trace/change-loc.exp
14847 * gdb.trace/collection.exp
14848 * gdb.trace/deltrace.exp
14849 * gdb.trace/disconnected-tracing.exp
14850 * gdb.trace/entry-values.exp
14851 * gdb.trace/ftrace-lock.exp
14852 * gdb.trace/ftrace.exp
14853 * gdb.trace/infotrace.exp
14854 * gdb.trace/mi-trace-frame-collected.exp
14855 * gdb.trace/mi-trace-unavailable.exp
14856 * gdb.trace/mi-traceframe-changed.exp
14857 * gdb.trace/mi-tracepoint-changed.exp
14858 * gdb.trace/mi-tsv-changed.exp
14859 * gdb.trace/no-attach-trace.exp
14860 * gdb.trace/packetlen.exp
14861 * gdb.trace/passc-dyn.exp
14862 * gdb.trace/passcount.exp
14863 * gdb.trace/pending.exp
14864 * gdb.trace/pr16508.exp
14865 * gdb.trace/qtro.exp
14866 * gdb.trace/range-stepping.exp
14867 * gdb.trace/read-memory.exp
14868 * gdb.trace/report.exp
14869 * gdb.trace/save-trace.exp
14870 * gdb.trace/signal.exp
14871 * gdb.trace/stap-trace.exp
14872 * gdb.trace/status-stop.exp
14873 * gdb.trace/strace.exp
14874 * gdb.trace/tfile.exp
14875 * gdb.trace/tfind.exp
14876 * gdb.trace/trace-break.exp
14877 * gdb.trace/trace-condition.exp
14878 * gdb.trace/trace-enable-disable.exp
14879 * gdb.trace/trace-mt.exp
14880 * gdb.trace/tracecmd.exp
14881 * gdb.trace/tracefile-pseudo-reg.exp
14882 * gdb.trace/tspeed.exp
14883 * gdb.trace/tstatus.exp
14884 * gdb.trace/tsv.exp
14885 * gdb.trace/unavailable.exp
14886 * gdb.trace/while-dyn.exp
14887 * gdb.trace/while-stepping.exp
14888 * lib/gdb-guile.exp
14889 * lib/gdb.exp
14890 * lib/mi-support.exp
14891 * lib/pascal.exp
14892 * lib/perftest.exp
14893 * lib/prelink-support.exp
14894 * lib/selftest-support.exp
14895
14896 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14897
14898 * Makefile.in: Include disable-implicit-rules.mk.
14899
14900 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14901
14902 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14903 non-byte-aligned bit fields.
14904
14905 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14906
14907 PR gdb/12616
14908 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14909 respects the DW_AT_data_bit_offset attribute.
14910
14911 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14912
14913 * gdb.base/default.exp: Fix output of "set language".
14914
14915 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14916
14917 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14918 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14919 make.
14920 * configure.ac: Remove checks for the make program.
14921 * configure: Re-generate.
14922
14923 2016-11-16 Kevin Buettner <kevinb@redhat.com>
14924
14925 * gdb.python/py-recurse-unwind.c (main): Add loop.
14926 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14927 to read_register() and gdb.parse_and_eval(). Make each code
14928 call a separate case that can be individually tested.
14929 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14930 proc. Call cont_and_backtrace for each of the code paths that
14931 we want to test in the unwinder.
14932
14933 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14934
14935 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14936 the definition of struct S.
14937
14938 2016-11-11 Catherine Moore <clm@codesourcery.com>
14939
14940 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14941
14942 2016-11-09 Pedro Alves <palves@redhat.com>
14943
14944 * gdb.base/commands.exp (runto_or_return): New procedure.
14945 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14946 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14947 (progvar_simple_while_test, progvar_complex_if_while_test)
14948 (if_while_breakpoint_command_test)
14949 (infrun_breakpoint_command_test, breakpoint_command_test)
14950 (user_defined_command_test, watchpoint_command_test)
14951 (test_command_prompt_position, redefine_hook_test)
14952 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14953 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14954 multi_line_input and multi_line. Remove gdb_expect and
14955 gdb_stop_suppressing_tests uses.
14956 * lib/gdb.exp (valnum_re): New global.
14957 (multi_line_input): New procedure.
14958
14959 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14960
14961 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14962 Remove.
14963 (test_setup): Define with proc_with_prefix.
14964 (test_cli_inferior): Likewise.
14965 (test_cli_thread): Likewise.
14966 (test_cli_frame): Likewise.
14967 (test_cli_select_frame): Likewise.
14968 (test_cli_up_down): Likewise.
14969 (test_mi_thread_select): Likewise.
14970 (test_mi_stack_select_frame): Likewise.
14971 (test_cli_in_mi_inferior): Likewise.
14972 (test_cli_in_mi_thread): Likewise.
14973 (test_cli_in_mi_frame): Likewise.
14974 (top level): Do not use with_test_prefix_procname.
14975
14976 2016-11-09 Pedro Alves <palves@redhat.com>
14977
14978 * gdb.base/commands.exp (gdbvar_simple_if_test)
14979 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14980 (progvar_simple_if_test, progvar_simple_while_test)
14981 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14982 (infrun_breakpoint_command_test, breakpoint_command_test)
14983 (user_defined_command_test, watchpoint_command_test)
14984 (test_command_prompt_position, deprecated_command_test)
14985 (bp_deleted_in_command, temporary_breakpoint_commands)
14986 (stray_arg0_test, source_file_with_indented_comment)
14987 (recursive_source_test, if_commands_test)
14988 (error_clears_commands_left, redefine_hook_test)
14989 (redefine_backtrace_test): Use proc_with_prefix.
14990 * lib/gdb.exp (proc_with_prefix): New proc.
14991
14992 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14993
14994 * gdb.base/tui-layout.c: New file.
14995 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14996 disassembly window contains very long lines.
14997
14998 2016-11-08 Tom Tromey <tom@tromey.com>
14999
15000 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15001 depend on Python 2.
15002
15003 2016-11-08 Tom Tromey <tom@tromey.com>
15004
15005 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15006 New method.
15007
15008 2016-10-29 Manish Goregaokar <manish@mozilla.com>
15009
15010 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
15011
15012 2016-10-27 Manish Goregaokar <manish@mozilla.com>
15013
15014 * gdb.rust/simple.rs: Add test for univariant enums without
15015 discriminants and for encoded struct-like enums.
15016
15017 2016-10-28 Pedro Alves <palves@redhat.com>
15018
15019 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15020 gdb_test_multiple, tighten regexps and match symtabs and line
15021 tables incrementally.
15022
15023 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
15024
15025 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15026 general.
15027
15028 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
15029
15030 * gdb.base/exec-invalid-sysroot.exp: New file.
15031
15032 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15033
15034 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15035
15036 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15037
15038 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15039
15040 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15041
15042 * gdb.base/killed-outside.exp: Remove $options from a call to
15043 `prepare_for_testing'.
15044
15045 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15046
15047 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15048 Change test message.
15049
15050 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15051
15052 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15053 Update comment.
15054
15055 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15056
15057 * gdb.trace/mi-trace-save.exp: New file.
15058
15059 2016-10-13 Yao Qi <yao.qi@linaro.org>
15060
15061 * gdb.base/code_elim.exp (get_var_address): Remove.
15062 * gdb.base/relocate.exp: Likewise.
15063 * gdb.base/shreloc.exp: Likewise.
15064 * lib/gdb.exp (get_var_address): New.
15065
15066 2016-10-13 Yao Qi <yao.qi@linaro.org>
15067
15068 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15069 floating point tests if $skip_float_test is false.
15070
15071 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
15072
15073 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15074 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15075 argc values.
15076 Add 1 to argc so we guarantee distinct initial/modified argc values.
15077
15078 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15079
15080 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15081
15082 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15083
15084 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15085 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15086 * gdb.arch/vsx-regs.exp: Likewise.
15087
15088 2016-10-07 Yao Qi <yao.qi@linaro.org>
15089
15090 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15091
15092 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15093
15094 * gdb.python/python.exp: Test decode_line("*0").
15095
15096 2016-10-06 Doug Evans <dje@google.com>
15097
15098 * gdb.python/py-value.exp (test_value_creation): Add test for large
15099 unsigned 64-bit value.
15100
15101 2016-10-06 Tom Tromey <tom@tromey.com>
15102
15103 * gdb.compile/compile.exp: Change java tests to rust.
15104 * gdb.base/setshow.exp: Change java tests to rust.
15105 * gdb.base/default.exp: Remove java from language list.
15106 * README (Examples): Update language example.
15107 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15108 test.
15109 * lib/gdb.exp (skip_java_tests): Remove.
15110 * lib/java.exp: Remove.
15111 * gdb.java: Remove.
15112
15113 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15114
15115 * gdb.arch/mips-fcr.exp: New test.
15116 * gdb.arch/mips-fcr.c: Source for the new test.
15117
15118 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15119
15120 * gdb.base/solib-disc.exp: Use `standard_output_file'
15121 throughout.
15122
15123 2016-10-06 Pedro Alves <palves@redhat.com>
15124
15125 * gdb.base/jit-simple-dl.c: New file.
15126 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15127 * gdb.base/jit-simple.c: ... this.
15128 * gdb.base/jit-simple.exp (jit_run): Delete.
15129 (build_jit): New proc.
15130 (jit_test_reread): Recompile either the main program or the shared
15131 library, depending on what is being tested. Skip changing address
15132 if caller wants to. Compare before/after addresses. If testing
15133 standalone, explicitly load the binary. Test "maint info
15134 breakpoints".
15135 (top level): Add "standalone vs shared lib" and "change address"
15136 vs "same address" axes.
15137
15138 2016-10-06 Pedro Alves <palves@redhat.com>
15139
15140 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15141 call.
15142 (jit_run): Delete.
15143 (jit_test_reread): Use with_test_prefix. Reload the main binary
15144 explicitly. Compare the before/after addresses of the JIT
15145 descriptor.
15146
15147 2016-08-15 Doug Evans <dje@google.com>
15148
15149 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15150 for single bitfields is bool.
15151 * gdb.xml/tdesc-regs.exp: Ditto.
15152
15153 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15154
15155 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15156
15157 2016-10-05 Yao Qi <yao.qi@linaro.org>
15158
15159 * lib/gdb.exp (support_complex_tests): Return zero if
15160 gdb_skip_float_test return true.
15161
15162 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
15163 Simon Marchi <simon.marchi@ericsson.com>
15164
15165 PR gdb/20487
15166 * gdb.mi/user-selected-context-sync.exp: New file.
15167 * gdb.mi/user-selected-context-sync.c: New file.
15168
15169 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
15170 Simon Marchi <simon.marchi@ericsson.com>
15171
15172 PR gdb/20487
15173 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15174 =thread-select-event check.
15175
15176 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15177
15178 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15179 the compulsory L operand changes.
15180 * gdb.arch/powerpc-power.s: Likewise.
15181
15182 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15183
15184 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15185 * gdb.base/jit-attach-pie.c: New file.
15186 * gdb.base/jit-attach-pie.exp: New file.
15187
15188 2016-09-28 Pedro Alves <palves@redhat.com>
15189
15190 * gdb.base/infcall-input.c: New file.
15191 * gdb.base/infcall-input.exp: New file.
15192
15193 2016-09-22 Yao Qi <yao.qi@linaro.org>
15194
15195 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15196 (gdb_exit): Rename it to ...
15197 (gdbserver_gdb_exit): ... Close GDBserver.
15198 (gdb_exit): New proc, call gdbserver_gdb_exit.
15199 (mi_gdb_exit): Likewise.
15200
15201 2016-09-22 Yao Qi <yao.qi@linaro.org>
15202
15203 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15204 path.
15205 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15206 Remove duplication.
15207
15208 2016-09-22 Yao Qi <yao.qi@linaro.org>
15209
15210 * lib/gdbserver-support.exp: Check the existence of
15211 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15212
15213 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15214
15215 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15216
15217 2016-09-21 Tom Tromey <tom@tromey.com>
15218
15219 PR gdb/20604:
15220 * gdb.base/quit.exp: New file.
15221
15222 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15223
15224 * .gitignore: New file.
15225
15226 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15227
15228 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15229 throughout.
15230
15231 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15232
15233 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15234
15235 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15236
15237 * gdb.cp/casts.cc (decltype): Move it ...
15238 (main): ... with its call to ...
15239 * gdb.cp/casts03.cc: ... a new file.
15240 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15241
15242 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15243
15244 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15245
15246 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15247
15248 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15249 and sync up the test with tests in gas/testsuite/gas/ppc.
15250 * gdb.arch/powerpc-power.exp: Likewise.
15251
15252 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15253
15254 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15255
15256 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15257 Jan Kratochvil <jan.kratochvil@redhat.com>
15258
15259 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15260 make m1's definition to be different from m2's. Use 'dummy' as an
15261 argument for probe 'two'.
15262
15263 2016-09-10 Jon Beniston <jon@beniston.com>
15264
15265 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15266 for sim target.
15267
15268 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15269
15270 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15271 variable declaration.
15272 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15273 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15274 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15275 received HWCAP as its argument.
15276
15277 2016-09-06 Pedro Alves <palves@redhat.com>
15278
15279 * gdb.base/new-ui-pending-input.c: New file.
15280 * gdb.base/new-ui-pending-input.exp: New file.
15281 * gdb.exp (clear_gdb_spawn_id): New procedure.
15282 (with_spawn_id): Check whether gdb_spawn_id exists before
15283 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15284 on exit.
15285
15286 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15287
15288 * gdb.base/float128.c: New file.
15289 * gdb.base/float128.exp: Likewise.
15290 * gdb.base/floatn.c: Likewise.
15291 * gdb.base/floatn.exp: Likewise.
15292
15293 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15294
15295 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15296
15297 2016-09-05 Pedro Alves <palves@redhat.com>
15298
15299 PR backtrace/19927
15300 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15301 unwinders are immediately called as side effect of "source" or
15302 "disable unwinder" commands.
15303 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15304
15305 2016-09-02 Yao Qi <yao.qi@linaro.org>
15306
15307 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15308 is true and $type is "float" or "double".
15309
15310 2016-09-02 Yao Qi <yao.qi@linaro.org>
15311
15312 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15313 true.
15314 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15315 * gdb.base/call-rt-st.exp: Likewise.
15316 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15317 return value instead of gdb,skip_float_test.
15318 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15319 (do_function_calls): Use its return value instead of
15320 gdb,skip_float_test.
15321 * gdb.base/finish.exp: Likewise.
15322 * gdb.base/funcargs.exp: Likewise.
15323 * gdb.base/return.exp: Likewise.
15324 * gdb.base/return2.exp: Likewise.
15325 * gdb.base/varargs.exp: Likewise.
15326 * lib/gdb.exp (gdb_skip_float_test): Change it to
15327 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15328
15329 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15330
15331 * gdb.multi/tids.exp: Test "thread apply all".
15332
15333 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15334
15335 * gdb.base/default.exp (tty): Remove.
15336
15337 2016-08-24 Kevin Buettner <kevinb@redhat.com>
15338
15339 * gdb.python/py-recurse-unwind.c: New file.
15340 * gdb.python/py-recurse-unwind.py: New file.
15341 * gdb.python/py-recurse-unwind.exp: New file.
15342
15343 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15344
15345 * gdb.base/set-inferior-tty.exp: New file.
15346 * gdb.base/set-inferior-tty.c: New file.
15347
15348 2016-08-23 Pedro Alves <palves@redhat.com>
15349
15350 PR gdb/20494
15351 * gdb.base/new-ui-echo.c: New file.
15352 * gdb.base/new-ui-echo.exp: New file.
15353
15354 2016-08-23 Yao Qi <yao.qi@linaro.org>
15355
15356 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15357 gdbserver_spawn.
15358 * gdb.server/connect-without-multi-process.exp (do_test):
15359 Likewise.
15360
15361 2016-08-23 Yao Qi <yao.qi@linaro.org>
15362
15363 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15364 standalone_txt. Delete gdb_txt and standalone_txt on host
15365 and target. Spawn the binary on target. Copy files from
15366 target to host.
15367
15368 2016-08-22 Pedro Alves <palves@redhat.com>
15369
15370 PR gdb/20505
15371 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15372 with_test_prefix. Factor out bits to ...
15373 (test_no_vdso): ... this new procedure.
15374
15375 2016-08-19 Carl Love <cel@us.ibm.com>
15376
15377 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15378 maintaining separate logic for constructing the output path.
15379 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15380 * gdb.arch/ppc-dfp.exp: Likewise.
15381 * gdb.arch/ppc-fp.exp: Likewise.
15382 * gdb.arch/vsx-regs.exp: Likewise.
15383 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15384 binprefix for generating the additional binary files.
15385
15386 2016-08-19 Pedro Alves <palves@redhat.com>
15387
15388 * gdb.trace/mi-trace-frame-collected.exp
15389 (test_trace_frame_collected): On x32, expect two registers.
15390
15391 2016-08-18 Carl Love <cel@us.ibm.com>
15392
15393 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15394 and sync up the test with tests in gas/testsuite/gas/ppc.
15395 * gdb.arch/powerpc-power.exp: Likewise.
15396
15397 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15398
15399 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15400 expected error message.
15401
15402 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15403
15404 * gdb.multi/remove-inferiors.exp: New file.
15405 * gdb.multi/remove-inferiors.c: New file.
15406
15407 2016-08-12 Yao Qi <yao.qi@linaro.org>
15408
15409 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15410 argument list.
15411
15412 2016-08-10 Pedro Alves <palves@redhat.com>
15413
15414 PR gdb/19187
15415 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15416 setup_kfails.
15417
15418 2016-08-09 Pedro Alves <palves@redhat.com>
15419 Simon Marchi <simon.marchi@ericsson.com>
15420
15421 PR gdb/20418
15422 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15423 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15424
15425 2016-08-09 Pedro Alves <palves@redhat.com>
15426
15427 PR mi/20431
15428 * gdb.mi/mi-cmd-error.exp: New file.
15429
15430 2016-08-09 Pedro Alves <palves@redhat.com>
15431
15432 PR gdb/18653
15433 * gdb.base/signals-state-child.c: New file.
15434 * gdb.base/signals-state-child.exp: New file.
15435 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15436
15437 2016-08-09 Pedro Alves <palves@redhat.com>
15438
15439 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15440
15441 2016-08-03 Tom Tromey <tom@tromey.com>
15442
15443 PR python/18565:
15444 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15445
15446 2016-08-01 Yao Qi <yao.qi@linaro.org>
15447
15448 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15449 variable mode to "multi-process" if $multi_process is 1, otherwise
15450 set it to "single-process".
15451
15452 2016-08-01 Yao Qi <yao.qi@linaro.org>
15453
15454 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15455 * gdb.cp/cpexprs.exp: Likewise.
15456 * gdb.cp/m-static.exp: Likewise.
15457
15458 2016-07-26 Tom Tromey <tom@tromey.com>
15459
15460 PR python/20190:
15461 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15462 test.
15463
15464 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15465
15466 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15467 selecting assembly source files.
15468 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15469 assembly source files.
15470 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15471 assembly source files.
15472 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15473 selecting assembly source files.
15474
15475 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15476
15477 * gdb.base/new-ui.exp (do_test_invalid_args): New
15478 procedure.
15479
15480 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15481
15482 * gdb.btrace/reconnect.c: New file.
15483 * gdb.btrace/reconnect.exp: New file.
15484
15485 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15486
15487 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15488 to test_catch_syscall_group.
15489 (test_catch_syscall_group): New.
15490
15491 2016-07-21 Tom Tromey <tom@tromey.com>
15492
15493 * gdb.rust/simple.rs (main): Use empty struct expression.
15494 * gdb.rust/simple.exp: Add tests for empty struct expression.
15495
15496 2016-07-21 Yao Qi <yao.qi@linaro.org>
15497
15498 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15499 if gdb_skip_xml_test is true on some targets.
15500
15501 2016-07-21 Yao Qi <yao.qi@linaro.org>
15502
15503 * gdb.server/solib-list.exp: Unset last_loaded_file.
15504
15505 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15506
15507 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15508 "step into captured_main (args)".
15509
15510 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15511
15512 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15513
15514 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15515
15516 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15517
15518 2016-07-19 Pedro Alves <palves@redhat.com>
15519
15520 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15521 * gdb.opt/inline-bt.exp: Likewise.
15522 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15523 additional_flags=-Winline.
15524 * gdb.opt/inline-locals.exp: Likewise.
15525 * gdb.opt/inline-markers.c (ATTR): Define.
15526 (inlined_fn): Use it.
15527
15528 2016-07-19 Yao Qi <yao.qi@linaro.org>
15529
15530 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15531 (test_with_self): Remove some code. Remove argument executable.
15532 (top-level): Use do_self_tests.
15533
15534 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
15535 Don Breazeal <donb@codesourcery.com>
15536
15537 * gdb.base/maint.exp: Escape paths used in regular expressions.
15538 * gdb.stabs/weird.exp: Likewise.
15539
15540 2016-07-13 Tom Tromey <tom@tromey.com>
15541
15542 PR python/15620, PR python/18620:
15543 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15544 (test_bkpt_events): New procs.
15545
15546 2016-07-13 Tom Tromey <tom@tromey.com>
15547
15548 PR python/17698:
15549 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15550 test.
15551 (test_watchpoints): Likewise.
15552 (test_bkpt_pending): New proc.
15553
15554 2016-07-13 Tom Tromey <tom@tromey.com>
15555
15556 PR cli/18053:
15557 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15558 completion test.
15559
15560 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15561
15562 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15563 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15564 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15565 f_label.
15566 (g): Rename g_end_lbl to g_label.
15567 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15568 low_pc and high_pc.
15569 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15570
15571 2016-07-12 Tom Tromey <tom@tromey.com>
15572
15573 PR python/19293:
15574 * gdb.python/py-unwind-maint.exp: Update tests.
15575
15576 2016-07-12 Yao Qi <yao.qi@linaro.org>
15577
15578 * lib/selftest-support.exp (selftest_setup): Match the output
15579 when captured_main is inlined.
15580
15581 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15582
15583 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15584 New variables.
15585 (print this%a, print this%b, print this): New tests.
15586 * gdb.fortran/derived-types.f90 (this): New object and
15587 initialization.
15588
15589 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15590
15591 * gdb.ada/arraydim.exp: Remove extra directory level in build
15592 directory.
15593
15594 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15595
15596 * lib/ada.exp: Remove extra directory level in build directory.
15597 * gdb.ada/cond_lang.exp: Likewise.
15598 * gdb.ada/exec_changed.exp: Likewise.
15599 * gdb.ada/lang_switch.exp: Likewise.
15600
15601 2016-07-06 Manish Goregaokar <manish@mozilla.com>
15602
15603 * simple.rs: Add test for raw pointer subscripting.
15604 * simple.exp: Add test expectations.
15605
15606 2016-07-05 Yao Qi <yao.qi@linaro.org>
15607
15608 * gdb.mi/mi-reverse.exp: Match =record-started output.
15609
15610 2016-07-01 Pedro Alves <palves@redhat.com>
15611
15612 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15613 procedure.
15614 (jit_reader_test): Test the jit reader's unwinder.
15615 * gdb.base/jithost.c (jit_function_00_code): New global.
15616 (main): Use memcpy to fill in the mmapped code, instead of poking
15617 bytes manually here.
15618 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15619 value.
15620 (read_debug_info): Save the function's range.
15621 (read_sp): New function.
15622 (unwind_frame): Use it. Also unwind RBP.
15623 (get_frame_id): Use read_sp.
15624 (gdb_init_reader): Use calloc instead of malloc.
15625 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15626 parameter. Use gdb_test_multiple.
15627
15628 2016-07-01 Pedro Alves <palves@redhat.com>
15629 Antoine Tremblay <antoine.tremblay@ericsson.com>
15630
15631 * gdb.threads/process-dies-while-detaching.c: New file.
15632 * gdb.threads/process-dies-while-detaching.exp: New file.
15633
15634 2016-07-01 Pedro Alves <palves@redhat.com>
15635
15636 * gdb.multi/watchpoint-multi-exit.c: New file.
15637 * gdb.multi/watchpoint-multi-exit.exp: New file.
15638
15639 2016-06-30 Pedro Alves <palves@redhat.com>
15640
15641 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15642 unset inferior_spawn_id.
15643
15644 2016-06-30 Pedro Alves <palves@redhat.com>
15645
15646 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15647 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15648
15649 2016-06-29 Yao Qi <yao.qi@linaro.org>
15650
15651 * gdb.base/return.c: Add copyright header.
15652
15653 2016-06-29 Tom Tromey <tom@tromey.com>
15654
15655 PR python/20129:
15656 * gdb.python/py-framefilter.exp: Add tests for setting priority
15657 and disabling of non-existent frame filter.
15658
15659 2016-06-29 Yao Qi <yao.qi@linaro.org>
15660
15661 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15662 0x0f07ff.
15663
15664 2016-06-28 Yao Qi <yao.qi@linaro.org>
15665
15666 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15667 triplets. Start gdb, execute catch syscall, and continue. Check
15668 gdb's output to determine catch syscall is supported.
15669
15670 2016-06-27 Manish Goregaokar <manish@mozilla.com>
15671
15672 * gdb.rust/simple.rs: Add test for returning unit in a function.
15673 * gdb.rust/simple.exp: Add expectation for functions returning
15674 unit.
15675
15676 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15677
15678 * gdb.python/py-breakpoint-create-fail.c,
15679 gdb.python/py-breakpoint-create-fail.exp,
15680 gdb.python/py-breakpoint-create-fail.py: New testcase.
15681
15682 2016-06-25 Manish Goregaokar <manish@mozilla.com>
15683
15684 PR gdb/20239
15685 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
15686 * gdb.rust/simple.exp: Add test expectations for new NonZero
15687 tests.
15688
15689 2016-06-24 David Taylor <dtaylor@emc.com>
15690
15691 * gdb.base/offsets.exp: New file.
15692 * gdb.base/offsets.c: New file.
15693
15694 2016-06-23 Tom Tromey <tom@tromey.com>
15695
15696 PR gdb/16483:
15697 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15698 before any filters are loaded.
15699
15700 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15701
15702 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15703 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15704 structs.
15705 * gdb.fortran/derived-type-function.exp: New file.
15706 * gdb.fortran/derived-type-function.f90: New file.
15707
15708
15709 2016-06-21 Pedro Alves <palves@redhat.com>
15710
15711 * gdb.base/new-ui.exp: New file.
15712 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15713 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15714 (with_spawn_id): New procedure.
15715
15716 2016-06-21 Pedro Alves <palves@redhat.com>
15717
15718 * gdb.mi/mi-exec-run.exp: New file.
15719
15720 2016-06-21 Pedro Alves <palves@redhat.com>
15721
15722 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15723 breakpoint command's output on the main UI.
15724 (test_break): New procedure, factored out from calls in the top
15725 level.
15726 (top level): Use foreach_with_prefix to test MI as main UI and as
15727 separate UI.
15728
15729 2016-06-21 Pedro Alves <palves@redhat.com>
15730
15731 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15732 (test_awatch_creation_and_listing)
15733 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15734 Remove 'type' parameter.
15735 (test_watchpoint_all): New parameter mi_mode. Remove
15736 with_test_prefix.
15737 (top level): Use foreach_with_prefix, and add main/separate UI MI
15738 testing axis.
15739
15740 2016-06-21 Pedro Alves <palves@redhat.com>
15741
15742 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15743 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15744 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15745 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15746 (gdb_main_spawn_id, mi_spawn_id): Declare and
15747 comment.
15748 (mi_create_inferior_pty): New procedure,
15749 factored out from default_mi_gdb_start.
15750 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15751 procedures.
15752 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15753 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15754 Use mi_create_inferior_pty.
15755 (mi_gdb_start): Use eval to pass down args list.
15756
15757 2016-06-21 Pedro Alves <palves@redhat.com>
15758
15759 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15760 * gdb.opt/inline-cmds.exp: Add MI tests.
15761
15762 2016-06-21 Pedro Alves <palves@redhat.com>
15763
15764 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15765
15766 2016-06-21 Pedro Alves <palves@redhat.com>
15767
15768 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15769 (top level): Use it instead of mi_execute_to.
15770
15771 2016-06-21 Pedro Alves <palves@redhat.com>
15772
15773 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15774 (cont_handler_str): New.
15775 (signal_stop_handler): Set stop_handler_str instead of printing to
15776 stdout.
15777 (continue_handler): Set cont_handler_str instead of printing to
15778 stdout.
15779 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15780 mi_send_resuming_command. Print stop_handler_str and
15781 cont_handler_str instead of expecting the python events print
15782 directly.
15783
15784 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15785
15786 * gdb.base/jit-reader.exp: New file.
15787 * gdb.base/jithost.c: New file.
15788 * gdb.base/jithost.h: New file.
15789 * gdb.base/jitreader.c : New file.
15790 * gdb.base/jit-protocol.h: New file.
15791
15792 2016-06-17 Yao Qi <yao.qi@linaro.org>
15793
15794 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15795 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15796 and detach-on-fork. Adjust tests.
15797 (top level): Invoke break_cond_on_syscall with combinations of
15798 syscall, follow-fork-mode and detach-on-fork.
15799
15800 2016-06-17 Yao Qi <yao.qi@linaro.org>
15801
15802 * gdb.base/step-over-exit.c: New.
15803 * gdb.base/step-over-exit.exp: New.
15804
15805 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15806
15807 * gdb.base/float.exp: Add target check for nds32*-*-*.
15808 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15809
15810 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15811
15812 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15813 for unsupported target features.
15814 * gdb.base/call-rt-st.exp: Likewise.
15815 * gdb.base/call-sc.exp: Likewise.
15816 * gdb.base/call-signal-resume.exp: Likewise.
15817 * gdb.base/call-strs.exp: Likewise.
15818 * gdb.base/callexit.exp: Likewise.
15819 * gdb.base/callfuncs.exp: Likewise.
15820 * gdb.base/nodebug.exp: Likewise.
15821 * gdb.base/printcmds.exp: Likewise.
15822 * gdb.base/ptype.exp: Likewise.
15823 * gdb.base/structs.exp: Likewise.
15824 * gdb.base/unwindonsignal.exp: Likewise.
15825 * gdb.cp/gdb2495.exp: Likewise.
15826 * gdb.cp/templates.exp: Likewise.
15827 * gdb.cp/virtfunc.exp: Likewise.
15828 * gdb.threads/hand-call-in-threads.exp: Likewise.
15829 * gdb.threads/interrupted-hand-call.exp: Likewise.
15830 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15831
15832 2016-06-10 Tom Tromey <tom@tromey.com>
15833
15834 PR rust/20110:
15835 * gdb.rust/expr.exp: Add test for integer constant larger than
15836 i32.
15837
15838 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15839
15840 * gdb.fortran/nested-funcs.exp: New.
15841 * gdb.fortran/nested-funcs.f90: New.
15842
15843 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15844
15845 * gdb.base/examine-backward.c: New file.
15846 * gdb.base/examine-backward.exp: New file.
15847
15848 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15849
15850 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15851 matching.
15852
15853 2016-06-02 Tom Tromey <tom@tromey.com>
15854
15855 PR python/18984:
15856 * gdb.python/py-shared.exp: Add solib_name test.
15857
15858 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15859
15860 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15861
15862 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15863
15864 PR c++/19893
15865 * gdb.dwarf2/implref.exp: Rename to...
15866 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15867 * gdb.dwarf2/implref-array.c: New file.
15868 * gdb.dwarf2/implref-array.exp: Likewise.
15869 * gdb.dwarf2/implref-global.c: Likewise.
15870 * gdb.dwarf2/implref-global.exp: Likewise.
15871 * gdb.dwarf2/implref-struct.c: Likewise.
15872 * gdb.dwarf2/implref-struct.exp: Likewise.
15873
15874 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15875
15876 * gdb.trace/trace-condition.exp: Add 64bit tests.
15877
15878 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15879
15880 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15881 bits types.
15882 (main): Adapt to 8 to 64 bits types.
15883 * gdb.trace/trace-condition.exp: Add new tests.
15884
15885 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15886
15887 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15888
15889 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15890
15891 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15892 Move condition tests...
15893 * gdb.trace/trace-condition.exp: Here.
15894
15895 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15896
15897 * gdb.trace/trace-condition.exp: Add counter-case tests.
15898
15899 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15900
15901 PR c++/15231
15902 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15903 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15904
15905 2016-05-27 Pedro Alves <palves@redhat.com>
15906
15907 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15908 New procedure.
15909 (top level): Call it, and bail out of DejaGnu is known to be bad.
15910
15911 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15912
15913 * gdb.base/whatis.c: Extend the test case.
15914 * gdb.base/whatis.exp: Add additional tests.
15915
15916 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15917
15918 * gdb.fortran/type.f90: Add pointer variable.
15919 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15920
15921 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15922
15923 * gdb.fortran/vla-type.exp: Fix testcase name.
15924
15925 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15926
15927 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15928
15929 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15930
15931 * gdb.fortran/type.f90: Add nested structures.
15932 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15933 * gdb.fortran/derived-type.exp: Adapt expected output.
15934 * gdb.fortran/vla-type.exp: Adapt expected output.
15935
15936 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15937
15938 * gdb.fortran/whatis_type.exp: Adapt expected output.
15939
15940 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15941
15942 * gdb.fortran/print_type.exp: Fix expected output.
15943 * gdb.fortran/whatis_type.exp: Fix expected output.
15944
15945 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15946
15947 * gdb.fortran/whatis_type.exp: Use multi_line.
15948
15949 2016-05-24 Tom Tromey <tom@tromey.com>
15950
15951 PR python/17386:
15952 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15953 use value as an index.
15954
15955 2016-05-23 Tom Tromey <tom@tromey.com>
15956
15957 PR python/17981:
15958 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15959 no-breakpoint case.
15960
15961 2016-05-24 Pedro Alves <palves@redhat.com>
15962
15963 PR gdb/19828
15964 * gdb.threads/clone-attach-detach.c: New file.
15965 * gdb.threads/clone-attach-detach.exp: New file.
15966
15967 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15968
15969 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15970
15971 2016-05-23 Tom Tromey <tom@tromey.com>
15972
15973 PR python/19438, PR python/18393:
15974 * gdb.python/py-progspace.exp: Add "dir" test.
15975 * gdb.python/py-objfile.exp: Add "dir" test.
15976
15977 2016-05-23 Yao Qi <yao.qi@linaro.org>
15978
15979 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15980 * gdb.arch/thumb2-it.exp: Likewise.
15981
15982 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15983
15984 * gdb.mi/mi-threads-interrupt.c: New file.
15985 * gdb.mi/mi-threads-interrupt.exp: New file.
15986
15987 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15988
15989 PR gdb/18077
15990 * gdb.mi/mi-async-run.exp: New file.
15991 * gdb.mi/mi-async-run.c: New file.
15992
15993 2016-05-17 Tom Tromey <tom@tromey.com>
15994 Manish Goregaokar <manishsmail@gmail.com>
15995
15996 * lib/rust-support.exp: New file.
15997 * lib/gdb.exp (skip_rust_tests): New proc.
15998 (build_executable_from_specs): Handle rust.
15999 * lib/future.exp (gdb_find_rustc): New proc.
16000 (gdb_default_target_compile): Handle rust.
16001 * gdb.rust/expr.exp: New file.
16002 * gdb.rust/generics.exp: New file.
16003 * gdb.rust/generics.rs: New file.
16004 * gdb.rust/methods.exp: New file.
16005 * gdb.rust/methods.rs: New file.
16006 * gdb.rust/modules.exp: New file.
16007 * gdb.rust/modules.rs: New file.
16008 * gdb.rust/simple.exp: New file.
16009 * gdb.rust/simple.rs: New file.
16010
16011 2016-05-17 Tom Tromey <tom@tromey.com>
16012
16013 * gdb.base/default.exp (set language): Add rust.
16014
16015 2016-05-17 Tom Tromey <tom@tromey.com>
16016
16017 * gdb.gdb/unittest.exp: New file.
16018
16019 2016-05-16 Yao Qi <yao.qi@linaro.org>
16020
16021 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16022 shell_prompt. Update shell_prompt_re.
16023
16024 2016-05-12 Doug Evans <dje@google.com>
16025
16026 PR symtab/19999
16027 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16028 $options when building executable.
16029 * gdb.dwarf2/fission-loclists-pie.S: New file.
16030 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16031
16032 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16033
16034 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
16035 of [is_remote target],
16036
16037 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16038
16039 * lib/gdb.exp (use_gdb_stub): New procedure.
16040
16041 2016-05-03 Yunlian Jiang <yunlian@google.com>
16042 Doug Evans <dje@google.com>
16043
16044 PR symtab/19914
16045 * gdb.dwarf2/dwp-sepdebug.c: New file.
16046 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16047
16048 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16049
16050 * gdb.base/detach.exp: Remove is_remote check.
16051
16052 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16053
16054 * gdb.base/annota-input-while-running.exp: Don't check for
16055 [is_remote target]. Enable annotations after running to main.
16056 Remove unused "set test..." line.
16057
16058 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16059
16060 * gdb.trace/trace-enable-disable.exp: New file.
16061 * gdb.trace/trace-enable-disable.c: New file.
16062
16063 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16064
16065 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16066 use it in info sharedlibrary test.
16067 * gdb.trace/ftrace-lock.exp: Likewise.
16068 * gdb.trace/ftrace.exp: Likewise.
16069 * gdb.trace/range-stepping.exp: Likewise.
16070 * gdb.trace/trace-break.exp: Likewise.
16071 * gdb.trace/trace-condition.exp: Likewise.
16072 * gdb.trace/trace-mt.exp: Likewise.
16073
16074 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16075
16076 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16077 (gdb_load_shlib): ... this.
16078 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16079 gdb_load_shlib.
16080 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16081 * gdb.base/ctxobj.exp: Likewise.
16082 * gdb.base/dprintf-pending.exp: Likewise.
16083 * gdb.base/dso2dso.exp: Likewise.
16084 * gdb.base/fixsection.exp: Likewise.
16085 * gdb.base/gcore-relro.exp: Likewise.
16086 * gdb.base/gdb1555.exp: Likewise.
16087 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16088 * gdb.base/gnu-ifunc.exp: Likewise.
16089 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16090 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16091 * gdb.base/pending.exp: Likewise.
16092 * gdb.base/print-file-var.exp: Likewise.
16093 * gdb.base/print-symbol-loading.exp: Likewise.
16094 * gdb.base/shlib-call.exp: Likewise.
16095 * gdb.base/shreloc.exp: Likewise.
16096 * gdb.base/so-impl-ld.exp: Likewise.
16097 * gdb.base/solib-disc.exp: Likewise.
16098 * gdb.base/solib-nodir.exp: Likewise.
16099 * gdb.base/solib-overlap.exp: Likewise.
16100 * gdb.base/solib-symbol.exp: Likewise.
16101 * gdb.base/solib-weak.exp (do_test): Likewise.
16102 * gdb.base/sym-file.exp: Likewise.
16103 * gdb.base/symtab-search-order.exp: Likewise.
16104 * gdb.base/type-opaque.exp: Likewise.
16105 * gdb.base/unload.exp: Likewise.
16106 * gdb.base/watchpoint-solib.exp: Likewise.
16107 * gdb.compile/compile.exp: Likewise.
16108 * gdb.cp/gdb2384.exp: Likewise.
16109 * gdb.cp/infcall-dlopen.exp: Likewise.
16110 * gdb.cp/re-set-overloaded.exp: Likewise.
16111 * gdb.fortran/library-module.exp: Likewise.
16112 * gdb.opt/solib-intra-step.exp: Likewise.
16113 * gdb.python/py-finish-breakpoint.exp: Likewise.
16114 * gdb.python/py-shared.exp: Likewise.
16115 * gdb.reverse/solib-precsave.exp: Likewise.
16116 * gdb.reverse/solib-reverse.exp: Likewise.
16117 * gdb.server/solib-list.exp: Likewise.
16118 * gdb.threads/dlopen-libpthread.exp: Likewise.
16119 * gdb.threads/tls-shared.exp: Likewise.
16120 * gdb.threads/tls-so_extern.exp: Likewise.
16121 * gdb.trace/change-loc.exp: Likewise.
16122 * gdb.trace/ftrace-lock.exp: Likewise.
16123 * gdb.trace/ftrace.exp: Likewise.
16124 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16125 * gdb.trace/pending.exp: Likewise.
16126 * gdb.trace/range-stepping.exp: Likewise.
16127 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16128 (strace_info_marker): Likewise.
16129 (strace_probe_marker): Likewise.
16130 (strace_trace_on_same_addr): Likewise.
16131 (strace_trace_on_diff_addr): Likewise.
16132 * gdb.trace/trace-break.exp: Likewise.
16133 * gdb.trace/trace-condition.exp: Likewise.
16134 * gdb.trace/trace-mt.exp: Likewise.
16135
16136 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16137
16138 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16139 result of gdb_remote_download.
16140 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16141 * gdb.base/dso2dso.exp: Likewise.
16142 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16143 * gdb.base/print-file-var.exp: Likewise.
16144 * gdb.base/shlib-call.exp: Likewise.
16145 * gdb.base/shreloc.exp: Likewise.
16146 * gdb.base/solib-overlap.exp: Likewise.
16147 * gdb.base/solib-weak.exp (do_test): Likewise.
16148 * gdb.base/unload.exp: Likewise.
16149
16150 2016-04-27 Yao Qi <yao.qi@linaro.org>
16151
16152 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16153 exists.
16154
16155 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16156
16157 * vla-type.exp: Print structure from toplevel.
16158
16159 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16160
16161 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16162 of dynamic types.
16163 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16164 of dynamic types.
16165
16166 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16167
16168 * gdb.fortran/vla-type.f90: New file.
16169 * gdb.fortran/vla-type.exp: New file.
16170
16171 2016-04-25 Yao Qi <yao.qi@linaro.org>
16172
16173 * gdb.base/branch-to-self.c: New file.
16174 * gdb.base/branch-to-self.exp: New file.
16175
16176 2016-04-22 Yao Qi <yao.qi@linaro.org>
16177
16178 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16179 more after $hex.
16180
16181 2016-04-22 Yao Qi <yao.qi@linaro.org>
16182
16183 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16184 * gdb.base/annota3.exp: Likewise.
16185
16186 2016-04-22 Yao Qi <yao.qi@linaro.org>
16187
16188 * gdb.reverse/step-precsave.exp: Do one step and test program
16189 stops in "callee" and do multiple steps until program goes out
16190 of "callee".
16191 * gdb.reverse/step-reverse.exp: Likewise.
16192
16193 2016-04-22 Yao Qi <yao.qi@linaro.org>
16194
16195 * gdb.trace/signal.exp: Also pass if
16196 $tracepoint_hits($i) > $iterations.
16197
16198 2016-04-22 Yao Qi <yao.qi@linaro.org>
16199
16200 * gdb.trace/signal.c: New file.
16201 * gdb.trace/signal.exp: New file.
16202
16203 2016-04-19 Doug Evans <xdje42@gmail.com>
16204
16205 * gdb.base/bad-file.exp: New file.
16206
16207 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16208
16209 * gdb.dwarf2/implref.exp: New file.
16210
16211 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16212
16213 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16214 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16215 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16216 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16217 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16218 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16219 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16220 * lib/fortran.exp (fortran_int4): New procedure.
16221 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16222 (fortran_logical4): Likewise.
16223
16224 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16225
16226 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16227
16228 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16229
16230 * lib/compiler.c: Add Intel specific preprocessor macros.
16231 * lib/compiler.cc: Likewise.
16232
16233 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
16234
16235 * gdb.server/connect-with-no-symbol-file.c: New file.
16236 * gdb.server/connect-with-no-symbol-file.exp: New file.
16237
16238 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16239
16240 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16241
16242 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16243
16244 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16245 standard output directory.
16246
16247 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16248
16249 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16250
16251 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16252
16253 * gdb.btrace/instruction_history.c (loop): Add declaration.
16254
16255 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16256
16257 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16258
16259 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16260
16261 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16262 parentheses to print.
16263 (continue_handler): Likewise.
16264
16265 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16266
16267 * gdb.server/solib-list.exp: Remove is_remote check.
16268 Pass shlib= to gdb_compile. Don't link shared library with
16269 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16270 Run binary filename through "readlink -f" on the target.
16271
16272 2016-04-08 Pedro Alves <palves@redhat.com>
16273
16274 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16275 interpreter filename as argument to gdbserver_spawn.
16276 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16277 Return empty if $last_loaded_file does not exist.
16278
16279 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16280
16281 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16282 * gdb.base/jit-main.c: Use exit after usage.
16283
16284 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16285
16286 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16287 GDBHISTSIZE prior to the tests.
16288 * gdb.base/gdbinit-history.exp: Likewise.
16289
16290 2016-04-07 Pedro Alves <palves@redhat.com>
16291
16292 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16293 instead of build_executable. Use gdb_load_shlibs.
16294
16295 2016-04-07 Yao Qi <yao.qi@linaro.org>
16296
16297 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16298 Execute "si" command.
16299
16300 2016-04-07 Yao Qi <yao.qi@linaro.org>
16301
16302 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16303 number instead of the comments on some line.
16304
16305 2016-04-06 Don Breazeal <donb@codesourcery.com>
16306
16307 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16308 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16309
16310 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16311
16312 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16313 standard_output_file. Remove unused binfile variable.
16314
16315 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
16316
16317 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16318 * gdb.python/py-mi-objfile.exp: Match "list main" output
16319 in console format.
16320
16321 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16322
16323 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16324 absolute.
16325
16326 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16327
16328 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16329 absolute.
16330 * gdb.trace/ftrace.exp: Likewise.
16331 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16332 targets as well.
16333 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16334 (gdb_load_shlibs): Copy libraries to test directory when testing
16335 natively. Only set solib-search-path if testing remotely.
16336 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16337
16338 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16339
16340 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16341 gdb_download. Use it even if the target is not remote.
16342 * gdb.base/jit.exp (compile_jit_test): Likewise.
16343 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16344 output directory if the destination board is local, otherwise use
16345 the standard remote_download from DejaGnu.
16346 (gdb_download): Remove.
16347 (gdb_load_shlibs): Use gdb_remote_download instead of
16348 gdb_download.
16349 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16350 Use gdb_remote_download instead of gdb_download. Use it even if
16351 the target is not remote.
16352 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16353 instead of gdb_download.
16354
16355 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16356
16357 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16358 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16359 run.
16360
16361 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
16362
16363 PR gdb/19820
16364 * gdb.base/printcmds.exp: Add artificial arrays tests.
16365
16366 2016-03-31 Pedro Alves <palves@redhat.com>
16367
16368 PR gdb/19858
16369 * gdb.base/jit-main.c: Include unistd.h.
16370 (ATTACH): Define to 0 if not already defined.
16371 (wait_for_gdb, mypid): New globals.
16372 (WAIT_FOR_GDB): New macro.
16373 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16374 some breakpoint locations.
16375 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16376 New procedures.
16377 (one_jit_test): Add REATTACH parameter, and handle it. Use
16378 continue_to_test_location.
16379 (top level): Test attach, and adjusts calls to one_jit_test.
16380
16381 2016-03-31 Pedro Alves <palves@redhat.com>
16382
16383 PR gdb/19858
16384 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16385 BINSUFFIX parameter, and handle it.
16386 (top level): Adjust calls compile_jit_test.
16387
16388 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
16389
16390 PR python/19743
16391 * gdb.python/py-mi-events-gdb.py: New file.
16392 * gdb.python/py-mi-events.c: New file.
16393 * gdb.python/py-mi-events.exp: New file.
16394
16395 2016-03-30 Yao Qi <yao.qi@linaro.org>
16396
16397 * gdb.reverse/until-precsave.exp: Match function name only.
16398 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16399 Move malloc to a condition block.
16400 * gdb.reverse/until-reverse.exp: Match function name only.
16401
16402 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16403
16404 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16405 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16406 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16407 variable for GPR 0 instead of assuming it is register 0.
16408 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16409 * lib/trace-support.exp: Add s390 registers.
16410
16411 2016-03-29 Yao Qi <yao.qi@linaro.org>
16412
16413 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16414
16415 2016-03-24 Yao Qi <yao.qi@linaro.org>
16416
16417 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16418 test message.
16419
16420 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16421
16422 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16423 maintaining separate logic for constructing the output path.
16424
16425 2016-03-16 Don Breazeal <donb@codesourcery.com>
16426
16427 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16428 Retry fork and waitpid on interrupted system call errors.
16429 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16430 Use with_timeout_factor to increase timeout by factor of 10.
16431
16432 2016-03-15 Don Breazeal <donb@codesourcery.com>
16433
16434 * gdb.cp/scope-err.cc: New test program.
16435 * gdb.cp/scope-err.exp: New test script.
16436 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16437 lines and "set breakpoint here" comment.
16438 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16439 Fixed some whitespace and format issues.
16440 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16441 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16442
16443 2016-03-15 Doug Evans <dje@google.com>
16444
16445 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16446 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16447 All callers updated. Add tests for enums, mixed flags register.
16448
16449 2016-03-15 Doug Evans <dje@google.com>
16450
16451 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16452 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16453
16454 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16455
16456 * gdb.base/default.exp: Add $_as_string to the list of expected
16457 convenience functions.
16458
16459 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16460
16461 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16462
16463 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16464
16465 * gdb.python/py-as-string.exp: New file.
16466 * gdb.python/py-as-string.c: New file.
16467
16468 2016-03-09 Pedro Alves <palves@redhat.com>
16469
16470 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16471 signal" -> "Thread NN received signal" output change.
16472 * gdb.threads/ia64-sigill.exp: Likewise.
16473 * gdb.threads/linux-dp.exp: Likewise.
16474 * gdb.threads/manythreads.exp: Likewise.
16475 * gdb.threads/pending-step.exp: Likewise.
16476 * gdb.threads/print-threads.exp: Likewise.
16477 * gdb.threads/sigstep-threads.exp: Likewise.
16478 * gdb.threads/staticthreads.exp: Likewise.
16479 * gdb.threads/tls.exp: Likewise.
16480
16481 2016-03-09 Pedro Alves <palves@redhat.com>
16482
16483 * gdb.base/command-line-input.exp: New file.
16484
16485 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16486
16487 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16488 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16489 * gdb.trace/pending.exp: Accept leading dot before function name.
16490 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16491 * lib/trace-support.exp: Set registers for ppc.
16492
16493 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16494
16495 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16496 use it for disassembly; accept .main in addition to main in backtrace.
16497
16498 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
16499 Marcin Kościelnicki <koriakin@0x04.net>
16500
16501 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16502 (gdb_recursion_test_ptr): New global variable.
16503 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16504 gdb_recursion_test.
16505 (gdb_c_test): Ditto.
16506
16507 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16508
16509 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16510 ordering.
16511
16512 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16513
16514 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16515 (bar): Add bar_start_lbl label.
16516 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16517 of foo/bar for emitting DWARF and tracing.
16518
16519 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16520
16521 * analyze-racy-logs.py: Set executable bit.
16522
16523 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16524
16525 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16526 (CHECK_TARGET_TMP): Likewise.
16527 (check-single-racy): New rule.
16528 (check-parallel-racy): Likewise.
16529 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16530 (do-check-parallel-racy): New rule.
16531 (check-racy/%.exp): Likewise.
16532 * README (Racy testcases): New section.
16533 * analyze-racy-logs.py: New file.
16534
16535 2016-03-03 Doug Evans <dje@google.com>
16536
16537 * gdb.base/skip.exp: Use with_test_prefix.
16538
16539 2016-03-03 Yao Qi <yao.qi@linaro.org>
16540
16541 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16542 Invoke step_over_syscall "clone" and break_cond_on_syscall
16543 "clone".
16544 * gdb.base/step-over-clone.c: New file.
16545
16546 2016-03-03 Yao Qi <yao.qi@linaro.org>
16547
16548 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16549 code format.
16550
16551 2016-03-03 Yao Qi <yao.qi@linaro.org>
16552
16553 * gdb.base/disp-step-fork.c: Rename to ...
16554 * gdb.base/step-over-fork.c: ... it. New file.
16555 * gdb.base/disp-step-vfork.c: Rename to ...
16556 * gdb.base/step-over-vfork.c: ... it. New file.
16557 * gdb.base/disp-step-syscall.exp: Rename to ...
16558 * gdb.base/step-over-syscall.exp: ... it. New file.
16559 (disp_step_cross_syscall): Rename to ...
16560 (step_over_syscall): ... it.
16561
16562 2016-03-03 Yao Qi <yao.qi@linaro.org>
16563
16564 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16565 If target supports condition evaluation on target, invoke
16566 break_cond_on_syscall for fork and vfork.
16567
16568 2016-03-03 Yao Qi <yao.qi@linaro.org>
16569
16570 * gdb.base/disp-step-syscall.exp: Don't invoke
16571 support_displaced_stepping.
16572 (disp_step_cross_syscall): Test with displaced stepping off and
16573 on if supported.
16574
16575 2016-03-03 Yao Qi <yao.qi@linaro.org>
16576
16577 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16578 proc.
16579 (setup): New proc.
16580 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16581 and setup.
16582
16583 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16584
16585 * gdb.fortran/vla-history.exp: Remove breakpoint.
16586
16587 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16588
16589 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16590 exceeds timeout.
16591
16592 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16593
16594 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16595 breakpoint.
16596
16597 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16598
16599 * gdb.mi/vla.f90: Nullify pointer after declaration.
16600
16601 2016-03-01 Pedro Alves <palves@redhat.com>
16602
16603 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16604
16605 2016-03-01 Pedro Alves <palves@redhat.com>
16606
16607 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16608 before anything else.
16609 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16610 _GNU_SOURCE here.
16611 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16612 before anything else.
16613 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16614
16615 2016-03-01 Pedro Alves <palves@redhat.com>
16616
16617 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16618
16619 2016-03-01 Yao Qi <yao.qi@linaro.org>
16620
16621 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16622 prepare_for_testing.
16623
16624 2016-03-01 Yao Qi <yao.qi@linaro.org>
16625
16626 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16627
16628 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16629
16630 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16631 manually constructing the output path.
16632
16633 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16634
16635 * gdb.arch/s390-stackless.S: New.
16636 * gdb.arch/s390-stackless.exp: New.
16637
16638 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16639
16640 * gdb.dlang/circular.c: New file.
16641 * gdb.dlang/circular.exp: New file.
16642
16643 2016-02-26 Yao Qi <yao.qi@linaro.org>
16644
16645 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16646 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16647 (testcases): Update.
16648
16649 2016-02-26 Yao Qi <yao.qi@linaro.org>
16650
16651 * gdb.reverse/aarch64.c: Rename to ...
16652 * gdb.reverse/insn-reverse.c: ... it.
16653 * gdb.reverse/aarch64.exp: Rename to ...
16654 * gdb.reverse/insn-reverse.exp: ... it.
16655
16656 2016-02-26 Yao Qi <yao.qi@linaro.org>
16657
16658 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16659 (testcase_ftype): New.
16660 (testcases): New array.
16661 (n_testcases): New.
16662 (main): Call each element in testcases.
16663 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16664 (read_testcase): New.
16665 Do the tests in a loop.
16666
16667 2016-02-25 Yao Qi <yao.qi@linaro.org>
16668
16669 * gdb.base/branches.c: Remove.
16670
16671 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16672
16673 PR gdb/13808
16674 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16675
16676 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16677
16678 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16679
16680 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16681
16682 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16683 change x86_64 call_insn to 'callq'.
16684
16685 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16686
16687 * gdb.trace/tfile-avx.c: Move to...
16688 * gdb.trace/tracefile-pseudo-reg.c: Here.
16689 * gdb.trace/tfile-avx.exp: Move to...
16690 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16691
16692 2016-02-24 Gary Benson <gbenson@redhat.com>
16693
16694 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16695 message on attach.
16696
16697 2016-02-23 Doug Evans <dje@google.com>
16698
16699 * gdb.base/skip.c (test_skip): New function.
16700 (end_test_skip_file_and_function): New function.
16701 (test_skip_file_and_function): New function.
16702 * gdb.base/skip1.c (test_skip): New function.
16703 (skip1_test_skip_file_and_function): New function.
16704 * gdb.base/skip.exp: Add tests for new skip options.
16705 * gdb.base/skip-solib.exp: Update expected output.
16706 * gdb.perf/skip-command.cc: New file.
16707 * gdb.perf/skip-command.exp: New file.
16708 * gdb.perf/skip-command.py: New file.
16709
16710 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16711
16712 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16713 info registers pattern.
16714
16715 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16716
16717 * lib/future.exp: Add D support.
16718 (gdb_find_gdc): New proc.
16719 (gdb_default_target_compile): Add D support.
16720
16721 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
16722
16723 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16724 user+system time.
16725 (trace_speed_test): Determine the iteration count for a time
16726 between 15..30 seconds.
16727
16728 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16729
16730 * gdb.arch/i386-mpx-sigsegv.c: New file.
16731 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16732 * gdb.arch/i386-mpx-simple_segv.c: New file.
16733 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16734
16735 2016-02-18 Yao Qi <yao.qi@linaro.org>
16736
16737 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16738 Don't call setup_kfail.
16739
16740 2016-02-18 Yao Qi <yao.qi@linaro.org>
16741
16742 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16743 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16744
16745 2016-02-16 Doug Evans <dje@google.com>
16746
16747 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16748 * gdb.base/skip1.c: Ditto.
16749 * gdb.base/skip.exp: Whitespace cleanup.
16750
16751 2016-02-16 Don Breazeal <donb@codesourcery.com>
16752
16753 PR remote/19496
16754 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16755 Remove kfail for PR remote/19496.
16756
16757 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16758
16759 * lib/gdb.exp (standard_temp_file): Return a path specific to
16760 the runtest invocation.
16761
16762 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16763
16764 * gdb.trace/save-trace.exp: Change relative path to be in the
16765 standard output directory.
16766
16767 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16768
16769 * gdb.arch/i386-prologue.c: Add missing prototypes.
16770
16771 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16772
16773 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16774 * gdb.arch/i386-prologue.exp: Likewise.
16775 * gdb.arch/i386-size.exp: Likewise.
16776
16777 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16778
16779 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16780 define object file path.
16781 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16782 file path.
16783 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16784 standard_output_file to define binfile.
16785
16786 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16787
16788 Fix compatibility with recent gfortran-5.3.1.
16789 * gdb.fortran/vla-history.exp (print vla1 allocated)
16790 (print vla2 allocated, print $2, print $3): Remove
16791 (print $4): Rename to ...
16792 (print $2): ... here.
16793 (print $9): Rename to ...
16794 (print $5): ... here.
16795 (print $10): Rename to ...
16796 (print $6): ... here.
16797 * gdb.fortran/vla.f90: Add pvla initialization.
16798
16799 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16800
16801 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16802 New test.
16803 * gdb.fortran/vla-value-sub.exp: Likewise.
16804
16805 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16806
16807 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16808
16809 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16810
16811 * i386-biarch-core.exp: Define corefile using
16812 standard_output_file.
16813
16814 2016-02-12 Yao Qi <yao.qi@linaro.org>
16815
16816 * gdb.arch/arm-single-step-kernel-helper.c: New.
16817 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16818
16819 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16820
16821 * gdb.btrace/tailcall-only.exp: New.
16822 * gdb.btrace/tailcall-only.c: New.
16823 * gdb.btrace/x86_64-tailcall-only.S: New.
16824 * gdb.btrace/i686-tailcall-only.S: New.
16825
16826 2016-02-11 Pedro Alves <palves@redhat.com>
16827
16828 * README (Parallel testing): Add missing double quotes.
16829
16830 2016-02-11 Pedro Alves <palves@redhat.com>
16831
16832 * README (Parallel testing): New section.
16833 (GDB_PARALLEL): Rewrite.
16834 (FORCE_PARALLEL): Document.
16835
16836 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16837
16838 * gdb.trace/tfile-avx.c: New test.
16839 * gdb.trace/tfile-avx.exp: New test.
16840
16841 2016-02-09 Keith Seitz <keiths@redhat.com>
16842
16843 PR breakpoints/19546
16844 * gdb.base/infcall-exec.c: New file.
16845 * gdb.base/infcall-exec2.c: New file.
16846 * gdb.base/infcall-exec.exp: New file.
16847
16848 2016-02-09 Keith Seitz <keiths@redhat.com>
16849
16850 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16851 (toplevel): Call test_bkpt_address.
16852
16853 2016-02-09 Keith Seitz <keiths@redhat.com>
16854
16855 PR python/19506
16856 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16857 (toplevel): Call test_bkpt_address.
16858
16859 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16860
16861 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16862 to AC_OUTPUT.
16863 * configure: Regenerate.
16864
16865 2016-02-09 Pedro Alves <palves@redhat.com>
16866
16867 PR breakpoints/19548
16868 * gdb.base/execl-update-breakpoints.c (some_function): New
16869 function.
16870 (main): Call it.
16871 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16872 Tighten expected GDB output.
16873
16874 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16875
16876 * Makefile.in (ALL_SUBDIRS): Remove.
16877 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16878 (distclean maintainer-clean realclean): Likewise.
16879 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16880 * configure: Regenerate.
16881 * gdb.ada/Makefile.in: Delete.
16882 * gdb.arch/Makefile.in: Likewise.
16883 * gdb.asm/Makefile.in: Likewise.
16884 * gdb.base/Makefile.in: Likewise.
16885 * gdb.btrace/Makefile.in: Likewise.
16886 * gdb.cell/Makefile.in: Likewise.
16887 * gdb.compile/Makefile.in: Likewise.
16888 * gdb.cp/Makefile.in: Likewise.
16889 * gdb.disasm/Makefile.in: Likewise.
16890 * gdb.dlang/Makefile.in: Likewise.
16891 * gdb.dwarf2/Makefile.in: Likewise.
16892 * gdb.fortran/Makefile.in: Likewise.
16893 * gdb.gdb/Makefile.in: Likewise.
16894 * gdb.go/Makefile.in: Likewise.
16895 * gdb.guile/Makefile.in: Likewise.
16896 * gdb.java/Makefile.in: Likewise.
16897 * gdb.linespec/Makefile.in: Likewise.
16898 * gdb.mi/Makefile.in: Likewise.
16899 * gdb.modula2/Makefile.in: Likewise.
16900 * gdb.multi/Makefile.in: Likewise.
16901 * gdb.objc/Makefile.in: Likewise.
16902 * gdb.opencl/Makefile.in: Likewise.
16903 * gdb.opt/Makefile.in: Likewise.
16904 * gdb.pascal/Makefile.in: Likewise.
16905 * gdb.perf/Makefile.in: Likewise.
16906 * gdb.python/Makefile.in: Likewise.
16907 * gdb.reverse/Makefile.in: Likewise.
16908 * gdb.server/Makefile.in: Likewise.
16909 * gdb.stabs/Makefile.in: Likewise.
16910 * gdb.threads/Makefile.in: Likewise.
16911 * gdb.trace/Makefile.in: Likewise.
16912 * gdb.xml/Makefile.in: Likewise.
16913 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16914 GDB_PARALLEL.
16915 (standard_output_file): Remove check for GDB_PARALLEL, always
16916 return path in outputs/$subdir/$testname.
16917
16918 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16919
16920 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16921 (site.exp): Assign abs_srcdir to tcl's srcdir.
16922
16923 2016-02-04 Yao Qi <yao.qi@linaro.org>
16924
16925 * gdb.base/foll-exec-mode.c: Include limits.h.
16926 (main): Add parameters argc and argv. Get directory from
16927 argv[0].
16928 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16929 compilation.
16930 * gdb.base/foll-exec.c: Include limits.h.
16931 (main): Add parameters argc and argv.
16932 Get directory from argv[0].
16933 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16934 Adjust tests on the number of lines as source code changed.
16935 * gdb.base/foll-vfork-exit.c: Include limits.h.
16936 (main): Add one line of statement before vfork.
16937 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16938 (main): Add parameters argc and argv. Get directory from
16939 argv[0].
16940 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16941 (setup_gdb): Set tbreak to skip some source lines.
16942 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16943 (main): Add parameters argc and argv. Get directory from
16944 argv[0].
16945 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16946 compilation.
16947 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16948 (main): Add parameters argc and argv. Get directory from
16949 argv[0].
16950 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16951 compilation.
16952
16953 2016-02-01 Doug Evans <dje@google.com>
16954
16955 * gdb.base/skip.exp: Clean up multiple references to same test name.
16956
16957 2016-02-01 Pedro Alves <palves@redhat.com>
16958
16959 PR remote/19496
16960 * gdb.threads/forking-threads-plus-breakpoint.exp
16961 (displaced_stepping_supported): New global.
16962 (probe_displaced_stepping_support): New procedure.
16963 (do_test): Add 'displaced' parameter, and use it.
16964 (top level): Check for displaced stepping support. Add displaced
16965 stepping on/off testing axis.
16966
16967 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16968
16969 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16970 pointer. Don't perform further tests on the unassociated pointer
16971 if the first test fails.
16972
16973 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16974
16975 * gdb.base/max-value-size.c: New file.
16976 * gdb.base/max-value-size.exp: New file.
16977 * gdb.base/huge.exp: Disable max-value-size for this test.
16978
16979 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16980
16981 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16982
16983 2016-01-28 Yao Qi <yao.qi@linaro.org>
16984
16985 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16986
16987 2016-01-25 Pedro Alves <palves@redhat.com>
16988
16989 PR threads/19461
16990 * gdb.base/fork-running-state.c: New file.
16991 * gdb.base/fork-running-state.exp: New file.
16992
16993 2016-01-25 Pedro Alves <palves@redhat.com>
16994
16995 PR gdb/19494
16996 * gdb.base/catch-fork-kill.c: New file.
16997 * gdb.base/catch-fork-kill.exp: New file.
16998
16999 2016-01-25 Pedro Alves <palves@redhat.com>
17000
17001 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17002 Delete, moved to lib/gdb.exp.
17003 * gdb.threads/forking-threads-plus-breakpoint.exp
17004 (foreach_with_prefix): Likewise.
17005 * gdb.threads/process-dies-while-handling-bp.exp
17006 (foreach_with_prefix): Likewise.
17007 * lib/gdb.exp (foreach_with_prefix): New procedure.
17008
17009 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17010
17011 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17012 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17013
17014 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17015
17016 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17017 endian targets.
17018
17019 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17020 Pedro Alves <palves@redhat.com>
17021
17022 Fix testsuite compatibility with Guile.
17023 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17024 number.
17025
17026 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17027
17028 Fix testsuite compatibility with Guile.
17029 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17030 (thread 1): New test for backtrace through signal handler.
17031
17032 2016-01-22 Yao Qi <yao.qi@linaro.org>
17033
17034 PR testsuite/19491
17035 * gdb.base/multi-forks.c: Include
17036 ../lib/unbuffer_output.c
17037 (main): Call gdb_unbuffer_output.
17038
17039 2016-01-21 Doug Evans <dje@google.com>
17040
17041 * lib/ada.exp (gdb_compile_ada): Fix typo.
17042
17043 2016-01-21 Joel Brobecker <brobecker@adacore.com>
17044
17045 * gdb.base/break-fun-addr.exp: New file.
17046 * gdb.base/break-fun-addr1.c: New file.
17047 * gdb.base/break-fun-addr2.c: New file.
17048
17049 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17050
17051 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17052 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17053 enum flag values.
17054
17055 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17056
17057 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17058 when GDB can not set the vector return value. Add more comments
17059 for clarification.
17060
17061 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17062
17063 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17064 command.
17065
17066 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17067
17068 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17069
17070 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17071
17072 * Makefile.in (check-single): Pass --status to runtest.
17073 (check/%.exp): Likewise.
17074
17075 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17076
17077 * Makefile.in (check-parallel): Propagate return code from make
17078 do-check-parallel.
17079
17080 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17081
17082 * gdb.trace/ftrace.exp: Fix expected message on continue.
17083 * gdb.trace/pending.exp: Fix expected message on continue.
17084 * gdb.trace/trace-break.exp: Fix expected message on continue.
17085
17086 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17087
17088 * lib/gdb.exp (gdb_test): Remove unused global references.
17089
17090 2016-01-18 Pedro Alves <palves@redhat.com>
17091
17092 * gdb.base/async-shell.exp: Adjust expected output.
17093 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17094 * gdb.base/siginfo-thread.exp: Adjust expected output.
17095 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17096 * gdb.java/jnpe.exp: Adjust expected output.
17097 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17098 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17099 * gdb.threads/leader-exit.exp: Adjust expected output.
17100 * gdb.threads/manythreads.exp: Adjust expected output.
17101 * gdb.threads/pthreads.exp: Adjust expected output.
17102 * gdb.threads/schedlock.exp: Adjust expected output.
17103 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17104 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17105 expected output.
17106 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17107 output.
17108 * gdb.threads/sigthread.exp: Adjust expected output.
17109 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17110
17111 2016-01-18 Yao Qi <yao.qi@linaro.org>
17112
17113 * gdb.guile/scm-section-script.c: Replace @progbits with
17114 %progbits.
17115 * gdb.python/py-section-script.c: Likewise.
17116
17117 2016-01-15 Pedro Alves <palves@redhat.com>
17118
17119 * gdb.multi/tids.exp: Test star wildcard ranges.
17120
17121 2016-01-15 Pedro Alves <palves@redhat.com>
17122
17123 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17124 command from "thread apply" invocation.
17125 (thr_apply_info_thr_invalid): Default the expected output to the
17126 input tid list.
17127 (top level): Add tests that use convenience variables. Add tests
17128 for "thread apply" with a valid TID list, but missing the command.
17129
17130 2016-01-13 Pedro Alves <palves@redhat.com>
17131
17132 * gdb.base/default.exp: Expect $_gthread as well.
17133 * gdb.multi/tids.exp: Test $_gthread.
17134 * gdb.threads/thread-specific.exp: Test $_gthread.
17135
17136 2016-01-13 Pedro Alves <palves@redhat.com>
17137
17138 * gdb.multi/tids.exp: Test "info threads -gid".
17139
17140 2016-01-13 Pedro Alves <palves@redhat.com>
17141
17142 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17143 Breakpoint.thread.
17144 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17145
17146 2016-01-07 Pedro Alves <palves@redhat.com>
17147
17148 * gdb.base/break.exp: Adjust to output changes.
17149 * gdb.base/hbreak2.exp: Likewise.
17150 * gdb.base/sepdebug.exp: Likewise.
17151 * gdb.base/watch_thread_num.exp: Likewise.
17152 * gdb.linespec/keywords.exp: Likewise.
17153 * gdb.multi/info-threads.exp: Likewise.
17154 * gdb.threads/thread-find.exp: Likewise.
17155 * gdb.multi/tids.c: New file.
17156 * gdb.multi/tids.exp: New file.
17157
17158 2016-01-13 Pedro Alves <palves@redhat.com>
17159
17160 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17161
17162 2016-01-13 Pedro Alves <palves@redhat.com>
17163
17164 * gdb.base/default.exp: Expect $_inferior as well.
17165 * gdb.multi/base.exp: Test $_inferior.
17166
17167 2016-01-13 Pedro Alves <palves@redhat.com>
17168
17169 PR breakpoints/19388
17170 * gdb.base/catch-signal-siginfo-cond.c: New file.
17171 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17172
17173 2016-01-12 Josh Stone <jistone@redhat.com>
17174 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17175
17176 * gdb.base/catch-syscall.c (do_execve): New variable.
17177 (main): Conditionally trigger an execve.
17178 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17179 (test_catch_syscall_execve): New, check entry/return across execve.
17180 (do_syscall_tests): Call test_catch_syscall_execve.
17181
17182 2016-01-12 Pedro Alves <palves@redhat.com>
17183
17184 * gdb.base/random-signal.exp (do_test): New procedure, with body
17185 of testcase moved in.
17186
17187 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17188 Pedro Alves <palves@redhat.com>
17189
17190 * gdb.base/funcargs.exp (finish from indirectly called function):
17191 Reintroduce the case for 'First'.
17192
17193 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17194 Pedro Alves <palves@redhat.com>
17195
17196 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17197 (tcatch_vfork_then_child_follow_exec)
17198 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17199 identification.
17200
17201 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17202
17203 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17204 and repeats to unlimited.
17205 * gdb.python/py-value.exp: Likewise.
17206 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17207 and repeats to unlimited.
17208
17209 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17210
17211 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17212 and reordering the functions.
17213 * gdb.multi/hangout.c: Likewise.
17214 * gdb.multi/hello.c: Likewise.
17215
17216 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17217
17218 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17219 absolute.
17220 (SingleStatisticTestResult.report): Use dict.keys instead of
17221 dict.iterkeys.
17222
17223 2016-01-06 Pedro Alves <palves@redhat.com>
17224
17225 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17226
17227 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17228
17229 * gdb.btrace/dlopen.exp: New.
17230 * gdb.btrace/dlopen.c: New.
17231 * gdb.btrace/dlopen-dso.c: New.
17232
17233 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17234
17235 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17236 PATTERN argument is optional.
17237
17238 2015-12-24 Joel Brobecker <brobecker@adacore.com>
17239
17240 * lib/ada.exp (target_compile_ada_from_dir): New function.
17241 (gdb_compile_ada): Reimplement avoiding the use of project files.
17242 * gdb.ada/gnat_ada.gpr: Delete.
17243 * gdb.ada/cond_lang.exp: Adjust test to make path before
17244 filename optional.
17245 * gdb.ada/small_reg_param.exp: Likewise.
17246
17247 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17248
17249 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17250
17251 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17252
17253 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17254 case.
17255
17256 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17257
17258 * gdb.base/break.exp: Remove dead code.
17259 * gdb.base/sepdebug.exp: Likewise.
17260
17261 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17262
17263 * gdb.asm/asm-source.exp: Remove HP-UX references.
17264 * gdb.base/annota1.exp: Likewise.
17265 * gdb.base/annota3.exp: Likewise.
17266 * gdb.base/attach.exp: Likewise.
17267 * gdb.base/bigcore.exp: Likewise.
17268 * gdb.base/break.exp: Likewise.
17269 * gdb.base/call-ar-st.exp: Likewise.
17270 * gdb.base/callfuncs.exp: Likewise.
17271 * gdb.base/catch-fork-static.exp: Likewise.
17272 * gdb.base/display.exp: Likewise.
17273 * gdb.base/foll-exec-mode.exp: Likewise.
17274 * gdb.base/foll-exec.exp: Likewise.
17275 * gdb.base/foll-fork.exp: Likewise.
17276 * gdb.base/foll-vfork.exp: Likewise.
17277 * gdb.base/funcargs.exp: Likewise.
17278 * gdb.base/hbreak2.exp: Likewise.
17279 * gdb.base/inferior-died.exp: Likewise.
17280 * gdb.base/interrupt.exp: Likewise.
17281 * gdb.base/multi-forks.exp: Likewise.
17282 * gdb.base/nodebug.exp: Likewise.
17283 * gdb.base/sepdebug.exp: Likewise.
17284 * gdb.base/solib1.c: Likewise.
17285 * gdb.base/step-test.exp: Likewise.
17286 * gdb.mi/non-stop.c: Likewise.
17287 * gdb.mi/pthreads.c: Likewise.
17288 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17289 * gdb.threads/pthreads.c: Likewise.
17290 * gdb.threads/staticthreads.exp: Likewise.
17291 * lib/future.exp: Likewise.
17292 * lib/gdb.exp: Likewise.
17293 * gdb.base/so-indr-cl.c: Remove.
17294 * gdb.base/so-indr-cl.exp: Likewise.
17295 * gdb.base/solib.c: Likewise.
17296 * gdb.base/solib.exp: Likewise.
17297 * gdb.base/solib2.c: Likewise.
17298
17299 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17300
17301 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17302 * gdb.base/call-ar-st.exp: Likewise.
17303 * gdb.base/callfuncs.exp: Likewise.
17304 * gdb.base/condbreak.exp: Likewise.
17305 * gdb.base/constvars.exp: Likewise.
17306 * gdb.base/hbreak2.exp: Likewise.
17307 * gdb.base/langs.exp: Likewise.
17308 * gdb.base/list.exp: Likewise.
17309 * gdb.base/long_long.exp: Likewise.
17310 * gdb.base/ptype.exp: Likewise.
17311 * gdb.base/scope.exp: Likewise.
17312 * gdb.base/signals.exp: Likewise.
17313 * gdb.base/so-impl-ld.exp: Likewise.
17314 * gdb.base/varargs.exp: Likewise.
17315 * gdb.base/volatile.exp: Likewise.
17316 * gdb.base/whatis.exp: Likewise.
17317 * gdb.cp/cplusfuncs.exp: Likewise.
17318 * gdb.cp/inherit.exp: Likewise.
17319 * gdb.cp/local.exp: Likewise.
17320 * gdb.cp/member-ptr.exp: Likewise.
17321 * gdb.cp/method.exp: Likewise.
17322 * gdb.cp/overload.exp: Likewise.
17323 * gdb.cp/templates.exp: Likewise.
17324 * gdb.stabs/weird.exp: Likewise.
17325 * lib/compiler.c: Likewise.
17326 * lib/compiler.cc: Likewise.
17327 * lib/cp-support.exp: Likewise.
17328 * lib/gdb.exp: Likewise.
17329
17330 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17331
17332 * configure.ac: Remove HP-UX case.
17333 * configure: Regenerate.
17334
17335 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17336
17337 * lib/gdb.exp (gdb_compile): Add function doc.
17338
17339 2015-12-17 Pedro Alves <palves@redhat.com>
17340
17341 PR threads/19354
17342 * gdb.multi/info-threads.exp: New file.
17343
17344 2015-12-15 Yao Qi <yao.qi@linaro.org>
17345
17346 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17347 is aarch64*-*-*.
17348
17349 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17350
17351 * gdb.base/history-duplicates.exp: Skip if no readline support.
17352
17353 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17354
17355 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17356
17357 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17358
17359 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17360
17361 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17362
17363 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17364 ctrl-C if nointerrupts target property is set.
17365 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17366 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17367 * gdb.base/paginate-bg-execution.exp: Likewise.
17368 * gdb.base/paginate-execution-startup.exp: Likewise.
17369 * gdb.base/random-signal.exp: Likewise.
17370 * gdb.base/range-stepping.exp: Likewise.
17371 * gdb.cp/annota2.exp: Likewise.
17372 * gdb.cp/annota3.exp: Likewise.
17373 * gdb.gdb/selftest.exp: Likewise.
17374 * gdb.threads/continue-pending-status.exp: Likewise.
17375 * gdb.threads/leader-exit.exp: Likewise.
17376 * gdb.threads/manythreads.exp: Likewise.
17377 * gdb.threads/pthreads.exp: Likewise.
17378 * gdb.threads/schedlock.exp: Likewise.
17379 * gdb.threads/sigthread.exp: Likewise.
17380
17381 2015-12-11 Don Breazeal <donb@codesourcery.com>
17382
17383 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17384 remote.
17385 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17386 * gdb.base/foll-exec.exp (main): Enable for target remote.
17387 * gdb.base/foll-fork.exp (main): Likewise.
17388 * gdb.base/foll-vfork.exp (main): Likewise.
17389 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17390 (proc continue_to_exit_bp_loc): Use clean_restart.
17391 * gdb.base/pie-execl.exp (main): Disable for target remote.
17392 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17393 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17394 * gdb.threads/execl.exp (main): Likewise.
17395 * gdb.threads/fork-child-threads.exp (main): Likewise.
17396 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17397 remote.
17398 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17399 remote.
17400 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17401 pid.tid style ptids, instead of just tid.
17402 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17403 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17404 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17405 ptids, instead of just tid.
17406
17407 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17408
17409 * gdb.base/list.exp (test_list_forward): Add end of file error
17410 test.
17411 (test_repeat_list_command): Add end of file error test.
17412 (test_list_backwards): Add beginning of file error test.
17413
17414 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17415
17416 * gdb.base/list.exp (test_list_invalid_args): New function,
17417 defined, and called.
17418
17419 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17420
17421 * gdb.base/list.exp (test_list): Make test names unique.
17422
17423 2015-12-11 Yao Qi <yao.qi@linaro.org>
17424
17425 * gdb.base/coremaker2.c: Remove.
17426
17427 2015-12-10 Pedro Alves <palves@redhat.com>
17428
17429 * gdb.multi/base.exp: Remove stale "spaces" references.
17430
17431 2015-12-10 Pedro Alves <palves@redhat.com>
17432
17433 * gdb.multi/base.exp: Don't use nowarnings.
17434 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17435 * gdb.multi/hangout.c: Include stdio.h.
17436 * gdb.multi/hello.c: Include stdlib.h.
17437 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17438 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17439 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17440
17441 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17442
17443 * gdb.dwarf2/dw2-ranges-base.c: New file.
17444 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17445 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17446 support additional line table, and debug ranges generation.
17447 (Dwarf::ranges): New function, generate .debug_ranges.
17448 (Dwarf::lines): Support generating simple line table programs.
17449 (Dwarf::assemble): Initialise new namespace variables.
17450
17451 2015-12-09 Kevin Buettner <kevinb@redhat.com>
17452
17453 * gdb.base/async.exp (proc test_background): Add case for
17454 asynchronous execution not supported.
17455
17456 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
17457
17458 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17459 format and change test names to make them unique.
17460
17461 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17462 Pedro Alves <pedro@redhat.com>
17463
17464 PR gdb/18702
17465 Add checking of floatformats setup on x86_64 hosts.
17466 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17467 (smallval, bigval): New labels/constants.
17468 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17469 float" after loading bigval and smallval.
17470
17471 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17472
17473 * gdb.ada/fun_overload_menu.exp: New testcase.
17474 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17475
17476 2015-12-04 Josh Stone <jistone@redhat.com>
17477
17478 * gdb.base/catch-fork-static.exp: New.
17479
17480 2015-12-03 Yao Qi <yao.qi@linaro.org>
17481
17482 * gdb.base/sizeof.c: Don't include stdio.h and
17483 ../lib/unbuffer_output.c.
17484 (main): New variable 'size' and 'value'. Remove printf and
17485 gdb_unbuffer_output. Assign return value to size and value.
17486 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17487 at the beginning.
17488 (check_sizeof): Check the result by printing variable 'size'.
17489 (check_valueof): Check the result by printing variable 'value'.
17490
17491 2015-12-01 Yao Qi <yao.qi@linaro.org>
17492
17493 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17494 for aarch64*-*-linux* target.
17495
17496 2015-11-30 Pedro Alves <palves@redhat.com>
17497
17498 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17499
17500 2015-11-30 Pedro Alves <palves@redhat.com>
17501
17502 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17503 Handle non-stop mode vCont replies.
17504
17505 2015-11-30 Pedro Alves <palves@redhat.com>
17506
17507 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17508 prepare_for_testing. Start gdb with "set non-stop on" appended to
17509 GDBFLAGS. Lax expected stop output.
17510
17511 2015-11-27 Yao Qi <yao.qi@linaro.org>
17512
17513 * gdb.arch/arm-neon.exp: New.
17514 * gdb.arch/arm-neon.c: New.
17515
17516 2015-11-27 Yao Qi <yao.qi@linaro.org>
17517
17518 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17519
17520 2015-11-27 Yao Qi <yao.qi@linaro.org>
17521
17522 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17523 frames-invalid annotation.
17524
17525 2015-11-27 Yao Qi <yao.qi@linaro.org>
17526
17527 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17528
17529 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17530
17531 * gdb.threads/names.exp: New file.
17532 * gdb.threads/names.c: New file.
17533 * README: Mention gdb,no_thread_names.
17534
17535 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17536
17537 PR 19297
17538 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17539 support" error.
17540
17541 2015-11-24 Pedro Alves <palves@redhat.com>
17542
17543 PR 17539
17544 * gdb.base/display.exp: Expect displays to be sorted in ascending
17545 order. Use multi_line.
17546 * gdb.base/solib-display.exp: Likewise.
17547
17548 2015-11-24 Pedro Alves <palves@redhat.com>
17549
17550 PR 17539
17551 * gdb.base/display.exp: Expect displays to be sorted in ascending
17552 order. Use multi_line.
17553 * gdb.base/solib-display.exp: Likewise.
17554
17555 2015-11-24 Pedro Alves <palves@redhat.com>
17556
17557 PR 17539
17558 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17559 threads in ascending order.
17560 * gdb.base/foll-fork.exp: Likewise.
17561 * gdb.base/foll-vfork.exp: Likewise.
17562 * gdb.base/multi-forks.exp: Likewise.
17563 * gdb.mi/mi-nonstop.exp: Likewise.
17564 * gdb.mi/mi-nsintrall.exp: Likewise.
17565 * gdb.multi/base.exp: Likewise.
17566 * gdb.multi/multi-arch.exp: Likewise.
17567 * gdb.python/py-inferior.exp: Likewise.
17568 * gdb.threads/break-while-running.exp: Likewise.
17569 * gdb.threads/execl.exp: Likewise.
17570 * gdb.threads/gcore-thread.exp: Likewise.
17571 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17572 * gdb.threads/kill.exp: Likewise.
17573 * gdb.threads/linux-dp.exp: Likewise.
17574 * gdb.threads/multiple-step-overs.exp: Likewise.
17575 * gdb.threads/next-bp-other-thread.exp: Likewise.
17576 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17577 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17578 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17579 * gdb.threads/thread-find.exp: Likewise.
17580 * gdb.threads/tls.exp: Likewise.
17581 * lib/mi-support.exp (mi_reverse_list): Delete.
17582 (mi_check_thread_states): No longer reverse list.
17583
17584 2015-11-24 Pedro Alves <palves@redhat.com>
17585
17586 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17587 use lowercase.
17588
17589 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17590
17591 * gdb.trace/actions.c: Include trace-common.h.
17592 (main): Add a location for a fast tracepoint.
17593 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17594 the normal tracepoints.
17595 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17596
17597 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17598
17599 * save-trace.exp: Factor out code to these...
17600 (gdb_save_tracepoints): New.
17601 (gdb_load_tracepoints): New.
17602 (do_save_load_test): New.
17603
17604 2015-11-23 Kevin Buettner <kevinb@redhat.com>
17605
17606 * gdb.base/asmlabel.exp: New test.
17607 * gdb.base/asmlabel.c: New test case.
17608
17609 2015-11-23 Joel Brobecker <brobecker@adacore.com>
17610
17611 * gdb.base/wrong_frame_bt_full-main.c: New file.
17612 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17613 * gdb.base/wrong_frame_bt_full.exp: New file.
17614
17615 2015-11-23 Joel Brobecker <brobecker@adacore.com>
17616
17617 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17618
17619 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17620
17621 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
17622 pstate register when comparing registers values in
17623 sparc64-*-linux-gnu targets to avoid spurious differences.
17624
17625 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17626
17627 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
17628
17629 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17630
17631 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17632 as type argument to gdb_compile.
17633 * gdb.base/nested-subp2.exp: Likewise.
17634 * gdb.base/nested-subp3.exp: Likewise.
17635
17636 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17637
17638 * lib/dwarf.exp (_note): Fix left shift of negative value.
17639 * gdb.trace/trace-condition.exp: Likewise.
17640
17641 2015-11-13 Yao Qi <yao.qi@linaro.org>
17642
17643 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17644 comments about d10v.
17645 (test_scalar_returns): Likewise.
17646 * gdb.base/d10v.ld: Remove.
17647 * gdb.base/overlays.exp: Remove the target triplet checking for
17648 d10v-*-*.
17649 * gdb.base/structs.exp (test_struct_returns): Remove the
17650 comments about d10v.
17651 (test_struct_calls): Likewise.
17652
17653 2015-11-13 Yao Qi <yao.qi@linaro.org>
17654
17655 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17656 * gdb.base/gnu_vector.c: Don't include stdio.h.
17657 (main): Don't print res and call add_some_intvecs.
17658
17659 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17660
17661 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17662 macro.
17663 (func5): Removed.
17664 (func4): Use FAST_TRACEPOINT_LABEL.
17665 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17666 macro.
17667 (func): Removed.
17668 (thread_function): Use FAST_TRACEPOINT_LABEL.
17669 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17670 (func): Remove.
17671 (marker): Use FAST_TRACEPOINT_LABEL.
17672 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17673 (pendfunc1): Remove.
17674 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17675 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17676 (foo): Remove.
17677 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17678 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17679 macro.
17680 (func): Remove.
17681 (marker): Use FAST_TRACEPOINT_LABEL.
17682 * gdb.trace/trace-common.h: New header.
17683 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17684 macro.
17685 (func): Remove.
17686 (marker): Use FAST_TRACEPOINT_LABEL.
17687 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17688 (func): Remove.
17689 (thread_function): Use FAST_TRACEPOINT_LABEL.
17690
17691 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17692
17693 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17694 in front.
17695 * gdb.trace/change-loc.exp: Use global pcreg definition.
17696 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17697 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17698 in front.
17699 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17700 * gdb.trace/pending.exp: Likewise.
17701 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17702 * gdb.trace/trace-break.exp: Likewise.
17703 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17704 in front.
17705 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17706 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17707 in front.
17708 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17709
17710 2015-11-09 Joel Brobecker <brobecker@adacore.com>
17711
17712 * gdb.ada/fin_fun_out: New testcase.
17713
17714 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17715
17716 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17717 value associated with DW_AT_byte_size.
17718 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17719 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17720 DW_AT_upper_bound.
17721
17722 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17723
17724 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17725 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17726 version.
17727 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17728 gdb.dwarf2/dw2-canonicalize-type.exp,
17729 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17730 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17731 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17732 provided by gdb_target_symbol_prefix_flags_asm.
17733 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17734 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17735 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17736 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17737 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17738 macros where needed). Use this macro for symbols which require
17739 the prefix provided by SYMBOL_PREFIX.
17740
17741 2015-11-05 Kevin Buettner <kevinb@redhat.com>
17742
17743 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17744 New procs.
17745 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17746 representing expressions, of more than one list element.
17747 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17748 to prepend linker symbol prefix to f.
17749 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17750 table_1 and table_2.
17751 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17752 Likewise, for f and g.
17753 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17754 for ptr.
17755 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17756 for main.
17757 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17758 table_1_ptr and table_2_ptr.
17759
17760 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17761 Joel Brobecker <brobecker@adacore.com>
17762
17763 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17764
17765 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17766
17767 * gdb.reverse/s390-mvcle.c: New test.
17768 * gdb.reverse/s390-mvcle.exp: New file.
17769 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17770
17771 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17772
17773 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17774
17775 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17776
17777 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17778 reaching marker2.
17779 * gdb.reverse/getresuid-reverse.exp: Likewise.
17780 * gdb.reverse/pipe-reverse.exp: Likewise.
17781 * gdb.reverse/readv-reverse.exp: Likewise.
17782 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17783 * gdb.reverse/time-reverse.exp: Likewise.
17784 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17785
17786 2015-10-30 Yao Qi <yao.qi@linaro.org>
17787
17788 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17789 (empty_cycle): Remove.
17790 (main): Don't call empty_cycle. Don't use watch_count_done.
17791 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17792 empty_cycle. Rewrite the code counting HW watchpoints.
17793
17794 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17795
17796 * gdb.reverse/fstatat-reverse.c: New test.
17797 * gdb.reverse/fstatat-reverse.exp: New file.
17798 * gdb.reverse/getresuid-reverse.c: New test.
17799 * gdb.reverse/getresuid-reverse.exp: New file.
17800 * gdb.reverse/pipe-reverse.c: New test.
17801 * gdb.reverse/pipe-reverse.exp: New file.
17802 * gdb.reverse/readv-reverse.c: New test.
17803 * gdb.reverse/readv-reverse.exp: New file.
17804 * gdb.reverse/recvmsg-reverse.c: New test.
17805 * gdb.reverse/recvmsg-reverse.exp: New file.
17806 * gdb.reverse/time-reverse.c: New test.
17807 * gdb.reverse/time-reverse.exp: New file.
17808 * gdb.reverse/waitpid-reverse.c: New test.
17809 * gdb.reverse/waitpid-reverse.exp: New file.
17810
17811 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17812
17813 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17814
17815 2015-10-26 Doug Evans <dje@google.com>
17816
17817 PR symtab/17391
17818 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17819 * gdb.dwarf2/bad-regnum.c: New file.
17820 * gdb.dwarf2/bad-regnum.exp: New file.
17821
17822 2015-10-26 Doug Evans <dje@google.com>
17823
17824 PR python/18938
17825 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17826 file.
17827
17828 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17829
17830 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17831 for a change by "Mention language in compile error message".
17832
17833 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17834
17835 PR python/18073
17836 * gdb.python/py-type.c (C::a_method): New.
17837 (C::a_const_method): New.
17838 (C::a_static_method): New.
17839 (a_function): New.
17840 * gdb.python/py-type.exp (test_fields): Test getting fields
17841 from function and method.
17842
17843 2015-10-21 Keven Boell <keven.boell@intel.com>
17844
17845 * gdb.fortran/vla-alloc-assoc.exp: New file.
17846 * gdb.fortran/vla-datatypes.exp: New file.
17847 * gdb.fortran/vla-datatypes.f90: New file.
17848 * gdb.fortran/vla-history.exp: New file.
17849 * gdb.fortran/vla-ptype-sub.exp: New file.
17850 * gdb.fortran/vla-ptype.exp: New file.
17851 * gdb.fortran/vla-sizeof.exp: New file.
17852 * gdb.fortran/vla-sub.f90: New file.
17853 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17854 * gdb.fortran/vla-value-sub-finish.exp: New file.
17855 * gdb.fortran/vla-value-sub.exp: New file.
17856 * gdb.fortran/vla-value.exp: New file.
17857 * gdb.fortran/vla-ptr-info.exp: New file.
17858 * gdb.mi/mi-vla-fortran.exp: New file.
17859 * gdb.mi/vla.f90: New file.
17860
17861 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17862
17863 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17864 of hardwired timeout value.
17865
17866 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17867 Pedro Alves <palves@redhat.com>
17868
17869 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17870 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17871
17872 2015-10-19 Josh Stone <jistone@redhat.com>
17873
17874 * gdb.base/catch-syscall.c: Include <sched.h>.
17875 (unknown_syscall): New variable.
17876 (main): Trigger a vfork and an unknown syscall.
17877 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17878 (unknown_syscall_number): Likewise.
17879 (check_call_to_syscall): Accept an optional syscall pattern.
17880 (check_return_from_syscall): Likewise.
17881 (check_continue): Likewise.
17882 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17883 (test_catch_syscall_skipping_return): New test toggling off 'catch
17884 syscall' to step over the syscall return, then toggling back on.
17885 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17886 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17887 (do_syscall_tests): Call test_catch_syscall_without_args and
17888 test_catch_syscall_mid_vfork.
17889 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17890 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17891
17892 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
17893
17894 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17895 print g_vE): Add new pass patterns.
17896 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17897 print various symbol names for vptr fields.
17898
17899 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17900
17901 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17902 results.
17903
17904 2015-10-12 Yao Qi <yao.qi@linaro.org>
17905
17906 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17907
17908 2015-10-12 Yao Qi <yao.qi@linaro.org>
17909
17910 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17911 is aarch64*-*-linux*.
17912
17913 2015-10-12 Yao Qi <yao.qi@linaro.org>
17914
17915 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17916 (can_relocate_bcond_true): ... it.
17917 (can_relocate_bcond_false): New function.
17918 (foo): Likewise.
17919 (can_relocate_bl): Likewise.
17920 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17921 can_relocate_bl.
17922
17923 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17924
17925 * gdb.base/nested-addr.c: New file.
17926 * gdb.base/nested-addr.exp: New testcase.
17927
17928 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17929
17930 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17931 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17932 its output. Ignore the output of "record goto begin" and instead
17933 check that GDB is replaying.
17934
17935 2015-10-09 Pedro Alves <palves@redhat.com>
17936
17937 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17938 (top level): Use it in the run with no args test.
17939
17940 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17941
17942 * gdb.dlang/properties.exp: New file.
17943
17944 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17945
17946 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17947 whether or not address 0x1000 is mapped on the target.
17948
17949 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17950
17951 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17952 build.
17953
17954 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17955
17956 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17957 instruction-history test.
17958
17959 2015-09-28 Doug Evans <dje@google.com>
17960
17961 * gdb.base/gcore.c (array_func): Add reference to static_array.
17962
17963 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17964
17965 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17966 source line.
17967
17968 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17969
17970 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17971 short or char as base type.
17972
17973 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17974
17975 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17976 to allow any size enum.
17977
17978 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17979
17980 * gdb.ada/array_ptr_renaming.exp: New testcase.
17981 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17982 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17983
17984 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17985
17986 * gdb.trace/ftrace-lock.c: New file.
17987 * gdb.trace/ftrace-lock.exp: New file.
17988
17989 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17990
17991 * gdb.arch/insn-reloc.c: New file.
17992 * gdb.arch/ftrace-insn-reloc.exp: New file.
17993
17994 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17995
17996 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17997 instruction.
17998 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17999 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18000 * gdb.trace/range-stepping.c: Likewise.
18001 * gdb.trace/trace-break.c: Likewise.
18002 * gdb.trace/trace-mt.c (thread_function): Likewise.
18003 * gdb.trace/ftrace.c (marker): Likewise.
18004 * gdb.trace/trace-condition.c (marker): Likewise.
18005 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18006 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18007 is_aarch64_target.
18008
18009 2015-09-18 Doug Evans <xdje42@gmail.com>
18010
18011 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18012 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18013
18014 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18015
18016 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18017 the breakpoint.
18018
18019 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18020
18021 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18022 the pending breakpoint. Remove timeout override for "Run till
18023 MI pending breakpoint on pendfunc3 on thread 2" test.
18024
18025 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18026
18027 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18028 filename pattern.
18029
18030 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18031
18032 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18033 in breakpoint filename pattern.
18034
18035 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18036
18037 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18038
18039 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18040
18041 * gdb.linespec/explicit.exp: Check for readline support for
18042 tab-completion tests. Fix obvious typo.
18043
18044 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18045
18046 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18047 and replay.
18048
18049 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18050
18051 * gdb.btrace/non-stop.c: New.
18052 * gdb.btrace/non-stop.exp: New.
18053
18054 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18055 Yao Qi <yao.qi@linaro.org>
18056
18057 * gdb.trace/trace-condition.c: New file.
18058 * gdb.trace/trace-condition.exp: New file.
18059
18060 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
18061
18062 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18063 for testing bytecode compilation.
18064
18065 2015-09-16 Pedro Alves <palves@redhat.com>
18066 Sandra Loosemore <sandra@codesourcery.com>
18067
18068 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18069 (SECONDS): Redefine.
18070 (main): Call pthread_kill and alarm early.
18071 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18072 support.
18073 (test): If the target can't hardware step and doesn't support
18074 displaced stepping, increase the timeout.
18075
18076 2015-09-16 Pedro Alves <palves@redhat.com>
18077
18078 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18079 (enable_debug): New procedures.
18080 (test): Use them. Bail out if waiting for threads fails.
18081 (top level): Bail out if a test fails.
18082
18083 2015-09-16 Yao Qi <yao.qi@linaro.org>
18084
18085 * gdb.asm/asm-source.exp: Set asm-arch for
18086 aarch64*-*-* target.
18087 * gdb.asm/aarch64.inc: New file.
18088
18089 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18090
18091 * gdb.ada/array_of_variable_length.exp: New testcase.
18092 * gdb.ada/array_of_variable_length/foo.adb: New file.
18093 * gdb.ada/array_of_variable_length/pck.adb: New file.
18094 * gdb.ada/array_of_variable_length/pck.ads: New file.
18095
18096 2015-09-15 Doug Evans <dje@google.com>
18097
18098 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18099 of function static local variable.
18100
18101 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18102
18103 * gdb.threads/tls-so_extern.exp: New test file.
18104 * gdb.threads/tls-so_extern.c: New test file.
18105 * gdb.threads/tls-so_extern_main.c: New test file.
18106
18107 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18108
18109 * gdb.opt/solib-intra-step-lib.c: New file.
18110 * gdb.opt/solib-intra-step-main.c: New file.
18111 * gdb.opt/solib-intra-step.exp: New file.
18112
18113 2015-09-15 Pedro Alves <palves@redhat.com>
18114
18115 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18116 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18117
18118 2015-09-14 Pedro Alves <palves@redhat.com>
18119
18120 * gdb.base/hook-stop-continue.c: Delete.
18121 * gdb.base/hook-stop-continue.exp: Delete.
18122 * gdb.base/hook-stop-frame.c: Delete.
18123 * gdb.base/hook-stop-frame.exp: Delete.
18124 * gdb.base/hook-stop.c: New file.
18125 * gdb.base/hook-stop.exp: New file.
18126
18127 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18128
18129 * gdb.ada/access_to_packed_array.exp: New testcase.
18130 * gdb.ada/access_to_packed_array/foo.adb: New file.
18131 * gdb.ada/access_to_packed_array/pack.adb: New file.
18132 * gdb.ada/access_to_packed_array/pack.ads: New file.
18133
18134 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18135
18136 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18137 buffer size test.
18138
18139 2015-09-11 Don Breazeal <donb@codesourcery.com>
18140
18141 * gdb.base/foll-exec.c: Add copyright header. Fix
18142 formatting issues.
18143 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18144 (do_exec_tests): Use clean_restart in place of zap_session,
18145 and for test initialization. Fix formatting issues. Use
18146 fail in place of perror.
18147 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18148 an expect statement to match an expression with output from
18149 the program under debug.
18150 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18151 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18152 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18153 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18154 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18155
18156 2015-09-09 Doug Evans <dje@google.com>
18157
18158 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18159
18160 2015-09-09 Doug Evans <dje@google.com>
18161
18162 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18163
18164 2015-09-09 Doug Evans <dje@google.com>
18165
18166 * gdb.base/savedregs.exp: Fix typo.
18167
18168 2015-09-09 Pedro Alves <palves@redhat.com>
18169
18170 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18171
18172 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18173
18174 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18175 command actually switches threads. Give up on remaining
18176 tests if target fails to stop at breakpoint.
18177
18178 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18179
18180 * gdb.ada/funcall_char.exp: New testcase.
18181 * gdb.ada/funcall_char/foo.adb: New file.
18182
18183 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18184
18185 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18186 expected outputs. Add two testcases for completing ambiguous
18187 functions.
18188 * gdb.ada/complete/aux_pck.adb: New file.
18189 * gdb.ada/complete/aux_pck.ads: New file.
18190 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18191 Ambiguous_Func functions.
18192 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18193 * gdb.ada/complete/pck.adb: Likewise.
18194
18195 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18196
18197 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18198 failures to run the test program under GDB.
18199
18200 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
18201
18202 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18203 to C.
18204
18205 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18206
18207 * gdb.base/run-after-attach.exp: New test file.
18208 * gdb.base/run-after-attach.c: New test file.
18209
18210 2015-08-26 Don Breazeal <donb@codesourcery.com>
18211
18212 * gdb.base/foll-exec-2.c: New test program.
18213 * gdb.base/foll-exec-2.exp: New test.
18214
18215 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18216
18217 * gdb.base/nested-subp1.exp: New file.
18218 * gdb.base/nested-subp1.c: New file.
18219 * gdb.base/nested-subp2.exp: New file.
18220 * gdb.base/nested-subp2.c: New file.
18221 * gdb.base/nested-subp3.exp: New file.
18222 * gdb.base/nested-subp3.c: New file.
18223
18224 2015-08-24 Pedro Alves <palves@redhat.com>
18225
18226 * gdb.server/connect-without-multi-process.c: New file.
18227 * gdb.server/connect-without-multi-process.exp: New file.
18228
18229 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
18230
18231 * gdb.opt/inline-markers.c: Make z int.
18232
18233 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
18234
18235 * gdb.opt/inline-markers.c: Make z volatile.
18236
18237 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
18238
18239 * gdb.opt/inline-bt.c: New volatile global z.
18240 * gdb.opt/inline-cmds.c: Likewise.
18241 * gdb.opt/inline-locals.c: Likewise.
18242 * gdb.opt/inline-markers.c: New extern global z.
18243 (marker): Use z.
18244 (inline_fn): Likewise.
18245
18246 2015-08-24 Pedro Alves <palves@redhat.com>
18247
18248 * config/m32r-stub.exp: Remove file.
18249 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18250 * gdb.base/call-rt-st.exp: Likewise.
18251 * gdb.base/call-strs.exp: Likewise.
18252 * gdb.base/default.exp: Remove references to h8300-*-hms and
18253 *-*-udi*.
18254 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18255
18256 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18257
18258 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18259 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18260 and "return" use KFAIL when GDB can not read/write the vector
18261 return value.
18262
18263 2015-08-21 Gary Benson <gbenson@redhat.com>
18264
18265 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18266
18267 2015-08-20 Pedro Alves <palves@redhat.com>
18268
18269 * gdb.server/solib-list.exp: No longer expect an interior stop in
18270 non-stop mode.
18271
18272 2015-08-20 Pedro Alves <palves@redhat.com>
18273
18274 * gdb.server/connect-stopped-target.c: New file.
18275 * gdb.server/connect-stopped-target.exp: New file.
18276
18277 2015-08-20 Pedro Alves <palves@redhat.com>
18278
18279 * gdb.dwarf2/comp-unit-lang.exp: New file.
18280 * gdb.dwarf2/comp-unit-lang.c: New file.
18281
18282 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18283
18284 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18285 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18286
18287 2015-08-19 Kevin Buettner <kevinb@redhat.com>
18288
18289 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18290 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18291
18292 2015-08-18 Doug Evans <dje@google.com>
18293 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18294
18295 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18296 skip_python_tests. New arg prompt_regexp.
18297 (skip_python_tests): New function.
18298 * lib/mi-support.exp (mi_skip_python_tests): New function.
18299 * gdb.python/py-mi-objfile-gdb.py: New file.
18300 * gdb.python/py-mi-objfile.c: New file.
18301 * gdb.python/py-mi-objfile.exp: New file.
18302
18303 2015-08-17 Keith Seitz <keiths@redhat.com>
18304
18305 * gdb.linespec/explicit.exp: Move strace test from here ...
18306 * gdb.trace/strace.exp: ... to here.
18307
18308 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18309
18310 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18311 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18312
18313 2015-08-14 Doug Evans <xdje42@gmail.com>
18314
18315 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18316 inferior before selecting a new file.
18317
18318 2015-08-14 Doug Evans <xdje42@gmail.com>
18319
18320 * gdb.mi/mi-disassemble.exp: Update.
18321 * gdb.base/disasm-optim.S: New file.
18322 * gdb.base/disasm-optim.c: New file.
18323 * gdb.base/disasm-optim.h: New file.
18324 * gdb.base/disasm-optim.exp: New file.
18325
18326 2015-08-14 Keith Seitz <keiths@redhat.com>
18327
18328 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18329 "evaluated-by".
18330
18331 2015-08-13 Joel Brobecker <brobecker@adacore.com>
18332
18333 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18334
18335 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18336
18337 * gdb.ada/fun_renaming.exp: New testcase.
18338 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18339 * gdb.ada/fun_renaming/pack.adb: New file.
18340 * gdb.ada/fun_renaming/pack.ads: New file.
18341
18342 2015-08-12 Keith Seitz <keiths@redhat.com>
18343
18344 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18345 gdb_get_line_number.
18346
18347 2015-08-12 Joel Brobecker <brobecker@adacore.com>
18348
18349 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18350 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18351 gdb.base/dso2dso.exp: New files.
18352
18353 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18354 Pedro Alves <palves@redhat.com>
18355 Keith Seitz <keiths@redhat.com>
18356
18357 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18358 GDBFLAGS.
18359
18360 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18361
18362 * gdb.base/gdbhistsize-history.exp
18363 (test_histsize_history_setting): Use save_vars.
18364 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18365 Use save_vars.
18366 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18367 * gdb.base/readline.exp: Use save_vars.
18368
18369 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18370
18371 * lib/gdb.exp (save_vars): New proc.
18372
18373 2015-08-11 Keith Seitz <keiths@redhat.com>
18374
18375 * gdb.base/help.exp: Update help_breakpoint_text.
18376
18377 2015-08-11 Keith Seitz <keiths@redhat.com>
18378
18379 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18380 (at toplevel): Call test_explicit_breakpoints.
18381 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18382 breakpoints.
18383 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18384 breakpoint conditions, "-cond".
18385
18386 2015-08-11 Keith Seitz <keiths@redhat.com>
18387
18388 * gdb.linespec/3explicit.c: New file.
18389 * gdb.linespec/cpexplicit.cc: New file.
18390 * gdb.linespec/cpexplicit.exp: New file.
18391 * gdb.linespec/explicit.c: New file.
18392 * gdb.linespec/explicit.exp: New file.
18393 * gdb.linespec/explicit2.c: New file.
18394 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18395 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18396 before using in the matching pattern.
18397 Clarify that `prefix' is a regular expression.
18398
18399 2015-08-11 Keith Seitz <keiths@redhat.com>
18400
18401 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18402 test.
18403 Add tests for missing ",FMT" and ",".
18404
18405 2015-08-10 Doug Evans <dje@google.com>
18406 Keith Seitz <keiths@redhat.com>
18407
18408 PR gdb/17960
18409 * gdb.base/completion.exp: Add location completer tests.
18410
18411 2015-08-07 Pedro Alves <palves@redhat.com>
18412
18413 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18414 tests here.
18415 (top level): Run do_test with and without displaced stepping.
18416
18417 2015-08-07 Pedro Alves <palves@redhat.com>
18418
18419 * gdb.base/valgrind-disp-step.c: New file.
18420 * gdb.base/valgrind-disp-step.exp: New file.
18421
18422 2015-08-07 Pedro Alves <palves@redhat.com>
18423
18424 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18425 Delete function.
18426 (main): Add alarm. Run an infinite loop instead of calling
18427 wait_threads.
18428 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18429 comment.
18430 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18431 Delete function.
18432 (main): Add alarm. Run an infinite loop instead of calling
18433 wait_threads.
18434 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18435 comment.
18436
18437 2015-08-07 Pedro Alves <palves@redhat.com>
18438
18439 * gdb.base/checkpoint-ns.exp: New file.
18440 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18441 standard_testfile.
18442
18443 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18444
18445 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18446 * gdb.btrace/instruction_history.exp: Update.
18447 * gdb.btrace/tsx.exp: New.
18448 * gdb.btrace/tsx.c: New.
18449
18450 2015-08-06 Pedro Alves <palves@redhat.com>
18451
18452 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18453 increase timeout.
18454 * gdb.reverse/until-precsave.exp: Bump timeouts.
18455
18456 2015-08-06 Pedro Alves <palves@redhat.com>
18457
18458 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18459
18460 2015-08-06 Pedro Alves <palves@redhat.com>
18461
18462 PR gdb/18749
18463 * gdb.threads/process-dies-while-handling-bp.c: New file.
18464 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18465
18466 2015-08-06 Pedro Alves <palves@redhat.com>
18467
18468 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18469 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18470
18471 2015-08-05 Pedro Alves <palves@redhat.com>
18472
18473 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18474 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18475
18476 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18477
18478 * gdb.base/bp-permanent.exp: Report test as unsupported if
18479 the target cannot stop at the permanent breakpoint.
18480
18481 2015-08-03 Doug Evans <dje@google.com>
18482
18483 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18484 10000.
18485
18486 2015-08-03 Doug Evans <dje@google.com>
18487
18488 * Makefile.in (workers/%.worker, build-perf): New rule.
18489 (GDB_PERFTEST_MODE): New variable.
18490 (check-perf): Use it.
18491 (clean): Clean up gdb.perf parallel build subdirs.
18492 * lib/build-piece.exp: New file.
18493 * lib/gdb.exp (make_gdb_parallel_path): New function
18494 (standard_output_file, standard_temp_file): Call it.
18495 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18496 of $GDB_PARALLEL.
18497 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18498
18499 2015-08-03 Doug Evans <dje@google.com>
18500
18501 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
18502 (LOG_FILE_NAME): New global.
18503 (TextReporter.__init__): Initialize self.txt_sum.
18504 (TextReporter.report): Add support for multiple data-points.
18505 Move report to perftest.sum, put raw data in perftest.log.
18506 (TextReporter.start): Open sum and log files.
18507 (TextReporter.end): Close sum and log files.
18508 * gdb.perf/lib/perftest/testresult.py
18509 (SingleStatisticTestResult.record): Handle multiple data-points.
18510
18511 2015-07-31 Pedro Alves <palves@redhat.com>
18512
18513 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18514 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18515 kill_wait_spawned_process instead of explicit "kill -9".
18516 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18517 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18518 kill_wait_spawned_process.
18519 * gdb.base/attach-twice.exp: Likewise.
18520 * gdb.base/attach.exp: Likewise.
18521 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18522 gdb_test_multiple.
18523 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18524 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18525 kill_wait_spawned_process.
18526 * gdb.base/valgrind-infcall.exp: Likewise.
18527 * gdb.multi/multi-attach.exp: Likewise.
18528 * gdb.python/py-prompt.exp: Likewise.
18529 * gdb.python/py-sync-interp.exp: Likewise.
18530 * gdb.server/ext-attach.exp: Likewise.
18531 * gdb.threads/attach-into-signal.exp (corefunc): Use
18532 spawn_wait_for_attach, spawn_id_get_pid and
18533 kill_wait_spawned_process.
18534 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18535 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18536 spawn_id_get_pid and kill_wait_spawned_process.
18537 * gdb.threads/attach-stopped.exp (corefunc): Use
18538 spawn_wait_for_attach, spawn_id_get_pid and
18539 kill_wait_spawned_process.
18540 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18541 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18542 kill_wait_spawned_process instead of explicit "kill -9".
18543 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18544 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18545 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18546 processes. Don't map cygwin/windows pids here. Now returns a
18547 spawn id list.
18548
18549 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18550
18551 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18552 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18553 correct patch.
18554
18555 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18556
18557 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18558
18559 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18560
18561 Reapply:
18562 2014-05-21 Mark Wielaard <mjw@redhat.com>
18563
18564 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18565
18566 2015-07-30 Pedro Alves <palves@redhat.com>
18567
18568 * linux-low.c (handle_extended_wait): Set the child's last
18569 reported status to TARGET_WAITKIND_STOPPED.
18570
18571 2015-07-30 Pedro Alves <palves@redhat.com>
18572
18573 PR threads/18600
18574 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18575 only shows inferior 1.
18576
18577 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18578 Pedro Alves <palves@redhat.com>
18579
18580 PR threads/18600
18581 * gdb.threads/fork-plus-threads.c: New file.
18582 * gdb.threads/fork-plus-threads.exp: New file.
18583
18584 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18585
18586 * gdb.base/batch-preserve-term-settings.exp
18587 (test_terminal_settings_preserved_after_cli_exit): Use
18588 send_quit_command.
18589
18590 2015-07-29 Pedro Alves <palves@redhat.com>
18591 Don Breazeal <donb@codesourcery.com>
18592
18593 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18594 output from both inferior_spawn_id and gdb_spawn_id.
18595
18596 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18597
18598 * gdb.threads/attach-into-signal.exp (corefunc): Use
18599 with_test_prefix on nested loops, uniquefying the test messages.
18600
18601 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18602
18603 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18604 commit.
18605
18606 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18607
18608 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18609 New proc.
18610 (test_terminal_settings_preserved_after_sigterm): New test.
18611
18612 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18613
18614 * gdb.base/batch-preserve-term-settings.exp
18615 (test_terminal_settings_preserved_after_cli_exit): New test.
18616
18617 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18618
18619 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18620 manipulation of saved_gdbflags.
18621 (test_terminal_settings_preserved): Remove global declaration of
18622 the unused variable pagination_prompt. Remove manipulation of
18623 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18624 GDBFLAGS.
18625
18626 2015-07-29 Pedro Alves <palves@redhat.com>
18627
18628 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18629
18630 2015-07-29 Pedro Alves <palves@redhat.com>
18631
18632 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18633 at the top.
18634
18635 2015-07-29 Pedro Alves <palves@redhat.com>
18636
18637 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18638 (main): Call gdb_unbuffer_output.
18639 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18640 (main): Call gdb_unbuffer_output.
18641 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18642 (main): Call gdb_unbuffer_output.
18643 * gdb.base/call-strs.exp: Adjust to step over the
18644 gdb_unbuffer_output call.
18645 * gdb.base/catch-gdb-caused-signals.c: Include
18646 "../lib/unbuffer_output.c".
18647 (main): Call gdb_unbuffer_output.
18648 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18649 (main): Call gdb_unbuffer_output.
18650 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18651 (main): Call gdb_unbuffer_output.
18652 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18653 (main): Call gdb_unbuffer_output.
18654 * gdb.base/shlib-call.exp: Adjust to step over the
18655 gdb_unbuffer_output call.
18656 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18657 (main): Call gdb_unbuffer_output.
18658 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18659 (main): Call gdb_unbuffer_output.
18660 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18661 (main): Rename to ...
18662 (test): ... this.
18663 (main): Reimplement.
18664 * gdb.base/varargs.exp: Run to test instead of to main.
18665 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18666 (main): Call gdb_unbuffer_output.
18667
18668 2015-07-29 Pedro Alves <palves@redhat.com>
18669
18670 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18671 factore out from mi_continue_dprintf. For call-style dprintfs,
18672 expect dprintf output out of $inferior_spawn_id.
18673 (mi_continue_dprintf): Use mi_expect_dprintf.
18674 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18675 (main): Call gdb_unbuffer_output.
18676
18677 2015-07-29 Pedro Alves <palves@redhat.com>
18678
18679 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18680 (default_mi_gdb_start): Set inferior_spawn_id instead of
18681 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18682 gdb_spawn_id.
18683 (mi_gdb_test): Always expect inferior output from both
18684 $inferior_spawn_id and $gdb_spawn_id.
18685
18686 2015-07-29 Pedro Alves <palves@redhat.com>
18687
18688 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18689 send_inferior and $inferior_spawn_id.
18690
18691 2015-07-29 Pedro Alves <palves@redhat.com>
18692
18693 * gdb.gdb/complaints.exp (test_initial_complaints)
18694 (test_serial_complaints, test_short_complaints): Use
18695 gdb_test_stdio.
18696 (test_empty_complaint): Handle $inferior_spawn_id !=
18697 $gdb_spawn_id.
18698
18699 2015-07-29 Pedro Alves <palves@redhat.com>
18700
18701 * gdb.base/varargs.exp: Use gdb_test_stdio.
18702
18703 2015-07-29 Pedro Alves <palves@redhat.com>
18704
18705 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18706
18707 2015-07-29 Pedro Alves <palves@redhat.com>
18708
18709 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18710
18711 2015-07-29 Pedro Alves <palves@redhat.com>
18712
18713 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18714 parameter into two new parameters, "inf_result" and "gdb_result".
18715 Expect inferior output and gdb output from $inferior_spawn_id and
18716 $gdb_spawn_id, respectively. Adjust all callers.
18717
18718 2015-07-29 Pedro Alves <palves@redhat.com>
18719
18720 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18721 of gdb_test_sequence.
18722
18723 2015-07-29 Pedro Alves <palves@redhat.com>
18724
18725 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18726 (saw_spurious_output): Expect inferior output from
18727 $inferior_spawn_id. Use gdb_test_stdio.
18728
18729 2015-07-29 Pedro Alves <palves@redhat.com>
18730
18731 * gdb.base/dprintf.exp: Use standard_testfile. Change
18732 prepare_for_testing call.
18733 (srcfile): Don't set.
18734 (restart): New procedure.
18735 (test_dprintf): New procecure, use to continue over dprintfs.
18736 (test_call, test_agent): New procedures, tests moved here.
18737 Restart gdb and recreate dprintfs. Adjust expected output.
18738
18739 2015-07-29 Pedro Alves <palves@redhat.com>
18740
18741 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18742
18743 2015-07-29 Pedro Alves <palves@redhat.com>
18744
18745 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18746
18747 2015-07-29 Pedro Alves <palves@redhat.com>
18748
18749 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18750 gdb_test_stdio.
18751
18752 2015-07-29 Pedro Alves <palves@redhat.com>
18753
18754 * lib/gdb.exp (gdb_test_stdio): New procedure.
18755
18756 2015-07-29 Pedro Alves <palves@redhat.com>
18757
18758 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18759
18760 2015-07-29 Pedro Alves <palves@redhat.com>
18761
18762 * gdb.base/call-signal-resume.exp: Remove check for
18763 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18764 * gdb.base/unwindonsignal.exp: Likewise.
18765 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18766 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18767
18768 2015-07-29 Pedro Alves <palves@redhat.com>
18769
18770 * gdb.base/siginfo-addr.c (pass): New function.
18771 (handler): Call it iff si_addr is correct.
18772 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18773 Set a breakpoint at "pass" and continue to it.
18774
18775 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18776
18777 * gdb.python/py-objfile.exp: Make some tests have unique names.
18778 * gdb.python/py-pp-registration.exp: Likewise.
18779
18780 2015-07-28 Pedro Alves <palves@redhat.com>
18781
18782 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18783
18784 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18785
18786 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18787
18788 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18789
18790 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18791
18792 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18793
18794 * gdb.base/gdb-sigterm-2.exp: New test.
18795
18796 2015-07-25 Doug Evans <xdje42@gmail.com>
18797
18798 Revert:
18799 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18800 (workers/%.worker, build-perf): New rule.
18801 (GDB_PERFTEST_MODE): New variable.
18802 (check-perf): Use it.
18803 (clean): Clean up gdb.perf parallel build subdirs.
18804 * lib/build-piece.exp: New file.
18805 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18806 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18807 name.
18808 (standard_temp_file): Ditto.
18809 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18810 of $GDB_PARALLEL.
18811
18812 2015-07-24 Doug Evans <dje@google.com>
18813
18814 * gdb.perf/lib/perftest/utils.py: New file.
18815 * gdb.perf/gm-hello.cc: New file.
18816 * gdb.perf/gm-pervasive-typedef.cc: New file.
18817 * gdb.perf/gm-pervasive-typedef.h: New file.
18818 * gdb.perf/gm-std.cc: New file.
18819 * gdb.perf/gm-std.h: New file.
18820 * gdb.perf/gm-use-cerr.cc: New file.
18821 * gdb.perf/gm-utils.h: New file.
18822 * gdb.perf/gmonster-null-lookup.py: New file.
18823 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18824 * gdb.perf/gmonster-print-cerr.py: New file.
18825 * gdb.perf/gmonster-ptype-string.py: New file.
18826 * gdb.perf/gmonster-runto-main.py: New file.
18827 * gdb.perf/gmonster-select-file.py: New file.
18828 * gdb.perf/gmonster1-null-lookup.exp: New file.
18829 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18830 * gdb.perf/gmonster1-print-cerr.exp: New file.
18831 * gdb.perf/gmonster1-ptype-string.exp: New file.
18832 * gdb.perf/gmonster1-runto-main.exp: New file.
18833 * gdb.perf/gmonster1-select-file.exp: New file.
18834 * gdb.perf/gmonster1.cc: New file.
18835 * gdb.perf/gmonster1.exp: New file.
18836 * gdb.perf/gmonster2-null-lookup.exp: New file.
18837 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18838 * gdb.perf/gmonster2-print-cerr.exp: New file.
18839 * gdb.perf/gmonster2-ptype-string.exp: New file.
18840 * gdb.perf/gmonster2-runto-main.exp: New file.
18841 * gdb.perf/gmonster2-select-file.exp: New file.
18842 * gdb.perf/gmonster2.cc: New file.
18843 * gdb.perf/gmonster2.exp: New file.
18844
18845 2015-07-24 Doug Evans <dje@google.com>
18846
18847 * gdb.perf/README: New file.
18848 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18849 * lib/gen-perf-test.exp: New file.
18850
18851 2015-07-24 Doug Evans <dje@google.com>
18852
18853 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18854 (PerfTest::startup): New function.
18855 (PerfTest::run): Return result of calling body.
18856 (PerfTest::assemble): Rewrite.
18857 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18858 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18859 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18860 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18861 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18862
18863 2015-07-24 Doug Evans <dje@google.com>
18864
18865 * lib/gdb.exp (clean_restart): Make executable optional.
18866
18867 2015-07-24 Doug Evans <dje@google.com>
18868
18869 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18870 compiler_info references.
18871 * gdb.cp/temargs.exp: Ditto.
18872 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18873 (get_compiler_info): Early exit if already computed. Set compiler_info
18874 to "unknown" if there was a problem.
18875 (test_compiler_info): Add function comment. Call get_compiler_info.
18876
18877 2015-07-24 Doug Evans <dje@google.com>
18878
18879 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18880 (workers/%.worker, build-perf): New rule.
18881 (GDB_PERFTEST_MODE): New variable.
18882 (check-perf): Use it.
18883 (clean): Clean up gdb.perf parallel build subdirs.
18884 * lib/build-piece.exp: New file.
18885 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18886 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18887 name.
18888 (standard_temp_file): Ditto.
18889 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18890 of $GDB_PARALLEL.
18891
18892 2015-07-24 Doug Evans <dje@google.com>
18893
18894 * lib/future.exp (gdb_default_target_compile): New option
18895 "early_flags".
18896 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18897 --as-needed.
18898
18899 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18900
18901 * gdb.base/catch-syscall.exp: Call gdb_exit before
18902 gdb_skip_xml_test.
18903
18904 2015-07-24 Pedro Alves <palves@redhat.com>
18905
18906 * gdb.python/py-events.exp: Accept output between the stop event
18907 and the prompt.
18908 * gdb.python/py-evsignal.exp: Likewise.
18909 * gdb.python/py-evthreads.exp: Likewise.
18910
18911 2015-07-24 Pedro Alves <palves@redhat.com>
18912
18913 PR gdb/18717
18914 * gdb.threads/non-ldr-exit.c: New file.
18915 * gdb.threads/non-ldr-exit.exp: New file.
18916
18917 2015-07-24 Yao Qi <yao.qi@linaro.org>
18918
18919 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18920 restarting process.
18921
18922 2015-07-24 Yao Qi <yao.qi@linaro.org>
18923
18924 * gdb.server/ext-restart.exp: New file.
18925
18926 2015-07-24 Yao Qi <yao.qi@linaro.org>
18927
18928 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18929 argument options.
18930 * gdb.server/ext-wrapper.exp: New file.
18931
18932 2015-07-23 Doug Evans <dje@google.com>
18933
18934 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18935 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18936
18937 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18938
18939 * gdb.ada/var_arr_typedef.exp: New testcase.
18940 * gdb.ada/var_arr_typedef/pack.adb: New file.
18941 * gdb.ada/var_arr_typedef/pack.ads: New file.
18942 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18943
18944 2015-07-20 Joel Brobecker <brobecker@adacore.com>
18945
18946 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18947
18948 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18949
18950 * gdb.arch/i386-biarch-core.exp: Replace istarget
18951 by "complete set gnutarget". Remove expectation for the "core-file"
18952 command.
18953
18954 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18955
18956 Revert the previous commit:
18957 Tests for validate symbol file using build-id.
18958
18959 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18960
18961 Tests for validate symbol file using build-id.
18962 * gdb.base/solib-mismatch-lib.c: New file.
18963 * gdb.base/solib-mismatch-libmod.c: New file.
18964 * gdb.base/solib-mismatch.c: New file.
18965 * gdb.base/solib-mismatch.exp: New file.
18966
18967 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18968
18969 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18970 nios2-*-linux*.
18971 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18972 * gdb.base/siginfo.exp: Likewise.
18973 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18974
18975 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18976
18977 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18978 Move it to ...
18979 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18980 ... here.
18981 * gdb.trace/range-stepping.exp: Check that the target supports
18982 range stepping.
18983
18984 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18985
18986 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18987
18988 2015-07-14 Pedro Alves <palves@redhat.com>
18989
18990 * gdb.base/killed-outside.exp: New file.
18991 * gdb.base/killed-outside.c: New file.
18992
18993 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18994
18995 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18996 (n at main): New.
18997 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18998
18999 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19000
19001 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19002 infcall tests instead of setting up for KFAIL.
19003
19004 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19005
19006 * gdb.btrace/record_goto-step.exp: New.
19007
19008 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19009
19010 PR compile/18484
19011 * gdb.compile/compile.c (struct struct_type): Add volatile to
19012 selffield's type.
19013 * gdb.compile/compile.exp
19014 (compile code struct_object.selffield = &struct_object): Skip further
19015 struct_object tests if this one xfails.
19016
19017 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
19018
19019 PR exp/18617
19020 * gdb.trace/ax.exp: Add test.
19021
19022 2015-07-07 Yao Qi <yao.qi@linaro.org>
19023
19024 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19025 instead of istarget "aarch64*-*-*".
19026 * gdb.arch/aarch64-fp.exp: Likewise.
19027 * gdb.base/float.exp: Likewise.
19028 * gdb.reverse/aarch64.exp: Likewise.
19029 * lib/gdb.exp (is_aarch64_target): New proc.
19030
19031 2015-07-07 Yao Qi <yao.qi@linaro.org>
19032
19033 * lib/gdb.exp (is_aarch32_target): New proc.
19034 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19035 instead of "istarget "arm*-*-*"".
19036 * gdb.arch/arm-disp-step.exp: Likewise.
19037 * gdb.arch/thumb-bx-pc.exp: Likewise.
19038 * gdb.arch/thumb-prologue.exp: Likewise.
19039 * gdb.arch/thumb-singlestep.exp: Likewise.
19040 * gdb.base/disp-step-syscall.exp: Likewise.
19041 * gdb.base/float.exp: Likewise.
19042
19043 2015-07-07 Yao Qi <yao.qi@linaro.org>
19044
19045 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19046 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19047
19048 2015-07-07 Yao Qi <yao.qi@linaro.org>
19049
19050 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19051 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19052 if it exists.
19053 * gdb.multi/multi-arch.exp: Likewise.
19054
19055 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19056
19057 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19058 print.
19059
19060 2015-07-07 Yao Qi <yao.qi@linaro.org>
19061
19062 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19063
19064 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19065
19066 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19067 '[' and ']' characters.
19068
19069 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19070
19071 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19072
19073 2015-06-29 Pedro Alves <palves@redhat.com>
19074
19075 PR threads/18127
19076 * gdb.threads/hand-call-new-thread.c: New file.
19077 * gdb.threads/hand-call-new-thread.c: New file.
19078
19079 2015-06-26 Keith Seitz <keiths@redhat.com>
19080 Doug Evans <dje@google.com>
19081
19082 PR 16253
19083 * gdb.cp/var-tag-2.cc: New file.
19084 * gdb.cp/var-tag-3.cc: New file.
19085 * gdb.cp/var-tag-4.cc: New file.
19086 * gdb.cp/var-tag.cc: New file.
19087 * gdb.cp/var-tag.exp: New file.
19088
19089 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19090
19091 * gdb.base/history-duplicates.exp: New test.
19092
19093 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19094
19095 * gdb.base/completion.exp: Test the completion of the "focus"
19096 command.
19097
19098 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19099
19100 * gdb.arch/amd64-prologue-skip.S: New file.
19101 * gdb.arch/amd64-prologue-skip.exp: New file.
19102
19103 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19104
19105 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19106 is_address_zero_readable check.
19107
19108 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19109
19110 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19111 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19112
19113 2015-06-24 Yao Qi <yao.qi@linaro.org>
19114
19115 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19116 linux targets.
19117
19118 2015-06-24 Yao Qi <yao.qi@linaro.org>
19119
19120 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19121 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19122 * gdb.base/siginfo-thread.exp: Likewise.
19123
19124 2015-06-22 Yao Qi <yao.qi@linaro.org>
19125
19126 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19127
19128 2015-06-22 Yao Qi <yao.qi@linaro.org>
19129
19130 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19131 aarch64*-*-*.
19132 (skip_hw_watchpoint_tests): Likewise.
19133
19134 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19135
19136 * gdb.base/gdbinit-history.exp: Test the interaction between
19137 setting GDBHISTSIZE and setting the history size via .gdbinit.
19138
19139 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19140
19141 PR gdb/16999
19142 * gdb.base/gdbhistsize-history.exp: New test.
19143
19144 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19145
19146 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19147 with GDBHISTSIZE.
19148 * gdb.base/readline.exp: Likewise.
19149
19150 2015-06-17 Yao Qi <yao.qi@linaro.org>
19151
19152 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19153 line.
19154
19155 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19156
19157 * gdb.base/gdbinit-history.exp: Add test case to check that
19158 an unlimited history file does not get truncated on exit.
19159
19160 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19161
19162 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19163 (VECTOR): New macro. Use it...
19164 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19165 ...for these typedefs.
19166 (int8, char1, int1, double1): New typedefs.
19167 (struct just_int2, struct two_int2): New structures.
19168 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19169 (add_structvecs, add_singlevecs): New functions.
19170 (main): Call add_some_intvecs twice.
19171 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19172 the compile and exit upon failure. Try compiling for the "native"
19173 architecture. Test inferior function calls with vector arguments
19174 and vector return value handling with "finish" and "return".
19175
19176 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19177
19178 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19179 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19180 PE file.
19181 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19182
19183 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19184
19185 PR breakpoints/16465
19186 * gdb.mi/mi-dprintf-pending.c: New file.
19187 * gdb.mi/mi-dprintf-pending.exp: New test.
19188 * gdb.mi/mi-dprintf-pendshr.c: New file.
19189
19190 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19191 Mircea Gherzan <mircea.gherzan@intel.com>
19192
19193 * gdb.arch/i386-mpx-map.c: New file.
19194 * gdb.arch/i386-mpx-map.exp: New File.
19195
19196 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19197
19198 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19199 * gdb.arch/i386-mpx.exp: Indentation fixed.
19200
19201 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19202
19203 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19204 function and improved indentation.
19205 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19206 gdb_test_multiple. Added additional tests to skip the test.
19207
19208 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19209
19210 * gdb.arch/i386-avx512.c: Change path in include file.
19211 * gdb.arch/i386-avx512.exp: Change include dir path
19212 compilation flag.
19213 * gdb.arch/i386-mpx.c: Change path in include file.
19214 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19215 flag.
19216
19217 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19218
19219 * gdb.compile/compile-print.exp (compile print *vararray@3)
19220 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19221
19222 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19223
19224 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19225 (do not keep jit in memory): ... this.
19226 (expect 5): Change it to ...
19227 (expect no 5): ... this.
19228
19229 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19230
19231 PR gdb/15564
19232 * gdb.mi/mi-detach.exp: New file.
19233
19234 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19235
19236 PR symtab/18392
19237 * gdb.arch/amd64-tailcall-self.S: New file.
19238 * gdb.arch/amd64-tailcall-self.c: New file.
19239 * gdb.arch/amd64-tailcall-self.exp: New file.
19240
19241 2015-05-28 Don Breazeal <donb@codesourcery.com>
19242
19243 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19244 tests for remote targets by checking is_target_gdbserver.
19245
19246 2015-05-27 Doug Evans <dje@google.com>
19247
19248 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19249 * gdb.dwarf2/opaque-type-lookup.c: New file.
19250 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19251
19252 2015-05-26 Doug Evans <dje@google.com>
19253
19254 * gdb.cp/iostream.cc: New file.
19255 * gdb.cp/iostream.exp: New file.
19256
19257 2015-05-26 Doug Evans <dje@google.com>
19258
19259 * gdb.dwarf2/dw2-op-call.exp: Update.
19260 * gdb.dwarf2/dw4-sig-types.exp: Update.
19261 * gdb.dwarf2/implptr.exp: Update.
19262 * gdb.mi/mi-cmd-param-changed.exp: Update.
19263
19264 2015-05-26 Doug Evans <dje@google.com>
19265
19266 * gdb.python/py-lazy-string.c: New file.
19267 * gdb.python/py-lazy-string.exp: New file.
19268 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19269 (main): Update. Add estring3.
19270 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19271 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19272
19273 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
19274 Yao Qi <yao.qi@linaro.org>
19275
19276 * gdb.reverse/aarch64.c: New.
19277 * gdb.reverse/aarch64.exp: New.
19278
19279 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
19280
19281 * lib/gdb.exp (supports_process_record): Return true for
19282 aarch64*-linux*.
19283 (supports_reverse): Likewise.
19284
19285 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19286
19287 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19288 Use with_test_prefix.
19289
19290 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19291
19292 * gdb.base/completion.exp: Add test for completion of layout
19293 names.
19294
19295 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19296
19297 * lib/gdb.exp (skip_tui_tests): New proc.
19298 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19299
19300 2015-05-19 Pedro Alves <palves@redhat.com>
19301
19302 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19303 Save the whole env array instead of just HOME. Unset HISTSIZE in
19304 the environment while testing. Restore whole environment
19305 afterwards.
19306
19307 2015-05-16 Doug Evans <xdje42@gmail.com>
19308
19309 * gdb.guile/scm-ports.c: New file.
19310 * gdb.guile/scm-ports.exp: Add memory port tests.
19311
19312 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19313
19314 * gdb.compile/compile-print.c: New file.
19315 * gdb.compile/compile-print.exp: New file.
19316
19317 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19318
19319 * gdb.compile/compile-ops.exp: Cast param to void.
19320 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19321 (compile code struct_object.selffield = &struct_object): Add xfail.
19322
19323 2015-05-15 Joel Brobecker <brobecker@adacore.com>
19324
19325 * gdb.ada/arr_enum_with_gap: New testcase.
19326
19327 2015-05-15 Joel Brobecker <brobecker@adacore.com>
19328
19329 * gdb.ada/byte_packed_arr: New testcase.
19330
19331 2015-05-15 Joel Brobecker <brobecker@adacore.com>
19332
19333 * gdb.ada/pckd_neg: New testcase.
19334
19335 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19336
19337 PR gdb/17820
19338 * gdb.base/gdbinit-history.exp: New test.
19339 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19340 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19341
19342 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19343
19344 * gdb.python/py-xmethods.cc: Enhance test case.
19345 * gdb.python/py-xmethods.exp: New tests.
19346 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19347 function.
19348 (B_indexoper): Likewise.
19349 (global_dm_list) : Add new xmethod worker functions.
19350
19351 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19352
19353 * gdb.base/coredump-filter.exp: Correctly unset
19354 "coredump_var_addr" array.
19355
19356 2015-05-08 Pedro Alves <palves@redhat.com>
19357
19358 * gdb.server/non-existing-program.exp: Unset spawn_id.
19359
19360 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19361
19362 PR python/18291
19363 * gdb.python/py-xmethods.exp: Add tests.
19364
19365 2015-05-08 Yao Qi <yao.qi@linaro.org>
19366
19367 PR gdb/18208
19368 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19369 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19370 function set_coredump_filter, and remove remote_exec call.
19371 Remove argument ipid. Callers update.
19372 (top level): Don't get inferior's PID.
19373
19374 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19375
19376 * gdb.base/watch_thread_num.exp: Skip test on targets without
19377 access watchpoints.
19378
19379 2015-05-06 Pedro Alves <palves@redhat.com>
19380
19381 PR server/18081
19382 * gdb.server/non-existing-program.exp: New file.
19383
19384 2015-05-05 Joel Brobecker <brobecker@adacore.com>
19385
19386 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19387
19388 2015-05-05 Joel Brobecker <brobecker@adacore.com>
19389
19390 * gdb.ada/out_of_line_in_inlined: New testcase.
19391
19392 2015-05-05 Joel Brobecker <brobecker@adacore.com>
19393
19394 * gdb.ada/var_rec_arr: New testcase.
19395
19396 2015-04-30 Yao Qi <yao.qi@linaro.org>
19397
19398 * gdb.base/break-idempotent.exp: If
19399 skip_hw_watchpoint_multi_tests returns true, skip the tests
19400 on "rwatch" and "awatch".
19401
19402 2015-04-30 Yao Qi <yao.qi@linaro.org>
19403
19404 * gdb.base/relativedebug.exp: Invoke gdb command
19405 "info sharedlibrary", and if libc.so doesn't have debug info,
19406 skip the test.
19407
19408 2015-04-29 Doug Evans <dje@google.com>
19409
19410 * gdb.python/py-xmethods.exp: Add ptype tests.
19411 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19412 get_result_type method.
19413
19414 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
19415
19416 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19417 the target does not support hardware watchpoints.
19418
19419 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
19420
19421 * gdb.base/break-always.exp: Abort testing if writing to memory
19422 causes an error.
19423
19424 2015-04-28 Doug Evans <dje@google.com>
19425
19426 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19427 * gdb.python/py-pp-registration.exp: ... here. New file.
19428 * gdb.python/py-pp-registration.c: New file.
19429 * gdb.python/py-pp-registration.py: New file.
19430
19431 2015-04-28 Doug Evans <dje@google.com>
19432
19433 * gdb.python/py-bad-printers.c: New file.
19434 * gdb.python/py-bad-printers.py: New file.
19435 * gdb.python/py-bad-printers.exp: New file.
19436
19437 2015-04-28 Sasha Smundak <asmundak@google.com>
19438
19439 * gdb.python/py-type.exp: New test.
19440
19441 2015-04-28 Andy Wingo <wingo@igalia.com>
19442
19443 * gdb.python/py-parameter.exp:
19444 * gdb.guile/scm-parameter.exp: Escape the path that we are
19445 matching against, as it might contain characters that are special
19446 to regular expressions.
19447
19448 2015-04-27 Joel Brobecker <brobecker@adacore.com>
19449
19450 * gdb.ada/rec_comp: New testcase.
19451
19452 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19453
19454 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19455 before using it.
19456
19457 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19458
19459 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19460 new tests for verilog output.
19461
19462 2015-04-24 Yao Qi <yao.qi@linaro.org>
19463
19464 * boards/remote-gdbserver-on-localhost.exp: New file.
19465
19466 2015-04-23 Pedro Alves <palves@redhat.com>
19467
19468 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19469 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19470 "end of file", remove $inferior_spawn_id from the indirect list.
19471
19472 2015-04-23 Pedro Alves <palves@redhat.com>
19473
19474 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19475
19476 2015-04-23 Pedro Alves <palves@redhat.com>
19477
19478 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19479 on $any_spawn_id instead of only on $gdb_spawn_id.
19480
19481 2015-04-21 Pierre Muller <muller@sourceware.org>
19482
19483 PR pascal/17815
19484 * lib/pascal.exp (gpc_compile): Add new option "class".
19485 (fpc_compile): Likewise.
19486 * gdb.pascal/case-insensitive-symbols.pas: New file.
19487 * gdb.pascal/case-insensitive-symbols.exp: New file.
19488
19489 2015-04-20 Gary Benson <gbenson@redhat.com>
19490
19491 * gdb.base/attach.exp: Fix three extended remote failures.
19492
19493 2015-04-17 Gary Benson <gbenson@redhat.com>
19494
19495 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19496 the main executable over the remote protocol.
19497
19498 2015-04-16 Pedro Alves <palves@redhat.com>
19499
19500 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19501 a new gdbserver if gdbserver_reconnect_p is set.
19502
19503 2015-04-16 Pedro Alves <palves@redhat.com>
19504
19505 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19506 is set, don't exit gdbserver.
19507
19508 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19509
19510 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19511 appropriate .insn, such that an older assembler can be used.
19512 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19513 the z/Architecture instruction set on 31-bit targets as well.
19514
19515 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19516
19517 * gdb.go/handcall.exp: Remove all logic related to the first
19518 breakpoint and rely on go_runto_main instead.
19519 * gdb.go/strings.exp: Likewise.
19520 * gdb.go/unsafe.exp: Likewise.
19521 * gdb.go/hello.exp: Likewise. Also rename the remaining
19522 breakpoint marker to "breakpoint 1".
19523 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19524 * gdb.go/strings.go: Likewise.
19525 * gdb.go/unsafe.go: Likewise.
19526 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19527 "set breakpoint 2 here" and rename the remaining breakpoint marker
19528 to "breakpoint 1".
19529
19530 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19531
19532 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19533 if itertools.imap is not present.
19534 * gdb.python/py-objfile.exp: Add parentheses.
19535 * gdb.python/py-type.exp: Same.
19536 * gdb.python/py-unwind-maint.py: Same.
19537
19538 2015-04-15 Yao Qi <yao.qi@linaro.org>
19539
19540 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19541 of ":$ptr_size" and set its form explicitly.
19542
19543 2015-04-15 Pedro Alves <palves@redhat.com>
19544 Yao Qi <yao.qi@linaro.org>
19545
19546 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19547 timeout by factor of 4.
19548 (test_regular_watch): Likewise.
19549 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19550 * gdb.reverse/sigall-reverse.exp: Likewise.
19551 * gdb.reverse/until-precsave.exp: Likewise.
19552 * lib/gdb.exp (with_timeout_factor): New proc.
19553 (gdb_expect): Move some code to ...
19554 (get_largest_timeout): ... here. New procedure.
19555
19556 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
19557
19558 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19559
19560 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
19561
19562 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19563 to write to the .text section.
19564
19565 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
19566
19567 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19568 Handle the case of targets that do not provide PID information.
19569
19570 2015-04-13 Yao Qi <yao.qi@linaro.org>
19571
19572 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19573 and use expect instead of gdb_expect.
19574
19575 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19576
19577 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19578 "coredump_var_addr" to avoid naming conflict with other testcases.
19579
19580 2015-04-10 Pedro Alves <palves@redhat.com>
19581
19582 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19583 gdb_test_sequence and gdb_assert.
19584
19585 2015-04-10 Pedro Alves <palves@redhat.com>
19586
19587 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19588 test messages that don't include the breakpoint address.
19589
19590 2015-04-10 Yao Qi <yao.qi@linaro.org>
19591
19592 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19593 false for some offset and width combinations which aren't
19594 supported by linux kernel.
19595
19596 2015-04-10 Pedro Alves <palves@redhat.com>
19597
19598 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19599 procedure, factored out from ...
19600 (top level): ... here. Add "set displaced-stepping" testing axis.
19601 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19602 parameter "displaced". Use it.
19603 (top level): Use foreach and add "set displaced-stepping" testing
19604 axis.
19605
19606 2015-04-10 Pedro Alves <palves@redhat.com>
19607
19608 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19609 Remove comment.
19610 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19611 both the address of the instruction that triggers the watchpoint
19612 and the address of the instruction immediately after, and use
19613 those addresses for the test. Fix comment.
19614
19615 2015-04-10 Pedro Alves <palves@redhat.com>
19616
19617 * gdb.base/sigstep.exp (breakpoint_to_handler)
19618 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19619 Test "backtrace" in handler.
19620 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19621 (top level): Add new "displaced" test axis to
19622 breakpoint_to_handler, breakpoint_to_handler_entry and
19623 breakpoint_over_handler.
19624
19625 2015-04-10 Pedro Alves <palves@redhat.com>
19626
19627 PR gdb/18216
19628 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19629
19630 2015-04-10 Yao Qi <yao.qi@linaro.org>
19631
19632 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19633 (test_add_rn_pc): New function.
19634 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19635 (top level): Invoke test_add_rn_pc.
19636
19637 2015-04-10 Pedro Alves <palves@redhat.com>
19638
19639 PR gdb/13858
19640 * gdb.base/step-over-no-symbols.exp: New file.
19641
19642 2015-04-09 Andy Wingo <wingo@igalia.com>
19643
19644 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19645 after the Python tests.
19646
19647 2015-04-08 Keith Seitz <keiths@redhat.com>
19648
19649 PR python/16699
19650 * gdb.python/py-completion.exp: New tests for completion.
19651 * gdb.python/py-completion.py (CompleteLimit1): New class.
19652 (CompleteLimit2): Likewise.
19653 (CompleteLimit3): Likewise.
19654 (CompleteLimit4): Likewise.
19655 (CompleteLimit5): Likewise.
19656 (CompleteLimit6): Likewise.
19657 (CompleteLimit7): Likewise.
19658
19659 2015-04-08 Pedro Alves <palves@redhat.com>
19660
19661 PR gdb/18214
19662 PR gdb/18216
19663 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19664 function.
19665 (main): Install it as SIGUSR1 handler.
19666 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19667 parameter. Always use "setup" as prefix. Toggle "set
19668 displaced-stepping" off/on depending on global. Don't switch to
19669 thread 1 here.
19670 (top level): Add displaced stepping "off/on" test axis. Update
19671 "setup" calls. Wrap each subtest with with_test_prefix. Test
19672 continuing with a queued signal in each thread.
19673
19674 2015-04-08 Pedro Alves <palves@redhat.com>
19675
19676 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19677 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19678 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19679 Return early if running to main fails.
19680 * gdb.trace/while-stepping.exp: Likewise.
19681
19682 2015-04-07 Pedro Alves <palves@redhat.com>
19683
19684 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19685 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19686 interact with inferior program.
19687
19688 2015-04-07 Pedro Alves <palves@redhat.com>
19689
19690 * lib/gdb.exp (inferior_spawn_id): New global.
19691 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19692 spawn id after processing the user code.
19693 (default_gdb_start): Set inferior_spawn_id.
19694 (send_inferior): New procedure.
19695 * lib/gdbserver-support.exp (gdbserver_start): Set
19696 inferior_spawn_id.
19697 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19698
19699 2015-04-07 Pedro Alves <palves@redhat.com>
19700
19701 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19702 * lib/gdbserver-support.exp (gdbserver_start): Make
19703 $server_spawn_id global.
19704 (gdbserver_start): Don't wait for gdbserver's spawn id with
19705 expect_background.
19706 (close_gdbserver): New procedure.
19707 (gdb_exit): Rename the default version and reimplement.
19708
19709 2015-04-07 Pedro Alves <palves@redhat.com>
19710
19711 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
19712 append the substituted item, not the original item.
19713
19714 2015-04-07 Pedro Alves <palves@redhat.com>
19715
19716 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19717 gdb_expect.
19718
19719 2015-04-07 Pedro Alves <palves@redhat.com>
19720
19721 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19722 output appearing once only.
19723
19724 2015-04-07 Pedro Alves <palves@redhat.com>
19725
19726 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19727 that doesn't expect anything. Return early if running to main
19728 fails.
19729
19730 2015-04-07 Yao Qi <yao.qi@linaro.org>
19731
19732 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19733 (child_function): Call alarm.
19734 (main): Move call to alarm into the loop.
19735 * gdb.threads/non-stop-fair-events.exp: Build program with
19736 -DTIMEOUT=$timeout.
19737
19738 2015-04-06 Doug Evans <xdje42@gmail.com>
19739
19740 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19741 Fix dest parameter to board_info.
19742 (fpc_compile): Ditto.
19743 (gdb_compile_pascal): Rename dest arg to destfile.
19744
19745 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19746
19747 * gdb.ada/funcall_ref.exp: New file.
19748 * gdb.ada/funcall_ref/foo.adb: New file.
19749
19750 2015-04-02 Yao Qi <yao.qi@linaro.org>
19751
19752 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19753 is remote.
19754
19755 2015-04-02 Gary Benson <gbenson@redhat.com>
19756
19757 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19758
19759 2015-04-01 Sasha Smundak <asmundak@google.com>
19760
19761 * gdb.python/py-unwind-maint.c: New file.
19762 * gdb.python/py-unwind-maint.exp: New test.
19763 * gdb.python/py-unwind-maint.py: New file.
19764 * gdb.python/py-unwind.c: New file.
19765 * gdb.python/py-unwind.exp: New test.
19766 * gdb.python/py-unwind.py: New test.
19767
19768 2015-04-01 Pedro Alves <palves@redhat.com>
19769
19770 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19771 to fail instead of non-existent $test.
19772
19773 2015-04-01 Pedro Alves <palves@redhat.com>
19774
19775 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19776 GDBFLAGS if not empty.
19777
19778 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19779
19780 * gdb.ada/complete.exp: Remove "multi_line".
19781 * gdb.ada/info_exc.exp: Remove "multi_line".
19782 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19783 * gdb.ada/ptype_field.exp: Remove "multi_line".
19784 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19785 * gdb.ada/tagged.exp: Remove "multi_line".
19786 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19787 [multi_line ...]
19788 * gdb.btrace/delta.exp: Likewise.
19789 * gdb.btrace/exception.exp: Likewise.
19790 * gdb.btrace/function_call_history.exp: Likewise.
19791 * gdb.btrace/instruction_history.exp: Likewise.
19792 * gdb.btrace/nohist.exp: Likewise.
19793 * gdb.btrace/record_goto.exp: Likewise.
19794 * gdb.btrace/segv.exp: Likewise.
19795 * gdb.btrace/stepi.exp: Likewise.
19796 * gdb.btrace/tailcall.exp: Likewise.
19797 * gdb.btrace/unknown_functions.exp: Likewise.
19798 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19799 * lib/gdb.exp: Add the "multi_line" helper.
19800
19801 2015-04-01 Pedro Alves <palves@redhat.com>
19802
19803 * gdb.threads/tid-reuse.c: New file.
19804 * gdb.threads/tid-reuse.exp: New file.
19805
19806 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19807
19808 PR corefiles/16092
19809 * gdb.base/coredump-filter.c: New file.
19810 * gdb.base/coredump-filter.exp: Likewise.
19811
19812 2015-03-27 Petr Machata <pmachata@redhat.com>
19813
19814 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19815 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19816 (Dwarf::assemble): Initialize them.
19817 (Dwarf::lines): New function.
19818
19819 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19820
19821 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19822 SYMBOL_PREFIX for x86_64-*-cygwin.
19823
19824 2015-03-26 Andy Wingo <wingo@igalia.com>
19825
19826 PR symtab/18148
19827 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19828 const_value but not a location.
19829 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19830 location defined in non-main CUs are visible.
19831
19832 2015-03-26 Yao Qi <yao.qi@linaro.org>
19833
19834 PR testsuite/18139
19835 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19836 Add a line number entry for the same line.
19837 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19838 Add a line number entry for the same line.
19839
19840 2015-03-26 Yao Qi <yao.qi@linaro.org>
19841
19842 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19843 .int 0.
19844 (func): Likewise. Add .Lfunc_1 label.
19845 Use .Lfunc_1 label.
19846 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19847 .int 0.
19848 (func): Likewise.
19849 Use .Lfunc_1 label.
19850
19851 2015-03-26 Yao Qi <yao.qi@linaro.org>
19852
19853 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19854 Call gdb_compile instead to compile each .s files without debug
19855 information.
19856
19857 2015-03-26 Yao Qi <yao.qi@linaro.org>
19858
19859 * gdb.base/savedregs.exp (process_saved_regs): Make
19860 "Saved registers:" optional in the pattern.
19861
19862 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19863
19864 * gdb.btrace/next.exp: Merged into step.exp.
19865 * gdb.btrace/finish.exp: Merged into step.exp.
19866 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19867 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19868 "record goto" and checking the exact replay position.
19869 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19870 check for "Recording format" in "info record" output.
19871 * gdb.btrace/record_goto.exp: Choose test file based on target.
19872 * gdb.btrace/x86-record_goto.S: Renamed into ...
19873 * gdb.btrace/x86_64-record_goto.S: ... this.
19874 * gdb.btrace/i686-record_goto.S: New.
19875 * gdb.btrace/x86-tailcall.S: Renamed into ...
19876 * gdb.btrace/x86_64-tailcall.S: ... this.
19877 * gdb.btrace/i686-tailcall.S: New.
19878 * gdb.btrace/x86-tailcall.c: Renamed into ...
19879 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19880 separate statements. Update test.
19881 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19882 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19883 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19884 * gdb.btrace/tailcall.exp: Choose test file based on target.
19885 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19886
19887 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19888
19889 * gdb.btrace/exception.exp: Increase BTS buffer size.
19890
19891 2015-03-24 Pedro Alves <palves@redhat.com>
19892
19893 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19894
19895 2015-03-24 Pedro Alves <palves@redhat.com>
19896
19897 * gdb.threads/schedlock.exp (test_step): No longer expect that
19898 "set scheduler-locking step" with "next" over a function call runs
19899 threads unlocked.
19900
19901 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19902
19903 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19904
19905 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19906
19907 PR breakpoints/16466
19908 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19909 * gdb.mi/mi-pending.c (thread_func): New function.
19910 (int main): Add threading support required.
19911 * gdb.mi/mi-pending.exp: Add tests for this issue.
19912 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19913 (pendfunc2): Remove stdio dependency.
19914 * gdb.mi/mi-pendshr2.c: New file.
19915
19916 2015-03-23 Keith Seitz <keiths@redhat.com>
19917
19918 * gdb.linespec/keywords.c: New file.
19919 * gdb.linespec/keywords.exp: New file.
19920
19921 2015-03-23 Keith Seitz <keiths@redhat.com>
19922
19923 PR gdb/18021
19924 * gdb.dwarf2/staticvirtual.exp: New test.
19925
19926 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19927
19928 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19929 * README: Remove HP-UX and gdb.hp.
19930 (configuration):
19931 * configure: Regenerate.
19932 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19933 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19934 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19935 gdb.hp/gdb.defects/Makefile.
19936 * gdb.hp/Makefile.in: File deleted.
19937 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19938 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19939 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19940 * gdb.hp/gdb.aCC/run.c: File deleted.
19941 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19942 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19943 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19944 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19945 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19946 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19947 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19948 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19949 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19950 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19951 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19952 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19953 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19954 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19955 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19956 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19957 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19958 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19959 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19960 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19961 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19962 * gdb.hp/gdb.compat/average.c: File deleted.
19963 * gdb.hp/gdb.compat/sum.c: File deleted.
19964 * gdb.hp/gdb.compat/xdb.c: File deleted.
19965 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19966 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19967 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19968 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19969 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19970 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19971 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19972 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19973 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19974 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19975 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19976 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19977 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19978 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19979 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19980 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19981 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19982 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19983 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19984 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19985 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19986 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19987 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19988 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19989 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19990 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19991 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19992 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19993 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19994 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19995 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19996 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19997 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19998 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19999 * gdb.hp/tools/odump: File deleted.
20000
20001 2015-03-19 Pedro Alves <palves@redhat.com>
20002
20003 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20004 (saw_thread_3): New globals.
20005 (top level): Increment them when an event for the corresponding
20006 thread is seen.
20007 (no thread starvation): New test.
20008
20009 2015-03-19 Pedro Alves <palves@redhat.com>
20010
20011 * gdb.threads/continue-pending-status.c: New file.
20012 * gdb.threads/continue-pending-status.exp: New file.
20013
20014 2015-03-18 Pedro Alves <palves@redhat.com>
20015
20016 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20017 Use gdb_is_target_remote instead of is_remote. Use
20018 gdb_test_multiple instead of gdb_expect. Exit early if
20019 gdb_test_multiple hits its internal matches. Tighten stepi tests
20020 expected output. Fail on exit with any signal, instead of just
20021 SIGILL.
20022
20023 2015-03-18 Yao Qi <yao.qi@linaro.org>
20024
20025 PR tdep/18107
20026 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20027 variable.
20028 * gdb.base/catch-syscall.exp: Don't skip it on
20029 aarch64*-*-linux* target. Remove elements in all_syscalls.
20030 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20031 target.
20032 (setup_all_syscalls): New proc.
20033
20034 2015-03-16 Yao Qi <yao.qi@linaro.org>
20035
20036 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20037 (top level): Skip tests if valid_addr_p returns false for
20038 $cmd1 or $cmd2.
20039
20040 2015-03-11 Andy Wingo <wingo@igalia.com>
20041
20042 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20043
20044 2015-03-11 Yao Qi <yao.qi@linaro.org>
20045
20046 * gdb.base/catch-syscall.exp: Fix typo in comments.
20047
20048 2015-03-11 Yao Qi <yao.qi@linaro.org>
20049
20050 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20051
20052 2015-03-09 Pedro Alves <palves@redhat.com>
20053
20054 * dg-extract-results.py: Delete.
20055
20056 2015-03-09 Pedro Alves <palves@redhat.com>
20057
20058 Merge dg-extract-results.sh from GCC upstream (r218843).
20059
20060 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20061 * dg-extract-results.sh: Use --text with grep to avoid issues with
20062 binary files. Fall back to cat -v, if that doesn't work.
20063
20064 2015-03-05 Pedro Alves <palves@redhat.com>
20065
20066 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20067
20068 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20069
20070 * lib/mi-support.exp (mi_expect_interrupt): Accept
20071 alternative event for when in all-stop mode.
20072
20073 2015-03-04 Pedro Alves <palves@redhat.com>
20074
20075 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20076
20077 2015-03-04 Mark Kettenis <kettenis@gnu.org>
20078
20079 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20080
20081 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20082
20083 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20084 regexps for GDB's current line display, accept a hex address
20085 preceding the line number.
20086
20087 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20088
20089 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20090 the 'arch1' variable for "s390*-linux*" targets.
20091
20092 2015-03-04 Pedro Alves <palves@redhat.com>
20093
20094 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20095 (main): Pass missing retval argument to pthread_join call.
20096
20097 2015-03-02 Pedro Alves <palves@redhat.com>
20098
20099 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20100 (top level): Call do_test with non-stop as well.
20101
20102 2015-03-02 Pedro Alves <palves@redhat.com>
20103
20104 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20105 -1.
20106
20107 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20108
20109 * gdb.arch/s390-vregs.exp: New test.
20110 * gdb.arch/s390-vregs.S: New file.
20111
20112 2015-02-27 Pedro Alves <palves@redhat.com>
20113
20114 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20115 call to catch_command_errors.
20116 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20117 catch_command_errors.
20118
20119 2015-02-27 Pedro Alves <palves@redhat.com>
20120
20121 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20122 "true" for boolean result.
20123 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20124 prototype of main.
20125
20126 2015-02-27 Pedro Alves <palves@redhat.com>
20127
20128 * lib/unbuffer_output.c: New file.
20129 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20130 (main): Call gdb_unbuffer_output.
20131
20132 2015-02-27 Yao Qi <yao.qi@linaro.org>
20133
20134 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20135 target.
20136
20137 2015-02-26 Doug Evans <dje@google.com>
20138
20139 * gdb.cp/class2.cc (Dbase, D): New classes.
20140 (main): New local delta.
20141 * gdb.cp/class2.exp: Test printing delta.
20142 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20143 (dynbar): New global.
20144 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20145
20146 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20147
20148 * gdb.compile/compile-ifunc.c: New file.
20149 * gdb.compile/compile-ifunc.exp: New file.
20150
20151 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20152
20153 * gdb.base/structs.exp: Check for correct struct on finish.
20154
20155 2015-02-26 Yao Qi <yao.qi@linaro.org>
20156
20157 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20158 is zero.
20159
20160 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20161
20162 * gdb.arch/cordic.ko.bz2: New file.
20163 * gdb.arch/cordic.ko.debug.bz2: New file.
20164 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20165
20166 2015-02-25 Yao Qi <yao.qi@linaro.org>
20167
20168 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20169 aarch64*-*-* target.
20170
20171 2015-02-23 Pedro Alves <palves@redhat.com>
20172
20173 * lib/gdb.exp (delete_breakpoints): Rewrite using
20174 gdb_test_multiple.
20175
20176 2015-02-23 Pedro Alves <palves@redhat.com>
20177
20178 * gdb.base/info-os.c: Include stdlib.h.
20179
20180 2015-02-22 Doug Evans <xdje42@gmail.com>
20181
20182 PR symtab/17855
20183 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20184 is read after symbols have been re-read.
20185 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20186 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20187
20188 2015-02-21 Doug Evans <dje@google.com>
20189
20190 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20191
20192 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20193
20194 PR corefiles/17808
20195 * gdb.arch/i386-biarch-core.core.bz2: New file.
20196 * gdb.arch/i386-biarch-core.exp: New file.
20197
20198 2015-02-21 Pedro Alves <palves@redhat.com>
20199
20200 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20201 runto_main fails.
20202
20203 2015-02-20 Pedro Alves <palves@redhat.com>
20204
20205 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20206 info probes.
20207
20208 2015-02-20 Pedro Alves <palves@redhat.com>
20209
20210 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20211
20212 2015-02-20 Pedro Alves <palves@redhat.com>
20213
20214 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20215 clean_restart before gdb_target_supports_trace.
20216
20217 2015-02-20 Pedro Alves <palves@redhat.com>
20218
20219 PR threads/18006
20220 * gdb.threads/clone-thread_db.c: New file.
20221 * gdb.threads/clone-thread_db.exp: New file.
20222
20223 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20224
20225 PR breakpoints/16812
20226 * gdb.base/catch-gdb-caused-signals.c: New file.
20227 * gdb.base/catch-gdb-caused-signals.exp: New file.
20228
20229 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20230
20231 * configure: Regenerated.
20232 * configure.ac: Use GDB_AC_TRANSFORM.
20233 * aclocal.m4: sinclude ../transform.m4.
20234
20235 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20236
20237 * lib/dtrace.exp: New file.
20238 * gdb.base/dtrace-probe.exp: Likewise.
20239 * gdb.base/dtrace-probe.d: Likewise.
20240 * gdb.base/dtrace-probe.c: Likewise.
20241 * lib/pdtrace.in: Likewise.
20242 * configure.ac: Output variables with the transformed names of
20243 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20244 * configure: Regenerated.
20245
20246 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20247
20248 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20249 expected message when trying to access $_probe_* convenience
20250 variables while not on a probe.
20251
20252 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20253
20254 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20255
20256 2015-02-11 Pedro Alves <pedro@codesourcery.com>
20257
20258 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20259 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20260
20261 2015-02-10 Doug Evans <xdje42@gmail.com>
20262
20263 * lib/gdb.exp (gdb_load): Always return a result.
20264
20265 2015-02-10 Pedro Alves <palves@redhat.com>
20266
20267 * gdb.threads/signal-sigtrap.c: New file.
20268 * gdb.threads/signal-sigtrap.exp: New file.
20269
20270 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20271
20272 * gdb.trace/no-attach-trace.c: New file.
20273 * gdb.trace/no-attach-trace.exp: New file.
20274
20275 2015-02-09 Mark Wielaard <mjw@redhat.com>
20276
20277 * gdb.dwarf2/atomic.c: New file.
20278 * gdb.dwarf2/atomic-type.exp: Likewise.
20279
20280 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20281
20282 * gdb.btrace/buffer-size.exp: Update "info record" output.
20283 * gdb.btrace/delta.exp: Update "info record" output.
20284 * gdb.btrace/enable.exp: Update "info record" output.
20285 * gdb.btrace/finish.exp: Update "info record" output.
20286 * gdb.btrace/instruction_history.exp: Update "info record" output.
20287 * gdb.btrace/next.exp: Update "info record" output.
20288 * gdb.btrace/nexti.exp: Update "info record" output.
20289 * gdb.btrace/step.exp: Update "info record" output.
20290 * gdb.btrace/stepi.exp: Update "info record" output.
20291 * gdb.btrace/nohist.exp: Update "info record" output.
20292
20293 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20294
20295 * gdb.btrace/buffer-size: New.
20296
20297 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20298
20299 * gdb.btrace/delta.exp: Update "info record" output.
20300 * gdb.btrace/enable.exp: Update "info record" output.
20301 * gdb.btrace/finish.exp: Update "info record" output.
20302 * gdb.btrace/instruction_history.exp: Update "info record" output.
20303 * gdb.btrace/next.exp: Update "info record" output.
20304 * gdb.btrace/nexti.exp: Update "info record" output.
20305 * gdb.btrace/step.exp: Update "info record" output.
20306 * gdb.btrace/stepi.exp: Update "info record" output.
20307 * gdb.btrace/nohist.exp: Update "info record" output.
20308
20309 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20310
20311 PR gdb/15678
20312 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20313
20314 2015-02-06 Pedro Alves <palves@redhat.com>
20315
20316 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20317 macro.
20318 (seconds_left, again): New globals.
20319 (main): Wait seconds_left in a 1-second sleep loop instead of
20320 sleeping 180 seconds. If 'again' is set, reset the seconds
20321 counter.
20322 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20323 'again' in the inferior before detaching. Print the seconds left.
20324 (options): New global.
20325 (top level): Build program with -DTIMEOUT=$timeout.
20326
20327 2015-02-06 Pedro Alves <palves@redhat.com>
20328
20329 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20330 determine how many seconds to pass to 'alarm'.
20331 * gdb.base/gdb-sigterm.exp (top level): Build program with
20332 -DTIMEOUT=$timeout.
20333 (do_test): Return success/failure indication. Add more verbose
20334 logging. Don't fail if 200 single steps are seen. Instead, fail
20335 when the test times out.
20336 (passes): New global.
20337 (top level): Break the testing loop if testing fails on any
20338 iteration. Use gdb_assert.
20339
20340 2015-02-04 Don Breazeal <donb@codesourcery.com>
20341
20342 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20343 and initialize them.
20344 (ipc_cleanup): New function.
20345 (main): Don't declare shmid, semid, and msqid. Add a call to
20346 atexit so that we call ipc_cleanup on exit.
20347
20348 2015-02-04 Pedro Alves <palves@redhat.com>
20349
20350 * boards/native-extended-gdbserver.exp: Remove any target variant
20351 specifications from the board name before clearing the isremote
20352 flag from board_info.
20353
20354 2015-01-31 Doug Evans <xdje42@gmail.com>
20355
20356 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20357
20358 2015-01-31 Gary Benson <gbenson@redhat.com>
20359
20360 * gdb.base/completion.exp: Disable completion limiting for
20361 existing tests. Add new tests to check completion limiting.
20362 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20363
20364 2015-01-31 Doug Evans <xdje42@gmail.com>
20365
20366 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20367
20368 2015-01-31 Doug Evans <xdje42@gmail.com>
20369
20370 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20371 entries. Duplicate file section script entries.
20372 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20373 inlined entries. Add test for safe-path rejection.
20374 * gdb.python/py-section-script.c: Add duplicate inlined section script
20375 entries. Duplicate file section script entries.
20376 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20377 inlined entries. Add test for safe-path rejection.
20378
20379 2015-01-29 Joel Brobecker <brobecker@adacore.com>
20380
20381 * gdb.ada/disc_arr_bound: New testcase.
20382
20383 2015-01-29 Joel Brobecker <brobecker@adacore.com>
20384
20385 * gdb.ada/mi_var_array: New testcase.
20386
20387 2015-01-27 Doug Evans <dje@google.com>
20388
20389 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20390 Add test for objfile.filename, objfile.username after objfile
20391 has been unloaded.
20392
20393 2015-01-26 Joel Brobecker <brobecker@adacore.com>
20394
20395 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20396 the second test to print the name attribute of value
20397 returned by the call to gdb.lookup_type, and adjust
20398 the expected output accordingly.
20399
20400 2015-01-25 Mark Wielaard <mjw@redhat.com>
20401
20402 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20403 * gdb.base/disp-step-fork.c: Include unistd.h.
20404 * gdb.base/siginfo-obj.c: Include stdio.h.
20405 * gdb.base/siginfo-thread.c: Likewise.
20406 * gdb.mi/non-stop.c: Include unistd.h.
20407 * gdb.mi/nsthrexec.c: Include stdio.h.
20408 * gdb.mi/pthreads.c: Include unistd.h.
20409 * gdb.modula2/unbounded1.c (main): Declare returns int.
20410 * gdb.reverse/consecutive-reverse.c: Likewise.
20411 * gdb.threads/create-fail.c: Include unistd.h.
20412 * gdb.threads/killed.c: Likewise.
20413 * gdb.threads/linux-dp.c: Likewise.
20414 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20415 * gdb.threads/non-ldr-exc-2.c: Likewise.
20416 * gdb.threads/non-ldr-exc-3.c: Likewise.
20417 * gdb.threads/non-ldr-exc-4.c: Likewise.
20418 * gdb.threads/pthreads.c: Include unistd.h.
20419 (main): Declare returns int.
20420 * gdb.threads/tls-main.c (foo): New declaration.
20421 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20422
20423 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20424
20425 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20426 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20427
20428 2015-01-15 Mark Wielaard <mjw@redhat.com>
20429
20430 * gdb.base/noreturn-return.c: New file.
20431 * gdb.base/noreturn-return.exp: New file.
20432 * gdb.base/noreturn-finish.c: New file.
20433 * gdb.base/noreturn-finish.exp: New file.
20434
20435 2015-01-23 Pedro Alves <palves@redhat.com>
20436
20437 * gdb.threads/continue-pending-after-query.c: New file.
20438 * gdb.threads/continue-pending-after-query.exp: New file.
20439
20440 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20441 Simon Marchi <simon.marchi@ericsson.com>
20442
20443 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20444 * gdb.base/valgrind-db-attach.exp: Same.
20445 * gdb.base/valgrind-infcall.exp: Same.
20446 * lib/mi-support.exp (default_mi_gdb_start): Same.
20447 * lib/prompt.exp (default_prompt_gdb_start): Same.
20448 * lib/gdb.exp (default_gdb_spawn): Same.
20449 (gdb_interact): New.
20450
20451
20452 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20453
20454 * gdb.compile/compile.exp (pointer to jit function): New test.
20455
20456 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
20457
20458 * lib/gdb.exp (supports_process_record): Return true for
20459 powerpc*-*-linux*.
20460 (supports_reverse): Likewise.
20461
20462 2015-01-15 Don Breazeal <donb@codesourcery.com>
20463
20464 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20465 instead of checking whether the target board is remote and
20466 use spawn_wait_for_attach instead of exec/sleep.
20467 * gdb.base/attach-twice.exp: Likewise.
20468
20469 2015-01-15 Joel Brobecker <brobecker@adacore.com>
20470
20471 * gdb.ada/var_arr_attrs: New testcase.
20472
20473 2015-01-14 Pedro Alves <palves@redhat.com>
20474 Joel Brobecker <brobecker@adacore.com>
20475
20476 PR gdb/17525
20477 * gdb.base/bp-cmds-execution-x-script.c: New file.
20478 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20479 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20480
20481 2015-01-14 Pedro Alves <palves@redhat.com>
20482
20483 PR cli/17828
20484 * gdb.base/batch-preserve-term-settings.c: New file.
20485 * gdb.base/batch-preserve-term-settings.exp: New file.
20486
20487 2015-01-13 Doug Evans <dje@google.com>
20488
20489 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20490 binary.
20491
20492 2015-01-13 Joel Brobecker <brobecker@adacore.com>
20493
20494 * Makefile.in (clean mostlyclean): Do not delete *.py.
20495
20496 2015-01-13 Joel Brobecker <brobecker@adacore.com>
20497
20498 * gdb.python/py-lookup-type.exp: New file.
20499
20500 2015-01-12 Pedro Alves <palves@redhat.com>
20501
20502 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20503 restore GDBFLAGS before returning.
20504
20505 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20506
20507 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20508 is_amd64_regs_target and is_x86_like_target.
20509
20510 2015-01-11 Doug Evans <xdje42@gmail.com>
20511
20512 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20513 is given without an explicit form.
20514 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20515 attributes.
20516 * gdb.dwarf/corrupt.exp: Ditto.
20517 * gdb.dwarf2/enum-type.exp: Ditto.
20518 * gdb.trace/entry-values.exp: Ditto.
20519 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20520
20521 2015-01-11 Doug Evans <xdje42@gmail.com>
20522
20523 PR gdb/15830
20524 * gdb.base/maint.exp: Remove references to "maint demangle".
20525 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20526 Add tests for explicitly specifying language to demangle.
20527 * gdb.dlang/demangle.exp: Ditto.
20528
20529 2015-01-09 Pedro Alves <palves@redhat.com>
20530
20531 * gdb.threads/non-stop-fair-events.c: New file.
20532 * gdb.threads/non-stop-fair-events.exp: New file.
20533
20534 2015-01-09 Pedro Alves <palves@redhat.com>
20535
20536 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20537 the global scope. Set a breakpoint after all threads are started
20538 rather than stepping over two source lines. Expect the prompt.
20539 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20540 global.
20541 (NUM): Now 15.
20542 (main): Use threads_started_barrier to wait for all threads to
20543 start. Main thread no longer calls thread_function. Exit after
20544 180 seconds.
20545 (loop): New function.
20546 (thread_function): Wait on threads_started_barrier barrier. Call
20547 'loop' at each iteration.
20548 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20549 threads have started, instead of hardcoding number of "next"
20550 steps. Use an access watchpoint instead of a write watchpoint.
20551
20552 2015-01-09 Pedro Alves <palves@redhat.com>
20553
20554 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20555 (thread_func): Wait on barrier.
20556 (main): Wait for all threads to start before stopping GDB.
20557 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20558 global.
20559 (thread1_func, thread2_func): Wait on barrier.
20560 (main): Wait for all threads to start before stopping GDB.
20561 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20562 New global.
20563 (thread1_func, thread2_func): Wait on barrier.
20564 (main): Wait for all threads to start before stopping GDB.
20565
20566 2015-01-09 Pedro Alves <palves@redhat.com>
20567
20568 * gdb.threads/attach-many-short-lived-threads.c: New file.
20569 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20570
20571 2014-01-09 Pedro Alves <palves@redhat.com>
20572
20573 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20574 instead of to thread 2.
20575 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20576 Add barrier around each pthread_create call instead of around all
20577 calls.
20578 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20579 Set a break on thread_function and have the child threads hit it
20580 one at at a time.
20581
20582 2015-01-09 Pedro Alves <palves@redhat.com>
20583
20584 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20585 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20586 false.
20587 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20588 checking whether the target board is remote.
20589 * gdb.multi/multi-attach.exp: Likewise.
20590 * gdb.python/py-sync-interp.exp: Likewise.
20591 * gdb.server/ext-attach.exp: Likewise.
20592 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20593 tests that need to attach, instead of checking whether the target
20594 board is remote at the top of the file.
20595
20596 2015-01-08 Yao Qi <yao@codesourcery.com>
20597
20598 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20599
20600 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20601
20602 Fix testcase compilation.
20603 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20604
20605 2015-01-06 Joel Brobecker <brobecker@adacore.com>
20606
20607 * gdb.python/py-type.exp: Add a couple test about empty
20608 array creation, and negative-length array creation.
20609
20610 2015-01-02 Doug Evans <xdje42@gmail.com>
20611
20612 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20613
20614 2015-01-02 Doug Evans <dje@google.com>
20615
20616 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20617
20618 2014-12-29 Yao Qi <yao@codesourcery.com>
20619
20620 * gdb.trace/entry-values.exp: Update comments. Rename variable
20621 bar_call_foo to returned_from_foo.
20622
20623 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20624
20625 PR gdb/17394
20626 * gdb.linespec/break-asm-file.c: New file.
20627 * gdb.linespec/break-asm-file.exp: New file.
20628 * gdb.linespec/break-asm-file0.s: New file.
20629 * gdb.linespec/break-asm-file1.s: New file.
20630
20631 2014-12-18 Nigel Stephens <nigel@mips.com>
20632 Maciej W. Rozycki <macro@codesourcery.com>
20633
20634 * gdb.base/float.exp: Handle the new output from "info float" on
20635 MIPS targets.
20636
20637 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20638
20639 Fix MinGW compilation.
20640 * gdb.compile/compile-ops.exp: Update untested message if
20641 !skip_compile_feature_tests.
20642 * gdb.compile/compile-setjmp.exp: Likewise.
20643 * gdb.compile/compile-tls.exp: Likewise.
20644 * gdb.compile/compile.exp: Likewise.
20645 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20646 supported on this host".
20647
20648 2014-12-16 Doug Evans <xdje42@gmail.com>
20649
20650 * boards/stabs.exp: New file.
20651
20652 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20653
20654 * gdb.base/completion.exp: Adjust to format changes of "maint
20655 print user-registers".
20656
20657 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
20658
20659 PR server/17457
20660 * gdb.arch/aarch64-fp.c: New file.
20661 * gdb.arch/aarch64-fp.exp: New file.
20662
20663 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20664
20665 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20666 r210637, r210913, r211666, r215400, r215817).
20667
20668 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20669 * dg-extract-results.py: New file.
20670 * dg-extract-results.sh: Use it if the environment seems
20671 suitable.
20672
20673 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20674
20675 * dg-extract-results.py (parse_run): Handle warnings that
20676 are printed before a test harness is run.
20677
20678 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20679
20680 * dg-extract-results.py (Named): Remove __cmp__ method.
20681 (output_variation): Use a key to sort variation.harnesses.
20682
20683 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20684
20685 * dg-extract-results.py: For Python 3, force sys.stdout to
20686 handle surrogate escape sequences.
20687 (safe_open): New function.
20688 (output_segment, main): Use it.
20689
20690 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20691
20692 * dg-extract-results.py (Prog.result_re): Include options
20693 in test name.
20694
20695 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20696
20697 * dg-extract-results.py (output_variation): Always sort if
20698 do_sum.
20699
20700 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20701
20702 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20703 as long as we get pagination notifications.
20704
20705 2014-12-15 Jason Merrill <jason@redhat.com>
20706
20707 * Makefile.in (check-gdb.%): Restore.
20708 * README: Mention it.
20709
20710 2014-12-13 Joel Brobecker <brobecker@adacore.com>
20711
20712 * gdb.ada/str_uninit: New testcase.
20713
20714 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20715
20716 PR symtab/17642
20717 * gdb.base/vla-stub-define.c: New file.
20718 * gdb.base/vla-stub.c: New file.
20719 * gdb.base/vla-stub.exp: New file.
20720
20721 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20722 Jan Kratochvil <jan.kratochvil@redhat.com>
20723 Tom Tromey <tromey@redhat.com>
20724
20725 * configure.ac: Add gdb.compile/.
20726 * configure: Regenerate.
20727 * gdb.compile/Makefile.in: New file.
20728 * gdb.compile/compile-ops.exp: New file.
20729 * gdb.compile/compile-ops.c: New file.
20730 * gdb.compile/compile-tls.c: New file.
20731 * gdb.compile/compile-tls.exp: New file.
20732 * gdb.compile/compile-constvar.S: New file.
20733 * gdb.compile/compile-constvar.c: New file.
20734 * gdb.compile/compile-mod.c: New file.
20735 * gdb.compile/compile-nodebug.c: New file.
20736 * gdb.compile/compile-setjmp-mod.c: New file.
20737 * gdb.compile/compile-setjmp.c: New file.
20738 * gdb.compile/compile-setjmp.exp: New file.
20739 * gdb.compile/compile-shlib.c: New file.
20740 * gdb.compile/compile.c: New file.
20741 * gdb.compile/compile.exp: New file.
20742 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20743
20744 2014-12-12 Tom Tromey <tromey@redhat.com>
20745
20746 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20747 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20748
20749 2014-12-12 Doug Evans <dje@google.com>
20750
20751 * lib/gdb-python.exp (get_python_valueof): New function.
20752 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20753
20754 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20755
20756 * gdb.base/completion.exp: Add test for completion of "info
20757 registers ".
20758
20759 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20760
20761 * gdb.base/func-ptrs.c: New file.
20762 * gdb.base/func-ptrs.exp: New file.
20763
20764 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20765
20766 PR breakpoints/17012
20767 * gdb.base/dprintf-detach.c: New file.
20768 * gdb.base/dprintf-detach.exp: New file.
20769
20770 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20771
20772 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20773 * lib/gdb.exp (target_is_gdbserver): New procedure.
20774
20775 2014-12-08 Doug Evans <dje@google.com>
20776
20777 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20778
20779 2014-12-05 Yao Qi <yao@codesourcery.com>
20780
20781 * gdb.guile/scm-error.exp: Remove the third argument to
20782 gdb_remote_download.
20783 * gdb.guile/scm-frame-args.exp: Likewise.
20784 * gdb.guile/scm-section-script.exp: Likewise.
20785
20786 2014-12-05 Yao Qi <yao@codesourcery.com>
20787
20788 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20789
20790 2014-12-04 Doug Evans <dje@google.com>
20791
20792 * gdb.python/py-objfile.exp: Add tests for
20793 objfile.add_separate_debug_file.
20794
20795 2014-12-04 Doug Evans <dje@google.com>
20796
20797 * lib/gdb.exp (get_build_id): New function.
20798 (build_id_debug_filename_get): Rewrite to use it.
20799 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20800
20801 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20802
20803 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20804 `method(long)', not just 0x0.
20805 * gdb.cp/nsalias.exp: Align code labels to 4.
20806 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20807 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20808 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20809 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20810 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20811 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20812
20813 2014-12-02 Doug Evans <dje@google.com>
20814
20815 PR symtab/17602
20816 * gdb.cp/anon-ns.cc: Move guts of this file to ...
20817 * gdb.cp/anon-ns2.cc: ... here. New file.
20818 * gdb.cp/anon-ns.exp: Update.
20819
20820 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
20821
20822 * gdb.python/py-events.py (inferior_call_handler): New.
20823 (register_changed_handler, memory_changed_handler): New.
20824 (test_events.invoke): Register new handlers.
20825 * gdb.python/py-events.exp: Add tests for inferior call,
20826 memory_changed and register_changed events.
20827
20828 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20829
20830 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20831 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20832 if the linker doesn't understand this.
20833
20834 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20835
20836 * gdb.python/python.exp: Change expected reply to help().
20837
20838 2014-12-01 Yao Qi <yao@codesourcery.com>
20839
20840 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20841 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20842 * configure: Re-generated.
20843
20844 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20845
20846 * gdb.cp/chained-calls.cc: New file.
20847 * gdb.cp/chained-calls.exp: New file.
20848 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20849
20850 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20851
20852 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20853 * gdb.dwarf2/symtab-producer.exp: Same.
20854 * gdb.gdb/python-interrupts.exp: Same.
20855 * gdb.gdb/python-selftest.exp: Same.
20856 * gdb.python/py-linetable.exp: Same.
20857 * gdb.python/py-type.exp: Same.
20858 * gdb.python/py-value-cc.exp: Same.
20859 * gdb.python/py-value.exp: Same.
20860
20861 2014-11-28 Yao Qi <yao@codesourcery.com>
20862
20863 * gdb.base/break-probes.exp: Match library name prefixed with
20864 sysroot.
20865
20866 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20867
20868 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20869 test expected output. Add parentheses for the call to print.
20870 Remove L suffix from integers.
20871
20872 2014-11-26 Doug Evans <dje@google.com>
20873
20874 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20875
20876 2014-11-22 Yao Qi <yao@codesourcery.com>
20877
20878 * gdb.trace/entry-values.c: Remove asms.
20879 (foo): Add foo_label.
20880 (bar): Add bar_label.
20881 * gdb.trace/entry-values.exp: Remove code computing foo's
20882 length and bar's length.
20883 (Dwarf::assemble): Invoke function_range for bar and use
20884 MACRO_AT_func for foo.
20885
20886 2014-11-22 Yao Qi <yao@codesourcery.com>
20887
20888 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20889 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20890 Use .Lgcc43_procstart instead of gcc43.
20891
20892 2014-11-21 Joel Brobecker <brobecker@adacore.com>
20893
20894 * gdb.ada/n_arr_bound: New testcase.
20895
20896 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20897
20898 PR breakpoints/10737
20899 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20900 test_catch_syscall_multi_arch.
20901 (test_catch_syscall_multi_arch): New function.
20902
20903 2014-11-20 Doug Evans <xdje42@gmail.com>
20904
20905 * gdb.base/maint.exp: Update expected output.
20906
20907 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20908
20909 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20910 4-byte instruction on S390.
20911
20912 2014-11-19 Joel Brobecker <brobecker@adacore.com>
20913
20914 * gdb.ada/arr_arr: New testcase.
20915
20916 2014-11-19 Joel Brobecker <brobecker@adacore.com>
20917
20918 * gdb.ada/pkd_arr_elem: New Testcase.
20919
20920 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
20921
20922 * gdb.reverse/break-precsave: Expect completion message for
20923 core file reads.
20924 * gdb.reverse/consecutive-precsave.exp: Likewise.
20925 * gdb.reverse/finish-precsave.exp: Likewise.
20926 * gdb.reverse/i386-precsave.exp: Likewise.
20927 * gdb.reverse/machinestate-precsave.exp: Likewise.
20928 * gdb.reverse/sigall-precsave.exp: Likewise.
20929 * gdb.reverse/solib-precsave.exp: Likewise.
20930 * gdb.reverse/step-precsave.exp: Likewise.
20931 * gdb.reverse/until-precsave.exp: Likewise.
20932 * gdb.reverse/watch-precsave.exp: Likewise.
20933
20934 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20935
20936 * gdb.base/bp-permanent.c: Include unistd.h.
20937 * gdb.python/py-framefilter-mi.c (main): Add return type.
20938 * gdb.python/py-framefilter.c (main): Likewise.
20939 * gdb.trace/actions-changed.c (main): Likewise.
20940
20941 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20942
20943 * gdb.mi/until.c: Add eye-catchers.
20944 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20945 line numbers.
20946
20947 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20948
20949 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20950 function header variants in break1.c.
20951 * gdb.base/ena-dis-br.exp: Likewise.
20952 * gdb.base/hbreak2.exp: Likewise.
20953 * gdb.reverse/until-precsave.exp: Drop references to removed
20954 non-prototype function header variants in ur1.c.
20955 * gdb.reverse/until-reverse.exp: Likewise.
20956
20957 2014-11-17 Petr Machata <pmachata@redhat.com>
20958
20959 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20960 ${_cu_offset_size} bytes abbrev offset.
20961
20962 2014-11-15 Doug Evans <xdje42@gmail.com>
20963
20964 PR symtab/17559
20965 * gdb.base/line-symtabs.exp: New file.
20966 * gdb.base/line-symtabs.c: New file.
20967 * gdb.base/line-symtabs.h: New file.
20968
20969 2014-11-14 Yao Qi <yao@codesourcery.com>
20970
20971 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20972 (func): Add label func_label.
20973 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20974 Replace low_pc and high_pc with MACRO_AT_range.
20975 Replace name, low_pc and high_pc with MACRO_AT_func.
20976
20977 2014-11-14 Yao Qi <yao@codesourcery.com>
20978
20979 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20980 Replace name, low_pc and high_pc with MACRO_AT_func.
20981
20982 2014-11-14 Yao Qi <yao@codesourcery.com>
20983
20984 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20985 produce debug information.
20986 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20987
20988 2014-11-14 Yao Qi <yao@codesourcery.com>
20989
20990 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20991 object and get function length.
20992 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20993 with MACRO_AT_func.
20994 (top-level): Replace gdb_compile and clean_restart with
20995 prepare_for_testing.
20996 * gdb.dwarf2/main.c (main): Add label main_label.
20997
20998 2014-11-14 Yao Qi <yao@codesourcery.com>
20999
21000 * lib/dwarf.exp (function_range): New procedure.
21001 (Dwarf::_handle_macro_at_func): New procedure.
21002 (Dwarf::_handle_macro_at_range): New procedure.
21003 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21004
21005 2014-11-14 Yao Qi <yao@codesourcery.com>
21006
21007 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21008 (_handle_attribute): New procedure.
21009
21010 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21011
21012 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21013 * gdb.base/call-sc.c (zed): Likewise.
21014 * gdb.base/checkpoint.c (main): Likewise.
21015 * gdb.base/dump.c (main): Likewise.
21016 * gdb.base/gcore.c (main): Likewise.
21017 * gdb.base/huge.c (main): Likewise.
21018 * gdb.base/multi-forks.c (main): Likewise.
21019 * gdb.base/pr10179-a.c (main): Likewise.
21020 * gdb.base/savedregs.c (main): Likewise.
21021 * gdb.base/sigaltstack.c (main): Likewise.
21022 * gdb.base/siginfo.c (main): Likewise.
21023 * gdb.base/structs.c (zed): Likewise.
21024 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21025 * gdb.mi/mi-syn-frame.c (main): Likewise.
21026 * gdb.mi/until.c (foo, main): Likewise.
21027 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21028 * gdb.base/solib-weak.c (foo): Declare.
21029 * gdb.base/attach-twice.c: Include stdio.h.
21030 * gdb.base/weaklib1.c: Likewise.
21031 * gdb.base/weaklib2.c: Likewise.
21032 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21033 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21034 unistd.h.
21035 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21036 * gdb.mi/mi-exit-code.c: Likewise.
21037 * gdb.base/break-interp-lib.c: Include string.h.
21038 * gdb.base/coremaker.c: Likewise.
21039 * gdb.base/testenv.c: Likewise.
21040 * gdb.python/py-finish-breakpoint.c: Likewise.
21041 * gdb.base/inferior-died.c: Include sys/wait.h.
21042 * gdb.base/fileio.c: Include time.h.
21043 * gdb.base/async-shell.c: Include unistd.h.
21044 * gdb.base/dprintf-non-stop.c: Likewise.
21045 * gdb.base/info-os.c: Likewise.
21046 * gdb.mi/mi-console.c: Likewise.
21047 * gdb.mi/watch-nonstop.c: Likewise.
21048 * gdb.python/py-events.c: Likewise.
21049 * gdb.base/async.c (baz): Move up before its invocation.
21050 * gdb.base/code_elim2.c (my_global_func): Likewise.
21051 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21052 * gdb.base/advance.c (func2): Likewise.
21053
21054 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21055
21056 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21057 variant.
21058 * gdb.base/annota3.c: Likewise.
21059 * gdb.base/async.c: Likewise.
21060 * gdb.base/average.c: Likewise.
21061 * gdb.base/call-ar-st.c: Likewise.
21062 * gdb.base/call-rt-st.c: Likewise.
21063 * gdb.base/call-sc.c: Likewise.
21064 * gdb.base/call-strs.c: Likewise.
21065 * gdb.base/ending-run.c: Likewise.
21066 * gdb.base/execd-prog.c: Likewise.
21067 * gdb.base/exprs.c: Likewise.
21068 * gdb.base/foll-exec.c: Likewise.
21069 * gdb.base/foll-fork.c: Likewise.
21070 * gdb.base/foll-vfork.c: Likewise.
21071 * gdb.base/funcargs.c: Likewise.
21072 * gdb.base/gcore.c: Likewise.
21073 * gdb.base/jump.c: Likewise.
21074 * gdb.base/langs0.c: Likewise.
21075 * gdb.base/langs1.c: Likewise.
21076 * gdb.base/langs2.c: Likewise.
21077 * gdb.base/mips_pro.c: Likewise.
21078 * gdb.base/nodebug.c: Likewise.
21079 * gdb.base/opaque0.c: Likewise.
21080 * gdb.base/opaque1.c: Likewise.
21081 * gdb.base/recurse.c: Likewise.
21082 * gdb.base/run.c: Likewise.
21083 * gdb.base/scope0.c: Likewise.
21084 * gdb.base/scope1.c: Likewise.
21085 * gdb.base/setshow.c: Likewise.
21086 * gdb.base/setvar.c: Likewise.
21087 * gdb.base/shmain.c: Likewise.
21088 * gdb.base/shr1.c: Likewise.
21089 * gdb.base/shr2.c: Likewise.
21090 * gdb.base/sigall.c: Likewise.
21091 * gdb.base/signals.c: Likewise.
21092 * gdb.base/so-indr-cl.c: Likewise.
21093 * gdb.base/solib2.c: Likewise.
21094 * gdb.base/structs.c: Likewise.
21095 * gdb.base/sum.c: Likewise.
21096 * gdb.base/vforked-prog.c: Likewise.
21097 * gdb.base/watchpoint.c: Likewise.
21098 * gdb.reverse/shr2.c: Likewise.
21099 * gdb.reverse/until-reverse.c: Likewise.
21100 * gdb.reverse/ur1.c: Likewise.
21101 * gdb.reverse/watch-reverse.c: Likewise.
21102
21103 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21104
21105 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21106 variant.
21107 * gdb.base/sepdebug.exp: Drop references to removed code.
21108
21109 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21110
21111 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21112 variant. Preserve original line numbering.
21113 * gdb.base/list1.c: Likewise.
21114
21115 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21116
21117 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21118 variant.
21119 * gdb.base/break1.c: Likewise.
21120 * gdb.base/break.exp: Drop references to removed code.
21121
21122 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21123
21124 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21125 variant.
21126
21127 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21128
21129 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21130
21131 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21132
21133 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21134 logic into perform_all_tests() and invoke it with and without
21135 function header prototypes.
21136 (do_function_calls): Remove conditional XFAIL for PR 5318.
21137 (rerun_and_prepare): Remove duplicate code.
21138 (perform_all_tests): New. Main logic moved here.
21139
21140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21141
21142 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21143 code guarded by #ifdef NO_PROTOTYPES.
21144 (t_double_many_args): Likewise.
21145 (DEF_FUNC_MANY_ARGS_1): Likewise.
21146 (DEF_FUNC_VALUES_1): Likewise.
21147 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21148 guarded by #ifdef PROTOTYPES.
21149
21150 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21151
21152 * gdb.mi/mi-console.c: Add eye-catcher.
21153 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21154 instead of literal line number.
21155
21156 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21157
21158 * gdb.base/shr2.c: Add eye-catcher.
21159 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21160 line number.
21161
21162 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21163
21164 * gdb.base/jump.c: Add eye-catchers.
21165 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21166 numbers.
21167
21168 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21169
21170 * gdb.base/execd-prog.c: Add eye-catchers.
21171 * gdb.base/foll-exec.c: Likewise.
21172 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21173 line numbers.
21174
21175 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21176
21177 * gdb.base/ending-run.c: Add eye-catchers.
21178 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21179 literal line numbers.
21180
21181 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21182
21183 * gdb.base/call-rt-st.c: Add eye-catchers.
21184 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21185 literal line numbers.
21186
21187 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21188
21189 * gdb.base/call-ar-st.c: Add eye-catchers.
21190 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21191 literal line numbers.
21192
21193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21194
21195 * gdb.base/average.c: Add eye-catchers.
21196 * gdb.base/sum.c: Likewise.
21197 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21198 regexps dynamically.
21199
21200 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21201
21202 * gdb.base/solib1.c: Add eye-catchers.
21203 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21204 literal line numbers.
21205
21206 2014-11-12 Pedro Alves <palves@redhat.com>
21207
21208 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21209 leader has exited.
21210
21211 2014-11-12 Pedro Alves <palves@redhat.com>
21212
21213 * gdb.arch/i386-bp_permanent.c: New file.
21214 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21215 (srcfile): Set to i386-bp_permanent.c.
21216 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21217 that stepi does not execute the 'leave' instruction, instead of
21218 testing it does execute.
21219 * gdb.base/bp-permanent.c: New file.
21220 * gdb.base/bp-permanent.exp: New file.
21221
21222 2014-11-10 Doug Evans <xdje42@gmail.com>
21223
21224 PR symtab/17564
21225 * gdb.base/symtab-search-order.exp: New file.
21226 * gdb.base/symtab-search-order.c: New file.
21227 * gdb.base/symtab-search-order-1.c: New file.
21228 * gdb.base/symtab-search-order-shlib-1.c: New file.
21229
21230 2014-11-07 Pedro Alves <palves@redhat.com>
21231
21232 PR gdb/17511
21233 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21234 i?86-*-linux*.
21235
21236 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21237
21238 PR c++/17494
21239 * gdb.cp/pr17494.cc: New file.
21240 * gdb.cp/pr17494.exp: New file.
21241
21242 2014-11-02 Yao Qi <yao@codesourcery.com>
21243
21244 * gdb.python/python.exp: Get working directory and match the
21245 output of "set extended-prompt \\w " with it.
21246
21247 2014-10-30 Doug Evans <dje@google.com>
21248
21249 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21250 in objfiles.
21251 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21252 in progspaces.
21253
21254 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
21255
21256 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21257 * gdb.base/realname-expand.exp: Likewise.
21258 * gdb.linespec/macro-relative.exp: Likewise.
21259
21260 2014-10-29 Pedro Alves <palves@redhat.com>
21261
21262 PR gdb/17408
21263 * gdb.threads/schedlock.c (some_function): New function.
21264 (call_function): New global.
21265 (MAYBE_CALL_SOME_FUNCTION): New macro.
21266 (thread_function): Call it.
21267 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21268 and use it instead of a global counter. Adjust all callers.
21269 (get_current_thread): Use "find current thread" for test message
21270 here rather than having all callers pass down the same string.
21271 (goto_loop): New procedure, factored out from ...
21272 (my_continue): ... this.
21273 (step_ten_loops): Change parameter from test message to command to
21274 use. Adjust.
21275 (list_count): Delete global.
21276 (check_result): New procedure, factored out from duplicate top
21277 level code.
21278 (continue tests): Wrap in with_test_prefix.
21279 (test_step): New procedure, factored out from duplicate top level
21280 code.
21281 (top level): Test "step" in combination with all scheduler-locking
21282 modes. Test "next" in combination with all scheduler-locking
21283 modes, and in combination with stepping over a function call or
21284 not.
21285 * gdb.threads/next-bp-other-thread.c: New file.
21286 * gdb.threads/next-bp-other-thread.exp: New file.
21287
21288 2014-10-29 Pedro Alves <palves@redhat.com>
21289
21290 PR python/17372
21291 * gdb.python/python.exp: Test a multi-line command that spawns
21292 interactive Python.
21293 * gdb.base/multi-line-starts-subshell.exp: New file.
21294
21295 2014-10-29 Yao Qi <yao@codesourcery.com>
21296
21297 * gdb.base/fileio.exp: Make directories on host.
21298
21299 2014-10-29 Yao Qi <yao@codesourcery.com>
21300
21301 * gdb.base/fileio.c (test_write): Close the file.
21302
21303 2014-10-28 Pedro Alves <palves@redhat.com>
21304
21305 PR gdb/12623
21306 * gdb.base/sigstep.c (no_handler): New global.
21307 (main): If 'no_handler is true, set the signal handlers to
21308 SIG_IGN.
21309 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21310 with_sw_watch and no_handler parameters. Handle them.
21311 (top level) <stepping over handler when stopped at a breakpoint
21312 test>: Add a test axis for testing with a software watchpoint, and
21313 another for testing with the signal handler set to SIG_IGN.
21314 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21315 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21316
21317 2014-10-28 Pedro Alves <palves@redhat.com>
21318
21319 PR gdb/17511
21320 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21321 * gdb.base/sigstep.exp (other_handler_location): New global.
21322 (advance): Support stepping into the signal handler, and running
21323 commands while in the handler.
21324 (in_handler_map): New global.
21325 (top level): In the advance test, add combinations for getting
21326 into the handler with stepping commands, and for running commands
21327 in the handler. Add comment descripting the advancei tests.
21328
21329 2014-10-28 Pedro Alves <palves@redhat.com>
21330
21331 * gdb.base/sigstep.exp: Use build_executable instead of
21332 prepare_for_testing.
21333 (top level): Move code that starts GDB, runs to main and creates a
21334 display to ...
21335 (restart): ... this new procedure.
21336 (top level): Move backtrace from signal handler test to ...
21337 (validate_backtrace): ... this new procedure.
21338 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21339 with_test_prefix. Always restart GDB.
21340 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21341 with_test_prefix. Always restart GDB. No need to delete
21342 breakpoints after the test.
21343 (test_skip_handler): Remove prefix parameter.
21344 (skip_over_handler, breakpoint_to_handler)
21345 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21346 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21347 restart GDB. No need to delete breakpoints after the test.
21348 (top level): Use foreach to call the test procedures with
21349 different commands.
21350
21351 2014-10-28 Pedro Alves <palves@redhat.com>
21352
21353 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21354 instead of GNATS numbers.
21355 * gdb.base/sigbpt.exp: Likewise.
21356 * gdb.base/siginfo.exp: Likewise.
21357 * gdb.base/sigstep.exp: Likewise.
21358
21359 2014-10-27 Pedro Alves <palves@redhat.com>
21360
21361 * gdb.base/sigstep.c (dummy): New global.
21362 (main): Issue a couple writes to the new global.
21363 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21364 procedures.
21365 (skip_over_handler): Use test_skip_handler.
21366 (top level): Call skip_over_handler for stepi and nexti too.
21367 (breakpoint_over_handler): Use test_skip_handler.
21368 (top level): Call breakpoint_over_handler for stepi and nexti too.
21369
21370 2014-10-27 Yao Qi <yao@codesourcery.com>
21371
21372 * gdb.trace/tfile.c (adjust_function_address)
21373 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21374 function descriptor.
21375
21376 2014-10-24 Don Breazeal <donb@codesourcery.com>
21377
21378 * gdb.base/foll-fork.exp (test_follow_fork,
21379 catch_fork_child_follow): Check for updated fork messages emitted
21380 from infrun.c.
21381 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21382 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21383 vfork_and_exec_child_follow_through_step): Check for updated vfork
21384 messages emitted from infrun.c.
21385
21386 2014-10-24 Pedro Alves <palves@redhat.com>
21387
21388 * gdb.base/corefile.exp: Remove references to ultrix.
21389 * gdb.base/interrupt.exp: Likewise.
21390 * gdb.base/whatis.exp: Likewise.
21391 * gdb.gdb/selftest.exp: Likewise.
21392 * gdb.threads/manythreads.exp: Likewise.
21393 * gdb.threads/print-threads.exp: Likewise.
21394 * gdb.threads/pthreads.exp:: Likewise.
21395 * gdb.threads/schedlock.exp: Likewise.
21396
21397 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21398
21399 * gdb.cp/non-trivial-retval.cc: Add a test case.
21400 * gdb.cp/non-trivial-retval.exp: Add a test.
21401
21402 2014-10-20 Yao Qi <yao@codesourcery.com>
21403
21404 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21405 * gdb.python/py-objfile-script-gdb.py: New file.
21406 * gdb.python/py-objfile-script.exp: Update reference to
21407 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21408 of remote_download. Remove the dest file.
21409
21410 2014-10-20 Yao Qi <yao@codesourcery.com>
21411
21412 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21413 * gdb.base/step-line.exp: Likewise.
21414 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21415 * gdb.dwarf2/dw2-basic.exp: Likewise.
21416 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21417 * gdb.dwarf2/dw2-filename.exp: Likewise.
21418 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21419 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21420 * gdb.dwarf2/dw2-producer.exp: Likewise.
21421 * gdb.dwarf2/mac-fileno.exp: Likewise.
21422 * gdb.python/py-frame-args.exp: Likewise.
21423 * gdb.python/py-framefilter.exp: Likewise.
21424 * gdb.python/py-mi.exp: Likewise.
21425 * gdb.python/py-objfile-script.exp: Likewise
21426 * gdb.python/py-pp-integral.exp: Likewise.
21427 * gdb.python/py-pp-re-notag.exp: Likewise.
21428 * gdb.python/py-prettyprint.exp: Likewise.
21429 * gdb.python/py-section-script.exp: Likewise.
21430 * gdb.python/py-typeprint.exp: Likewise.
21431 * gdb.python/py-xmethods.exp: Likewise.
21432 * gdb.stabs/weird.exp: Likewise.
21433 * gdb.xml/tdesc-regs.exp: Likewise.
21434
21435 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21436
21437 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21438 (out_cu): Use addr_len for the size of addresses.
21439 (out_line): Likewise. Size DW_LNE_set_address instruction
21440 according to addr_len.
21441 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21442 (FUNC): Add START_INSNS to definition.
21443
21444 2014-10-18 Yao Qi <yao@codesourcery.com>
21445
21446 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21447 gdb_has_argv0 return true.
21448 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21449 check [target_info exists noargs], check [gdb_has_argv0]
21450 instead.
21451 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21452 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21453 procedures.
21454
21455 2014-10-17 Doug Evans <dje@google.com>
21456
21457 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21458 event.
21459 * gdb.python/py-events.py: Add clear_objfiles event.
21460
21461 2014-10-17 Doug Evans <dje@google.com>
21462
21463 * gdb.python/py-objfile.exp: Test progspace attribute.
21464
21465 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
21466
21467 * gdb.guile/scm-breakpoint.exp: Do not assume any
21468 directory separators when matching source file paths.
21469 * gdb.python/py-breakpoint.exp: Likewise.
21470 * gdb.reverse/break-precsave.exp: Likewise.
21471 * gdb.reverse/break-reverse.exp: Likewise.
21472 * gdb.reverse/consecutive-precsave.exp: Likewise.
21473 * gdb.reverse/finish-precsave.exp: Likewise.
21474 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21475 * gdb.reverse/finish-reverse.exp: Likewise.
21476 * gdb.reverse/i386-precsave.exp: Likewise.
21477 * gdb.reverse/i387-env-reverse.exp: Likewise.
21478 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21479 * gdb.reverse/machinestate-precsave.exp: Likewise.
21480 * gdb.reverse/machinestate.exp: Likewise.
21481 * gdb.reverse/sigall-precsave.exp: Likewise.
21482 * gdb.reverse/solib-precsave.exp: Likewise.
21483 * gdb.reverse/step-precsave.exp: Likewise.
21484 * gdb.reverse/until-precsave.exp: Likewise.
21485 * gdb.reverse/watch-precsave.exp: Likewise.
21486 * gdb.reverse/watch-reverse.exp: Likewise.
21487
21488 2014-10-17 Yao Qi <yao@codesourcery.com>
21489
21490 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21491 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21492
21493 2014-10-17 Pedro Alves <palves@redhat.com>
21494
21495 PR gdb/17471
21496 * gdb.base/bg-execution-repeat.c: New file.
21497 * gdb.base/bg-execution-repeat.exp: New file.
21498
21499 2014-10-17 Pedro Alves <palves@redhat.com>
21500
21501 PR gdb/17300
21502 * gdb.base/continue-all-already-running.c: New file.
21503 * gdb.base/continue-all-already-running.exp: New file.
21504
21505 2014-10-17 Pedro Alves <palves@redhat.com>
21506
21507 PR gdb/17472
21508 * gdb.base/annota-input-while-running.c: New file.
21509 * gdb.base/annota-input-while-running.exp: New file.
21510
21511 2014-10-17 Pedro Alves <palves@redhat.com>
21512
21513 * gdb.base/callfuncs.exp: emove references to osf.
21514 * gdb.base/sigall.exp: Likewise.
21515 * gdb.gdb/selftest.exp: Likewise.
21516 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21517 * gdb.mi/non-stop.c: Likewise.
21518 * gdb.mi/pthreads.c: Likewise.
21519 * gdb.reverse/sigall-precsave.exp: Likewise.
21520 * gdb.reverse/sigall-reverse.exp: Likewise.
21521 * gdb.threads/pthreads.c: Likewise.
21522 * gdb.threads/pthreads.exp: Likewise.
21523
21524 2014-10-17 Yao Qi <yao@codesourcery.com>
21525
21526 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21527 check 'target_info exists noargs'.
21528 (test_command_prompt_position): Likewise.
21529 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21530 Remove "set args".
21531 (progvar_simple_while_test): Likewise.
21532 (progvar_complex_if_while_test): Likewise.
21533 (if_while_breakpoint_command_test): Likewise.
21534 (infrun_breakpoint_command_test): Likewise.
21535 (breakpoint_command_test): Likewise.
21536 (watchpoint_command_test): Likewise.
21537 (bp_deleted_in_command_test): Likewise.
21538 (temporary_breakpoint_commands): Likewise.
21539
21540 2014-10-16 Yao Qi <yao@codesourcery.com>
21541
21542 * gdb.base/remotetimeout.exp: Remove noargs checking.
21543
21544 2014-10-15 Pedro Alves <palves@redhat.com>
21545
21546 PR breakpoints/9649
21547 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21548 * gdb.base/breakpoint-in-ro-region.exp
21549 (probe_target_hardware_step): New procedure.
21550 (top level): Probe hardware stepping and hardware breakpoint
21551 support. Test stepping through a read-only region, with both
21552 "breakpoint auto-hw" on and off and both "always-inserted" on and
21553 off.
21554
21555 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21556
21557 * gdb.dlang/demangle.exp: Update for demangling changes.
21558
21559 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21560
21561 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21562 * gdb.cp/non-trivial-retval.exp: Add new tests.
21563
21564 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21565
21566 PR c++/13403
21567 PR c++/15154
21568 * gdb.cp/non-trivial-retval.cc: New file.
21569 * gdb.cp/non-trivial-retval.exp: New file.
21570
21571 2014-10-15 Yao Qi <yao@codesourcery.com>
21572
21573 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21574 remote host.
21575
21576 2014-10-15 Yao Qi <yao@codesourcery.com>
21577
21578 * gdb.python/py-symbol.exp: Match file base name if host is
21579 remote, otherwise match file name with dir name.
21580 * gdb.python/py-symtab.exp: Likewise.
21581 * gdb.python/python.exp: Likewise.
21582
21583 2014-10-15 Yao Qi <yao@codesourcery.com>
21584
21585 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21586 pattern.
21587 * gdb.python/py-symtab.exp: Likewise.
21588 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21589 locationn.
21590
21591 2014-10-14 Joel Brobecker <brobecker@adacore.com>
21592
21593 * gdb.ada/addr_arith: New testcase.
21594
21595 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21596
21597 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21598 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21599 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21600 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21601
21602 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21603
21604 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21605 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21606 * gdb.arch/stap-eval-lang-ada.exp: New file.
21607
21608 2014-10-14 Yao Qi <yao@codesourcery.com>
21609
21610 * gdb.mi/mi-var-child.c (nothing1): New function.
21611 (nothing2): New function.
21612 (do_children_tests): Set function pointers by nothing1 and
21613 nothing2.
21614 * gdb.mi/mi-var-child.exp: Step over new added statements.
21615 Update test to match the new output.
21616 * gdb.mi/var-cmd.c (nothing1): New function.
21617 (nothing2): New function.
21618 (do_children_tests): Set function pointers by nothing1 and
21619 nothing2.
21620 * gdb.mi/mi-var-display.exp: Update test to match output.
21621 Step to the line specified by $line_dct_nothing.
21622 Increase the number of lines to step.
21623
21624 2014-10-14 Yao Qi <yao@codesourcery.com>
21625
21626 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21627 tests.
21628 * gdb.mi/mi2-var-child.exp: Likewise.
21629
21630 2014-10-13 Doug Evans <dje@google.com>
21631
21632 * gdb.python/py-objfile.exp: Change name of file name test.
21633
21634 2014-10-13 Doug Evans <dje@google.com>
21635
21636 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21637 from the start of the CU.
21638
21639 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21640 Yao Qi <yao@codesourcery.com>
21641
21642 Fix "save breakpoints" for "catch" command.
21643 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21644 Remove -nonewline. Match also the added "main" line.
21645
21646 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21647
21648 Fix "save breakpoints" for "disable $bpnum" command.
21649 * gdb.base/save-bp.c (main): Add label.
21650 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21651
21652 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21653
21654 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21655
21656 2014-10-11 Yao Qi <yao@codesourcery.com>
21657
21658 * gdb.server/server-kill.exp: Execute command
21659 "set remote trace-status-packet on" before "tstatus".
21660
21661 2014-10-11 Yao Qi <yao@codesourcery.com>
21662
21663 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21664 (main): Call getppid.
21665 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21666 and continue to it. Read variable "server_pid".
21667
21668 2014-10-11 Yao Qi <yao@codesourcery.com>
21669
21670 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21671
21672 2014-10-11 Yao Qi <yao@codesourcery.com>
21673
21674 * gdb.threads/thread-find.exp: Don't execute command
21675 "info threads".
21676 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21677 * gdb.threads/linux-dp.exp: Don't check the condition
21678 $threads_created equals to zero.
21679
21680 2014-10-10 Pedro Alves <palves@redhat.com>
21681
21682 * gdb.base/bigcore.exp: Remove references to IRIX.
21683 * gdb.base/funcargs.exp: Likewise.
21684 * gdb.base/interrupt.exp: Likewise.
21685 * gdb.base/mips_pro.exp: Likewise.
21686 * gdb.base/nodebug.exp: Likewise.
21687 * gdb.base/setvar.exp: Likewise.
21688 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21689
21690 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21691 Pedro Alves <palves@redhat.com>
21692
21693 PR symtab/14466
21694 * gdb.base/vdso-warning.c: New file.
21695 * gdb.base/vdso-warning.exp: New file.
21696
21697 2014-10-02 Doug Evans <dje@google.com>
21698
21699 * gdb.base/structs.c (main): Don't run forever.
21700
21701 2014-10-02 Pedro Alves <palves@redhat.com>
21702
21703 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21704 (top level) <stop threads 1, stop threads 2>: Use it.
21705
21706 2014-10-02 Pedro Alves <palves@redhat.com>
21707
21708 * gdb.threads/break-while-running.exp (test): Add new
21709 'update_thread_list' argument. Skip "info threads" if false.
21710 (top level): Add new 'update_thread_list' axis.
21711
21712 2014-10-02 Pedro Alves <palves@redhat.com>
21713
21714 PR breakpoints/17431
21715 * gdb.base/execl-update-breakpoints.c: New file.
21716 * gdb.base/execl-update-breakpoints.exp: New file.
21717
21718 2014-10-01 Pedro Alves <palves@redhat.com>
21719
21720 * gdb.base/breakpoint-in-ro-region.c: New file.
21721 * gdb.base/breakpoint-in-ro-region.exp: New file.
21722
21723 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21724
21725 * gdb.mi/mi-exit-code.exp: New file.
21726 * gdb.mi/mi-exit-code.c: New file.
21727
21728 2014-09-30 Yao Qi <yao@codesourcery.com>
21729
21730 * lib/prelink-support.exp (build_executable_own_libs): Error if
21731 the target isn't native.
21732
21733 2014-09-30 Yao Qi <yao@codesourcery.com>
21734
21735 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21736 false.
21737
21738 2014-09-22 Pedro Alves <palves@redhat.com>
21739
21740 * gdb.threads/break-while-running.exp: New file.
21741 * gdb.threads/break-while-running.c: New file.
21742
21743 2014-09-19 Yao Qi <yao@codesourcery.com>
21744
21745 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21746 Invoke test. Restart GDB with --readnow and invoke test again.
21747
21748 2014-09-19 Yao Qi <yao@codesourcery.com>
21749
21750 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21751 proc set_breakpoint_on_gcd_function. Invoke
21752 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21753 invoke set_breakpoint_on_gcd_function again.
21754
21755 2014-09-18 Doug Evans <dje@google.com>
21756
21757 * gdb.dwarf2/symtab-producer.exp: New file.
21758
21759 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21760
21761 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21762 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21763 * gdb.base/global-var-nested-by-dso.c: Likewise.
21764 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21765
21766 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21767 Pedro Alves <palves@redhat.com>
21768
21769 * gdb.base/watch-bitfields.exp: Pass string other than test file
21770 name to prepare_for_testing.
21771 (watch): New procedure.
21772 (expect_watchpoint): Use with_test_prefix.
21773 (top level): Factor out tests to ...
21774 (test_watch_location, test_regular_watch): ... these new
21775 procedures, and use with_test_prefix and gdb_continue_to_end.
21776
21777 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21778
21779 PR breakpoints/12526
21780 * gdb.base/watch-bitfields.exp: New file.
21781 * gdb.base/watch-bitfields.c: New file.
21782
21783 2014-09-16 Pedro Alves <palves@redhat.com>
21784
21785 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21786 software and hardware addresses, not software address against
21787 itself.
21788
21789 2014-09-16 Pedro Alves <palves@redhat.com>
21790
21791 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21792 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21793
21794 2014-09-16 Pedro Alves <palves@redhat.com>
21795
21796 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21797 files.
21798 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21799 "*-*-vxworks*" throughout.
21800 * gdb.base/break.exp: Likewise.
21801 * gdb.base/default.exp: Likewise.
21802 * gdb.base/scope.exp: Likewise.
21803 * gdb.base/sepdebug.exp: Likewise.
21804 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21805 throughout.
21806 * gdb.base/run.c: Likewise.
21807 * gdb.base/sepdebug.c: Likewise.
21808 * gdb.hp/gdb.aCC/run.c: Likewise.
21809 * gdb.reverse/until-reverse.c: Likewise.
21810 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21811
21812 2014-09-16 Yao Qi <yao@codesourcery.com>
21813
21814 * boards/local-remote-host-native.exp: New file.
21815
21816 2014-09-14 Doug Evans <xdje42@gmail.com>
21817
21818 * gdb.threads/queue-signal.c (thread_count): New variable.
21819 (thread_count_mutex, thread_count_condvar): New variables.
21820 (incr_thread_count, wait_all_threads_running): New functions.
21821 (main): Wait for all threads to be in their thread functions.
21822
21823 2014-09-13 Doug Evans <xdje42@gmail.com>
21824
21825 * gdb.threads/queue-signal.c: New file.
21826 * gdb.threads/queue-signal.exp: New file.
21827
21828 2014-09-13 Doug Evans <xdje42@gmail.com>
21829
21830 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21831 be consistent with what default_gdb_init uses.
21832 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21833 the plain text of the prompt. Add some logging printfs.
21834 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21835
21836 2014-09-12 Pedro Alves <palves@redhat.com>
21837
21838 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21839 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21840 * gdb.arch/i386-size-overlap.exp: Likewise.
21841 * gdb.arch/i386-size.exp: Likewise.
21842 * gdb.arch/i386-unwind.exp: Likewise.
21843 * gdb.base/a2-run.exp: Likewise.
21844 * gdb.base/break.exp: Likewise.
21845 * gdb.base/charset.exp: Likewise.
21846 * gdb.base/chng-syms.exp: Likewise.
21847 * gdb.base/commands.exp: Likewise.
21848 * gdb.base/dbx.exp: Likewise.
21849 * gdb.base/find.exp: Likewise.
21850 * gdb.base/funcargs.exp: Likewise.
21851 * gdb.base/jit-simple.exp: Likewise.
21852 * gdb.base/reread.exp: Likewise.
21853 * gdb.base/sepdebug.exp: Likewise.
21854 * gdb.base/step-bt.exp: Likewise.
21855 * gdb.cp/mb-inline.exp: Likewise.
21856 * gdb.cp/mb-templates.exp: Likewise.
21857 * gdb.objc/basicclass.exp: Likewise.
21858 * gdb.threads/killed.exp: Likewise.
21859
21860 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21861
21862 PR tdep/17379
21863 * gdb.arch/powerpc-stackless.S: New file.
21864 * gdb.arch/powerpc-stackless.exp: New file.
21865
21866 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21867
21868 * gdb.base/attach.c: Include unistd.h.
21869 (main): Call alarm. Add label postloop.
21870 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21871 gdb_breakpoint, gdb_continue_to_breakpoint.
21872 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21873
21874 2014-09-11 Pedro Alves <palves@redhat.com>
21875
21876 PR gdb/17347
21877 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21878 * gdb.base/attach.exp (test_command_line_attach_run): New
21879 procedure.
21880 (top level): Call it.
21881
21882 2014-09-11 Pedro Alves <palves@redhat.com>
21883
21884 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21885 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21886 (do_command_attach_tests): Use spawn_wait_for_attach.
21887 * gdb.base/solib-overlap.exp: Likewise.
21888 * gdb.multi/multi-attach.exp: Likewise.
21889 * gdb.python/py-prompt.exp: Likewise.
21890 * gdb.python/py-sync-interp.exp: Likewise.
21891 * gdb.server/ext-attach.exp: Likewise.
21892
21893 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21894
21895 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21896 command in testcase. Simplify testcase.
21897
21898 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21899
21900 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21901
21902 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21903
21904 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21905
21906 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21907
21908 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21909
21910 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21911
21912 * gdb.dwarf2/dynarr-ptr.c: New file.
21913 * gdb.dwarf2/dynarr-ptr.exp: New file.
21914
21915 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21916
21917 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21918 of 30 rather than hardcoding 120 for a slow test case. Take the
21919 `gdb,timeout' target setting into account for this calculation.
21920 Don't extend the timeout for the test cases that don't need it.
21921
21922 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21923
21924 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21925 a factor of 2 for a slow test case. Take the `gdb,timeout'
21926 target setting into account for this calculation.
21927 * gdb.reverse/until-precsave.exp: Increase the timeout by
21928 a factor of 15 and 3 respectively rather than adding 120
21929 for a pair of slow test cases. Take the `gdb,timeout'
21930 target setting into account for this calculation.
21931
21932 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21933
21934 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21935 timeout, don't pass one down to gdb_expect.
21936 (gdb_expect): Rework timeout selection.
21937
21938 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21939
21940 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21941 exception on timeout.
21942 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21943 (gdbserver_start_extended): Catch any `gdbserver_start' error
21944 exceptions.
21945 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21946 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21947 `gdbserver_gdb_load' error exceptions.
21948
21949 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21950
21951 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21952 120 on waiting for the TCP socket to open.
21953
21954 2014-09-09 Doug Evans <xdje42@gmail.com>
21955
21956 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21957 _caller_matches, _any_caller_is, _any_caller_matches.
21958
21959 2014-09-09 Doug Evans <xdje42@gmail.com>
21960
21961 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21962
21963 2014-09-09 Yao Qi <yao@codesourcery.com>
21964
21965 * gdb.mi/mi-var-display.exp: Set print symbol off.
21966
21967 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21968
21969 PR gdb/17035
21970 * gdb.base/commands.exp: Add tests to verify user-defined
21971 commands with empty bodies.
21972 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21973 python commands in `show user command`.
21974 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21975 scheme commands in `show user command`.
21976
21977 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21978
21979 PR python/17355
21980 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21981 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21982 * gdb.python/py-framefilter-invalidarg.exp: New file.
21983 * gdb.python/py-framefilter-invalidarg.py: New file.
21984
21985 2014-09-06 Doug Evans <xdje42@gmail.com>
21986
21987 PR 15276
21988 * gdb.python/py-caller-is.c: New file.
21989 * gdb.python/py-caller-is.exp: New file.
21990
21991 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21992
21993 PR gdb/17235
21994 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21995 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21996
21997 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21998
21999 PR fortran/17237
22000 * gdb.fortran/print-formatted.exp: New file.
22001 * gdb.fortran/print-formatted.f90: Likewise.
22002
22003 2014-09-03 Sasha Smundak <asmundak@google.com>
22004
22005 * gdb.python/py-frame.exp: Test Frame.read_register.
22006
22007 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22008
22009 PR python/16699
22010 * gdb.python/py-completion.exp: New file.
22011 * gdb.python/py-completion.py: Likewise.
22012
22013 2014-08-28 Doug Evans <dje@google.com>
22014
22015 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22016 eax,etc. are live with values set by gdb and thus the compiler can't
22017 use them.
22018 * gdb.arch/i386-pseudo.c (main): Ditto.
22019
22020 2014-08-27 Doug Evans <dje@google.com>
22021
22022 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22023
22024 2014-08-25 Doug Evans <dje@google.com>
22025
22026 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22027 (main): Ditto.
22028
22029 2014-08-25 Doug Evans <dje@google.com>
22030
22031 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22032
22033 2014-08-24 Yao Qi <yao@codesourcery.com>
22034
22035 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22036 symbol off.
22037 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22038
22039 2014-08-22 Doug Evans <dje@google.com>
22040
22041 PR 17276
22042 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22043 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22044 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22045
22046 2014-08-22 Yao Qi <yao@codesourcery.com>
22047
22048 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22049 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22050 * gdb.python/python.exp: Likewise. Use .py file on the host
22051 instead of the build.
22052
22053 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22054
22055 * gdb.threads/gcore-stale-thread.c: New file.
22056 * gdb.threads/gcore-stale-thread.exp: New file.
22057
22058 2014-08-21 Pedro Alves <palves@redhat.com>
22059
22060 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22061 * gdb.base/gcore-relro-pie.exp: Likewise.
22062 * gdb.base/gcore-relro.exp: Likewise.
22063 * gdb.base/gcore.exp: Likewise.
22064 * gdb.base/print-symbol-loading.exp: Likewise.
22065 * gdb.threads/gcore-thread.exp: Likewise.
22066 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22067
22068 2014-08-20 Pedro Alves <palves@redhat.com>
22069 Jan Kratochvil <jan.kratochvil@redhat.com>
22070
22071 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22072 configure.
22073 (EXPECT): Handle READ1 being set.
22074 (all): Depend on EXTRA_RULES.
22075 (check-read1, expect-read1, read1.so, read1): New rules.
22076 * README (Testsuite Parameters): Document the READ1 make variable.
22077 (Race detection): New section.
22078 * configure: Regenerate.
22079 * configure.ac: If build==host==target, and running under a
22080 GNU/glibc system, add read1 to the extra Makefile rules.
22081 (EXTRA_RULES): AC_SUBST it.
22082 * lib/read1.c: New file.
22083
22084 2014-08-20 Joel Brobecker <brobecker@adacore.com>
22085
22086 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22087 the handling of variables declared as a typedef to an array
22088 which a DW_AT_data_location attribute.
22089
22090 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
22091 Pedro Alves <palves@redhat.com>
22092
22093 PR symtab/14604
22094 PR symtab/14605
22095 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22096 gdb_test.
22097
22098 2014-08-19 Pedro Alves <palves@redhat.com>
22099
22100 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22101
22102 2014-08-19 Yao Qi <yao@codesourcery.com>
22103
22104 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22105 right line.
22106
22107 2014-08-18 David Blaikie <dblaikie@gmail.com>
22108
22109 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22110
22111 2014-08-18 Joel Brobecker <brobecker@adacore.com>
22112
22113 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22114 attribute in array range.
22115
22116 2014-08-18 Joel Brobecker <brobecker@adacore.com>
22117
22118 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22119
22120 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22121
22122 PR c++/17132
22123 * gdb.cp/pr17132.cc: New file.
22124 * gdb.cp/pr17132.exp: New file.
22125
22126 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22127
22128 * gdb.python/py-xmethods.py (A_getarrayind)
22129 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22130 Use 'print' with function call syntax.
22131 (E_method_matcher.match): Fix tab vs space indentation mixup.
22132
22133 2014-08-15 Yao Qi <yao@codesourcery.com>
22134
22135 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22136 false.
22137
22138 2014-08-15 Yao Qi <yao@codesourcery.com>
22139
22140 * gdb.cp/casts.exp: Set print symbol off.
22141 * gdb.cp/class2.exp: Likewise.
22142 * gdb.cp/overload.exp: Likewise.
22143 * gdb.cp/templates.exp: Likewise.
22144
22145 2014-08-11 Doug Evans <dje@google.com>
22146
22147 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22148 (test_load_shlib): Update.
22149
22150 2014-08-09 Yao Qi <yao@codesourcery.com>
22151
22152 * gdb.base/display.exp: Invoke is_address_zero_readable.
22153 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22154 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22155 * gdb.base/hbreak-unmapped.exp: Return if
22156 is_address_zero_readable returns true.
22157 * gdb.base/signest.exp: Likewise.
22158 * gdb.base/signull.exp: Likewise.
22159 * gdb.base/sigbpt.exp: Likewise.
22160 * gdb.guile/scm-disasm.exp: Do the test if
22161 is_address_zero_readable returns false.
22162 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22163 * gdb.python/py-arch.exp: Likewise.
22164 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22165 * lib/gdb.exp (is_address_zero_readable): New proc.
22166
22167 2014-08-09 Yao Qi <yao@codesourcery.com>
22168
22169 PR testsuite/13443
22170 * gdb.mi/mi-var-display.exp: Make test messages unique.
22171
22172 2014-08-04 Tom Tromey <tromey@redhat.com>
22173
22174 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22175 target 0".
22176
22177 2014-08-04 Tom Tromey <tromey@redhat.com>
22178
22179 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22180 "target_resume".
22181
22182 2014-08-01 Joel Brobecker <brobecker@adacore.com>
22183
22184 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22185 inner_vla_struct_object_size.
22186 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22187 as xfail.
22188
22189 2014-07-30 Pedro Alves <palves@redhat.com>
22190
22191 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22192 comment.
22193
22194 2014-07-29 Yao Qi <yao@codesourcery.com>
22195
22196 PR gdb/17206
22197 * gdb.base/until-nodebug.exp: New.
22198
22199 2014-07-28 Doug Evans <xdje42@gmail.com>
22200
22201 PR guile/17203
22202 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22203 previously existing parameter, and previously ambiguously spelled
22204 parameter.
22205
22206 2014-07-28 Will Newton <will.newton@linaro.org>
22207
22208 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22209
22210 2014-07-26 Ludovic Courtès <ludo@gnu.org>
22211 Doug Evans <xdje42@gmail.com>
22212
22213 PR guile/17146
22214 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22215
22216 2014-07-25 Pedro Alves <palves@redhat.com>
22217
22218 * gdb.threads/signal-command-handle-nopass.c: New file.
22219 * gdb.threads/signal-command-handle-nopass.exp: New file.
22220 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22221 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22222 * gdb.threads/signal-delivered-right-thread.c: New file.
22223 * gdb.threads/signal-delivered-right-thread.exp: New file.
22224
22225 2014-07-25 Pedro Alves <palves@redhat.com>
22226
22227 * gdb.base/double-prompt-target-event-error.exp
22228 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22229 match.
22230 (cancel_pagination_in_target_event): Rework double prompt
22231 detection.
22232 * gdb.base/paginate-after-ctrl-c-running.exp
22233 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22234 <return>' match.
22235 * gdb.base/paginate-bg-execution.exp
22236 (test_bg_execution_pagination_return)
22237 (test_bg_execution_pagination_cancel): Remove '-notransfer
22238 <return>' matches.
22239 * gdb.base/paginate-execution-startup.exp
22240 (test_fg_execution_pagination_return)
22241 (test_fg_execution_pagination_cancel): Remove '-notransfer
22242 <return>' matches.
22243 * gdb.base/paginate-inferior-exit.exp
22244 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22245 match.
22246 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22247 * lib/gdb.exp (pagination_prompt): Run text through
22248 string_to_regexp.
22249 (gdb_test_multiple): Match $pagination_prompt instead of
22250 "<return>".
22251 (string_to_regexp): Move to lib/gdb-utils.exp.
22252
22253 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22254
22255 * gdb.arch/amd64-entry-value-paramref.S: New file.
22256 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22257 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22258 * gdb.arch/amd64-optimout-repeat.S: New file.
22259 * gdb.arch/amd64-optimout-repeat.c: New file.
22260 * gdb.arch/amd64-optimout-repeat.exp: New file.
22261
22262 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22263
22264 PR gdb/17170
22265 * gdb.base/statistics.exp: New file.
22266
22267 2014-07-17 Doug Evans <dje@google.com>
22268
22269 PR gdb/17170
22270 * gdb.base/maint.exp: Update testing of per-command stats.
22271
22272 2014-07-16 Pedro Alves <palves@redhat.com>
22273
22274 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22275 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22276 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22277 (tfile_write_buf): New functions.
22278 (add_memory_block): Rewrite using the above.
22279 (adjust_function_address): New function.
22280 (FUNCTION_ADDRESS): New macro.
22281 (write_basic_trace_file): Remove short_x local, and use
22282 tfile_write_16. Change type of func_addr local to unsigned long
22283 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22284 here. Cast argument of add_memory_block to char pointer.
22285 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22286 (main): Remove parameters.
22287 * gdb.trace/tfile.exp: Remove nowarnings.
22288
22289 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22290
22291 * gdb.base/debug-expr.exp: Test string evaluation with
22292 "debug expression" on.
22293
22294 2014-07-15 Pedro Alves <palves@redhat.com>
22295
22296 * gdb.base/reread.exp: Use clean_restart.
22297
22298 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22299
22300 * gdb.arch/avr-flash-qualifer.c: New.
22301 * gdb.arch/avr-flash-qualifer.exp: New.
22302
22303 2014-07-14 Pedro Alves <palves@redhat.com>
22304
22305 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22306 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22307
22308 2014-07-14 Pedro Alves <palves@redhat.com>
22309
22310 * gdb.base/double-prompt-target-event-error.c: New file.
22311 * gdb.base/double-prompt-target-event-error.exp: New file.
22312
22313 2014-07-14 Pedro Alves <palves@redhat.com>
22314
22315 PR gdb/17072
22316 * gdb.base/paginate-inferior-exit.c: New file.
22317 * gdb.base/paginate-inferior-exit.exp: New file.
22318
22319 2014-07-14 Pedro Alves <palves@redhat.com>
22320
22321 PR gdb/17072
22322 * gdb.base/paginate-bg-execution.c: New file.
22323 * gdb.base/paginate-bg-execution.exp: New file.
22324
22325 2014-07-14 Pedro Alves <palves@redhat.com>
22326
22327 PR gdb/17072
22328 * gdb.base/paginate-execution-startup.c: New file.
22329 * gdb.base/paginate-execution-startup.exp: New file.
22330 * lib/gdb.exp (pagination_prompt): New global.
22331 (default_gdb_spawn): New procedure, factored out from
22332 default_gdb_spawn.
22333 (default_gdb_start): Adjust to call default_gdb_spawn.
22334 (gdb_spawn): New procedure.
22335
22336 2014-07-14 Pedro Alves <palves@redhat.com>
22337
22338 * lib/gdb.exp (gdb_assert): New procedure.
22339 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22340
22341 2014-07-14 Pedro Alves <palves@redhat.com>
22342
22343 * gdb.base/execution-termios.c: New file.
22344 * gdb.base/execution-termios.exp: New file.
22345
22346 2014-07-14 Tom Tromey <tromey@redhat.com>
22347
22348 * gdb.cp/vla-cxx.cc: New file.
22349 * gdb.cp/vla-cxx.exp: New file.
22350
22351 2014-07-14 Tom Tromey <tromey@redhat.com>
22352
22353 * gdb.reverse/rerun-prec.c: New file.
22354 * gdb.reverse/rerun-prec.exp: New file.
22355
22356 2014-07-12 Maciej W. Rozycki <macro@mips.com>
22357 Maciej W. Rozycki <macro@codesourcery.com>
22358
22359 * lib/gdb-utils.exp: New file.
22360 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22361 inline `gdb_init_command' processing.
22362 (gdb_start_cmd): Likewise.
22363 * lib/mi-support.exp (mi_run_cmd): Likewise.
22364 * README: Document `gdb_init_command' and `gdb_init_commands'.
22365
22366 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22367
22368 Fix false FAIL running under a very long directory name.
22369 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22370 and "set print elements 10000". Twice.
22371
22372 2014-07-11 Yao Qi <yao@codesourcery.com>
22373
22374 * gdb.base/exprs.exp: "set print symbol off".
22375
22376 2014-07-11 Pedro Alves <palves@redhat.com>
22377
22378 * gdb.threads/kill.c: New file.
22379 * gdb.threads/kill.exp: New file.
22380
22381 2014-07-10 Yao Qi <yao@codesourcery.com>
22382
22383 * gdb.trace/tfile.c (write_basic_trace_file)
22384 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22385 address written to trace file.
22386
22387 2014-07-09 Pedro Alves <palves@redhat.com>
22388
22389 * gdb.base/attach-wait-input.exp: New file.
22390 * gdb.base/attach-wait-input.c: New file.
22391
22392 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22393
22394 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22395 setting up test structures.
22396 (main): Call new test function.
22397 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22398 test function, continue into test function and walk test
22399 structures.
22400
22401 2014-07-02 Yao Qi <yao@codesourcery.com>
22402
22403 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22404 'bar_start' at the beginning of functions 'foo' and 'bar'
22405 respectively.
22406 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22407 instead of 'foo' and 'bar'.
22408
22409 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22410
22411 * gdb.btrace/segv.exp: New.
22412 * gdb.btrace/segv.c: New.
22413
22414 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
22415
22416 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22417 instruction.
22418
22419 2014-06-30 Mark Wielaard <mjw@redhat.com>
22420
22421 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22422 vulture, vilify, villar): New volatile array constants.
22423 (vindictive, vegetation): New const volatile array constants.
22424 * gdb.base/volatile.exp: Test volatile and const volatile array
22425 types.
22426
22427 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22428
22429 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22430 target lacks support for awatch, rwatch, or hbreak.
22431
22432 2014-06-27 Yao Qi <yao@codesourcery.com>
22433
22434 * gdb.multi/dummy-frame-restore.exp: New.
22435 * gdb.multi/dummy-frame-restore.c: New.
22436
22437 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22438
22439 * gdb.btrace/gcore.exp: New.
22440
22441 2014-06-23 Pedro Alves <palves@redhat.com>
22442
22443 * gdb.base/watchpoint-reuse-slot.c: New file.
22444 * gdb.base/watchpoint-reuse-slot.exp: New file.
22445
22446 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22447
22448 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22449 progspace's filename in 'info', 'enable' and 'disable' command
22450 tests.
22451
22452 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22453
22454 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22455 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22456 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22457
22458 2014-06-20 Gary Benson <gbenson@redhat.com>
22459
22460 * gdb.arch/i386-avx.exp: Fix include file location.
22461 * gdb.arch/i386-sse.exp: Likewise.
22462
22463 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22464
22465 * gdb.dlang/expression.exp: New file.
22466
22467 2014-06-19 Pedro Alves <palves@redhat.com>
22468
22469 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22470 out from ...
22471 (top level): ... here. Iterate running tests under different
22472 scheduler-locking settings.
22473
22474 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
22475
22476 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22477 to DW_FORM_addr and use non-zero addresses.
22478
22479 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22480
22481 PR gdb/17017
22482 * gdb.python/py-xmethods.cc: Add global function call counters and
22483 increment them in their respective functions. Remove "cout"
22484 statements.
22485 * gdb.python/py-xmethods.exp: Make tests check the global function
22486 call counters instead of depending on inferior IO.
22487
22488 2014-06-18 Don Breazeal <donb@codesourcery.com>
22489
22490 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22491 Deleted procedure.
22492 (explicit_fork_parent_follow): Deleted procedure.
22493 (explicit_fork_child_follow): Deleted procedure.
22494 (test_follow_fork): New procedure.
22495 (do_fork_tests): Replace calls to deleted procedures with
22496 calls to test_follow_fork and reset GDB for subsequent
22497 procedure calls.
22498
22499 2014-06-17 Yao Qi <yao@codesourcery.com>
22500
22501 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22502 CP1252.
22503
22504 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
22505
22506 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22507 Initialize ptr and S explicitly.
22508 (skip_type_update_when_not_use_rtti_test): Likewise.
22509
22510 2014-06-16 Keith Seitz <keiths@redhat.com>
22511
22512 PR mi/15863
22513 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22514 the inferior is started.
22515
22516 2014-06-16 Pedro Alves <palves@redhat.com>
22517
22518 * gdb.base/break-main-file-remove-fail.c: New file.
22519 * gdb.base/break-main-file-remove-fail.exp: New file.
22520 * gdb.base/break-unload-file.exp: Use build_executable instead of
22521 prepare_for_testing.
22522 (test_break): New parameter "initial_load". Handle it.
22523 (top level): Add initial_load cmdline/file axis.
22524
22525 2014-06-12 Tom Tromey <tromey@redhat.com>
22526
22527 * gdb.base/completion.exp: Don't use directory name in test.
22528
22529 2014-06-09 Gary Benson <gbenson@redhat.com>
22530
22531 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22532 separate the always-available ANSI-standard signals from the
22533 signals that require checking.
22534 (main): Likewise.
22535 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22536 Likewise.
22537 (main): Likewise.
22538
22539 2014-06-07 Keith Seitz <keiths@redhat.com>
22540
22541 Revert:
22542 PR c++/16253
22543 * gdb.cp/var-tag.cc: New file.
22544 * gdb.cp/var-tag.exp: New file.
22545 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22546 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22547 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22548 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22549
22550 2014-06-06 Doug Evans <xdje42@gmail.com>
22551
22552 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22553
22554 2014-06-06 Pedro Alves <palves@redhat.com>
22555
22556 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22557 in target debug output instead of looking at RSP packets,
22558 disabling the test on any target that uses hardware stepping.
22559 Update comments.
22560
22561 2014-06-06 Pedro Alves <palves@redhat.com>
22562
22563 * gdb.base/break-unload-file.exp: Fix typo.
22564
22565 2014-06-06 Yao Qi <yao@codesourcery.com>
22566
22567 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22568 from "jit_function" to "^jit_function".
22569
22570 2014-06-06 Yao Qi <yao@codesourcery.com>
22571
22572 * gdb.base/async.c (foo): Add one statement.
22573 * gdb.base/async.exp: Get the next instruction address and
22574 match the output of "nexti" by instruction address. Match
22575 the hex address in the output of "finish".
22576
22577 2014-06-06 Gary Benson <gbenson@redhat.com>
22578
22579 * gdb.base/call-signals.c: Remove preprocessor conditionals
22580 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22581 SIGSEGV and SIGTERM.
22582 * gdb.base/sigall.c: Likewise.
22583 * gdb.base/unwindonsignal.c: Likewise.
22584 * gdb.reverse/sigall-reverse.c: Likewise.
22585
22586 2014-06-06 Yao Qi <yao@codesourcery.com>
22587
22588 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22589 readable, skip the test.
22590
22591 2014-06-06 Yao Qi <yao@codesourcery.com>
22592
22593 * gdb.threads/staticthreads.c (thread_function): Move the line
22594 setting breakpoint on forward.
22595 * gdb.threads/staticthreads.exp: Update comments.
22596
22597 2014-06-05 Ludovic Courtès <ludo@gnu.org>
22598
22599 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22600 "history-append! type error".
22601
22602 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22603
22604 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22605 erroneous dprintf expected input.
22606
22607 2014-06-04 Doug Evans <xdje42@gmail.com>
22608
22609 * gdb.guile/scm-generics.exp: Delete.
22610
22611 2014-06-04 Doug Evans <xdje42@gmail.com>
22612
22613 * gdb.guile/scm-breakpoint.exp: Update.
22614 Add tests for breakpoint registration.
22615
22616 2014-06-04 Tom Tromey <tromey@redhat.com>
22617
22618 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22619 VLA-in-union.
22620 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22621 inner_vla_struct, vla_union types. Initialize objects of those
22622 types and compute their sizes.
22623
22624 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22625 Hui Zhu <hui@codesourcery.com>
22626
22627 * gdb.base/fileio.exp: Add test for shell not available as well as
22628 available.
22629 * gdb.base/fileio.c (test_system): Check for shell twice.
22630
22631 2014-06-04 Yao Qi <yao@codesourcery.com>
22632
22633 * gdb.base/auto-connect-native-target.exp: Remove redundant
22634 space from the regexp pattern.
22635
22636 2014-06-04 Yao Qi <yao@codesourcery.com>
22637
22638 * gdb.base/default.exp: Replace "child" with "native" in
22639 regexp pattern.
22640
22641 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22642
22643 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22644 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22645 * gdb.python/py-xmethods.py: Python script supporting the
22646 new testcase and tests.
22647
22648 2014-06-03 Joel Brobecker <brobecker@adacore.com>
22649 Pedro Alves <palves@redhat.com>
22650
22651 PR breakpoints/17000
22652 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22653 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22654
22655 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22656
22657 * gdb.base/subst.exp: Add tests to verify partial path matching
22658 output.
22659
22660 2014-06-03 Pedro Alves <palves@redhat.com>
22661
22662 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22663 target that doesn't use software single-stepping.
22664
22665 2014-06-03 Pedro Alves <palves@redhat.com>
22666
22667 PR breakpoints/17000
22668 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22669 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22670
22671 2014-06-02 Doug Evans <xdje42@gmail.com>
22672
22673 * gdb.guile/scm-parameter.exp: New file.
22674
22675 2014-06-02 Doug Evans <xdje42@gmail.com>
22676
22677 * gdb.guile/scm-cmd.c: New file.
22678 * gdb.guile/scm-cmd.exp: New file.
22679
22680 2014-06-02 Doug Evans <xdje42@gmail.com>
22681
22682 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22683 pretty-printer lookup.
22684 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22685 (make-pp_s-printer): Call it.
22686 (make-pretty-printer-from-dict): New function.
22687 (lookup-pretty-printer-maker-from-dict): New function.
22688 (*pretty-printer*): Simplify.
22689 (make-objfile-pp_s-printer): New function.
22690 (install-objfile-pretty-printers!): New function.
22691 (make-progspace-pp_s-printer): New function.
22692 (install-progspace-pretty-printers!): New function.
22693 * gdb.guile/scm-progspace.c: New file.
22694 * gdb.guile/scm-progspace.exp: New file.
22695
22696 2014-06-02 Pedro Alves <palves@redhat.com>
22697
22698 * gdb.base/dprintf-bp-same-addr.c: New file.
22699 * gdb.base/dprintf-bp-same-addr.exp: New file.
22700
22701 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22702
22703 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22704 * gdb.arch/powerpc-power.s: Likewise.
22705
22706 2014-06-02 Joel Brobecker <brobecker@adacore.com>
22707
22708 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22709
22710 2014-06-01 Yao Qi <yao@codesourcery.com>
22711
22712 * gdb.base/watchpoint.exp (test_watch_location): Check null
22713 pointer can be dereferenced. If not, do the test, otherwise
22714 skip it.
22715
22716 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22717
22718 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22719 results.
22720 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22721
22722 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22723
22724 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22725 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22726 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22727 * gdb.arch/amd64-invalid-stack-top.c: New file.
22728 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22729
22730 2014-05-30 Pedro Alves <palves@redhat.com>
22731
22732 PR breakpoints/17000
22733 * gdb.base/sss-bp-on-user-bp.c: New file.
22734 * gdb.base/sss-bp-on-user-bp.exp: New file.
22735
22736 2014-05-30 David Blaikie <dblaikie@gmail.com>
22737
22738 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22739 gnu_inline semantics via attribute.
22740 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22741 source explicitly specifies the required semantics.
22742
22743 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22744
22745 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22746
22747 2014-05-29 Pedro Alves <palves@redhat.com>
22748 Tom Tromey <tromey@redhat.com>
22749
22750 * gdb.base/async-shell.exp: Don't enable target-async.
22751 * gdb.base/async.exp
22752 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22753 parameter. Adjust.
22754 (top level): Don't test with "target-async".
22755 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22756 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22757 * gdb.base/inferior-died.exp: Don't enable target-async.
22758 * gdb.base/interrupt-noterm.exp: Likewise.
22759 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22760 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22761 * gdb.mi/mi-nonstop.exp: Likewise.
22762 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22763 * gdb.mi/mi-nsintrall.exp: Likewise.
22764 * gdb.mi/mi-nsmoribund.exp: Likewise.
22765 * gdb.mi/mi-nsthrexec.exp: Likewise.
22766 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22767 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22768 * gdb.python/py-evsignal.exp: Don't enable target-async.
22769 * gdb.python/py-evthreads.exp: Likewise.
22770 * gdb.python/py-prompt.exp: Likewise.
22771 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22772 * gdb.server/solib-list.exp: Don't enable target-async.
22773 * gdb.threads/thread-specific-bp.exp: Likewise.
22774 * lib/mi-support.exp: Adjust to use mi-async.
22775
22776 2014-05-29 Pedro Alves <palves@redhat.com>
22777
22778 PR gdb/13860
22779 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22780 reason, even in sync mode.
22781
22782 2014-05-29 Pedro Alves <palves@redhat.com>
22783 Hui Zhu <hui@codesourcery.com>
22784
22785 PR PR15693
22786 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22787 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22788 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22789 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22790
22791 2014-05-28 Joel Brobecker <brobecker@adacore.com>
22792
22793 * config/monitor.exp (gdb_target_monitor): Replace use of
22794 "set remotebaud" by "set serial baud".
22795
22796 2014-05-26 Andy Wingo <wingo@igalia.com>
22797
22798 * gdb.guile/scm-breakpoint.exp:
22799 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22800 properties instead of gdb-object-properties.
22801
22802 2014-05-26 Yao Qi <yao@codesourcery.com>
22803
22804 * gdb.server/no-thread-db.exp: Specify source file name
22805 explicitly when setting a breakpoint.
22806
22807 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22808
22809 * gdb.btrace/vdso.c: New.
22810 * gdb.btrace/vdso.exp: New.
22811
22812 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22813
22814 * gdb.base/gcore.exp (capture_command_output): Move ...
22815 * lib/gdb.exp (capture_command_output): ... here.
22816
22817 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22818
22819 * gdb.btrace/data.exp: Test memory access during btrace replay.
22820
22821 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22822
22823 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22824
22825 2014-05-21 Pedro Alves <palves@redhat.com>
22826
22827 PR gdb/13860
22828 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22829 (top level): Test that output related to execution commands is
22830 sent to the console with CLI commands, but not with MI commands.
22831 Test that breakpoint events are always mirrored to the console.
22832 Also expect the new source line to be output after a "next" in
22833 async mode too. Make it a pass/fail test.
22834 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22835 output.
22836 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22837
22838 2014-05-21 Pedro Alves <palves@redhat.com>
22839
22840 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22841 Use them to test variations of "list" after reaching a breakpoint.
22842 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22843 Test "list" with listsize 10 after reaching a breakpoint.
22844 * gdb.python/python.exp (decode_line current location line
22845 number): Adjust expected line number.
22846
22847 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22848
22849 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22850 behavior for $args, pass it directly to "run".
22851
22852 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22853
22854 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22855 30000 to 65536.
22856
22857 2014-05-21 Pedro Alves <palves@redhat.com>
22858
22859 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22860 auto-connect-native-target off".
22861 * gdb.base/auto-connect-native-target.c: New file.
22862 * gdb.base/auto-connect-native-target.exp: New file.
22863
22864 2014-05-21 Pedro Alves <palves@redhat.com>
22865
22866 * gdb.base/default.exp: Test "target native" instead of "target
22867 child".
22868
22869 2014-05-21 Mark Wielaard <mjw@redhat.com>
22870
22871 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22872
22873 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22874
22875 Fix TLS access for -static -pthread.
22876 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22877 <HAVE_TLS> (thread_function, main): Initialize it.
22878 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22879 Add clean_restart.
22880 <$have_tls != "">: Check TLSVAR.
22881
22882 2014-05-21 Pedro Alves <palves@redhat.com>
22883
22884 * gdb.base/dcache-line-read-error.c: New.
22885 * gdb.base/dcache-line-read-error.exp: New.
22886
22887 2014-05-20 Pedro Alves <palves@redhat.com>
22888
22889 * gdb.base/compare-sections.c: New file.
22890 * gdb.base/compare-sections.exp: New file.
22891
22892 2014-05-20 Pedro Alves <palves@redhat.com>
22893
22894 * gdb.base/break-idempotent.c: New file.
22895 * gdb.base/break-idempotent.exp: New file.
22896
22897 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22898
22899 * gdb.btrace/nohist.exp: New.
22900
22901 2014-05-20 Yao Qi <yao@codesourcery.com>
22902
22903 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22904 gdb.reverse directory and gdb_reverse_timeout exists in board
22905 setting.
22906 * README: Document gdb_reverse_timeout.
22907
22908 2014-05-20 Yao Qi <yao@codesourcery.com>
22909
22910 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22911 'test_file_name'. Treat args as a string instead of a list.
22912 (gdb_init): Rename argument 'args' by 'test_file_name'.
22913
22914 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22915
22916 * gdb.arch/powerpc-power.exp: New file.
22917 * gdb.arch/powerpc-power.s: New file.
22918
22919 2014-05-16 Doug Evans <dje@google.com>
22920
22921 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
22922 * gdb.base/completion.exp: Check that all expected files exist
22923 before doing file completion.
22924
22925 2014-05-16 Doug Evans <dje@google.com>
22926
22927 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22928 Update.
22929 (do_syscall_tests_without_xml): Update.
22930
22931 2014-05-16 Pedro Alves <palves@redhat.com>
22932
22933 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22934 instead of "unknown output after running".
22935
22936 2014-05-16 Yao Qi <yao@codesourcery.com>
22937
22938 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22939 file1.txt from host at the end.
22940 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22941
22942 2014-05-15 Doug Evans <dje@google.com>
22943
22944 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22945 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22946 loading file. Add test for TU lookup.
22947
22948 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22949
22950 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22951 calling "-exec-arguments" or "set args" before running the
22952 inferior.
22953
22954 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22955
22956 * lib/mi-support.exp (mi_expect_stop): Expect message for
22957 inferiors that exit with non-zero exit code.
22958
22959 2014-05-14 Yao Qi <yao@codesourcery.com>
22960
22961 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22962 match absolute path on remote host.
22963 (test_file_list_exec_source_files): Remove "/" from the
22964 pattern.
22965
22966 2014-05-14 Yao Qi <yao@codesourcery.com>
22967
22968 * boards/local-remote-host-notty.exp (${board}_file): New
22969 proc.
22970
22971 2014-05-07 Kyle McMartin <kyle@redhat.com>
22972
22973 Pushed by Joel Brobecker <brobecker@adacore.com>.
22974 * gdb.arch/aarch64-atomic-inst.c: New file.
22975 * gdb.arch/aarch64-atomic-inst.exp: New file.
22976
22977 2014-05-07 Yao Qi <yao@codesourcery.com>
22978
22979 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22980 in current context" too.
22981
22982 2014-05-05 Keith Seitz <keiths@redhat.com>
22983
22984 * gdb.linespec/ls-dollar.exp: Add test for linespec
22985 file:convenience_variable.
22986
22987 2014-05-05 Yao Qi <yao@codesourcery.com>
22988
22989 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22990 traceframes into tfile and ctf trace files. Read data from
22991 trace file and test collected data.
22992 (gdb_collect_locals_test): Likewise.
22993 (gdb_unavailable_registers_test): Likewise.
22994 (gdb_unavailable_floats): Likewise.
22995 (gdb_collect_globals_test): Likewise.
22996 (top-level): Append "ctf" to trace_file_targets if GDB
22997 supports.
22998
22999 2014-05-05 Yao Qi <yao@codesourcery.com>
23000
23001 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23002 code to ...
23003 (gdb_collect_args_test_1): ... it. New proc.
23004 (gdb_collect_locals_test): Move some code to ...
23005 (gdb_collect_locals_test_1): ... it. New proc.
23006 (gdb_unavailable_registers_test): Move some code to ...
23007 (gdb_unavailable_registers_test_1): ... it. New proc.
23008 (gdb_unavailable_floats): Move some code to ...
23009 (gdb_unavailable_floats_1): ... it. New proc.
23010
23011 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23012
23013 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23014 probes to test for bitness recognition.
23015 * gdb.arch/amd64-stap-optional-prefix.exp
23016 (test_probe_value_without_reg): New procedure.
23017 Add code to test for different kinds of bitness.
23018
23019 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23020
23021 PR breakpoints/16889
23022 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23023 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23024
23025 2014-05-01 Pedro Alves <palves@redhat.com>
23026
23027 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23028 gdb_file_cmd if no file is specified.
23029 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23030 last_loaded_file to set the remote exec-file.
23031
23032 2014-05-01 Pedro Alves <palves@redhat.com>
23033
23034 * boards/local-remote-host.exp: New file.
23035
23036 2014-05-01 Pedro Alves <palves@redhat.com>
23037
23038 * boards/local-remote-host.exp: Rename to ...
23039 * boards/local-remote-host-notty.exp: ... this.
23040
23041 2014-04-28 Joel Brobecker <brobecker@adacore.com>
23042
23043 * gdb.ada/dyn_arrayidx: New testcase.
23044
23045 2014-04-26 Yao Qi <yao@codesourcery.com>
23046
23047 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23048 and compute the length of function main. Save it in
23049 $main_length.
23050 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23051 (top-level): Use gdb_compile to compile objects into
23052 executable and restart GDB. Remove invocation to
23053 prepare_for_testing.
23054
23055 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23056 Pedro Alves <palves@redhat.com>
23057
23058 PR server/16255
23059 * gdb.multi/multi-attach.c: New file.
23060 * gdb.multi/multi-attach.exp: New file.
23061
23062 2014-04-25 Pedro Alves <palves@redhat.com>
23063
23064 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23065 user.
23066 (top level): Test that "set remote conditional-breakpoints-packet
23067 off" works as intended.
23068 * gdb.base/dprintf.exp: Test that "set remote
23069 breakpoint-commands-packet off" works as intended.
23070 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23071 New function.
23072 (top level): Call it.
23073 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23074 remote fast-tracepoints-packet off" works as intended.
23075 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23076 * lib/gdb.exp (gdb_is_target_remote): ... here.
23077
23078 2014-04-24 David Blaikie <dblaikie@gmail.com>
23079
23080 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23081 ensure clang would not discard them.
23082 * gdb.base/gdbvars.c: Ditto.
23083 * gdb.base/memattr.c: Ditto.
23084 * gdb.base/whatis.c: Ditto.
23085 * gdb.python/py-prettyprint.c: Ditto.
23086 * gdb.trace/actions.c: Ditto.
23087 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23088 ensure clang would not discard it.
23089
23090 2014-04-24 David Blaikie <dblaikie@gmail.com>
23091
23092 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23093 clang to emit the full definition of type required by the test
23094 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23095
23096 2014-04-24 David Blaikie <dblaikie@gmail.com>
23097
23098 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23099 coax Clang into emitting the definition of the type.
23100 * gdb.cp/pr10728-x.h (y): Ditto.
23101 * gdb.cp/pr10728-y.cc (y): Ditto.
23102
23103 2014-04-24 David Blaikie <dblaikie@gmail.com>
23104
23105 * gdb.base/label.exp: XFAIL label related tests under Clang.
23106 * gdb.cp/cplabel.exp: Ditto.
23107 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23108 under Clang those using labels.
23109
23110 2014-04-25 Yao Qi <yao@codesourcery.com>
23111
23112 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23113 double_label.
23114 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23115 partial_label and double_label.
23116
23117 2014-04-24 David Blaikie <dblaikie@gmail.com>
23118
23119 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23120
23121 2014-04-24 David Blaikie <dblaikie@gmail.com>
23122
23123 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23124 of the function to work across GCC and Clang.
23125 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23126 pointer types (const void ** const V void **).
23127
23128 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
23129 Walfred Tedeschi <walfred.tedeschi@intel.com>
23130
23131 * Makefile.in (EXECUTABLES): Added i386-avx512.
23132 * gdb.arch/i386-avx512.c: New file.
23133 * gdb.arch/i386-avx512.exp: Likewise.
23134
23135 2014-04-23 Keith Seitz <keiths@redhat.com>
23136
23137 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23138 (mi_make_breakpoint_table): New procedure.
23139 (mi_create_breakpoint): Use mi_make_breakpoint
23140 and return the result.
23141 (mi_make_breakpoint): New procedure.
23142 (mi_build_kv_pairs): New procedure.
23143
23144 * gdb.mi/mi-break.exp: Remove unused globals,
23145 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23146 All callers updated.
23147 * gdb.mi/mi-dprintf.exp: Use variable to track command
23148 number.
23149 Update all callers of mi_create_breakpoint and use
23150 mi_make_breakpoint_table.
23151 Remove any unused global variables.
23152 * gdb.mi/mi-nonstop.exp: Likewise.
23153 * gdb.mi/mi-nsintrall.exp: Likewise.
23154 * gdb.mi/mi-nsmoribund.exp: Likewise.
23155 * gdb.mi/mi-nsthrexec.exp: Likewise.
23156 * gdb.mi/mi-reverse.exp: Likewise.
23157 * gdb.mi/mi-simplerun.exp: Likewise.
23158 * gdb.mi/mi-stepn.exp: Likewise.
23159 * gdb.mi/mi-syn-frame.exp: Likewise.
23160 * gdb.mi/mi-until.exp: Likewise.
23161 * gdb.mi/mi-var-cp.exp: Likewise.
23162 * gdb.mi/mi-var-display.exp: Likewise.
23163 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23164 * gdb.mi/mi2-var-child.exp: Likewise.
23165 * gdb.mi/mi-vla-c99.exp: Likewise.
23166 * lib/mi-support.exp: Likewise.
23167
23168 From Ian Lance Taylor <iant@cygnus.com>:
23169 * lib/gdb.exp (parse_args): New procedure.
23170
23171 2014-04-23 Pedro Alves <palves@redhat.com>
23172
23173 * gdb.base/break-unload-file.c: New file.
23174 * gdb.base/break-unload-file.exp: New file.
23175 * gdb.base/sym-file-lib.c (baz): New function.
23176 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23177 field.
23178 (load): Store the segment's mapped size.
23179 (unload): New function.
23180 (unload_shlib): New function.
23181 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23182 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23183 set a breakpoint at baz, and call it.
23184 * gdb.base/sym-file.exp: New tests for stale breakpoint
23185 instructions.
23186
23187 2014-04-23 Pedro Alves <palves@redhat.com>
23188
23189 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23190 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23191 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23192 * gdb.base/hbreak-unmapped.c: New file.
23193 * gdb.base/hbreak-unmapped.exp: New file.
23194 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23195 * lib/gdb.exp (gdb_is_target_remote): ... here.
23196
23197 2014-04-22 Pedro Alves <palves@redhat.com>
23198
23199 * gdb.base/consecutive-step-over.c: New file.
23200 * gdb.base/consecutive-step-over.exp: New file.
23201
23202 2014-04-22 Pedro Alves <palves@redhat.com>
23203
23204 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23205 instead of send_gdb/gdb_expect.
23206
23207 2014-04-22 Yao Qi <yao@codesourcery.com>
23208
23209 * lib/trace-support.exp (generate_tracefile): New procedure.
23210 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23211 return 0.
23212 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23213 if generate_tracefile returns 1.
23214
23215 2014-04-18 Tom Tromey <palves@redhat.com>
23216 Pedro alves <tromey@redhat.com>
23217
23218 PR backtrace/15558
23219 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23220 with a backtrace limit.
23221 * gdb.python/py-frame-inline.exp: Test running to an inline
23222 function with a backtrace limit, and printing the newest frame.
23223 * gdb.python/py-frame-inline.c (main): Call f.
23224
23225 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23226
23227 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23228
23229 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23230
23231 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23232 Drop prefix from unsupported source file path.
23233
23234 2014-04-17 Yao Qi <yao@codesourcery.com>
23235
23236 * lib/gdb.exp (with_target_charset): New proc.
23237 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23238 with_target_charset.
23239 (test_print_strings): Likewise.
23240 (test_repeat_bytes): Likewise.
23241 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23242 for some tests.
23243
23244 2014-04-16 Keith Seitz <keiths@redhat.com>
23245
23246 PR gdb/15827
23247 * gdb.dwarf2/corrupt.c: New file.
23248 * gdb.dwarf2/corrupt.exp: New file.
23249
23250 2014-04-16 Keith Seitz <keiths@redhat.com>
23251
23252 PR c++/16597
23253 * gdb.cp/namelessclass.cc: New file.
23254 * gdb.cp/namelessclass.exp: New file.
23255 * gdb.cp/namelessclass.S: New file.
23256
23257 2014-04-16 Doug Evans <dje@google.com>
23258
23259 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23260 Add comment.
23261 (gdbserver_default_get_comm_port): New function.
23262 (gdbserver_start): Check if board file provided
23263 "gdbserver,get_comm_port" and use it if so.
23264 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23265 (gdb,socketport): Set to "stdio".
23266 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23267 (stdio_gdbserver_template): Delete.
23268 (${board}_get_remote_address): Update.
23269 (${board}_build_remote_cmd): Delete.
23270 (${board}_get_comm_port): New function.
23271 (${board}_spawn): Update.
23272 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23273 Delete.
23274 (${board}_get_remote_address): Update.
23275 (${board}_get_comm_port): New function.
23276
23277 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
23278
23279 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23280 appearing in any order.
23281
23282 2014-04-15 Doug Evans <dje@google.com>
23283
23284 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23285 uninitialized value of "description".
23286
23287 2014-04-15 Keith Seitz <keiths@redhat.com>
23288
23289 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23290 Remove unused globals.
23291 (test_running_the_program): Likewise.
23292 (test_controlled_execution): Likewise.
23293 (test_controlling_breakpoints): Likewise.
23294 (test_program_termination): Likewise.
23295
23296 2014-04-15 Keith Seitz <keiths@redhat.com>
23297
23298 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23299 unused globals.
23300 (test_rbreak_creation_and_listing): Likewise.
23301 (test_ignore_count): Likewise.
23302 (test_error): Likewise.
23303
23304 2014-04-15 Pedro Alves <palves@redhat.com>
23305
23306 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23307 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23308 sym-file-loader.c.
23309 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23310 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23311 to sym-file-loader.c.
23312 (struct library): Forward declare.
23313 (load_shlib, lookup_function): Change prototypes.
23314 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23315 (translate_offset): Remove declarations.
23316 (get_text_addr): New declaration.
23317 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23318 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23319 sym-file-loader.h.
23320 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23321 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23322 here from sym-file-loader.h.
23323 (struct library): New structure.
23324 (load_shlib, lookup_function): Change prototypes and adjust to
23325 work with a struct library.
23326 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23327 (translate_offset): Make static.
23328 (get_text_addr): New function.
23329 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23330
23331 2014-04-15 Pedro Alves <palves@redhat.com>
23332
23333 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23334
23335 2014-04-15 Pedro Alves <palves@redhat.com>
23336
23337 * gdb.base/sym-file-loader.c: Include <limits.h>.
23338 (SELF_LINK): New define.
23339 (get_origin): New function.
23340 (load_shlib): Use it.
23341 * gdb.base/sym-file.exp: Don't early return if the target is
23342 remote. Use runto_main, and issue fail is that fails. Use
23343 gdb_load_shlibs.
23344 (shlib_name): Delete.
23345 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23346
23347 2014-04-15 Pedro Alves <palves@redhat.com>
23348
23349 * gdb.base/sym-file.exp: Remove regex characters from test
23350 message. Don't refer to breakpoint numbers in test messages.
23351
23352 2014-04-14 Keith Seitz <keiths@redhat.com>
23353
23354 PR c++/16253
23355 * gdb.cp/var-tag.cc: New file.
23356 * gdb.cp/var-tag.exp: New file.
23357 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23358 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23359 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23360 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23361
23362 2014-04-14 Tom Tromey <tromey@redhat.com>
23363
23364 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23365 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23366 type.
23367 * gdb.cp/enum-class.exp: New file.
23368 * gdb.cp/enum-class.cc: New file.
23369
23370 2014-04-14 Tom Tromey <tromey@redhat.com>
23371
23372 * gdb.dwarf2/enum-type.exp: New file.
23373
23374 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23375
23376 * gdb.mi/mi-vla-c99.exp: New file.
23377 * gdb.mi/vla.c: New file.
23378
23379 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23380
23381 * gdb.base/vla-datatypes.c: New file.
23382 * gdb.base/vla-datatypes.exp: New file.
23383
23384 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23385
23386 * gdb.base/vla-ptr.c: New file.
23387 * gdb.base/vla-ptr.exp: New file.
23388
23389 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23390
23391 * gdb.dwarf2/count.exp: New file.
23392
23393 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23394
23395 * gdb.base/vla-sideeffect.c: New file.
23396 * gdb.base/vla-sideeffect.exp: New file.
23397
23398 2014-04-14 David Blaikie <dblaikie@gmail.com>
23399
23400 * gdb.mi/non-stop.c: Add return value for non-void function return
23401 statement.
23402 * gdb.threads/staticthreads.c: Ditto.
23403
23404 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23405 Doug Evans <xdje42@gmail.com>
23406
23407 * gdb.guile/scm-value.c: Improve test case.
23408 * gdb.guile/scm-value.exp: Add new test.
23409
23410 2014-04-11 David Blaikie <dblaikie@gmail.com>
23411
23412 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23413 override Clang's default.
23414
23415 2014-04-11 Joel Brobecker <brobecker@adacore.com>
23416
23417 Revert the following changes (regressions):
23418
23419 * gdb.base/vla-sideeffect.c: New file.
23420 * gdb.base/vla-sideeffect.exp: New file.
23421
23422 * gdb.dwarf2/count.exp: New file.
23423
23424 * gdb.base/vla-multi.c: New file.
23425 * gdb.base/vla-multi.exp: New file.
23426
23427 * gdb.base/vla-ptr.c: New file.
23428 * gdb.base/vla-ptr.exp: New file.
23429
23430 * gdb.base/vla-datatypes.c: New file.
23431 * gdb.base/vla-datatypes.exp: New file.
23432
23433 * gdb.mi/mi-vla-c99.exp: New file.
23434 * gdb.mi/vla.c: New file.
23435
23436 2014-04-11 Keith Seitz <keiths@redhat.com>
23437
23438 PR c++/16675
23439 * gdb.cp/cpsizeof.exp: New file.
23440 * gdb.cp/cpsizeof.cc: New file.
23441
23442 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23443
23444 * gdb.mi/mi-vla-c99.exp: New file.
23445 * gdb.mi/vla.c: New file.
23446
23447 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23448
23449 * gdb.base/vla-datatypes.c: New file.
23450 * gdb.base/vla-datatypes.exp: New file.
23451
23452 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23453
23454 * gdb.base/vla-ptr.c: New file.
23455 * gdb.base/vla-ptr.exp: New file.
23456
23457 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23458
23459 * gdb.base/vla-multi.c: New file.
23460 * gdb.base/vla-multi.exp: New file.
23461
23462 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23463
23464 * gdb.dwarf2/count.exp: New file.
23465
23466 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23467
23468 * gdb.base/vla-sideeffect.c: New file.
23469 * gdb.base/vla-sideeffect.exp: New file.
23470
23471 2014-04-11 Yao Qi <yao@codesourcery.com>
23472
23473 * gdb.base/completion.exp: Check file exists before running tests
23474 on file completion.
23475
23476 2014-04-10 Pedro Alves <palves@redhat.com>
23477
23478 * gdb.base/cond-eval-mode.c: New file.
23479 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23480 prepare_for_testing to build the new file. Check result of
23481 runto_main.
23482 (test_break, test_watch): New procedures.
23483 (top level): Use them.
23484
23485 2014-04-08 Pierre Muller <muller@sourceware.org>
23486
23487 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23488 Ctrl-V use for mingw hosts.
23489
23490 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23491
23492 * gdb.python/py-value.c: Improve test case.
23493 * gdb.python/py-value.exp: Add new test.
23494
23495 2014-04-07 David Blaikie <dblaikie@gmail.com>
23496
23497 * lib/compiler.c: Identify the clang compiler.
23498 * lib/compiler.cc: Ditto.
23499
23500 2014-04-03 Yao Qi <yao@codesourcery.com>
23501
23502 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23503
23504 2014-04-01 Anton Blanchard <anton@samba.org>
23505
23506 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23507 messages unique.
23508
23509 2014-04-01 Anton Blanchard <anton@samba.org>
23510
23511 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23512 prepare_for_testing.
23513
23514 2014-04-01 Anton Blanchard <anton@samba.org>
23515
23516 * gdb.arch/ppc64-atomic-inst.c: Remove.
23517 * gdb.arch/ppc64-atomic-inst.S: New file.
23518 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23519
23520 2014-03-31 Doug Evans <dje@google.com>
23521
23522 * gdb.base/print-symbol-loading-lib.c: New file.
23523 * gdb.base/print-symbol-loading-main.c: New file.
23524 * gdb.base/print-symbol-loading.exp: New file.
23525
23526 2014-03-31 Yao Qi <yao@codesourcery.com>
23527
23528 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23529
23530 2014-03-28 Joel Brobecker <brobecker@adacore.com>
23531
23532 * gdb.ada/mi_dyn_arr: New testcase.
23533
23534 2014-03-27 Doug Evans <dje@google.com>
23535
23536 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23537
23538 2014-03-27 Yao Qi <yao@codesourcery.com>
23539
23540 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23541 if target is nios2-*-*.
23542
23543 2014-03-26 Yao Qi <yao@codesourcery.com>
23544
23545 * lib/gdb.exp (readline_is_used): New proc.
23546 * gdb.base/completion.exp: Move tests on command complete up.
23547 Skip the rest of tests if readline is not used.
23548 * gdb.ada/complete.exp: Skp the test if readline is not
23549 used.
23550 * gdb.base/filesym.exp: Likewise.
23551 * gdb.base/macscp.exp: Likewise.
23552 * gdb.base/readline-ask.exp: Likewise.
23553 * gdb.base/readline.exp: Likewise.
23554 * gdb.python/py-cmd.exp: Likewise.
23555 * gdb.trace/tfile.exp: Likewise.
23556
23557 2014-03-26 Yao Qi <yao@codesourcery.com>
23558
23559 * gdb.base/macscp.exp: Fix code format issues.
23560
23561 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23562
23563 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23564 * gdb.asm/powerpc64le.inc: New file.
23565
23566 2014-03-25 Pedro Alves <palves@redhat.com>
23567 Doug Evans <dje@google.com>
23568
23569 * gdb.base/source-execution.c: New file.
23570 * gdb.base/source-execution.exp: New file.
23571 * gdb.base/source-execution.gdb: New file.
23572
23573 2014-03-24 Doug Evans <dje@google.com>
23574
23575 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23576 using fission.
23577
23578 2014-03-24 Hui Zhu <hui@codesourcery.com>
23579 Pedro Alves <palves@redhat.com>
23580
23581 PR breakpoints/16101
23582 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23583 test pass/fail messages. Detect missing support for dprintf when
23584 breakpoints are actually inserted.
23585 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23586 breakpoints are actually inserted.
23587 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23588 fails.
23589
23590 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23591
23592 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23593
23594 2014-03-22 Doug Evans <xdje42@gmail.com>
23595
23596 * gdb.python/python.exp (python not supported): Verify multi-line
23597 python command issues an error.
23598 * gdb.guile/guile.exp (guile not supported): Verify multi-line
23599 guile command issues an error.
23600
23601 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23602
23603 * gdb.threads/thread-specific.exp: Handle the lack of usable
23604 $this_breakpoint and $this_thread.
23605
23606 2014-03-21 Hui Zhu <hui@codesourcery.com>
23607
23608 * gdb.base/attach.exp (do_command_attach_tests): New.
23609
23610 2014-03-20 Tom Tromey <tromey@redhat.com>
23611 Pedro Alves <palves@redhat.com>
23612
23613 PR cli/15718
23614 * gdb.base/condbreak-call-false.c: New file.
23615 * gdb.base/condbreak-call-false.exp: New file.
23616
23617 2014-03-20 Pedro Alves <palves@redhat.com>
23618
23619 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23620 Delete.
23621 (block_signals, unblock_signals): Delete.
23622 (child_function_2, main): Remove references to deleted variable
23623 and functions.
23624
23625 2014-03-20 Pedro Alves <palves@redhat.com>
23626
23627 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23628 Use pthread_kill to signal thread 2.
23629 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23630 Adjust to make the test send itself a signal rather than using the
23631 host's "kill" command.
23632
23633 2014-03-20 Pedro Alves <palves@redhat.com>
23634
23635 * gdb.threads/multiple-step-overs.c: New file.
23636 * gdb.threads/multiple-step-overs.exp: New file.
23637 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23638 Adjust expected infrun debug output.
23639
23640 2014-03-20 Pedro Alves <palves@redhat.com>
23641
23642 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23643 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23644
23645 2014-03-20 Pedro Alves <palves@redhat.com>
23646
23647 PR breakpoints/7143
23648 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23649 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23650 of gdb_test_multiple.
23651 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23652 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23653
23654 2014-03-20 Pedro Alves <palves@redhat.com>
23655
23656 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23657 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23658
23659 2014-03-19 Pedro Alves <palves@redhat.com>
23660
23661 * gdb.base/async.exp: Remove early return.
23662
23663 2014-03-19 Pedro Alves <palves@redhat.com>
23664
23665 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23666
23667 2014-03-19 Pedro Alves <palves@redhat.com>
23668
23669 * gdb.base/async.exp (test_background): Expect \r\n after
23670 "completed." in the fail pattern.
23671
23672 2014-03-19 Pedro Alves <palves@redhat.com>
23673
23674 * gdb.base/async.exp (test_background): New procedure.
23675 Use it for all background execution command tests.
23676
23677 2014-03-19 Pedro Alves <palves@redhat.com>
23678
23679 * gdb.base/async.exp: Use prepare_for_testing.
23680
23681 2014-03-19 Pedro Alves <palves@redhat.com>
23682
23683 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23684 the same line.
23685
23686 2014-03-19 Pedro Alves <palves@redhat.com>
23687
23688 * gdb.base/async.c (main): Add "jump here" and "until here" line
23689 marker comments.
23690 * gdb.base/async.exp (jump_here): New global.
23691 (jump& test): Use it.
23692 (until_here): New global.
23693 (until& test): Use it.
23694
23695 2014-03-19 Pedro Alves <palves@redhat.com>
23696
23697 * gdb.base/async.exp: Don't frob gdb_protocol.
23698
23699 2014-03-18 Doug Evans <xdje42@gmail.com>
23700
23701 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23702 Fix spelling of exec-done-display.
23703
23704 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23705
23706 PR gdb/15358
23707 * gdb.base/gdb-sigterm.c: New file.
23708 * gdb.base/gdb-sigterm.exp: New file.
23709
23710 2014-03-18 Pedro Alves <palves@redhat.com>
23711
23712 PR gdb/13860
23713 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23714 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23715 solib-event.
23716
23717 2014-03-17 Joel Brobecker <brobecker@adacore.com>
23718
23719 * gdb.ada/pckd_arr_ren: New testcase.
23720
23721 2014-03-13 Doug Evans <xdje42@gmail.com>
23722
23723 PR guile/16612
23724 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23725 collect after discarding symbols.
23726
23727 2014-03-13 Ludovic Courtès <ludo@gnu.org>
23728 Doug Evans <xdje42@gmail.com>
23729
23730 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23731 to history survives a gc.
23732
23733 2014-03-13 Pedro Alves <palves@redhat.com>
23734
23735 * gdb.base/default.exp: Don't test "target procfs".
23736
23737 2014-03-13 Pedro Alves <palves@redhat.com>
23738
23739 * gdb.base/default.exp: Update "target child" and "target procfs"
23740 tests to not expect "Unix".
23741
23742 2014-03-12 Tom Tromey <tromey@redhat.com>
23743
23744 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23745 New procs. Add target-async tests.
23746 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23747 Add target-async tests.
23748
23749 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23750
23751 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23752 'func_start' and 'func_end' for the beginning and end of the
23753 function code, respectively.
23754 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23755 'func_end' instead of 'func' and 'main'.
23756
23757 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23758
23759 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23760 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23761 generate the debug info assembler source.
23762
23763 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23764
23765 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23766 * gdb.dwarf2/arr-subrange.exp: Likewise.
23767 * gdb.dwarf2/dwz.exp: Likewise.
23768 * gdb.dwarf2/method-ptr.exp: Likewise.
23769 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23770 * gdb.dwarf2/subrange.exp: Likewise.
23771 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23772 * gdb.dwarf2/implptrpiece.exp: Likewise.
23773 * gdb.dwarf2/nostaticblock.exp: Likewise.
23774
23775 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23776
23777 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23778 directory to absolute path name arguments.
23779
23780 2014-03-10 Joel Brobecker <brobecker@adacore.com>
23781
23782 * gdb.ada/tagged_access: New testcase.
23783
23784 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23785
23786 * gdb.btrace/data.exp: Update expected output.
23787
23788 2014-03-06 Yao Qi <yao@codesourcery.com>
23789
23790 * gdb.trace/pr16508.exp: New file.
23791
23792 2014-03-05 Pedro Alves <palves@redhat.com>
23793
23794 PR gdb/16575
23795 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23796 procedure.
23797 (top level): Adjust to use it. Add tests that exercise breakpoint
23798 interaction with the code-cache.
23799
23800 2014-02-26 Ludovic Courtès <ludo@gnu.org>
23801
23802 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23803 test for 'history-append!'.
23804
23805 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23806
23807 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23808 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23809 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23810 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23811 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23812 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23813
23814 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23815
23816 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23817 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23818 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23819
23820 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23821
23822 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23823
23824 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23825
23826 * gdb.dwarf2/arr-stride.c: New file.
23827 * gdb.dwarf2/arr-stride.exp: New file.
23828
23829 2014-02-26 Pedro Alves <palves@redhat.com>
23830
23831 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23832 that won't ever trigger. Make sure that GDB reports the correct
23833 breakpoint that caused the stop.
23834
23835 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23836
23837 PR gdb/16626
23838 * gdb.base/auto-load-script: New file.
23839 * gdb.base/auto-load.c: New file.
23840 * gdb.base/auto-load.exp: New file.
23841
23842 PR gdb/16626
23843 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23844
23845 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23846
23847 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23848 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23849
23850 2014-02-24 Doug Evans <dje@google.com>
23851
23852 * lib/gdb.exp (run_on_host): Log error output if program fails.
23853
23854 2014-02-21 Pedro Alves <palves@redhat.com>
23855
23856 * gdb.threads/step-after-sr-lock.c: Rename to ...
23857 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23858 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23859 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23860 ... this.
23861
23862 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23863
23864 PR tdep/16397
23865 * gdb.arch/amd64-stap-special-operands.exp: New file.
23866 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23867 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23868 * gdb.arch/amd64-stap-triplet.S: Likewise.
23869 * gdb.arch/amd64-stap-triplet.c: Likewise.
23870
23871 2014-02-20 Joel Brobecker <brobecker@adacore.com>
23872
23873 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23874 in .section pseudo-op.
23875
23876 2014-02-20 lin zuojian <manjian2006@gmail.com>
23877 Joel Brobecker <brobecker@adacore.com>
23878 Doug Evans <xdje42@gmail.com>
23879
23880 PR symtab/16581
23881 * gdb.dwarf2/dw2-icycle.S: New file.
23882 * gdb.dwarf2/dw2-icycle.c: New file.
23883 * gdb.dwarf2/dw2-icycle.exp: New file.
23884
23885 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23886
23887 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23888 operations on gdb.Value objects.
23889 * gdb.python/py-value-cc.exp: Add new test to test operations on
23890 gdb.Value objects.
23891
23892 2014-02-18 Doug Evans <dje@google.com>
23893
23894 * Makefile.in (TESTS): New variable.
23895 (expanded_tests, expanded_tests_or_none): New variables
23896 (check-single): Pass $(expanded_tests_or_none) to runtest.
23897 (check-parallel): Only run tests in $(TESTS) if non-empty.
23898 (check/no-matching-tests-found): New rule.
23899 * README: Document TESTS makefile variable.
23900
23901 2014-02-18 Doug Evans <dje@google.com>
23902
23903 * Makefile.in (check-parallel): rm -rf outputs temp.
23904
23905 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23906
23907 Fix "ERROR: no fileid for" in the testsuite.
23908 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23909
23910 2014-02-12 Doug Evans <dje@google.com>
23911
23912 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23913 (MISCELLANEOUS): New variable.
23914 (clean): rm -rf $(MISCELLANEOUS).
23915 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23916 dwp live in the same directory as symlinks, with each symlink pointed
23917 to a differently named file in a different directory.
23918
23919 2014-02-11 Doug Evans <dje@google.com>
23920
23921 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23922 of Tcl file commands.
23923
23924 2014-02-10 Mark Kettenis <kettenis@gnu.org>
23925
23926 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23927 "kill -SIGUSR1 -1".
23928
23929 2014-02-10 Joel Brobecker <brobecker@adacore.com>
23930
23931 * gdb.ada/tick_length_array_enum_idx: New testcase.
23932
23933 2014-02-10 Doug Evans <xdje42@gmail.com>
23934
23935 * configure.ac (AC_OUTPUT): Add gdb.guile.
23936 * configure: Regenerate.
23937 * lib/gdb-guile.exp: New file.
23938 * lib/gdb.exp (get_target_charset): New function.
23939 * gdb.base/help.exp: Update expected output from "apropos apropos".
23940 * gdb.guile/Makefile.in: New file.
23941 * gdb.guile/guile.exp: New file.
23942 * gdb.guile/scm-arch.c: New file.
23943 * gdb.guile/scm-arch.exp: New file.
23944 * gdb.guile/scm-block.c: New file.
23945 * gdb.guile/scm-block.exp: New file.
23946 * gdb.guile/scm-breakpoint.c: New file.
23947 * gdb.guile/scm-breakpoint.exp: New file.
23948 * gdb.guile/scm-disasm.c: New file.
23949 * gdb.guile/scm-disasm.exp: New file.
23950 * gdb.guile/scm-equal.c: New file.
23951 * gdb.guile/scm-equal.exp: New file.
23952 * gdb.guile/scm-error.exp: New file.
23953 * gdb.guile/scm-error.scm: New file.
23954 * gdb.guile/scm-frame-args.c: New file.
23955 * gdb.guile/scm-frame-args.exp: New file.
23956 * gdb.guile/scm-frame-args.scm: New file.
23957 * gdb.guile/scm-frame-inline.c: New file.
23958 * gdb.guile/scm-frame-inline.exp: New file.
23959 * gdb.guile/scm-frame.c: New file.
23960 * gdb.guile/scm-frame.exp: New file.
23961 * gdb.guile/scm-generics.exp: New file.
23962 * gdb.guile/scm-gsmob.exp: New file.
23963 * gdb.guile/scm-iterator.c: New file.
23964 * gdb.guile/scm-iterator.exp: New file.
23965 * gdb.guile/scm-math.c: New file.
23966 * gdb.guile/scm-math.exp: New file.
23967 * gdb.guile/scm-objfile-script-gdb.in: New file.
23968 * gdb.guile/scm-objfile-script.c: New file.
23969 * gdb.guile/scm-objfile-script.exp: New file.
23970 * gdb.guile/scm-objfile.c: New file.
23971 * gdb.guile/scm-objfile.exp: New file.
23972 * gdb.guile/scm-ports.exp: New file.
23973 * gdb.guile/scm-pretty-print.c: New file.
23974 * gdb.guile/scm-pretty-print.exp: New file.
23975 * gdb.guile/scm-pretty-print.scm: New file.
23976 * gdb.guile/scm-section-script.c: New file.
23977 * gdb.guile/scm-section-script.exp: New file.
23978 * gdb.guile/scm-section-script.scm: New file.
23979 * gdb.guile/scm-symbol.c: New file.
23980 * gdb.guile/scm-symbol.exp: New file.
23981 * gdb.guile/scm-symtab-2.c: New file.
23982 * gdb.guile/scm-symtab.c: New file.
23983 * gdb.guile/scm-symtab.exp: New file.
23984 * gdb.guile/scm-type.c: New file.
23985 * gdb.guile/scm-type.exp: New file.
23986 * gdb.guile/scm-value-cc.cc: New file.
23987 * gdb.guile/scm-value-cc.exp: New file.
23988 * gdb.guile/scm-value.c: New file.
23989 * gdb.guile/scm-value.exp: New file.
23990 * gdb.guile/source2.scm: New file.
23991 * gdb.guile/types-module.cc: New file.
23992 * gdb.guile/types-module.exp: New file.
23993
23994 2014-02-10 Yao Qi <yao@codesourcery.com>
23995
23996 PR testsuite/16543
23997 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23998 * configure: Regenerated.
23999 * Makefile.in: New file.
24000
24001 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24002
24003 * gdb.python/py-framefilter.exp: Fix typo.
24004
24005 2014-02-08 Yao Qi <yao@codesourcery.com>
24006
24007 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24008 that no =breakpoint-modified is emitted when breakpoints are
24009 modified through MI commands.
24010
24011 2014-02-07 Pedro Alves <pedro@codesourcery.com>
24012 Pedro Alves <palves@redhat.com>
24013
24014 * gdb.threads/step-after-sr-lock.c: New file.
24015 * gdb.threads/step-after-sr-lock.exp: New file.
24016
24017 2014-02-07 Pedro Alves <palves@redhat.com>
24018
24019 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24020
24021 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24022
24023 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24024 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24025
24026 2014-02-06 Doug Evans <xdje42@gmail.com>
24027
24028 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24029 output.
24030
24031 * gdb.gdb/python-interrupts.exp: New file.
24032
24033 2014-02-05 Yao Qi <yao@codesourcery.com>
24034
24035 * gdb.trace/report.exp (use_collected_data): Test the output
24036 of "info threads" and "info inferiors".
24037
24038 2014-02-05 Yao Qi <yao@codesourcery.com>
24039
24040 Revert this patch:
24041
24042 2013-05-24 Yao Qi <yao@codesourcery.com>
24043
24044 * gdb.trace/tfile.exp: Test inferior and thread.
24045
24046 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24047
24048 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24049 on a function.
24050 * gdb.base/step-bt.c: Call hello via function pointer to make
24051 sure its first instruction is executed on powerpc64le-linux.
24052
24053 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24054
24055 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24056
24057 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24058
24059 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24060 of the test patterns for use on little-endian systems.
24061
24062 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24063
24064 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24065 (decimal_vector): Fix for little-endian.
24066
24067 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24068
24069 * gdb.arch/sparc-sysstep.exp: New file.
24070 * gdb.arch/sparc-sysstep.c: Likewise.
24071
24072 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24073
24074 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24075
24076 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24077
24078 2014-01-23 Tom Tromey <tromey@redhat.com>
24079
24080 * gdb.ada/array_char_idx: New testcase.
24081
24082 2014-01-23 Tom Tromey <tromey@redhat.com>
24083
24084 PR python/16487:
24085 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24086 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24087 classes.
24088
24089 2014-01-23 Tom Tromey <tromey@redhat.com>
24090
24091 PR python/16491:
24092 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24093 string from an inferior frame.
24094 * gdb.python/py-framefilter-mi.exp: Update.
24095
24096 2014-01-22 Doug Evans <dje@google.com>
24097
24098 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24099
24100 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24101
24102 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24103
24104 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24105
24106 * gdb.trace/entry-values.exp: Remove excess space character from
24107 regex patterns. Handle s390 call instruction.
24108
24109 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24110
24111 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24112 define "*_start" label. Make "name" static.
24113 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24114 ${name} by references to ${name}_start.
24115
24116 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24117
24118 * gdb.base/info-macros.exp: Remove "debug" from the compile
24119 options.
24120
24121 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24122
24123 * gdb.dlang/demangle.exp: New file.
24124
24125 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24126
24127 * gdb.dlang/primitive-types.exp: New file.
24128
24129 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24130
24131 * configure.ac: Create gdb.dlang/Makefile.
24132 * configure: Regenerate.
24133 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24134 * gdb.dlang/Makefile.in: New file.
24135 * lib/d-support.exp: New file.
24136 * lib/gdb.exp (skip_d_tests): New proc.
24137
24138 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24139
24140 * gdb.btrace/delta.exp: Check reverse stepi.
24141 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24142 * gdb.btrace/finish.exp: New.
24143 * gdb.btrace/next.exp: New.
24144 * gdb.btrace/nexti.exp: New.
24145 * gdb.btrace/record_goto.c: Add comments.
24146 * gdb.btrace/step.exp: New.
24147 * gdb.btrace/stepi.exp: New.
24148 * gdb.btrace/multi-thread-step.c: New.
24149 * gdb.btrace/multi-thread-step.exp: New.
24150 * gdb.btrace/rn-dl-bind.c: New.
24151 * gdb.btrace/rn-dl-bind.exp: New.
24152 * gdb.btrace/data.c: New.
24153 * gdb.btrace/data.exp: New.
24154 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24155
24156 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24157
24158 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24159 * gdb.btrace/exception.exp: Update.
24160 * gdb.btrace/instruction_history.exp: Update.
24161 * gdb.btrace/record_goto.exp: Update.
24162 * gdb.btrace/tailcall.exp: Update.
24163 * gdb.btrace/unknown_functions.exp: Update.
24164 * gdb.btrace/delta.exp: New.
24165
24166 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24167
24168 * gdb.btrace/record_goto.exp: Add backtrace test.
24169 * gdb.btrace/tailcall.exp: Add backtrace test.
24170
24171 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24172
24173 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24174 * gdb.btrace/record_goto.c: New.
24175 * gdb.btrace/record_goto.exp: New.
24176 * gdb.btrace/x86-record_goto.S: New.
24177
24178 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24179
24180 * gdb.btrace/function_call_history.exp: Update tests.
24181 * gdb.btrace/instruction_history.exp: Update tests.
24182
24183 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24184
24185 * gdb.btrace/function_call_history.exp: Fix expected field
24186 order for "record function-call-history".
24187 Add new tests for "record function-call-history /c".
24188 * gdb.btrace/exception.cc: New.
24189 * gdb.btrace/exception.exp: New.
24190 * gdb.btrace/tailcall.exp: New.
24191 * gdb.btrace/x86-tailcall.S: New.
24192 * gdb.btrace/x86-tailcall.c: New.
24193 * gdb.btrace/unknown_functions.c: New.
24194 * gdb.btrace/unknown_functions.exp: New.
24195 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24196
24197 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24198
24199 * gdb.btrace/instruction_history.exp: Update.
24200 * gdb.btrace/function_call_history.exp: Update.
24201
24202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24203
24204 * gdb.btrace/function_call_history.exp: Fix expected function
24205 trace.
24206 * gdb.btrace/instruction_history.exp: Initialize traced.
24207 Remove traced_functions.
24208
24209 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24210
24211 * gdb.btrace/function_call_history.exp: Update
24212 * gdb.btrace/instruction_history.exp: Update.
24213
24214 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24215
24216 * gdb.btrace/enable.exp: Update expected text.
24217
24218 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24219
24220 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24221 bytes.
24222
24223 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24224
24225 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24226
24227 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
24228
24229 * lib/gdb.exp (supports_process_record): Return true for
24230 arm*-linux*. (supports_reverse): Likewise.
24231
24232 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24233
24234 PR python/15464
24235 PR python/16113
24236 * gdb.python/py-type.c: Enhance test case.
24237 * gdb.python/py-value-cc.cc: Likewise
24238 * gdb.python/py-type.exp: Add new tests.
24239 * gdb.python/py-value-cc.exp: Likewise
24240
24241 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24242 Pedro Alves <palves@redhat.com>
24243
24244 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24245 Make "name" extern.
24246 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24247 references to ${name}_start by references to ${name}.
24248
24249 2014-01-10 Joel Brobecker <brobecker@adacore.com>
24250
24251 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24252
24253 2014-01-10 Joel Brobecker <brobecker@adacore.com>
24254
24255 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24256
24257 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24258 Pedro Alves <palves@redhat.com>
24259
24260 * gdb.mi/mi-info-os.exp: Connect to the target with
24261 mi_gdb_target_load.
24262
24263 2014-01-08 Pedro Alves <palves@redhat.com>
24264
24265 * gdb.threads/reconnect-signal.c: New file.
24266 * gdb.threads/reconnect-signal.exp: New file.
24267
24268 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24269
24270 * gdb.base/source-dir.exp: New file.
24271
24272 2014-01-07 Joel Brobecker <brobecker@adacore.com>
24273
24274 * gdb.ada/mi_interface: New testcase.
24275
24276 2014-01-07 Joel Brobecker <brobecker@adacore.com>
24277
24278 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24279 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24280 gdb.ada/pp-rec-component/pck.ads: New files.
24281
24282 2014-01-07 Joel Brobecker <brobecker@adacore.com>
24283
24284 * gdb.python/py-pp-integral.c: New file.
24285 * gdb.python/py-pp-integral.py: New file.
24286 * gdb.python/py-pp-integral.exp: New file.
24287
24288 For older changes see ChangeLog-1993-2013.
24289 \f
24290 ;; Local Variables:
24291 ;; mode: change-log
24292 ;; left-margin: 8
24293 ;; fill-column: 74
24294 ;; version-control: never
24295 ;; End:
24296
24297 Copyright 2014-2021 Free Software Foundation, Inc.
24298 Copying and distribution of this file, with or without modification,
24299 are permitted provided the copyright notice and this notice are preserved.
This page took 0.577004 seconds and 3 git commands to generate.