]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[gdb/symtab] Handle struct decl with DW_AT_signature
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
15cd93d0
TV
12020-04-28 Tom de Vries <tdevries@suse.de>
2
3 * gdb.dwarf2/main-foo.c: New test.
4 * gdb.dwarf2/struct-with-sig.exp: New file.
5
d472f0fb
TV
62020-04-25 Tom de Vries <tdevries@suse.de>
7
8 * boards/debug-types.exp: New file.
9
8d840e05
AB
102020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
11
12 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
13
bcfe6157
TT
142020-04-24 Tom Tromey <tom@tromey.com>
15
16 PR symtab/12707:
17 * gdb.python/py-symbol.exp: Update expected results for
18 linkage_name test.
19 * gdb.cp/print-demangle.exp: New file.
20 * gdb.base/c-linkage-name.exp: Fix test.
21 * gdb.guile/scm-symbol.exp: Update expected results for
22 linkage_name test.
23
f049a313
TT
242020-04-24 Tom Tromey <tom@tromey.com>
25
26 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
27 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
28 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
29 assembler.
30
7cf28874
TV
312020-04-24 Tom de Vries <tdevries@suse.de>
32
33 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
34 C++.
35
dac2fef7
TT
362020-04-24 Tom Tromey <tromey@adacore.com>
37
38 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
39 values.
40 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
41 values. Update test for minimal encodings.
42 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
43 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
44 values. Update test for minimal encodings.
45
1acda803
TT
462020-04-24 Tom Tromey <tromey@adacore.com>
47
48 PR python/23662:
49 * gdb.ada/variant.exp: Add Python checks.
50 * gdb.rust/simple.exp: Add dynamic type checks.
51
adfb9815
TT
522020-04-24 Tom Tromey <tromey@adacore.com>
53
54 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
55 Make array type matching more lax.
56 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
57 * gdb.ada/mi_variant.exp: New file.
58 * gdb.ada/mi_variant/pck.ads: New file.
59 * gdb.ada/mi_variant/pkg.adb: New file.
60 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
61 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
62
7d79de9a
TT
632020-04-24 Tom Tromey <tromey@adacore.com>
64
65 * gdb.ada/variant.exp: Add dynamic field offset tests.
66 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
67 * gdb.ada/variant/pkg.adb: Add new variables.
68
f8e89861
TT
692020-04-24 Tom Tromey <tromey@adacore.com>
70
71 * gdb.ada/variant.exp: New file
72 * gdb.ada/variant/pkg.adb: New file
73 * gdb.ada/variant/pck.adb: New file
74
86e887ae
TV
752020-04-24 Tom de Vries <tdevries@suse.de>
76
77 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
78
88428775
TV
792020-04-24 Tom de Vries <tdevries@suse.de>
80
81 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
82 flags.
83
4e86f6e7
TV
842020-04-24 Tom de Vries <tdevries@suse.de>
85
86 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
87
2016d3e6
TV
882020-04-24 Tom de Vries <tdevries@suse.de>
89
90 * lib/gdb.exp (default_gdb_start): Handle eof.
91 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
92 failure.
93 * gdb.base/readnever.exp: Handle clean_restart failure.
94
70bc38f5
TV
952020-04-23 Tom de Vries <tdevries@suse.de>
96
97 * gdb.base/decl-before-def.exp: Run to main and print a again.
98
de82891c
TV
992020-04-23 Tom de Vries <tdevries@suse.de>
100
101 * gdb.base/decl-before-def-decl.c: New test.
102 * gdb.base/decl-before-def-def.c: New test.
103 * gdb.base/decl-before-def.exp: New file.
104
96038148
TV
1052020-04-23 Tom de Vries <tdevries@suse.de>
106
107 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
108
54ac3df1
TV
1092020-04-22 Tom de Vries <tdevries@suse.de>
110
111 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
112 debug_info_offset.
113 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
114 before $objsfile in the line line.
115
714534e1
TV
1162020-04-22 Tom de Vries <tdevries@suse.de>
117
118 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
119
16a7dbf4
MS
1202020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
121
122 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
123 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
124 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
125 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
126 * gdb.base/jit-protocol.h: Update definitions to match all usage
127 contexts.
128
1292020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
130
131 * gdb.base: Rename all jit related test and source files.
132
1332020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
134
135 * gdb.base/jit-reader.exp: Relax register output check.
136
317d2668
TV
1372020-04-22 Tom de Vries <tdevries@suse.de>
138
139 PR symtab/25764
140 * gdb.base/psym-external-decl-2.c: New test.
141 * gdb.base/psym-external-decl.c: New test.
142 * gdb.base/psym-external-decl.exp: New file.
143 * gdb.threads/tls.exp: Add PR25807 kfail.
144
eea9e357
TV
1452020-04-22 Tom de Vries <tdevries@suse.de>
146
147 PR symtab/25801
148 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
149 in "info source" output.
150
3d5afab3
TV
1512020-04-22 Tom de Vries <tdevries@suse.de>
152
153 PR symtab/25700
154 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
155 symtab for imported_unit.c.
156
b32102f6
GB
1572020-04-21 Gary Benson <gbenson@redhat.com>
158
159 * gdb.base/advance.c (func): New argument, to match call site.
160 (func2, func3): Add return statements.
161
d43b7a2d
TBA
1622020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
163
164 * gdb.multi/run-only-second-inf.c: New file.
165 * gdb.multi/run-only-second-inf.exp: New file.
166
d89edf9b
MM
1672020-04-21 Markus Metzger <markus.t.metzger@intel.com>
168
169 * gdb.btrace/multi-inferior.c: New test.
170 * gdb.btrace/multi-inferior.exp: New file.
171
1a476b6d
MM
1722020-04-21 Markus Metzger <markus.t.metzger@intel.com>
173
174 * gdb.btrace/enable-new-thread.c: New test.
175 * gdb.btrace/enable-new-thread.exp: New file.
176
4778a5f8
TV
1772020-04-21 Tom de Vries <tdevries@suse.de>
178
179 PR gdb/25471
180 * gdb.threads/killed-outside.c: New test.
181 * gdb.threads/killed-outside.exp: New file.
182
9b2c992c
GB
1832020-04-20 Gary Benson <gbenson@redhat.com>
184
185 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
186 * gdb.base/nested-subp2.exp: Likewise.
187 * gdb.base/nested-subp3.exp: Likewise.
188
b5d1d6f7
GB
1892020-04-20 Gary Benson <gbenson@redhat.com>
190
191 * gdb.base/nested-subp1.exp: Disable test when using clang.
192 * gdb.base/nested-subp2.exp: Likewise.
193 * gdb.base/nested-subp3.exp: Likewise.
194
25230285
GB
1952020-04-20 Gary Benson <gbenson@redhat.com>
196
197 * gdb.cp/exception.cc: Fix compilation error with clang.
198
fa93cc8f
GB
1992020-04-20 Gary Benson <gbenson@redhat.com>
200
809730f3 201 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 202
e0c45f30
GB
2032020-04-20 Gary Benson <gbenson@redhat.com>
204
205 * gdb.base/jit-main.c: Fix compilation error with clang.
206
4ddfec93
KR
2072020-04-17 Kamil Rytarowski <n54@gmx.com>
208
209 * gdb.base/attach-twice.c: Include "sys/types.h".
210 (PTRACE_ATTACH): Add fallback definition.
211 (main): Pass `0' to the 4th argument of `ptrace'.
212
2bed205e
KR
2132020-04-17 Kamil Rytarowski <n54@gmx.com>
214
215 * gdb.base/fork-running-state.c: Include "signal.h".
216
0743fc83
TT
2172020-04-17 Tom Tromey <tromey@adacore.com>
218
219 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
220 Update tests.
221 * gdb.btrace/cpu.exp: Update tests.
222 * gdb.base/maint.exp: Update tests.
223 * gdb.base/default.exp: Update tests.
224 * gdb.base/completion.exp: Update tests.
225
efba5c23
TV
2262020-04-16 Tom de Vries <tdevries@suse.de>
227
228 PR symtab/25791
229 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
230 (ensure_gdb_index): and factor out and move ...
231 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
232 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
233
d191d716
TV
2342020-04-16 Tom de Vries <tdevries@suse.de>
235
236 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
237 loading exec.
238
99f1bc6a
AB
2392020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
240
241 * gdb.base/many-completions.exp: New file.
242
194d088f
TV
2432020-04-14 Tom de Vries <tdevries@suse.de>
244
245 PR symtab/25718
246 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
247
c1a66c06
TV
2482020-04-14 Tom de Vries <tdevries@suse.de>
249
250 PR symtab/25720
251 * gdb.base/maint-expand-symbols-header-file.c: New test.
252 * gdb.base/maint-expand-symbols-header-file.exp: New file.
253 * gdb.base/maint-expand-symbols-header-file.h: New test.
254
21b0982c
AB
2552020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
256
257 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
258 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
259 get_func_info.
260 (get_func_info): Delete.
261 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
262 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
263 * lib/dwarf.exp (get_func_info): New function.
264
dd1cab06
TV
2652020-04-13 Tom de Vries <tdevries@suse.de>
266
267 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
268 to what find_gnatmake does.
269
71ea2b6b
TV
2702020-04-10 Tom de Vries <tdevries@suse.de>
271
272 * gdb.base/style.exp: Expect "Expanding full symbols" message for
273 -readnow.
274
bdfc1e8a
TV
2752020-04-10 Tom de Vries <tdevries@suse.de>
276
277 PR cli/25808
278 * gdb.base/style.c: Add leading newlines.
279 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
280 Check listing of main's one-line body.
281
14ca8ecf
TV
2822020-04-08 Tom de Vries <tdevries@suse.de>
283
284 * lib/gdb.exp (psymtabs_p): New proc.
285 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
286 importing unit" unsupported if there are no partial symbols.
287
e21d048f
TV
2882020-04-08 Tom de Vries <tdevries@suse.de>
289
290 PR testsuite/25760
291 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
292
25c11aca
TV
2932020-04-07 Tom de Vries <tdevries@suse.de>
294
295 PR symtab/25796
296 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
297
5707e24b
TV
2982020-04-07 Tom de Vries <tdevries@suse.de>
299
300 * gdb.base/check-psymtab.c: New test.
301 * gdb.base/check-psymtab.exp: New file.
302
6ee448cc
TT
3032020-04-06 Tom Tromey <tromey@adacore.com>
304
305 * gdb.ada/variant-record/proc.adb: New file.
306 * gdb.ada/variant-record/value.adb: New file.
307 * gdb.ada/variant-record/value.s: New file.
308 * gdb.ada/variant-record.exp: New file.
309
9e7c9a03
HD
3102020-04-03 Hannes Domani <ssbssa@yahoo.de>
311
312 PR gdb/25325
313 * gdb.cp/typed-enum.cc: New test.
314 * gdb.cp/typed-enum.exp: New file.
315
c90d28ac
AB
3162020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
317
318 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
319 * gdb.dwarf2/dw2-inline-small-func.c: New file.
320 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
321 * gdb.dwarf2/dw2-inline-small-func.h: New file.
322 * gdb.opt/inline-small-func.c: New file.
323 * gdb.opt/inline-small-func.exp: New file.
324 * gdb.opt/inline-small-func.h: New file.
325
34e9a9fa
AB
3262020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
329 function.
330
6a354911
AB
3312020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
332
333 * lib/dwarf.exp (function_range): Allow compiler options to be
334 specified.
335
880d9777
TV
3362020-04-02 Tom de Vries <tdevries@suse.de>
337
338 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
339 __attribute__((always_inline)).
340 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
341
f32682ea
TV
3422020-04-02 Tom de Vries <tdevries@suse.de>
343
344 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
345 (gdbserver_gdb_exit): ... here. Add timeout warning.
346 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
347 (connect_target_extended_remote): Append new server_spawn_id to
348 server_spawn_ids.
349 (cleanup): New proc.
350 (setup, <toplevel>): Call cleanup.
351
d3214198
TV
3522020-04-02 Tom de Vries <tdevries@suse.de>
353
354 * gdb.base/main-psymtab.exp: New file.
355
cc77ed24
TV
3562020-04-02 Tom de Vries <tdevries@suse.de>
357
358 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
359
3638a098
TT
3602020-04-01 Tom Tromey <tom@tromey.com>
361
362 * gdb.base/complex-parts.exp: Add type tests.
363
c34e8714
TT
3642020-04-01 Tom Tromey <tom@tromey.com>
365
366 * gdb.base/complex-parts.exp: Add arithmetic tests.
367
981c08ce
TT
3682020-04-01 Tom Tromey <tom@tromey.com>
369
370 * gdb.compile/compile.exp: Update.
371 * gdb.compile/compile-cplus.exp: Update.
372 * gdb.base/varargs.exp: Update.
373 * gdb.base/floatn.exp: Update.
374 * gdb.base/endianity.exp: Update.
375 * gdb.base/callfuncs.exp (do_function_calls): Update.
376 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
377 (complex_float_integral_args): Update.
378 * gdb.base/complex.exp: Update.
379 * gdb.base/complex-parts.exp: Update.
380
3d1cfd43
TT
3812020-04-01 Tom Tromey <tromey@adacore.com>
382
383 * gdb.rust/union.rs: New file.
384 * gdb.rust/union.exp: New file.
385 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
386 (main): Update.
387 * gdb.rust/simple.exp: Move union tests to union.exp.
388
e033dfa9
TT
3892020-04-01 Tom Tromey <tromey@adacore.com>
390
391 * gdb.rust/simple.rs (main): Remove "y0".
392
53cccef1
TBA
3932020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
394
395 * gdb.multi/stop-all-on-exit.c: New test.
396 * gdb.multi/stop-all-on-exit.exp: New file.
397
60e22c1e
HD
3982020-04-01 Hannes Domani <ssbssa@yahoo.de>
399
400 PR gdb/24789
401 * gdb.cp/misc.cc: Add integer reference variable.
402 * gdb.cp/misc.exp: Add test.
403
e139a727
TBA
4042020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
405
406 * gdb.server/stop-reply-no-thread.exp: Enhance the test
407 scenario to cover execution until the end and also the case
408
16b0db75
TV
4092020-03-31 Tom de Vries <tdevries@suse.de>
410
411 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
412 c. Use "maint info symtabs" to check symtab expansion.
413
c0502da6
TV
4142020-03-30 Tom de Vries <tdevries@suse.de>
415
416 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
417 unsupported.
418 (verify_psymtab_expanded): Move ...
419 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
420 test.
421 (readnow): New proc.
422
5935fd15
AB
4232020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
424
425 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
426 with $hex.
427
1773be9e
TT
4282020-03-20 Tom Tromey <tromey@adacore.com>
429
430 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
431
70304be9
TT
4322020-03-20 Tom Tromey <tromey@adacore.com>
433
434 * gdb.ada/sub_variant/subv.adb: New file.
435 * gdb.ada/sub_variant.exp: New file.
436
0dd7b8f7
TV
4372020-03-20 Tom de Vries <tdevries@suse.de>
438
439 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
440 first break fails.
441 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
442
cada5fc9
AB
4432020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
444
445 * gdb.server/exit-multiple-threads.c: New file.
446 * gdb.server/exit-multiple-threads.exp: New file.
447
6b8c53f2
AB
4482020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
449
450 * gdb.fortran/mixed-lang-stack.c: New file.
451 * gdb.fortran/mixed-lang-stack.cpp: New file.
452 * gdb.fortran/mixed-lang-stack.exp: New file.
453 * gdb.fortran/mixed-lang-stack.f90: New file.
454
19a2740f
AB
4552020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
456
457 * gdb.linespec/cp-completion-aliases.cc: New file.
458 * gdb.linespec/cp-completion-aliases.exp: New file.
459
d8c8b848
TV
4602020-03-19 Tom de Vries <tdevries@suse.de>
461
462 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
463 more precise.
464
a9933ccf
TV
4652020-03-18 Tom de Vries <tdevries@suse.de>
466
467 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
468 * gdb.dwarf2/break-inline-psymtab.c: New test.
469 * gdb.dwarf2/break-inline-psymtab.exp: New file.
470
2f89101f
TV
4712020-03-16 Tom de Vries <tdevries@suse.de>
472
473 * lib/cache.exp (gdb_do_cache): Add and handle local variables
474 cache_verify and cache_verify_proc.
475
6b9374f1
TV
4762020-03-15 Tom de Vries <tdevries@suse.de>
477
478 * gdb.server/solib-list.exp: Handle
479 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
480
eaeaf44c
TV
4812020-03-15 Tom de Vries <tdevries@suse.de>
482
483 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
484 objfiles".
485
3293bbaf
TT
4862020-03-14 Tom Tromey <tom@tromey.com>
487
488 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
489
ab44624c
TV
4902020-03-14 Tom de Vries <tdevries@suse.de>
491
492 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
493
54c43825
TV
4942020-03-14 Tom de Vries <tdevries@suse.de>
495
496 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
497 result in line-by-line fashion.
498
2ac70237
TV
4992020-03-14 Tom de Vries <tdevries@suse.de>
500
501 * lib/gdb.exp (supports_statement_frontiers): New proc.
502 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
503
09546b56
TV
5042020-03-14 Tom de Vries <tdevries@suse.de>
505
506 * gdb.base/printcmds.exp: Add missing quoting for "print
507 teststring2".
508
a1f6a07c
TT
5092020-03-13 Tom Tromey <tom@tromey.com>
510
511 * gdb.base/printcmds.exp (test_print_strings): Add regression
512 test.
513 * gdb.base/printcmds.c (charptr): New typedef.
514 (teststring2): New global.
515
1b83d09c
AB
5162020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
517
518 * gdb.base/break-interp.exp: Use the tail of the filename, not the
519 full path in the test name.
520 (test_ld): Add some with_test_prefix blocks to make test names
521 unique.
522
2d61316c
TV
5232020-03-13 Tom de Vries <tdevries@suse.de>
524
525 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
526
2e9145ac
TV
5272020-03-13 Tom de Vries <tdevries@suse.de>
528
529 * gdb.mi/mi-sym-info.exp: Make matching more precise.
530
96c7f873
TV
5312020-03-13 Tom de Vries <tdevries@suse.de>
532
533 PR symtab/25646
534 * gdb.dwarf2/imported-unit.exp: Add test.
535
49ba92c0
TV
5362020-03-13 Tom de Vries <tdevries@suse.de>
537
538 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
539 (var1, var2): New variable.
540 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
541 matching symbols.
542
301b21e0
TV
5432020-03-13 Tom de Vries <tdevries@suse.de>
544
545 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
546 (Term::command): Use prompt prefix.
547 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
548 * gdb.tui/tui-layout-asm-short-prog.exp: Use
549 command_no_prompt_prefix instead of prefix.
550 * gdb.tui/tui-layout-asm.exp: Same.
551
3f512721
SM
5522020-03-12 Simon Marchi <simon.marchi@efficios.com>
553
554 * gdb.base/break-interp.exp: Use foreach_with_prefix.
555
40310f30
SM
5562020-03-12 Simon Marchi <simon.marchi@efficios.com>
557
558 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
559 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
560 on" while stepping over the test instruction, match printed
561 message.
562
09252140
TV
5632020-03-12 Tom de Vries <tdevries@suse.de>
564
565 * gdb.base/info-types.exp: Use exp_continue during matching of output
566 of "info types".
567
14e9c72c
TV
5682020-03-12 Tom de Vries <tdevries@suse.de>
569
570 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
571
e515d67e
TV
5722020-03-12 Tom de Vries <tdevries@suse.de>
573
574 * gdb.fortran/module.exp: Use exp_continue during matching of output
575 of "info variable -n".
576
307eafd8
TV
5772020-03-12 Tom de Vries <tdevries@suse.de>
578
579 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
580 gdb.dwarf2/dw2-ranges-base.c.
581
9a2de3fc
TV
5822020-03-12 Tom de Vries <tdevries@suse.de>
583
584 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
585 in presence of GLIBC debuginfo.
586
3217502e
TV
5872020-03-12 Tom de Vries <tdevries@suse.de>
588
589 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
590 $core.
591
1281424c
TV
5922020-03-12 Tom de Vries <tdevries@suse.de>
593
594 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
595 more precise.
596
038b97fc
SM
5972020-03-11 Simon Marchi <simon.marchi@efficios.com>
598
599 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
600 from Unix to Windows path.
601
5308d1e7
TV
6022020-03-11 Tom de Vries <tdevries@suse.de>
603
604 * gdb.ada/minsyms.exp: Set language to ada.
605
f870f78f
TV
6062020-03-11 Tom de Vries <tdevries@suse.de>
607
608 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
609
5a13315d
TV
6102020-03-11 Tom de Vries <tdevries@suse.de>
611
612 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
613
976862ed
TT
6142020-03-11 Tom Tromey <tromey@adacore.com>
615
616 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
617
7462c383
TV
6182020-03-11 Tom de Vries <tdevries@suse.de>
619
620 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
621
1c6c46a0
TV
6222020-03-11 Tom de Vries <tdevries@suse.de>
623
624 * gdb.base/break-interp.exp: Limit verbose scope.
625
44f41bb7
TV
6262020-03-11 Tom de Vries <tdevries@suse.de>
627
628 * gdb.fortran/logical.f90: Define variable with character type.
629 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
630
b76f3a42
TV
6312020-03-11 Tom de Vries <tdevries@suse.de>
632
633 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
634
1c33af77
TV
6352020-03-11 Tom de Vries <tdevries@suse.de>
636
637 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
638 symtabs.
639
8c95582d
AB
6402020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
641 Bernd Edlinger <bernd.edlinger@hotmail.de>
642
643 * gdb.cp/step-and-next-inline.cc: New file.
644 * gdb.cp/step-and-next-inline.exp: New file.
645 * gdb.cp/step-and-next-inline.h: New file.
646 * gdb.dwarf2/dw2-is-stmt.c: New file.
647 * gdb.dwarf2/dw2-is-stmt.exp: New file.
648 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
649 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
650 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
651
cecf8547
AB
6522020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
653
654 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
655 is-stmt flag in the line table.
656
0ba678c9
TV
6572020-03-09 Tom de Vries <tdevries@suse.de>
658
659 * lib/gdb.exp (cached_file): Create cache dir.
660
72fbdf83
TV
6612020-03-07 Tom de Vries <tdevries@suse.de>
662
663 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
664 * gdb.cp/rvalue-ref-params.exp: Same.
665
436b5e99
TV
6662020-03-06 Tom de Vries <tdevries@suse.de>
667
668 * lib/gdb.exp (tentative_rename, cached_file): New proc.
669 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
670
09f2921c
TV
6712020-03-06 Tom de Vries <tdevries@suse.de>
672
673 * README: Fix "the the".
674 * gdb.base/dprintf.exp: Same.
675
50a3cc5d
TV
6762020-03-05 Tom de Vries <tdevries@suse.de>
677
678 * gdb.base/maint.exp: Update "main print statistics" expected output.
679
0a709cba
AKS
6802020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
681
682 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
683 (fortran_int8): Likewise.
684 (fortran_real4): Likewise.
685 (fortran_real8): Likewise.
686 (fortran_complex4): Likewise.
687 (fortran_logical4): Likewise.
688 (fortran_character1): Likewise.
689
5e5d66b6
AB
6902020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
691
692 * gdb.fortran/logical.exp: Add tests that any non-zero value is
693 printed as true.
694
7b973adc
SDJ
6952020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
696
697 * gdb.base/printcmds.exp: Add test to verify printf of a
698 variable holding an address.
699
478e490a
TV
7002020-03-03 Tom de Vries <tdevries@suse.de>
701
702 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
703
1ef44e86
TV
7042020-03-03 Tom de Vries <tdevries@suse.de>
705
706 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
707 gdb_test_multiple call.
708
b98cc2cf
TV
7092020-03-03 Tom de Vries <tdevries@suse.de>
710
711 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
712 gdb_test_multiple calls.
713
63e163f2
AB
7142020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * gdb.base/default.exp: Remove test of 'set history filename'.
717 * gdb.base/gdbinit-history.exp: Add tests for setting the history
718 filename to the empty string.
719 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
720 and GDBHISTSIZE.
721
24ed6739
AB
7222020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
723
724 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
725 disabled.
726
590003dc
TV
7272020-03-02 Pedro Alves <palves@redhat.com>
728 Tom de Vries <tdevries@suse.de>
729
730 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
731 -prompt prefix, before user_code argument. Add -lbl option likewise.
732 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
733 (gdb_is_target_1): Add -prompt prefix and move to before user_code
734 argument.
735 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
736 have "\r\n" at start-of-line, instead of at end-of-line.
737
f5e46084
SM
7382020-02-28 Simon Marchi <simon.marchi@efficios.com>
739
740 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
741 libinproctrace.so.
742
f7a7000d
LM
7432020-02-28 Luis Machado <luis.machado@linaro.org>
744
745 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
746 to "p/x".
747
718e0816
LM
7482020-02-28 Luis Machado <luis.machado@linaro.org>
749
750 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
751 asm/ptrace.h and error.h.
752
13c3a74a
TV
7532020-02-28 Tom de Vries <tdevries@suse.de>
754
755 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
756 (struct wrapper, do_something, mundane/symada__cS): Move ...
757 * gdb.base/c-linkage-name-2.c: ... here. New source file.
758 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
759 Update "print symada__cS before partial symtab expansion" regexp.
760 Update breakpoint location. Flush symbol cache after expansion.
761
85d2d5bb
LM
7622020-02-28 Luis Machado <luis.machado@linaro.org>
763
764 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
765
3608f86c
TV
7662020-02-27 Tom de Vries <tdevries@suse.de>
767
768 * config/sid.exp: Remove unused globals.
769 * gdb.base/attach.exp: Same.
770 * gdb.base/catch-load.exp: Same.
771 * gdb.base/dbx.exp: Same.
772 * lib/gdb.exp: Same.
773 * lib/mi-support.exp: Same.
774 * lib/prompt.exp: Same.
775
c8d4f6df
TV
7762020-02-27 Tom de Vries <tdevries@suse.de>
777
778 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
779 not set.
780
0d79cdc4
AM
7812020-02-26 Aaron Merey <amerey@redhat.com>
782
783 * gdb.debuginfod: New directory for debuginfod tests.
784 * gdb.debuginfod/main.c: New test file.
785 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
786
0dce4280
TV
7872020-02-26 Tom de Vries <tdevries@suse.de>
788
789 PR gdb/25603
790 * gdb.base/persistent-lang.cc: New test.
791 * gdb.base/persistent-lang.exp: New file.
792
9e80cfa1
AB
7932020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
794
795 * gdb.fortran/derived-type-striding.exp: Add a new test.
796 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
797 new test.
798
2078dbb2
AB
7992020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
800
801 * gdb.base/cached-source-file.exp: Avoid source file paths in test
802 names.
803
70d49700
TV
8042020-02-25 Tom de Vries <tdevries@suse.de>
805
806 PR go/18926
807 * gdb.go/methods.exp: Remove gcc/93866 xfail.
808
a88ef40d
TV
8092020-02-24 Tom de Vries <tdevries@suse.de>
810
811 PR gdb/25592
812 * gdb.base/info-locals-unused-static-var.c: New test.
813 * gdb.base/info-locals-unused-static-var.exp: New file.
814
01b1af32
TT
8152020-02-22 Tom Tromey <tom@tromey.com>
816
817 * gdb.python/tui-window.exp: New file.
818 * gdb.python/tui-window.py: New file.
819
7c043ba6
TT
8202020-02-22 Tom Tromey <tom@tromey.com>
821
822 PR tui/17850:
823 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
824 tests.
825
c22fef7e
TT
8262020-02-22 Tom Tromey <tom@tromey.com>
827
828 * gdb.tui/new-layout.exp: Add sub-layout tests.
829
ee325b61
TT
8302020-02-22 Tom Tromey <tom@tromey.com>
831
832 * gdb.tui/new-layout.exp: New file.
833
3f0cbb04
TT
8342020-02-22 Tom Tromey <tom@tromey.com>
835
836 * gdb.rust/rust-style.rs: New file.
837 * gdb.rust/rust-style.exp: New file.
838 * gdb.base/style.exp: Test structure printing.
839 * gdb.base/style.c (struct some_struct): New type.
840 (enum etype): New type.
841 (struct_value): New global.
842
75525152
TV
8432020-02-21 Tom de Vries <tdevries@suse.de>
844
845 PR go/18926
846 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
847 Remove blanket xfails. Use message argument for gdb_breakpoint.
848 Make continuing to breakpoint test conditional on setting breakpoint.
849 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
850 DW_AT_name attribute. Add xfail for GCC PR93866.
851
bd360d30
AB
8522020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
853
854 * gdb.dwarf2/cpp-linkage-name.c: New file.
855 * gdb.dwarf2/cpp-linkage-name.exp: New file.
856
c7adb09f 8572020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
858
859 * lib/gdb.exp (gdb_wrapper_init): Reset
860 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
861 not exist.
862
a9c79803
TV
8632020-02-20 Tom de Vries <tdevries@suse.de>
864
865 PR go/17018
866 * gdb.go/hello.exp: Copy ...
867 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
868 print of st to print value of global definition. Add xfail for GCC
869 PR93844.
870 * gdb.go/hello.exp: Remove printing of st before definition.
871 * gdb.go/hello.go: Copy ...
872 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
873 to st.
874 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
875
d7445728
TV
8762020-02-20 Tom de Vries <tdevries@suse.de>
877
878 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
879 (gdb_simple_compile): Handle compile_flags go by using .go extension
880 for source file.
881 * gdb.go/chan.exp: Use support_go_compile.
882 * gdb.go/handcall.exp: Same.
883 * gdb.go/hello.exp: Same.
884 * gdb.go/integers.exp: Same.
885 * gdb.go/max-depth.exp: Same.
886 * gdb.go/methods.exp: Same.
887 * gdb.go/package.exp: Same.
888 * gdb.go/strings.exp: Same.
889 * gdb.go/types.exp: Same.
890 * gdb.go/unsafe.exp: Same.
891
c9c41e6d
TV
8922020-02-19 Tom de Vries <tdevries@suse.de>
893
894 * gdb.python/lib-types.exp: Make xfail more strict.
895
f20ff837
TV
8962020-02-19 Tom de Vries <tdevries@suse.de>
897
898 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
899
08410482
DE
9002020-02-19 Doug Evans <dje@google.com>
901
902 PR rust/25535
903 * gdb.rust/simple.exp: Add test.
904 * gdb.rust/simple.rs: Add test.
905
623563f7
TV
9062020-02-19 Tom de Vries <tdevries@suse.de>
907
908 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
909 output line-by-line.
910
d3308cfd
TV
9112020-02-19 Tom de Vries <tdevries@suse.de>
912
913 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
914
86cbc5dc
TV
9152020-02-19 Tom de Vries <tdevries@suse.de>
916
917 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
918 prelink.
919
9db2b96b
TV
9202020-02-19 Tom de Vries <tdevries@suse.de>
921
922 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
923 (gdb_do_cache): Use gdb_do_cache_wrap.
924 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
925
89e2fdc5
TV
9262020-02-19 Tom de Vries <tdevries@suse.de>
927
928 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
929 gdb_compile option.
930
373d7ac0
SM
9312020-02-18 Simon Marchi <simon.marchi@efficios.com>
932
933 * gdb.base/printcmds.exp (test_print_enums): Update expected
934 output.
935
b29a2df0
SM
9362020-02-18 Simon Marchi <simon.marchi@efficios.com>
937
938 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
939 for "unknown".
940
6740f0cc
SM
9412020-02-18 Simon Marchi <simon.marchi@efficios.com>
942
943 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
944 enumerator.
945
edd45eb0
SM
9462020-02-18 Simon Marchi <simon.marchi@efficios.com>
947
948 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
949 FE_, add FE_NONE.
950 (three): Update.
951 (enum flag_enum_without_zero): New enum.
952 (flag_enum_without_zero): New variable.
953 (enum not_flag_enum): New enum.
954 (three_not_flag): New variable.
955 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
956 (test_print_enums): Add more tests for printing flag enums.
957
d4295de4
TV
9582020-02-18 Tom de Vries <tdevries@suse.de>
959
960 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
961 (gdb_compile_ada): ... here.
962 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
963 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
964
f251f505
TT
9652020-02-14 Tom Tromey <tom@tromey.com>
966
967 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
968 build directory.
969 * boards/gdbserver-base.exp: Update path to gdbserver.
970
8f432634
TV
9712020-02-13 Tom de Vries <tdevries@suse.de>
972
973 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
974
92b6eaf7
TV
9752020-02-13 Tom de Vries <tdevries@suse.de>
976
977 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
978 are missing.
979
f3b0f7fe
TV
9802020-02-13 Tom de Vries <tdevries@suse.de>
981
982 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
983 call.
984
f6be8713
SDJ
9852020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
986
987 PR tui/25126
988 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
989 * gdb.base/cached-source-file.c: New file.
990 * gdb.base/cached-source-file.exp: New file.
991
b2770d5e
TV
9922020-02-11 Tom de Vries <tdevries@suse.de>
993
994 PR testsuite/25488
995 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
996
44f6938e
TV
9972020-02-10 Tom de Vries <tdevries@suse.de>
998
999 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1000
5f0e2eb7
MR
10012020-02-10 Maciej W. Rozycki <macro@wdc.com>
1002
1003 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1004 and $after_addr are both integers before making a comparison.
1005
46ce2b6f
TV
10062020-02-09 Tom de Vries <tdevries@suse.de>
1007
1008 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1009 command output and paste it into gdb.log. If any, paste catch message
1010 to gdb.log.
1011
5abbbe1d
TT
10122020-02-07 Tom Tromey <tromey@adacore.com>
1013
1014 PR breakpoints/24915:
1015 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1016
1d5d29e7
SV
10172020-02-06 Shahab Vahedi <shahab@synopsys.com>
1018
1019 * gdb.tui/tui-missing-src.exp: Add the "missing source
1020 file" test for the TUI.
1021
b0999b9b
AB
10222020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1023
1024 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1025 including a port number in the output.
1026
c3b149eb
AKS
10272020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1028
1029 * lib/fortran.exp (fortran_int4): Handle clang.
1030 (fortran_int8): Likewise.
1031 (fortran_real4): Likewise.
1032 (fortran_real8): Likewise.
1033 (fortran_complex4): Likewise.
1034 (fortran_logical4): Likewise.
1035 (fortran_character1): Likewise.
1036
f8dcc90b
TV
10372020-02-04 Tom de Vries <tdevries@suse.de>
1038
1039 * README (Race detection): Add note.
1040
f90ac7c2
TV
10412020-02-04 Tom de Vries <tdevries@suse.de>
1042
1043 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1044
780636ae
TV
10452020-02-04 Tom de Vries <tdevries@suse.de>
1046
1047 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1048
5d2e1193
RA
10492020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1050
1051 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1052 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1053 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1054 blttar, bnetarl.
1055 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1056 binary for blttar, bnetarl.
1057 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1058 wait instruction. Delete ldmx test.
1059 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1060
e409c542
AKS
10612020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1062
1063 * gdb.fortran/array-bounds-high.exp: New file.
1064 * gdb.fortran/array-bounds-high.f90: New file.
1065
b0029748
LD
10662020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1067
1068 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1069 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1070
195a8287
TV
10712020-02-01 Tom de Vries <tdevries@suse.de>
1072
1073 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1074
42330a68
AB
10752020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1076
1077 PR tui/9765
1078 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1079 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1080
b62a8028
LM
10812020-01-29 Luis Machado <luis.machado@linaro.org>
1082
1083 * gdb.arch/aarch64-brk-patterns.c: New source file.
1084 * gdb.arch/aarch64-brk-patterns.exp: New test.
1085
5f440116
TBA
10862020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1087
1088 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1089 GCC/Clang version.
1090 * gdb.cp/pass-by-ref.exp: Ditto.
1091
ee2a6fc6
TV
10922020-01-29 Tom de Vries <tdevries@suse.de>
1093
1094 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1095 * gdb.threads/watchpoint-fork-mt.c: Same.
1096 * gdb.threads/watchpoint-fork-parent.c: Same.
1097 * gdb.threads/watchpoint-fork-st.c: Same.
1098 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1099
16b10d6e
LM
11002020-01-27 Luis Machado <luis.machado@linaro.org>
1101
1102 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1103 sitting at a syscall instruction when we hit the syscall function's
1104 breakpoint.
1105 Check PC against one obtained with the x command.
1106 Validate syscall number.
1107 (step_over_syscall): Don't continue to the syscall instruction if
1108 we're already there.
1109
b1468492
PW
11102020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1111
1112 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
1113
7ffa82e1
AB
11142020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1115
1116 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
1117 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
1118
3d92a3e3
AB
11192020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1120
1121 * gdb.dwarf2/dw2-inline-stepping.c: New file.
1122 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
1123
94a72be7
AB
11242020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1125
1126 * gdb.base/maint.exp: Update line table parsing test.
1127 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
1128
53af73bf
PA
11292020-01-24 Pedro Alves <palves@redhat.com>
1130
1131 PR gdb/25410
1132 * gdb.multi/multi-re-run-1.c: New.
1133 * gdb.multi/multi-re-run-2.c: New.
1134 * gdb.multi/multi-re-run.exp: New.
1135
1ba1ac88
AB
11362020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1137
1138 PR gdb/23718
1139 * gdb.server/server-kill-python.exp: New file.
1140
f3364a6d
AB
11412020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1142
1143 * gdb.server/multi-ui-errors.c: New file.
1144 * gdb.server/multi-ui-errors.exp: New file.
1145
733d0a67
AB
11462020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1147
1148 PR tui/9765
1149 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
1150
4f13c1c0
TT
11512020-01-19 Tom Tromey <tom@tromey.com>
1152
1153 * gdb.tui/main.exp: Add check for plain "file".
1154
40c94099
CB
11552020-01-16 Christian Biesinger <cbiesinger@google.com>
1156
1157 * lib/gdb.exp: Fix spelling error (seperatelly).
1158
ff47f4f0
TT
11592020-01-14 Tom Tromey <tom@tromey.com>
1160
1161 PR symtab/12535:
1162 * gdb.python/python.exp: Test decode_line with empty string
1163 argument.
1164
717c684d
BE
11652020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1166
1167 * gdb.base/skip-inline.exp: Extend test.
1168
44e4c775
AB
11692020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1170
1171 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1172 * gdb.dwarf2/dw2-bad-elf.c: New file.
1173 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1174
d93c6db7
AB
11752020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1176
1177 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1178 _line_saw_file.
1179
9a6d629c
AB
11802020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1181
1182 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1183 border.
1184
d9ebdab7
TBA
11852020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1186
1187 * gdb.multi/multi-target.exp (setup): Factor out "info
1188 connections" and "info inferiors" tests to ...
1189 (test_info_inferiors): ... this new procedure.
1190 (top level): Run new "info-inferiors" tests.
1191
f3c469b9
PA
11922020-01-10 Pedro Alves <palves@redhat.com>
1193
1194 * gdb.server/bkpt-other-inferior.exp: New file.
1195
121b3efd
PA
11962020-01-10 Pedro Alves <palves@redhat.com>
1197
1198 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1199 of "add-inferior".
1200 * gdb.base/quit-live.exp: Likewise.
1201 * gdb.base/remote-exec-file.exp: Likewise.
1202 * gdb.guile/scm-progspace.exp: Likewise.
1203 * gdb.linespec/linespec.exp: Likewise.
1204 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1205 * gdb.mi/user-selected-context-sync.exp: Likewise.
1206 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1207 "info inferiors" tests.
1208 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1209 "add-inferior".
1210 * gdb.multi/watchpoint-multi.exp: Likewise.
1211 * gdb.python/py-inferior.exp: Likewise.
1212 * gdb.server/extended-remote-restart.exp: Likewise.
1213 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1214 "info inferiors".
1215 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1216 * gdb.trace/report.exp: Likewise.
1217
1dadb1dd
PA
12182020-01-10 Pedro Alves <palves@redhat.com>
1219
1220 * gdb.multi/multi-target.c: New file.
1221 * gdb.multi/multi-target.exp: New file.
1222 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1223 mode requested, but remote does not support non-stop".
1224
78f2c40a
PA
12252020-01-10 Pedro Alves <palves@redhat.com>
1226
1227 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1228 disconnect before reconnecting.
1229
e7af6c70
TBA
12302020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1231 Pedro Alves <palves@redhat.com>
1232
1233 * gdb.server/connect-without-multi-process.exp: Also test
1234 continuing to end.
1235
acdf84a6
PA
12362020-01-10 Pedro Alves <palves@redhat.com>
1237
1238 * gdb.base/remote-exec-file.exp: New file.
1239
873657b9
PA
12402020-01-10 Pedro Alves <palves@redhat.com>
1241
1242 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1243 output.
1244 * gdb.threads/async.c: New.
1245 * gdb.threads/async.exp: New.
1246 * gdb.multi/tids-gid-reset.c: New.
1247 * gdb.multi/tids-gid-reset.exp: New.
1248
7f0ae84c
GB
12492020-01-10 George Barrett <bob@bob131.so>
1250
1251 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1252 to help in finding the image relocation offset.
1253 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1254 options in arguments.
1255 (stap_test_no_debuginfo): Likewise.
1256 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1257 test variants.
1258 (stap_test): Add null semaphore relocation test.
1259
47e9d49d
GB
12602020-01-10 George Barrett <bob@bob131.so>
1261
1262 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1263 * gdb.base/stap-probe.exp: Likewise.
1264 (stap_test): Pass argument as an additional flag.
1265 (stap_test_no_debuginfo): Likewise.
1266 (stap_test): Check `info probes stap' output for semaphore
1267 addresses if the test binary is supposed to have them.
1268
f5a7c406
AB
12692020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1270
1271 * gdb.tui/basic.exp: Add more scrolling tests.
1272
9ae6bf64
TT
12732020-01-09 Tom Tromey <tom@tromey.com>
1274
1275 PR tui/18932:
1276 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1277 meangingful value.
1278 (Term::command, Term::resize): Update.
1279 * gdb.tui/basic.exp: Add scrolling test.
1280
b2efe70c
AB
12812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1282
1283 * gdb.tui/tui-layout-asm.exp: New file.
1284
3804da7e
AB
12852020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1286
1287 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1288
b40aa28f
AB
12892020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1290
1291 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1292 (Term::enter_tui): Use Term::prepare_for_tui.
1293
63ffd7c9
AB
12942020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1295
1296 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1297 called.
1298
3be966f6
AB
12992020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1300
1301 * gdb.base/skip.exp: Fix race condition in test.
1302
153d79c4
AB
13032020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1304
1305 * gdb.base/backtrace.c: New file.
1306 * gdb.base/backtrace.exp: New file.
1307
f2302a34
AB
13082020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1309
1310 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1311
6ec1d75e
PW
13122020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1313
1314 * gdb.base/style.exp: Test that warnings are styled.
1315
c296cbe6
BE
13162019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1317
1318 * gdb.base/line65535.exp: New file.
1319 * gdb.base/line65535.c: New file.
1320
b28a729d
SM
13212019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1322
1323 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1324 * lib/gnat_debug_info_test.adb: New file.
1325 * gdb.ada/ptype_tagged_param.exp: Use
1326 gnat_runtime_has_debug_info, expect a different output if
1327 runtime does not have debug info.
1328
7f2d7a0d
SM
13292019-12-20 Simon Marchi <simon.marchi@efficios.com>
1330
1331 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1332 (another) quote in test name.
1333
f3bce483
SM
13342019-12-20 Simon Marchi <simon.marchi@efficios.com>
1335
1336 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1337 Add quote in test name.
1338
c855a912
TBA
13392019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1340
1341 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1342 directory instead.
1343 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1344 * gdb.cp/pass-by-ref-2.cc: New file.
1345 * gdb.cp/pass-by-ref-2.exp: New file.
1346
fc9d2d72
TT
13472019-12-20 Tom Tromey <tom@tromey.com>
1348
1349 * gdb.tui/list-before.exp: New file.
1350
77b97e00
TT
13512019-12-20 Tom Tromey <tom@tromey.com>
1352
1353 * gdb.tui/list.exp: Check for source on initial listing.
1354
f69656d0
TT
13552019-12-11 Tom Tromey <tromey@adacore.com>
1356
1357 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1358 Add crlf test.
1359
99a55965
SM
13602019-12-18 Simon Marchi <simon.marchi@efficios.com>
1361
1362 * gdb.base/default.exp: Update value of $_gdb_major.
1363
5024637f
BE
13642019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1365
1366 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1367
b63634be
BE
13682019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1369
1370 * gdb.base/skip.exp: Whitespace fix.
1371
45d73523
BE
13722019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1373
1374 * gdb.base/skip-inline.c: New file.
1375 * gdb.base/skip-inline.exp: New file.
1376
d043f8c8
SM
13772019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1378
1379 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1380 jit_function_00 to jit_function_stack_mangle.
1381 * gdb.base/jithost.c (jit_function_t): Rename to...
1382 (jit_function_stack_mangle_t): ... this.
1383 (jit_function_add_t): New typedef.
1384 (jit_function_00_code): Rename to...
1385 (jit_function_stack_mangle_code): ... this, make static.
1386 (jit_function_add_code): New.
1387 (main): Generate "add" function and call it. Adjust to changes
1388 in jithost_abi.
1389 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1390 (struct jithost_abi) <begin, end>: Remove fields.
1391 <object, function_stack_mangle, function_add>: New fields.
1392 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1393 code_end>: Remove fields.
1394 <func_stack_mangle>: New field.
1395 (read_debug_info): Adjust to renaming, create block for "add"
1396 function.
1397 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1398
873de05c
TT
13992019-12-11 Tom Tromey <tom@tromey.com>
1400
1401 * gdb.tui/resize.exp: Fix regexp.
1402 * gdb.tui/regs.exp: Fix regexps.
1403 * gdb.tui/main.exp: Fix regexp.
1404
3d979945
TT
14052019-12-11 Tom Tromey <tom@tromey.com>
1406
1407 * gdb.tui/resize.exp: Update.
1408 * gdb.tui/empty.exp (layouts): Update.
1409
2192a9d3
TT
14102019-12-11 Tom Tromey <tom@tromey.com>
1411
1412 * gdb.tui/regs.exp: Update.
1413 * gdb.tui/empty.exp (layouts): Update.
1414 * gdb.tui/basic.exp: Update.
1415 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1416
d8edc8b7
PW
14172019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1418
1419 * gdb.base/options.exp: Add -raw-values in the print completion list.
1420 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1421
4c12d936
KB
14222019-12-10 Kevin Buettner <kevinb@redhat.com>
1423
1424 * gdb.threads/omp-par-scope.c: New file.
1425 * gdb/threads/omp-par-scope.exp: New file.
1426
26b911fb
KB
14272019-12-10 Kevin Buettner <kevinb@redhat.com>
1428
bb47f919
KB
1429 * lib/gdb.exp (support_nested_function_tests): New proc.
1430
14312019-12-10 Kevin Buettner <kevinb@redhat.com>
1432
1433 * lib/gdb.exp (gdb_compile_openmp): New proc.
1434 (build_executable_from_specs): Add an "openmp" option.
1435 (gdb_compile_pthreads): Add non-executable case.
26b911fb 1436
6c71eb7d
TT
14372019-12-10 Tom Tromey <tromey@adacore.com>
1438
1439 * gdb.ada/unchecked_union.exp: New file.
1440 * gdb.ada/unchecked_union/pck.adb: New file.
1441 * gdb.ada/unchecked_union/pck.ads: New file.
1442 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1443 * gdb-utils.exp (string_to_regexp): Also quote "?".
1444
bac7c5cf
GB
14452019-12-10 George Barrett <bob@bob131.so>
1446
1447 Test scripted probe breakpoints.
1448 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1449 * gdb.python/py-breakpoint.c (main): Likewise.
1450 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1451 specifier test.
1452 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1453
330f1d38
TBA
14542019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1455
1456 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1457 an rvalue parameter.
1458 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1459 parameter.
1460
b43315e2
AB
14612019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1462
1463 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1464 modules.
1465
54f73dad
AB
14662019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1467
1468 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1469 broken version of GCC.
1470
d57cbee9
AB
14712019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1472
1473 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1474 sym-info-cmds library.
1475 * gdb.fortran/info-types.exp: Likewise.
1476 * lib/sym-info-cmds.exp: New file.
1477
c14aab8c
TV
14782019-12-08 Tom de Vries <tdevries@suse.de>
1479
1480 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1481
aa2d5a42
KS
14822019-12-07 Keith Seitz <keiths@redhat.com>
1483
1484 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1485 * gdb.base/corefile-buildid-shlib.c: New file.
1486 * gdb.base/corefile-buildid.c: New file.
1487 * gdb.base/corefile-buildid.exp: New file.
1488
93e55f0a
TV
14892019-12-06 Tom de Vries <tdevries@suse.de>
1490
1491 * gdb.dwarf2/varval.exp: Add decl before def test.
1492
c7d12402
TBA
14932019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1494
1495 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1496
06acc08f
TBA
14972019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1498
1499 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1500 CV and reference conversion for overload resolution.
1501 * gdb.cp/rvalue-ref-overload.exp: Test it.
1502
e0fad1ea
PW
15032019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1504
1505 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1506 * gdb.base/frameapply.exp: Test faas without command.
1507
8d70a9f0
AB
15082019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1509
1510 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1511 Fortran tests.
1512 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1513 order.
1514
36c8fb93
AB
15152019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1516
1517 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1518 casting to type with no kind specified.
1519 (test_basic_parsing_of_type_kinds): Additional tests for types
1520 with no kind specified, and add tests for single/double
1521 precision/complex types.
1522
4139ff00
TT
15232019-12-04 Tom Tromey <tromey@adacore.com>
1524
1525 * gdb.base/endianity.c (struct other) <x>: New field.
1526 (main): Initialize it.
1527 * gdb.base/endianity.exp: Update.
1528
a05cf17a
TT
15292019-12-04 Tom Tromey <tromey@adacore.com>
1530
1531 * gdb.ada/scalar_storage/storage.adb: New file.
1532 * gdb.ada/scalar_storage/pck.adb: New file.
1533 * gdb.ada/scalar_storage/pck.ads: New file.
1534 * gdb.ada/scalar_storage.exp: New file.
1535
103a685e
TT
15362019-12-04 Tom Tromey <tromey@adacore.com>
1537
1538 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1539 (main): Initialize it.
1540 * gdb.base/endianity.exp: Update.
1541
c2512106
AB
15422019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1543
1544 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1545
293b38d6
AB
15462019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1547
1548 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1549 -symbol-info-module-functions and -symbol-info-module-variables.
1550
216a7e6b
AB
15512019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1552
1553 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1554
5bbd8269
AB
15552019-12-01 Richard Bunt <richard.bunt@arm.com>
1556 Andrew Burgess <andrew.burgess@embecosm.com>
1557
1558 * gdb.fortran/derived-type-striding.exp: New file.
1559 * gdb.fortran/derived-type-striding.f90: New file.
1560 * gdb.fortran/array-slices.exp: New file.
1561 * gdb.fortran/array-slices.f90: New file.
1562
be09caf1
PW
15632019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1564
1565 * gdb.base/define.exp: Test . in command names.
1566 * gdb.base/setshow.exp: Update test, as . is now part of
1567 command name.
1568
643c0cbe
PW
15692019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1570
1571 * gdb.base/define-prefix.exp: New file.
1572
dcdec678
AB
15732019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1574
1575 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1576 compile.
1577 (skip_btrace_pt_tests): Likewise.
1578
640ab947
AB
15792019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1580
1581 * gdb.fortran/info-modules.exp: Compile source files in correct
1582 order.
1583
d22670f0
KB
15842019-11-27 Kevin Buettner <kevinb@redhat.com>
1585
1586 * gdb.dwarf2/imported-unit.exp: New file.
1587 * gdb.dwarf2/imported-unit.c: New file.
1588
db5960b4
AB
15892019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1590
1591 * gdb.mi/mi-fortran-modules-2.f90: New file.
1592 * gdb.mi/mi-fortran-modules.exp: New file.
1593 * gdb.mi/mi-fortran-modules.f90: New file.
1594
7dc42066
AB
15952019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1596
1597 * gdb.mi/mi-sym-info-1.c: New file.
1598 * gdb.mi/mi-sym-info-2.c: New file.
1599 * gdb.mi/mi-sym-info.exp: New file.
1600
0dfeecca
TT
16012019-11-22 Tom Tromey <tromey@adacore.com>
1602
1603 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1604 * gdb.ada/tasks/foo.adb: Add another stopping location.
1605
34877895
PJ
16062019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1607
1608 * gdb.base/endianity.c: New test.
1609 * gdb.base/endianity.exp: New file.
1610
2e84f897
LD
16112019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1612
1613 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1614
65d1cd5f
TV
16152019-11-21 Tom de Vries <tdevries@suse.de>
1616
1617 PR gdb/24956
1618 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1619
4f22c3f4
SDJ
16202019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1621
1622 * gdb.python/py-progspace.exp: Add missing parentheses on some
1623 'print' commands.
1624
9f6ad286
TT
16252019-11-19 Tom Tromey <tom@tromey.com>
1626
1627 * gdb.tui/winheight.exp: New file.
1628
0b8dbf3f
AB
16292019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1630
1631 * gdb.base/ctf-whatis.c: Delete.
1632 * gdb.base/ctf-whatis.exp: Delete.
1633 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1634
f833b7a7
AB
16352019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1636
1637 * gdb.base/ctf-cvexpr.exp: Delete.
1638 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1639
30d0a636
AB
16402019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1641
1642 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1643 the compiler. Clean up header comment a little.
1644 * gdb.base/ctf-ptype.exp: Likewise.
1645 * gdb.base/ctf-whatis.exp: Likewise.
1646 * lib/gdb.exp (skip_ctf_tests): New proc.
1647
494409bb
SDJ
16482019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1649
1650 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1651 * gdb.tui/corefile-run.exp: New file.
1652
55708e99
TT
16532019-11-14 Tom Tromey <tromey@adacore.com>
1654
1655 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1656 regression tests.
1657
45e42163
TT
16582019-11-12 Tom Tromey <tom@tromey.com>
1659
1660 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1661 after any command. Expect prompt after WAIT_FOR is seen.
1662 (enter_tui): Enable resize messages.
1663 (command): Expect command in output.
1664 (get_line): Avoid error when cursor appears to be off-screen.
1665 (dump_screen): Include screen size in title.
1666 (_do_resize): New proc, from "resize".
1667 (resize): Rewrite. Do resize in two steps.
1668 * gdb.tui/empty.exp (layouts): Fix entries.
1669 (check_boxes): Remove xfail.
1670 (check_text): Dump screen on failure.
1671
086baaf1
AB
16722019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1673
1674 * gdb.python/py-symbol.exp: Add test for
1675 gdb.lookup_static_symbols.
1676
09ff83af
AB
16772019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1678
1679 * gdb.python/py-symbol.c: Declare and call function from new
1680 py-symbol-2.c file.
1681 * gdb.python/py-symbol.exp: Compile both source files, and add new
1682 tests for gdb.lookup_static_symbol.
1683 * gdb.python/py-symbol-2.c: New file.
1684
11af934b
TV
16852019-11-02 Tom de Vries <tdevries@suse.de>
1686
1687 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1688 * gdb.base/anon.exp: Same.
1689 * gdb.base/auto-connect-native-target.exp: Same.
1690 * gdb.base/call-ar-st.exp: Same.
1691 * gdb.base/catch-syscall.exp: Same.
1692 * gdb.base/commands.exp: Same.
1693 * gdb.base/default.exp: Same.
1694 * gdb.base/display.exp: Same.
1695 * gdb.base/float.exp: Same.
1696 * gdb.base/foll-fork.exp: Same.
1697 * gdb.base/help.exp: Same.
1698 * gdb.base/info-macros.exp: Same.
1699 * gdb.base/info-proc.exp: Same.
1700 * gdb.base/info-target.exp: Same.
1701 * gdb.base/long_long.exp: Same.
1702 * gdb.base/macscp.exp: Same.
1703 * gdb.base/memattr.exp: Same.
1704 * gdb.base/nofield.exp: Same.
1705 * gdb.base/pointers.exp: Same.
1706 * gdb.base/printcmds.exp: Same.
1707 * gdb.base/ptype.exp: Same.
1708 * gdb.base/restore.exp: Same.
1709 * gdb.base/return.exp: Same.
1710 * gdb.base/scope.exp: Same.
1711 * gdb.base/set-noassign.exp: Same.
1712 * gdb.base/setshow.exp: Same.
1713 * gdb.base/shlib-call.exp: Same.
1714 * gdb.base/signals.exp: Same.
1715 * gdb.base/sigstep.exp: Same.
1716 * gdb.base/skip.exp: Same.
1717 * gdb.base/solib-symbol.exp: Same.
1718 * gdb.base/stap-probe.exp: Same.
1719 * gdb.base/step-line.exp: Same.
1720 * gdb.base/step-test.exp: Same.
1721 * gdb.base/style.exp: Same.
1722 * gdb.base/varargs.exp: Same.
1723 * gdb.base/vla-datatypes.exp: Same.
1724 * gdb.base/vla-ptr.exp: Same.
1725 * gdb.base/vla-sideeffect.exp: Same.
1726 * gdb.base/volatile.exp: Same.
1727 * gdb.base/watch-cond-infcall.exp: Same.
1728 * gdb.base/watchpoint.exp: Same.
1729
e96ec2ba
TV
17302019-11-02 Tom de Vries <tdevries@suse.de>
1731
1732 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1733 * gdb.cp/cpexprs.exp: Same.
1734 * gdb.cp/except-multi-location.exp: Same.
1735 * gdb.cp/exceptprint.exp: Same.
1736 * gdb.cp/gdb2384.exp: Same.
1737 * gdb.cp/inherit.exp: Same.
1738 * gdb.cp/m-static.exp: Same.
1739 * gdb.cp/meth-typedefs.exp: Same.
1740 * gdb.cp/misc.exp: Same.
1741 * gdb.cp/namespace.exp: Same.
1742 * gdb.cp/non-trivial-retval.exp: Same.
1743 * gdb.cp/overload.exp: Same.
1744 * gdb.cp/pr17132.exp: Same.
1745 * gdb.cp/re-set-overloaded.exp: Same.
1746 * gdb.cp/rvalue-ref-types.exp: Same.
1747 * gdb.cp/templates.exp: Same.
1748
bd5766ec
LM
17492019-11-01 Luis Machado <luis.machado@linaro.org>
1750
1751 PR gdb/25124
1752
1753 * gdb.arch/pr25124.S: New file.
1754 * gdb.arch/pr25124.exp: New file.
1755
165f8965
AB
17562019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1757
1758 * gdb.fortran/info-modules.exp: Update expected results, and add
1759 additional tests for 'info module functinos', and 'info module
1760 variables'.
1761 * gdb.fortran/info-types.exp: Update expected results.
1762 * gdb.fortran/info-types.f90: Extend testcase with additional
1763 module variables and functions.
1764
59c35742
AB
17652019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1766
1767 * gdb.fortran/info-modules.exp: New file.
1768 * gdb.fortran/info-types.exp: Build with new file.
1769 * gdb.fortran/info-types.f90: Include and use new module.
1770 * gdb.fortran/info-types-2.f90: New file.
1771
f3fb2519
PW
17722019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1773
1774 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1775 * gdb.base/settings.exp: Test all settings types using
1776 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1777 that now verifies that the value of "maint show" is the same as
1778 returned by the settings functions. Test the type of the
1779 maintenance settings.
1780 * gdb.base/default.exp: Update show_conv_list.
1781
d1e36019
TV
17822019-10-31 Tom de Vries <tdevries@suse.de>
1783
1784 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1785 gdb_test.
1786 * gdb.arch/amd64-disp-step.exp: Same.
1787 * gdb.asm/asm-source.exp: Same.
1788 * gdb.btrace/buffer-size.exp: Same.
1789 * gdb.btrace/cpu.exp: Same.
1790 * gdb.btrace/enable.exp: Same.
1791 * gdb.dwarf2/count.exp: Same.
1792 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1793 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1794 * gdb.fortran/vla-datatypes.exp: Same.
1795 * gdb.fortran/vla-history.exp: Same.
1796 * gdb.fortran/vla-ptype.exp: Same.
1797 * gdb.fortran/vla-value.exp: Same.
1798 * gdb.fortran/whatis_type.exp: Same.
1799 * gdb.guile/guile.exp: Same.
1800 * gdb.multi/tids.exp: Same.
1801 * gdb.python/py-finish-breakpoint.exp: Same.
1802 * gdb.python/py-framefilter.exp: Same.
1803 * gdb.python/py-pp-registration.exp: Same.
1804 * gdb.python/py-xmethods.exp: Same.
1805 * gdb.python/python.exp: Same.
1806 * gdb.server/connect-with-no-symbol-file.exp: Same.
1807 * gdb.server/no-thread-db.exp: Same.
1808 * gdb.server/run-without-local-binary.exp: Same.
1809 * gdb.stabs/weird.exp: Same.
1810 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1811 * gdb.threads/thread-find.exp: Same.
1812 * gdb.threads/tls-shared.exp: Same.
1813 * gdb.threads/tls.exp: Same.
1814 * gdb.threads/wp-replication.exp: Same.
1815 * gdb.trace/ax.exp: Same.
1816 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1817
3d11e68e
TV
18182019-10-31 Tom de Vries <tdevries@suse.de>
1819
1820 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1821 * gdb.ada/array_subscript_addr.exp: Same.
1822 * gdb.ada/arrayidx.exp: Same.
1823 * gdb.ada/arrayparam.exp: Same.
1824 * gdb.ada/arrayptr.exp: Same.
1825 * gdb.ada/boolean_expr.exp: Same.
1826 * gdb.ada/call_pn.exp: Same.
1827 * gdb.ada/complete.exp: Same.
1828 * gdb.ada/fixed_cmp.exp: Same.
1829 * gdb.ada/fun_addr.exp: Same.
1830 * gdb.ada/funcall_param.exp: Same.
1831 * gdb.ada/interface.exp: Same.
1832 * gdb.ada/mod_from_name.exp: Same.
1833 * gdb.ada/null_array.exp: Same.
1834 * gdb.ada/packed_array.exp: Same.
1835 * gdb.ada/packed_tagged.exp: Same.
1836 * gdb.ada/print_chars.exp: Same.
1837 * gdb.ada/print_pc.exp: Same.
1838 * gdb.ada/ptype_arith_binop.exp: Same.
1839 * gdb.ada/ptype_field.exp: Same.
1840 * gdb.ada/ptype_tagged_param.exp: Same.
1841 * gdb.ada/rec_return.exp: Same.
1842 * gdb.ada/ref_tick_size.exp: Same.
1843 * gdb.ada/str_ref_cmp.exp: Same.
1844 * gdb.ada/taft_type.exp: Same.
1845 * gdb.ada/tagged.exp: Same.
1846 * gdb.ada/type_coercion.exp: Same.
1847 * gdb.ada/uninitialized_vars.exp: Same.
1848
60b6ede8
TV
18492019-10-30 Tom de Vries <tdevries@suse.de>
1850
1851 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1852
30baf67b
TV
18532019-10-26 Tom de Vries <tdevries@suse.de>
1854
1855 * gdb.base/bigcore.c: Fix typos in comments.
1856 * gdb.base/ctf-ptype.c: Same.
1857 * gdb.base/long_long.c: Same.
1858 * gdb.dwarf2/dw2-op-out-param.S: Same.
1859 * gdb.python/py-evthreads.c: Same.
1860 * gdb.reverse/i387-stack-reverse.c: Same.
1861 * gdb.trace/tfile.c: Same.
1862 * lib/compiler.c: Same.
1863 * lib/compiler.cc: Same.
1864
158da0d1
TV
18652019-10-25 Tom de Vries <tdevries@suse.de>
1866
1867 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1868 gdb_test_multiple calls.
1869 * gdb.reverse/sigall-reverse.exp: Same.
1870 * gdb.reverse/solib-precsave.exp: Same.
1871 * gdb.reverse/solib-reverse.exp: Same.
1872 * gdb.reverse/until-precsave.exp: Same.
1873 * gdb.reverse/until-reverse.exp: Same.
1874
4ccdfbec
TV
18752019-10-24 Tom de Vries <tdevries@suse.de>
1876
1877 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1878 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1879 kfail using -wrap pattern flag and convenience variable
1880 gdb_test_name.
1881
33d569b7
AB
18822019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1883
1884 * gdb.python/py-progspace.exp: Add tests for the
1885 Progspace.block_for_pc method.
1886
4d0b984b
TT
18872019-10-23 Tom Tromey <tom@tromey.com>
1888
1889 * configure: Rebuild.
1890 * aclocal.m4: Use m4_include, not sinclude.
1891
94cb3754
TV
18922019-10-21 Tom de Vries <tdevries@suse.de>
1893
1894 * gdb.base/infcall-nested-structs.c: Add
1895 __attribute__((noinline,noclone)) to all functions.
1896 (call_all): Add missing variable initialization. Simplify return value.
1897 (breakpt): Increment volatile variable, to prevent call from being
1898 optimized out.
1899 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1900
062f1fc1
TV
19012019-10-17 Tom de Vries <tdevries@suse.de>
1902
1903 * gdb.fortran/module.exp: Allow info variables to print info for files
1904 other than module.f90.
1905
0b54364d
AB
19062019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1907
1908 * gdb.fortran/module.exp: Extend with 'info variables' test.
1909
7ff5fae7
AB
19102019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1911
1912 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1913 F77_FOR_TARGET.
1914
d10eccaa
TV
19152019-10-16 Tom de Vries <tdevries@suse.de>
1916
1917 PR tdep/25096
1918 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1919
745ff14e
TV
19202019-10-16 Tom de Vries <tdevries@suse.de>
1921
1922 PR tdep/24104
1923 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1924 Add KFAIL for PR tdep/25096.
1925
03e1ab94
TV
19262019-10-16 Tom de Vries <tdevries@suse.de>
1927
1928 PR testsuite/25059
1929 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1930
b17fcc10
TV
19312019-10-16 Tom de Vries <tdevries@suse.de>
1932
1933 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1934 as signed.
1935
9223170f
SM
19362019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1937
1938 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1939 one instead of increasing timeout.
1940
d6e76313
TV
19412019-10-13 Tom de Vries <tdevries@suse.de>
1942
1943 PR record/25038
1944 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1945 * gdb.reverse/sigall-reverse.exp: Same.
1946 * gdb.reverse/solib-precsave.exp: Same.
1947 * gdb.reverse/solib-reverse.exp: Same.
1948 * gdb.reverse/step-precsave.exp: Same.
1949 * gdb.reverse/until-precsave.exp: Same.
1950 * gdb.reverse/until-reverse.exp: Same.
1951 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1952
6dfc0041
AA
19532019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1954
1955 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1956 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1957 (cmp_struct_05_01, cmp_struct_static_02_01)
1958 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1959 comparisons.
1960
abcf2cc8
TV
19612019-10-10 Tom de Vries <tdevries@suse.de>
1962
1963 PR testsuite/24888
1964 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1965 gnatlink.
1966
a50faaf6
TV
19672019-10-09 Tom de Vries <tdevries@suse.de>
1968
1969 PR testsuite/25048
1970 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1971
60ff3cd7
AB
19722019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1973
1974 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1975 exceptions due to missing debug information.
1976
dfee8566
TV
19772019-10-07 Tom de Vries <tdevries@suse.de>
1978
1979 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1980
3d63690a
AB
19812019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1982
1983 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1984 * gdb.base/annota1.exp: Update to use gdb_test_name.
1985
30d1f018
WP
19862019-10-07 Weimin Pan <weimin.pan@oracle.com>
1987
1988 * gdb.base/ctf-whatis.exp: New file.
1989 * gdb.base/ctf-whatis.c: New file.
1990 * gdb.base/ctf-ptype.exp: New file.
1991 * gdb.base/ctf-ptype.c: New file.
1992 * gdb.base/ctf-constvars.exp: New file.
1993 * gdb.base/ctf-constvars.c: New file.
1994 * gdb.base/ctf-cvexpr.exp: New file.
1995
4dbbb47c
TV
19962019-10-04 Tom de Vries <tdevries@suse.de>
1997
1998 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1999 for loop.
2000
77c2dba3
TT
20012019-10-03 Tom Tromey <tom@tromey.com>
2002
2003 PR rust/24976:
2004 * gdb.rust/simple.rs (Union2): New type.
2005 (main): Use Union2.
2006 * gdb.rust/simple.exp: Add test.
2007
179aed7f
AB
20082019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2009
2010 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2011 nested function prefix.
2012
0a4b0913
AB
20132019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2014 Richard Bunt <richard.bunt@arm.com>
2015 Andrew Burgess <andrew.burgess@embecosm.com>
2016
2017 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2018 nested functions.
2019 * gdb.fortran/nested-funcs.f90: Update expected results.
2020 * gdb.fortran/nested-funcs-2.exp: New file.
2021 * gdb.fortran/nested-funcs-2.f90: New file.
2022
082cce05
AB
20232019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2024
2025 * gdb.python/py-parameter.exp: Make test names unique.
2026 * gdb.python/py-template.exp: Likewise.
2027 * gdb.python/py-value.exp: Likewise.
2028
2b74ba5a
AB
20292019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2030
2031 * gdb.base/break-interp.exp: Reduce test name duplication.
2032 * gdb.base/call-sc.exp: Likewise.
2033 * gdb.base/callfuncs.exp: Likewise.
2034 * gdb.base/charset.exp: Likewise.
2035 * gdb.base/dump.exp: Likewise.
2036 * gdb.base/ena-dis-br.exp: Likewise.
2037 * gdb.base/relational.exp: Likewise.
2038 * gdb.base/step-over-syscall.exp: Likewise.
2039 * gdb.base/structs.exp: Likewise.
2040
58eb20d5
AB
20412019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2042
2043 * gdb.linespec/explicit.exp: Make test names unique.
2044 * gdb.linespec/ls-errs.exp: Likewise.
2045
4d421147
AB
20462019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2047
2048 * gdb.reverse/break-precsave.exp: Make test names unique.
2049 * gdb.reverse/break-reverse.exp: Likewise.
2050 * gdb.reverse/finish-precsave.exp: Likewise.
2051 * gdb.reverse/finish-reverse.exp: Likewise.
2052 * gdb.reverse/machinestate-precsave.exp: Likewise.
2053 * gdb.reverse/machinestate.exp: Likewise.
2054 * gdb.reverse/readv-reverse.exp: Likewise.
2055 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2056 * gdb.reverse/sigall-precsave.exp: Likewise.
2057 * gdb.reverse/sigall-reverse.exp: Likewise.
2058 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2059 * gdb.reverse/watch-precsave.exp: Likewise.
2060 * gdb.reverse/watch-reverse.exp: Likewise.
2061
d8c06f22
AB
20622019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2063
2064 * gdb.threads/stop-with-handle.c: New file.
2065 * gdb.threads/stop-with-handle.exp: New file.
2066
3a56ed86
TV
20672019-10-03 Tom de Vries <tdevries@suse.de>
2068
2069 PR testsuite/25059
2070 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2071 directory" line to be missing.
2072
42275044
TV
20732019-10-03 Tom de Vries <tdevries@suse.de>
2074
2075 PR testsuite/25059
2076 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2077 type optional.
2078
9ef62df0
AA
20792019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2080
2081 * gdb.python/py-format-string.c (string.h): New include.
2082 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2083 the same value, for endianness-independence.
2084 * gdb.python/py-format-string.exp (default_regexp_dict)
2085 (test_pretty_structs, test_format): Adjust expected output to the
2086 changed initialization.
2087
37f6a7f4
TT
20882019-10-02 Tom Tromey <tromey@adacore.com>
2089
2090 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2091
1d58d6a2
PA
20922019-10-02 Pedro Alves <palves@redhat.com>
2093 Andrew Burgess <andrew.burgess@embecosm.com>
2094
2095 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2096 "print-file-var.h".
2097 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2098 (get_version_1): Print this_version_id and its address.
2099 Add extern "C" wrappers around interface functions.
2100 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2101 "print-file-var.h".
2102 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2103 (get_version_2): Print this_version_id and its address.
2104 Add extern "C" wrappers around interface functions.
2105 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2106 <stddef.h> and "print-file-var.h".
2107 Add extern "C" wrappers around interface functions.
2108 [VERSION_ID_MAIN] (this_version_id): Define.
2109 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
2110 * gdb.base/print-file-var.h: Add some #defines to simplify setting
2111 up extern "C" blocks.
2112 * gdb.base/print-file-var.exp (test): New, factored out from top
2113 level.
2114 (top level): Test all combinations of attribute hidden or not,
2115 dlopen or not, and this_version_id symbol in main file or not.
2116 Compile tests as both C++ and C, make test names unique.
2117
d770d56f
TT
21182019-10-01 Tom Tromey <tom@tromey.com>
2119
2120 * gdb.base/style.exp: Test "show logging filename".
2121
7f6aba03
TT
21222019-10-01 Tom Tromey <tom@tromey.com>
2123
2124 * lib/gdb-utils.exp (style): Handle "metadata" argument.
2125 * gdb.base/style.exp: Add metadata style test.
2126
14309bb6
TT
21272019-10-01 Tom Tromey <tom@tromey.com>
2128
2129 * gdb.base/style.exp: Test "pwd".
2130
2a3c1174
PA
21312019-10-01 Tom Tromey <tom@tromey.com>
2132
2133 * gdb.base/style.exp: Update tests.
2134
53d666ec
AA
21352019-10-01 Andreas Arnez <arnez@linux.ibm.com>
2136
2137 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
2138 'six' to unsigned.
2139 (s1): Initialize fields 'four' and 'six' instead of 'three' and
2140 'five'. Use an all-ones bit pattern for each.
2141 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
2142 to its changed values.
2143
4a56a520
TT
21442019-09-30 Tom Tromey <tromey@adacore.com>
2145
2146 * gdb.rust/traits.rs: Disable all warnings.
2147
0df0352a
TV
21482019-09-29 Tom de Vries <tdevries@suse.de>
2149
aac66a4c 2150 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 2151
73d9a918
TV
21522019-09-29 Tom de Vries <tdevries@suse.de>
2153
2154 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
2155
060b3ab4
TV
21562019-09-27 Tom de Vries <tdevries@suse.de>
2157
2158 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
2159
68f7d34d
TV
21602019-09-27 Tom de Vries <tdevries@suse.de>
2161
2162 PR record/23188
2163 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
2164
5d63b30a
TT
21652019-09-26 Tom Tromey <tromey@adacore.com>
2166
2167 * gdb.ada/py_taft.exp: New file.
2168 * gdb.ada/py_taft/main.adb: New file.
2169 * gdb.ada/py_taft/pkg.adb: New file.
2170 * gdb.ada/py_taft/pkg.ads: New file.
2171
3d435220
TV
21722019-09-24 Tom de Vries <tdevries@suse.de>
2173
2174 PR gdb/24598
2175 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2176
77d03678
TV
21772019-09-22 Tom de Vries <tdevries@suse.de>
2178
2179 * gdb.base/restore.exp: Allow register variables to be optimized out at
2180 -O0.
2181
abf516c6
UW
21822019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2183
2184 * gdb.arch/spu-info.exp: Remove file.
2185 * gdb.arch/spu-info.c: Remove file.
2186 * gdb.arch/spu-ls.exp: Remove file.
2187 * gdb.arch/spu-ls.c: Remove file.
2188
2189 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2190 * gdb.asm/spu.inc: Remove file.
2191
2192 * gdb.base/dump.exp: Remove support for spu*-*-*.
2193 * gdb.base/stack-checking.exp: Likewise.
2194 * gdb.base/overlays.exp: Likewise.
2195 * gdb.base/ovlymgr.c: Likewise.
2196 * gdb.base/spu.ld: Remove file.
2197
2198 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2199 * gdb.cp/cpexprs.exp: Likewise.
2200 * gdb.cp/exception.exp: Likewise.
2201 * gdb.cp/gdb2495.exp: Likewise.
2202 * gdb.cp/mb-templates.exp: Likewise.
2203 * gdb.cp/pr9167.exp: Likewise.
2204 * gdb.cp/userdef.exp: Likewise.
2205
2206 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2207
2208 * gdb.cell: Remove directory.
2209 * lib/cell.exp: Remove file.
2210
e452e88f
TV
22112019-09-19 Tom de Vries <tdevries@suse.de>
2212
2213 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2214
8a625130
TV
22152019-09-19 Tom de Vries <tdevries@suse.de>
2216
2217 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2218
81dc3ab5
TV
22192019-09-19 Tom de Vries <tdevries@suse.de>
2220
2221 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2222 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2223 (gdb_target_cmd): ... here.
2224 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2225 value 2.
2226
b078f3ac
AB
22272019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2228
2229 * gdb.base/source-dir.exp: Avoid having directory names in test
2230 names.
2231
f1b620e9
MG
22322019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2233
2234 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2235 directory.
2236
67f3ed6a
AB
22372019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2238
2239 * gdb.base/list-missing-source.exp: New file.
2240
d1b70248
TV
22412019-09-14 Tom de Vries <tdevries@suse.de>
2242
2243 PR teststuite/24599
2244 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2245 * lib/ada.exp (gnatmake_version_at_least): New proc.
2246
5fabdcd6
AB
22472019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2248
2249 * gdb.base/maint.exp: Use exec_has_index_section.
2250
aa17805f
AB
22512019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2252
2253 * gdb.base/maint.exp: Add test for 'maint info sections'.
2254
25e5c209
TV
22552019-09-12 Tom de Vries <tdevries@suse.de>
2256
2257 * gdb.base/store.exp: Allow register variables to be optimized out at
2258 -O0.
2259
4993045d
PW
22602019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2261
2262 * gdb.ada/rdv_wait.exp: Update to new task names.
2263 * gdb.base/task_switch_in_core.exp: Likewise.
2264 * gdb.base/info_sources_base.c: Likewise.
2265
8a516164
TT
22662019-09-10 Tom Tromey <tromey@adacore.com>
2267
2268 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2269
aa391654
TT
22702019-09-10 Tom Tromey <tromey@adacore.com>
2271
2272 * gdb.ada/dgopt.exp: New file.
2273 * gdb.ada/dgopt/x.adb: New file.
2274
8634b462
TT
22752019-09-08 Tom Tromey <tom@tromey.com>
2276
2277 * gdb.tui/resize.exp: Remove setup_xfail.
2278 * gdb.tui/regs.exp: Remove setup_xfail.
2279 * gdb.tui/basic.exp: Remove setup_xfail.
2280
736b0f76
DB
22812019-09-06 David Blaikie <dblaikie@gmail.com>
2282
2283 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2284 * gdb.cp/cplabel.exp: Ditto.
2285 * gdb.linespec/ls-errs.exp: Ditto.
2286
30331a6c
TV
22872019-09-05 Tom de Vries <tdevries@suse.de>
2288
2289 * lib/gdb.exp (cmp_file_string): New proc.
2290 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2291 runto_main. Verify save breakpoints output.
2292
98b0ebab
PW
22932019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2294
2295 * gdb.base/info-var.exp: Test info variables without running
2296 to main, to avoid expect's buffer overflow.
2297
4e962e74
TT
22982019-09-03 Tom Tromey <tromey@adacore.com>
2299
2300 * gdb.ada/bias.exp: New file.
2301 * gdb.ada/bias/bias.adb: New file.
2302 * gdb.ada/print_chars.exp: Add regression test.
2303 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2304 (MC): New variable.
2305
2ea1a07a
SL
23062019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2307
2308 * gdb.base/argv0-symlink.exp: Run only on native target
2309 and local host.
2310
8077c50d
TV
23112019-08-29 Tom de Vries <tdevries@suse.de>
2312
2313 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2314 diverse debug info.
2315 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2316
48352473
TV
23172019-08-28 Tom de Vries <tdevries@suse.de>
2318
2319 * gdb.base/info-var.exp: Allow info variables to print info for files
2320 other than info-var-f1.c and info-var-f2.c.
2321
d8f27c60
AB
23222019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2323
2324 * gdb.fortran/info-types.exp: Add module.
2325 * gdb.fortran/info-types.f90: Update expected results.
2326
1f20c35e
AB
23272019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2328
2329 * gdb.fortran/info-types.exp: New file.
2330 * gdb.fortran/info-types.f90: New file.
2331 * lib/fortran.exp (fortran_character1): New proc.
2332
4acfdd20
AB
23332019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2334
2335 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2336 functions'. Reindent as needed.
2337 * gdb.base/info-var-f1.c: New file.
2338 * gdb.base/info-var-f2.c: New file.
2339 * gdb.base/info-var.exp: New file.
2340 * gdb.base/info-var.h: New file.
2341
5c31b358
TV
23422019-08-26 Tom de Vries <tdevries@suse.de>
2343
2344 PR c++/24852
2345 * gdb.cp/no-libstdcxx-probe.exp: New test.
2346
b694989f
TV
23472019-08-26 Tom de Vries <tdevries@suse.de>
2348
2349 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2350 * tests need to be skipped.
2351 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2352 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2353 mi_skip_libstdcxx_probe_tests.
2354
d9c4ba53
SDJ
23552019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2356
2357 * gdb.python/py-xmethods.exp: Use raw strings when passing
2358 arguments to SimpleXMethodMatcher.
2359
395fad09
TV
23602019-08-22 Tom de Vries <tdevries@suse.de>
2361
2362 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2363 more informative.
2364
26c957f1
PA
23652019-08-21 Pedro Alves <palves@redhat.com>
2366
2367 * gdb.base/with.exp: Test "with" with no arguments.
2368
61f80d5d
TV
23692019-08-21 Tom de Vries <tdevries@suse.de>
2370
2371 * gdb.base/gdb-caching-proc.exp: Sort files.
2372
d7a11d13
TV
23732019-08-20 Tom de Vries <tdevries@suse.de>
2374
2375 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2376 compilation.
2377
34dafe9f
TV
23782019-08-16 Tom de Vries <tdevries@suse.de>
2379
2380 * gdb.base/compare-sections.exp ("after run to main"): Allow
2381 mismatched read-only sections for PIE executables.
2382
398fdd60
TT
23832019-08-16 Tom Tromey <tom@tromey.com>
2384
2385 * lib/tuiterm.exp (_csi_Z): New proc.
2386 * gdb.tui/basic.exp: Update window positions.
2387 * gdb.tui/empty.exp: Update window positions.
2388
d8f9e51c
SL
23892019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2390
2391 * gdb.base/examine-backward.exp: Correct regexp for
2392 "examine 3 bytes backward from ${address_zero}".
2393
3df505f6
TT
23942019-08-15 Tom Tromey <tom@tromey.com>
2395
2396 * gdb.tui/empty.exp: Enable resizing tests.
2397
272560b5
TT
23982019-08-15 Tom Tromey <tromey@adacore.com>
2399
2400 * gdb.ada/char_enum.exp: Add regression tests.
2401 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2402 and '0'.
2403 (Char, Gchar): Update.
2404 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2405
08235187
CB
24062019-08-15 Christian Biesinger <cbiesinger@google.com>
2407
2408 * gdb.python/python.exp: Expect a leading underscore on
2409 GdbOutput{,Error}File.
2410
22a2ab04
SL
24112019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2412
2413 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2414 Windows host.
2415
835b995b
SL
24162019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2417
2418 * gdb.base/batch-preserve-term-settings.exp
2419 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2420
97dd8e07
CB
24212019-08-15 Christian Biesinger <cbiesinger@google.com>
2422
2423 * lib/gdb.exp: When running on a mingw target, replace
2424 /x/ with x:/.
2425
75faf5c4
AH
24262019-08-14 Alan Hayward <alan.hayward@arm.com>
2427
2428 * gdb.arch/aarch64-prologue.c: New test.
2429 * gdb.arch/aarch64-prologue.exp: New file.
2430
abc6c00f
TV
24312019-08-13 Tom de Vries <tdevries@suse.de>
2432
2433 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2434 Thread.
2435
74c2c1f4
SL
24362019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2437
2438 * gdb.python/py-completion.exp: Download the .py file to the host
2439 and use its host pathname. Conditionalize tests that use
2440 tab completion and manipulate files on the build machine.
2441 * gdb.python/py-events.exp: Download the .py file to the host
2442 and use its host pathname.
2443 * gdb.python/py-evsignal.exp: Likewise.
2444 * gdb.python/py-evthreads.exp: Likewise.
2445 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2446 pathname syntax.
2447 * gdb.python/py-framefilter.exp: Download the .py file to the right
2448 place on the host. Match Windows pathname syntax.
2449 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2450 .py file to the host and use its host pathname.
2451 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2452 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2453 build pathname. Skip symlink test on Windows host. Add missing
2454 newline at end of file.
2455 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2456 and use its host pathname.
2457 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2458 * gdb.python/py-section-script.exp: Use host location of binfile
2459 on safe-path. Use correct path separator on Windows host.
2460 Reorder alternatives in gdb_test_multiple to prevent matching
2461 the wrong alternative on success.
2462 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2463
ca2589f3
PP
24642019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2465
2466 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2467 expect the GDB inferior to no longer immediately stop after
2468 being resumed with "signal SIGINT".
2469
020a839d
SL
24702019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2471
2472 * gdb.linespec/break-ask.exp: Generalize regexps to match
2473 Windows pathnames too.
2474
128d6509
TV
24752019-08-08 Tom de Vries <tdevries@suse.de>
2476
2477 PR testsuite/24862
2478 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2479
590042fc
PW
24802019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2481
2482 * gdb.base/style.exp: Update tests for help doc new invariants.
2483 * gdb.base/help.exp: Likewise.
2484
046bebe1
TT
24852019-08-06 Tom Tromey <tom@tromey.com>
2486
2487 * gdb.base/style.exp: Add disassemble test.
2488 * gdb.base/style.c (some_called_function): New function.
2489 (main): Use it.
2490
0b27c27d
CB
24912019-08-05 Christian Biesinger <cbiesinger@google.com>
2492
2493 * gdb.python/py-block.exp: Test dictionary access on blocks.
2494
580f1034
SM
24952019-08-05 Simon Marchi <simon.marchi@efficios.com>
2496
2497 PR gdb/24863
2498 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2499 -list-thread-groups --available test when running under
2500 check-read1.
2501
d86bd7cb
TV
25022019-08-05 Tom de Vries <tdevries@suse.de>
2503
2504 PR testsuite/24863
2505 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2506 * gdb.base/help.exp: Use with_read1_timeout_factor.
2507 * gdb.base/info-macros.exp: Same.
2508 * gdb.cp/nested-types.exp: Same.
2509
a80cf5d8
TV
25102019-08-05 Tom de Vries <tdevries@suse.de>
2511
2512 * lib/gdb.exp (version_at_least): Factor out of ...
2513 (tcl_version_at_least): ... here.
2514 (gdb_compile): Fail if pie results in non-PIE executable.
2515 (readelf_version, readelf_prints_pie): New proc.
2516 (exec_is_pie): Return -1 if unknown.
2517
d0962838
TV
25182019-08-05 Tom de Vries <tdevries@suse.de>
2519
2520 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2521
2252ff3d
SL
25222019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2523
2524 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2525
26655f53
SL
25262019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2527
2528 * lib/completion-support.exp (test_gdb_complete_none): Skip
2529 tab completion tests if no readline support.
2530 (test_gdb_complete_unique_re): Likewise.
2531 (test_gdb_complete_multiple): Likewise.
2532
db4dc13e
PW
25332019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2534
2535 * gdb.base/info_sources.exp: New file.
2536 * gdb.base/info_sources.c: New file.
2537 * gdb.base/info_sources_base.c: New file.
2538
0eba165a
PFC
25392019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2540
2541 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2542 prefix argument.
2543 (test_exit_status): Add prefix argument.
2544
59bd512b
TV
25452019-08-01 Tom de Vries <tdevries@suse.de>
2546
2547 PR testsuite/24863
2548 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2549 calling exp_continue for new thread and thread exited messages.
2550
2a3ad588
TV
25512019-08-01 Tom de Vries <tdevries@suse.de>
2552
2553 PR testsuite/24863
2554 * gdb.base/structs.exp: Fix check-read1 timeout using
2555 gdb_test_sequence.
2556 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2557
117eb594
TV
25582019-08-01 Tom de Vries <tdevries@suse.de>
2559
2560 PR testsuite/24863
2561 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2562 line.
2563
ed591340
TV
25642019-08-01 Tom de Vries <tdevries@suse.de>
2565
2566 PR testsuite/24863
2567 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2568
aa3b6533
TT
25692019-07-30 Tom Tromey <tromey@adacore.com>
2570
2571 * gdb.ada/display_nested.exp: New file.
2572 * gdb.ada/display_nested/foo.adb: New file.
2573 * gdb.ada/display_nested/pack.adb: New file.
2574 * gdb.ada/display_nested/pack.ads: New file.
2575
2906593f
CB
25762019-07-30 Christian Biesinger <cbiesinger@google.com>
2577
2578 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2579 namespace.
2580 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2581
0f575925
TV
25822019-07-30 Tom de Vries <tdevries@suse.de>
2583
2584 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2585 instead.
2586
b13057d9
TV
25872019-07-30 Tom de Vries <tdevries@suse.de>
2588
2589 PR testsuite/24834
2590 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2591 (exec_is_pie): New proc.
2592
5c4dde85
CB
25932019-07-29 Christian Biesinger <cbiesinger@google.com>
2594
2595 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2596
c620ed88
CB
25972019-07-29 Christian Biesinger <cbiesinger@google.com>
2598
2599 * gdb.python/py-objfile.c: Add global and static vars.
2600 * gdb.python/py-objfile.exp: Test new functions Objfile.
2601 lookup_global_symbol and lookup_static_symbol.
2602
3d235706
TT
26032019-07-29 Tom Tromey <tom@tromey.com>
2604
2605 * lib/tuiterm.exp (Term::_csi_@): New proc.
2606 (Term::_csi_X): Don't move cursor.
2607
c7e4c0a6
PW
26082019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2609
2610 * gdb.base/options.exp: Update backtrace - completion to
2611 new option -frame-info.
2612 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2613 Test new 'set print frame-info'. Test backtrace -frame-info
2614 overriding 'set print frame-info'.
2615 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2616 Test new 'set print frame-info'.
2617 Verify consistency of backtrace with and without filters, with and
2618 without -no-filters.
2619 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2620 default.
2621
de28a3b7
TV
26222019-07-29 Tom de Vries <tdevries@suse.de>
2623
2624 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2625 no arguments".
2626
507dd60e
TV
26272019-07-29 Tom de Vries <tdevries@suse.de>
2628
2629 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2630 is a substring of the first for "complete non-unique file name".
2631
5beafce9
TV
26322019-07-29 Tom de Vries <tdevries@suse.de>
2633
2634 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2635 with ".*".
2636
2d274232
TV
26372019-07-29 Tom de Vries <tdevries@suse.de>
2638
2639 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2640 Pass prompt_regexp parameter to gdb_test_multiple calls.
2641
9197cd8b
TV
26422019-07-29 Tom de Vries <tdevries@suse.de>
2643
2644 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 2645 print registers" regexps.
9197cd8b 2646
b528dae0
TV
26472019-07-29 Tom de Vries <tdevries@suse.de>
2648
2649 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2650
d17725d7
TV
26512019-07-29 Tom de Vries <tdevries@suse.de>
2652
2653 PR gdb/24855
2654 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2655 (skip_python_tests_prompt): Add prompt_regexp argument to
2656 gdb_test_multiple calls.
2657
52b75bf1
TT
26582019-07-27 Tom Tromey <tom@tromey.com>
2659
2660 * gdb.tui/main.exp: New file.
2661
2b1d00c2
TT
26622019-07-27 Tom Tromey <tom@tromey.com>
2663
2664 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2665 optional.
2666 * gdb.tui/empty.exp: New file.
2667
ded631d5
TT
26682019-07-27 Tom Tromey <tom@tromey.com>
2669
2670 * lib/tuiterm.exp (spawn): New proc.
2671 (Term::resize): New proc.
2672 * gdb.tui/resize.exp: New file.
2673
58ac439d
TT
26742019-07-27 Tom Tromey <tom@tromey.com>
2675
2676 * gdb.tui/list.exp: New file.
2677
fe1f56ee
TT
26782019-07-27 Tom Tromey <tom@tromey.com>
2679
2680 * gdb.tui/regs.exp: New file.
2681
f790b310
TT
26822019-07-27 Tom Tromey <tom@tromey.com>
2683
2684 * gdb.tui/basic.exp: Add "layout split" test.
2685
d95fc6ee
TT
26862019-07-27 Tom Tromey <tom@tromey.com>
2687
2688 * gdb.tui/basic.exp: Add "layout asm" test.
2689
c3786b3a
TT
26902019-07-27 Tom Tromey <tom@tromey.com>
2691
2692 * lib/tuiterm.exp: New file.
2693 * gdb.tui/basic.exp: New file.
2694
98a617f8
KB
26952019-07-27 Kevin Buettner <kevinb@redhat.com>
2696
2697 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2698 Enable tests associated with this flag. Adjust regex
2699 referencing "foo_low" to now refer to "foo_cold" instead.
2700
5c076da4
KB
27012019-07-27 Kevin Buettner <kevinb@redhat.com>
2702
2703 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2704 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2705 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2706 foo_cold. Revise comments to match.
2707 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2708 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2709 were wrapped into this proc; Call do_test in loop from outermost
2710 level.
2711 (foo_low): Rename all occurrences to "foo_cold".
2712 (backtrace from baz): New test.
2713 (x2/i foo_cold): New test.
2714 (info line *foo_cold): New test.
2715
1512d3b7
TV
27162019-07-26 Tom de Vries <tdevries@suse.de>
2717
2718 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2719
297989a1
TV
27202019-07-25 Tom de Vries <tdevries@suse.de>
2721
2722 PR testsuite/24830
2723 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2724 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2725 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2726 (skip_libstdcxx_probe_tests): ... here.
2727 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2728
b3b965fb
TV
27292019-07-24 Tom de Vries <tdevries@suse.de>
2730
2731 PR testsuite/24807
2732 * gdb.objc/basicclass.m: Include stdio.h.
2733 * gdb.objc/nondebug.m: Same.
2734 * gdb.objc/objcdecode.m: Same.
2735
4625b4d0
TV
27362019-07-24 Tom de Vries <tdevries@suse.de>
2737
2738 PR testsuite/24612
2739 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2740 additional_flags.
2741
024a5840
TV
27422019-07-24 Tom de Vries <tdevries@suse.de>
2743
2744 PR testsuite/24831
2745 * gdb.multi/tids.exp: Update error messages for info threads.
2746
c76ddaa3
TV
27472019-07-24 Tom de Vries <tdevries@suse.de>
2748
2749 * gdb.base/info-types.exp: Allow info types to print info for more than
2750 one file.
2751
9a618ef6
TV
27522019-07-23 Tom de Vries <tdevries@suse.de>
2753
2754 PR testsuite/24842
2755 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2756 gdb_spawn_with_cmdline_opts.
2757
40eadf04
SP
27582019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2759
2760 * gdb.arch/arm-cmse-sgstubs.c: New test.
2761 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2762
5ba29434
TV
27632019-07-23 Tom de Vries <tdevries@suse.de>
2764
2765 PR testsuite/24711
2766 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2767 issuing next command.
2768
a8e9d247
AB
27692019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2770
2771 * gdb.ada/info_auto_lang.exp: Update expected results.
2772 * gdb.base/info-types.c: Add additional types to check.
2773 * gdb.base/info-types.exp: Update expected results.
2774
eb86c5e2
AB
27752019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2776
2777 * gdb.base/info-types.c: New file.
2778 * gdb.base/info-types.exp: New file.
2779
01e175fe
AB
27802019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2781
2782 * gdb.arch/riscv-bp-infcall.c: New file.
2783 * gdb.arch/riscv-bp-infcall.exp: New file.
2784
6b78c3f8
AB
27852019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2786
2787 PR breakpoints/24541
2788 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2789
da738167
TV
27902019-07-14 Tom de Vries <tdevries@suse.de>
2791
2792 PR testsuite/24760
2793 * gdb.objc/basicclass.exp: Fix unterminated string.
2794
0d4e84ed
AB
27952019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2796 Andrew Burgess <andrew.burgess@embecosm.com>
2797
2798 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2799 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2800 negative bounds.
2801 * gdb.fortran/vla-value.exp: Print elements of an array with
2802 negative bounds.
2803 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2804 testing.
2805
021d8588
AB
28062019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2807
2808 * gdb.base/options.exp (expect_string): Dequote strings in
2809 results.
2810 (test-string): Test strings with different quoting and reindent.
2811
f06f1252
TT
28122019-07-10 Tom Tromey <tromey@adacore.com>
2813
2814 * gdb.ada/mi_ex_cond.exp: Update expected results.
2815 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2816 * gdb.ada/mi_catch_ex.exp: Update expected results.
2817 * gdb.ada/mi_catch_assert.exp: Update expected results.
2818 * gdb.ada/catch_ex.exp (catch_exception_info)
2819 (catch_exception_entry, catch_assert_entry)
2820 (catch_unhandled_entry): Update.
2821 * gdb.ada/catch_assert_if.exp: Update expected results.
2822
b863685d
RB
28232019-07-10 Richard Bunt <richard.bunt@arm.com>
2824 Stephen Roberts <stephen.roberts@arm.com>
2825
2826 * gdb.base/define.exp: Restore original prompt.
2827
cb1e4e32
PA
28282019-07-09 Pedro Alves <palves@redhat.com>
2829
2830 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2831 breakpoints" output.
2832 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2833 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2834 throw" creates breakpoint.
2835 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2836 'type="catchpoint"'.
2837
b58a68fe
PA
28382019-07-09 Pedro Alves <palves@redhat.com>
2839
2840 PR c++/15468
2841 * gdb.cp/except-multi-location-lib.cc: New.
2842 * gdb.cp/except-multi-location-main.cc: New.
2843 * gdb.cp/except-multi-location.exp: New.
2844
0826779b
PW
28452019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2846
2847 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2848 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2849 argument and update callers.
2850
5b0e2db4
AB
28512019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2852
2853 * gdb.arch/amd64-break-on-asm-line.S: New file.
2854 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2855
1f6f6e21
PW
28562019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2857
2858 * gdb.base/printcmds.exp: Test printing C string and
2859 C wide string convenience vars without transiting via the inferior.
2860 Also make test names unique.
2861
ea142fbf
AH
28622019-07-08 Alan Hayward <alan.hayward@arm.com>
2863
5862c886 2864 PR breakpoints/25011
ea142fbf
AH
2865 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2866
213fd9fa
PA
28672019-07-04 Pedro Alves <palves@redhat.com>
2868
2869 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2870 body returned ok(0), break(3) or continue(4).
2871 * gdb.testsuite/foreach_with_prefix.exp: New file.
2872
2b40fda7
AH
28732019-07-04 Alan Hayward <alan.hayward@arm.com>
2874
2875 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2876
a26c8de0
PA
28772019-07-03 Pedro Alves <palves@redhat.com>
2878
2879 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2880 "return -code".
2881
5f4ba3e7
PA
28822019-07-03 Pedro Alves <palves@redhat.com>
2883
2884 PR cli/24732
2885 * gdb.base/shell.exp: Load completion-support.exp.
2886 Adjust expected error output. Add completion tests.
2887
a994424f
PA
28882019-07-03 Pedro Alves <palves@redhat.com>
2889
2890 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2891 string_to_regexp.
2892
3d9be6f5
PA
28932019-07-03 Pedro Alves <palves@redhat.com>
2894
2895 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2896 (expect_integer): Adjust to expect "-string".
2897 (expect_string): New.
2898 (all_options): Expect "-string".
2899 (test-flag, test-boolean): Adjust to expect "-string".
2900 (test-string): New proc.
2901 (top level): Call it.
2902
41fc454c
PA
29032019-07-03 Pedro Alves <palves@redhat.com>
2904
2905 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2906 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2907 the expected output in the success.
2908
b2b2a215
PA
29092019-07-03 Pedro Alves <palves@redhat.com>
2910
2911 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2912 Split one gdb_test_multiple call in two to avoid a race.
2913
fdbc9870
PA
29142019-07-03 Pedro Alves <palves@redhat.com>
2915
2916 * gdb.base/with.c: New file.
2917 * gdb.base/with.exp: New file.
2918
c6ac8931
PA
29192019-07-03 Pedro Alves <palves@redhat.com>
2920
2921 * gdb.base/settings.exp: Replace all references to "maint
2922 test-settings set" with references to "maint set test-settings",
2923 and all references to "maint test-settings show" with references
2924 to "maint show test-settings".
2925
970f9d09
PA
29262019-07-03 Pedro Alves <palves@redhat.com>
2927
2928 * gdb.base/settings.exp (test-string): Adjust expected out when
2929 testing "maint test-settings show filename"
2930
54d66006
PA
29312019-07-02 Pedro Alves <palves@redhat.com>
2932
2933 * gdb.base/options.exp (test-info-threads): New procedure.
2934 (top level): Call it.
2935
10d06d82
TT
29362019-06-28 Tom Tromey <tromey@adacore.com>
2937
2938 * gdb.dwarf2/ada-linkage-name.c: New file.
2939 * gdb.dwarf2/ada-linkage-name.exp: New file.
2940
3d507ff2
TT
29412019-06-27 Tom Tromey <tromey@adacore.com>
2942
d039f014 2943 PR c++/20020:
3d507ff2
TT
2944 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2945
8af58ffe
TV
29462019-06-26 Tom de Vries <tdevries@suse.de>
2947
2948 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2949
22e21752
TV
29502019-06-26 Tom de Vries <tdevries@suse.de>
2951
2952 * gdb.base/index-cache.exp: Add back missing debug option.
2953
b65b566c
PW
29542019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2955
2956 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2957
5c2c8c69
TV
29582019-06-25 Tom de Vries <tdevries@suse.de>
2959
2960 PR testsuite/24727
2961 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2962
164e3873
TV
29632019-06-24 Tom de Vries <tdevries@suse.de>
2964
2965 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2966
824eacee
TV
29672019-06-24 Tom de Vries <tdevries@suse.de>
2968
2969 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2970 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2971 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2972
385b97d3
TV
29732019-06-24 Tom de Vries <tdevries@suse.de>
2974
2975 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2976
c596f180
TV
29772019-06-21 Tom de Vries <tdevries@suse.de>
2978
2979 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2980
b13a7d03
TV
29812019-06-21 Tom de Vries <tdevries@suse.de>
2982
2983 PR testsuite/24518
2984 PR ada/24713
2985 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2986 index.
2987
899277ae
TT
29882019-06-19 Tom Tromey <tromey@adacore.com>
2989
2990 * gdb.ada/length_cond.exp: Add intro comment.
2991
680e1bee
TT
29922019-06-19 Tom Tromey <tromey@adacore.com>
2993
2994 * gdb.ada/length_cond.exp: New file.
2995 * gdb.ada/length_cond/length_cond.adb: New file.
2996 * gdb.ada/length_cond/pck.adb: New file.
2997 * gdb.ada/length_cond/pck.ads: New file.
2998
0ed4690a
TV
29992019-06-18 Tom de Vries <tdevries@suse.de>
3000
3001 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3002
d20ed5fd
TT
30032019-06-18 Tom Tromey <tromey@adacore.com>
3004
3005 * gdb.base/list0.h: Add comment explaining control character.
3006
86e04673
TV
30072019-06-18 Tom de Vries <tdevries@suse.de>
3008
3009 * boards/fission.exp: Break up long debug_flags line.
3010
c4973306
SM
30112019-06-16 Tom de Vries <tdevries@suse.de>
3012
3013 PR gdb/24445
3014 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3015 generated index.
3016
93cb9841
AB
30172019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3018
3019 PR gdb/24686
3020 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3021 improve detection of bug gdb/24541.
3022
399aaebd
SM
30232019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3024
3025 PR gdb/24669
3026 * gdb.base/index-cache.exp (uses_readnow,
3027 expecting_index_cache_use): Define global variable.
3028 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3029 expecting_index_cache_use.
3030
584a927c
AB
30312019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3032 Andrew Burgess <andrew.burgess@embecosm.com>
3033
3034 * gdb.fortran/pointers.f90: New file.
3035 * gdb.fortran/print_type.exp: New file.
3036 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3037 * gdb.fortran/vla-type.exp: Likewise.
3038 * gdb.fortran/vla-value.exp: Likewise.
3039 * gdb.mi/mi-vla-fortran.exp: Likewise.
3040
30056ea0
AB
30412019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3042
3043 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3044 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3045 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3046 as a stop reason.
3047
ec8e2b6d
AB
30482019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3049
3050 * gdb.base/annota1.exp: Update expected results.
3051 * gdb.cp/annota2.exp: Likewise.
3052 * gdb.cp/annota3.exp: Likewise.
3053
09e4c4e1
AB
30542019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3055
3056 * gdb.base/style-logging.exp: Remove path from test name.
3057
0735b091
TT
30582019-06-14 Tom Tromey <tromey@adacore.com>
3059
3060 PR gdb/24502:
3061 * gdb.base/style-logging.exp: New file.
3062
f5686554
TT
30632019-06-14 Tom Tromey <tromey@adacore.com>
3064
3065 * gdb.base/symfile-warn.exp: New file.
3066 * gdb.base/symfile-warn.c: New file.
3067
a0c1ffed
TT
30682019-06-14 Tom Tromey <tromey@adacore.com>
3069
3070 * gdb.base/annotate-symlink.exp: New file.
3071
f411722c
TT
30722019-06-14 Tom Tromey <tromey@adacore.com>
3073
3074 * gdb.ada/set_wstr.exp: Add reassignment test.
3075
4268ec18
TT
30762019-06-14 Tom Tromey <tromey@adacore.com>
3077
3078 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3079 'unchecked_access and 'unrestricted_access as well.
3080
9a9e394b
TT
30812019-06-14 Tom Tromey <tromey@adacore.com>
3082
3083 PR ada/24539:
3084 * gdb.ada/vla.exp: Update tests.
3085 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3086 pragma.
3087
4c048731
PA
30882019-06-13 Pedro Alves <palves@redhat.com>
3089
3090 * gdb.base/settings.exp (test-integer): Test junk after
3091 "unlimited".
3092
6665660a
PA
30932019-06-13 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.base/options.exp (test-thread-apply): New.
3096 (top level): Call it.
3097
5d707134
PA
30982019-06-13 Pedro Alves <palves@redhat.com>
3099
3100 * gdb.base/options.exp (test-frame-apply): New.
3101 (top level): Test print commands with different "frame apply"
3102 prefixes.
3103
e2a689da
PA
31042019-06-13 Pedro Alves <palves@redhat.com>
3105
e79be6e5 3106 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
3107 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
3108 'max_completions' parameter and handle it.
3109 (test_gdb_completion_offers_commands): New.
3110
90a1ef87
PA
31112019-06-13 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
3114
d4c16835
PA
31152019-06-13 Pedro Alves <palves@redhat.com>
3116
3117 * gdb.base/options.exp (test-backtrace): New.
3118 (top level): Call it.
3119
2daf894e
PA
31202019-06-13 Pedro Alves <palves@redhat.com>
3121
3122 * gdb.guile/scm-frame-args.exp: Use "set print
3123 raw-frame-arguments" instead of "set print raw frame-arguments".
3124 * gdb.python/py-frame-args.exp: Likewise.
3125
e6ed716c
PA
31262019-06-13 Pedro Alves <palves@redhat.com>
3127
3128 * gdb.compile/compile.exp: Adjust expected output to option
3129 processing changes.
3130
7d8062de
PA
31312019-06-13 Pedro Alves <palves@redhat.com>
3132
3133 * gdb.base/options.exp: Build executable.
3134 (test-print): New procedure.
3135 (top level): Call it, once for "print" and another for "compile
3136 print".
3137
9d0faba9
PA
31382019-06-13 Pedro Alves <palves@redhat.com>
3139
3140 * gdb.base/options.c: New file.
3141 * gdb.base/options.exp: New file.
3142
dee7b4c8
PA
31432019-06-13 Pedro Alves <palves@redhat.com>
3144
3145 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
3146 that "o" is ambiguous.
3147
dca0f6c0
PA
31482019-06-13 Pedro Alves <palves@redhat.com>
3149
3150 * gdb.base/settings.c: New file.
3151 * gdb.base/settings.exp: New file.
3152
ccf46844
PA
31532019-06-13 Pedro Alves <palves@redhat.com>
3154
3155 * gdb.base/completion.exp: Fix comment typo.
3156
b9a3f842
PA
31572019-06-13 Pedro Alves <palves@redhat.com>
3158
3159 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
3160 foo --1" test.
3161
d106773e
PA
31622019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
3163
3164 * gdb.fortran/block-data.f: New.
3165 * gdb.fortran/block-data.exp: New.
3166
fea82da0
TV
31672019-06-11 Tom de Vries <tdevries@suse.de>
3168
3169 PR testsuite/24521
3170 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3171 message.
3172
8c2e74f1
TV
31732019-06-11 Tom de Vries <tdevries@suse.de>
3174
3175 PR testsuite/24521
3176 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3177
b49851c8
TV
31782019-06-11 Tom de Vries <tdevries@suse.de>
3179
3180 * boards/readnow.exp: New file.
3181
a7067863
AB
31822019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3183
3184 * gdb.fortran/vla-sizeof.exp: Update expected results.
3185
1a3da2cd
AB
31862019-06-06 Amos Bird <amosbird@gmail.com>
3187
3188 * gdb.base/annota1.exp (thread_switch): Add test for
3189 thread-exited annotation.
3190
3847a7bf
TT
31912019-06-06 Tom Tromey <tromey@adacore.com>
3192
3193 * gdb.base/maint.exp: Expect command started/finished output.
3194
0088ba59
AB
31952019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3196
3197 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3198 comment.
3199 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3200
312617a3
AB
32012019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3202
3203 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3204 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3205 * gdb.arch/riscv-unwind-long-insn.c: New file.
3206 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3207
e1f2e1a2
CB
32082019-06-04 Christian Biesinger <cbiesinger@google.com>
3209
d3238f7d 3210 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 3211
206584bd
PW
32122019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3213
3214 * lib/gdb.exp (help_list_trailer): New regexp variable
3215 factorizing the help trailer message.
3216 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3217 arg to allow to better factorize various tests.
3218 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3219 (test_prefix_command_help): Use help_list_trailer.
3220 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3221 * gdb.guile/scm-cmd.exp: Likewise.
3222 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3223 * gdb.base/help.exp: Use test_user_defined_class_help.
3224 * gdb.base/style.exp: Add tests for styling of help and apropos.
3225 * lib/gdb-utils.exp (style): Add title and highlight styles.
3226
708dc93e
PW
32272019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3228
3229 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3230 $_shell_exitsignal.
3231 * gdb.base/default.exp: Update for new convenience variables.
3232
f49055a5
TT
32332019-05-29 Tom Tromey <tromey@adacore.com>
3234
3235 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3236 to "break complete ada" test case's regexp.
3237
4330d61d
TT
32382019-05-29 Tom Tromey <tromey@adacore.com>
3239
3240 PR c++/20020:
3241 * gdb.cp/constexpr-field.exp: New file.
3242 * gdb.cp/constexpr-field.cc: New file.
3243
000439d5
TT
32442019-05-29 Tom Tromey <tromey@adacore.com>
3245
3246 * gdb.base/finish.exp (finish_no_print): New proc.
3247 (finish_tests): Call it.
3248
5a01c34c
TV
32492019-05-24 Tom de Vries <tdevries@suse.de>
3250
3251 * gdb.dwarf2/gdb-add-index.exp: New file.
3252
18125b16
TT
32532019-05-22 Tom Tromey <tromey@adacore.com>
3254
3255 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3256 * gdb.base/style.exp: Use "style".
3257 * lib/gdb-utils.exp (style): New proc.
3258
af1a8d03
TV
32592019-05-22 Tom de Vries <tdevries@suse.de>
3260
3261 * gdb.base/align.exp: Require c++11.
3262
e7fe496b
TV
32632019-05-22 Tom de Vries <tdevries@suse.de>
3264
3265 PR testsuite/24586
3266 * gdb.python/py-mi-var-info-path-expression.exp: Call
3267 mi_skip_python_tests to check if python is supported.
3268
8fca4da0
AH
32692019-05-22 Alan Hayward <alan.hayward@arm.com>
3270
3271 * gdb.arch/aarch64-pauth.c: New test.
3272 * gdb.arch/aarch64-pauth.exp: New file.
3273
b7060614
AH
32742019-05-22 Alan Hayward <alan.hayward@arm.com>
3275
3276 * README (Re-running Tests Outside The Testsuite): New section.
3277
669d0468
TV
32782019-05-21 Tom de Vries <tdevries@suse.de>
3279
3280 * gdb.arch/amd64-eval.exp: Require c++11.
3281 * gdb.base/max-depth.exp: Same.
3282 * gdb.compile/compile-cplus-array-decay.exp: Same.
3283 * gdb.cp/meth-typedefs.exp: Same.
3284 * gdb.cp/subtypes.exp: Same.
3285 * gdb.cp/temargs.exp: Same.
3286
ce3ebcaa
AH
32872019-05-21 Alan Hayward <alan.hayward@arm.com>
3288
3289 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3290
34d11c68
AB
32912019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3292
3293 PR gdb/18644
3294 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3295 * gdb.fortran/printing-types.exp: Add new test.
3296 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3297 testing.
3298 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3299 setup_kfail call.
3300
87781e84
AH
33012019-05-17 Alan Hayward <alan.hayward@arm.com>
3302
3303 * README (Running the Testsuite): Change example.
3304 (Testsuite Parameters): Remove TRANSCRIPT.
3305 * lib/gdb.exp: Remove TRANSCRIPT check.
3306
b420b89e
AH
33072019-05-17 Alan Hayward <alan.hayward@arm.com>
3308
3309 * README (Testsuite Parameters): Add replay logging to
3310 GDBSERVER_DEBUG.
3311 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3312 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3313 as a comma separated list.
3314 (gdb_debug_init): Override procedure.
3315
408e9b8b
AH
33162019-05-17 Alan Hayward <alan.hayward@arm.com>
3317
3318 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3319 (gdb_write_cmd_file): New procedure.
3320 * lib/gdbserver-support.exp (gdbserver_start): Call
3321 gdbserver_write_cmd_file.
3322 (gdbserver_write_cmd_file): New procedure.
3323
f9e2e39d
AH
33242019-05-17 Alan Hayward <alan.hayward@arm.com>
3325
3326 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3327 (delete_breakpoints): Likewise.
3328 (gdb_run_cmd): Likewise.
3329 (gdb_start_cmd): Likewise.
3330 (gdb_starti_cmd): Likewise.
3331 (gdb_internal_error_resync): Likewise.
3332 (gdb_test_multiple): Likewise.
3333 (gdb_reinitialize_dir): Likewise.
3334 (default_gdb_exit): Likewise.
3335 (gdb_file_cmd): Mark kill as optional.
3336 (default_gdb_start): Call gdb_stdin_log_init.
3337 (send_gdb): Call gdb_stdin_log_write.
3338 (rerun_to_main): Mark Y as an answer.
3339 (gdb_stdin_log_init): New function.
3340 (gdb_stdin_log_write): Likewise.
3341
81f47ac2
AH
33422019-05-17 Alan Hayward <alan.hayward@arm.com>
3343
3344 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3345 * gdb.base/debug-expr.exp: Likewise.
3346 * gdb.base/foll-fork.exp: Likewise.
3347 * gdb.base/foll-vfork.exp: Likewise.
3348 * gdb.base/fork-print-inferior-events.exp: Likewise.
3349 * gdb.base/gdb-sigterm.exp: Likewise.
3350 * gdb.base/gdbinit-history.exp: Likewise.
3351 * gdb.base/osabi.exp: Likewise.
3352 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3353 * gdb.base/ui-redirect.exp: Likewise.
3354 * gdb.gdb/unittest.exp: Likewise.
3355 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3356 * gdb.mi/mi-watch.exp: Likewise.
3357 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3358 * gdb.mi/user-selected-context-sync.exp: Likewise.
3359 * gdb.python/python.exp: Disable debug test when debugging.
3360 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3361 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3362 Likewise.
3363 * gdb.threads/stepi-random-signal.exp: Likewise.
3364
29b52314
AH
33652019-05-17 Alan Hayward <alan.hayward@arm.com>
3366
3367 * Makefile.in: Pass through GDB_DEBUG.
3368 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3369 (gdb,debug): Add board setting.
3370 * lib/gdb.exp (default_gdb_start): Start debugging.
3371 (gdb_debug_enabled): New procedure.
3372 (gdb_debug_init): Likewise.
29b52314
AH
3373
33742019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 3375
29b52314
AH
3376 * Makefile.in: Pass through GDB_DEBUG.
3377 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3378 (gdb,debug): Add board setting.
3379 * lib/gdb.exp (default_gdb_start): Start debugging.
3380 (gdb_debug_enabled): New procedure.
3381 (gdb_debug_init): Likewise.
29b52314 3382
ca1285d1
AH
33832019-05-17 Alan Hayward <alan.hayward@arm.com>
3384
3385 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3386
f3a09c80
AH
33872019-05-17 Alan Hayward <alan.hayward@arm.com>
3388
3389 * gdb.base/ui-redirect.exp: Test redirection.
3390
26648588
JV
33912019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3392
3393 * gdb.mi/mi-complete.exp: New file.
3394 * gdb.mi/mi-complete.cc: Likewise.
3395
14237686
AB
33962019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3397
3398 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3399 indexed and sliced arrays, and pointers to arrays.
3400
e7bd7fba
TT
34012019-05-14 Tom Tromey <tromey@adacore.com>
3402
3403 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3404 styling test.
3405
2764128d
TV
34062019-05-14 Tom de Vries <tdevries@suse.de>
3407
3408 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3409 selection entry encoding.
3410
71bed2db
TT
34112019-05-10 Tom Tromey <tromey@adacore.com>
3412
3413 * gdb.ada/info_exc.exp: Add "complete" test.
3414
63b667ad
TV
34152019-05-09 Tom de Vries <tdevries@suse.de>
3416
3417 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3418 CU-relative.
3419
9cfd2b89
TV
34202019-05-09 Tom de Vries <tdevries@suse.de>
3421
3422 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3423 CU-relative.
3424
2228ef77
XR
34252019-05-08 Joel Brobecker <brobecker@adacore.com>
3426
3427 * gdb.ada/frame_arg_lang.exp: New testcase.
3428 * gdb.ada/frame_arg_lang/bla.adb: New file.
3429 * gdb.ada/frame_arg_lang/pck.ads: New file.
3430 * gdb.ada/frame_arg_lang/pck.adb: New file.
3431 * gdb.ada/frame_arg_lang/foo.c: New file.
3432
80e55b13
TT
34332019-05-08 Tom Tromey <tromey@adacore.com>
3434
3435 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3436
9d3421af
TT
34372019-05-08 Tom Tromey <tromey@adacore.com>
3438
3439 * gdb.base/ptype-offsets.exp: Update tests.
3440
844333e2
TT
34412019-05-08 Tom Tromey <tromey@adacore.com>
3442
3443 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3444 cases.
3445 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3446 "short".
3447
988915ee
TT
34482019-05-08 Tom Tromey <tromey@adacore.com>
3449
3450 * gdb.ada/vla.exp: New file.
3451 * gdb.ada/vla/vla.adb: New file.
3452
7bd55dac
TV
34532019-05-07 Tom de Vries <tdevries@suse.de>
3454
3455 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3456
75f06e9d
TV
34572019-05-07 Tom de Vries <tdevries@suse.de>
3458
3459 PR testsuite/24522
3460 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3461 section.
3462
77e7aaa4
TV
34632019-05-07 Tom de Vries <tdevries@suse.de>
3464
3465 PR testsuite/24522
3466 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3467 .debug_aranges section.
3468
456ba0fa
TV
34692019-05-07 Tom de Vries <tdevries@suse.de>
3470
3471 PR testsuite/24159
3472 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3473
5a56d6a6
TV
34742019-05-06 Tom de Vries <tdevries@suse.de>
3475
3476 * lib/gdb.exp (exec_has_index_section): New proc.
3477 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3478 section.
3479
9d6d4be8
TV
34802019-05-04 Tom de Vries <tdevries@suse.de>
3481
3482 * boards/cc-with-debug-names.exp: New file.
3483
222a8d25
TT
34842019-05-03 Tom Tromey <tromey@adacore.com>
3485
3486 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3487 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3488 * gdb.ada/char_enum.exp: Add test.
3489
0fdfd794
TV
34902019-05-03 Tom de Vries <tdevries@suse.de>
3491
3492 * boards/cc-with-gdb-index.exp: New file.
3493
80062eb9
AB
34942019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3495
3496 * gdb.rust/simple.exp: Add new test case.
3497 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3498 (main): Initialise an instance of the new struct.
3499
4504bbde
TT
35002019-05-01 Tom Tromey <tromey@adacore.com>
3501
3502 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3503 record.
3504 (NPR): New variable.
3505 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3506 test.
3507
d48e62f4
TT
35082019-05-01 Tom Tromey <tromey@adacore.com>
3509
3510 * gdb.ada/packed_array_assign.exp: Add packed assignment
3511 regression test.
3512
f59f30f5
TV
35132019-05-01 Tom de Vries <tdevries@suse.de>
3514
3515 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3516
b70bfc54
TV
35172019-05-01 Tom de Vries <tdevries@suse.de>
3518
3519 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3520
15f18d14
AT
35212019-04-30 Ali Tamur <tamur@google.com>
3522
3523 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3524
2ff0a947
TT
35252019-04-30 Tom Tromey <tromey@adacore.com>
3526
3527 * lib/ada.exp (find_ada_tool): New proc.
3528 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3529 * gdb.ada/catch_ex_std.exp: New file.
3530 * gdb.ada/catch_ex_std/foo.adb: New file.
3531 * gdb.ada/catch_ex_std/some_package.adb: New file.
3532 * gdb.ada/catch_ex_std/some_package.ads: New file.
3533
a776957c
TT
35342019-04-30 Tom Tromey <tromey@adacore.com>
3535
3536 PR c++/24470:
3537 * gdb.cp/temargs.cc: Add test code from PR.
3538
bc68014d
AB
35392019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3540
3541 * gdb.fortran/vla-datatypes.exp: Update expected results.
3542 * gdb.fortran/vla-ptype.exp: Likewise.
3543 * gdb.fortran/vla-type.exp: Likewise.
3544 * gdb.fortran/vla-value.exp: Likewise.
3545
f1fdc960
AB
35462019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3547
3548 * gdb.fortran/ptr-indentation.exp: Update expected results.
3549 * gdb.fortran/ptype-on-functions.exp: Likewise.
3550 * gdb.fortran/vla-ptr-info.exp: Likewise.
3551 * gdb.fortran/vla-value.exp: Likewise.
3552
bf7a4de1
AB
35532019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3554
3555 * gdb.fortran/ptype-on-functions.exp: New file.
3556 * gdb.fortran/ptype-on-functions.f90: New file.
3557
bbe75b9d
AB
35582019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3559
3560 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3561 case void string.
3562
1db455a7
AB
35632019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3564
3565 * gdb.fortran/complex.exp: Expand.
3566 * gdb.fortran/complex.f: Renamed to...
3567 * gdb.fortran/complex.f90: ...this, and extended to add more
3568 complex values.
3569
b6d03bb2
AB
35702019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3571
3572 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3573 MODULO, CMPLX.
3574
2e62ab40
AB
35752019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3576 Richard Bunt <richard.bunt@arm.com>
3577
3578 * gdb.base/max-depth.c: New file.
3579 * gdb.base/max-depth.exp: New file.
3580 * gdb.python/py-nested-maps.c: New file.
3581 * gdb.python/py-nested-maps.exp: New file.
3582 * gdb.python/py-nested-maps.py: New file.
3583 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3584 (test_all_common): Call test_max_depth.
3585 * gdb.fortran/max-depth.exp: New file.
3586 * gdb.fortran/max-depth.f90: New file.
3587 * gdb.go/max-depth.exp: New file.
3588 * gdb.go/max-depth.go: New file.
3589 * gdb.modula2/max-depth.exp: New file.
3590 * gdb.modula2/max-depth.c: New file.
3591 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3592
d2b584a5
TV
35932019-04-29 Tom de Vries <tdevries@suse.de>
3594
3595 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3596
136afab8
PW
35972019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3598
3599 * gdb.base/callexit.exp: Test may-call-functions off.
3600
725cbb63
KS
36012019-04-25 Keith Seitz <keiths@redhat.com>
3602
3603 PR c++/24367
3604 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3605 (another_incomplete_struct, test_incomplete): New definitions.
3606 (main): Use new definitions.
3607 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3608 functions.
3609
701adfb0
PA
36102019-04-25 Ali Tamur <tamur@google.com>
3611
3612 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3613
82433e3e
SDJ
36142019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3615
3616 PR corefiles/11608
3617 PR corefiles/18187
3618 * gdb.base/coredump-filter-build-id.exp: New file.
3619
dd06d4d6
AH
36202019-04-25 Alan Hayward <alan.hayward@arm.com>
3621
e79be6e5
SM
3622 * Makefile.in: Pass through GDBSERVER_DEBUG.
3623 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3624 (gdbserver,debug): Add board setting.
3625 * gdb.trace/tspeed.exp: Skip when debugging.
3626 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3627 * lib/gdbserver-support.exp: Likewise
dd06d4d6 3628
1670072e
TT
36292019-04-24 Tom Tromey <tromey@adacore.com>
3630
3631 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3632 Rust.
3633
a59240a4
TT
36342019-04-24 Tom Tromey <tromey@adacore.com>
3635
3636 * gdb.arch/amd64-eval.exp: Test bitfield return.
3637 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3638 (class Foo) <return_bitfields>: New method.
3639 (main): Call it.
3640
b907456c
AB
36412019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3642
3643 * gdb.cp/many-args.cc: New file.
3644 * gdb.cp/many-args.exp: New file.
3645
5c565afd
TV
36462019-04-23 Tom de Vries <tdevries@suse.de>
3647
3648 PR gdb/24433
3649 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3650
ba22ff86
AH
36512019-04-23 Alan Hayward <alan.hayward@arm.com>
3652
3653 * gdb.trace/backtrace.exp: Use nopie flag.
3654 * gdb.trace/circ.exp: Likewise.
3655 * gdb.trace/collection.exp: Likewise.
3656 * gdb.trace/ftrace.exp: Likewise.
3657 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3658 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3659 * gdb.trace/qtro.exp: Likewise.
3660 * gdb.trace/read-memory.exp: Likewise.
3661 * gdb.trace/report.exp: Likewise.
3662 * gdb.trace/tfile.exp: Likewise.
3663 * gdb.trace/tfind.exp: Likewise.
3664 * gdb.trace/unavailable.exp: Likewise.
3665
7905fc35
PA
36662019-04-22 Pedro Alves <palves@redhat.com>
3667
3668 * gdb.base/solib-probes-nosharedlibrary.c,
3669 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3670
8ecb59f8
TT
36712019-04-19 Tom Tromey <tromey@adacore.com>
3672
3673 * gdb.ada/ptype_union.c: New file.
3674 * gdb.ada/ptype_union.exp: New file.
3675
62160ec9
TT
36762019-04-19 Tom Tromey <tromey@adacore.com>
3677
3678 PR symtab/24423:
3679 * gdb.base/list0.h (foo): Add a control-l character.
3680
36cd4ba5
TV
36812019-04-18 Tom de Vries <tdevries@suse.de>
3682
3683 PR gdb/24433
3684 * boards/local-board.exp: Set sysroot to "".
3685
b73715df
TV
36862019-04-18 Tom de Vries <tdevries@suse.de>
3687 Pedro Alves <palves@redhat.com>
3688
3689 PR gdb/24454
3690 * gdb.threads/vfork-follow-child-exec.c: New file.
3691 * gdb.threads/vfork-follow-child-exec.exp: New file.
3692 * gdb.threads/vfork-follow-child-exit.c: New file.
3693 * gdb.threads/vfork-follow-child-exit.exp: New file.
3694
4aa866af
LS
36952019-04-15 Leszek Swirski <leszeks@google.com>
3696
3697 * gdb.arch/amd64-eval.cc: New file.
3698 * gdb.arch/amd64-eval.exp: New file.
3699
e5a1a79a
AH
37002019-04-11 Alan Hayward <alan.hayward@arm.com>
3701
3702 * gdb.server/sysroot.c: New test.
3703 * gdb.server/sysroot.exp: New file.
3704 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3705 matching param.
3706
41077b66
AB
37072019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3708
3709 * gdb.base/align.exp: Extend test to cover structures containing
3710 only static fields.
3711
c30391f8
TV
37122019-04-11 Tom de Vries <tdevries@suse.de>
3713
3714 * boards/cc-with-dwz-m.exp: New file.
3715 * boards/cc-with-dwz.exp: New file.
3716 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3717
e242fd12
SM
37182019-04-09 Simon Marchi <simon.marchi@efficios.com>
3719
3720 * gdb.base/start-cpp.exp: New file.
3721 * gdb.base/start-cpp.cc: New file.
3722
2b0c8b01
KB
37232019-04-08 Kevin Buettner <kevinb@redhat.com>
3724
3725 * gdb.python/py-thrhandle.exp: Adjust tests to call
3726 thread_from_handle instead of thread_from_thread_handle.
3727
947210e5
KB
37282019-04-08 Kevin Buettner <kevinb@redhat.com>
3729
3730 * gdb.python/py-thrhandle.exp: Add tests for
3731 gdb.InferiorThread.handle.
3732
d7df6549
AB
37332019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3734
3735 * gdb.python/py-function.exp: Check calling helper function from
3736 all languages.
3737 * lib/gdb.exp (gdb_supported_languages): New proc.
3738
8bdc1658
AB
37392019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3740
3741 * gdb.base/complex-parts.c: New file.
3742 * gdb.base/complex-parts.exp: New file.
3743
05caa1d2
TT
37442019-04-01 Tom Tromey <tromey@adacore.com>
3745
3746 PR symtab/23331:
3747 * gdb.dwarf2/dw2-ranges-main.c: New file.
3748 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3749 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3750
7734102d
EZ
37512019-03-30 Simon Marchi <simark@simark.ca>
3752
3753 * gdb.base/default.exp: Add values for $_gdb_major and
3754 $_gdb_minor.
3755
188e1fa9
TT
37562019-03-29 Tom Tromey <tromey@adacore.com>
3757
3758 * gdb.base/help.exp: Tighten apropos regexp.
3759
2880242d
KS
37602019-03-29 Keith Seitz <keiths@redhat.com>
3761
3762 * gdb.fortran/array-bounds.exp: New file.
3763 * gdb.fortran/array-bounds.f90: New file.
3764
077cad8e
PW
37652019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3766
3767 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3768
80047cfc
PW
37692019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3770
3771 * gdb.multi/hello.c (main): Increase alarm timer.
3772
f489207e
SL
37732019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3774
3775 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3776 factor when no hardware watchpoint support.
3777
c92df149
AH
37782019-03-28 Alan Hayward <alan.hayward@arm.com>
3779 Pedro Alves <palves@redhat.com>
3780
3781 * boards/local-board.exp: set sysroot to /.
3782
933aebfa
AH
37832019-03-27 Alan Hayward <alan.hayward@arm.com>
3784
3785 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3786 in child.
3787
9f9aa852
AB
37882019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3789
3790 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3791 field.
3792 (make_container): Initialise new field.
3793 * gdb.python/py-prettyprint.exp: Add new tests.
3794 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3795 <display_hint>: New method.
3796
3714a195
AB
37972019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3798
3799 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3800 gdb_continue_to_breakpoint more throughout this test.
3801 (run_lang_tests) Supply unique test names, and use
3802 gdb_test_no_output.
3803
18c77628
AB
38042019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3805
3806 * gdb.base/finish-pretty.exp: Update expected results.
3807 * gdb.base/pretty-print.c: New file.
3808 * gdb.base/pretty-print.exp: New file.
3809
9a93502f
PA
38102019-03-25 Pedro Alves <palves@redhat.com>
3811
3812 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3813 move comments outside list. Append '-i "" eof' section.
3814
968aa7ae
AH
38152019-03-22 Alan Hayward <alan.hayward@arm.com>
3816
34a7f2a4 3817 PR testsuite/25016
968aa7ae
AH
3818 * README: Add pie options.
3819 * gdb.base/break-interp.exp: Ensure pie is disabled.
3820 * gdb.base/dump.exp: Likewise.
3821 * lib/gdb.exp (gdb_compile): Add pie option.
3822
4c7d57e7
TT
38232019-03-19 Tom Tromey <tromey@adacore.com>
3824
3825 * gdb.mi/mi2-cli-display.c: New file.
3826 * gdb.mi/mi2-cli-display.exp: New file.
3827
bff8c71f
TT
38282019-03-18 Joel Brobecker <brobecker@adacore.com>
3829 Tom Tromey <tromey@adacore.com>
3830
3831 * gdb.ada/ptype_array/pck.adb: New file.
3832 * gdb.ada/ptype_array/pck.ads: New file.
3833 * gdb.ada/ptype_array/foo.adb: New file.
3834 * gdb.ada/ptype_array.exp: New file.
3835
d085f989
TT
38362019-03-14 Tom Tromey <tromey@adacore.com>
3837
3838 * gdb.base/style.exp: Add "set style sources" test.
3839
b4be1b06
SM
38402019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3841
3842 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3843 * mi-breakpoint-multiple-locations.exp: ... this.
3844 (make_breakpoints_pattern): New proc.
3845 (do_test): Add mi_version parameter, test -break-insert,
3846 -break-info and =breakpoint-created.
3847
7cde5fc2
AB
38482019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3849
3850 * config/default.exp: Remove 'load_lib gdb.exp'.
3851 * config/monitor.exp: Likewise.
3852 * config/sid.exp: Likewise.
3853 * config/sim.exp: Likewise.
3854 * config/slite.exp: Likewise.
3855 * config/unix.exp: Likewise.
3856 * gdb.base/default.exp: Remove unhelpful comment.
3857
efbecbc1
AB
38582019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3859
3860 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3861
0841c79a
AB
38622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3863
3864 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3865
4a270568
AB
38662019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3867
3868 * gdb.fortran/type-kinds.exp: Update expected results.
3869
067630bd
AB
38702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3871
3872 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3873
3be47f7a
AB
38742019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3875
3876 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3877 function.
3878 (test_basic_parsing_of_type_kinds): Expand types tested.
3879 (test_parsing_invalid_type_kinds): New function.
3880
4d00f5d8
AB
38812019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3882
3883 * gdb.fortran/intrinsics.exp: New file.
3884 * gdb.fortran/intrinsics.f90: New file.
3885 * gdb.fortran/type-kinds.exp: New file.
3886
c8f91604
AB
38872019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3888
3889 * gdb.fortran/dot-ops.exp: New file.
3890
dd9f2c76
AB
38912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3892
3893 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3894 Check upper and lower case logical literals.
3895
84ec9724
AB
38962019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3897
3898 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3899 Remove duplicate tests.
3900
c3734e09
AH
39012019-03-06 Alan Hayward <alan.hayward@arm.com>
3902
3903 * lib/gdb.exp (builtin_cd): rename of cd.
3904 (cd): Override builtin.
3905
aa3cfbda
RB
39062019-03-06 Richard Bunt <richard.bunt@arm.com>
3907
3908 * gdb.fortran/function-calls.exp: New file.
3909 * gdb.fortran/function-calls.f90: New test.
3910
7b63ad86
RB
39112019-03-04 Richard Bunt <richard.bunt@arm.com>
3912
3913 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3914 on user program standard output.
3915 * gdb.fortran/short-circuit-argument-list.f90: Record function
3916 calls.
3917
01abb042
AH
39182019-02-28 Alan Hayward <alan.hayward@arm.com>
3919
c3734e09
AH
3920 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3921 failure.
01abb042 3922
92137da0
RO
39232019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3924
3925 PR gdb/8527
3926 * gdb.base/interrupt-daemon-attach.c,
3927 gdb.base/interrupt-daemon-attach.exp: New test.
3928
5862844d
PA
39292019-02-27 Pedro Alves <palves@redhat.com>
3930
3931 * gdb.base/page.exp: Add tests for "set width/height -1".
3932
8ed25214
PA
39332019-02-27 Pedro Alves <palves@redhat.com>
3934
3935 * gdb.base/page.exp: Add tests for "set/show width/height" with
3936 "infinite" values.
3937
6c28e44a
TT
39382019-02-27 Tom Tromey <tromey@adacore.com>
3939
3940 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3941 2.4.
3942 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3943 workaround.
3944
bf9a735e
AB
39452019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3946
3947 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3948 tests for structs with static members.
3949
8791793c
TT
39502019-02-26 Tom Tromey <tromey@adacore.com>
3951
3952 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3953 ValueError, not TypeError.
3954
bc2a507e
KB
39552019-02-26 Kevin Buettner <kevinb@redhat.com>
3956
3957 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3958 call from main program.
3959
e0e7d3bd
JB
39602019-02-23 Joel Brobecker <brobecker@adacore.com>
3961
3962 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3963 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3964 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3965 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3966 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3967
9600246d
KS
39682019-02-22 Keith Seitz <keiths@redhat.com>
3969
3970 PR symtab/23853
3971 * gdb.base/symlink-sourcefile.c: New file.
3972 * gdb.base/symlink-sourcefile.exp: New file.
3973
0c95f9ed
TT
39742019-02-20 Tom Tromey <tom@tromey.com>
3975
3976 * gdb.base/info_qt.exp: Update.
3977
6caa91b6
SM
39782019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3979
3980 * gdb.base/source.exp: Move "error in sourced script" code to
3981 the end.
3982 * gdb.base/source-error.gdb: Move contents to
3983 source-error-1.gdb. Add new code to source source-error-1.gdb.
3984 * gdb.base/source-error-1.gdb: New file, from previous
3985 source-error.gdb.
3986
6506371f
TT
39872019-02-17 Tom Tromey <tom@tromey.com>
3988
3989 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3990 for macro styling.
3991 * gdb.base/style.c (SOME_MACRO): New macro.
3992
a0087920
TT
39932019-02-17 Tom Tromey <tom@tromey.com>
3994
3995 * gdb.base/style.exp: Add line-wrapping tests.
3996 * gdb.base/page.exp: Add test for quitting during pagination.
3997
a2cd4f14
JB
39982019-02-17 Joel Brobecker <brobecker@adacore.com>
3999
4000 * gdb.ada/big_packed_array: New testcase.
4001 * gdb.ada/homonym.exp: Fix incorrect expected output for
4002 "break <homonym__get_value>" test.
4003
9d70ffbc
WP
40042019-02-13 Weimin Pan <weimin.pan@oracle.com>
4005
4006 PR breakpoints/21870
4007 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4008 and prepare_for_testing. Add comment.
4009 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4010 redundant cleanup call. Clean up comment.
4011
01c7ae81
WP
40122019-02-12 Weimin Pan <weimin.pan@oracle.com>
4013
4014 PR breakpoints/21870
4015 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4016 * gdb.arch/aarch64-dbreg-contents.c: New file.
4017
aff29d1c
JB
40182019-02-10 Joel Brobecker <brobecker@adacore.com>
4019
4020 * gdb.ada/mi_ref_changeable: New testcase.
4021
df0da8a2
AH
40222019-02-07 Alan Hayward <alan.hayward@arm.com>
4023
4024 * gdb.base/attach.exp: Add double attach test.
4025
bd447abb
SM
40262019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4027
4028 * lib/gdb.exp (default_gdb_start): Don't match pagination
4029 prompt.
4030 (gdb_init): Set stty_init.
4031
1dbc40b9
TT
40322019-01-27 Tom Tromey <tom@tromey.com>
4033
4034 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4035 skip_python_tests.
4036
353229bf
AH
40372019-01-24 Alan Hayward <alan.hayward@arm.com>
4038
4039 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4040 New structure.
4041 (struct struct_static_02_02): Likewise.
4042 (struct struct_static_02_03): Likewise.
4043 (struct struct_static_02_04): Likewise.
4044 (struct struct_static_04_01): Likewise.
4045 (struct struct_static_04_02): Likewise.
4046 (struct struct_static_04_03): Likewise.
4047 (struct struct_static_04_04): Likewise.
4048 (struct struct_static_06_01): Likewise.
4049 (struct struct_static_06_02): Likewise.
4050 (struct struct_static_06_03): Likewise.
4051 (struct struct_static_06_04): Likewise.
4052 (cmp_struct_static_02_01): Likewise.
4053 (cmp_struct_static_02_02): Likewise.
4054 (cmp_struct_static_02_03): Likewise.
4055 (cmp_struct_static_02_04): Likewise.
4056 (cmp_struct_static_04_01): Likewise.
4057 (cmp_struct_static_04_02): Likewise.
4058 (cmp_struct_static_04_03): Likewise.
4059 (cmp_struct_static_04_04): Likewise.
4060 (cmp_struct_static_06_01): Likewise.
4061 (cmp_struct_static_06_02): Likewise.
4062 (cmp_struct_static_06_03): Likewise.
4063 (cmp_struct_static_06_04): Likewise.
4064 (call_all): Test new structs.
4065 * gdb.base/infcall-nested-structs.exp: Likewise.
4066
73021deb
AH
40672019-01-21 Alan Hayward <alan.hayward@arm.com>
4068 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4069
fc65c7db
AH
40702019-01-21 Alan Hayward <alan.hayward@arm.com>
4071 * gdb.base/stack-protector.c: New test.
4072 * gdb.base/stack-protector.exp: New file.
4073 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4074 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4075 option.
4076 (gdb_compile): Remove stack protector for GCC and prevent
4077 recursion.
4078
c24bdb02
KS
40792019-01-16 Keith Seitz <keiths@redhat.com>
4080
4081 PR gdb/23773
4082 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4083
6f072a10
PFC
40842019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4085
4086 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4087 aliases.
4088 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4089 tests.
4090 * gdb.arch/powerpc-vector-regs.c: New file.
4091 * gdb.arch/powerpc-vector-regs.exp: New file.
4092
a7b8d682
PFC
40932019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4094
4095 * gdb.arch/altivec-regs.exp: Fix the list passed to
4096 gdb_expect_list when testing "info vector".
4097
6eb6fb67
AB
40982019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4099
4100 * gdb.base/style.exp: Don't include path in testname.
4101
b56f80d8
KS
41022019-01-10 Keith Seitz <keiths@redhat.com>
4103
4104 PR gdb/23712
4105 PR symtab/23010
4106 * gdb.dwarf2/multidictionary.exp: New file.
4107
041be526
SM
41082019-01-09 Simon Marchi <simon.marchi@ericsson.com>
4109
4110 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
4111 (test_gnuv3_style_demangling): ... this.
4112 (test_lucid_style_demangling): Remove.
4113 (test_arm_style_demangling): Remove.
4114 (test_hp_style_demangling): Remove.
4115 (do_tests): Remove calls to the above.
4116
d820d0c3
AB
41172019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4118
4119 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
4120 case.
4121
f097f5ad
TT
41222019-01-06 Tom Tromey <tom@tromey.com>
4123
4124 PR gdb/28155:
4125 * gdb.dwarf2/typedef-void-finish.exp: New file.
4126
2cd8cc0b
TT
41272018-12-28 Tom Tromey <tom@tromey.com>
4128 Simon Marchi <simark@simark.ca>
4129
4130 * gdb.base/jit-exec.exp: New file.
4131 * gdb.base/jit-exec.c: New file.
4132 * gdb.base/jit-execd.c: New file.
4133
35fb8261
TT
41342018-12-28 Tom Tromey <tom@tromey.com>
4135
4136 * gdb.base/style.exp: Update test to check for address styling.
4137
47fd17cd
TT
41382018-12-28 Tom Tromey <tom@tromey.com>
4139
4140 * gdb.base/style.exp: Add test for styling of "Reading symbols"
4141 message.
4142
d47032b7
TT
41432018-12-28 Tom Tromey <tom@tromey.com>
4144
4145 * gdb.base/style.exp: Add test for version number styling.
4146
af79b68d
TT
41472018-12-28 Tom Tromey <tom@tromey.com>
4148
4149 * gdb.base/style.exp: Add test for print_address_symbolic.
4150
0bb296cb
TT
41512018-12-28 Tom Tromey <tom@tromey.com>
4152
4153 * gdb.base/style.exp: Add test for breakpoint setting.
4154
80ae2043
TT
41552018-12-28 Tom Tromey <tom@tromey.com>
4156
4157 * gdb.base/style.exp: Add test for variable names.
4158
cbe56571
TT
41592018-12-28 Tom Tromey <tom@tromey.com>
4160
4161 * gdb.base/style.exp: New file.
4162 * gdb.base/style.c: New file.
4163
9162a27c
TT
41642018-12-28 Tom Tromey <tom@tromey.com>
4165
4166 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
4167 "dumb".
4168 * gdb.base/readline.exp (operate_and_get_next): Save and restore
4169 the TERM environment variable.
4170
bc543c90
TT
41712018-12-27 Tom Tromey <tom@tromey.com>
4172
4173 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4174 pagination test.
4175
6f0ffe50
AB
41762018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4177
4178 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4179 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4180
b5a1e557
PW
41812018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4182
4183 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4184 Filename a.adb changed to bp_fun_addr.adb.
4185 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4186
6e8b1ab2
JV
41872018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4188
4189 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4190 non-PIE executables.
4191 * README: Mention the gdb,nopie_flag board setting.
4192 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4193 non-PIE executable.
4194 * gdb.arch/amd64-entry-value.exp: Likewise.
4195 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4196 * gdb.arch/i386-float.exp: Likewise.
4197 * gdb.arch/i386-signal.exp: Likewise.
4198 * gdb.mi/mi-reg-undefined.exp: Likewise.
4199
d00a27c5
PM
42002018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4201
4202 PR gdb/23974
4203 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4204
161d081c
PW
42052018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4206
4207 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4208 Update order of results accordingly.
4209
b001de23
AB
42102018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4211
4212 * gdb.base/annota1.exp: Update a test regexp.
4213
99e1a184
AB
42142018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4215
4216 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4217
7a81c1e2
PW
42182018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4219
4220 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4221 (reuse_time): Initialize to REUSE_TIME_CAP.
4222 (check_rc): New function.
4223 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4224 Check pthread_create rc.
4225 (spawner_thread_func): Check pthread_create and pthread_join rc.
4226
73e8dc90
PA
42272018-12-08 Pedro Alves <palves@redhat.com>
4228
4229 * gdb.base/list.exp (test_forward_search): Rename to ...
4230 (test_forward_reverse_search): ... this. Also test reverse-search
4231 and the forward-search alias.
4232
13f2ed32
AB
42332018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4234
4235 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4236 local timeout variable before return, and remove all local timeout
4237 variable entirely.
4238 (gdb_load): Likewise.
4239
64d27cfc
TV
42402018-12-01 Tom de Vries <tdevries@suse.de>
4241
4242 * gdb.base/gdb-caching-proc.exp: New file.
4243
f63c03b4
SDJ
42442018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4245
4246 * Makefile.in (TIMESTAMP): New variable.
4247 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4248 command.
4249 (check-single-racy): Likewise.
4250 (check/%.exp): Likewise.
4251 (check-racy/%.exp): Likewise.
4252 (workers/%.worker): Likewise.
4253 (build-perf): Likewise.
4254 (check-perf): Likewise.
4255 * README: Describe new "TS" and "TS_FORMAT" variables.
4256 * print-ts.py: New file.
4257
1c97054b
BF
42582018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4259
4260 PR python/23714
4261 * gdb.python/python.exp: Test command repetition after
4262 gdb.execute.
4263
1871a62d
AB
42642018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4265
4266 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4267 is correctly aligned.
4268
fb5e1ed9
PW
42692018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4270
4271 * gdb.ada/info_auto_lang.exp: New testcase.
4272 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4273 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4274 * gdb.ada/info_auto_lang/some_c.c: New file.
4275
43d397ca
PW
42762018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4277
4278 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4279 FUNC_lang language syntax.
4280
beddd671
PW
42812018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4282
4283 * gdb.base/info_minsym.c: New file.
4284 * gdb.base/info_minsym.exp: New file.
4285
73fc52c4
TT
42862018-11-19 Tom Tromey <tom@tromey.com>
4287
4288 PR rust/23625:
4289 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4290 * gdb.rust/expr.exp: Update expected output. Change one test.
4291
994b876a
TT
42922018-11-19 Tom Tromey <tom@tromey.com>
4293
4294 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4295
6769f276
PA
42962018-11-19 Pedro Alves <palves@redhat.com>
4297
4298 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4299 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4300 see the expected warning.
4301
38a72da0
AH
43022018-11-16 Alan Hayward <alan.hayward@arm.com>
4303
4304 PR gdb/22736:
4305 * gdb.cp/infcall-nodebug-lib.c: New test.
4306 * gdb.cp/infcall-nodebug-main.c: New test.
4307 * gdb.cp/infcall-nodebug.exp: New file.
4308
53a89d6e
SM
43092018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4310
4311 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4312 completer tests.
4313
9325300d
TV
43142018-11-09 Tom de Vries <tdevries@suse.de>
4315
4316 * gdb.base/msym-lang.c: New test.
4317 * gdb.base/msym-lang.exp: New file.
4318 * gdb.base/msym-lang-main.c: New test.
4319
20f0d60d
TT
43202018-11-08 Tom Tromey <tom@tromey.com>
4321
4322 PR gdb/23555:
4323 PR gdb/23838:
4324 * gdb.base/warning.exp: New file.
4325
b5420128
JB
43262018-11-08 Jan Beulich <jbeulich@suse.com>
4327
4328 * testsuite/gdb.arch/i386-avx512.c,
4329 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4330
cd115d61
AB
43312018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4332
4333 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4334 point hardware.
4335
35ee2dc2
AB
43362018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4337
4338 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4339 * gdb.dwarf2/missing-type-name.exp: New file.
4340
31aceee8
TV
43412018-11-06 Tom de Vries <tdevries@suse.de>
4342
4343 * gdb.base/many-headers.c: New test.
4344 * gdb.base/many-headers.exp: New file.
4345
109be305
JW
43462018-11-06 Jim Wilson <jimw@sifive.com>
4347
4348 * gdb.base/code_elim.exp: For riscv, set additional_flags
4349 to include -msmall-data-limit=0.
4350
e2b7af72
JB
43512018-11-01 Joel Brobecker <brobecker@adacore.com>
4352
4353 * gdb.ada/watch_minus_l: New testcase.
4354
cdcda965
SM
43552018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4356
4357 * gdb.arch/aix-sighandle.c: New file.
4358 * gdb.arch/aix-sighandle.exp: New file.
4359
92dcebf3
AB
43602018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4361
4362 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4363 registers being unions.
4364
68b9ac18
TV
43652018-10-31 Tom de Vries <tdevries@suse.de>
4366
4367 * lib/valgrind.exp: New file.
4368 (vgdb_start, vgdb_stop): New procs, factored out of ...
4369 * gdb.base/valgrind-bt.exp: ... here, ...
4370 * gdb.base/valgrind-disp-step.exp: ... here and ...
4371 * gdb.base/valgrind-infcall.exp: ... here.
4372
1443936e
TV
43732018-10-31 Tom de Vries <tdevries@suse.de>
4374
4375 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4376
eb77c9df
AB
43772018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4378
4379 * gdb.dwarf2/void-type.c: New file.
4380 * gdb.dwarf2/void-type.exp: New file.
4381
82b5e646
PW
43822018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4383
4384 * gdb.base/info_qt.c: New file.
4385 * gdb.base/info_qt.exp: New file.
4386
8d619c01
EBM
43872018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4388
4389 * gdb.arch/powerpc-htm-regs.c: New file.
4390 * gdb.arch/powerpc-htm-regs.exp: New file.
4391
f2cf6173
EBM
43922018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4393
4394 * gdb.arch/powerpc-tar.c: New file.
4395 * gdb.arch/powerpc-tar.exp: New file.
4396
7ca18ed6
EBM
43972018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4398
4399 * gdb.arch/powerpc-ppr-dscr.c: New file.
4400 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4401
bfcc0eba
TV
44022018-10-25 Tom de Vries <tdevries@suse.de>
4403
4404 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4405
fe1a5cad
TV
44062018-10-24 Tom de Vries <tdevries@suse.de>
4407
4408 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4409 longer exists error.
4410
a76dc3b7
TV
44112018-10-24 Tom de Vries <tdevries@suse.de>
4412
4413 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4414
4df46df7
TV
44152018-10-24 Tom de Vries <tdevries@suse.de>
4416
4417 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4418 --db-attach in valgrind.
4419
0dbfcfff
AB
44202018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4421
4422 * gdb.arch/riscv-reg-aliases.c: New file.
4423 * gdb.arch/riscv-reg-aliases.exp: New file.
4424
b04480b1
AH
44252018-10-19 Alan Hayward <alan.hayward@arm.com>
4426
4427 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4428
2c6ac8d7
AH
44292018-10-19 Alan Hayward <alan.hayward@arm.com>
4430
4431 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4432
2bc69f25
AH
44332018-10-19 Alan Hayward <alan.hayward@arm.com>
4434
4435 * gdb.cp/ovldbreak.exp: Fix regexps.
4436
1f1ae3a3
AH
44372018-10-19 Alan Hayward <alan.hayward@arm.com>
4438
4439 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4440
94c18618
SDJ
44412018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4442
4443 PR cli/23785
4444 * gdb.base/restore.exp: New test to check if "restore" with an
4445 invalid file doesn't segfault.
4446
812cd6eb
TV
44472018-10-18 Tom de Vries <tdevries@suse.de>
4448
4449 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4450 * gdb.ada/excep_handle.exp: Same.
4451 * gdb.ada/mi_string_access.exp: Same.
4452 * gdb.ada/mi_var_union.exp: Same.
4453 * gdb.arch/arc-analyze-prologue.exp: Same.
4454 * gdb.arch/arc-decode-insn.exp: Same.
4455 * gdb.base/readnever.exp: Same.
4456 * gdb.fortran/printing-types.exp: Same.
4457 * gdb.guile/scm-lazy-string.exp: Same.
4458
c4b90788
TV
44592018-10-16 Tom de Vries <tdevries@suse.de>
4460
4461 PR gdb/23730
4462 * gdb.base/catch-follow-exec.c: Add copyright notice.
4463 * gdb.base/catch-follow-exec.exp: Rewrite to use
4464 gdb_spawn_with_cmdline_opts. Require gdb-native.
4465
8bca2978
SL
44662018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4467
4468 * gdb.trace/actions-changed.exp: Check for arch support.
4469 * gdb.trace/actions.exp: Likewise.
4470 * gdb.trace/ax.exp: Likewise.
4471 * gdb.trace/backtrace.exp: Likewise.
4472 * gdb.trace/change-loc.exp: Likewise.
4473 * gdb.trace/deltrace.exp: Likewise.
4474 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4475 * gdb.trace/ftrace.exp: Likewise.
4476 * gdb.trace/infotrace.exp: Check for arch support.
4477 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4478 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4479 * gdb.trace/mi-tsv-changed.exp: Likewise.
4480 * gdb.trace/packetlen.exp: Likewise.
4481 * gdb.trace/passc-dyn.exp: Likewise.
4482 * gdb.trace/passcount.exp: Likewise.
4483 * gdb.trace/pending.exp: Likewise.
4484 * gdb.trace/range-stepping.exp: Check for shlib support.
4485 * gdb.trace/report.exp: Check for arch support.
4486 * gdb.trace/save-trace.exp: Likewise.
4487 * gdb.trace/signal.exp: Check for signal support.
4488 * gdb.trace/tfind.exp: Check for arch support.
4489 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4490 * gdb.trace/trace-common.h: Add comment.
4491 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4492 * gdb.trace/trace-enable-disable.exp: Likewise.
4493 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4494 * gdb.trace/tracecmd.exp: Check for arch support.
4495 * gdb.trace/tspeed.exp: Check for shlib and target support.
4496 * gdb.trace/tstatus.exp: Check for arch support.
4497 * gdb.trace/tsv.exp: Likewise.
4498 * gdb.trace/while-dyn.exp: Likewise.
4499 * gdb.trace/while-stepping.exp: Likewise.
4500 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4501
f9c49bff
SM
45022018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4503
4504 * gdb.trace/tspeed.exp: Remove nowarnings.
4505 (prepare_for_trace_test): Declare "global ipalib".
4506 * gdb.trace/tspeed.c: Include unistd.h.
4507 (main): Remove superfluous printf argument.
4508
d4330bde
SL
45092018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4510
4511 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4512 directory prefix on the filename.
4513
8ecfd7bd
SDJ
45142018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4515
4516 * gdb.gdb/unittest.exp: Update expected message informing that
4517 selftests have been disabled.
4518 * gdb.server/unittest.exp: Likewise.
4519
58bbcd02
TV
45202018-10-09 Tom de Vries <tdevries@suse.de>
4521
4522 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4523 with runto_main.
4524
9f6b697b
WP
45252018-10-08 Weimin Pan <weimin.pan@oracle.com>
4526
4527 PR c++/16841
4528 * gdb.cp/virtbase2.cc: New file.
4529 * gdb.cp/virtbase2.exp: New file.
4530
add5ded5
TT
45312018-10-06 Tom Tromey <tom@tromey.com>
4532
4533 PR python/19399:
4534 * gdb.python/py-inferior.exp: Add architecture test.
4535
f9e48344
TT
45362018-10-06 Tom Tromey <tom@tromey.com>
4537
4538 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4539 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4540
2a8be203
TT
45412018-10-06 Tom Tromey <tom@tromey.com>
4542
4543 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4544 of a "throw" catchpoint.
4545
e04caa70
SDJ
45462018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4547
4548 * gdb.base/info-proc.exp: Update string expected from "help info
4549 proc".
4550
5ca8c39f
TT
45512018-10-04 Tom Tromey <tom@tromey.com>
4552
4553 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4554 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4555 (test_initial_complaints, test_empty_complaints): Update.
4556 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4557
3453e7e4
TT
45582018-10-04 Tom Tromey <tom@tromey.com>
4559
4560 PR cli/19551:
4561 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4562 * lib/gdb.exp (gdb_file_cmd): Update.
4563 * gdb.stabs/weird.exp (print_weird_var): Update.
4564 * gdb.server/solib-list.exp: Update.
4565 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4566 * gdb.mi/mi-cli.exp: Update.
4567 * gdb.linespec/linespec.exp: Update.
4568 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4569 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4570 * gdb.cp/cp-relocate.exp: Update.
4571 * gdb.base/sym-file.exp: Update.
4572 * gdb.base/relocate.exp: Update.
4573 * gdb.base/readnever.exp: Update.
4574 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4575 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4576 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4577 * gdb.base/code_elim.exp: Update.
4578 * gdb.base/break-unload-file.exp (test_break): Update.
4579 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4580 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4581 Update.
4582 * gdb.base/attach.exp (do_attach_tests): Update.
4583 * gdb.base/sepdebug.exp: Update.
4584 * gdb.python/py-section-script.exp: Update.
4585
6afcf761
TT
45862018-10-04 Tom Tromey <tom@tromey.com>
4587
4588 PR cli/22234:
4589 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4590 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4591 output.
4592
fef1b293
TT
45932018-10-04 Tom Tromey <tom@tromey.com>
4594
4595 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4596 set width and height to 0.
4597 (test_command_line_attach_run): Use -quiet.
4598
ca98345e
SL
45992018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4600
4601 * lib/gdb.exp (skip_ifunc_tests): New.
4602 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4603 other compile failures.
4604 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4605
ff34e6ae
SM
46062018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4607
4608 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4609 is_amd64_regs_target.
4610
6bb8890e
AH
46112018-10-01 Alan Hayward <alan.hayward@arm.com>
4612
4613 * gdb.arch/aarch64-sighandler-regs.c: New test.
4614 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4615 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4616
224d30d3
MM
46172018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4618
4619 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4620 assembly.
4621
f67ffa6a
AB
46222018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4623
4624 * gdb.base/frame-selection.exp: New file.
4625 * gdb.base/frame-selection.c: New file.
4626
9fc3183f
AH
46272018-09-27 Alan Hayward <alan.hayward@arm.com>
4628
4629 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4630 pthread barrier.
4631 (main): Likewise.
4632
d354055e
AB
46332018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4634
4635 * gdb.base/large-frame-1.c: New file.
4636 * gdb.base/large-frame-2.c: New file.
4637 * gdb.base/large-frame.exp: New file.
4638 * gdb.base/large-frame.h: New file.
4639
db727370
JL
46402018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4641
4642 PR gdb/20948
4643 * gdb.base/write_mem.exp: New test.
4644 * gdb.base/write_mem.c: Likewise.
4645
ae778caf
TT
46462018-09-23 Tom Tromey <tom@tromey.com>
4647
4648 PR python/18852:
4649 * gdb.python/py-parameter.exp: Add test for parameter that throws
4650 on "set".
4651
fd3ba736
TT
46522018-09-23 Tom Tromey <tom@tromey.com>
4653
4654 PR python/17284:
4655 * gdb.python/py-template.exp (test_template_arg): Add test for
4656 negative template argument number.
4657
39a24317
TT
46582018-09-23 Tom Tromey <tom@tromey.com>
4659
4660 PR python/14062:
4661 * gdb.python/python.exp: Add test for post_event error.
4662
f5769a2c
TT
46632018-09-23 Tom Tromey <tom@tromey.com>
4664
4665 PR python/18170:
4666 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4667 convert pointers to int and long.
4668
1c1e54f6
TT
46692018-09-23 Tom Tromey <tom@tromey.com>
4670
4671 PR python/20126:
4672 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4673 signed-ness conversion tests.
4674
fb4fa946
TT
46752018-09-23 Tom Tromey <tom@tromey.com>
4676
4677 PR python/18352;
4678 * gdb.python/py-value.exp (test_float_conversion): New proc.
4679 Use it.
4680
a466edac
HAQ
46812018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4682
4683 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4684
4ee9b0c5
SL
46852018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4686
4687 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4688 no readline.
4689 * gdb.base/utf8-identifiers.exp: Likewise.
4690 * gdb.cp/cpcompletion.exp: Likewise.
4691 * gdb.linespec/cpcompletion.exp: Likewise.
4692 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4693 * gdb.linespec/cpls-ops.exp: Likewise.
4694
23be8da7
RB
46952018-09-19 Richard Bunt <richard.bunt@arm.com>
4696 Chris January <chris.january@arm.com>
4697
4698 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4699 * gdb.fortran/short-circuit-argument-list.exp: New file.
4700 * gdb.fortran/short-circuit-argument-list.f90: New test.
4701
5031d0ae
SDJ
47022018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4703
4704 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4705 "arch=" keyword when executing "-stack-list-frames".
4706
b4c0d1a4
SDJ
47072018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4708
4709 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4710 "arch=" keyword when executing "-stack-list-frames".
4711
7a6d2b45
SDJ
47122018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4713
4714 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4715 break ada".
4716
8588b356
SM
47172018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4718
4719 PR python/23669
4720 * gdb.python/python.exp: Test gdb.execute("show commands").
4721
65e65158
TT
47222018-09-16 Tom Tromey <tom@tromey.com>
4723
4724 * gdb.base/new-ui.exp (do_execution_tests): Update.
4725 * gdb.base/dbx.exp (test_breakpoints): Update.
4726
bf326452
AH
47272018-09-14 Alan Hayward <alan.hayward@arm.com>
4728
4729 * lib/gdb.exp (gdb_simple_compile): Add proc.
4730 (is_elf_target): Use gdb_simple_compile.
4731 (skip_altivec_tests): Likewise.
4732 (skip_vsx_tests): Likewise.
4733 (skip_tsx_tests): Likewise.
4734 (skip_btrace_tests): Likewise.
4735 (skip_btrace_pt_tests): Likewise.
4736 (gdb_can_simple_compile): Likewise.
4737 (gdb_has_argv0): Likewise.
4738 (gdb_target_symbol_prefix): Likewise.
4739 (target_supports_scheduler_locking): Likewise.
4740
2361b0fb
TT
47412018-09-13 Tom Tromey <tom@tromey.com>
4742
4743 * Makefile.in (TAGS): Recognize proc_with_prefix and
4744 gdb_caching_proc.
4745
0ae1a321
SM
47462018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4747
4748 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4749 method.
4750
a40bf0c2
SM
47512018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4752
4753 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4754 and a few other Inferior properties when the Inferior is no
4755 longer valid.
4756
4a3fe98f
TT
47572018-09-13 Tom Tromey <tom@tromey.com>
4758
4759 PR rust/23650:
4760 * gdb.rust/simple.exp: Add test for enum field access error.
4761
098b2108
TT
47622018-09-13 Tom Tromey <tom@tromey.com>
4763
4764 PR rust/23626:
4765 * gdb.rust/simple.rs (EmptyEnum): New type.
4766 (main): Use it.
4767 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4768
1256af7d
SM
47692018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4770
4771 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4772 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4773 * gdb.python/py-symtab.exp: Update test printing an objfile.
4774
4aa8e6c2
SM
47752018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4776
4777 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4778 object.
4779
c221b2f7
AH
47802018-09-12 Alan Hayward <alan.hayward@arm.com>
4781
4782 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4783 (support_complex_tests): Use gdb_can_simple_compile.
4784 (is_ilp32_target): Likewise.
4785 (is_lp64_target): Likewise.
4786 (is_64_target): Likewise.
4787 (is_amd64_regs_target): Likewise.
4788 (is_aarch32_target): Likewise.
4789 (gdb_int128_helper): Likewise.
4790
6f1107b5
JK
47912018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4792
4793 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4794
1f5d1570
JG
47952018-09-10 Jerome Guitton <guitton@adacore.com>
4796
4797 * gdb.ada/same_component_name: Add test for case of tagged record
4798 with variable-length fields.
4799
cc330e39
XR
48002018-09-10 Xavier Roirand <roirand@adacore.com>
4801
4802 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4803 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4804 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4805 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4806
b9c50e9a
XR
48072018-09-10 Xavier Roirand <roirand@adacore.com>
4808
4809 * gdb.ada/mi_string_access.exp: New testcase.
4810 * gdb.ada/mi_string_access/bar.adb: New file.
4811 * gdb.ada/mi_string_access/pck.adb: New file.
4812 * gdb.ada/mi_string_access/pck.asd: New file.
4813
2963898f
XR
48142018-09-10 Xavier Roirand <roirand@adacore.com>
4815
4816 * gdb.ada/mi_var_union.exp: New testcase.
4817 * gdb.ada/mi_var_union/bar.adb: New file.
4818 * gdb.ada/mi_var_union/pck.adb: New file.
4819 * gdb.ada/mi_var_union/pck.asd: New file.
4820
1aac008f
TT
48212018-09-08 Tom Tromey <tom@tromey.com>
4822
4823 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4824
332cf4c9
TT
48252018-09-08 Tom Tromey <tom@tromey.com>
4826
4827 PR python/16047:
4828 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4829 (register_pretty_printers): Register new printer.
4830 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4831 test.
4832 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4833 (an_int_type3): New global.
4834
424da6cf
JB
48352018-09-08 Joel Brobecker <brobecker@adacore.com>
4836
4837 * gdb.ada/expr_with_funcall: New testcase.
4838
2a62dfa9
JB
48392018-09-08 Joel Brobecker <brobecker@adacore.com>
4840
4841 * gdb.ada/packed_array_assign: New testcase.
4842
96b6697f
AB
48432018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4844
4845 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4846 names, and add test prefixes to make test names unique.
4847
e4a62c65
TV
48482018-09-05 Tom de Vries <tdevries@suse.de>
4849
4850 * gdb.dwarf2/varval.exp: Add test.
4851
dd083ee2
GB
48522018-09-04 Gary Benson <gbenson@redhat.com>
4853
4854 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4855 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4856
aef9346c
TT
48572018-08-31 Tom Tromey <tom@tromey.com>
4858
4859 * gdb.rust/simple.rs: Rename second variable "v".
4860
c67f2e15
AB
48612018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4862
4863 * gdb.base/funcargs.c (use_a): New function.
4864 (recurse): Call use_a.
4865
078a0207
KS
48662018-08-29 Keith Seitz <keiths@redhat.com>
4867
4868 * gdb.compile/compile-cplus-anonymous.cc: New file.
4869 * gdb.compile/compile-cplus-anonymous.exp: New file.
4870 * gdb.compile/compile-cplus-array-decay.cc: New file.
4871 * gdb.compile/compile-cplus-array-decay.exp: New file.
4872 * gdb.compile/compile-cplus-inherit.cc: New file.
4873 * gdb.compile/compile-cplus-inherit.exp: New file.
4874 * gdb.compile/compile-cplus-member.cc: New file.
4875 * gdb.compile/compile-cplus-member.exp: New file.
4876 * gdb.compile/compile-cplus-method.cc: New file.
4877 * gdb.compile/compile-cplus-method.exp: New file.
4878 * gdb.compile/compile-cplus-mod.c: "New" file.
4879 * gdb.compile/compile-cplus-namespace.cc: New file.
4880 * gdb.compile/compile-cplus-namespace.exp: New file.
4881 * gdb.compile/compile-cplus-nested.cc: New file.
4882 * gdb.compile/compile-cplus-nested.exp: New file.
4883 * gdb.compile/compile-cplus-print.c: "New" file.
4884 * gdb.compile/compile-cplus-print.exp: "New" file.
4885 * gdb.compile/compile-cplus-virtual.cc: New file.
4886 * gdb.compile/compile-cplus-virtual.exp: New file.
4887 * gdb.compile/compile-cplus.c: "New" file.
4888 * gdb.compile/compile-cplus.exp: "New" file.
4889 * lib/compile-support.exp: New file.
4890
b0f492b9
GB
48912018-08-16 Gary Benson <gbenson@redhat.com>
4892
4893 PR gdb/13000:
4894 * gdb.base/batch-exit-status.exp: New file.
4895 * gdb.base/batch-exit-status.good-commands: Likewise.
4896 * gdb.base/batch-exit-status.bad-commands: Likewise.
4897
36eb4c5f
AH
48982018-08-29 Alan Hayward <alan.hayward@arm.com>
4899
4900 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4901 (struct struct02): Likewise.
4902 (struct struct03): Likewise.
4903 (struct struct04): Likewise.
4904 (struct struct_01_01): New struct.
4905 (struct struct_01_02): Likewise.
4906 (struct struct_01_03): Likewise.
4907 (struct struct_01_04): Likewise.
4908 (struct struct_02_01): Likewise.
4909 (struct struct_02_02): Likewise.
4910 (struct struct_02_03): Likewise.
4911 (struct struct_02_04): Likewise.
4912 (struct struct_04_01): Likewise.
4913 (struct struct_04_02): Likewise.
4914 (struct struct_04_03): Likewise.
4915 (struct struct_04_04): Likewise.
4916 (struct struct_05_01): Likewise.
4917 (struct struct_05_02): Likewise.
4918 (struct struct_05_03): Likewise.
4919 (struct struct_05_04): Likewise.
4920 (cmp_struct01): Remove function.
4921 (cmp_struct02): Likewise.
4922 (cmp_struct03): Likewise.
4923 (cmp_struct04): Likewise.
4924 (cmp_struct_01_01): Add Function.
4925 (cmp_struct_01_02): Likewise.
4926 (cmp_struct_01_03): Likewise.
4927 (cmp_struct_01_04): Likewise.
4928 (cmp_struct_02_01): Likewise.
4929 (cmp_struct_02_02): Likewise.
4930 (cmp_struct_02_03): Likewise.
4931 (cmp_struct_02_04): Likewise.
4932 (cmp_struct_04_01): Likewise.
4933 (cmp_struct_04_02): Likewise.
4934 (cmp_struct_04_03): Likewise.
4935 (cmp_struct_04_04): Likewise.
4936 (cmp_struct_05_01): Likewise.
4937 (cmp_struct_05_02): Likewise.
4938 (cmp_struct_05_03): Likewise.
4939 (cmp_struct_05_04): Likewise.
4940 (call_all): Add new structs.
4941 * gdb.base/infcall-nested-structs.exp: Likewise.
4942
3bf9c013
JV
49432018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4944
4945 * gdb.python/py-framefilter-mi.exp: Update regexp to
4946 check for "arch" field in frame output.
4947
450d1e88
KB
49482018-08-23 Kevin Buettner <kevinb@redhat.com>
4949
4950 * gdb.dwarf2/dw2-ranges-func.c: New file.
4951 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4952
ae739fe7
SM
49532018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4954
4955 * gdb.base/term.exp: Compare terminal settings with values from
4956 the inferior.
4957 * gdb.base/term.c: Get and set terminal settings.
4958
6d52907e
JV
49592018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4960
4961 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4962 accommodate new "arch" field in frame output.
4963 * gdb.mi/mi-return.exp: Likewise.
4964 * gdb.mi/mi-stack.exp: Likewise.
4965 * gdb.mi/mi-syn-frame.exp: Likewise.
4966 * gdb.mi/user-selected-context-sync.exp: Likewise.
4967
be2d111a
MS
49682018-08-19 Michael Spang <spang@google.com>
4969
4970 PR gdb/11786
4971 * gdb.base/gcore-tls-pie.c: New file.
4972 * gdb.base/gcore-tls-pie.exp: New file.
4973
ae3a7c47
KB
49742018-08-18 Kevin Buettner <kevinb@redhat.com>
4975
4976 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4977 * gdb.dwarf2/varval.c: New file.
4978 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4979
2ecae92e
AH
49802018-08-17 Alan Hayward <alan.hayward@arm.com>
4981
4982 PR gdb/18931
4983 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4984
c1854f1d
KS
49852018-08-16 Keith Seitz <keiths@redhat.com>
4986
4987 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4988 tests expected to pass.
4989
26fb3983
JV
49902018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4991
4992 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4993 -data-disassemble -a.
4994 (test_disassembly_bogus_args): Likewise.
4995
67943c00
AB
49962018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4997
4998 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4999
5ff2bbae
AB
50002018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5001
5002 * gdb.base/vla-optimized-out.exp: Add new test.
5003
e5bbcd0f
AB
50042018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5005
5006 * gdb.base/vla-optimized-out-o3.exp: Delete.
5007 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5008 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5009 deleted tests.
5010
9d4a934c
AB
50112018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5012
5013 PR gdb/18050:
5014 * gdb.server/extended-remote-restart.c: New file.
5015 * gdb.server/extended-remote-restart.exp: New file.
5016
045cf012
SM
50172018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5018
5019 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5020 "set variable index = 42".
5021
87d6a7aa
SM
50222018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5023
5024 * boards/index-cache-gdb.exp: New file.
5025 * gdb.dwarf2/index-cache.exp: New file.
5026 * gdb.dwarf2/index-cache.c: New file.
5027 * gdb.base/maint.exp: Check if we are using the index cache.
5028
96d68bd4
RO
50292018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5030
5031 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5032 MAKEFLAGS.
5033
5a699617
RO
50342018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5035
5036 * dg-extract-results.sh: Move to toplevel contrib.
5037 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5038 * Makefile.in (check-parallel-racy): Likewise.
5039
5bd18990
AB
50402018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5041
5042 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5043 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5044 tests if the target supports scheduler locking.
5045
3fbbcf47
TV
50462018-08-04 Tom de Vries <tdevries@suse.de>
5047
5048 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5049
3e1d3d8c
TT
50502018-08-02 Tom Tromey <tom@tromey.com>
5051
5052 PR symtab/16842.
5053 * gdb.cp/temargs.exp: Test "info address" of a template
5054 parameter.
5055
5abe0f0c
JV
50562018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5057
5058 * gdb.python/py-mi-var-info-path-expression.c: New file.
5059 * gdb.python/py-mi-var-info-path-expression.py: New file.
5060 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5061
fb66cde8
SDJ
50622018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5063
5064 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5065 error after "cannot resolve name" string.
5066
c708f4d2
AB
50672018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5068
5069 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5070 started.
5071 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5072
37cc0cae
TV
50732018-07-28 Tom de Vries <tdevries@suse.de>
5074
5075 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5076
63b4ecf7
TV
50772018-07-26 Tom de Vries <tdevries@suse.de>
5078
5079 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5080
3c3bb058
AB
50812018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5082
5083 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5084 is visible.
5085
9e7f3bbb
TV
50862018-07-26 Tom de Vries <tdevries@suse.de>
5087
5088 PR breakpoints/23366
5089 * gdb.base/catch-follow-exec.c: New test.
5090 * gdb.base/catch-follow-exec.exp: New file.
5091
16f808ec
TV
50922018-07-25 Tom de Vries <tdevries@suse.de>
5093
5094 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5095 vla-optimized-out.c.
5096
d7154a8d
JV
50972018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5098
5099 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5100 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5101
232a0032
TV
51022018-07-20 Tom de Vries <tdevries@suse.de>
5103
5104 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5105 NOCLONE macro.
5106 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5107
fbb1d502
TV
51082018-07-19 Tom de Vries <tdevries@suse.de>
5109
5110 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
5111 regular expression.
5112
42dc7699
TV
51132018-07-18 Tom de Vries <tdevries@suse.de>
5114
5115 * gdb.base/vla-optimized-out.c: New test.
5116 * gdb.base/vla-optimized-out.exp: New file.
5117
7f1f7e23
SDJ
51182018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
5119
5120 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
5121 message "No address associated with hostname" when gdbserver
5122 cannot resolve the hostname.
5123
5759ebb3
PW
51242018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5125
5126 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
5127 Add some test prefixes to make tests unique.
5128
3606ccab
PW
51292018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5130
5131 * gdb.base/frameapply.c: New file.
5132 * gdb.base/frameapply.exp: New file.
5133
529c08b2
PW
51342018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5135
5136 * gdb.base/skip.exp: Update expected error message.
5137
c7ab0aef
SDJ
51382018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5139 Jan Kratochvil <jan.kratochvil@redhat.com>
5140 Paul Fertser <fercerpav@gmail.com>
5141 Tsutomu Seki <sekiriki@gmail.com>
5142
5143 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
5144 parameter.
5145 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
5146 by default.
5147 * boards/native-gdbserver.exp: Likewise.
5148 * gdb.server/run-without-local-binary.exp: Improve regexp used
5149 for detecting when a remote debugging connection succeeds.
5150 * gdb.server/server-connect.exp: New file.
5151 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
5152 Do not prefix the port number with ":".
5153 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
5154 support for detecting and using it. Add '$debughost_gdbserver'
5155 to the list of arguments used to start gdbserver. Handle case
5156 when gdbserver cannot resolve a network name.
5157
16ff70dd
SDJ
51582018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5159
5160 PR c++/23373
5161 * gdb.base/ptype-offsets.cc (struct static_member): New
5162 struct.
5163 (main) <stmember>: New variable.
5164 * gdb.base/ptype-offsets.exp: Add test for printing a struct
5165 with a static member in it.
5166
3541979f
AB
51672018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
5168
5169 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
5170 watchpoints enabled and disabled.
5171
c8ad9b9a
AB
51722018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5173
5174 * gdb.base/examine-backward.exp: Still run tests around address
5175 0x0, even if address 0x0 is not readable. Update the pattern for
5176 matching address 0x0 in expected output.
5177
e0e5e971
AB
51782018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5179
5180 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5181 malloc/free.
5182
1ea5da02
TV
51832018-07-04 Tom de Vries <tdevries@suse.de>
5184
5185 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5186
471b9d15
MR
51872018-07-02 Maciej W. Rozycki <macro@mips.com>
5188
5189 PR tdep/8282
5190 * gdb.arch/mips-disassembler-options.exp: New test.
5191 * gdb.arch/mips-disassembler-options.s: New test source.
5192
75acb486
PA
51932018-06-29 Pedro Alves <palves@redhat.com>
5194
5195 * gdb.threads/names.exp: Adjust expected "info threads" output.
5196
cd2bb709
PA
51972018-06-29 Pedro Alves <palves@redhat.com>
5198
5199 * gdb.opt/inline-break.exp (line number, address): Add "info
5200 break" tests.
5201
991ff292
PA
52022018-06-29 Pedro Alves <palves@redhat.com>
5203
5204 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5205 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5206 number and address and running to them.
5207
356819b6 52082018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
5209
5210 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5211
2512d7ef
JK
52122018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5213
5214 * lib/compiler.c: Remove executable permission flag.
5215
be1b6474
RB
52162018-06-28 Richard Bunt <richard.bunt@arm.com>
5217
5218 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5219 code.
5220 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5221
291f9a96
PT
52222018-06-28 Petr Tesarik <ptesarik@suse.cz>
5223
5224 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5225
ed6dfe51
PT
52262018-06-28 Petr Tesarik <ptesarik@suse.cz>
5227
5228 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5229 address argument is omitted.
5230
d4d429d5
PT
52312018-06-28 Petr Tesarik <ptesarik@suse.cz>
5232
5233 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5234
7ab6656f
OJ
52352018-06-27 Omair Javaid <omair.javaid@linaro.org>
5236
5237 PR gdb/21695
5238 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5239 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5240
a33ccfc7
TT
52412018-06-26 Tom Tromey <tom@tromey.com>
5242
5243 PR rust/22574:
5244 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5245 * gdb.rust/simple.rs (struct SimpleLayout): New.
5246
6d72d289
SM
52472018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5248
5249 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5250 "info registers" output.
5251
8363f9d5
RB
52522018-06-21 Richard Bunt <richard.bunt@arm.com>
5253
5254 * gdb.base/watchpoint-hw-attach.c: New test.
5255 * gdb.base/watchpoint-hw-attach.exp: New file.
5256
f00674fe
SM
52572018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5258
5259 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5260 through /bin/sh.
5261 * boards/dwarf4-gdb-index.exp: Likewise.
5262 * boards/fission-dwp.exp: Likewise.
5263
1d554008
UW
52642018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5265
5266 * gdb.base/float128.exp: Add comment and improved fail message
5267 to the failure case of "print large128" test.
5268
d0ac1c44
SM
52692018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5270
5271 * configure.ac: Remove AC_PREREQ.
5272 * configure: Re-generate.
5273
61b04dd0
PA
52742018-06-19 Pedro Alves <palves@redhat.com>
5275
5276 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5277 (func_extern_caller): New.
5278 (main): Call func_extern_caller.
5279 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5280 logic change.
5281
f63b508a
SM
52822018-06-18 Weimin Pan <weimin.pan@oracle.com>
5283
5284 PR gdb/16841
5285 * gdb.cp/typedef-base.cc: New file.
5286 * gdb.cp/typedef-base.exp: New file.
5287
0fe3a558
TV
52882018-06-18 Tom de Vries <tdevries@suse.de>
5289
5290 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5291
7010835a
AB
52922018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5293 Richard Bunt <Richard.Bunt@arm.com>
5294
5295 * gdb.threads/attach-slow-waitpid.c: New file.
5296 * gdb.threads/attach-slow-waitpid.exp: New file.
5297 * gdb.threads/slow-waitpid.c: New file.
5298
14897d65
PA
52992018-06-14 Pedro Alves <palves@redhat.com>
5300
5301 * gdb.base/fork-running-state.c: Include <errno.h>.
5302 (exit_if_relative_exits): New.
5303 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5304 exits.
5305 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5306 child exits.
5307
5d9a0608
TV
53082018-06-14 Tom de Vries <tdevries@suse.de>
5309
5310 PR cli/22573
5311 * gdb.base/finish-pretty.c: New test.
5312 * gdb.base/finish-pretty.exp: New file.
5313
11ae5818
PA
53142018-06-14 Pedro Alves <palves@redhat.com>
5315
5316 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5317 gdb's expected startup output.
5318
1d39de44
PA
53192018-06-14 Pedro Alves <palves@redhat.com>
5320
5321 * lib/selftest-support.exp (selftest_setup): Remove inlined
5322 function handling.
5323
70ee0000
TV
53242018-06-14 Tom de Vries <tdevries@suse.de>
5325
5326 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5327 matching of breakpoint printing.
5328
11f4b608
TV
53292018-06-13 Tom de Vries <tdevries@suse.de>
5330
5331 PR testsuite/23269
5332 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5333 (fork_child): ... here, and ...
5334 (fork_parent): ... here.
5335
53362018-06-12 Tom de Vries <tdevries@suse.de>
5337
5338 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5339
9516f85a
AB
53402018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5341 Stephen Roberts <stephen.roberts@arm.com>
5342
5343 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5344 rewrite test to describe action performed, rather than possible
5345 failure.
5346
5045b3d7
GB
53472018-06-08 Gary Benson <gbenson@redhat.com>
5348
5349 * gdb.threads/check-libthread-db.exp: New file.
5350 * gdb.threads/check-libthread-db.c: Likewise.
5351
c61b06a1
TT
53522018-06-05 Tom Tromey <tom@tromey.com>
5353
5354 * gdb.base/default.exp: Update expected "show version" output.
5355
eb6af809
TT
53562018-06-05 Tom Tromey <tom@tromey.com>
5357
5358 PR cli/12326:
5359 * gdb.cp/static-print-quit.exp: Update.
5360 * lib/gdb.exp (pagination_prompt): Update.
5361 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5362 * gdb.python/python.exp: Update.
5363
178d6a63
JB
53642018-06-04 Joel Brobecker <brobecker@adacore.com>
5365
5366 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5367
8e817061
JB
53682018-06-01 Joel Brobecker <brobecker@adacore.com>
5369
5370 * gdb.ada/bp_fun_addr: New testcase.
5371
e86ca25f
TT
53722018-06-01 Tom Tromey <tom@tromey.com>
5373
5374 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5375 results.
5376 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5377 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5378 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5379 * gdb.base/maint.exp (maint_pass_if): Update.
5380
4b2dfa9d
MR
53812018-05-31 Maciej W. Rozycki <macro@mips.com>
5382
5383 * gdb.base/endian.exp: New test.
5384 * gdb.base/endian.c: New test source.
5385
45f25d6c
AB
53862018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5387
5388 PR gdb/23203
5389 * gdb.base/bt-selected-frame.c: New file.
5390 * gdb.base/bt-selected-frame.exp: New file.
5391 * lib/gdb.exp (get_current_frame_number): New function.
5392
d9f6d7f8
MR
53932018-05-24 Maciej W. Rozycki <macro@mips.com>
5394 Pedro Alves <palves@redhat.com>
5395
5396 * gdb.threads/tls-core.c: Include <stdlib.h>
5397 (thread_proc): Call `abort'.
5398 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5399 (tls_core_test): New procedure, bits factored out from ...
5400 (top level): ... here. Test both native cores and gcore cores.
5401
ff1cf532
TT
54022018-05-23 Tom Tromey <tom@tromey.com>
5403
5404 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5405
b98664d3
TT
54062018-05-23 Tom Tromey <tom@tromey.com>
5407
5408 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5409 symfile_complaints.
5410 (test_short_complaints): Likewise.
5411 (test_empty_complaints): Likewise.
5412 (test_initial_complaints): Update.
5413
4e9668d0
TT
54142018-05-23 Tom Tromey <tom@tromey.com>
5415
5416 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5417
43ba33c7
TT
54182018-05-23 Tom Tromey <tom@tromey.com>
5419
5420 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5421 (test_short_complaints): Update.
5422
035522c0
PA
54232018-05-22 Pedro Alves <palves@redhat.com>
5424
5425 * gdb.base/remote.exp: Only gdb_start after compiling the
5426 testcase. Issue "disconnect" before testing "set remote" command
5427 defaults. Issue clean_restart before running to main.
5428
cc0be08f
PA
54292018-05-22 Pedro Alves <palves@redhat.com>
5430
5431 * gdb.base/remote.exp: Adjust expected output of "show remote
5432 memory-write-packet-size". Add tests for "set remote
5433 memory-write-packet-size 0" and "set remote
5434 memory-write-packet-size fixed/limit".
5435
b1b60145
PA
54362018-05-22 Pedro Alves <palves@redhat.com>
5437
5438 PR gdb/22973
5439 * gdb.base/utf8-identifiers.c: New file.
5440 * gdb.base/utf8-identifiers.exp: New file.
5441
0ec848ad
PFC
54422018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5443
5444 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5445
2c3305f6
PFC
54462018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5447
5448 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5449
ce1e8424
TT
54502018-05-18 Tom Tromey <tom@tromey.com>
5451
5452 * gdb.base/ptype-offsets.exp: Update.
5453
ddfe970e
KS
54542018-05-17 Keith Seitz <keiths@redhat.com>
5455
5456 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5457 in expected breakpoint stop locations.
5458 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5459 move to proper scope to test variable values.
5460 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5461 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5462 New functions.
5463 (main): Call not_inline_func3.
5464 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5465 inline_func1, inline_func2, and inline_func3. Test that when each
5466 breakpoint is hit, GDB properly reports both the stop location
5467 and the backtrace. Repeat tests for temporary breakpoints.
5468
0726fcc6
MR
54692018-05-15 Maciej W. Rozycki <macro@mips.com>
5470
5471 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5472 rather then trying to access it in determining whether the PID
5473 of `gdbserver' could have been retrieved.
5474
8ee22052
AB
54752018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5476
5477 * gdb.arch/amd64-init-x87-values.S: New file.
5478 * gdb.arch/amd64-init-x87-values.exp: New file.
5479
7785df48
JK
54802018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5481
5482 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5483
56bcdbea
TT
54842018-05-04 Tom Tromey <tom@tromey.com>
5485
5486 PR python/22730:
5487 * gdb.python/python.exp: Test multi-line execute.
5488
a913fffb
TT
54892018-05-04 Tom Tromey <tom@tromey.com>
5490
5491 PR python/22731:
5492 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5493
7a2c85f2
TT
54942018-05-04 Tom Tromey <tom@tromey.com>
5495
5496 PR gdb/11750:
5497 * gdb.base/define.exp: Test defining a user command inside a user
5498 command.
5499 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5500
a3b60e45
JK
55012018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5502 Pedro Alves <palves@redhat.com>
5503
5504 PR breakpoints/19806 and support for PR external/20207.
5505 * gdb.base/watchpoint-unaligned.c: New file.
5506 * gdb.base/watchpoint-unaligned.exp: New file.
5507
45fe4a03
AB
55082018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5509
5510 * gdb.base/maint.exp: Make test names unique, use
5511 test_prefix_command_help to test 'help maint info', and remove
5512 repeated test of 'help maint'.
5513
9be2ae8f
TT
55142018-05-04 Tom Tromey <tom@tromey.com>
5515
5516 PR gdb/22619:
5517 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5518 behavior.
5519
11859c31
AB
55202018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5521
5522 * gdb.base/maint.exp: Process output from 'maint print registers'
5523 line at a time.
5524
089a9490
AB
55252018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5526
5527 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5528 timeout.
5529
9b0797e2
AB
55302018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5531
5532 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5533 filter pattern.
5534
f6ac5f3d
PA
55352018-05-02 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5538 to_log_command renames.
5539 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5540
77d3c63b
TT
55412018-05-02 Tom Tromey <tom@tromey.com>
5542
5543 * gdb.python/py-parameter.exp: Set test message.
5544
0489430a
TT
55452018-05-02 Tom Tromey <tom@tromey.com>
5546
5547 PR python/20084:
5548 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5549 PARAM_ZUINTEGER_UNLIMITED tests.
5550
1632f8ba
DR
55512018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5552
5553 PR rust/23124
5554 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5555 when casting.
5556
6d7bb824
TT
55572018-04-30 Tom Tromey <tom@tromey.com>
5558
5559 * gdb.python/py-type.exp: Check align attribute.
5560 * gdb.python/py-type.c: New "aligncheck" global.
5561
007e1530
TT
55622018-04-30 Tom Tromey <tom@tromey.com>
5563
5564 PR exp/17095:
5565 * gdb.dwarf2/dw2-align.exp: New file.
5566 * gdb.cp/align.exp: New file.
5567 * gdb.base/align.exp: New file.
5568 * lib/gdb.exp (gdb_int128_helper): New proc.
5569 (has_int128_c, has_int128_cxx): New caching procs.
5570
6873858b
TT
55712018-04-27 Tom Tromey <tom@tromey.com>
5572
5573 PR rust/22545:
5574 * gdb.rust/simple.exp: Add inclusive range tests.
5575
79188d8d
PA
55762018-04-26 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5579 ifunc breakpoint locations correctly of ifunc breakpoints set
5580 while the program resolves the ifunc.
5581
c7075ad5
PA
55822018-04-26 Pedro Alves <palves@redhat.com>
5583
5584 * gdb.base/gnu-ifunc-final.c: New file.
5585 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5586 * gdb.base/gnu-ifunc.exp (executable): Delete.
5587 (staticexecutable): Adjust.
5588 (lib_opts, exec_opts): Delete.
5589 (make_binsuffix, build, set-break): New procedures.
5590 (misc_tests): New, with tests factored out from the top level.
5591 (top level): Test different combinations of ifunc resolver name,
5592 resolver with and with debug info, and ifunc target with and
5593 without debug info. Wrap static tests with with_target_prefix.
5594
8388016d
PA
55952018-04-26 Pedro Alves <palves@redhat.com>
5596
5597 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5598 return type" warnings.
5599
249b5733
PA
56002018-04-25 Pedro Alves <palves@redhat.com>
5601
5602 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5603 killed".
5604 * gdb.base/kill-after-signal.exp: Likewise.
5605 * gdb.threads/kill.exp: Likewise.
5606
f67c0c91
SDJ
56072018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5608 Sergio Durigan Junior <sergiodj@redhat.com>
5609 Pedro Alves <palves@redhat.com>
5610
5611 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5612 regexps to expect for '[Inferior ... detached]' as well.
5613 * gdb.base/attach.exp: Likewise.
5614 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5615 "gdb_continue_to_end".
5616 (test_catch_syscall_with_wrong_args): Likewise.
5617 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5618 ']'. Don't set 'verbose' on.
5619 * gdb.base/foll-vfork.exp: Likewise.
5620 * gdb.base/fork-print-inferior-events.c: New file.
5621 * gdb.base/fork-print-inferior-events.exp: New file.
5622 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5623 '[Inferior ... has been killed]' message.
5624 * gdb.base/kill-after-signal.exp: Likewise.
5625 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5626 detach message.
5627 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5628 message.
5629 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5630 regexps to expect for '[Inferior ... detached]' as well.
5631 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5632
0a8ddac4
SM
56332018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5634
5635 PR gdb/23104
5636 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5637
701adfb0
PA
56382018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5639
5640 PR gdb/23095
5641 * gdb.base/break-probes.exp: Pass shlib_load to
5642 prepare_for_testing. Set normal_bp to r_debug_state if target is
5643 bsd.
5644
d27d16bf
RB
56452018-04-19 Richard Bunt <richard.bunt@arm.com>
5646
5647 * gdb.threads/multiple-successive-infcall.c: New test.
5648 * gdb.threads/multiple-successive-infcall.exp: New file.
5649
a037790e
TT
56502018-04-17 Tom Tromey <tom@tromey.com>
5651
5652 * gdb.rust/simple.rs (Union): New type.
5653 (main): New local "u".
5654 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5655
e3a91079
AA
56562018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5657
5658 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5659 number information in output of "whereis" command.
5660 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5661
b744723f
AA
56622018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5663
5664 * gdb.ada/info_types.exp: Adjust expected output to the line
5665 numbers now printed by "info var/func/type".
5666 * gdb.base/completion.exp: Likewise.
5667 * gdb.base/included.exp: Likewise.
5668 * gdb.cp/cp-relocate.exp: Likewise.
5669 * gdb.cp/cplusfuncs.exp: Likewise.
5670 * gdb.cp/namespace.exp: Likewise.
5671 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5672
4a4495d6
MM
56732018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5674
5675 * gdb.btrace/cpu.exp: New.
5676
1d509aa6
MM
56772018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5678
5679 * gdb.base/step-indirect-call-thunk.exp: New.
5680 * gdb.base/step-indirect-call-thunk.c: New.
5681 * gdb.reverse/step-indirect-call-thunk.exp: New.
5682 * gdb.reverse/step-indirect-call-thunk.c: New.
5683
6295b6da
SM
56842018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5685
5686 * gdb.base/pie-fork.c: New file.
5687 * gdb.base/pie-fork.exp: New file.
5688
50146e70
TT
56892018-04-11 Tom Tromey <tom@tromey.com>
5690
5691 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5692
f50d8a2e
PA
56932018-04-10 Pedro Alves <palves@redhat.com>
5694
5695 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5696 exits. Instead loop running forever.
5697 (fork_parent): Run forever too.
5698
a0be7a36
SM
56992018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5700
5701 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5702 mi_continue_to_line.
5703 * gdb.mi/mi-stack.c (callee4): Add comment.
5704
9b73db36
SM
57052018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5706
5707 * gdb.mi/mi-stack.exp: Fix indentation.
5708
c912f608
SM
57092018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5710
5711 PR gdb/22979
5712 * gdb.arch/amd64-osabi.exp: New file.
5713
26540402
SM
57142018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5715
5716 PR gdb/22980
5717 * gdb.base/osabi.exp: New file.
5718
121ad66c 57192018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
5720
5721 * gdb.cp/static-typedef-print.exp: New file.
5722 * gdb.cp/static-typedef-print.cc: New file.
5723
3fcded8f
JB
57242018-03-27 Joel Brobecker <brobecker@adacore.com>
5725
5726 * gdb.ada/varsize_limit: New testcase.
5727
59cc4834
JB
57282018-03-27 Joel Brobecker <brobecker@adacore.com>
5729
5730 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5731
5732 * gdb.ada/notcplusplus: New testcase.
5733
5734 * gdb.base/c-linkage-name.c: New file.
5735 * gdb.base/c-linkage-name.exp: New testcase.
5736
4ca59a9f
TT
57372018-03-26 Tom Tromey <tom@tromey.com>
5738
5739 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5740 * gdb.python/py-framefilter.py (name_error): New global.
5741 (ErrorInName.function): Use name_error.
5742
978d6c75
TT
57432018-03-26 Tom Tromey <tom@tromey.com>
5744
5745 PR backtrace/15582:
5746 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5747
b7fee5a3
KS
57482018-03-23 Keith Seitz <keiths@redhat.com>
5749
5750 PR c++/22968
5751 * gdb.cp/subtypes.exp: New file.
5752 * gdb.cp/subtypes.h: New file.
5753 * gdb.cp/subtypes.cc: New file.
5754 * gdb.cp/subtypes-2.cc: New file.
5755
376be529
AB
57562018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5757
5758 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5759 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5760 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5761 -nostartfiles when compiling the test. Confirm that all registers
5762 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5763
066cfa98
AB
57642018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5765
5766 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5767 option, syntax was wrong anyway.
5768 * gdb.arch/arm-disp-step.exp: Likewise.
5769 * gdb.arch/sparc64-regs.exp: Likewise.
5770 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5771 option, syntax was wrong anyway, switch to use
5772 prepare_for_testing.
5773 * gdb.arch/i386-disp-step.exp: Likewise.
5774
079670b9
AA
57752018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5776
5777 * gdb.ada/exec_changed.exp: Replace "target_info exists
5778 use_gdb_stub" by "use_gdb_stub".
5779 * gdb.ada/start.exp: Likewise.
5780 * gdb.base/async-shell.exp: Likewise.
5781 * gdb.base/attach-pie-misread.exp: Likewise.
5782 * gdb.base/attach-wait-input.exp: Likewise.
5783 * gdb.base/break-entry.exp: Likewise.
5784 * gdb.base/break-interp.exp: Likewise.
5785 * gdb.base/dprintf-detach.exp: Likewise.
5786 * gdb.base/nostdlib.exp: Likewise.
5787 * gdb.base/solib-nodir.exp: Likewise.
5788 * gdb.base/statistics.exp: Likewise.
5789 * gdb.base/testenv.exp: Likewise.
5790 * gdb.mi/mi-exec-run.exp: Likewise.
5791 * gdb.mi/mi-start.exp: Likewise.
5792 * gdb.multi/dummy-frame-restore.exp: Likewise.
5793 * gdb.multi/multi-arch-exec.exp: Likewise.
5794 * gdb.multi/multi-arch.exp: Likewise.
5795 * gdb.multi/tids.exp: Likewise.
5796 * gdb.multi/watchpoint-multi.exp: Likewise.
5797 * gdb.python/py-events.exp: Likewise.
5798 * gdb.threads/attach-into-signal.exp: Likewise.
5799 * gdb.threads/attach-stopped.exp: Likewise.
5800 * gdb.threads/threadapply.exp: Likewise.
5801 * lib/selftest-support.exp: Likewise.
5802
26d6cec4
AA
58032018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5804
5805 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5806
4ee89e90
SR
58072018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5808
5809 * gdb.perf/template-breakpoints.cc: New file.
5810 * gdb.perf/template-breakpoints.exp: New file.
5811 * gdb.perf/template-breakpoints.py: New file.
5812
92630041
TT
58132018-03-19 Tom Tromey <tom@tromey.com>
5814
5815 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5816 y0.
5817 * gdb.rust/simple.exp: Test bare identifier form of struct
5818 initializer.
5819
76727919
TT
58202018-03-19 Tom Tromey <tom@tromey.com>
5821
5822 * gdb.gdb/observer.exp: Remove.
5823
194ed413
AA
58242018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5825
5826 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5827 "qualified" option when setting breakpoints.
5828 * gdb.trace/backtrace.exp: Likewise.
5829 * gdb.trace/circ.exp: Likewise.
5830 * gdb.trace/collection.exp: Likewise.
5831 * gdb.trace/disconnected-tracing.exp: Likewise.
5832 * gdb.trace/ftrace-lock.exp: Likewise.
5833 * gdb.trace/ftrace.exp: Likewise.
5834 * gdb.trace/infotrace.exp: Likewise.
5835 * gdb.trace/packetlen.exp: Likewise.
5836 * gdb.trace/passc-dyn.exp: Likewise.
5837 * gdb.trace/qtro.exp: Likewise.
5838 * gdb.trace/read-memory.exp: Likewise.
5839 * gdb.trace/report.exp: Likewise.
5840 * gdb.trace/signal.exp: Likewise.
5841 * gdb.trace/status-stop.exp: Likewise.
5842 * gdb.trace/strace.exp: Likewise.
5843 * gdb.trace/tfind.exp: Likewise.
5844 * gdb.trace/trace-break.exp: Likewise.
5845 * gdb.trace/trace-condition.exp: Likewise.
5846 * gdb.trace/trace-mt.exp: Likewise.
5847 * gdb.trace/tstatus.exp: Likewise.
5848 * gdb.trace/tsv.exp: Likewise.
5849 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5850 * gdb.trace/unavailable.exp: Likewise.
5851 * gdb.trace/while-dyn.exp: Likewise.
5852
8b067d2c
AA
58532018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5854
5855 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5856 that libinproctrace is copied to the target.
5857
3ae9ce5d
TT
58582018-03-14 Tom Tromey <tom@tromey.com>
5859
5860 PR cli/14977:
5861 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5862 a null pointer.
5863 * gdb.base/wchar.exp: Likewise.
5864
b8c2339b
TT
58652018-03-14 Tom Tromey <tom@tromey.com>
5866
5867 PR cli/19918:
5868 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5869 flag.
5870
4872dc46
SM
58712018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5872
5873 PR gdb/22841
5874 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5875 "target" to remote_exec.
5876
e4fe3756
SM
58772018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5878
5879 PR gdb/22841
5880 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5881 ${board}_upload): Remove.
5882
e95a97d4
AA
58832018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5884
5885 * gdb.cp/watch-cp.cc: New test.
5886 * gdb.cp/watch-cp.exp: New file.
5887
dbbb1059
AB
58882018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5889
5890 * gdb.base/infcall-nested-structs.exp: New file.
5891 * gdb.base/infcall-nested-structs.c: New file.
5892 * gdb.base/float.exp: Add riscv support.
5893
ecc054c0
TP
58942018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5895
5896 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5897 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5898
25e3c82c
SDJ
58992018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5900
5901 * gdb.server/abspath.exp: New file.
5902 * lib/gdb.exp (with_cwd): New procedure.
5903
3083294d
SM
59042018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5905
5906 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5907 use it.
5908 (gdb_is_target_remote_prompt): New proc.
5909 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5910 (gdb_is_target_native): Pass prompt parameter to
5911 gdb_is_target_1.
5912
3275ef47
SM
59132018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5914
5915 * gdb.base/load-command.c: New file.
5916 * gdb.base/load-command.exp: New file.
5917 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5918 (gdb_is_target_1): ...this, and generalize for other targets
5919 than just remote.
5920 (gdb_is_target_remote): Use gdb_is_target_1.
5921 (gdb_is_target_native): use gdb_is_target_1.
5922
6893c19a
TT
59232018-02-26 Tom Tromey <tom@tromey.com>
5924
5925 PR python/16497:
5926 * gdb.python/py-framefilter.exp: Update test.
5927
2ddeaf8a
TT
59282018-02-26 Tom Tromey <tom@tromey.com>
5929
5930 * gdb.dwarf2/variant.c: New file.
5931 * gdb.dwarf2/variant.exp: New file.
5932
c9317f21
TT
59332018-02-26 Tom Tromey <tom@tromey.com>
5934
5935 * gdb.rust/simple.exp: Accept more possible results in enum test.
5936
6f6d0c26
SM
59372018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5938
5939 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5940 parentheses.
5941
11b03145
MR
59422018-02-23 Maciej W. Rozycki <macro@mips.com>
5943
5944 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5945 name of a variable: $actual_linejj -> $actual_line.
5946
54a27fe5
JB
59472018-02-21 John Baldwin <jhb@FreeBSD.org>
5948
5949 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5950
de65820c
MM
59512018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5952
5953 * gdb.btrace/buffer-size.exp: Do not force BTS.
5954
980548fd
PA
59552018-02-14 Pedro Alves <palves@redhat.com>
5956
5957 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5958 getting a "Quit".
5959
c4e12631
MM
59602018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5961
5962 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5963 Fix test name.
5964
c2e0e465
SM
59652018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5966
5967 * gdb.cp/m-static.exp: Check type of optimized out static
5968 member.
5969
f7216783
AB
59702018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5971
5972 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5973 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5974
0625771b
LS
59752018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5976 Leszek Swirski <leszeks@google.com>
5977
5978 * gdb.python/py-prettyprint.c
5979 (struct to_string_returns_value_inner,
5980 struct to_string_returns_value_wrapper): New.
5981 (main): Add tsrvw variable.
5982 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5983 ToStringReturnsValueWrapper): New classes.
5984 (register_pretty_printers): Register new pretty-printers.
5985 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5986 recursive pretty printer.
5987 * gdb.python/py-mi.exp: Likewise.
5988
59498c30
LS
59892018-02-01 Leszek Swirski <leszeks@google.com>
5990
5991 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5992 functions with the same name as an include file are parsed
5993 correctly.
5994
d4d38844
YQ
59952018-02-01 Yao Qi <yao.qi@linaro.org>
5996
5997 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5998 "\[^\r\n\]*".
5999
07e5f5cf
NP
60002018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6001
6002 * gdb.arch/powerpc-prologue-frame.s: New file.
6003 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6004 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6005
929b5ad4
JB
60062018-01-31 Joel Brobecker <brobecker@adacore.com>
6007
6008 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6009
e671cd59
PA
60102018-01-30 Pedro Alves <palves@redhat.com>
6011
6012 PR gdb/13211
6013 * gdb.base/interrupt-daemon.c: New.
6014 * gdb.base/interrupt-daemon.exp: New.
6015 * gdb.multi/multi-term-settings.c: New.
6016 * gdb.multi/multi-term-settings.exp: New.
6017
fc413dc4
JB
60182018-01-30 Joel Brobecker <brobecker@adacore.com>
6019
6020 * gdb.base/break.exp: Save the location where the breakpoint
6021 on break.c:47 was actually inserted when debugging the version
6022 compiled at -O2 and use it in the expected output of the "info
6023 break" test performed soon after.
6024
5c319bb2
PA
60252018-01-22 Pedro Alves <palves@redhat.com>
6026 Sergio Durigan Junior <sergiodj@redhat.com>
6027
6028 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6029 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6030
a9e40818
JB
60312018-01-22 Joel Brobecker <brobecker@adacore.com>
6032
6033 * gdb.base/break-include.c, gdb.base/break-include.inc,
6034 gdb.base/break-include.exp: New files.
6035 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6036 line number now being the actual line number where the breakpoint
6037 was inserted.
6038 * gdb.mi/mi-break.exp: Likewise.
6039 * gdb.mi/mi-reverse.exp: Likewise.
6040 * gdb.mi/mi-simplerun.exp: Ditto.
6041
e707fc44
AB
60422018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6043
6044 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6045 varobj.
6046 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6047
ae451627
AB
60482018-01-21 Don Breazeal <donb@codesourcery.com>
6049 Andrew Burgess <andrew.burgess@embecosm.com>
6050
6051 * gdb.mi/basics.c: Add new global.
6052 * gdb.mi/mi-frame-regs.exp: New file.
6053 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6054 case.
6055
b1b189e0
AB
60562018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6057
6058 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6059 non-parameter, and on an unknown symbol.
6060
fcfcc376
TT
60612018-01-19 Tom Tromey <tom@tromey.com>
6062
6063 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6064 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6065
634c1c31
AA
60662018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6067
6068 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6069 setrlimit and chdir to int.
6070
d6ad07fd
AA
60712018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6072
6073 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6074 function.
6075 (my_tend): Likewise.
6076 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6077 rationale of avoiding FP- and vector instructions.
6078
adf8243b
RK
60792018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6080
6081 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6082 "info reg" with "\[ \t\]*".
6083 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6084 "\[ \t\]+".
6085 * gdb.arch/s390-multiarch.exp: Ditto.
6086 * gdb.base/pc-fp.exp: Ditto.
6087 * gdb.reverse/i386-precsave.exp: Ditto.
6088 * gdb.reverse/i386-reverse.exp: Ditto.
6089 * gdb.reverse/i387-env-reverse.exp: Ditto.
6090 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6091
dcc06925
AA
60922018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6093
6094 * lib/gdb.exp (gdb_compile): Re-enable use of
6095 universal_compile_options for languages other than Rust.
6096
25d4fd80
AA
60972018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6098
6099 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6100
ee7f689e 61012018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
6102
6103 PR gdb/16577
6104 * gdb.base/solib-vanish.exp: New.
6105 * gdb.base/solib-vanish-main.c: New.
6106 * gdb.base/solib-vanish-lib1.c: New.
6107 * gdb.base/solib-vanish-lib2.c: New.
6108
d8447b6b
YQ
61092018-01-17 Yao Qi <yao.qi@linaro.org>
6110
6111 * gdb.compile/compile.exp: Match the address printed for
6112 frame in the output of command "bt".
6113
86d6a90c
TT
61142018-01-15 Tom Tromey <tom@tromey.com>
6115
6116 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
6117 compute sp_reg.
6118
cbcdb1aa
AB
61192018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6120
6121 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
6122 to prepare.
6123 (prepare): Return 0 on error, 1 on success.
6124
eea61984
PA
61252018-01-12 Pedro Alves <palves@redhat.com>
6126
6127 * gdb.base/continue-after-aborted-step-over.c: New.
6128 * gdb.base/continue-after-aborted-step-over.exp: New.
6129
6181e9c2
SM
61302018-01-11 Simon Marchi <simon.marchi@ericsson.com>
6131
6132 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
6133 options when not creating an executable.
6134
3cada740
PA
61352018-01-11 Pedro Alves <palves@redhat.com>
6136
6137 PR remote/22597
6138 * gdb.server/stop-reply-no-thread.c: New file.
6139 * gdb.server/stop-reply-no-thread.exp: New file.
6140
c63d3e8d
PA
61412018-01-10 Pedro Alves <palves@redhat.com>
6142
6143 PR gdb/22670
6144 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
6145 functions too. Test setting breakpoints and printing C functions
6146 with no debug info too.
6147 * gdb.ada/bp_c_mixed_case/qux.c: New file.
6148
d4c2a405
PA
61492018-01-10 Pedro Alves <palves@redhat.com>
6150
6151 PR gdb/22670
6152 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
6153 a fail.
6154
8825213e
PA
61552018-01-10 Pedro Alves <palves@redhat.com>
6156
6157 PR gdb/22670
6158 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
6159
605fd3c6
YQ
61602018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6161
6162 * gdb.server/unittest.exp: Match the output in non-development
6163 mode.
6164
1e5ded6c
YQ
61652018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6166
6167 * gdb.gdb/unittest.exp: Match output in non-development mode.
6168
30066b0b
JB
61692018-01-08 Joel Brobecker <brobecker@adacore.com>
6170
6171 * gdb.ada/access_tagged_param.exp: Relax expected output
6172 for value of "ObjL" in "continue" to pck.inspect breakpoint
6173 test.
6174
04bafb1e
XR
61752018-01-08 Joel Brobecker <brobecker@adacore.com>
6176
9f86398b
JB
6177 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6178 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 6179
e379cee6
PA
61802018-01-05 Pedro Alves <palves@redhat.com>
6181
6182 PR gdb/18653
6183 * gdb.base/libsegfault.exp: New.
6184
de63c46b
PA
61852018-01-05 Joel Brobecker <brobecker@adacore.com>
6186
6187 PR gdb/22670
6188 * gdb.ada/access_tagged_param.exp: New file.
6189 * gdb.ada/access_tagged_param/foo.adb: New file.
6190
f98fc17b
PA
61912018-01-05 Pedro Alves <palves@redhat.com>
6192
6193 PR gdb/22670
6194 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6195 exercise lower case too, and to exercise both full matching and
6196 wild matching.
6197
342f8240
JB
61982018-01-05 Joel Brobecker <brobecker@adacore.com>
6199
6200 * gdb.ada/rename_subscript_param: New testcase.
6201
7150d33c
JG
62022018-01-05 Jerome Guitton <guitton@adacore.com>
6203
6204 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6205
cc0e770c
JB
62062018-01-05 Joel Brobecker <brobecker@adacore.com>
6207
6208 * gdb.ada/convvar_comp: New testcase.
6209
672a41aa 62102018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
6211
6212 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6213 (My_Table): New global variable.
6214 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6215
7365ec2f
JB
62162018-01-04 Joel Brobecker <brobecker@adacore.com>
6217
6218 PR gdb/22670
6219 * gdb.ada/maint_with_ada: New testcase.
6220
289483b6
JB
62212018-01-04 Joel Brobecker <brobecker@adacore.com>
6222
6223 PR gdb/22670
6224 * gdb.ada/bp_c_mixed_case: New testcase.
6225
344420da
JB
62262018-01-04 Joel Brobecker <brobecker@adacore.com>
6227
6228 PR gdb/22670
6229 * gdb.ada/complete.exp: Add "complete break ada" test.
6230
66fc87a0
JB
62312018-01-04 Joel Brobecker <brobecker@adacore.com>
6232
6233 PR gdb/22670
6234 * gdb.ada/info_addr_mixed_case: New testcase.
6235
9f757bf7
XR
62362018-01-03 Xavier Roirand <roirand@adacore.com>
6237
6238 * gdb.ada/excep_handle.exp: New testcase.
6239 * gdb.ada/excep_handle/foo.adb: New file.
6240 * gdb.ada/excep_handle/pck.ads: New file.
6241
bd570f80
JB
62422018-01-03 Joel Brobecker <brobecker@adacore.com>
6243
6244 * gdb.base/step-line.c: Add extra empty line in copyright header.
6245 * gdb.base/step-line.inp: Likewise.
6246
9fe561ab
JB
62472018-01-02 Joel Brobecker <brobecker@adacore.com>
6248
6249 * gdb.ada/dyn_stride.exp: Add slice test.
6250
a405673c
JB
62512018-01-02 Joel Brobecker <brobecker@adacore.com>
6252
6253 * gdb.ada/dyn_stride: New testcase.
6254
cef0f868
SH
62552017-12-27 Stafford Horne <shorne@gmail.com>
6256
6257 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6258 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6259
b67d92b0
SH
62602017-12-27 Stafford Horne <shorne@gmail.com>
6261
6262 * gdb.base/reggroups.c: New file.
6263 * gdb.base/reggroups.exp: New file.
6264
eccab96d
JB
62652017-12-18 Joel Brobecker <brobecker@adacore.com>
6266
6267 * gdb.dwarf2/ada-valprint-error.c: New file.
6268 * gdb.dwarf2/ada-valprint-error.exp: New file.
6269
0e2da9f0
JB
62702017-12-18 Joel Brobecker <brobecker@adacore.com>
6271
6272 * gdb.ada/assign_arr: New testcase.
6273
cb923fcc
XR
62742017-12-18 Xavier Roirand <roirand@adacore.com>
6275
6276 * gdb.ada/funcall_ptr: New testcase.
6277
7c161838
SDJ
62782017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6279
6280 PR cli/16224
6281 * gdb.base/ptype-offsets.cc: New file.
6282 * gdb.base/ptype-offsets.exp: New file.
6283
1af17fd9
YQ
62842017-12-15 Yao Qi <yao.qi@linaro.org>
6285
6286 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6287 if XML is disabled.
6288
828d5846
XR
62892017-12-15 Xavier Roirand <roirand@adacore.com>
6290
6291 * gdb.ada/same_component_name: New testcase.
6292
79e8fcaa
JB
62932017-12-14 Joel Brobecker <brobecker@adacore.com>
6294
6295 * gdb.ada/str_binop_equal: New testcase.
6296
e05fa6f9
JB
62972017-12-14 Joel Brobecker <brobecker@adacore.com>
6298
6299 * gdb.ada/task_switch_in_core: New testcase.
6300
b89641ba
SM
63012017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6302
6303 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6304 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6305 call test_bkpt_qualified.
6306 (test_bkpt_qualified): New proc.
6307
6892d2e4
PA
63082017-12-13 Pedro Alves <palves@redhat.com>
6309
6310 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6311 Tighten regexp by matching with an anchor.
6312
a22ecf70
PA
63132017-12-13 Pedro Alves <palves@redhat.com>
6314
6315 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6316 ("expression with namespace"): New set of tests.
6317 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6318 (Nested::Test_NS::qux): New.
6319 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6320 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6321
9937536c
JB
63222017-12-13 Joel Brobecker <brobecker@adacore.com>
6323
6324 * gdb.base/server-del-break.c: New file.
6325 * gdb.base/server-del-break.exp: New file.
6326
fe49c6f5
SH
63272017-12-12 Stafford Horne <shorne@gmail.com>
6328
6329 * gdb.xml/tdesc-regs.exp: Add or1k support.
6330
c3d18620
SH
63312017-12-12 Stafford Horne <shorne@gmail.com>
6332
6333 * gdb.base/bp-permanent.c: Define nop of or1k.
6334
c5f9cfc8
JB
63352017-12-11 Joel Brobecker <brobecker@adacore.com>
6336
6337 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6338 output with components being reordered.
6339
a9c135fc
JB
63402017-12-11 Joel Brobecker <brobecker@adacore.com>
6341
6342 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6343 output with components being reordered.
6344
927aa2e7
JK
63452017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6346 Pedro Alves <palves@redhat.com>
6347
6348 * gdb.base/maint.exp (check for .gdb_index): Check also for
6349 .debug_names.
6350 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6351 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6352 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6353 (.gdb_index used after symbol reloading): Support also .debug_names.
6354 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6355
f17d9474
YQ
63562017-12-08 Yao Qi <yao.qi@linaro.org>
6357
6358 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6359 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6360
a0de8c21
YQ
63612017-12-08 Yao Qi <yao.qi@linaro.org>
6362
6363 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6364 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6365
a738ea1d
YQ
63662017-12-08 Yao Qi <yao.qi@linaro.org>
6367
6368 * gdb.arch/aarch64-tagged-pointer.c: New file.
6369 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6370
1cd9a73b
SDJ
63712017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6372
6373 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6374 "int".
6375
fa6eb693
KS
63762017-12-07 Keith Seitz <keiths@redhat.com>
6377
6378 PR breakpoints/22569
6379 * gdb.linespec/ls-errs.exp: Change expected result of "break
6380 -source this file has spaces.c -line 3".
6381 Check that an explicit source file followed by whitespace is
6382 identified as an invalid explicit location.
6383
883fd55a
KS
63842017-12-07 Keith Seitz <keiths@redhat.com>
6385
6386 * gdb.cp/nested-types.cc: New file.
6387 * gdb.cp/nested-types.exp: New file.
6388 * lib/cp-support.exp: Load data-structures.exp library.
6389 (debug_cp_test_ptype_class): New global.
6390 (cp_ptype_class_verbose, next_line): New procedures.
6391 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6392 Add and document new return value.
6393 Switch the list of lines to a queue.
6394 Add support for new `type' key for nested type definitions.
6395 Add debugging/troubleshooting messages.
6396 * lib/data-structures.exp: New file.
6397
ec72db3e
SM
63982017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6399
6400 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6401 with proc_with_prefix, don't use with_test_prefix.
6402
99598d71
TT
64032017-12-07 Tom Tromey <tom@tromey.com>
6404
6405 * gdb.base/break.exp: Add test for empty "commands".
6406
a8806230
YQ
64072017-12-07 Yao Qi <yao.qi@linaro.org>
6408
6409 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6410 malloc and catch syscall.
6411
824cc835
PM
64122017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6413
e79be6e5 6414 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
6415 tests for explicit locations.
6416
7cc244de
PA
64172017-12-06 Pedro Alves <palves@redhat.com>
6418
6419 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6420 force-disabling XML descriptions.
6421
50a1fdd5
PA
64222017-12-04 Pedro Alves <palves@redhat.com>
6423
6424 PR gdb/22499
6425 * gdb.arch/amd64-disp-step-avx.S: New file.
6426 * gdb.arch/amd64-disp-step-avx.exp: New file.
6427
f0fb2488
PA
64282017-12-03 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6431 and <string.h>.
6432 (parent_function): Print distinct messages when waitpid fails, or
6433 the child exits with a signal, or the child exits for an unhandled
6434 reason.
6435 * gdb.threads/process-dies-while-detaching.exp
6436 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6437 it. Wait for both inferior output and GDB's prompt. Use an
6438 indirect spawn id list.
6439 (do_detach): New parameter 'child_exit'. Use it to compute
6440 expected inferior output.
6441 (test_detach, test_detach_watch, test_detach_killed_outside):
6442 Adjust to pass down the expected child exit kind.
6443
97cbe998
SDJ
64442017-12-01 Joel Brobecker <brobecker@adacore.com>
6445 Sergio Durigan Junior <sergiodj@redhat.com>
6446 Pedro Alves <palves@redhat.com>
6447
6448 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6449
40fc416f
SDJ
64502017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6451
6452 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6453 to 'symbol-file' and 'add-symbol-file' can be
6454 position-independent.
6455
1cc75e92
YQ
64562017-12-01 Yao Qi <yao.qi@linaro.org>
6457
6458 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6459 the URL in copyright header.
6460 * gdb.arch/aarch64-fp.exp: Likewise.
6461 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6462 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6463 * gdb.base/expand-psymtabs.exp: Likewise.
6464 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6465 * gdb.fortran/common-block.exp: Likewise.
6466 * gdb.fortran/common-block.f90: Likewise.
6467 * gdb.fortran/logical.exp: Likewise.
6468 * gdb.fortran/vla-datatypes.f90: Likewise.
6469 * gdb.fortran/vla-sub.f90: Likewise.
6470
875fb7a7
JB
64712017-11-30 Joel Brobecker <brobecker@adacore.com>
6472
6473 * gdb.ada/repeat_dyn: New testcase.
6474
6f14765f
UW
64752017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6476
6477 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6478 Update for changed thread numbering.
6479 * gdb.cell/bt.exp: Update for changed GDB output.
6480
f1af7b94
SM
64812017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6482
6483 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6484 setting isremote by hand.
6485 * boards/dwarf4-gdb-index.exp: Likewise.
6486 * boards/fission.exp: Likewise.
6487 * boards/stabs.exp: Likewise.
6488
e3919f3e
PA
64892017-11-30 Pedro Alves <palves@redhat.com>
6490
6491 * gdb.linespec/cpls-ops.exp
6492 (check_explicit_skips_function_argument): Extract the underlying
6493 type of size_t instead of hardcoding it.
6494
bd69330d
PA
64952017-11-29 Pedro Alves <palves@redhat.com>
6496
6497 PR c++/19436
6498 * gdb.linespec/cpls-abi-tag.cc: New file.
6499 * gdb.linespec/cpls-abi-tag.exp: New file.
6500
a20714ff
PA
65012017-11-29 Pedro Alves <palves@redhat.com>
6502
6503 * gdb.base/langs.exp: Use -qualified.
6504 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6505 it.
6506 * gdb.cp/namespace.exp: Use -qualified.
6507 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6508 (overload-3, template-overload, template-ret-type, const-overload)
6509 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6510 procedures.
6511 (test_driver): Call them.
6512 * gdb.cp/save-bp-qualified.cc: New.
6513 * gdb.cp/save-bp-qualified.exp: New.
6514 * gdb.linespec/explicit.exp: Test -qualified.
6515 * lib/completion-support.exp (completion::explicit_opts_list): Add
6516 "-qualified".
6517 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6518
f6f1d339
PM
65192017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6520
6521 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6522
02ca603a
TT
65232017-11-29 Tom Tromey <tom@tromey.com>
6524
6525 * gdb.base/relocate.exp: Update invalid argument test.
6526 Add new tests for invalid arguments.
6527
ed6c0bfb
TP
65282017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6529
6530 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6531 Return 0 as a long.
6532 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6533
f106e10e
TP
65342017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6535
6536 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6537 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6538 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6539 func ().
6540 * gdb.cp/shadow.cc (B.func): Return 0.
6541
10329bb2
JB
65422017-11-27 Joel Brobecker <brobecker@adacore.com>
6543
6544 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6545 expected output in gdb_expect call to allow the exception
6546 message to be present as well. Fix syntax confusion to avoid
6547 TCL thinking that exception_name is an array.
6548
617cd4bc
UW
65492017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6550
6551 * gdb.arch/spu-info.c: Include <unistd.h>.
6552 (do_signal_test): Fix broken calls to write.
6553 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6554 Fix checks for empty mailboxes. Update signal tests for corrected
6555 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
6556 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6557 * gdb.cell/arch.exp: Use standard_output_file.
6558 * gdb.cell/break.exp: Likewise.
6559 * gdb.cell/bt.exp: Likewise.
6560 * gdb.cell/core.exp: Likewise.
6561 * gdb.cell/dwarfaddr.exp: Likewise.
6562 * gdb.cell/ea-cache.exp: Likewise.
6563 * gdb.cell/ea-standalone.exp: Likewise.
6564 * gdb.cell/f-regs.exp: Likewise.
6565 * gdb.cell/fork.exp: Likewise.
6566 * gdb.cell/gcore.exp: Likewise.
6567 * gdb.cell/mem-access.exp: Likewise.
6568 * gdb.cell/ptype.exp: Likewise.
6569 * gdb.cell/registers.exp: Likewise.
6570 * gdb.cell/sizeof.exp: Likewise.
6571 * gdb.cell/solib-symbol.exp: Likewise.
6572 * gdb.cell/solib.exp: Likewise.
617cd4bc 6573
a81aaca0
PA
65742017-11-25 Pedro Alves <palves@redhat.com>
6575
6576 * gdb.base/complete-empty.exp: New file.
6577 * gdb.base/completion.exp: Adjust.
6578
6a3c6ee4
PA
65792017-11-25 Pedro Alves <palves@redhat.com>
6580
6581 * gdb.linespec/cpls-ops.cc: New file.
6582 * gdb.linespec/cpls-ops.exp: New file.
6583 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6584 factored out from ...
6585 (test_complete_prefix_range): ... this.
6586
8955eb2d
PA
65872017-11-24 Pedro Alves <palves@redhat.com>
6588
6589 * gdb.linespec/cpcompletion.exp: New file.
6590 * gdb.linespec/cpls-hyphen.cc: New file.
6591 * gdb.linespec/cpls.cc: New file.
6592 * gdb.linespec/cpls2.cc: New file.
6593 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6594 test to use test_gdb_complete_unique. Add label completion,
6595 keyword completion and explicit location completion tests.
6596 * lib/completion-support.exp: New file.
6597
e547c119
JB
65982017-11-24 Joel Brobecker <brobecker@adacore.com>
6599
6600 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6601 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6602 when hitting an exception catchpoint.
6603
7c3c1aa8
YQ
66042017-11-22 Yao Qi <yao.qi@linaro.org>
6605
6606 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6607
41bd68f5
SM
66082017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6609
6610 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6611 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6612 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6613
1daad298
YQ
66142017-11-22 Yao Qi <yao.qi@linaro.org>
6615
6616 * gdb.base/info-os.exp: Pass pthreads.
6617 * gdb.multi/multi-attach.exp: Likewise.
6618
88465e87
YQ
66192017-11-22 Yao Qi <yao.qi@linaro.org>
6620
6621 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6622 compiler.
6623
dc196b23
YQ
66242017-11-22 Yao Qi <yao.qi@linaro.org>
6625
6626 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6627 * gdb.base/break-interp.exp: Likewise.
6628 * gdb.base/jit-attach-pie.exp: Likewise.
6629
2400729e
UW
66302017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6631
6632 * gdb.base/float128.c (large128): New variable.
6633 * gdb.base/float128.exp: Add test to print largest __float128 value.
6634
7a26362d
UW
66352017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6636
6637 * gdb.arch/vsx-regs.exp: Update register content checks.
6638
ed0f4273
UW
66392017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6640
6641 * gdb.arch/ppc-longdouble.exp: New file.
6642 * gdb.arch/ppc-longdouble.c: Likewise.
6643
a25d69c6
PA
66442017-11-21 Pedro Alves <palves@redhat.com>
6645
6646 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6647
73fcf641
PA
66482017-11-20 Pedro Alves <palves@redhat.com>
6649
6650 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6651 (long_double_typedef): New typedefs.
6652 Use DEF on double and long double.
6653 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6654 cases.
6655 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6656 and 'long_double_ptr_same_size' locals. Use them to decide
6657 whether cast from array/function to float is valid/invalid.
6658
71a3c369
TT
66592017-11-17 Tom Tromey <tom@tromey.com>
6660
6661 * gdb.rust/traits.rs: New file.
6662 * gdb.rust/traits.exp: New file.
6663
ced9779b
JB
66642017-11-17 Joel Brobecker <brobecker@adacore.com>
6665
6666 * gdb.ada/minsyms: New testcase.
6667
a0922d80
PA
66682017-11-16 Pedro Alves <palves@redhat.com>
6669
6670 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6671 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6672
ea04e54c
PA
66732017-11-16 Pedro Alves <palves@redhat.com>
6674
6675 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6676 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6677
e849ea89
PA
66782017-11-16 Pedro Alves <palves@redhat.com>
6679
6680 * gdb.server/reconnect-ctrl-c.c: New file.
6681 * gdb.server/reconnect-ctrl-c.exp: New file.
6682
d8ae99a7
PM
66832017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6684
6685 * gdb.python/py-rbreak.exp: New file.
6686 * gdb.python/py-rbreak.c: New file.
6687 * gdb.python/py-rbreak-func2.c: New file.
6688
968a13f8
PA
66892017-11-16 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6692 pattern.
6693 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6694 GDB.
6695
71774bc9
SM
66962017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6697
6698 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6699 regex.
6700
ddbb44cf
SM
67012017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6702
6703 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6704 test names.
6705
584a564f
PA
67062017-11-09 Pedro Alves <palves@redhat.com>
6707
6708 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6709 factored out from ...
6710 (top level): ... here, and adjusted to avoid expecting beyond the
6711 prompt in a single gdb_test_multiple.
6712
5ed7a928
PA
67132017-11-09 Pedro Alves <palves@redhat.com>
6714
6715 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6716 output.
6717 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6718 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6719 * gdb.server/ext-run.exp ("kill" test): Likewise.
6720 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6721
a60e0738
PA
67222017-11-09 Pedro Alves <palves@redhat.com>
6723
6724 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6725 match till end of line.
6726
2c88253f
PA
67272017-11-09 Pedro Alves <palves@redhat.com>
6728
6729 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6730
c7a38517
PA
67312017-11-09 Pedro Alves <palves@redhat.com>
6732
6733 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6734 New procedures, factored out from ...
6735 (top level): ... here, and adjusted to avoid expecting beyond the
6736 prompt in one go.
6737
f29f4b6b
PA
67382017-11-09 Pedro Alves <palves@redhat.com>
6739
6740 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6741 output. Fix '?' match.
6742
286acbb5
JB
67432017-11-08 Joel Brobecker <brobecker@adacore.com>
6744
6745 * gdb.ada/scoped_watch: New testcase.
6746 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6747 which is actually correct.
6748 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6749 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6750
62d7ae92
PA
67512017-11-08 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.gdb/complaints.exp (test_initial_complaints)
6754 (test_serial_complaints, test_short_complaints): Call
6755 complaint_internal instead of complaint.
6756
280ca31f
DT
67572017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6758
6759 * gdb.threads/tls-core.c: New file.
6760 * gdb.threads/tls-core.exp: Likewise.
6761
b5ec771e
PA
67622017-11-08 Pedro Alves <palves@redhat.com>
6763
6764 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6765 (p Exported_Capitalized): New test.
6766 (p exported_capitalized): New test.
6767
a02b41a7
PA
67682017-11-07 Pedro Alves <palves@redhat.com>
6769
6770 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6771
95e95a6d
PA
67722017-11-07 Pedro Alves <palves@redhat.com>
6773
6774 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6775 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6776 (disable_invalid, disable_inverted, disable_negative): New
6777 procedures.
6778 ("bad numbers"): New set of tests.
6779
cee62dbd
PA
67802017-11-07 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.cp/ena-dis-br-range.exp: Add tests.
6783
cc638e86
PA
67842017-11-07 Pedro Alves <palves@redhat.com>
6785
6786 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6787
d0fe4701
XR
67882017-11-07 Xavier Roirand <roirand@adacore.com>
6789 Pedro Alves <palves@redhat.com>
6790
6791 * gdb.base/ena-dis-br.exp: Add reference to
6792 gdb.cp/ena-dis-br-range.exp.
6793 * gdb.cp/ena-dis-br-range.exp: New file.
6794 * gdb.cp/ena-dis-br-range.cc: New file.
6795
46f67f80
PA
67962017-11-06 Pedro Alves <palves@redhat.com>
6797
6798 * gdb.base/attach-non-pgrp-leader.c: New.
6799 * gdb.base/attach-non-pgrp-leader.exp: New.
6800
726e1356
PA
68012017-11-06 Pedro Alves <palves@redhat.com>
6802
6803 * configure.ac: No longer check for termio.h and sgtty.h.
6804 * configure: Regenerate.
6805 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6806 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6807 Remove termio and sgtty code.
6808
50ab6ace
YQ
68092017-11-03 Yao Qi <yao.qi@linaro.org>
6810
6811 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6812 in GDB is disabled.
6813
8e68731c
YQ
68142017-11-03 Yao Qi <yao.qi@linaro.org>
6815
6816 * gdb.python/py-thrhandle.exp: Skip it if python is not
6817 enabled.
6818
3a87ae65
SM
68192017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6820
6821 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6822 as a breakpoint command.
6823
484d8d36
MD
68242017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6825
6826 PR python/21213
6827 * gdb.python/py-infthread.exp: Test calling
6828 InferiorThread.inferior () multiple times in a row.
6829
4a27f119
KS
68302017-10-27 Keith Seitz <keiths@redhat.com>
6831
6832 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6833 Test "info break" for every inlined function breakpoint.
6834
bb11dd58
YQ
68352017-10-27 Yao Qi <yao.qi@linaro.org>
6836
6837 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6838
a43f3893
PF
68392017-10-26 Patrick Frants <osscontribute@gmail.com>
6840
6841 * gdb.cp/classes.exp (test_static_members): Test printing
6842 Outer::instance.
6843 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6844 (Inner::instance, Outer::instance): New.
6845
792ccf00
PA
68462017-10-24 Pedro Alves <palves@redhat.com>
6847
6848 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6849 extra console" test in two stages.
6850
eb2bfbad
PA
68512017-10-24 Pedro Alves <palves@redhat.com>
6852
6853 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6854
1f75a651
PA
68552017-10-24 Pedro Alves <palves@redhat.com>
6856
6857 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6858 loop.
6859
779990d9
PA
68602017-10-24 Pedro Alves <palves@redhat.com>
6861
6862 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6863 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6864
ad9b8f5d
PA
68652017-10-24 Pedro Alves <palves@redhat.com>
6866
6867 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6868 parameter and handle it. Don't output read value in test name.
6869
fee6da6e
PA
68702017-10-24 Pedro Alves <palves@redhat.com>
6871
6872 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6873 custom test name.
6874
10389c2c
PA
68752017-10-24 Pedro Alves <palves@redhat.com>
6876
6877 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6878 include the unstable output directory name in the test's name.
6879 (initial_setup_simple) <'set args'>: Use custom test name.
6880
a80e65a9
PA
68812017-10-24 Pedro Alves <palves@redhat.com>
6882
6883 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6884 with explicit test name.
6885
15763a09
PA
68862017-10-20 Pedro Alves <palves@redhat.com>
6887
6888 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6889 'wait -i'. Use gdb_assert and remote_close.
6890
49a4ce2e
AB
68912017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6892
6893 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6894 number from variable rather than hard-coded.
6895
a75868f5
PA
68962017-10-19 Pedro Alves <palves@redhat.com>
6897
6898 * gdb.base/long-inferior-output.c: New file.
6899 * gdb.base/long-inferior-output.exp: New file.
6900
c8ba13ad
KS
69012017-11-18 Keith Seitz <keiths@redhat.com>
6902
6903 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6904 method.
6905 (main): Call it.
6906 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6907 Add additional user-defined conversion operator tests.
6908
b27de576
PA
69092017-10-17 Pedro Alves <palves@redhat.com>
6910
6911 * boards/native-stdio-gdbserver.exp: Load "local-board".
6912
8484c955
PA
69132017-10-17 Pedro Alves <palves@redhat.com>
6914
6915 * gdb.base/quit-live.c: New file.
6916 * gdb.base/quit-live.exp: New file.
6917
83d5a34d
KS
69182017-10-16 Keith Seitz <keiths@redhat.com>
6919
6920 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6921 (class_with_protected_typedef, class_with_private_typedef)
6922 (struct_with_public_typedef, struct_with_protected_typedef)
6923 (struct_with_private_typedef): New classes/structs.
6924 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6925 typedefs and access specifiers.
6926
739b3f1d
PA
69272017-10-16 Pedro Alves <palves@redhat.com>
6928 Simon Marchi <simon.marchi@polymtl.ca>
6929
6930 * README (Local vs Remote vs Native): New section.
6931 * boards/local-board.exp: New file, with bits factored out from
6932 ...
6933 * boards/native-extended-gdbserver.exp: ... here. Load
6934 "local-board".
6935 * boards/native-gdbserver.exp: Load "local-board".
6936 (${board}_spawn, ${board}_exec): Delete.
6937 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6938 ...
6939 * boards/stdio-gdbserver-base.exp: ... this new file.
6940 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6941 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6942 procedure.
6943 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6944 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6945 stdio_gdbserver_command.
6946 (${board}_get_remote_address, ${board}_get_comm_port)
6947 (${board}_download, ${board}_upload): Delete.
6948 (get_target_remote_pipe_cmd): New.
6949
fe68b953
SM
69502017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6951
6952 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6953 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6954 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6955 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6956 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6957 remove with_test_prefix.
6958
300b6685
PA
69592017-10-13 Pedro Alves <palves@redhat.com>
6960
6961 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6962 * gdb.base/annota1.exp: Use it instead of is_remote.
6963 * gdb.base/annota3.exp: Use it instead of is_remote.
6964 * gdb.cp/annota2.exp: Use it instead of is_remote.
6965 * gdb.cp/annota3.exp: Use it instead of is_remote.
6966 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6967
50500caf
PA
69682017-10-13 Pedro Alves <palves@redhat.com>
6969
6970 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6971 (test_num_test_vars, run_and_count_vars, find_env)
6972 (test_set_unset_env, test_inherit_env_var): New procedures.
6973 (top level): Use them.
6974
dad0c6d2
PA
69752017-10-13 Pedro Alves <palves@redhat.com>
6976
6977 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6978 also skip on stub-like targets.
6979
8b0553c1
PA
69802017-10-13 Pedro Alves <palves@redhat.com>
6981
6982 PR gdb/22293
6983 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6984 (top level): Move some tests to ...
6985 (test_not_found): ... this new procedure.
6986 (top level): Call it.
6987
7594f623
PA
69882017-10-13 Pedro Alves <palves@redhat.com>
6989
6990 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6991 expect different "info terminal" output if testing with a
6992 non-native target.
6993
ebe3b402
PA
69942017-10-13 Pedro Alves <palves@redhat.com>
6995 Simon Marchi <simon.marchi@polymtl.ca>
6996
6997 PR python/12966
6998 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6999
42f1b161
PA
70002017-10-13 Pedro Alves <palves@redhat.com>
7001
7002 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7003 already.
7004
8d6ef72b
PA
70052017-10-13 Pedro Alves <palves@redhat.com>
7006
7007 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7008 is_remote.
7009
d7bcd5b8
PA
70102017-10-13 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7013 is_remote.
7014
df479dc6
PA
70152017-10-13 Pedro Alves <palves@redhat.com>
7016
7017 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7018 is set.
7019 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7020 instead of is_remote.
7021
23fb630a
PA
70222017-10-13 Pedro Alves <palves@redhat.com>
7023
7024 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7025 (top level): Add comment.
7026
cc77b1dc
PA
70272017-10-13 Pedro Alves <palves@redhat.com>
7028
7029 * gdb.base/remote.exp (top level): Fix comment typo and add
7030 missing return.
7031
27c9e813
PA
70322017-10-13 Pedro Alves <palves@redhat.com>
7033 Simon Marchi <simon.marchi@polymtl.ca>
7034
7035 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7036 calls and add comments. Skip test if use_gdb_stub is set.
7037 (top level): Use "set cwd" command instead of "cd" command.
7038
5e830d98
PA
70392017-10-13 Pedro Alves <palves@redhat.com>
7040
7041 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7042 is_remote target check.
7043
f5ca0032
PA
70442017-10-13 Pedro Alves <palves@redhat.com>
7045
7046 * gdb.base/scope.exp: Use build_executable + clean_restart +
7047 gdb_file_cmd instead of prepare_for_testing and no longer skip
7048 "before run" tests on is_remote target boards. Update comments.
7049 * boards/native-extended-gdbserver.exp
7050 (extended_gdbserver_load_last_file): New, factored out from ...
7051 (gdb_load): ... this. Move further below and add comment.
7052 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7053
8aed1c0d
PA
70542017-10-12 Pedro Alves <palves@redhat.com>
7055
7056 * gdb.base/attach.exp: Remove references to gdb64.
7057 * gdb.base/dbx.exp: Remove references to gdb64.
7058
cfa34c87
SM
70592017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7060 Pedro Alves <palves@redhat.com>
7061
7062 * gdb.base/label.exp: Remove is_remote target check.
7063
9192b7de
PA
70642017-10-12 Pedro Alves <palves@redhat.com>
7065
7066 * gdb.base/auvx.exp (coredir): Update comment.
7067 (top level) <core_works>: Use "set cwd" command instead of "cd"
7068 command.
7069
6bf0052d
PA
70702017-10-12 Pedro Alves <palves@redhat.com>
7071 Simon Marchi <simon.marchi@polymtl.ca>
7072
7073 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7074 target boards.
7075
e48ef82d
PA
70762017-10-12 Pedro Alves <palves@redhat.com>
7077 Simon Marchi <simon.marchi@polymtl.ca>
7078
7079 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7080 Instead skip if there's any gdb_protocol set.
7081
8d7aea57
SM
70822017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7083 Pedro Alves <palves@redhat.com>
7084
7085 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7086
30440677
PA
70872017-10-12 Pedro Alves <palves@redhat.com>
7088 Simon Marchi <simon.marchi@polymtl.ca>
7089
7090 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7091 instead of on dejagnu remote boards.
7092
4e04f045 70932017-10-12 Pedro Alves <palves@redhat.com>
175654b9 7094 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
7095
7096 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7097 checks. Use build_executable + clean_restart instead of
7098 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7099 of enabling non-stop after starting gdb.
7100
871a186e
PA
71012017-10-12 Pedro Alves <palves@redhat.com>
7102
7103 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7104 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7105 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7106 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7107
56d704da
AK
71082017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
7109
7110 * gdb.arch/arc-tdesc-cpu.exp: New file.
7111 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
7112
2f20e312
SM
71132017-10-10 Simon Marchi <simon.marchi@ericsson.com>
7114
7115 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
7116
65630365
PA
71172017-10-10 Pedro Alves <palves@redhat.com>
7118
7119 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
7120 expect CLI output.
7121
bf469271
PA
71222017-10-10 Pedro Alves <palves@redhat.com>
7123
7124 * lib/selftest-support.exp (selftest_setup): Update for
7125 captured_command_loop's prototype change.
7126
777a42f1
PA
71272017-10-09 Pedro Alves <palves@redhat.com>
7128
7129 Test both arch1=>arch2 and arch2=>arch1.
7130
7131 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
7132 (srcfile2, binfile2, march1, march2): Remove globals. Largely
7133 factored out to...
7134 (append_arch1_options, append_arch2_options, append_arch_options)
7135 (build_executables): New procedures.
7136 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
7137 local.
7138 (top level): Add new 'first_arch' testing axis.
7139
cbd2b4e3
PA
71402017-10-09 Pedro Alves <palves@redhat.com>
7141
7142 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
7143 (barrier): New.
7144 (thread_start, all_started): New functions.
7145 (main): Spawn new thread and wait until it is scheduled.
7146 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
7147 option.
7148 (do_test): Add 'selected_thread' parameter. Run to all_started
7149 instead of main. Explicitly set the breakpoint at main. Switch
7150 to the SELECTED_THREAD thread.
7151 (top level): Test handling the exec event with either the main
7152 thread or the second thread selected.
7153
5c9e4427
PA
71542017-10-09 Pedro Alves <palves@redhat.com>
7155
7156 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
7157 logic. Move STOP marker after the value checks.
7158 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
7159 regexp.
7160
b3b7c423
SL
71612017-10-06 Sandra Loosemore <sandra@codesourcery.com>
7162
7163 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
7164
3b4b2f16
UW
71652017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
7166
7167 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
7168 integer-to-dfp conversion.
7169 * gdb.base/dfp-test.exp: Likewise.
7170
5cd63fda
PA
71712017-10-04 Pedro Alves <palves@redhat.com>
7172
7173 * gdb.multi/hangout.c: Include <unistd.h>.
7174 (hangout_loop): New function.
7175 (main): Call alarm. Call hangout_loop in a loop.
7176 * gdb.multi/hello.c: Include <unistd.h>.
7177 (hello_loop): New function.
7178 (main): Call alarm. Call hangout_loop in a loop.
7179 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7180 inferior with the other selected.
7181
4c71c105
SM
71822017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7183
7184 * gdb.mi/list-thread-groups-available.exp: New file.
7185 * gdb.mi/list-thread-groups-available.c: New file.
7186
bc3b087d
SDJ
71872017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7188
7189 * gdb.base/set-cwd.exp: Make it available on
7190 native-extended-gdbserver.
7191
d092c5a2
SDJ
71922017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7193
7194 * gdb.base/set-cwd.c: New file.
7195 * gdb.base/set-cwd.exp: Likewise.
7196
45320ffa
TT
71972017-10-02 Tom Tromey <tom@tromey.com>
7198
7199 PR rust/22236:
7200 * gdb.rust/simple.rs (main): New variable "fslice".
7201 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7202
b3e3859b
TT
72032017-10-02 Tom Tromey <tom@tromey.com>
7204
7205 * gdb.rust/simple.exp: Test ptype of a slice.
7206
01af5e0d
TT
72072017-10-02 Tom Tromey <tom@tromey.com>
7208
7209 * gdb.rust/simple.exp: Test index of slice.
7210
a9bbfbd8
TT
72112017-09-27 Tom Tromey <tom@tromey.com>
7212
7213 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7214
df8899e5
TP
72152017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7216 Pedro Alves <palves@redhat.com>
7217
7218 * gdb.base/compare-sections.exp (get value of read-only section): Read
7219 as unsigned value.
7220 (corrupt read-only section): Likewise and don't set written if patching
7221 failed.
7222
757bf54b
KB
72232017-09-21 Kevin Buettner <kevinb@redhat.com>
7224
7225 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7226 files.
7227
06871ae8
PA
72282017-09-20 Pedro Alves <palves@redhat.com>
7229
7230 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7231 symbol names in gdb's output.
7232 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7233
e5f25bc5
PA
72342017-09-20 Pedro Alves <palves@redhat.com>
7235
7236 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7237 Rename to ...
7238 (test_list_ambiguous_symbol): ... this and add a symbol name
7239 parameter. Adjust.
7240 (test_list_ambiguous_function): Reimplement on top of
7241 test_list_ambiguous_symbol and also test listing ambiguous
7242 variables.
7243 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7244 (ambiguous_fun): ... this.
7245 (ambiguous_var): New.
7246 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7247 (ambiguous_fun): ... this.
7248 (ambiguous_var): New.
7249
4e5a4f58
JB
72502017-09-19 John Baldwin <jhb@FreeBSD.org>
7251
7252 * gdb.base/starti.c: New file.
7253 * gdb.base/starti.exp: New file.
7254 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7255
26e53f3e
PA
72562017-09-14 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7259 (top level): Use it instead of runto.
7260
cb791d59
TT
72612017-09-11 Tom Tromey <tom@tromey.com>
7262
7263 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7264
7c96f8c1
TT
72652017-09-11 Tom Tromey <tom@tromey.com>
7266
7267 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7268 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7269
469412dd
CW
72702017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7271
7272 * gdb.fortran/printing-types.exp: New file.
7273 * gdb.fortran/printing-types.exp: New file.
7274
e0f86435
BH
72752017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7276
7277 * gdb.fortran/vla-ptype.exp: Fix typos.
7278 * gdb.fortran/vla-value.exp: Same.
7279
9e9af4be
BH
72802017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7281
7282 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7283 * gdb.mi/mi-var-child-f.exp: Likewise.
7284 * gdb.mi/mi-vla-fortran.exp: Likewise.
7285
a5ad232b 72862017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
7287 Christoph Weinmann <christoph.t.weinmann@intel.com>
7288 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
7289
7290 * gdb.fortran/ptr-indentation.f90: New file.
7291 * gdb.fortran/ptr-indentation.exp: New file.
7292
5aec60eb
TT
72932017-09-05 Tom Tromey <tom@tromey.com>
7294
7295 PR gdb/22010:
7296 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7297
8f8f8152
TP
72982017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7299
7300 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7301
fbd1b771
JK
73022017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7303
7304 * gdb.threads/tls-nodebug-pie.c: New file.
7305 * gdb.threads/tls-nodebug-pie.exp: New file.
7306
5eb5f850
TT
73072017-09-05 Tom Tromey <tom@tromey.com>
7308
7309 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7310 for rust.
7311
ae780a21
SM
73122017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7313
7314 * gdb.multi/multi-arch-exec.exp: Test with different
7315 "follow-exec-mode" settings.
7316 (do_test): New procedure.
7317
3693fdb3
PA
73182017-09-04 Pedro Alves <palves@redhat.com>
7319
7320 * gdb.base/func-static.c (S::method const, S::method volatile)
7321 (S::method volatile const): New methods.
7322 (c_s, v_s, cv_s): New instances.
7323 (main): Call method() on them.
7324 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7325 (cannot_resolve): New procedure.
7326 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7327 print-quote-unquoted columns.
7328 (do_test): Test printing each scope too.
7329
e68cb8e0
PA
73302017-09-04 Pedro Alves <palves@redhat.com>
7331
7332 * gdb.base/local-static.exp: Also test with
7333 class::method::variable wholly quoted.
7334 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7335
858be34c
PA
73362017-09-04 Pedro Alves <palves@redhat.com>
7337
7338 * gdb.base/local-static.c: New.
7339 * gdb.base/local-static.cc: New.
7340 * gdb.base/local-static.exp: New.
7341
46a4882b
PA
73422017-09-04 Pedro Alves <palves@redhat.com>
7343
7344 * gdb.asm/asm-source.exp: Add casts to int.
7345 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7346 (dataglobal64_1, dataglobal64_2): New globals.
7347 * gdb.base/nodebug.exp: Test different expressions involving the
7348 new globals, with print, whatis and ptype. Add casts to int.
7349 * gdb.base/solib-display.exp: Add casts to int.
7350 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7351 * gdb.cp/m-static.exp: Add cast to int.
7352 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7353 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7354 tls variable with no debug info without a cast. Test with a cast
7355 to int too.
7356 * gdb.trace/entry-values.exp: Add casts.
7357
2c5a2be1
PA
73582017-09-04 Pedro Alves <palves@redhat.com>
7359
7360 * gdb.base/nodebug.exp: Test that ptype's error about functions
7361 with unknown return type includes the function name too.
7362
7022349d
PA
73632017-09-04 Pedro Alves <palves@redhat.com>
7364
7365 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7366 return type of munmap in infcall.
7367 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7368 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7369 type of ftell in infcall.
7370 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7371 type of getpid in infcall.
7372 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7373 infcall.
7374 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7375 Bail on failure to extract the pid.
7376 * gdb.base/nodebug.c: #include <stdint.h>.
7377 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7378 New functions.
7379 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7380 Change expected output of print/whatis/ptype with functions with
7381 no debug info. Test all supported languages. Call
7382 test_call_promotion.
7383 * gdb.compile/compile.exp: Adjust expected output to expect
7384 warning.
7385 * gdb.threads/siginfo-threads.exp: Likewise.
7386
54990598
PA
73872017-09-04 Pedro Alves <palves@redhat.com>
7388
7389 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7390 "prototypes". Test calling float functions via prototyped and
7391 unprototyped function pointers.
7392 (perform_all_tests): New parameter "prototypes". Pass it down.
7393 (top level): Pass down "prototypes" parameter to
7394 perform_all_tests.
7395
34d16ea2
SM
73962017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7397
7398 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7399 Test with nested loops.
7400
9521ecda
SM
74012017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7402
7403 * gdb.base/commands.exp: Call the new procedures.
7404 (loop_break_test, loop_continue_test): New procedures.
7405
80a65e9b
SM
74062017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7407
7408 * gdb.base/commands.exp: Call new procedure.
7409 (define_if_without_arg_test): New procedure.
7410
e439fa14
PA
74112017-09-04 Pedro Alves <palves@redhat.com>
7412
7413 * gdb.base/list-ambiguous.exp: New file.
7414 * gdb.base/list-ambiguous0.c: New file.
7415 * gdb.base/list-ambiguous1.c: New file.
7416 * gdb.base/list.exp (test_list_range): Adjust expected output.
7417
0a2dde4a
SDJ
74182017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7419
7420 * gdb.base/share-env-with-gdbserver.c: New file.
7421 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7422
5e89eb3a
SM
74232017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7424
7425 * gdb.base/commands.exp (gdbvar_simple_if_test,
7426 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7427 progvar_simple_if_test, progvar_simple_while_test,
7428 progvar_complex_if_while_test, user_defined_command_test,
7429 user_defined_command_args_eval,
7430 user_defined_command_args_stack_test,
7431 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7432 temporary_breakpoint_commands,
7433 gdb_test_no_prompt, redefine_hook_test,
7434 redefine_backtrace_test): Remove "global gdb_prompt".
7435
fd437cbc
SM
74362017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7437
7438 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7439 New proc, call it from toplevel.
7440
87215ad1
SDJ
74412017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7442
7443 PR remote/21852
7444 * gdb.server/normal.c: New file, copied from gdb.base.
7445 * gdb.server/run-without-local-binary.exp: New file.
7446
58afddc6
WP
74472017-08-07 Weimin Pan <weimin.pan@oracle.com>
7448
7449 * gdb.arch/sparc64-adi.exp: New file.
7450 * gdb.arch/sparc64-adi.c: New file.
7451
5277199a
PA
74522017-08-22 Pedro Alves <palves@redhat.com>
7453
7454 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7455 (top level): Add "list all overloads" tests.
7456
14278e1f
TT
74572017-08-22 Tom Tromey <tom@tromey.com>
7458
7459 * gdb.gdb/xfullpath.exp: Remove.
7460
bf223d3e
PA
74612017-08-21 Pedro Alves <palves@redhat.com>
7462
7463 PR gdb/19487
7464 * gdb.base/symbol-alias.c: New.
7465 * gdb.base/symbol-alias2.c: New.
7466 * gdb.base/symbol-alias.exp: New.
7467
c973d0aa
PA
74682017-08-21 Pedro Alves <palves@redhat.com>
7469
7470 * gdb.base/dfp-test.c
7471 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7472 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7473 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7474 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7475 * gdb.base/whatis-ptype-typedefs.c: New.
7476 * gdb.base/whatis-ptype-typedefs.exp: New.
7477 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7478 (an_int, an_int_type, an_int_type2): New globals.
7479 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7480 involving typedefs and cast expressions.
7481 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7482 (lookup_typedefs_function): New.
7483 (typedefs_pretty_printers_dict): New.
7484 (top level): Register lookup_typedefs_function in
7485 gdb.pretty_printers.
7486
6d580b63
YQ
74872017-08-18 Yao Qi <yao.qi@linaro.org>
7488
7489 * gdb.server/unittest.exp: New.
7490
206726fb
SDJ
74912017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7492
7493 PR gdb/21954
7494 * gdb.base/environ.exp: Add test to check if 'unset environment'
7495 works.
7496
bf0ec4c2
AA
74972017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7498
7499 * lib/gdb.exp (universal_compile_options): New caching proc.
7500 (gdb_compile): Suppress GCC's coloring of messages.
7501
d6382fff
TT
75022017-08-14 Tom Tromey <tom@tromey.com>
7503
7504 PR gdb/21675:
7505 * gdb.base/printcmds.exp (test_radices): New function.
7506 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7507 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7508 * lib/gdb.exp (get_integer_valueof): Use p/d.
7509
c2c2dd9f
SM
75102017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7511
7512 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7513 characters.
7514
fdffd6f4
TT
75152017-08-05 Tom Tromey <tom@tromey.com>
7516
7517 * gdb.rust/simple.exp: Allow String to appear in a different
7518 namespace.
7519
27d41eac
YQ
75202017-07-26 Yao Qi <yao.qi@linaro.org>
7521
7522 * gdb.gdb/unittest.exp: Invoke command
7523 "maintenance check xml-descriptions".
7524
031ed05d
AA
75252017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7526
7527 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7528 calling context.
7529 (hex128): Drop erroneous calculation of parameters.
7530
dcd27ddf
SM
75312017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7532
7533 * gdb.python/py-unwind.exp: Disable stack protection when
7534 building test file.
7535
47e77640
PA
75362017-07-20 Pedro Alves <palves@redhat.com>
7537
7538 * gdb.base/default.exp (set language): Adjust expected output.
7539
62d2a18a
PA
75402017-07-20 Pedro Alves <palves@redhat.com>
7541
7542 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7543 (test_minsym): ... this, and make static.
7544 (get_pck__foo__bar__minsym): Rename to ...
7545 (get_test_minsym): ... this.
7546 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7547 symbol names and comments.
7548 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7549 (get_test_minsym): ... this.
7550 (pck__foo__bar__minsym__2): Rename to ...
7551 (test_minsym): ... this.
7552 (main): Adjust.
7553
c45ec17c
PA
75542017-07-17 Pedro Alves <palves@redhat.com>
7555
7556 * gdb.base/completion.exp: Adjust expected output.
7557 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7558 the completer works.
7559
c6756f62
PA
75602017-07-17 Pedro Alves <palves@redhat.com>
7561
7562 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7563
5bd68487
AB
75642017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7565
7566 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7567
8880f2a9
TT
75682017-07-14 Tom Tromey <tom@tromey.com>
7569
7570 PR rust/21764:
7571 * gdb.rust/simple.exp: Add tests.
7572
65547233
TT
75732017-07-14 Tom Tromey <tom@tromey.com>
7574
7575 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7576
8f14146e
PA
75772017-07-14 Pedro Alves <palves@redhat.com>
7578
7579 * gdb.linespec/base/one/thefile.cc (z1): New function.
7580 * gdb.linespec/base/two/thefile.cc (z2): New function.
7581 * gdb.linespec/linespec.exp: Add tests.
7582
b4365d02
AB
75832017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7584
7585 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7586 to mi_create_breakpoint.
7587
5d2cbaa5
AB
75882017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7589
7590 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7591 mi_create_breakpoint.
7592
11cb5716
IB
75932017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7594
7595 * gdb.dlang/demangle.exp: Update for demangling changes.
7596
03278692
TT
75972017-07-09 Tom Tromey <tom@tromey.com>
7598
7599 * gdb.dwarf2/shortpiece.exp: New file.
7600
33c5cd75
DB
76012017-07-06 David Blaikie <dblaikie@gmail.com>
7602
7603 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7604 built from fissiont-multi-cu{1,2}.c.
7605 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7606 except putting 'main' and 'func' in separate CUs in the same DWO file.
7607 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7608 test.
7609 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7610 test.
7611
8455d262
PA
76122017-07-06 Pedro Alves <palves@redhat.com>
7613
7614 * gdb.python/py-unwind.exp: Test flushregs.
7615
dc4bde35
SDJ
76162017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7617
7618 PR cli/21688
7619 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7620 tests for alias commands and trailing whitespace.
7621
51ed89aa
SDJ
76222017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7623
7624 PR cli/21688
7625 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7626 procedure. Call it.
7627
eb17d413
PA
76282017-06-29 Pedro Alves <palves@redhat.com>
7629
7630 * gdb.base/printcmds.exp: Add tests.
7631
41664b45
DG
76322017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7633
7634 PR gdb/21337
7635 * gdb.base/reread-readsym.exp: New file.
7636 * gdb.base/reread-readsym.c: New file.
7637
75312ae3
KB
76382017-06-21 Kevin Buettner <kevinb@redhat.com>
7639
7640 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7641 subpattern.
7642
66953522
PB
76432017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7644
7645 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7646 extended mnemonic.
7647 * gdb.arch/powerpc-power9.s: Likewise.
7648
5524b525
AA
76492017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7650
7651 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7652 on 32-bit x86 targets. Exploit is_*_target macros where
7653 appropriate.
7654
03c8af18
AA
76552017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7656
7657 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7658 register pieces.
7659
3bf31011
AA
76602017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7661
7662 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7663 located in one or more DWARF pieces.
7664
805acca0
AA
76652017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7666
7667 * lib/gdb.exp (get_endianness): New proc.
7668 * gdb.arch/aarch64-fp.exp: Use it.
7669 * gdb.arch/altivec-regs.exp: Likewise.
7670 * gdb.arch/e500-regs.exp: Likewise.
7671 * gdb.arch/vsx-regs.exp: Likewise.
7672 * gdb.base/dump.exp: Likewise.
7673 * gdb.base/funcargs.exp: Likewise.
7674 * gdb.base/gnu_vector.exp: Likewise.
7675 * gdb.dwarf2/formdata16.exp: Likewise.
7676 * gdb.dwarf2/implptrpiece.exp: Likewise.
7677 * gdb.dwarf2/nonvar-access.exp: Likewise.
7678 * gdb.python/py-inferior.exp: Likewise.
7679 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7680
e9352324
AA
76812017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7682
7683 PR gdb/21226
7684 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7685 stack value pieces are taken from the LSB end.
7686
d5d1163e
AA
76872017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7688
7689 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7690 variable at nonzero offset.
7691
0567c986
AA
76922017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7693
7694 * gdb.dwarf2/var-access.c: New file.
7695 * gdb.dwarf2/var-access.exp: New test.
7696 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7697
973e9aab
TT
76982017-06-12 Tom Tromey <tom@tromey.com>
7699
7700 * gdb.dwarf2/formdata16.exp: Add tests.
7701
d9109c80
TT
77022017-06-12 Tom Tromey <tom@tromey.com>
7703
7704 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7705
30a25466
TT
77062017-06-12 Tom Tromey <tom@tromey.com>
7707
7708 PR exp/16225:
7709 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7710 * gdb.arch/vsx-regs.exp: Update tests.
7711 * gdb.arch/s390-vregs.exp (hex128): New proc.
7712 Update test.
7713 * gdb.arch/altivec-regs.exp: Update tests.
7714
aefd8b33
SDJ
77152017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7716
7717 * gdb.base/startup-with-shell.c: New file.
7718 * gdb.base/startup-with-shell.exp: Likewise.
7719
2090129c
SDJ
77202017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7721
7722 * gdb.server/non-existing-program.exp: Update regex in order to
7723 reflect the fact that gdbserver is now using fork_inferior (with a
7724 shell) to startup the inferior.
7725
8e86a419
SM
77262017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7727
7728 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7729 support function calls from GDB.
7730
e6cf65f2
TT
77312017-05-21 Tom Tromey <tom@tromey.com>
7732
7733 PR rust/21466:
7734 * gdb.rust/unsized.exp: New file.
7735 * gdb.rust/unsized.rs: New file.
7736
43cc5389
TT
77372017-05-19 Tom Tromey <tom@tromey.com>
7738
7739 PR rust/21484:
7740 * gdb.rust/watch.exp: New file.
7741 * gdb.rust/watch.rs: New file.
7742
ec8df234
TT
77432017-05-18 Tom Tromey <tom@tromey.com>
7744
7745 * gdb.rust/simple.exp: Allow Box to be qualified.
7746
3e3e7fae
TP
77472017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7748
7749 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7750
59cc050d
PA
77512017-05-18 Pedro Alves <palves@redhat.com>
7752
7753 * gdb.base/fileio.c (test_write, test_read, test_close)
7754 (test_fstat): Don't print 'ret' in the fail path.
7755
c8f6abd1
PA
77562017-05-18 Pedro Alves <palves@redhat.com>
7757
7758 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7759 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7760 (test_system, test_rename, test_unlink, test_time): Change
7761 prototypes.
7762 * gdb.base/fileio.exp (stop_msg): Adjust.
7763
d2a03b77
PA
77642017-05-18 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.base/fileio.c (null_str): New global.
7767 (test_stat): Use it.
7768 * gdb.base/fileio.exp: Remove nowarnings.
7769
0d5c6999
YQ
77702017-05-17 Yao Qi <yao.qi@linaro.org>
7771
7772 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7773
21873064
YQ
77742017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7775
7776 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7777 argument command.
7778 (top-level): Invoke test_set_inferior_tty.
7779
d512d31c
PA
77802017-05-04 Pedro Alves <palves@redhat.com>
7781
7782 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7783 Add parens to print call for Python 3.
7784
90cef2ed
KS
77852017-05-03 Keith Seitz <keiths@redhat.com>
7786
7787 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7788 (main): Call it.
7789
14f819c8
TW
77902017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7791
7792 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7793 to prev and next.
7794
913aeadd
TW
77952017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7796
7797 * gdb.python/py-record-btrace.exp: Remove test for
7798 gdb.BtraceInstruction.error.
7799
a3be24ad
TW
78002017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7801
7802 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7803
ae20e79a
TW
78042017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7805
7806 * gdb.python/py-record-btrace-threads.c: New file.
7807 * gdb.python/py-record-btrace-threads.exp: New file.
7808
45ce1b47
SDJ
78092017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7810
7811 PR testsuite/8595
7812 * gdb.base/environ.exp: Make test available in all architectures.
7813 Move bits related to "info program" testing to
7814 gdb.base/info-program.exp. Rewrite tests to use the two new
7815 procedures mentione below.
7816 (test_set_show_env_var) New procedure.
7817 (test_set_show_env_var_equal): Likewise.
7818 * gdb.base/info-program.exp: New file.
7819
e15c3eb4
KS
78202017-04-27 Keith Seitz <keiths@redhat.com>
7821
7822 * gdb.cp/oranking.cc (test15): New function.
7823 (main): Call test15 and declare additional variables for testing.
7824 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7825 "p foo101('abc')" tests.
7826 Add tests for cv qualifier overloads.
7827 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7828 "lvalue reference overload" test.
7829 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7830 "print value of f1 on Child&& in f2" test.
7831
3a3fd0fd
PA
78322017-04-19 Pedro Alves <palves@redhat.com>
7833
7834 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7835 procedure.
7836 (top level): Call it.
7837 * lib/gdb.exp (gdb_define_cmd): New procedure.
7838
53375380
PA
78392017-04-12 Pedro Alves <palves@redhat.com>
7840
7841 PR gdb/21323
7842 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7843 (wchar): New global.
7844 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7845 (do_test_wide_char, wide_char_types_no_program, top level): Add
7846 wchar_t testing.
7847
53e710ac
PA
78482017-04-12 Pedro Alves <palves@redhat.com>
7849
7850 PR c++/21323
7851 * gdb.cp/wide_char_types.c: New file.
7852 * gdb.cp/wide_char_types.exp: New file.
7853
0ad9d8c7
SDJ
78542017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7855
7856 PR gdb/21352
7857 * gdb.trace/tsv.exp: Add test for "tsave -r".
7858
b1b45502
IB
78592017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7860
7861 * gdb.dlang/watch-loc.c: New file.
7862 * gdb.dlang/watch-loc.exp: New file.
7863
ec13808e
JK
78642017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7865
7866 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7867
fe5f7374
AK
78682017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7869
7870 * gdb.arch/arc-analyze-prologue.S: New file.
7871 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7872
eea78757
AK
78732017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7874
7875 * gdb.arch/arc-decode-insn.S: New file.
7876 * gdb.arch/arc-decode-insn.exp: Likewise.
7877
5badf10a
IR
78782017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7879
7880 PR tdep/20928
7881 * gdb.arch/sparc64-regs.exp: New file.
7882 * gdb.arch/sparc64-regs.S: Likewise.
7883
cee59b3f
TW
78842017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7885
7886 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7887 and memory view on Python 3.
7888
c0f55cc6
AV
78892017-03-20 Artemiy Volkov <artemiyv@acm.org>
7890 Keith Seitz <keiths@redhat.com>
7891
7892 PR gdb/14441
7893 * gdb.cp/demangle.exp: Add rvalue reference tests.
7894 * gdb.cp/rvalue-ref-casts.cc: New file.
7895 * gdb.cp/rvalue-ref-casts.exp: New file.
7896 * gdb.cp/rvalue-ref-overload.cc: New file.
7897 * gdb.cp/rvalue-ref-overload.exp: New file.
7898 * gdb.cp/rvalue-ref-params.cc: New file.
7899 * gdb.cp/rvalue-ref-params.exp: New file.
7900 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7901 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7902 * gdb.cp/rvalue-ref-types.cc: New file.
7903 * gdb.cp/rvalue-ref-types.exp: New file.
7904 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7905 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7906
51457a05
MAL
79072017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7908
7909 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7910 New procedure.
7911
5b291c04
MAL
79122017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7913
7914 * lib/mi-support.exp (mi_gdb_test): Add additional message
7915 for unexpected output.
7916
59a56148
AA
79172017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7918
7919 * gdb.base/examine-backward.c (Barrier): New character array
7920 constant, to ensure that TestStrings is preceded by a string
7921 terminator.
7922
7942e96e
AA
79232017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7924
7925 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7926 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7927 and implicit pointer into such a location.
7928
6ebac3fb
DE
79292017-03-16 Doug Evans <dje@google.com>
7930
7931 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7932
ec3b243d
TP
79332017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7934
7935 * gdb.cp/m-static.exp: Fix expectation for prototype of
7936 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
7937
79382017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
7939
7940 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7941 * gdb.guile/scm-lazy-string.c: New file.
7942 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7943 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7944 for pointer, array, typedef lazy strings.
7945
2cc36e25 79462017-03-16 Doug Evans <dje@google.com>
34b43320
DE
7947
7948 PR python/17728, python/18439, python/18779
7949 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7950 * gdb.python/py-lazy-string.c (pointer): New typedef.
7951 (main): New locals ptr, array, typedef_ptr.
7952 * gdb.python/py-value.exp: Move lazy string tests to ...
7953 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7954 array, typedef lazy strings.
ec3b243d 7955
0efcde63
AK
79562017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7957
7958 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7959 Add optional 'test' parameter.
7960
7978d7c3
SM
79612017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7962
7963 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7964 Skip for versions of DejaGnu < 1.5.
7965
896c0c1e
SM
79662017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7967
7968 * lib/gdb.exp (dejagnu_version): New proc.
7969 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7970 Use dejagnu_version.
7971
5f4d1085
KS
79722017-03-10 Keith Seitz <keiths@redhat.com>
7973
7974 PR c++/8128
7975 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7976 type from destructor regexps.
7977 Add a branch which actually passes the test.
7978 Adjust "ptype t5i" test names.
7979
1de05205
PA
79802017-03-08 Pedro Alves <palves@redhat.com>
7981
7982 * gdb.base/step-over-exit.exp: Add explicit test message.
7983
c65d6b55
PA
79842017-03-08 Pedro Alves <palves@redhat.com>
7985
7986 PR gdb/18360
7987 * gdb.threads/interrupt-while-step-over.c: New file.
7988 * gdb.threads/interrupt-while-step-over.exp: New file.
7989
2e86a283
PA
79902017-03-08 Pedro Alves <palves@redhat.com>
7991
7992 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7993 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7994
25dcbff6
PA
79952017-03-08 Pedro Alves <palves@redhat.com>
7996
7997 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7998 PKRU as not supported as a PASS.
7999
dc9366eb
PA
80002017-03-08 Pedro Alves <palves@redhat.com>
8001
8002 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8003 prefix instead of $binfile1/$binfile2.
8004 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8005 in test message.
8006 * gdb.python/py-completion.exp: Use "load python file" as test
8007 messages instead of unstable path names.
8008
6e5d74e7
PA
80092017-03-08 Pedro Alves <palves@redhat.com>
8010 Jan Kratochvil <jan.kratochvil@redhat.com>
8011
8012 PR cli/21218
8013 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8014 New proc.
8015 (top level): Call it.
8016
9753a2f6
PA
80172017-03-08 Pedro Alves <palves@redhat.com>
8018
8019 PR tui/21216
8020 * gdb.tui/tui-nl-filtered-output.exp: New file.
8021
1a4dd9dd
PA
80222017-03-08 Pedro Alves <palves@redhat.com>
8023
8024 * gdb.base/completion.exp: Move TUI completion tests to ...
8025 * gdb.tui/completion.exp: ... this new file.
8026
7cbbff33
PA
80272017-03-08 Pedro Alves <palves@redhat.com>
8028
8029 * gdb.base/tui-disasm-long-lines.c,
8030 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8031 gdb.base/tui-layout.exp: Move to ...
8032 * gdb.tui/: ... this new directory.
8033
5f6fd321
PA
80342017-03-07 Pedro Alves <palves@redhat.com>
8035
8036 * gdb.base/tui-layout.c: New file.
8037 * gdb.base/tui-layout.exp: New file.
8038
44959fa8
PA
80392017-03-07 Pedro Alves <palves@redhat.com>
8040
8041 * gdb.base/tui-layout.c: Rename to ...
8042 * gdb.base/tui-disasm-long-lines.c: ... this.
8043 * gdb.base/tui-layout.exp: Rename to ...
8044 * gdb.base/tui-disasm-long-lines.exp: ... this.
8045
f8c4e718
PA
80462017-03-07 Pedro Alves <palves@redhat.com>
8047
8048 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8049
6dbb839a 80502017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
8051
8052 * i386-mpx-call.c: New file.
8053 * i386-mpx-call.exp: New file.
8054
65b48a81
PB
80552017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8056
8057 * gdb.arch/powerpc-power.exp: Delete test.
8058 * gdb.arch/powerpc-power.s: Likewise.
8059 * gdb.disasm/disassembler-options.exp: New test.
8060 * gdb.arch/powerpc-altivec.exp: Likewise.
8061 * gdb.arch/powerpc-altivec.s: Likewise.
8062 * gdb.arch/powerpc-altivec2.exp: Likewise.
8063 * gdb.arch/powerpc-altivec2.s: Likewise.
8064 * gdb.arch/powerpc-altivec3.exp: Likewise.
8065 * gdb.arch/powerpc-altivec3.s: Likewise.
8066 * gdb.arch/powerpc-power7.exp: Likewise.
8067 * gdb.arch/powerpc-power7.s: Likewise.
8068 * gdb.arch/powerpc-power8.exp: Likewise.
8069 * gdb.arch/powerpc-power8.s: Likewise.
8070 * gdb.arch/powerpc-power9.exp: Likewise.
8071 * gdb.arch/powerpc-power9.s: Likewise.
8072 * gdb.arch/powerpc-vsx.exp: Likewise.
8073 * gdb.arch/powerpc-vsx.s: Likewise.
8074 * gdb.arch/powerpc-vsx2.exp: Likewise.
8075 * gdb.arch/powerpc-vsx2.s: Likewise.
8076 * gdb.arch/powerpc-vsx3.exp: Likewise.
8077 * gdb.arch/powerpc-vsx3.s: Likewise.
8078 * gdb.arch/arm-disassembler-options.exp: Likewise.
8079 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8080 * gdb.arch/s390-disassembler-options.exp: Likewise.
8081
17cd4947
LM
80822017-02-23 Luis Machado <lgustavo@codesourcery.com>
8083
8084 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8085 (check_supported_features): ... this. Changed return type to void.
8086 (supports_rdseed): New static global.
8087 (rdseed): Check supports_rdseed.
8088 (initialize): Call check_supported_features.
8089
2039d74e
EBM
80902017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8091
8092 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8093 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8094 and lqarx/stqcx.
8095 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8096 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8097
a51d7ecf
EBM
80982017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8099
8100 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8101 uppercase.
8102
0224619f
JK
81032017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8104
8105 * gdb.dwarf2/formdata16.c: New file.
8106 * gdb.dwarf2/formdata16.exp: New file.
8107 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
8108
216f72a1
JK
81092017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8110
8111 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
8112 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
8113 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
8114 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
8115 DW_AT_GNU_*.
8116
43988095
JK
81172017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8118
8119 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
8120
99e8a4f9
SDJ
81212017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
8122
8123 PR gdb/21164
8124 * gdb.base/maint.exp: Add testcases for when the commands do
8125 not have arguments.
8126
b58a8c0c
TP
81272017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
8128
8129 * gdb.cp/chained-calls.exp: Use p instead of P.
8130
4e746bb6
TW
81312017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
8132
8133 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
8134 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
8135
3f77c769
TT
81362017-02-14 Tom Tromey <tom@tromey.com>
8137
8138 PR python/13598:
8139 * gdb.python/py-events.exp: Add before_prompt event tests.
8140
075beec0
AA
81412017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8142
8143 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
8144
bf5f525c
LM
81452017-02-13 Luis Machado <lgustavo@codesourcery.com>
8146
8147 * gdb.linespec/explicit.c (my_unique_function_name): New function.
8148 (main): Call my_unique_function_name.
8149 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
8150 completion of patterns with a single match.
8151 Add missing -re switches to gdb_test_multiple calls.
8152
13a66184
LM
81532017-02-13 Luis Machado <lgustavo@codesourcery.com>
8154
8155 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
8156 return if core file is not recognized.
8157
26a06916
SM
81582017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8159
8160 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
8161 and extra UIs.
8162
b761ca9e
SM
81632017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8164
8165 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
8166 proc_with_prefix.
8167
b964bee0
TT
81682017-02-10 Tom Tromey <tom@tromey.com>
8169
8170 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8171
18da0c51
MG
81722017-02-10 Martin Galvan <martingalvan@sourceware.org>
8173
8174 PR gdb/21122
8175 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8176
604c4576
JG
81772017-02-08 Jerome Guitton <guitton@adacore.com>
8178
8179 * gdb.base/define.exp: Add test for command abbreviations
8180 in define.
8181
20b477a7
LM
81822017-02-06 Luis Machado <lgustavo@codesourcery.com>
8183
8184 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8185 * gdb.reverse/insn-reverse-x86.c: New file.
8186
3f7b46f2
IR
81872017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8188
8189 PR tdep/20936
8190 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8191
f0fd41c1
TT
81922017-02-03 Tom Tromey <tom@tromey.com>
8193
8194 PR rust/21097:
8195 * gdb.rust/simple.exp: Add new tests.
8196
5be5dbf0
PA
81972017-02-02 Pedro Alves <palves@redhat.com>
8198
8199 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8200 tests.
8201
7346ef59
AA
82022017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8203
8204 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8205 taking a 2-byte value out of a 4-byte DWARF implicit value on
8206 big-endian targets.
8207 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8208 logic. Add test cases for DW_OP_implicit.
8209
787f0025
MM
82102017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8211
8212 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8213
68777c29
MM
82142017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8215
8216 * gdb.btrace/enable.exp: Call gdb_exit before
8217 skip_gdbserver_tests.
8218
0a1c7e28
MM
82192017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8220
8221 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8222 GDBFLAGS.
8223
b5ac99b0
MM
82242017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8225
8226 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8227 the test is skipped.
8228 * gdb.btrace/data.exp: Likewise.
8229 * gdb.btrace/delta.exp: Likewise.
8230 * gdb.btrace/dlopen.exp: Likewise.
8231 * gdb.btrace/enable-running.exp: Likewise.
8232 * gdb.btrace/enable.exp: Likewise.
8233 * gdb.btrace/exception.exp: Likewise.
8234 * gdb.btrace/function_call_history.exp: Likewise.
8235 * gdb.btrace/gcore.exp: Likewise.
8236 * gdb.btrace/instruction_history.exp: Likewise.
8237 * gdb.btrace/multi-thread-step.exp: Likewise.
8238 * gdb.btrace/nohist.exp: Likewise.
8239 * gdb.btrace/non-stop.exp: Likewise.
8240 * gdb.btrace/reconnect.exp: Likewise.
8241 * gdb.btrace/record_goto-step.exp: Likewise.
8242 * gdb.btrace/record_goto.exp: Likewise.
8243 * gdb.btrace/rn-dl-bind.exp: Likewise.
8244 * gdb.btrace/segv.exp: Likewise.
8245 * gdb.btrace/step.exp: Likewise.
8246 * gdb.btrace/stepi.exp: Likewise.
8247 * gdb.btrace/tailcall-only.exp: Likewise.
8248 * gdb.btrace/tailcall.exp: Likewise.
8249 * gdb.btrace/tsx.exp: Likewise.
8250 * gdb.btrace/unknown_functions.exp: Likewise.
8251 * gdb.btrace/vdso.exp: Likewise.
8252
cd4007e4
MM
82532017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8254
8255 * gdb.btrace/enable-running.c: New.
8256 * gdb.btrace/enable-running.exp: New.
8257
2735833d
WT
82582017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8259
8260 * gdb.arch/amd64-gs_base.c: New file.
8261 * gdb.arch/amd64-gs_base.exp: New file.
8262
b51e1e94
LM
82632017-01-26 Luis Machado <lgustavo@codesourcery.com>
8264
8265 * lib/memory.exp: Remove spurious empty newlines.
8266
72ca0410
SM
82672017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8268
8269 * gdb.python/py-bad-printers.exp: Load python file using "source".
8270 * gdb.python/py-events.exp: Likewise.
8271 * gdb.python/py-evsignal.exp: Likewise.
8272 * gdb.python/py-evthreads.exp: Likewise.
8273 * gdb.python/py-frame-args.exp: Likewise.
8274 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8275 * gdb.python/py-framefilter-mi.exp: Likewise.
8276 * gdb.python/py-framefilter.exp: Likewise.
8277 * gdb.python/py-mi.exp: Likewise.
8278 * gdb.python/py-pp-maint.exp: Likewise.
8279 * gdb.python/py-pp-registration.exp: Likewise.
8280 * gdb.python/py-prettyprint.exp: Likewise.
8281 (run_lang_tests): Likewise.
8282 * gdb.python/py-typeprint.exp: Likewise.
8283
e309aa65
LM
82842017-01-26 Luis Machado <lgustavo@codesourcery.com>
8285
8286 * lib/memory.exp: New file.
8287 * lib/gdb.exp: Load memory.exp.
8288 * gdb.base/memattr.exp (delete_memory): Move proc to
8289 lib/memory.exp and rename to delete_memory_regions.
8290 Replace delete_memory with delete_memory_regions.
8291 Cleanup memory regions before tests.
8292 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8293 before tests.
8294
515aff23
LM
82952017-01-26 Luis Machado <lgustavo@codesourcery.com>
8296
8297 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8298 files.
8299 (initialize): New function conditionally defined.
8300 (testcases): Move within conditional block.
8301 (main): Call initialize.
8302 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8303 of gdb.reverse/insn-reverse.c.
8304 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8305 gdb.reverse/insn-reverse.c.
8306
d8b49cf0
YQ
83072017-01-26 Yao Qi <yao.qi@linaro.org>
8308
8309 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8310 disassemble on address 0.
8311
f13a9a0c
YQ
83122017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8313 Yao Qi <yao.qi@linaro.org>
8314
8315 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8316 * gdb.dwarf2/implptr-64bit.S: Remove.
8317 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8318 variables in caller's context. Add DW_OP_implicit_value.
8319
5ac95241
YQ
83202017-01-25 Yao Qi <yao.qi@linaro.org>
8321
8322 * lib/dwarf.exp (Dwarf::_location): Handle
8323 DW_OP_GNU_implicit_pointer with proper size.
8324
23e82930
LM
83252017-01-20 Luis Machado <lgustavo@codesourcery.com>
8326
8327 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8328 and add untested calls.
8329
d334ae25
LM
83302017-01-20 Luis Machado <lgustavo@codesourcery.com>
8331
8332 * gdb.python/python.exp: Check line number against what GDB thinks
8333 the line number is for func1.
8334
f5e6296e
IB
83352017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8336
8337 * gdb.dlang/debug-expr.exp: New file.
8338
5b362f04
LM
83392016-12-23 Luis Machado <lgustavo@codesourcery.com>
8340
8341 Fix test names for the following files:
8342
8343 * gdb.ada/exec_changed.exp
8344 * gdb.ada/info_types.exp
8345 * gdb.arch/aarch64-atomic-inst.exp
8346 * gdb.arch/aarch64-fp.exp
8347 * gdb.arch/altivec-abi.exp
8348 * gdb.arch/altivec-regs.exp
8349 * gdb.arch/amd64-byte.exp
8350 * gdb.arch/amd64-disp-step.exp
8351 * gdb.arch/amd64-dword.exp
8352 * gdb.arch/amd64-entry-value-inline.exp
8353 * gdb.arch/amd64-entry-value-param.exp
8354 * gdb.arch/amd64-entry-value-paramref.exp
8355 * gdb.arch/amd64-entry-value.exp
8356 * gdb.arch/amd64-i386-address.exp
8357 * gdb.arch/amd64-invalid-stack-middle.exp
8358 * gdb.arch/amd64-invalid-stack-top.exp
8359 * gdb.arch/amd64-optimout-repeat.exp
8360 * gdb.arch/amd64-prologue-skip.exp
8361 * gdb.arch/amd64-prologue-xmm.exp
8362 * gdb.arch/amd64-stap-special-operands.exp
8363 * gdb.arch/amd64-stap-wrong-subexp.exp
8364 * gdb.arch/amd64-tailcall-cxx.exp
8365 * gdb.arch/amd64-tailcall-noret.exp
8366 * gdb.arch/amd64-tailcall-ret.exp
8367 * gdb.arch/amd64-tailcall-self.exp
8368 * gdb.arch/amd64-word.exp
8369 * gdb.arch/arm-bl-branch-dest.exp
8370 * gdb.arch/arm-disp-step.exp
8371 * gdb.arch/arm-neon.exp
8372 * gdb.arch/arm-single-step-kernel-helper.exp
8373 * gdb.arch/avr-flash-qualifier.exp
8374 * gdb.arch/disp-step-insn-reloc.exp
8375 * gdb.arch/e500-abi.exp
8376 * gdb.arch/e500-regs.exp
8377 * gdb.arch/ftrace-insn-reloc.exp
8378 * gdb.arch/i386-avx512.exp
8379 * gdb.arch/i386-bp_permanent.exp
8380 * gdb.arch/i386-byte.exp
8381 * gdb.arch/i386-cfi-notcurrent.exp
8382 * gdb.arch/i386-disp-step.exp
8383 * gdb.arch/i386-dr3-watch.exp
8384 * gdb.arch/i386-float.exp
8385 * gdb.arch/i386-gnu-cfi.exp
8386 * gdb.arch/i386-mpx-map.exp
8387 * gdb.arch/i386-mpx-sigsegv.exp
8388 * gdb.arch/i386-mpx-simple_segv.exp
8389 * gdb.arch/i386-mpx.exp
8390 * gdb.arch/i386-permbkpt.exp
8391 * gdb.arch/i386-prologue.exp
8392 * gdb.arch/i386-signal.exp
8393 * gdb.arch/i386-size-overlap.exp
8394 * gdb.arch/i386-unwind.exp
8395 * gdb.arch/i386-word.exp
8396 * gdb.arch/mips-fcr.exp
8397 * gdb.arch/powerpc-d128-regs.exp
8398 * gdb.arch/powerpc-stackless.exp
8399 * gdb.arch/ppc64-atomic-inst.exp
8400 * gdb.arch/s390-stackless.exp
8401 * gdb.arch/s390-tdbregs.exp
8402 * gdb.arch/s390-vregs.exp
8403 * gdb.arch/sparc-sysstep.exp
8404 * gdb.arch/thumb-bx-pc.exp
8405 * gdb.arch/thumb-singlestep.exp
8406 * gdb.arch/thumb2-it.exp
8407 * gdb.arch/vsx-regs.exp
8408 * gdb.asm/asm-source.exp
8409 * gdb.base/a2-run.exp
8410 * gdb.base/advance.exp
8411 * gdb.base/all-bin.exp
8412 * gdb.base/anon.exp
8413 * gdb.base/args.exp
8414 * gdb.base/arithmet.exp
8415 * gdb.base/async-shell.exp
8416 * gdb.base/async.exp
8417 * gdb.base/attach-pie-noexec.exp
8418 * gdb.base/attach-twice.exp
8419 * gdb.base/auto-load.exp
8420 * gdb.base/bang.exp
8421 * gdb.base/bitfields.exp
8422 * gdb.base/break-always.exp
8423 * gdb.base/break-caller-line.exp
8424 * gdb.base/break-entry.exp
8425 * gdb.base/break-inline.exp
8426 * gdb.base/break-on-linker-gcd-function.exp
8427 * gdb.base/break-probes.exp
8428 * gdb.base/break.exp
8429 * gdb.base/breakpoint-shadow.exp
8430 * gdb.base/call-ar-st.exp
8431 * gdb.base/call-sc.exp
8432 * gdb.base/call-signal-resume.exp
8433 * gdb.base/call-strs.exp
8434 * gdb.base/callfuncs.exp
8435 * gdb.base/catch-fork-static.exp
8436 * gdb.base/catch-gdb-caused-signals.exp
8437 * gdb.base/catch-load.exp
8438 * gdb.base/catch-signal-fork.exp
8439 * gdb.base/catch-signal.exp
8440 * gdb.base/catch-syscall.exp
8441 * gdb.base/charset.exp
8442 * gdb.base/checkpoint.exp
8443 * gdb.base/chng-syms.exp
8444 * gdb.base/code-expr.exp
8445 * gdb.base/code_elim.exp
8446 * gdb.base/commands.exp
8447 * gdb.base/completion.exp
8448 * gdb.base/complex.exp
8449 * gdb.base/cond-expr.exp
8450 * gdb.base/condbreak.exp
8451 * gdb.base/consecutive.exp
8452 * gdb.base/continue-all-already-running.exp
8453 * gdb.base/coredump-filter.exp
8454 * gdb.base/corefile.exp
8455 * gdb.base/dbx.exp
8456 * gdb.base/debug-expr.exp
8457 * gdb.base/define.exp
8458 * gdb.base/del.exp
8459 * gdb.base/disabled-location.exp
8460 * gdb.base/disasm-end-cu.exp
8461 * gdb.base/disasm-optim.exp
8462 * gdb.base/display.exp
8463 * gdb.base/duplicate-bp.exp
8464 * gdb.base/ena-dis-br.exp
8465 * gdb.base/ending-run.exp
8466 * gdb.base/enumval.exp
8467 * gdb.base/environ.exp
8468 * gdb.base/eu-strip-infcall.exp
8469 * gdb.base/eval-avoid-side-effects.exp
8470 * gdb.base/eval-skip.exp
8471 * gdb.base/exitsignal.exp
8472 * gdb.base/expand-psymtabs.exp
8473 * gdb.base/filesym.exp
8474 * gdb.base/find-unmapped.exp
8475 * gdb.base/finish.exp
8476 * gdb.base/float.exp
8477 * gdb.base/foll-exec-mode.exp
8478 * gdb.base/foll-exec.exp
8479 * gdb.base/foll-fork.exp
8480 * gdb.base/fortran-sym-case.exp
8481 * gdb.base/freebpcmd.exp
8482 * gdb.base/func-ptr.exp
8483 * gdb.base/func-ptrs.exp
8484 * gdb.base/funcargs.exp
8485 * gdb.base/gcore-buffer-overflow.exp
8486 * gdb.base/gcore-relro-pie.exp
8487 * gdb.base/gcore-relro.exp
8488 * gdb.base/gcore.exp
8489 * gdb.base/gdb1090.exp
8490 * gdb.base/gdb11530.exp
8491 * gdb.base/gdb11531.exp
8492 * gdb.base/gdb1821.exp
8493 * gdb.base/gdbindex-stabs.exp
8494 * gdb.base/gdbvars.exp
8495 * gdb.base/hbreak.exp
8496 * gdb.base/hbreak2.exp
8497 * gdb.base/included.exp
8498 * gdb.base/infcall-input.exp
8499 * gdb.base/inferior-died.exp
8500 * gdb.base/infnan.exp
8501 * gdb.base/info-macros.exp
8502 * gdb.base/info-os.exp
8503 * gdb.base/info-proc.exp
8504 * gdb.base/info-shared.exp
8505 * gdb.base/info-target.exp
8506 * gdb.base/infoline.exp
8507 * gdb.base/interp.exp
8508 * gdb.base/interrupt.exp
8509 * gdb.base/jit-reader.exp
8510 * gdb.base/jit-simple.exp
8511 * gdb.base/kill-after-signal.exp
8512 * gdb.base/kill-detach-inferiors-cmd.exp
8513 * gdb.base/label.exp
8514 * gdb.base/langs.exp
8515 * gdb.base/ldbl_e308.exp
8516 * gdb.base/line-symtabs.exp
8517 * gdb.base/linespecs.exp
8518 * gdb.base/list.exp
8519 * gdb.base/long_long.exp
8520 * gdb.base/longest-types.exp
8521 * gdb.base/maint.exp
8522 * gdb.base/max-value-size.exp
8523 * gdb.base/memattr.exp
8524 * gdb.base/mips_pro.exp
8525 * gdb.base/morestack.exp
8526 * gdb.base/moribund-step.exp
8527 * gdb.base/multi-forks.exp
8528 * gdb.base/nested-addr.exp
8529 * gdb.base/nextoverexit.exp
8530 * gdb.base/noreturn-finish.exp
8531 * gdb.base/noreturn-return.exp
8532 * gdb.base/nostdlib.exp
8533 * gdb.base/offsets.exp
8534 * gdb.base/opaque.exp
8535 * gdb.base/pc-fp.exp
8536 * gdb.base/permissions.exp
8537 * gdb.base/print-symbol-loading.exp
8538 * gdb.base/prologue-include.exp
8539 * gdb.base/psymtab.exp
8540 * gdb.base/ptype.exp
8541 * gdb.base/random-signal.exp
8542 * gdb.base/randomize.exp
8543 * gdb.base/range-stepping.exp
8544 * gdb.base/readline-ask.exp
8545 * gdb.base/recpar.exp
8546 * gdb.base/recurse.exp
8547 * gdb.base/relational.exp
8548 * gdb.base/restore.exp
8549 * gdb.base/return-nodebug.exp
8550 * gdb.base/return.exp
8551 * gdb.base/run-after-attach.exp
8552 * gdb.base/save-bp.exp
8553 * gdb.base/scope.exp
8554 * gdb.base/sect-cmd.exp
8555 * gdb.base/set-lang-auto.exp
8556 * gdb.base/set-noassign.exp
8557 * gdb.base/setvar.exp
8558 * gdb.base/sigall.exp
8559 * gdb.base/sigbpt.exp
8560 * gdb.base/siginfo-addr.exp
8561 * gdb.base/siginfo-infcall.exp
8562 * gdb.base/siginfo-obj.exp
8563 * gdb.base/siginfo.exp
8564 * gdb.base/signals-state-child.exp
8565 * gdb.base/signest.exp
8566 * gdb.base/sigstep.exp
8567 * gdb.base/sizeof.exp
8568 * gdb.base/skip.exp
8569 * gdb.base/solib-corrupted.exp
8570 * gdb.base/solib-nodir.exp
8571 * gdb.base/solib-search.exp
8572 * gdb.base/stack-checking.exp
8573 * gdb.base/stale-infcall.exp
8574 * gdb.base/stap-probe.exp
8575 * gdb.base/start.exp
8576 * gdb.base/step-break.exp
8577 * gdb.base/step-bt.exp
8578 * gdb.base/step-line.exp
8579 * gdb.base/step-over-exit.exp
8580 * gdb.base/step-over-syscall.exp
8581 * gdb.base/step-resume-infcall.exp
8582 * gdb.base/step-test.exp
8583 * gdb.base/store.exp
8584 * gdb.base/structs3.exp
8585 * gdb.base/sym-file.exp
8586 * gdb.base/symbol-without-target_section.exp
8587 * gdb.base/term.exp
8588 * gdb.base/testenv.exp
8589 * gdb.base/ui-redirect.exp
8590 * gdb.base/until.exp
8591 * gdb.base/unwindonsignal.exp
8592 * gdb.base/value-double-free.exp
8593 * gdb.base/vla-datatypes.exp
8594 * gdb.base/vla-ptr.exp
8595 * gdb.base/vla-sideeffect.exp
8596 * gdb.base/volatile.exp
8597 * gdb.base/watch-cond-infcall.exp
8598 * gdb.base/watch-cond.exp
8599 * gdb.base/watch-non-mem.exp
8600 * gdb.base/watch-read.exp
8601 * gdb.base/watch-vfork.exp
8602 * gdb.base/watchpoint-cond-gone.exp
8603 * gdb.base/watchpoint-delete.exp
8604 * gdb.base/watchpoint-hw-hit-once.exp
8605 * gdb.base/watchpoint-hw.exp
8606 * gdb.base/watchpoint-stops-at-right-insn.exp
8607 * gdb.base/watchpoints.exp
8608 * gdb.base/wchar.exp
8609 * gdb.base/whatis-exp.exp
8610 * gdb.btrace/buffer-size.exp
8611 * gdb.btrace/data.exp
8612 * gdb.btrace/delta.exp
8613 * gdb.btrace/dlopen.exp
8614 * gdb.btrace/enable.exp
8615 * gdb.btrace/exception.exp
8616 * gdb.btrace/function_call_history.exp
8617 * gdb.btrace/gcore.exp
8618 * gdb.btrace/instruction_history.exp
8619 * gdb.btrace/nohist.exp
8620 * gdb.btrace/reconnect.exp
8621 * gdb.btrace/record_goto-step.exp
8622 * gdb.btrace/record_goto.exp
8623 * gdb.btrace/rn-dl-bind.exp
8624 * gdb.btrace/segv.exp
8625 * gdb.btrace/step.exp
8626 * gdb.btrace/stepi.exp
8627 * gdb.btrace/tailcall-only.exp
8628 * gdb.btrace/tailcall.exp
8629 * gdb.btrace/tsx.exp
8630 * gdb.btrace/unknown_functions.exp
8631 * gdb.btrace/vdso.exp
8632 * gdb.compile/compile-ifunc.exp
8633 * gdb.compile/compile-ops.exp
8634 * gdb.compile/compile-print.exp
8635 * gdb.compile/compile-setjmp.exp
8636 * gdb.cp/abstract-origin.exp
8637 * gdb.cp/ambiguous.exp
8638 * gdb.cp/annota2.exp
8639 * gdb.cp/annota3.exp
8640 * gdb.cp/anon-ns.exp
8641 * gdb.cp/anon-struct.exp
8642 * gdb.cp/anon-union.exp
8643 * gdb.cp/arg-reference.exp
8644 * gdb.cp/baseenum.exp
8645 * gdb.cp/bool.exp
8646 * gdb.cp/breakpoint.exp
8647 * gdb.cp/bs15503.exp
8648 * gdb.cp/call-c.exp
8649 * gdb.cp/casts.exp
8650 * gdb.cp/chained-calls.exp
8651 * gdb.cp/class2.exp
8652 * gdb.cp/classes.exp
8653 * gdb.cp/cmpd-minsyms.exp
8654 * gdb.cp/converts.exp
8655 * gdb.cp/cp-relocate.exp
8656 * gdb.cp/cpcompletion.exp
8657 * gdb.cp/cpexprs.exp
8658 * gdb.cp/cplabel.exp
8659 * gdb.cp/cplusfuncs.exp
8660 * gdb.cp/cpsizeof.exp
8661 * gdb.cp/ctti.exp
8662 * gdb.cp/derivation.exp
8663 * gdb.cp/destrprint.exp
8664 * gdb.cp/dispcxx.exp
8665 * gdb.cp/enum-class.exp
8666 * gdb.cp/exception.exp
8667 * gdb.cp/exceptprint.exp
8668 * gdb.cp/expand-psymtabs-cxx.exp
8669 * gdb.cp/expand-sals.exp
8670 * gdb.cp/extern-c.exp
8671 * gdb.cp/filename.exp
8672 * gdb.cp/formatted-ref.exp
8673 * gdb.cp/fpointer.exp
8674 * gdb.cp/gdb1355.exp
8675 * gdb.cp/gdb2495.exp
8676 * gdb.cp/hang.exp
8677 * gdb.cp/impl-this.exp
8678 * gdb.cp/infcall-dlopen.exp
8679 * gdb.cp/inherit.exp
8680 * gdb.cp/iostream.exp
8681 * gdb.cp/koenig.exp
8682 * gdb.cp/local.exp
8683 * gdb.cp/m-data.exp
8684 * gdb.cp/m-static.exp
8685 * gdb.cp/mb-ctor.exp
8686 * gdb.cp/mb-inline.exp
8687 * gdb.cp/mb-templates.exp
8688 * gdb.cp/member-name.exp
8689 * gdb.cp/member-ptr.exp
8690 * gdb.cp/meth-typedefs.exp
8691 * gdb.cp/method.exp
8692 * gdb.cp/method2.exp
8693 * gdb.cp/minsym-fallback.exp
8694 * gdb.cp/misc.exp
8695 * gdb.cp/namelessclass.exp
8696 * gdb.cp/namespace-enum.exp
8697 * gdb.cp/namespace-nested-import.exp
8698 * gdb.cp/namespace.exp
8699 * gdb.cp/nextoverthrow.exp
8700 * gdb.cp/no-dmgl-verbose.exp
8701 * gdb.cp/non-trivial-retval.exp
8702 * gdb.cp/noparam.exp
8703 * gdb.cp/nsdecl.exp
8704 * gdb.cp/nsimport.exp
8705 * gdb.cp/nsnested.exp
8706 * gdb.cp/nsnoimports.exp
8707 * gdb.cp/nsrecurs.exp
8708 * gdb.cp/nsstress.exp
8709 * gdb.cp/nsusing.exp
8710 * gdb.cp/operator.exp
8711 * gdb.cp/oranking.exp
8712 * gdb.cp/overload-const.exp
8713 * gdb.cp/overload.exp
8714 * gdb.cp/ovldbreak.exp
8715 * gdb.cp/ovsrch.exp
8716 * gdb.cp/paren-type.exp
8717 * gdb.cp/parse-lang.exp
8718 * gdb.cp/pass-by-ref.exp
8719 * gdb.cp/pr-1023.exp
8720 * gdb.cp/pr-1210.exp
8721 * gdb.cp/pr-574.exp
8722 * gdb.cp/pr10687.exp
8723 * gdb.cp/pr12028.exp
8724 * gdb.cp/pr17132.exp
8725 * gdb.cp/pr17494.exp
8726 * gdb.cp/pr9067.exp
8727 * gdb.cp/pr9167.exp
8728 * gdb.cp/pr9631.exp
8729 * gdb.cp/printmethod.exp
8730 * gdb.cp/psmang.exp
8731 * gdb.cp/psymtab-parameter.exp
8732 * gdb.cp/ptype-cv-cp.exp
8733 * gdb.cp/ptype-flags.exp
8734 * gdb.cp/re-set-overloaded.exp
8735 * gdb.cp/ref-types.exp
8736 * gdb.cp/rtti.exp
8737 * gdb.cp/scope-err.exp
8738 * gdb.cp/shadow.exp
8739 * gdb.cp/smartp.exp
8740 * gdb.cp/static-method.exp
8741 * gdb.cp/static-print-quit.exp
8742 * gdb.cp/temargs.exp
8743 * gdb.cp/templates.exp
8744 * gdb.cp/try_catch.exp
8745 * gdb.cp/typedef-operator.exp
8746 * gdb.cp/typeid.exp
8747 * gdb.cp/userdef.exp
8748 * gdb.cp/using-crash.exp
8749 * gdb.cp/var-tag.exp
8750 * gdb.cp/virtbase.exp
8751 * gdb.cp/virtfunc.exp
8752 * gdb.cp/virtfunc2.exp
8753 * gdb.cp/vla-cxx.exp
8754 * gdb.disasm/t01_mov.exp
8755 * gdb.disasm/t02_mova.exp
8756 * gdb.disasm/t03_add.exp
8757 * gdb.disasm/t04_sub.exp
8758 * gdb.disasm/t05_cmp.exp
8759 * gdb.disasm/t06_ari2.exp
8760 * gdb.disasm/t07_ari3.exp
8761 * gdb.disasm/t08_or.exp
8762 * gdb.disasm/t09_xor.exp
8763 * gdb.disasm/t10_and.exp
8764 * gdb.disasm/t11_logs.exp
8765 * gdb.disasm/t12_bit.exp
8766 * gdb.disasm/t13_otr.exp
8767 * gdb.dlang/circular.exp
8768 * gdb.dwarf2/arr-stride.exp
8769 * gdb.dwarf2/arr-subrange.exp
8770 * gdb.dwarf2/atomic-type.exp
8771 * gdb.dwarf2/bad-regnum.exp
8772 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8773 * gdb.dwarf2/callframecfa.exp
8774 * gdb.dwarf2/clztest.exp
8775 * gdb.dwarf2/corrupt.exp
8776 * gdb.dwarf2/data-loc.exp
8777 * gdb.dwarf2/dup-psym.exp
8778 * gdb.dwarf2/dw2-anon-mptr.exp
8779 * gdb.dwarf2/dw2-anonymous-func.exp
8780 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8781 * gdb.dwarf2/dw2-bad-unresolved.exp
8782 * gdb.dwarf2/dw2-basic.exp
8783 * gdb.dwarf2/dw2-canonicalize-type.exp
8784 * gdb.dwarf2/dw2-case-insensitive.exp
8785 * gdb.dwarf2/dw2-common-block.exp
8786 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8787 * gdb.dwarf2/dw2-compressed.exp
8788 * gdb.dwarf2/dw2-const.exp
8789 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8790 * gdb.dwarf2/dw2-cu-size.exp
8791 * gdb.dwarf2/dw2-dup-frame.exp
8792 * gdb.dwarf2/dw2-entry-value.exp
8793 * gdb.dwarf2/dw2-icycle.exp
8794 * gdb.dwarf2/dw2-ifort-parameter.exp
8795 * gdb.dwarf2/dw2-inline-break.exp
8796 * gdb.dwarf2/dw2-inline-param.exp
8797 * gdb.dwarf2/dw2-intercu.exp
8798 * gdb.dwarf2/dw2-intermix.exp
8799 * gdb.dwarf2/dw2-lexical-block-bare.exp
8800 * gdb.dwarf2/dw2-linkage-name-trust.exp
8801 * gdb.dwarf2/dw2-minsym-in-cu.exp
8802 * gdb.dwarf2/dw2-noloc.exp
8803 * gdb.dwarf2/dw2-op-call.exp
8804 * gdb.dwarf2/dw2-op-out-param.exp
8805 * gdb.dwarf2/dw2-opt-structptr.exp
8806 * gdb.dwarf2/dw2-param-error.exp
8807 * gdb.dwarf2/dw2-producer.exp
8808 * gdb.dwarf2/dw2-ranges-base.exp
8809 * gdb.dwarf2/dw2-ref-missing-frame.exp
8810 * gdb.dwarf2/dw2-reg-undefined.exp
8811 * gdb.dwarf2/dw2-regno-invalid.exp
8812 * gdb.dwarf2/dw2-restore.exp
8813 * gdb.dwarf2/dw2-restrict.exp
8814 * gdb.dwarf2/dw2-single-line-discriminators.exp
8815 * gdb.dwarf2/dw2-strp.exp
8816 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8817 * gdb.dwarf2/dw2-unresolved.exp
8818 * gdb.dwarf2/dw2-var-zero-addr.exp
8819 * gdb.dwarf2/dw4-sig-types.exp
8820 * gdb.dwarf2/dwz.exp
8821 * gdb.dwarf2/dynarr-ptr.exp
8822 * gdb.dwarf2/enum-type.exp
8823 * gdb.dwarf2/gdb-index.exp
8824 * gdb.dwarf2/implptr-64bit.exp
8825 * gdb.dwarf2/implptr-optimized-out.exp
8826 * gdb.dwarf2/implptr.exp
8827 * gdb.dwarf2/implref-array.exp
8828 * gdb.dwarf2/implref-const.exp
8829 * gdb.dwarf2/implref-global.exp
8830 * gdb.dwarf2/implref-struct.exp
8831 * gdb.dwarf2/mac-fileno.exp
8832 * gdb.dwarf2/main-subprogram.exp
8833 * gdb.dwarf2/member-ptr-forwardref.exp
8834 * gdb.dwarf2/method-ptr.exp
8835 * gdb.dwarf2/missing-sig-type.exp
8836 * gdb.dwarf2/nonvar-access.exp
8837 * gdb.dwarf2/opaque-type-lookup.exp
8838 * gdb.dwarf2/pieces-optimized-out.exp
8839 * gdb.dwarf2/pieces.exp
8840 * gdb.dwarf2/pr10770.exp
8841 * gdb.dwarf2/pr13961.exp
8842 * gdb.dwarf2/staticvirtual.exp
8843 * gdb.dwarf2/subrange.exp
8844 * gdb.dwarf2/symtab-producer.exp
8845 * gdb.dwarf2/trace-crash.exp
8846 * gdb.dwarf2/typeddwarf.exp
8847 * gdb.dwarf2/valop.exp
8848 * gdb.dwarf2/watch-notconst.exp
8849 * gdb.fortran/array-element.exp
8850 * gdb.fortran/charset.exp
8851 * gdb.fortran/common-block.exp
8852 * gdb.fortran/complex.exp
8853 * gdb.fortran/derived-type-function.exp
8854 * gdb.fortran/derived-type.exp
8855 * gdb.fortran/logical.exp
8856 * gdb.fortran/module.exp
8857 * gdb.fortran/multi-dim.exp
8858 * gdb.fortran/nested-funcs.exp
8859 * gdb.fortran/print-formatted.exp
8860 * gdb.fortran/subarray.exp
8861 * gdb.fortran/vla-alloc-assoc.exp
8862 * gdb.fortran/vla-datatypes.exp
8863 * gdb.fortran/vla-history.exp
8864 * gdb.fortran/vla-ptr-info.exp
8865 * gdb.fortran/vla-ptype-sub.exp
8866 * gdb.fortran/vla-ptype.exp
8867 * gdb.fortran/vla-sizeof.exp
8868 * gdb.fortran/vla-type.exp
8869 * gdb.fortran/vla-value-sub-arbitrary.exp
8870 * gdb.fortran/vla-value-sub-finish.exp
8871 * gdb.fortran/vla-value-sub.exp
8872 * gdb.fortran/vla-value.exp
8873 * gdb.fortran/whatis_type.exp
8874 * gdb.go/chan.exp
8875 * gdb.go/handcall.exp
8876 * gdb.go/hello.exp
8877 * gdb.go/integers.exp
8878 * gdb.go/methods.exp
8879 * gdb.go/package.exp
8880 * gdb.go/strings.exp
8881 * gdb.go/types.exp
8882 * gdb.go/unsafe.exp
8883 * gdb.guile/scm-arch.exp
8884 * gdb.guile/scm-block.exp
8885 * gdb.guile/scm-breakpoint.exp
8886 * gdb.guile/scm-cmd.exp
8887 * gdb.guile/scm-disasm.exp
8888 * gdb.guile/scm-equal.exp
8889 * gdb.guile/scm-frame-args.exp
8890 * gdb.guile/scm-frame-inline.exp
8891 * gdb.guile/scm-frame.exp
8892 * gdb.guile/scm-iterator.exp
8893 * gdb.guile/scm-math.exp
8894 * gdb.guile/scm-objfile.exp
8895 * gdb.guile/scm-ports.exp
8896 * gdb.guile/scm-symbol.exp
8897 * gdb.guile/scm-symtab.exp
8898 * gdb.guile/scm-value-cc.exp
8899 * gdb.guile/types-module.exp
8900 * gdb.linespec/break-ask.exp
8901 * gdb.linespec/cpexplicit.exp
8902 * gdb.linespec/explicit.exp
8903 * gdb.linespec/keywords.exp
8904 * gdb.linespec/linespec.exp
8905 * gdb.linespec/ls-dollar.exp
8906 * gdb.linespec/ls-errs.exp
8907 * gdb.linespec/skip-two.exp
8908 * gdb.linespec/thread.exp
8909 * gdb.mi/mi-async.exp
8910 * gdb.mi/mi-basics.exp
8911 * gdb.mi/mi-break.exp
8912 * gdb.mi/mi-catch-load.exp
8913 * gdb.mi/mi-cli.exp
8914 * gdb.mi/mi-cmd-param-changed.exp
8915 * gdb.mi/mi-console.exp
8916 * gdb.mi/mi-detach.exp
8917 * gdb.mi/mi-disassemble.exp
8918 * gdb.mi/mi-eval.exp
8919 * gdb.mi/mi-file-transfer.exp
8920 * gdb.mi/mi-file.exp
8921 * gdb.mi/mi-fill-memory.exp
8922 * gdb.mi/mi-inheritance-syntax-error.exp
8923 * gdb.mi/mi-linespec-err-cp.exp
8924 * gdb.mi/mi-logging.exp
8925 * gdb.mi/mi-memory-changed.exp
8926 * gdb.mi/mi-read-memory.exp
8927 * gdb.mi/mi-record-changed.exp
8928 * gdb.mi/mi-reg-undefined.exp
8929 * gdb.mi/mi-regs.exp
8930 * gdb.mi/mi-return.exp
8931 * gdb.mi/mi-reverse.exp
8932 * gdb.mi/mi-simplerun.exp
8933 * gdb.mi/mi-solib.exp
8934 * gdb.mi/mi-stack.exp
8935 * gdb.mi/mi-stepi.exp
8936 * gdb.mi/mi-syn-frame.exp
8937 * gdb.mi/mi-until.exp
8938 * gdb.mi/mi-var-block.exp
8939 * gdb.mi/mi-var-child.exp
8940 * gdb.mi/mi-var-cmd.exp
8941 * gdb.mi/mi-var-cp.exp
8942 * gdb.mi/mi-var-display.exp
8943 * gdb.mi/mi-var-invalidate.exp
8944 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8945 * gdb.mi/mi-vla-fortran.exp
8946 * gdb.mi/mi-watch.exp
8947 * gdb.mi/mi2-var-child.exp
8948 * gdb.mi/user-selected-context-sync.exp
8949 * gdb.modula2/unbounded-array.exp
8950 * gdb.multi/dummy-frame-restore.exp
8951 * gdb.multi/multi-arch-exec.exp
8952 * gdb.multi/multi-arch.exp
8953 * gdb.multi/tids.exp
8954 * gdb.multi/watchpoint-multi.exp
8955 * gdb.opencl/callfuncs.exp
8956 * gdb.opencl/convs_casts.exp
8957 * gdb.opencl/datatypes.exp
8958 * gdb.opencl/operators.exp
8959 * gdb.opencl/vec_comps.exp
8960 * gdb.opt/clobbered-registers-O2.exp
8961 * gdb.opt/inline-break.exp
8962 * gdb.opt/inline-bt.exp
8963 * gdb.opt/inline-cmds.exp
8964 * gdb.opt/inline-locals.exp
8965 * gdb.pascal/case-insensitive-symbols.exp
8966 * gdb.pascal/floats.exp
8967 * gdb.pascal/gdb11492.exp
8968 * gdb.python/lib-types.exp
8969 * gdb.python/py-arch.exp
8970 * gdb.python/py-as-string.exp
8971 * gdb.python/py-bad-printers.exp
8972 * gdb.python/py-block.exp
8973 * gdb.python/py-breakpoint-create-fail.exp
8974 * gdb.python/py-breakpoint.exp
8975 * gdb.python/py-caller-is.exp
8976 * gdb.python/py-cmd.exp
8977 * gdb.python/py-explore-cc.exp
8978 * gdb.python/py-explore.exp
8979 * gdb.python/py-finish-breakpoint.exp
8980 * gdb.python/py-finish-breakpoint2.exp
8981 * gdb.python/py-frame-args.exp
8982 * gdb.python/py-frame-inline.exp
8983 * gdb.python/py-frame.exp
8984 * gdb.python/py-framefilter-mi.exp
8985 * gdb.python/py-infthread.exp
8986 * gdb.python/py-lazy-string.exp
8987 * gdb.python/py-linetable.exp
8988 * gdb.python/py-mi-events.exp
8989 * gdb.python/py-mi-objfile.exp
8990 * gdb.python/py-mi.exp
8991 * gdb.python/py-objfile.exp
8992 * gdb.python/py-pp-integral.exp
8993 * gdb.python/py-pp-maint.exp
8994 * gdb.python/py-pp-re-notag.exp
8995 * gdb.python/py-pp-registration.exp
8996 * gdb.python/py-recurse-unwind.exp
8997 * gdb.python/py-strfns.exp
8998 * gdb.python/py-symbol.exp
8999 * gdb.python/py-symtab.exp
9000 * gdb.python/py-sync-interp.exp
9001 * gdb.python/py-typeprint.exp
9002 * gdb.python/py-unwind-maint.exp
9003 * gdb.python/py-unwind.exp
9004 * gdb.python/py-value-cc.exp
9005 * gdb.python/py-xmethods.exp
9006 * gdb.reverse/amd64-tailcall-reverse.exp
9007 * gdb.reverse/break-precsave.exp
9008 * gdb.reverse/break-reverse.exp
9009 * gdb.reverse/consecutive-precsave.exp
9010 * gdb.reverse/consecutive-reverse.exp
9011 * gdb.reverse/finish-precsave.exp
9012 * gdb.reverse/finish-reverse-bkpt.exp
9013 * gdb.reverse/finish-reverse.exp
9014 * gdb.reverse/fstatat-reverse.exp
9015 * gdb.reverse/getresuid-reverse.exp
9016 * gdb.reverse/i386-precsave.exp
9017 * gdb.reverse/i386-reverse.exp
9018 * gdb.reverse/i386-sse-reverse.exp
9019 * gdb.reverse/i387-env-reverse.exp
9020 * gdb.reverse/i387-stack-reverse.exp
9021 * gdb.reverse/insn-reverse.exp
9022 * gdb.reverse/machinestate-precsave.exp
9023 * gdb.reverse/machinestate.exp
9024 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9025 * gdb.reverse/pipe-reverse.exp
9026 * gdb.reverse/readv-reverse.exp
9027 * gdb.reverse/recvmsg-reverse.exp
9028 * gdb.reverse/rerun-prec.exp
9029 * gdb.reverse/s390-mvcle.exp
9030 * gdb.reverse/step-precsave.exp
9031 * gdb.reverse/step-reverse.exp
9032 * gdb.reverse/time-reverse.exp
9033 * gdb.reverse/until-precsave.exp
9034 * gdb.reverse/until-reverse.exp
9035 * gdb.reverse/waitpid-reverse.exp
9036 * gdb.reverse/watch-precsave.exp
9037 * gdb.reverse/watch-reverse.exp
9038 * gdb.rust/generics.exp
9039 * gdb.rust/methods.exp
9040 * gdb.rust/modules.exp
9041 * gdb.rust/simple.exp
9042 * gdb.server/connect-with-no-symbol-file.exp
9043 * gdb.server/ext-attach.exp
9044 * gdb.server/ext-restart.exp
9045 * gdb.server/ext-wrapper.exp
9046 * gdb.server/file-transfer.exp
9047 * gdb.server/server-exec-info.exp
9048 * gdb.server/server-kill.exp
9049 * gdb.server/server-mon.exp
9050 * gdb.server/wrapper.exp
9051 * gdb.stabs/exclfwd.exp
9052 * gdb.stabs/gdb11479.exp
9053 * gdb.threads/clone-new-thread-event.exp
9054 * gdb.threads/corethreads.exp
9055 * gdb.threads/current-lwp-dead.exp
9056 * gdb.threads/dlopen-libpthread.exp
9057 * gdb.threads/gcore-thread.exp
9058 * gdb.threads/sigstep-threads.exp
9059 * gdb.threads/watchpoint-fork.exp
9060 * gdb.trace/actions-changed.exp
9061 * gdb.trace/backtrace.exp
9062 * gdb.trace/change-loc.exp
9063 * gdb.trace/circ.exp
9064 * gdb.trace/collection.exp
9065 * gdb.trace/disconnected-tracing.exp
9066 * gdb.trace/ftrace.exp
9067 * gdb.trace/mi-trace-frame-collected.exp
9068 * gdb.trace/mi-trace-unavailable.exp
9069 * gdb.trace/mi-traceframe-changed.exp
9070 * gdb.trace/mi-tsv-changed.exp
9071 * gdb.trace/no-attach-trace.exp
9072 * gdb.trace/passc-dyn.exp
9073 * gdb.trace/qtro.exp
9074 * gdb.trace/range-stepping.exp
9075 * gdb.trace/read-memory.exp
9076 * gdb.trace/save-trace.exp
9077 * gdb.trace/signal.exp
9078 * gdb.trace/status-stop.exp
9079 * gdb.trace/tfile.exp
9080 * gdb.trace/trace-break.exp
9081 * gdb.trace/trace-buffer-size.exp
9082 * gdb.trace/trace-condition.exp
9083 * gdb.trace/tracefile-pseudo-reg.exp
9084 * gdb.trace/tstatus.exp
9085 * gdb.trace/unavailable.exp
9086 * gdb.trace/while-dyn.exp
9087 * gdb.trace/while-stepping.exp
9088
34c41c68
DE
90892016-12-22 Doug Evans <xdje42@gmail.com>
9090
9091 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9092 and msymbols.
9093
16e69324
YQ
90942016-12-19 Yao Qi <yao.qi@linaro.org>
9095
9096 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9097 (test_with_self): Don't call do_steps_and_nexts, and remove
9098 code about stepping into xmalloc.
9099
f94f411b
YQ
91002016-12-09 Yao Qi <yao.qi@linaro.org>
9101
9102 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9103
91042016-12-09 Yao Qi <yao.qi@linaro.org>
9105
9106 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9107
f1b5deee
PA
91082016-12-09 Pedro Alves <palves@redhat.com>
9109
9110 * gdb.base/all-architectures-0.exp: New file.
9111 * gdb.base/all-architectures-1.exp: New file.
9112 * gdb.base/all-architectures-2.exp: New file.
9113 * gdb.base/all-architectures-3.exp: New file.
9114 * gdb.base/all-architectures-4.exp: New file.
9115 * gdb.base/all-architectures-5.exp: New file.
9116 * gdb.base/all-architectures-6.exp: New file.
9117 * gdb.base/all-architectures-7.exp: New file.
9118 * gdb.base/all-architectures.exp.in: New file.
9119
364ca42e
YQ
91202016-12-09 Yao Qi <yao.qi@linaro.org>
9121
9122 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
9123
107c2d62
LM
91242016-12-02 Luis Machado <lgustavo@codesourcery.com>
9125
9126 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
9127 possible.
9128 Remove useless pattern-matching code.
9129
df3ee9ca
PA
91302016-12-02 Pedro Alves <palves@redhat.com>
9131
9132 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
9133 procedure.
9134 (top level): Call it.
9135
ec835369
PA
91362016-12-02 Pedro Alves <palves@redhat.com>
9137
9138 * gdb.base/commands.exp (user_defined_command_args_stack_test):
9139 New procedure.
9140 (top level): Call it.
9141
01770bbd
PA
91422016-12-02 Pedro Alves <palves@redhat.com>
9143
9144 PR cli/20559
9145 * gdb.base/commands.exp (user_defined_command_args_eval): New
9146 procedure.
9147 (top level): Call it.
9148
008459ea
LM
91492016-12-02 Luis Machado <lgustavo@codesourcery.com>
9150
9151 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
9152 timeout handling.
9153
0c1b455e
TT
91542016-12-02 Tom Tromey <tom@tromey.com>
9155
9156 * gdb.dwarf2/main-subprogram.c: New file.
9157 * gdb.dwarf2/main-subprogram.exp: New file.
9158
018572b8
LM
91592016-12-01 Luis Machado <lgustavo@codesourcery.com>
9160
9161 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9162 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
9163 gdb_test_no_output for a couple of cases.
9164 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
9165
84c93cd5
LM
91662016-12-01 Luis Machado <lgustavo@codesourcery.com>
9167
9168 Fix test names and standardize compilation error messages throughout
9169 the following files:
9170
9171 * gdb.ada/start.exp
9172 * gdb.arch/alpha-step.exp
9173 * gdb.arch/e500-prologue.exp
9174 * gdb.arch/ftrace-insn-reloc.exp
9175 * gdb.arch/gdb1291.exp
9176 * gdb.arch/gdb1431.exp
9177 * gdb.arch/gdb1558.exp
9178 * gdb.arch/i386-dr3-watch.exp
9179 * gdb.arch/i386-sse-stack-align.exp
9180 * gdb.arch/ia64-breakpoint-shadow.exp
9181 * gdb.arch/pa-nullify.exp
9182 * gdb.arch/powerpc-aix-prologue.exp
9183 * gdb.arch/thumb-bx-pc.exp
9184 * gdb.base/annota1.exp
9185 * gdb.base/annota3.exp
9186 * gdb.base/arrayidx.exp
9187 * gdb.base/assign.exp
9188 * gdb.base/attach.exp
9189 * gdb.base/auxv.exp
9190 * gdb.base/bang.exp
9191 * gdb.base/bfp-test.exp
9192 * gdb.base/bigcore.exp
9193 * gdb.base/bitfields2.exp
9194 * gdb.base/break-fun-addr.exp
9195 * gdb.base/break-probes.exp
9196 * gdb.base/call-rt-st.exp
9197 * gdb.base/callexit.exp
9198 * gdb.base/catch-fork-kill.exp
9199 * gdb.base/charset.exp
9200 * gdb.base/checkpoint.exp
9201 * gdb.base/comprdebug.exp
9202 * gdb.base/constvars.exp
9203 * gdb.base/coredump-filter.exp
9204 * gdb.base/cursal.exp
9205 * gdb.base/cvexpr.exp
9206 * gdb.base/detach.exp
9207 * gdb.base/display.exp
9208 * gdb.base/dmsym.exp
9209 * gdb.base/dprintf-pending.exp
9210 * gdb.base/dso2dso.exp
9211 * gdb.base/dtrace-probe.exp
9212 * gdb.base/dump.exp
9213 * gdb.base/enum_cond.exp
9214 * gdb.base/exe-lock.exp
9215 * gdb.base/exec-invalid-sysroot.exp
9216 * gdb.base/execl-update-breakpoints.exp
9217 * gdb.base/exprs.exp
9218 * gdb.base/fileio.exp
9219 * gdb.base/find.exp
9220 * gdb.base/finish.exp
9221 * gdb.base/fixsection.exp
9222 * gdb.base/foll-vfork.exp
9223 * gdb.base/frame-args.exp
9224 * gdb.base/gcore.exp
9225 * gdb.base/gdb1250.exp
9226 * gdb.base/global-var-nested-by-dso.exp
9227 * gdb.base/gnu-ifunc.exp
9228 * gdb.base/hashline1.exp
9229 * gdb.base/hashline2.exp
9230 * gdb.base/hashline3.exp
9231 * gdb.base/hbreak-in-shr-unsupported.exp
9232 * gdb.base/huge.exp
9233 * gdb.base/infcall-input.exp
9234 * gdb.base/info-fun.exp
9235 * gdb.base/info-shared.exp
9236 * gdb.base/jit-simple.exp
9237 * gdb.base/jit-so.exp
9238 * gdb.base/jit.exp
9239 * gdb.base/jump.exp
9240 * gdb.base/label.exp
9241 * gdb.base/lineinc.exp
9242 * gdb.base/logical.exp
9243 * gdb.base/longjmp.exp
9244 * gdb.base/macscp.exp
9245 * gdb.base/miscexprs.exp
9246 * gdb.base/new-ui-echo.exp
9247 * gdb.base/new-ui-pending-input.exp
9248 * gdb.base/new-ui.exp
9249 * gdb.base/nodebug.exp
9250 * gdb.base/nofield.exp
9251 * gdb.base/offsets.exp
9252 * gdb.base/overlays.exp
9253 * gdb.base/pending.exp
9254 * gdb.base/pointers.exp
9255 * gdb.base/pr11022.exp
9256 * gdb.base/printcmds.exp
9257 * gdb.base/prologue.exp
9258 * gdb.base/ptr-typedef.exp
9259 * gdb.base/realname-expand.exp
9260 * gdb.base/relativedebug.exp
9261 * gdb.base/relocate.exp
9262 * gdb.base/remote.exp
9263 * gdb.base/reread.exp
9264 * gdb.base/return2.exp
9265 * gdb.base/savedregs.exp
9266 * gdb.base/sep.exp
9267 * gdb.base/sepdebug.exp
9268 * gdb.base/sepsymtab.exp
9269 * gdb.base/set-inferior-tty.exp
9270 * gdb.base/setshow.exp
9271 * gdb.base/shlib-call.exp
9272 * gdb.base/sigaltstack.exp
9273 * gdb.base/siginfo-addr.exp
9274 * gdb.base/signals.exp
9275 * gdb.base/signull.exp
9276 * gdb.base/sigrepeat.exp
9277 * gdb.base/so-impl-ld.exp
9278 * gdb.base/solib-display.exp
9279 * gdb.base/solib-overlap.exp
9280 * gdb.base/solib-search.exp
9281 * gdb.base/solib-symbol.exp
9282 * gdb.base/structs.exp
9283 * gdb.base/structs2.exp
9284 * gdb.base/symtab-search-order.exp
9285 * gdb.base/twice.exp
9286 * gdb.base/unload.exp
9287 * gdb.base/varargs.exp
9288 * gdb.base/watchpoint-solib.exp
9289 * gdb.base/watchpoint.exp
9290 * gdb.base/whatis.exp
9291 * gdb.base/wrong_frame_bt_full.exp
9292 * gdb.btrace/dlopen.exp
9293 * gdb.cell/ea-standalone.exp
9294 * gdb.cell/ea-test.exp
9295 * gdb.cp/dispcxx.exp
9296 * gdb.cp/gdb2384.exp
9297 * gdb.cp/method2.exp
9298 * gdb.cp/nextoverthrow.exp
9299 * gdb.cp/pr10728.exp
9300 * gdb.disasm/am33.exp
9301 * gdb.disasm/h8300s.exp
9302 * gdb.disasm/mn10300.exp
9303 * gdb.disasm/sh3.exp
9304 * gdb.dwarf2/dw2-dir-file-name.exp
9305 * gdb.fortran/complex.exp
9306 * gdb.fortran/library-module.exp
9307 * gdb.guile/scm-pretty-print.exp
9308 * gdb.guile/scm-symbol.exp
9309 * gdb.guile/scm-type.exp
9310 * gdb.guile/scm-value.exp
9311 * gdb.linespec/linespec.exp
9312 * gdb.mi/gdb701.exp
9313 * gdb.mi/gdb792.exp
9314 * gdb.mi/mi-breakpoint-changed.exp
9315 * gdb.mi/mi-dprintf-pending.exp
9316 * gdb.mi/mi-dprintf.exp
9317 * gdb.mi/mi-exit-code.exp
9318 * gdb.mi/mi-pending.exp
9319 * gdb.mi/mi-solib.exp
9320 * gdb.mi/new-ui-mi-sync.exp
9321 * gdb.mi/pr11022.exp
9322 * gdb.mi/user-selected-context-sync.exp
9323 * gdb.opt/solib-intra-step.exp
9324 * gdb.python/py-events.exp
9325 * gdb.python/py-finish-breakpoint.exp
9326 * gdb.python/py-mi.exp
9327 * gdb.python/py-prettyprint.exp
9328 * gdb.python/py-shared.exp
9329 * gdb.python/py-symbol.exp
9330 * gdb.python/py-template.exp
9331 * gdb.python/py-type.exp
9332 * gdb.python/py-value.exp
9333 * gdb.reverse/solib-precsave.exp
9334 * gdb.reverse/solib-reverse.exp
9335 * gdb.server/solib-list.exp
9336 * gdb.stabs/weird.exp
9337 * gdb.threads/reconnect-signal.exp
9338 * gdb.threads/stepi-random-signal.exp
9339 * gdb.trace/actions.exp
9340 * gdb.trace/ax.exp
9341 * gdb.trace/backtrace.exp
9342 * gdb.trace/change-loc.exp
9343 * gdb.trace/deltrace.exp
9344 * gdb.trace/ftrace-lock.exp
9345 * gdb.trace/ftrace.exp
9346 * gdb.trace/infotrace.exp
9347 * gdb.trace/mi-tracepoint-changed.exp
9348 * gdb.trace/packetlen.exp
9349 * gdb.trace/passcount.exp
9350 * gdb.trace/pending.exp
9351 * gdb.trace/range-stepping.exp
9352 * gdb.trace/report.exp
9353 * gdb.trace/stap-trace.exp
9354 * gdb.trace/tfind.exp
9355 * gdb.trace/trace-break.exp
9356 * gdb.trace/trace-condition.exp
9357 * gdb.trace/trace-enable-disable.exp
9358 * gdb.trace/trace-mt.exp
9359 * gdb.trace/tracecmd.exp
9360 * gdb.trace/tspeed.exp
9361 * gdb.trace/tsv.exp
9362 * lib/perftest.exp
9363
fb9feb35
LM
93642016-12-01 Luis Machado <lgustavo@codesourcery.com>
9365
9366 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9367 with gdb_test_no_output.
9368 Use command as test name.
9369
cd2ddb6c
LM
93702016-12-01 Luis Machado <lgustavo@codesourcery.com>
9371
9372 Fix test names starting with uppercase throughout the files.
9373
9374 * gdb.ada/assign_1.exp
9375 * gdb.ada/boolean_expr.exp
9376 * gdb.base/arrayidx.exp
9377 * gdb.base/del.exp
9378 * gdb.base/gcore-buffer-overflow.exp
9379 * gdb.base/testenv.exp
9380 * gdb.compile/compile.exp
9381 * gdb.python/py-framefilter-invalidarg.exp
9382 * gdb.python/py-framefilter.exp
9383
bb95117e
LM
93842016-12-01 Luis Machado <lgustavo@codesourcery.com>
9385
9386 Fix test names starting with uppercase throughout the files.
9387
9388 * gdb.ada/array_return.exp
9389 * gdb.ada/expr_delims.exp
9390 * gdb.ada/mi_dyn_arr.exp
9391 * gdb.ada/mi_interface.exp
9392 * gdb.ada/mi_var_array.exp
9393 * gdb.ada/watch_arg.exp
9394 * gdb.arch/alpha-step.exp
9395 * gdb.arch/altivec-regs.exp
9396 * gdb.arch/e500-regs.exp
9397 * gdb.arch/powerpc-d128-regs.exp
9398 * gdb.base/arrayidx.exp
9399 * gdb.base/break.exp
9400 * gdb.base/checkpoint.exp
9401 * gdb.base/debug-expr.exp
9402 * gdb.base/dmsym.exp
9403 * gdb.base/radix.exp
9404 * gdb.base/sepdebug.exp
9405 * gdb.base/testenv.exp
9406 * gdb.base/watch_thread_num.exp
9407 * gdb.base/watchpoint-cond-gone.exp
9408 * gdb.cell/break.exp
9409 * gdb.cell/ea-cache.exp
9410 * gdb.compile/compile.exp
9411 * gdb.cp/gdb2495.exp
9412 * gdb.gdb/selftest.exp
9413 * gdb.gdb/xfullpath.exp
9414 * gdb.go/hello.exp
9415 * gdb.go/integers.exp
9416 * gdb.objc/basicclass.exp
9417 * gdb.pascal/hello.exp
9418 * gdb.pascal/integers.exp
9419 * gdb.python/py-breakpoint.exp
9420 * gdb.python/py-cmd.exp
9421 * gdb.python/py-linetable.exp
9422 * gdb.python/py-xmethods.exp
9423 * gdb.python/python.exp
9424 * gdb.reverse/consecutive-precsave.exp
9425 * gdb.reverse/finish-precsave.exp
9426 * gdb.reverse/i386-precsave.exp
9427 * gdb.reverse/machinestate-precsave.exp
9428 * gdb.reverse/sigall-precsave.exp
9429 * gdb.reverse/solib-precsave.exp
9430 * gdb.reverse/step-precsave.exp
9431 * gdb.reverse/until-precsave.exp
9432 * gdb.reverse/watch-precsave.exp
9433 * gdb.threads/leader-exit.exp
9434 * gdb.threads/pthreads.exp
9435 * gdb.threads/wp-replication.exp
9436 * gdb.trace/actions.exp
9437 * gdb.trace/mi-tsv-changed.exp
9438 * gdb.trace/tsv.exp
9439
de97fdd4
LM
94402016-12-01 Luis Machado <lgustavo@codesourcery.com>
9441
9442 Fix test names starting with uppercase throughout the files.
9443
9444 * gdb.arch/i386-bp_permanent.exp
9445 * gdb.arch/i386-gnu-cfi.exp
9446 * gdb.base/disasm-end-cu.exp
9447 * gdb.base/macscp.exp
9448 * gdb.base/pending.exp
9449 * gdb.base/watch_thread_num.exp
9450 * gdb.cp/exception.exp
9451 * gdb.cp/gdb2495.exp
9452 * gdb.cp/local.exp
9453 * gdb.python/py-evsignal.exp
9454 * gdb.python/python.exp
9455 * gdb.trace/tracecmd.exp
9456
9f058c10
LM
94572016-12-01 Luis Machado <lgustavo@codesourcery.com>
9458
9459 Fix test names starting with uppercase throughout the files.
9460
9461 * gdb.base/charset.exp
9462 * gdb.base/eval.exp
9463 * gdb.base/multi-forks.exp
9464 * gdb.guile/scm-progspace.exp
9465 * gdb.opencl/datatypes.exp
9466 * gdb.python/py-block.exp
9467 * gdb.python/py-function.exp
9468 * gdb.python/py-symbol.exp
9469 * gdb.python/py-symtab.exp
9470 * gdb.python/py-xmethods.exp
9471 * gdb.reverse/break-precsave.exp
9472 * gdb.reverse/break-reverse.exp
9473 * gdb.reverse/consecutive-precsave.exp
9474 * gdb.reverse/consecutive-reverse.exp
9475 * gdb.reverse/finish-precsave.exp
9476 * gdb.reverse/finish-reverse-bkpt.exp
9477 * gdb.reverse/finish-reverse.exp
9478 * gdb.reverse/fstatat-reverse.exp
9479 * gdb.reverse/getresuid-reverse.exp
9480 * gdb.reverse/i386-precsave.exp
9481 * gdb.reverse/i386-reverse.exp
9482 * gdb.reverse/i386-sse-reverse.exp
9483 * gdb.reverse/i387-stack-reverse.exp
9484 * gdb.reverse/insn-reverse.exp
9485 * gdb.reverse/machinestate-precsave.exp
9486 * gdb.reverse/machinestate.exp
9487 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9488 * gdb.reverse/pipe-reverse.exp
9489 * gdb.reverse/readv-reverse.exp
9490 * gdb.reverse/recvmsg-reverse.exp
9491 * gdb.reverse/rerun-prec.exp
9492 * gdb.reverse/s390-mvcle.exp
9493 * gdb.reverse/sigall-precsave.exp
9494 * gdb.reverse/sigall-reverse.exp
9495 * gdb.reverse/solib-precsave.exp
9496 * gdb.reverse/solib-reverse.exp
9497 * gdb.reverse/step-precsave.exp
9498 * gdb.reverse/step-reverse.exp
9499 * gdb.reverse/time-reverse.exp
9500 * gdb.reverse/until-precsave.exp
9501 * gdb.reverse/until-reverse.exp
9502 * gdb.reverse/waitpid-reverse.exp
9503 * gdb.reverse/watch-precsave.exp
9504 * gdb.reverse/watch-reverse.exp
9505
cdc7edd7
LM
95062016-12-01 Luis Machado <lgustavo@codesourcery.com>
9507
9508 Fix test names starting with uppercase throughout the files.
9509
9510 * gdb.arch/i386-mpx-simple_segv.exp
9511 * gdb.arch/i386-mpx.exp
9512 * gdb.arch/i386-permbkpt.exp
9513 * gdb.arch/pa-nullify.exp
9514 * gdb.arch/powerpc-d128-regs.exp
9515 * gdb.arch/vsx-regs.exp
9516 * gdb.base/bfp-test.exp
9517 * gdb.base/break.exp
9518 * gdb.base/breakpoint-shadow.exp
9519 * gdb.base/callfuncs.exp
9520 * gdb.base/charset.exp
9521 * gdb.base/commands.exp
9522 * gdb.base/completion.exp
9523 * gdb.base/dfp-test.exp
9524 * gdb.base/echo.exp
9525 * gdb.base/ending-run.exp
9526 * gdb.base/eval.exp
9527 * gdb.base/expand-psymtabs.exp
9528 * gdb.base/float128.exp
9529 * gdb.base/floatn.exp
9530 * gdb.base/foll-exec-mode.exp
9531 * gdb.base/gdb1056.exp
9532 * gdb.base/gdb11531.exp
9533 * gdb.base/kill-after-signal.exp
9534 * gdb.base/multi-forks.exp
9535 * gdb.base/overlays.exp
9536 * gdb.base/pending.exp
9537 * gdb.base/sepdebug.exp
9538 * gdb.base/testenv.exp
9539 * gdb.base/valgrind-db-attach.exp
9540 * gdb.base/watch_thread_num.exp
9541 * gdb.base/watchpoint-cond-gone.exp
9542 * gdb.base/watchpoint.exp
9543 * gdb.base/watchpoints.exp
9544 * gdb.cp/arg-reference.exp
9545 * gdb.cp/baseenum.exp
9546 * gdb.cp/operator.exp
9547 * gdb.cp/shadow.exp
9548 * gdb.dwarf2/dw2-op-out-param.exp
9549 * gdb.dwarf2/dw2-reg-undefined.exp
9550 * gdb.go/chan.exp
9551 * gdb.go/hello.exp
9552 * gdb.go/integers.exp
9553 * gdb.go/methods.exp
9554 * gdb.go/package.exp
9555 * gdb.guile/scm-parameter.exp
9556 * gdb.guile/scm-progspace.exp
9557 * gdb.guile/scm-value.exp
9558 * gdb.mi/mi-pending.exp
9559 * gdb.mi/user-selected-context-sync.exp
9560 * gdb.multi/multi-attach.exp
9561 * gdb.multi/tids.exp
9562 * gdb.opt/clobbered-registers-O2.exp
9563 * gdb.pascal/floats.exp
9564 * gdb.pascal/integers.exp
9565 * gdb.python/py-block.exp
9566 * gdb.python/py-events.exp
9567 * gdb.python/py-parameter.exp
9568 * gdb.python/py-symbol.exp
9569 * gdb.python/py-symtab.exp
9570 * gdb.python/py-type.exp
9571 * gdb.python/py-value.exp
9572 * gdb.python/py-xmethods.exp
9573 * gdb.python/python.exp
9574 * gdb.reverse/break-precsave.exp
9575 * gdb.reverse/consecutive-precsave.exp
9576 * gdb.reverse/finish-precsave.exp
9577 * gdb.reverse/i386-precsave.exp
9578 * gdb.reverse/machinestate-precsave.exp
9579 * gdb.reverse/sigall-precsave.exp
9580 * gdb.reverse/solib-precsave.exp
9581 * gdb.reverse/step-precsave.exp
9582 * gdb.reverse/until-precsave.exp
9583 * gdb.reverse/watch-precsave.exp
9584 * gdb.server/ext-attach.exp
9585 * gdb.server/ext-restart.exp
9586 * gdb.server/ext-run.exp
9587 * gdb.server/ext-wrapper.exp
9588 * gdb.stabs/gdb11479.exp
9589 * gdb.stabs/weird.exp
9590 * gdb.threads/attach-many-short-lived-threads.exp
9591 * gdb.threads/kill.exp
9592 * gdb.threads/watchpoint-fork.exp
9593
bc6c7af4
LM
95942016-12-01 Luis Machado <lgustavo@codesourcery.com>
9595
9596 Fix test names starting with uppercase throughout all the files below.
9597
9598 * gdb.ada/array_return.exp
9599 * gdb.ada/catch_ex.exp
9600 * gdb.ada/info_exc.exp
9601 * gdb.ada/mi_catch_ex.exp
9602 * gdb.ada/mi_dyn_arr.exp
9603 * gdb.ada/mi_ex_cond.exp
9604 * gdb.ada/mi_exc_info.exp
9605 * gdb.ada/mi_interface.exp
9606 * gdb.ada/mi_task_arg.exp
9607 * gdb.ada/mi_task_info.exp
9608 * gdb.ada/mi_var_array.exp
9609 * gdb.arch/alpha-step.exp
9610 * gdb.arch/amd64-disp-step.exp
9611 * gdb.arch/arm-disp-step.exp
9612 * gdb.arch/disp-step-insn-reloc.exp
9613 * gdb.arch/e500-prologue.exp
9614 * gdb.arch/ftrace-insn-reloc.exp
9615 * gdb.arch/gdb1558.exp
9616 * gdb.arch/i386-bp_permanent.exp
9617 * gdb.arch/i386-disp-step.exp
9618 * gdb.arch/i386-float.exp
9619 * gdb.arch/i386-gnu-cfi.exp
9620 * gdb.arch/ia64-breakpoint-shadow.exp
9621 * gdb.arch/mips16-thunks.exp
9622 * gdb.arch/pa-nullify.exp
9623 * gdb.arch/powerpc-aix-prologue.exp
9624 * gdb.arch/powerpc-power.exp
9625 * gdb.arch/ppc-dfp.exp
9626 * gdb.arch/s390-tdbregs.exp
9627 * gdb.arch/spu-info.exp
9628 * gdb.arch/spu-ls.exp
9629 * gdb.arch/thumb-bx-pc.exp
9630 * gdb.base/advance.exp
9631 * gdb.base/annota-input-while-running.exp
9632 * gdb.base/arrayidx.exp
9633 * gdb.base/asmlabel.exp
9634 * gdb.base/async.exp
9635 * gdb.base/attach-wait-input.exp
9636 * gdb.base/auto-connect-native-target.exp
9637 * gdb.base/batch-preserve-term-settings.exp
9638 * gdb.base/bfp-test.exp
9639 * gdb.base/bigcore.exp
9640 * gdb.base/bp-permanent.exp
9641 * gdb.base/break-always.exp
9642 * gdb.base/break-fun-addr.exp
9643 * gdb.base/break-idempotent.exp
9644 * gdb.base/break-main-file-remove-fail.exp
9645 * gdb.base/break-probes.exp
9646 * gdb.base/break-unload-file.exp
9647 * gdb.base/break.exp
9648 * gdb.base/call-ar-st.exp
9649 * gdb.base/call-rt-st.exp
9650 * gdb.base/call-sc.exp
9651 * gdb.base/call-signal-resume.exp
9652 * gdb.base/call-strs.exp
9653 * gdb.base/callexit.exp
9654 * gdb.base/callfuncs.exp
9655 * gdb.base/catch-gdb-caused-signals.exp
9656 * gdb.base/catch-signal-siginfo-cond.exp
9657 * gdb.base/catch-syscall.exp
9658 * gdb.base/compare-sections.exp
9659 * gdb.base/cond-eval-mode.exp
9660 * gdb.base/condbreak-call-false.exp
9661 * gdb.base/consecutive-step-over.exp
9662 * gdb.base/cursal.exp
9663 * gdb.base/disabled-location.exp
9664 * gdb.base/disasm-end-cu.exp
9665 * gdb.base/display.exp
9666 * gdb.base/double-prompt-target-event-error.exp
9667 * gdb.base/dprintf-bp-same-addr.exp
9668 * gdb.base/dprintf-detach.exp
9669 * gdb.base/dprintf-next.exp
9670 * gdb.base/dprintf-non-stop.exp
9671 * gdb.base/dprintf-pending.exp
9672 * gdb.base/dso2dso.exp
9673 * gdb.base/ending-run.exp
9674 * gdb.base/enum_cond.exp
9675 * gdb.base/examine-backward.exp
9676 * gdb.base/exe-lock.exp
9677 * gdb.base/exec-invalid-sysroot.exp
9678 * gdb.base/execl-update-breakpoints.exp
9679 * gdb.base/execution-termios.exp
9680 * gdb.base/fileio.exp
9681 * gdb.base/fixsection.exp
9682 * gdb.base/foll-exec-mode.exp
9683 * gdb.base/foll-exec.exp
9684 * gdb.base/fork-running-state.exp
9685 * gdb.base/frame-args.exp
9686 * gdb.base/fullpath-expand.exp
9687 * gdb.base/func-ptr.exp
9688 * gdb.base/gcore-relro-pie.exp
9689 * gdb.base/gdb1090.exp
9690 * gdb.base/gdb1555.exp
9691 * gdb.base/global-var-nested-by-dso.exp
9692 * gdb.base/gnu-ifunc.exp
9693 * gdb.base/hbreak-in-shr-unsupported.exp
9694 * gdb.base/hbreak-unmapped.exp
9695 * gdb.base/hook-stop.exp
9696 * gdb.base/infcall-input.exp
9697 * gdb.base/info-fun.exp
9698 * gdb.base/info-shared.exp
9699 * gdb.base/interrupt-noterm.exp
9700 * gdb.base/jit-so.exp
9701 * gdb.base/jit.exp
9702 * gdb.base/line-symtabs.exp
9703 * gdb.base/list.exp
9704 * gdb.base/longjmp.exp
9705 * gdb.base/macscp.exp
9706 * gdb.base/max-value-size.exp
9707 * gdb.base/nodebug.exp
9708 * gdb.base/nofield.exp
9709 * gdb.base/overlays.exp
9710 * gdb.base/paginate-after-ctrl-c-running.exp
9711 * gdb.base/paginate-bg-execution.exp
9712 * gdb.base/paginate-inferior-exit.exp
9713 * gdb.base/pending.exp
9714 * gdb.base/pr11022.exp
9715 * gdb.base/printcmds.exp
9716 * gdb.base/ptr-typedef.exp
9717 * gdb.base/ptype.exp
9718 * gdb.base/randomize.exp
9719 * gdb.base/range-stepping.exp
9720 * gdb.base/realname-expand.exp
9721 * gdb.base/relativedebug.exp
9722 * gdb.base/remote.exp
9723 * gdb.base/savedregs.exp
9724 * gdb.base/sepdebug.exp
9725 * gdb.base/set-noassign.exp
9726 * gdb.base/shlib-call.exp
9727 * gdb.base/shreloc.exp
9728 * gdb.base/sigaltstack.exp
9729 * gdb.base/sigbpt.exp
9730 * gdb.base/siginfo-addr.exp
9731 * gdb.base/siginfo-obj.exp
9732 * gdb.base/siginfo-thread.exp
9733 * gdb.base/signest.exp
9734 * gdb.base/signull.exp
9735 * gdb.base/sigrepeat.exp
9736 * gdb.base/skip.exp
9737 * gdb.base/so-impl-ld.exp
9738 * gdb.base/solib-corrupted.exp
9739 * gdb.base/solib-disc.exp
9740 * gdb.base/solib-display.exp
9741 * gdb.base/solib-overlap.exp
9742 * gdb.base/solib-search.exp
9743 * gdb.base/solib-symbol.exp
9744 * gdb.base/source-execution.exp
9745 * gdb.base/sss-bp-on-user-bp-2.exp
9746 * gdb.base/sss-bp-on-user-bp.exp
9747 * gdb.base/stack-checking.exp
9748 * gdb.base/stale-infcall.exp
9749 * gdb.base/step-break.exp
9750 * gdb.base/step-line.exp
9751 * gdb.base/step-over-exit.exp
9752 * gdb.base/step-test.exp
9753 * gdb.base/structs.exp
9754 * gdb.base/sym-file.exp
9755 * gdb.base/symtab-search-order.exp
9756 * gdb.base/term.exp
9757 * gdb.base/type-opaque.exp
9758 * gdb.base/unload.exp
9759 * gdb.base/until-nodebug.exp
9760 * gdb.base/until.exp
9761 * gdb.base/unwindonsignal.exp
9762 * gdb.base/watch-cond.exp
9763 * gdb.base/watch-non-mem.exp
9764 * gdb.base/watch_thread_num.exp
9765 * gdb.base/watchpoint-reuse-slot.exp
9766 * gdb.base/watchpoint-solib.exp
9767 * gdb.base/watchpoint.exp
9768 * gdb.btrace/dlopen.exp
9769 * gdb.cell/arch.exp
9770 * gdb.cell/break.exp
9771 * gdb.cell/bt.exp
9772 * gdb.cell/core.exp
9773 * gdb.cell/data.exp
9774 * gdb.cell/dwarfaddr.exp
9775 * gdb.cell/ea-cache.exp
9776 * gdb.cell/ea-standalone.exp
9777 * gdb.cell/ea-test.exp
9778 * gdb.cell/f-regs.exp
9779 * gdb.cell/fork.exp
9780 * gdb.cell/gcore.exp
9781 * gdb.cell/mem-access.exp
9782 * gdb.cell/ptype.exp
9783 * gdb.cell/registers.exp
9784 * gdb.cell/sizeof.exp
9785 * gdb.cell/solib-symbol.exp
9786 * gdb.cell/solib.exp
9787 * gdb.compile/compile-tls.exp
9788 * gdb.cp/exception.exp
9789 * gdb.cp/gdb2495.exp
9790 * gdb.cp/local.exp
9791 * gdb.cp/mb-inline.exp
9792 * gdb.cp/mb-templates.exp
9793 * gdb.cp/pr10687.exp
9794 * gdb.cp/pr9167.exp
9795 * gdb.cp/scope-err.exp
9796 * gdb.cp/templates.exp
9797 * gdb.cp/virtfunc.exp
9798 * gdb.dwarf2/dw2-dir-file-name.exp
9799 * gdb.dwarf2/dw2-single-line-discriminators.exp
9800 * gdb.fortran/complex.exp
9801 * gdb.fortran/library-module.exp
9802 * gdb.guile/guile.exp
9803 * gdb.guile/scm-cmd.exp
9804 * gdb.guile/scm-frame-inline.exp
9805 * gdb.guile/scm-objfile.exp
9806 * gdb.guile/scm-pretty-print.exp
9807 * gdb.guile/scm-symbol.exp
9808 * gdb.guile/scm-type.exp
9809 * gdb.guile/scm-value.exp
9810 * gdb.linespec/keywords.exp
9811 * gdb.linespec/ls-errs.exp
9812 * gdb.linespec/macro-relative.exp
9813 * gdb.linespec/thread.exp
9814 * gdb.mi/mi-breakpoint-changed.exp
9815 * gdb.mi/mi-dprintf-pending.exp
9816 * gdb.mi/mi-fullname-deleted.exp
9817 * gdb.mi/mi-logging.exp
9818 * gdb.mi/mi-pending.exp
9819 * gdb.mi/mi-solib.exp
9820 * gdb.mi/new-ui-mi-sync.exp
9821 * gdb.mi/user-selected-context-sync.exp
9822 * gdb.multi/dummy-frame-restore.exp
9823 * gdb.multi/multi-arch-exec.exp
9824 * gdb.multi/remove-inferiors.exp
9825 * gdb.multi/watchpoint-multi-exit.exp
9826 * gdb.opt/solib-intra-step.exp
9827 * gdb.perf/backtrace.exp
9828 * gdb.perf/single-step.exp
9829 * gdb.perf/skip-command.exp
9830 * gdb.perf/skip-prologue.exp
9831 * gdb.perf/solib.exp
9832 * gdb.python/lib-types.exp
9833 * gdb.python/py-as-string.exp
9834 * gdb.python/py-bad-printers.exp
9835 * gdb.python/py-block.exp
9836 * gdb.python/py-breakpoint.exp
9837 * gdb.python/py-cmd.exp
9838 * gdb.python/py-events.exp
9839 * gdb.python/py-evthreads.exp
9840 * gdb.python/py-finish-breakpoint.exp
9841 * gdb.python/py-finish-breakpoint2.exp
9842 * gdb.python/py-frame-inline.exp
9843 * gdb.python/py-frame.exp
9844 * gdb.python/py-inferior.exp
9845 * gdb.python/py-infthread.exp
9846 * gdb.python/py-mi.exp
9847 * gdb.python/py-objfile.exp
9848 * gdb.python/py-pp-maint.exp
9849 * gdb.python/py-pp-registration.exp
9850 * gdb.python/py-prettyprint.exp
9851 * gdb.python/py-recurse-unwind.exp
9852 * gdb.python/py-shared.exp
9853 * gdb.python/py-symbol.exp
9854 * gdb.python/py-symtab.exp
9855 * gdb.python/py-template.exp
9856 * gdb.python/py-type.exp
9857 * gdb.python/py-unwind-maint.exp
9858 * gdb.python/py-unwind.exp
9859 * gdb.python/py-value.exp
9860 * gdb.python/python.exp
9861 * gdb.reverse/finish-reverse-bkpt.exp
9862 * gdb.reverse/insn-reverse.exp
9863 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9864 * gdb.reverse/solib-precsave.exp
9865 * gdb.reverse/solib-reverse.exp
9866 * gdb.stabs/gdb11479.exp
9867 * gdb.stabs/weird.exp
9868 * gdb.threads/fork-child-threads.exp
9869 * gdb.threads/fork-plus-threads.exp
9870 * gdb.threads/fork-thread-pending.exp
9871 * gdb.threads/forking-threads-plus-breakpoint.exp
9872 * gdb.threads/hand-call-in-threads.exp
9873 * gdb.threads/interrupted-hand-call.exp
9874 * gdb.threads/linux-dp.exp
9875 * gdb.threads/local-watch-wrong-thread.exp
9876 * gdb.threads/next-while-other-thread-longjmps.exp
9877 * gdb.threads/non-ldr-exit.exp
9878 * gdb.threads/pending-step.exp
9879 * gdb.threads/print-threads.exp
9880 * gdb.threads/process-dies-while-detaching.exp
9881 * gdb.threads/process-dies-while-handling-bp.exp
9882 * gdb.threads/pthreads.exp
9883 * gdb.threads/queue-signal.exp
9884 * gdb.threads/reconnect-signal.exp
9885 * gdb.threads/signal-command-handle-nopass.exp
9886 * gdb.threads/signal-command-multiple-signals-pending.exp
9887 * gdb.threads/signal-delivered-right-thread.exp
9888 * gdb.threads/signal-sigtrap.exp
9889 * gdb.threads/sigthread.exp
9890 * gdb.threads/staticthreads.exp
9891 * gdb.threads/stepi-random-signal.exp
9892 * gdb.threads/thread-unwindonsignal.exp
9893 * gdb.threads/thread_check.exp
9894 * gdb.threads/thread_events.exp
9895 * gdb.threads/tid-reuse.exp
9896 * gdb.threads/tls-nodebug.exp
9897 * gdb.threads/tls-shared.exp
9898 * gdb.threads/tls-so_extern.exp
9899 * gdb.threads/tls.exp
9900 * gdb.threads/wp-replication.exp
9901 * gdb.trace/actions-changed.exp
9902 * gdb.trace/actions.exp
9903 * gdb.trace/backtrace.exp
9904 * gdb.trace/change-loc.exp
9905 * gdb.trace/collection.exp
9906 * gdb.trace/deltrace.exp
9907 * gdb.trace/disconnected-tracing.exp
9908 * gdb.trace/entry-values.exp
9909 * gdb.trace/ftrace-lock.exp
9910 * gdb.trace/ftrace.exp
9911 * gdb.trace/infotrace.exp
9912 * gdb.trace/mi-trace-frame-collected.exp
9913 * gdb.trace/mi-trace-unavailable.exp
9914 * gdb.trace/mi-traceframe-changed.exp
9915 * gdb.trace/mi-tracepoint-changed.exp
9916 * gdb.trace/mi-tsv-changed.exp
9917 * gdb.trace/no-attach-trace.exp
9918 * gdb.trace/packetlen.exp
9919 * gdb.trace/passc-dyn.exp
9920 * gdb.trace/passcount.exp
9921 * gdb.trace/pending.exp
9922 * gdb.trace/pr16508.exp
9923 * gdb.trace/qtro.exp
9924 * gdb.trace/range-stepping.exp
9925 * gdb.trace/read-memory.exp
9926 * gdb.trace/report.exp
9927 * gdb.trace/save-trace.exp
9928 * gdb.trace/signal.exp
9929 * gdb.trace/stap-trace.exp
9930 * gdb.trace/status-stop.exp
9931 * gdb.trace/strace.exp
9932 * gdb.trace/tfile.exp
9933 * gdb.trace/tfind.exp
9934 * gdb.trace/trace-break.exp
9935 * gdb.trace/trace-condition.exp
9936 * gdb.trace/trace-enable-disable.exp
9937 * gdb.trace/trace-mt.exp
9938 * gdb.trace/tracecmd.exp
9939 * gdb.trace/tracefile-pseudo-reg.exp
9940 * gdb.trace/tspeed.exp
9941 * gdb.trace/tstatus.exp
9942 * gdb.trace/tsv.exp
9943 * gdb.trace/unavailable.exp
9944 * gdb.trace/while-dyn.exp
9945 * gdb.trace/while-stepping.exp
9946 * lib/gdb-guile.exp
9947 * lib/gdb.exp
9948 * lib/mi-support.exp
9949 * lib/pascal.exp
9950 * lib/perftest.exp
9951 * lib/prelink-support.exp
9952 * lib/selftest-support.exp
9953
ad02e4fe
SM
99542016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9955
9956 * Makefile.in: Include disable-implicit-rules.mk.
9957
22347e55
AA
99582016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9959
9960 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9961 non-byte-aligned bit fields.
9962
da5b30da
AA
99632016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9964
9965 PR gdb/12616
9966 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9967 respects the DW_AT_data_bit_offset attribute.
9968
b593ecca
SM
99692016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9970
9971 * gdb.base/default.exp: Fix output of "set language".
9972
3b165252
SM
99732016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9974
9975 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9976 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9977 make.
9978 * configure.ac: Remove checks for the make program.
9979 * configure: Re-generate.
9980
1a2f3d7f
KB
99812016-11-16 Kevin Buettner <kevinb@redhat.com>
9982
9983 * gdb.python/py-recurse-unwind.c (main): Add loop.
9984 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9985 to read_register() and gdb.parse_and_eval(). Make each code
9986 call a separate case that can be individually tested.
9987 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9988 proc. Call cont_and_backtrace for each of the code paths that
9989 we want to test in the unwinder.
9990
b7f38fda
AA
99912016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9992
9993 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9994 the definition of struct S.
9995
1f8db343
CM
99962016-11-11 Catherine Moore <clm@codesourcery.com>
9997
9998 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9999
fad0c9fb
PA
100002016-11-09 Pedro Alves <palves@redhat.com>
10001
10002 * gdb.base/commands.exp (runto_or_return): New procedure.
10003 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10004 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10005 (progvar_simple_while_test, progvar_complex_if_while_test)
10006 (if_while_breakpoint_command_test)
10007 (infrun_breakpoint_command_test, breakpoint_command_test)
10008 (user_defined_command_test, watchpoint_command_test)
10009 (test_command_prompt_position, redefine_hook_test)
10010 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10011 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10012 multi_line_input and multi_line. Remove gdb_expect and
10013 gdb_stop_suppressing_tests uses.
10014 * lib/gdb.exp (valnum_re): New global.
10015 (multi_line_input): New procedure.
10016
8354c62c
SM
100172016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10018
10019 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10020 Remove.
10021 (test_setup): Define with proc_with_prefix.
10022 (test_cli_inferior): Likewise.
10023 (test_cli_thread): Likewise.
10024 (test_cli_frame): Likewise.
10025 (test_cli_select_frame): Likewise.
10026 (test_cli_up_down): Likewise.
10027 (test_mi_thread_select): Likewise.
10028 (test_mi_stack_select_frame): Likewise.
10029 (test_cli_in_mi_inferior): Likewise.
10030 (test_cli_in_mi_thread): Likewise.
10031 (test_cli_in_mi_frame): Likewise.
10032 (top level): Do not use with_test_prefix_procname.
10033
64f367a2
PA
100342016-11-09 Pedro Alves <palves@redhat.com>
10035
10036 * gdb.base/commands.exp (gdbvar_simple_if_test)
10037 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10038 (progvar_simple_if_test, progvar_simple_while_test)
10039 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10040 (infrun_breakpoint_command_test, breakpoint_command_test)
10041 (user_defined_command_test, watchpoint_command_test)
10042 (test_command_prompt_position, deprecated_command_test)
10043 (bp_deleted_in_command, temporary_breakpoint_commands)
10044 (stray_arg0_test, source_file_with_indented_comment)
10045 (recursive_source_test, if_commands_test)
10046 (error_clears_commands_left, redefine_hook_test)
10047 (redefine_backtrace_test): Use proc_with_prefix.
10048 * lib/gdb.exp (proc_with_prefix): New proc.
10049
0bb65f1e
AA
100502016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10051
10052 * gdb.base/tui-layout.c: New file.
10053 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10054 disassembly window contains very long lines.
10055
7353f247
TT
100562016-11-08 Tom Tromey <tom@tromey.com>
10057
10058 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10059 depend on Python 2.
10060
30a7bb83
TT
100612016-11-08 Tom Tromey <tom@tromey.com>
10062
10063 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10064 New method.
10065
cdf5a07c
MG
100662016-10-29 Manish Goregaokar <manish@mozilla.com>
10067
2806dc7e 10068 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 10069
51a789c3
MG
100702016-10-27 Manish Goregaokar <manish@mozilla.com>
10071
2806dc7e
PA
10072 * gdb.rust/simple.rs: Add test for univariant enums without
10073 discriminants and for encoded struct-like enums.
51a789c3 10074
f610ab6d
PA
100752016-10-28 Pedro Alves <palves@redhat.com>
10076
10077 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10078 gdb_test_multiple, tighten regexps and match symtabs and line
10079 tables incrementally.
10080
b129b0ca
LM
100812016-10-28 Luis Machado <lgustavo@codesourcery.com>
10082
10083 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10084 general.
10085
ecf45d2c
SL
100862016-10-25 Luis Machado <lgustavo@codesourcery.com>
10087
10088 * gdb.base/exec-invalid-sysroot.exp: New file.
10089
b8d38ee4
JK
100902016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10091
10092 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10093
f90fd8c2
JK
100942016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10095
10096 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10097
2d2476aa
MR
100982016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10099
2806dc7e
PA
10100 * gdb.base/killed-outside.exp: Remove $options from a call to
10101 `prepare_for_testing'.
2d2476aa 10102
e42b25a0
SM
101032016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10104
10105 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10106 Change test message.
10107
3ccdb432
SM
101082016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10109
10110 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10111 Update comment.
10112
5bad3170
SM
101132016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10114
10115 * gdb.trace/mi-trace-save.exp: New file.
10116
5ad9dba7
YQ
101172016-10-13 Yao Qi <yao.qi@linaro.org>
10118
10119 * gdb.base/code_elim.exp (get_var_address): Remove.
10120 * gdb.base/relocate.exp: Likewise.
10121 * gdb.base/shreloc.exp: Likewise.
10122 * lib/gdb.exp (get_var_address): New.
10123
62df7e21
YQ
101242016-10-13 Yao Qi <yao.qi@linaro.org>
10125
10126 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
10127 floating point tests if $skip_float_test is false.
10128
4dac951e
LM
101292016-10-12 Luis Machado <lgustavo@codesourcery.com>
10130
10131 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
10132 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
10133 argc values.
10134 Add 1 to argc so we guarantee distinct initial/modified argc values.
10135
8f1a8fc4
JK
101362016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10137
10138 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
10139
16c85b5d
JK
101402016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10141
10142 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
10143 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
10144 * gdb.arch/vsx-regs.exp: Likewise.
10145
1d0e042a
YQ
101462016-10-07 Yao Qi <yao.qi@linaro.org>
10147
10148 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
10149
68dadef5
MM
101502016-10-07 Markus Metzger <markus.t.metzger@intel.com>
10151
10152 * gdb.python/python.exp: Test decode_line("*0").
10153
33fa2c6e
DE
101542016-10-06 Doug Evans <dje@google.com>
10155
10156 * gdb.python/py-value.exp (test_value_creation): Add test for large
10157 unsigned 64-bit value.
10158
9c37b5ae
TT
101592016-10-06 Tom Tromey <tom@tromey.com>
10160
10161 * gdb.compile/compile.exp: Change java tests to rust.
10162 * gdb.base/setshow.exp: Change java tests to rust.
10163 * gdb.base/default.exp: Remove java from language list.
10164 * README (Examples): Update language example.
10165 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
10166 test.
10167 * lib/gdb.exp (skip_java_tests): Remove.
10168 * lib/java.exp: Remove.
10169 * gdb.java: Remove.
10170
78b86327
MR
101712016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10172
10173 * gdb.arch/mips-fcr.exp: New test.
10174 * gdb.arch/mips-fcr.c: Source for the new test.
10175
7470adbb
MR
101762016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10177
10178 * gdb.base/solib-disc.exp: Use `standard_output_file'
10179 throughout.
10180
4a556533
PA
101812016-10-06 Pedro Alves <palves@redhat.com>
10182
10183 * gdb.base/jit-simple-dl.c: New file.
10184 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10185 * gdb.base/jit-simple.c: ... this.
10186 * gdb.base/jit-simple.exp (jit_run): Delete.
10187 (build_jit): New proc.
10188 (jit_test_reread): Recompile either the main program or the shared
10189 library, depending on what is being tested. Skip changing address
10190 if caller wants to. Compare before/after addresses. If testing
10191 standalone, explicitly load the binary. Test "maint info
10192 breakpoints".
10193 (top level): Add "standalone vs shared lib" and "change address"
10194 vs "same address" axes.
10195
5a122fbc
PA
101962016-10-06 Pedro Alves <palves@redhat.com>
10197
10198 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10199 call.
10200 (jit_run): Delete.
10201 (jit_test_reread): Use with_test_prefix. Reload the main binary
10202 explicitly. Compare the before/after addresses of the JIT
10203 descriptor.
10204
ee8da4b8
DE
102052016-08-15 Doug Evans <dje@google.com>
10206
10207 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10208 for single bitfields is bool.
10209 * gdb.xml/tdesc-regs.exp: Ditto.
10210
f389f6fe
JK
102112016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10212
10213 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10214
fdebf1a4
YQ
102152016-10-05 Yao Qi <yao.qi@linaro.org>
10216
10217 * lib/gdb.exp (support_complex_tests): Return zero if
10218 gdb_skip_float_test return true.
10219
9c36d954 102202016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10221 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
10222
10223 PR gdb/20487
10224 * gdb.mi/user-selected-context-sync.exp: New file.
10225 * gdb.mi/user-selected-context-sync.c: New file.
10226
4034d0ff 102272016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10228 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
10229
10230 PR gdb/20487
10231 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10232 =thread-select-event check.
10233
a4297203
PB
102342016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10235
10236 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10237 the compulsory L operand changes.
10238 * gdb.arch/powerpc-power.s: Likewise.
10239
bb805577
JK
102402016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10241
10242 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10243 * gdb.base/jit-attach-pie.c: New file.
10244 * gdb.base/jit-attach-pie.exp: New file.
10245
6d61dee5
PA
102462016-09-28 Pedro Alves <palves@redhat.com>
10247
10248 * gdb.base/infcall-input.c: New file.
10249 * gdb.base/infcall-input.exp: New file.
10250
f73842fc
YQ
102512016-09-22 Yao Qi <yao.qi@linaro.org>
10252
10253 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10254 (gdb_exit): Rename it to ...
10255 (gdbserver_gdb_exit): ... Close GDBserver.
10256 (gdb_exit): New proc, call gdbserver_gdb_exit.
10257 (mi_gdb_exit): Likewise.
10258
90681dab
YQ
102592016-09-22 Yao Qi <yao.qi@linaro.org>
10260
10261 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10262 path.
10263 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10264 Remove duplication.
10265
9c211fd8
YQ
102662016-09-22 Yao Qi <yao.qi@linaro.org>
10267
10268 * lib/gdbserver-support.exp: Check the existence of
10269 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10270
ad0a504f
AK
102712016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10272
10273 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10274
36cf1806
TT
102752016-09-21 Tom Tromey <tom@tromey.com>
10276
10277 PR gdb/20604:
10278 * gdb.base/quit.exp: New file.
10279
74172ecf
SM
102802016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10281
10282 * .gitignore: New file.
10283
3d0ec882
MR
102842016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10285
10286 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10287 throughout.
10288
8193adea
AA
102892016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10290
10291 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10292
d41a5c09
JK
102932016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10294
10295 * gdb.cp/casts.cc (decltype): Move it ...
10296 (main): ... with its call to ...
10297 * gdb.cp/casts03.cc: ... a new file.
10298 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10299
d2dfe700
JK
103002016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10301
10302 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10303
e2a92b16
PB
103042016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10305
10306 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10307 and sync up the test with tests in gas/testsuite/gas/ppc.
10308 * gdb.arch/powerpc-power.exp: Likewise.
10309
49b4de64
JK
103102016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10311
10312 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10313
2c29df25
SDJ
103142016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10315 Jan Kratochvil <jan.kratochvil@redhat.com>
10316
10317 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10318 make m1's definition to be different from m2's. Use 'dummy' as an
10319 argument for probe 'two'.
10320
cc3c2846
JB
103212016-09-10 Jon Beniston <jon@beniston.com>
10322
10323 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10324 for sim target.
10325
e1b2624a
AA
103262016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10327
10328 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10329 variable declaration.
10330 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10331 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10332 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10333 received HWCAP as its argument.
10334
4295e285
PA
103352016-09-06 Pedro Alves <palves@redhat.com>
10336
10337 * gdb.base/new-ui-pending-input.c: New file.
10338 * gdb.base/new-ui-pending-input.exp: New file.
10339 * gdb.exp (clear_gdb_spawn_id): New procedure.
10340 (with_spawn_id): Check whether gdb_spawn_id exists before
10341 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10342 on exit.
10343
00d5215e
UW
103442016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10345
10346 * gdb.base/float128.c: New file.
10347 * gdb.base/float128.exp: Likewise.
10348 * gdb.base/floatn.c: Likewise.
10349 * gdb.base/floatn.exp: Likewise.
10350
a9ff5f12
UW
103512016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10352
10353 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10354
f245535c
PA
103552016-09-05 Pedro Alves <palves@redhat.com>
10356
10357 PR backtrace/19927
10358 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10359 unwinders are immediately called as side effect of "source" or
10360 "disable unwinder" commands.
10361 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10362
ae9cf263
YQ
103632016-09-02 Yao Qi <yao.qi@linaro.org>
10364
10365 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10366 is true and $type is "float" or "double".
10367
27aba047
YQ
103682016-09-02 Yao Qi <yao.qi@linaro.org>
10369
10370 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10371 true.
10372 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10373 * gdb.base/call-rt-st.exp: Likewise.
10374 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10375 return value instead of gdb,skip_float_test.
10376 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10377 (do_function_calls): Use its return value instead of
10378 gdb,skip_float_test.
10379 * gdb.base/finish.exp: Likewise.
10380 * gdb.base/funcargs.exp: Likewise.
10381 * gdb.base/return.exp: Likewise.
10382 * gdb.base/return2.exp: Likewise.
10383 * gdb.base/varargs.exp: Likewise.
10384 * lib/gdb.exp (gdb_skip_float_test): Change it to
10385 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10386
5af962df
AA
103872016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10388
10389 * gdb.multi/tids.exp: Test "thread apply all".
10390
7fac6910
JK
103912016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10392
10393 * gdb.base/default.exp (tty): Remove.
10394
bb1fe4ac
KB
103952016-08-24 Kevin Buettner <kevinb@redhat.com>
10396
2806dc7e
PA
10397 * gdb.python/py-recurse-unwind.c: New file.
10398 * gdb.python/py-recurse-unwind.py: New file.
10399 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 10400
0a1ddfa6
SM
104012016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10402
10403 * gdb.base/set-inferior-tty.exp: New file.
10404 * gdb.base/set-inferior-tty.c: New file.
10405
d9de1fe3
PA
104062016-08-23 Pedro Alves <palves@redhat.com>
10407
10408 PR gdb/20494
10409 * gdb.base/new-ui-echo.c: New file.
10410 * gdb.base/new-ui-echo.exp: New file.
10411
e9d9abd7
YQ
104122016-08-23 Yao Qi <yao.qi@linaro.org>
10413
10414 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10415 gdbserver_spawn.
10416 * gdb.server/connect-without-multi-process.exp (do_test):
10417 Likewise.
10418
3589529e
YQ
104192016-08-23 Yao Qi <yao.qi@linaro.org>
10420
10421 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10422 standalone_txt. Delete gdb_txt and standalone_txt on host
10423 and target. Spawn the binary on target. Copy files from
10424 target to host.
10425
6bb90213
PA
104262016-08-22 Pedro Alves <palves@redhat.com>
10427
10428 PR gdb/20505
10429 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10430 with_test_prefix. Factor out bits to ...
10431 (test_no_vdso): ... this new procedure.
10432
20c2c024
CL
104332016-08-19 Carl Love <cel@us.ibm.com>
10434
10435 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10436 maintaining separate logic for constructing the output path.
10437 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10438 * gdb.arch/ppc-dfp.exp: Likewise.
10439 * gdb.arch/ppc-fp.exp: Likewise.
10440 * gdb.arch/vsx-regs.exp: Likewise.
10441 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10442 binprefix for generating the additional binary files.
10443
0646e07d
PA
104442016-08-19 Pedro Alves <palves@redhat.com>
10445
10446 * gdb.trace/mi-trace-frame-collected.exp
10447 (test_trace_frame_collected): On x32, expect two registers.
10448
46da9242
CL
104492016-08-18 Carl Love <cel@us.ibm.com>
10450
10451 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10452 and sync up the test with tests in gas/testsuite/gas/ppc.
10453 * gdb.arch/powerpc-power.exp: Likewise.
10454
eb2332d7
SM
104552016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10456
10457 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10458 expected error message.
10459
63c61e04
SM
104602016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10461
10462 * gdb.multi/remove-inferiors.exp: New file.
10463 * gdb.multi/remove-inferiors.c: New file.
10464
7b17065f
YQ
104652016-08-12 Yao Qi <yao.qi@linaro.org>
10466
10467 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10468 argument list.
10469
01d3dedf
PA
104702016-08-10 Pedro Alves <palves@redhat.com>
10471
10472 PR gdb/19187
10473 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10474 setup_kfails.
10475
3eb7562a
PA
104762016-08-09 Pedro Alves <palves@redhat.com>
10477 Simon Marchi <simon.marchi@ericsson.com>
10478
10479 PR gdb/20418
10480 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10481 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10482
80614914
PA
104832016-08-09 Pedro Alves <palves@redhat.com>
10484
10485 PR mi/20431
10486 * gdb.mi/mi-cmd-error.exp: New file.
10487
f348d89a
PA
104882016-08-09 Pedro Alves <palves@redhat.com>
10489
10490 PR gdb/18653
10491 * gdb.base/signals-state-child.c: New file.
10492 * gdb.base/signals-state-child.exp: New file.
10493 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10494
e5ca03b4
PA
104952016-08-09 Pedro Alves <palves@redhat.com>
10496
10497 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10498
282a0691
TT
104992016-08-03 Tom Tromey <tom@tromey.com>
10500
10501 PR python/18565:
10502 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10503
41bfcd63
YQ
105042016-08-01 Yao Qi <yao.qi@linaro.org>
10505
10506 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10507 variable mode to "multi-process" if $multi_process is 1, otherwise
10508 set it to "single-process".
10509
e3465b24
YQ
105102016-08-01 Yao Qi <yao.qi@linaro.org>
10511
10512 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10513 * gdb.cp/cpexprs.exp: Likewise.
10514 * gdb.cp/m-static.exp: Likewise.
10515
0b31a4bc
TT
105162016-07-26 Tom Tromey <tom@tromey.com>
10517
10518 PR python/20190:
10519 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10520 test.
10521
e0461dbb
MM
105222016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10523
10524 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10525 selecting assembly source files.
10526 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10527 assembly source files.
10528 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10529 assembly source files.
10530 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10531 selecting assembly source files.
10532
8194e927
SM
105332016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10534
10535 * gdb.base/new-ui.exp (do_test_invalid_args): New
10536 procedure.
10537
c0272db5
TW
105382016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10539
10540 * gdb.btrace/reconnect.c: New file.
10541 * gdb.btrace/reconnect.exp: New file.
10542
e3487908
GKB
105432016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10544
10545 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10546 to test_catch_syscall_group.
10547 (test_catch_syscall_group): New.
10548
12df5c00
TT
105492016-07-21 Tom Tromey <tom@tromey.com>
10550
10551 * gdb.rust/simple.rs (main): Use empty struct expression.
10552 * gdb.rust/simple.exp: Add tests for empty struct expression.
10553
bae62ee2
YQ
105542016-07-21 Yao Qi <yao.qi@linaro.org>
10555
10556 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10557 if gdb_skip_xml_test is true on some targets.
10558
b1b53fb3
YQ
105592016-07-21 Yao Qi <yao.qi@linaro.org>
10560
10561 * gdb.server/solib-list.exp: Unset last_loaded_file.
10562
027d97f8
JK
105632016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10564
10565 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10566 "step into captured_main (args)".
10567
7674d381
JK
105682016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10569
10570 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10571
72b5d099
JK
105722016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10573
10574 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10575
1f960ced
PA
105762016-07-19 Pedro Alves <palves@redhat.com>
10577
10578 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10579 * gdb.opt/inline-bt.exp: Likewise.
10580 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10581 additional_flags=-Winline.
10582 * gdb.opt/inline-locals.exp: Likewise.
10583 * gdb.opt/inline-markers.c (ATTR): Define.
10584 (inlined_fn): Use it.
10585
f25827c1
YQ
105862016-07-19 Yao Qi <yao.qi@linaro.org>
10587
10588 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10589 (test_with_self): Remove some code. Remove argument executable.
10590 (top-level): Use do_self_tests.
10591
37539ebe
DB
105922016-07-15 Zachary Welch <zwelch@codesourcery.com>
10593 Don Breazeal <donb@codesourcery.com>
10594
10595 * gdb.base/maint.exp: Escape paths used in regular expressions.
10596 * gdb.stabs/weird.exp: Likewise.
10597
dac790e1
TT
105982016-07-13 Tom Tromey <tom@tromey.com>
10599
10600 PR python/15620, PR python/18620:
10601 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10602 (test_bkpt_events): New procs.
10603
93daf339
TT
106042016-07-13 Tom Tromey <tom@tromey.com>
10605
10606 PR python/17698:
10607 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10608 test.
10609 (test_watchpoints): Likewise.
10610 (test_bkpt_pending): New proc.
10611
6571a381
TT
106122016-07-13 Tom Tromey <tom@tromey.com>
10613
10614 PR cli/18053:
10615 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10616 completion test.
10617
e8732474
JK
106182016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10619
10620 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10621 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10622 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10623 f_label.
10624 (g): Rename g_end_lbl to g_label.
10625 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10626 low_pc and high_pc.
10627 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10628
e0f3fd7c
TT
106292016-07-12 Tom Tromey <tom@tromey.com>
10630
10631 PR python/19293:
10632 * gdb.python/py-unwind-maint.exp: Update tests.
10633
3cfe46b6
YQ
106342016-07-12 Yao Qi <yao.qi@linaro.org>
10635
10636 * lib/selftest-support.exp (selftest_setup): Match the output
10637 when captured_main is inlined.
10638
4f19a0e6
WT
106392016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10640
10641 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10642 New variables.
10643 (print this%a, print this%b, print this): New tests.
10644 * gdb.fortran/derived-types.f90 (this): New object and
10645 initialization.
10646
986cf455
SM
106472016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10648
10649 * gdb.ada/arraydim.exp: Remove extra directory level in build
10650 directory.
10651
f0464b23
SM
106522016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10653
10654 * lib/ada.exp: Remove extra directory level in build directory.
10655 * gdb.ada/cond_lang.exp: Likewise.
10656 * gdb.ada/exec_changed.exp: Likewise.
10657 * gdb.ada/lang_switch.exp: Likewise.
10658
42d94011
MG
106592016-07-06 Manish Goregaokar <manish@mozilla.com>
10660
2806dc7e
PA
10661 * simple.rs: Add test for raw pointer subscripting.
10662 * simple.exp: Add test expectations.
42d94011 10663
647c264c
YQ
106642016-07-05 Yao Qi <yao.qi@linaro.org>
10665
10666 * gdb.mi/mi-reverse.exp: Match =record-started output.
10667
20aa2c60
PA
106682016-07-01 Pedro Alves <palves@redhat.com>
10669
10670 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10671 procedure.
10672 (jit_reader_test): Test the jit reader's unwinder.
10673 * gdb.base/jithost.c (jit_function_00_code): New global.
10674 (main): Use memcpy to fill in the mmapped code, instead of poking
10675 bytes manually here.
10676 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10677 value.
10678 (read_debug_info): Save the function's range.
10679 (read_sp): New function.
10680 (unwind_frame): Use it. Also unwind RBP.
10681 (get_frame_id): Use read_sp.
10682 (gdb_init_reader): Use calloc instead of malloc.
10683 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10684 parameter. Use gdb_test_multiple.
10685
ced2dffb
PA
106862016-07-01 Pedro Alves <palves@redhat.com>
10687 Antoine Tremblay <antoine.tremblay@ericsson.com>
10688
10689 * gdb.threads/process-dies-while-detaching.c: New file.
10690 * gdb.threads/process-dies-while-detaching.exp: New file.
10691
63000888
PA
106922016-07-01 Pedro Alves <palves@redhat.com>
10693
10694 * gdb.multi/watchpoint-multi-exit.c: New file.
10695 * gdb.multi/watchpoint-multi-exit.exp: New file.
10696
038d4868
PA
106972016-06-30 Pedro Alves <palves@redhat.com>
10698
10699 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10700 unset inferior_spawn_id.
10701
994e9c83
PA
107022016-06-30 Pedro Alves <palves@redhat.com>
10703
10704 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10705 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10706
e5653468
YQ
107072016-06-29 Yao Qi <yao.qi@linaro.org>
10708
10709 * gdb.base/return.c: Add copyright header.
10710
803b47e5
TT
107112016-06-29 Tom Tromey <tom@tromey.com>
10712
10713 PR python/20129:
10714 * gdb.python/py-framefilter.exp: Add tests for setting priority
10715 and disabling of non-existent frame filter.
10716
28244707
YQ
107172016-06-29 Yao Qi <yao.qi@linaro.org>
10718
10719 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10720 0x0f07ff.
10721
a31d2f06
YQ
107222016-06-28 Yao Qi <yao.qi@linaro.org>
10723
10724 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10725 triplets. Start gdb, execute catch syscall, and continue. Check
10726 gdb's output to determine catch syscall is supported.
10727
921d8f54
MG
107282016-06-27 Manish Goregaokar <manish@mozilla.com>
10729
25d49b86
PA
10730 * gdb.rust/simple.rs: Add test for returning unit in a function.
10731 * gdb.rust/simple.exp: Add expectation for functions returning
10732 unit.
921d8f54 10733
f4952523
PMR
107342016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10735
10736 * gdb.python/py-breakpoint-create-fail.c,
10737 gdb.python/py-breakpoint-create-fail.exp,
10738 gdb.python/py-breakpoint-create-fail.py: New testcase.
10739
fccb08f8
MG
107402016-06-25 Manish Goregaokar <manish@mozilla.com>
10741
10742 PR gdb/20239
10743 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
10744 * gdb.rust/simple.exp: Add test expectations for new NonZero
10745 tests.
fccb08f8 10746
6b850546
DT
107472016-06-24 David Taylor <dtaylor@emc.com>
10748
10749 * gdb.base/offsets.exp: New file.
10750 * gdb.base/offsets.c: New file.
10751
17621150
TT
107522016-06-23 Tom Tromey <tom@tromey.com>
10753
10754 PR gdb/16483:
10755 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10756 before any filters are loaded.
10757
04d59df6
WT
107582016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10759
10760 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10761 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10762 structs.
10763 * gdb.fortran/derived-type-function.exp: New file.
10764 * gdb.fortran/derived-type-function.f90: New file.
10765
10766
ac69f786
PA
107672016-06-21 Pedro Alves <palves@redhat.com>
10768
10769 * gdb.base/new-ui.exp: New file.
10770 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10771 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10772 (with_spawn_id): New procedure.
10773
49940788
PA
107742016-06-21 Pedro Alves <palves@redhat.com>
10775
10776 * gdb.mi/mi-exec-run.exp: New file.
10777
ef274d26
PA
107782016-06-21 Pedro Alves <palves@redhat.com>
10779
10780 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10781 breakpoint command's output on the main UI.
10782 (test_break): New procedure, factored out from calls in the top
10783 level.
10784 (top level): Use foreach_with_prefix to test MI as main UI and as
10785 separate UI.
10786
468afe6c
PA
107872016-06-21 Pedro Alves <palves@redhat.com>
10788
10789 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10790 (test_awatch_creation_and_listing)
10791 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10792 Remove 'type' parameter.
10793 (test_watchpoint_all): New parameter mi_mode. Remove
10794 with_test_prefix.
10795 (top level): Use foreach_with_prefix, and add main/separate UI MI
10796 testing axis.
10797
51f77c37
PA
107982016-06-21 Pedro Alves <palves@redhat.com>
10799
10800 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10801 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10802 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10803 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10804 (gdb_main_spawn_id, mi_spawn_id): Declare and
10805 comment.
10806 (mi_create_inferior_pty): New procedure,
10807 factored out from default_mi_gdb_start.
10808 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10809 procedures.
10810 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10811 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10812 Use mi_create_inferior_pty.
10813 (mi_gdb_start): Use eval to pass down args list.
10814
8980e177
PA
108152016-06-21 Pedro Alves <palves@redhat.com>
10816
10817 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10818 * gdb.opt/inline-cmds.exp: Add MI tests.
10819
f38d3ad1
PA
108202016-06-21 Pedro Alves <palves@redhat.com>
10821
10822 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10823
45db7c09
PA
108242016-06-21 Pedro Alves <palves@redhat.com>
10825
10826 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10827 (top level): Use it instead of mi_execute_to.
10828
5a069ab3
PA
108292016-06-21 Pedro Alves <palves@redhat.com>
10830
10831 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10832 (cont_handler_str): New.
10833 (signal_stop_handler): Set stop_handler_str instead of printing to
10834 stdout.
10835 (continue_handler): Set cont_handler_str instead of printing to
10836 stdout.
10837 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10838 mi_send_resuming_command. Print stop_handler_str and
10839 cont_handler_str instead of expecting the python events print
10840 directly.
10841
2838cc1d
SD
108422016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10843
10844 * gdb.base/jit-reader.exp: New file.
10845 * gdb.base/jithost.c: New file.
10846 * gdb.base/jithost.h: New file.
10847 * gdb.base/jitreader.c : New file.
10848 * gdb.base/jit-protocol.h: New file.
10849
21a77091
YQ
108502016-06-17 Yao Qi <yao.qi@linaro.org>
10851
10852 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10853 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10854 and detach-on-fork. Adjust tests.
10855 (top level): Invoke break_cond_on_syscall with combinations of
10856 syscall, follow-fork-mode and detach-on-fork.
10857
f50bf8e5
YQ
108582016-06-17 Yao Qi <yao.qi@linaro.org>
10859
10860 * gdb.base/step-over-exit.c: New.
10861 * gdb.base/step-over-exit.exp: New.
10862
a28d8e50
YTL
108632016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10864
10865 * gdb.base/float.exp: Add target check for nds32*-*-*.
10866 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10867
cad8e26d
AB
108682016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10869
10870 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10871 for unsupported target features.
10872 * gdb.base/call-rt-st.exp: Likewise.
10873 * gdb.base/call-sc.exp: Likewise.
10874 * gdb.base/call-signal-resume.exp: Likewise.
10875 * gdb.base/call-strs.exp: Likewise.
10876 * gdb.base/callexit.exp: Likewise.
10877 * gdb.base/callfuncs.exp: Likewise.
10878 * gdb.base/nodebug.exp: Likewise.
10879 * gdb.base/printcmds.exp: Likewise.
10880 * gdb.base/ptype.exp: Likewise.
10881 * gdb.base/structs.exp: Likewise.
10882 * gdb.base/unwindonsignal.exp: Likewise.
10883 * gdb.cp/gdb2495.exp: Likewise.
10884 * gdb.cp/templates.exp: Likewise.
10885 * gdb.cp/virtfunc.exp: Likewise.
10886 * gdb.threads/hand-call-in-threads.exp: Likewise.
10887 * gdb.threads/interrupted-hand-call.exp: Likewise.
10888 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10889
347dc102
TT
108902016-06-10 Tom Tromey <tom@tromey.com>
10891
10892 PR rust/20110:
10893 * gdb.rust/expr.exp: Add test for integer constant larger than
10894 i32.
10895
5e13cf25
BH
108962016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10897
10898 * gdb.fortran/nested-funcs.exp: New.
10899 * gdb.fortran/nested-funcs.f90: New.
10900
bb556f1f
TK
109012016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10902
10903 * gdb.base/examine-backward.c: New file.
10904 * gdb.base/examine-backward.exp: New file.
10905
38b022b4
SM
109062016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10907
10908 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10909 matching.
10910
1b40ec05
TT
109112016-06-02 Tom Tromey <tom@tromey.com>
10912
10913 PR python/18984:
10914 * gdb.python/py-shared.exp: Add solib_name test.
10915
193bd378
SM
109162016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10917
10918 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10919
3326303b
MG
109202016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10921
10922 PR c++/19893
10923 * gdb.dwarf2/implref.exp: Rename to...
10924 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10925 * gdb.dwarf2/implref-array.c: New file.
10926 * gdb.dwarf2/implref-array.exp: Likewise.
10927 * gdb.dwarf2/implref-global.c: Likewise.
10928 * gdb.dwarf2/implref-global.exp: Likewise.
10929 * gdb.dwarf2/implref-struct.c: Likewise.
10930 * gdb.dwarf2/implref-struct.exp: Likewise.
10931
825c8ef2
AT
109322016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10933
10934 * gdb.trace/trace-condition.exp: Add 64bit tests.
10935
2320162a
AT
109362016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10937
10938 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10939 bits types.
10940 (main): Adapt to 8 to 64 bits types.
10941 * gdb.trace/trace-condition.exp: Add new tests.
10942
a7818233
AT
109432016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10944
10945 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10946
0d336466
AT
109472016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10948
10949 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10950 Move condition tests...
10951 * gdb.trace/trace-condition.exp: Here.
10952
7faeb45a
AT
109532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10954
10955 * gdb.trace/trace-condition.exp: Add counter-case tests.
10956
e385593e
JK
109572016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10958
10959 PR c++/15231
10960 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10961 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10962
744608cc
PA
109632016-05-27 Pedro Alves <palves@redhat.com>
10964
10965 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10966 New procedure.
10967 (top level): Call it, and bail out of DejaGnu is known to be bad.
10968
ac775bf4
AB
109692016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10970
10971 * gdb.base/whatis.c: Extend the test case.
10972 * gdb.base/whatis.exp: Add additional tests.
10973
2bbad2ea
BH
109742016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10975
10976* gdb.fortran/type.f90: Add pointer variable.
10977* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10978
8b70175d
BH
109792016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10980
10981 * gdb.fortran/vla-type.exp: Fix testcase name.
10982
86d8a848
BH
109832016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10984
10985 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10986
e188eb36
BH
109872016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10988
10989 * gdb.fortran/type.f90: Add nested structures.
10990 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10991 * gdb.fortran/derived-type.exp: Adapt expected output.
10992 * gdb.fortran/vla-type.exp: Adapt expected output.
10993
9b2db1fd
BH
109942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10995
10996 * gdb.fortran/whatis_type.exp: Adapt expected output.
10997
72b17055
BH
109982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10999
11000 * gdb.fortran/print_type.exp: Fix expected output.
11001 * gdb.fortran/whatis_type.exp: Fix expected output.
11002
3cd81d8d
BH
110032016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11004
11005 * gdb.fortran/whatis_type.exp: Use multi_line.
11006
ddae9462
TT
110072016-05-24 Tom Tromey <tom@tromey.com>
11008
11009 PR python/17386:
11010 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11011 use value as an index.
11012
1957f6b8
TT
110132016-05-23 Tom Tromey <tom@tromey.com>
11014
11015 PR python/17981:
11016 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11017 no-breakpoint case.
11018
026a9174
PA
110192016-05-24 Pedro Alves <palves@redhat.com>
11020
11021 PR gdb/19828
11022 * gdb.threads/clone-attach-detach.c: New file.
11023 * gdb.threads/clone-attach-detach.exp: New file.
11024
e70a7231
FR
110252016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11026
11027 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11028
0f6ed0e0
TT
110292016-05-23 Tom Tromey <tom@tromey.com>
11030
11031 PR python/19438, PR python/18393:
11032 * gdb.python/py-progspace.exp: Add "dir" test.
11033 * gdb.python/py-objfile.exp: Add "dir" test.
11034
ffd19d61
YQ
110352016-05-23 Yao Qi <yao.qi@linaro.org>
11036
11037 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11038 * gdb.arch/thumb2-it.exp: Likewise.
11039
9e8f9b05
SM
110402016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11041
11042 * gdb.mi/mi-threads-interrupt.c: New file.
11043 * gdb.mi/mi-threads-interrupt.exp: New file.
11044
61c6156d
SM
110452016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11046
11047 PR gdb/18077
11048 * gdb.mi/mi-async-run.exp: New file.
11049 * gdb.mi/mi-async-run.c: New file.
11050
67218854
TT
110512016-05-17 Tom Tromey <tom@tromey.com>
11052 Manish Goregaokar <manishsmail@gmail.com>
11053
11054 * lib/rust-support.exp: New file.
11055 * lib/gdb.exp (skip_rust_tests): New proc.
11056 (build_executable_from_specs): Handle rust.
11057 * lib/future.exp (gdb_find_rustc): New proc.
11058 (gdb_default_target_compile): Handle rust.
11059 * gdb.rust/expr.exp: New file.
11060 * gdb.rust/generics.exp: New file.
11061 * gdb.rust/generics.rs: New file.
11062 * gdb.rust/methods.exp: New file.
11063 * gdb.rust/methods.rs: New file.
11064 * gdb.rust/modules.exp: New file.
11065 * gdb.rust/modules.rs: New file.
11066 * gdb.rust/simple.exp: New file.
11067 * gdb.rust/simple.rs: New file.
11068
c44af4eb
TT
110692016-05-17 Tom Tromey <tom@tromey.com>
11070
11071 * gdb.base/default.exp (set language): Add rust.
11072
dcd1f979
TT
110732016-05-17 Tom Tromey <tom@tromey.com>
11074
11075 * gdb.gdb/unittest.exp: New file.
11076
155b7f57
YQ
110772016-05-16 Yao Qi <yao.qi@linaro.org>
11078
11079 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11080 shell_prompt. Update shell_prompt_re.
11081
8ddd5a6c
DE
110822016-05-12 Doug Evans <dje@google.com>
11083
11084 PR symtab/19999
11085 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11086 $options when building executable.
11087 * gdb.dwarf2/fission-loclists-pie.S: New file.
11088 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11089
02e370d9
SM
110902016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11091
11092 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11093 of [is_remote target],
11094
8929ad8b
SM
110952016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11096
11097 * lib/gdb.exp (use_gdb_stub): New procedure.
11098
6c447423
DE
110992016-05-03 Yunlian Jiang <yunlian@google.com>
11100 Doug Evans <dje@google.com>
11101
11102 PR symtab/19914
11103 * gdb.dwarf2/dwp-sepdebug.c: New file.
11104 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11105
444e826c
SM
111062016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11107
11108 * gdb.base/detach.exp: Remove is_remote check.
11109
740feeaa
SM
111102016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11111
11112 * gdb.base/annota-input-while-running.exp: Don't check for
11113 [is_remote target]. Enable annotations after running to main.
11114 Remove unused "set test..." line.
11115
9080ac9d
SM
111162016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11117
11118 * gdb.trace/trace-enable-disable.exp: New file.
11119 * gdb.trace/trace-enable-disable.c: New file.
11120
952ebca5
SM
111212016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11122
11123 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
11124 use it in info sharedlibrary test.
11125 * gdb.trace/ftrace-lock.exp: Likewise.
11126 * gdb.trace/ftrace.exp: Likewise.
11127 * gdb.trace/range-stepping.exp: Likewise.
11128 * gdb.trace/trace-break.exp: Likewise.
11129 * gdb.trace/trace-condition.exp: Likewise.
11130 * gdb.trace/trace-mt.exp: Likewise.
11131
d9019901
SM
111322016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11133
11134 * lib/gdb.exp (gdb_load_shlibs): Rename to...
11135 (gdb_load_shlib): ... this.
11136 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
11137 gdb_load_shlib.
11138 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
11139 * gdb.base/ctxobj.exp: Likewise.
11140 * gdb.base/dprintf-pending.exp: Likewise.
11141 * gdb.base/dso2dso.exp: Likewise.
11142 * gdb.base/fixsection.exp: Likewise.
11143 * gdb.base/gcore-relro.exp: Likewise.
11144 * gdb.base/gdb1555.exp: Likewise.
11145 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11146 * gdb.base/gnu-ifunc.exp: Likewise.
11147 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
11148 * gdb.base/jit-so.exp (one_jit_test): Likewise.
11149 * gdb.base/pending.exp: Likewise.
11150 * gdb.base/print-file-var.exp: Likewise.
11151 * gdb.base/print-symbol-loading.exp: Likewise.
11152 * gdb.base/shlib-call.exp: Likewise.
11153 * gdb.base/shreloc.exp: Likewise.
11154 * gdb.base/so-impl-ld.exp: Likewise.
11155 * gdb.base/solib-disc.exp: Likewise.
11156 * gdb.base/solib-nodir.exp: Likewise.
11157 * gdb.base/solib-overlap.exp: Likewise.
11158 * gdb.base/solib-symbol.exp: Likewise.
11159 * gdb.base/solib-weak.exp (do_test): Likewise.
11160 * gdb.base/sym-file.exp: Likewise.
11161 * gdb.base/symtab-search-order.exp: Likewise.
11162 * gdb.base/type-opaque.exp: Likewise.
11163 * gdb.base/unload.exp: Likewise.
11164 * gdb.base/watchpoint-solib.exp: Likewise.
11165 * gdb.compile/compile.exp: Likewise.
11166 * gdb.cp/gdb2384.exp: Likewise.
11167 * gdb.cp/infcall-dlopen.exp: Likewise.
11168 * gdb.cp/re-set-overloaded.exp: Likewise.
11169 * gdb.fortran/library-module.exp: Likewise.
11170 * gdb.opt/solib-intra-step.exp: Likewise.
11171 * gdb.python/py-finish-breakpoint.exp: Likewise.
11172 * gdb.python/py-shared.exp: Likewise.
11173 * gdb.reverse/solib-precsave.exp: Likewise.
11174 * gdb.reverse/solib-reverse.exp: Likewise.
11175 * gdb.server/solib-list.exp: Likewise.
11176 * gdb.threads/dlopen-libpthread.exp: Likewise.
11177 * gdb.threads/tls-shared.exp: Likewise.
11178 * gdb.threads/tls-so_extern.exp: Likewise.
11179 * gdb.trace/change-loc.exp: Likewise.
11180 * gdb.trace/ftrace-lock.exp: Likewise.
11181 * gdb.trace/ftrace.exp: Likewise.
11182 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11183 * gdb.trace/pending.exp: Likewise.
11184 * gdb.trace/range-stepping.exp: Likewise.
11185 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11186 (strace_info_marker): Likewise.
11187 (strace_probe_marker): Likewise.
11188 (strace_trace_on_same_addr): Likewise.
11189 (strace_trace_on_diff_addr): Likewise.
11190 * gdb.trace/trace-break.exp: Likewise.
11191 * gdb.trace/trace-condition.exp: Likewise.
11192 * gdb.trace/trace-mt.exp: Likewise.
11193
fca4cfd9
SM
111942016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11195
11196 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11197 result of gdb_remote_download.
11198 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11199 * gdb.base/dso2dso.exp: Likewise.
11200 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11201 * gdb.base/print-file-var.exp: Likewise.
11202 * gdb.base/shlib-call.exp: Likewise.
11203 * gdb.base/shreloc.exp: Likewise.
11204 * gdb.base/solib-overlap.exp: Likewise.
11205 * gdb.base/solib-weak.exp (do_test): Likewise.
11206 * gdb.base/unload.exp: Likewise.
11207
11cf4ffb
YQ
112082016-04-27 Yao Qi <yao.qi@linaro.org>
11209
11210 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11211 exists.
11212
3e2e34f8
KB
112132016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11214
11215 * vla-type.exp: Print structure from toplevel.
11216
8f07e298
BH
112172016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11218
11219 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11220 of dynamic types.
11221 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11222 of dynamic types.
11223
9920b434
BH
112242016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11225
11226 * gdb.fortran/vla-type.f90: New file.
11227 * gdb.fortran/vla-type.exp: New file.
11228
f3abeff5
YQ
112292016-04-25 Yao Qi <yao.qi@linaro.org>
11230
11231 * gdb.base/branch-to-self.c: New file.
11232 * gdb.base/branch-to-self.exp: New file.
11233
0a5d52f0
YQ
112342016-04-22 Yao Qi <yao.qi@linaro.org>
11235
11236 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11237 more after $hex.
11238
495346f6
YQ
112392016-04-22 Yao Qi <yao.qi@linaro.org>
11240
11241 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11242 * gdb.base/annota3.exp: Likewise.
11243
4a7e075c
YQ
112442016-04-22 Yao Qi <yao.qi@linaro.org>
11245
11246 * gdb.reverse/step-precsave.exp: Do one step and test program
11247 stops in "callee" and do multiple steps until program goes out
11248 of "callee".
11249 * gdb.reverse/step-reverse.exp: Likewise.
11250
5b061e98
YQ
112512016-04-22 Yao Qi <yao.qi@linaro.org>
11252
11253 * gdb.trace/signal.exp: Also pass if
11254 $tracepoint_hits($i) > $iterations.
11255
5c5dc57f
YQ
112562016-04-22 Yao Qi <yao.qi@linaro.org>
11257
11258 * gdb.trace/signal.c: New file.
11259 * gdb.trace/signal.exp: New file.
11260
a55411b9
DE
112612016-04-19 Doug Evans <xdje42@gmail.com>
11262
11263 * gdb.base/bad-file.exp: New file.
11264
a22df60a
MG
112652016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11266
11267 * gdb.dwarf2/implref.exp: New file.
11268
0c13f7e5
BH
112692016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11270
11271 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11272 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11273 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11274 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11275 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11276 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11277 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11278 * lib/fortran.exp (fortran_int4): New procedure.
11279 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11280 (fortran_logical4): Likewise.
11281
9b9b09e9
BH
112822016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11283
11284 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11285
a14d1f4d
BH
112862016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11287
11288 * lib/compiler.c: Add Intel specific preprocessor macros.
11289 * lib/compiler.cc: Likewise.
25d49b86 11290
7d49b1d0
LM
112912016-04-13 Luis Machado <lgustavo@codesourcery.com>
11292
11293 * gdb.server/connect-with-no-symbol-file.c: New file.
11294 * gdb.server/connect-with-no-symbol-file.exp: New file.
11295
8392fa22
SM
112962016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11297
11298 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11299
8c4c4aeb
SM
113002016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11301
11302 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11303 standard output directory.
11304
45e3745e
AT
113052016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11306
11307 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11308
e26b7e41
MM
113092016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11310
11311 * gdb.btrace/instruction_history.c (loop): Add declaration.
11312
8ce09462
AT
113132016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11314
11315 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11316
2e88a1ea
SM
113172016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11318
11319 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11320 parentheses to print.
11321 (continue_handler): Likewise.
11322
f48e22e3
SM
113232016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11324
11325 * gdb.server/solib-list.exp: Remove is_remote check.
11326 Pass shlib= to gdb_compile. Don't link shared library with
11327 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11328 Run binary filename through "readlink -f" on the target.
11329
096be756
PA
113302016-04-08 Pedro Alves <palves@redhat.com>
11331
11332 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11333 interpreter filename as argument to gdbserver_spawn.
11334 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11335 Return empty if $last_loaded_file does not exist.
11336
06500533
JK
113372016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11338
11339 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11340 * gdb.base/jit-main.c: Use exit after usage.
11341
2d35e871
JK
113422016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11343
11344 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11345 GDBHISTSIZE prior to the tests.
11346 * gdb.base/gdbinit-history.exp: Likewise.
11347
113482016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
11349
11350 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11351 instead of build_executable. Use gdb_load_shlibs.
11352
c8064e7e
YQ
113532016-04-07 Yao Qi <yao.qi@linaro.org>
11354
11355 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11356 Execute "si" command.
11357
bde47561
YQ
113582016-04-07 Yao Qi <yao.qi@linaro.org>
11359
11360 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11361 number instead of the comments on some line.
11362
b16f8a3b
DB
113632016-04-06 Don Breazeal <donb@codesourcery.com>
11364
11365 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11366 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11367
c2f901df
SM
113682016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11369
11370 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11371 standard_output_file. Remove unused binfile variable.
11372
ac17fda0
CU
113732016-04-05 Catalin Udma <catalin.udma@freescale.com>
11374
11375 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11376 * gdb.python/py-mi-objfile.exp: Match "list main" output
11377 in console format.
11378
03a8c4df
SM
113792016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11380
11381 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11382 absolute.
11383
6e774b13
SM
113842016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11385
11386 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11387 absolute.
11388 * gdb.trace/ftrace.exp: Likewise.
11389 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11390 targets as well.
11391 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11392 (gdb_load_shlibs): Copy libraries to test directory when testing
11393 natively. Only set solib-search-path if testing remotely.
11394 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11395
7817ea46
SM
113962016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11397
11398 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11399 gdb_download. Use it even if the target is not remote.
11400 * gdb.base/jit.exp (compile_jit_test): Likewise.
11401 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11402 output directory if the destination board is local, otherwise use
11403 the standard remote_download from DejaGnu.
11404 (gdb_download): Remove.
11405 (gdb_load_shlibs): Use gdb_remote_download instead of
11406 gdb_download.
11407 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11408 Use gdb_remote_download instead of gdb_download. Use it even if
11409 the target is not remote.
11410 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11411 instead of gdb_download.
11412
7beb7f68
SM
114132016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11414
11415 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11416 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11417 run.
11418
cc63428a
AV
114192016-04-01 Artemiy Volkov <artemiyv@acm.org>
11420
11421 PR gdb/19820
11422 * gdb.base/printcmds.exp: Add artificial arrays tests.
11423
64cdf930
PA
114242016-03-31 Pedro Alves <palves@redhat.com>
11425
11426 PR gdb/19858
11427 * gdb.base/jit-main.c: Include unistd.h.
11428 (ATTACH): Define to 0 if not already defined.
11429 (wait_for_gdb, mypid): New globals.
11430 (WAIT_FOR_GDB): New macro.
11431 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11432 some breakpoint locations.
11433 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11434 New procedures.
11435 (one_jit_test): Add REATTACH parameter, and handle it. Use
11436 continue_to_test_location.
11437 (top level): Test attach, and adjusts calls to one_jit_test.
11438
40dea8cb
PA
114392016-03-31 Pedro Alves <palves@redhat.com>
11440
11441 PR gdb/19858
11442 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11443 BINSUFFIX parameter, and handle it.
11444 (top level): Adjust calls compile_jit_test.
11445
e7ea3ec7
CU
114462016-03-31 Catalin Udma <catalin.udma@freescale.com>
11447
11448 PR python/19743
11449 * gdb.python/py-mi-events-gdb.py: New file.
11450 * gdb.python/py-mi-events.c: New file.
11451 * gdb.python/py-mi-events.exp: New file.
11452
e6359af3
YQ
114532016-03-30 Yao Qi <yao.qi@linaro.org>
11454
11455 * gdb.reverse/until-precsave.exp: Match function name only.
11456 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11457 Move malloc to a condition block.
11458 * gdb.reverse/until-reverse.exp: Match function name only.
11459
a4105d04
MK
114602016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11461
11462 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11463 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11464 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11465 variable for GPR 0 instead of assuming it is register 0.
11466 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11467 * lib/trace-support.exp: Add s390 registers.
11468
bfa6adb9
YQ
114692016-03-29 Yao Qi <yao.qi@linaro.org>
11470
11471 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11472
1e6697ea
YQ
114732016-03-24 Yao Qi <yao.qi@linaro.org>
11474
11475 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11476 test message.
11477
64bcd522
AA
114782016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11479
11480 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11481 maintaining separate logic for constructing the output path.
11482
7868401b
DB
114832016-03-16 Don Breazeal <donb@codesourcery.com>
11484
11485 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11486 Retry fork and waitpid on interrupted system call errors.
11487 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11488 Use with_timeout_factor to increase timeout by factor of 10.
11489
1cafadb4
DB
114902016-03-15 Don Breazeal <donb@codesourcery.com>
11491
11492 * gdb.cp/scope-err.cc: New test program.
11493 * gdb.cp/scope-err.exp: New test script.
11494 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11495 lines and "set breakpoint here" comment.
11496 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11497 Fixed some whitespace and format issues.
11498 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11499 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11500
81516450
DE
115012016-03-15 Doug Evans <dje@google.com>
11502
11503 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11504 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11505 All callers updated. Add tests for enums, mixed flags register.
11506
aa52b601
DE
115072016-03-15 Doug Evans <dje@google.com>
11508
11509 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11510 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11511
fa4ff313
SM
115122016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11513
11514 * gdb.base/default.exp: Add $_as_string to the list of expected
11515 convenience functions.
11516
f2403c39
AB
115172016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11518
11519 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11520
f2f3ccb9
SM
115212016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11522
11523 * gdb.python/py-as-string.exp: New file.
11524 * gdb.python/py-as-string.c: New file.
11525
00dbd492
PA
115262016-03-09 Pedro Alves <palves@redhat.com>
11527
11528 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11529 signal" -> "Thread NN received signal" output change.
11530 * gdb.threads/ia64-sigill.exp: Likewise.
11531 * gdb.threads/linux-dp.exp: Likewise.
11532 * gdb.threads/manythreads.exp: Likewise.
11533 * gdb.threads/pending-step.exp: Likewise.
11534 * gdb.threads/print-threads.exp: Likewise.
11535 * gdb.threads/sigstep-threads.exp: Likewise.
11536 * gdb.threads/staticthreads.exp: Likewise.
11537 * gdb.threads/tls.exp: Likewise.
11538
1e6697ea
YQ
115392016-03-09 Pedro Alves <palves@redhat.com>
11540
11541 * gdb.base/command-line-input.exp: New file.
11542
b04fd3be
MK
115432016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11544
11545 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11546 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11547 * gdb.trace/pending.exp: Accept leading dot before function name.
11548 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11549 * lib/trace-support.exp: Set registers for ppc.
11550
98fa59e9
MK
115512016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11552
11553 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11554 use it for disassembly; accept .main in addition to main in backtrace.
11555
f77198c8
MK
115562016-03-09 Wei-cheng Wang <cole945@gmail.com>
11557 Marcin Kościelnicki <koriakin@0x04.net>
11558
11559 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11560 (gdb_recursion_test_ptr): New global variable.
11561 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11562 gdb_recursion_test.
11563 (gdb_c_test): Ditto.
11564
ba84e0da
MK
115652016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11566
11567 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11568 ordering.
11569
4366d36e
MK
115702016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11571
11572 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11573 (bar): Add bar_start_lbl label.
11574 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11575 of foo/bar for emitting DWARF and tracing.
11576
5eb264df
SDJ
115772016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11578
11579 * analyze-racy-logs.py: Set executable bit.
11580
fb6a751f
SDJ
115812016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11582
11583 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11584 (CHECK_TARGET_TMP): Likewise.
11585 (check-single-racy): New rule.
11586 (check-parallel-racy): Likewise.
11587 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11588 (do-check-parallel-racy): New rule.
11589 (check-racy/%.exp): Likewise.
11590 * README (Racy testcases): New section.
11591 * analyze-racy-logs.py: New file.
11592
bdf7e230
DE
115932016-03-03 Doug Evans <dje@google.com>
11594
11595 * gdb.base/skip.exp: Use with_test_prefix.
11596
4719d415
YQ
115972016-03-03 Yao Qi <yao.qi@linaro.org>
11598
11599 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11600 Invoke step_over_syscall "clone" and break_cond_on_syscall
11601 "clone".
11602 * gdb.base/step-over-clone.c: New file.
11603
ea507862
YQ
116042016-03-03 Yao Qi <yao.qi@linaro.org>
11605
11606 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11607 code format.
11608
8fc8cbda
YQ
116092016-03-03 Yao Qi <yao.qi@linaro.org>
11610
11611 * gdb.base/disp-step-fork.c: Rename to ...
11612 * gdb.base/step-over-fork.c: ... it. New file.
11613 * gdb.base/disp-step-vfork.c: Rename to ...
11614 * gdb.base/step-over-vfork.c: ... it. New file.
11615 * gdb.base/disp-step-syscall.exp: Rename to ...
11616 * gdb.base/step-over-syscall.exp: ... it. New file.
11617 (disp_step_cross_syscall): Rename to ...
11618 (step_over_syscall): ... it.
11619
92fa70b0
YQ
116202016-03-03 Yao Qi <yao.qi@linaro.org>
11621
11622 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11623 If target supports condition evaluation on target, invoke
11624 break_cond_on_syscall for fork and vfork.
11625
e197ad3c
YQ
116262016-03-03 Yao Qi <yao.qi@linaro.org>
11627
11628 * gdb.base/disp-step-syscall.exp: Don't invoke
11629 support_displaced_stepping.
11630 (disp_step_cross_syscall): Test with displaced stepping off and
11631 on if supported.
11632
0b47da9f
YQ
116332016-03-03 Yao Qi <yao.qi@linaro.org>
11634
11635 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11636 proc.
11637 (setup): New proc.
11638 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11639 and setup.
11640
065ab6dc
BH
116412016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11642
11643 * gdb.fortran/vla-history.exp: Remove breakpoint.
11644
07e448ad 116452016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11646
25d49b86
PA
11647 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11648 exceeds timeout.
07e448ad 11649
9ac2d526 116502016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11651
25d49b86
PA
11652 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11653 breakpoint.
9ac2d526 11654
17807369
BH
116552016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11656
11657 * gdb.mi/vla.f90: Nullify pointer after declaration.
11658
86e501af
PA
116592016-03-01 Pedro Alves <palves@redhat.com>
11660
11661 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11662
1e903e32
PA
116632016-03-01 Pedro Alves <palves@redhat.com>
11664
11665 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11666 before anything else.
11667 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11668 _GNU_SOURCE here.
11669 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11670 before anything else.
11671 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11672
6ccb54e2
PA
116732016-03-01 Pedro Alves <palves@redhat.com>
11674
11675 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11676
30ca9da1
YQ
116772016-03-01 Yao Qi <yao.qi@linaro.org>
11678
11679 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11680 prepare_for_testing.
11681
dc856b38
YQ
116822016-03-01 Yao Qi <yao.qi@linaro.org>
11683
11684 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11685
4a932159
AA
116862016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11687
11688 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11689 manually constructing the output path.
11690
f2489477
AA
116912016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11692
11693 * gdb.arch/s390-stackless.S: New.
11694 * gdb.arch/s390-stackless.exp: New.
11695
38899f16
IB
116962016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11697
11698 * gdb.dlang/circular.c: New file.
11699 * gdb.dlang/circular.exp: New file.
11700
9fde51ed
YQ
117012016-02-26 Yao Qi <yao.qi@linaro.org>
11702
11703 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11704 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11705 (testcases): Update.
11706
ce90fefe
YQ
117072016-02-26 Yao Qi <yao.qi@linaro.org>
11708
11709 * gdb.reverse/aarch64.c: Rename to ...
11710 * gdb.reverse/insn-reverse.c: ... it.
11711 * gdb.reverse/aarch64.exp: Rename to ...
11712 * gdb.reverse/insn-reverse.exp: ... it.
11713
3263bceb
YQ
117142016-02-26 Yao Qi <yao.qi@linaro.org>
11715
11716 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11717 (testcase_ftype): New.
11718 (testcases): New array.
11719 (n_testcases): New.
11720 (main): Call each element in testcases.
11721 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11722 (read_testcase): New.
11723 Do the tests in a loop.
11724
6cb59ff1
YQ
117252016-02-25 Yao Qi <yao.qi@linaro.org>
11726
11727 * gdb.base/branches.c: Remove.
11728
ae91f625
MK
117292016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11730
11731 PR gdb/13808
11732 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11733
678b48b7
MK
117342016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11735
11736 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11737
7337a6f2
MK
117382016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11739
11740 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11741 change x86_64 call_insn to 'callq'.
11742
861ca91f
AT
117432016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11744
11745 * gdb.trace/tfile-avx.c: Move to...
11746 * gdb.trace/tracefile-pseudo-reg.c: Here.
11747 * gdb.trace/tfile-avx.exp: Move to...
11748 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11749
bf74e428
GB
117502016-02-24 Gary Benson <gbenson@redhat.com>
11751
11752 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11753 message on attach.
11754
cce0e923
DE
117552016-02-23 Doug Evans <dje@google.com>
11756
11757 * gdb.base/skip.c (test_skip): New function.
11758 (end_test_skip_file_and_function): New function.
11759 (test_skip_file_and_function): New function.
11760 * gdb.base/skip1.c (test_skip): New function.
11761 (skip1_test_skip_file_and_function): New function.
11762 * gdb.base/skip.exp: Add tests for new skip options.
11763 * gdb.base/skip-solib.exp: Update expected output.
11764 * gdb.perf/skip-command.cc: New file.
11765 * gdb.perf/skip-command.exp: New file.
11766 * gdb.perf/skip-command.py: New file.
11767
4000e47e
MK
117682016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11769
11770 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11771 info registers pattern.
11772
24f75ead
IB
117732016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11774
11775 * lib/future.exp: Add D support.
11776 (gdb_find_gdc): New proc.
11777 (gdb_default_target_compile): Add D support.
11778
fbb7bcbe
WW
117792016-02-18 Wei-cheng Wang <cole945@gmail.com>
11780
11781 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11782 user+system time.
11783 (trace_speed_test): Determine the iteration count for a time
11784 between 15..30 seconds.
11785
012b3a21
WT
117862016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11787
11788 * gdb.arch/i386-mpx-sigsegv.c: New file.
11789 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11790 * gdb.arch/i386-mpx-simple_segv.c: New file.
11791 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11792
2d5189bd
YQ
117932016-02-18 Yao Qi <yao.qi@linaro.org>
11794
11795 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11796 Don't call setup_kfail.
11797
40fb20d0
YQ
117982016-02-18 Yao Qi <yao.qi@linaro.org>
11799
11800 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11801 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11802
21b1f8d2
DE
118032016-02-16 Doug Evans <dje@google.com>
11804
11805 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11806 * gdb.base/skip1.c: Ditto.
11807 * gdb.base/skip.exp: Whitespace cleanup.
11808
4041ed77
DB
118092016-02-16 Don Breazeal <donb@codesourcery.com>
11810
11811 PR remote/19496
11812 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11813 Remove kfail for PR remote/19496.
11814
c4ef31bf
SM
118152016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11816
11817 * lib/gdb.exp (standard_temp_file): Return a path specific to
11818 the runtest invocation.
11819
266b65b3
SM
118202016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11821
11822 * gdb.trace/save-trace.exp: Change relative path to be in the
11823 standard output directory.
11824
a7a0a6a9
JK
118252016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11826
11827 * gdb.arch/i386-prologue.c: Add missing prototypes.
11828
c99dbb42
JK
118292016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11830
11831 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11832 * gdb.arch/i386-prologue.exp: Likewise.
11833 * gdb.arch/i386-size.exp: Likewise.
11834
aa480355
SM
118352016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11836
11837 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11838 define object file path.
11839 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11840 file path.
11841 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11842 standard_output_file to define binfile.
11843
ba881f50
JK
118442016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11845
11846 Fix compatibility with recent gfortran-5.3.1.
11847 * gdb.fortran/vla-history.exp (print vla1 allocated)
11848 (print vla2 allocated, print $2, print $3): Remove
11849 (print $4): Rename to ...
11850 (print $2): ... here.
11851 (print $9): Rename to ...
11852 (print $5): ... here.
11853 (print $10): Rename to ...
11854 (print $6): ... here.
11855 * gdb.fortran/vla.f90: Add pvla initialization.
11856
e9fb005c
JK
118572016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11858
11859 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11860 New test.
11861 * gdb.fortran/vla-value-sub.exp: Likewise.
11862
e44e00ff
MK
118632016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11864
11865 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11866
97e94151
SM
118672016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11868
11869 * i386-biarch-core.exp: Define corefile using
11870 standard_output_file.
11871
01113bc1
YQ
118722016-02-12 Yao Qi <yao.qi@linaro.org>
11873
11874 * gdb.arch/arm-single-step-kernel-helper.c: New.
11875 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11876
33b4777c
MM
118772016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11878
11879 * gdb.btrace/tailcall-only.exp: New.
11880 * gdb.btrace/tailcall-only.c: New.
11881 * gdb.btrace/x86_64-tailcall-only.S: New.
11882 * gdb.btrace/i686-tailcall-only.S: New.
11883
acc23c11
PA
118842016-02-11 Pedro Alves <palves@redhat.com>
11885
11886 * README (Parallel testing): Add missing double quotes.
11887
e352bf0a
PA
118882016-02-11 Pedro Alves <palves@redhat.com>
11889
11890 * README (Parallel testing): New section.
11891 (GDB_PARALLEL): Rewrite.
11892 (FORCE_PARALLEL): Document.
11893
9f5fed78
MK
118942016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11895
11896 * gdb.trace/tfile-avx.c: New test.
11897 * gdb.trace/tfile-avx.exp: New test.
11898
9ef9e6a6
KS
118992016-02-09 Keith Seitz <keiths@redhat.com>
11900
11901 PR breakpoints/19546
11902 * gdb.base/infcall-exec.c: New file.
11903 * gdb.base/infcall-exec2.c: New file.
11904 * gdb.base/infcall-exec.exp: New file.
11905
a96e36da
KS
119062016-02-09 Keith Seitz <keiths@redhat.com>
11907
11908 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11909 (toplevel): Call test_bkpt_address.
11910
9f61929f
KS
119112016-02-09 Keith Seitz <keiths@redhat.com>
11912
11913 PR python/19506
11914 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11915 (toplevel): Call test_bkpt_address.
11916
1e94266c
SM
119172016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11918
11919 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11920 to AC_OUTPUT.
11921 * configure: Regenerate.
11922
2a7f3dff
PA
119232016-02-09 Pedro Alves <palves@redhat.com>
11924
11925 PR breakpoints/19548
11926 * gdb.base/execl-update-breakpoints.c (some_function): New
11927 function.
11928 (main): Call it.
11929 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11930 Tighten expected GDB output.
11931
2151ccc5
SM
119322016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11933
11934 * Makefile.in (ALL_SUBDIRS): Remove.
11935 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11936 (distclean maintainer-clean realclean): Likewise.
11937 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11938 * configure: Regenerate.
11939 * gdb.ada/Makefile.in: Delete.
11940 * gdb.arch/Makefile.in: Likewise.
11941 * gdb.asm/Makefile.in: Likewise.
11942 * gdb.base/Makefile.in: Likewise.
11943 * gdb.btrace/Makefile.in: Likewise.
11944 * gdb.cell/Makefile.in: Likewise.
11945 * gdb.compile/Makefile.in: Likewise.
11946 * gdb.cp/Makefile.in: Likewise.
11947 * gdb.disasm/Makefile.in: Likewise.
11948 * gdb.dlang/Makefile.in: Likewise.
11949 * gdb.dwarf2/Makefile.in: Likewise.
11950 * gdb.fortran/Makefile.in: Likewise.
11951 * gdb.gdb/Makefile.in: Likewise.
11952 * gdb.go/Makefile.in: Likewise.
11953 * gdb.guile/Makefile.in: Likewise.
11954 * gdb.java/Makefile.in: Likewise.
11955 * gdb.linespec/Makefile.in: Likewise.
11956 * gdb.mi/Makefile.in: Likewise.
11957 * gdb.modula2/Makefile.in: Likewise.
11958 * gdb.multi/Makefile.in: Likewise.
11959 * gdb.objc/Makefile.in: Likewise.
11960 * gdb.opencl/Makefile.in: Likewise.
11961 * gdb.opt/Makefile.in: Likewise.
11962 * gdb.pascal/Makefile.in: Likewise.
11963 * gdb.perf/Makefile.in: Likewise.
11964 * gdb.python/Makefile.in: Likewise.
11965 * gdb.reverse/Makefile.in: Likewise.
11966 * gdb.server/Makefile.in: Likewise.
11967 * gdb.stabs/Makefile.in: Likewise.
11968 * gdb.threads/Makefile.in: Likewise.
11969 * gdb.trace/Makefile.in: Likewise.
11970 * gdb.xml/Makefile.in: Likewise.
11971 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11972 GDB_PARALLEL.
11973 (standard_output_file): Remove check for GDB_PARALLEL, always
11974 return path in outputs/$subdir/$testname.
11975
437277d4
SM
119762016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11977
11978 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11979 (site.exp): Assign abs_srcdir to tcl's srcdir.
11980
31d913c7
YQ
119812016-02-04 Yao Qi <yao.qi@linaro.org>
11982
11983 * gdb.base/foll-exec-mode.c: Include limits.h.
11984 (main): Add parameters argc and argv. Get directory from
11985 argv[0].
11986 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11987 compilation.
11988 * gdb.base/foll-exec.c: Include limits.h.
11989 (main): Add parameters argc and argv.
11990 Get directory from argv[0].
11991 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11992 Adjust tests on the number of lines as source code changed.
11993 * gdb.base/foll-vfork-exit.c: Include limits.h.
11994 (main): Add one line of statement before vfork.
11995 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11996 (main): Add parameters argc and argv. Get directory from
11997 argv[0].
11998 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11999 (setup_gdb): Set tbreak to skip some source lines.
12000 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12001 (main): Add parameters argc and argv. Get directory from
12002 argv[0].
12003 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12004 compilation.
12005 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12006 (main): Add parameters argc and argv. Get directory from
12007 argv[0].
12008 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12009 compilation.
12010
9482b9fb
DE
120112016-02-01 Doug Evans <dje@google.com>
12012
12013 * gdb.base/skip.exp: Clean up multiple references to same test name.
12014
6b2e4f10
PA
120152016-02-01 Pedro Alves <palves@redhat.com>
12016
ccb6afd6 12017 PR remote/19496
6b2e4f10
PA
12018 * gdb.threads/forking-threads-plus-breakpoint.exp
12019 (displaced_stepping_supported): New global.
12020 (probe_displaced_stepping_support): New procedure.
12021 (do_test): Add 'displaced' parameter, and use it.
12022 (top level): Check for displaced stepping support. Add displaced
12023 stepping on/off testing axis.
12024
37a8db1a
AB
120252016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12026
12027 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12028 pointer. Don't perform further tests on the unassociated pointer
12029 if the first test fails.
12030
5fdf6324
AB
120312016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12032
12033 * gdb.base/max-value-size.c: New file.
12034 * gdb.base/max-value-size.exp: New file.
12035 * gdb.base/huge.exp: Disable max-value-size for this test.
12036
935c6144
IB
120372016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12038
12039 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12040
7fe8399d
YQ
120412016-01-28 Yao Qi <yao.qi@linaro.org>
12042
12043 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12044
a2077e25
PA
120452016-01-25 Pedro Alves <palves@redhat.com>
12046
12047 PR threads/19461
12048 * gdb.base/fork-running-state.c: New file.
12049 * gdb.base/fork-running-state.exp: New file.
12050
1d2736d4
PA
120512016-01-25 Pedro Alves <palves@redhat.com>
12052
12053 PR gdb/19494
12054 * gdb.base/catch-fork-kill.c: New file.
12055 * gdb.base/catch-fork-kill.exp: New file.
12056
f1da4b11
PA
120572016-01-25 Pedro Alves <palves@redhat.com>
12058
12059 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12060 Delete, moved to lib/gdb.exp.
12061 * gdb.threads/forking-threads-plus-breakpoint.exp
12062 (foreach_with_prefix): Likewise.
12063 * gdb.threads/process-dies-while-handling-bp.exp
12064 (foreach_with_prefix): Likewise.
12065 * lib/gdb.exp (foreach_with_prefix): New procedure.
12066
45f38546
MK
120672016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12068
12069 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12070 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12071
dc29a1ce
MK
120722016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12073
12074 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12075 endian targets.
12076
092127d7
JK
120772016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12078 Pedro Alves <palves@redhat.com>
12079
12080 Fix testsuite compatibility with Guile.
12081 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12082 number.
12083
31d765d3
JK
120842016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12085
12086 Fix testsuite compatibility with Guile.
12087 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12088 (thread 1): New test for backtrace through signal handler.
12089
1ac78c04
YQ
120902016-01-22 Yao Qi <yao.qi@linaro.org>
12091
12092 PR testsuite/19491
12093 * gdb.base/multi-forks.c: Include
12094 ../lib/unbuffer_output.c
12095 (main): Call gdb_unbuffer_output.
12096
4f5946a8
DE
120972016-01-21 Doug Evans <dje@google.com>
12098
12099 * lib/ada.exp (gdb_compile_ada): Fix typo.
12100
305e13e6
JB
121012016-01-21 Joel Brobecker <brobecker@adacore.com>
12102
12103 * gdb.base/break-fun-addr.exp: New file.
12104 * gdb.base/break-fun-addr1.c: New file.
12105 * gdb.base/break-fun-addr2.c: New file.
12106
5f5dfff6
SM
121072016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
12108
12109 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
12110 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
12111 enum flag values.
12112
fd356fa2
AA
121132016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12114
12115 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
12116 when GDB can not set the vector return value. Add more comments
12117 for clarification.
12118
9df22175
AT
121192016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
12120
12121 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
12122 command.
12123
41d1845e
SM
121242016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12125
12126 * Makefile.in (DO_RUNTEST): Add --status and update usages.
12127
01ac6840
SM
121282016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12129
12130 * Makefile.in (check-single): Pass --status to runtest.
12131 (check/%.exp): Likewise.
12132
121332016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12134
12135 * Makefile.in (check-parallel): Propagate return code from make
12136 do-check-parallel.
12137
bd0a71fa
MK
121382016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
12139
12140 * gdb.trace/ftrace.exp: Fix expected message on continue.
12141 * gdb.trace/pending.exp: Fix expected message on continue.
12142 * gdb.trace/trace-break.exp: Fix expected message on continue.
12143
8bcbad33
SM
121442016-01-18 Simon Marchi <simon.marchi@ericsson.com>
12145
12146 * lib/gdb.exp (gdb_test): Remove unused global references.
12147
f303dbd6
PA
121482016-01-18 Pedro Alves <palves@redhat.com>
12149
12150 * gdb.base/async-shell.exp: Adjust expected output.
12151 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
12152 * gdb.base/siginfo-thread.exp: Adjust expected output.
12153 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
12154 * gdb.java/jnpe.exp: Adjust expected output.
12155 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
12156 * gdb.threads/continue-pending-status.exp: Adjust expected output.
12157 * gdb.threads/leader-exit.exp: Adjust expected output.
12158 * gdb.threads/manythreads.exp: Adjust expected output.
12159 * gdb.threads/pthreads.exp: Adjust expected output.
12160 * gdb.threads/schedlock.exp: Adjust expected output.
12161 * gdb.threads/siginfo-threads.exp: Adjust expected output.
12162 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
12163 expected output.
12164 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
12165 output.
12166 * gdb.threads/sigthread.exp: Adjust expected output.
12167 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
12168
b2789696
YQ
121692016-01-18 Yao Qi <yao.qi@linaro.org>
12170
12171 * gdb.guile/scm-section-script.c: Replace @progbits with
12172 %progbits.
12173 * gdb.python/py-section-script.c: Likewise.
12174
71ef29a8
PA
121752016-01-15 Pedro Alves <palves@redhat.com>
12176
12177 * gdb.multi/tids.exp: Test star wildcard ranges.
12178
3f5b7598
PA
121792016-01-15 Pedro Alves <palves@redhat.com>
12180
12181 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12182 command from "thread apply" invocation.
12183 (thr_apply_info_thr_invalid): Default the expected output to the
12184 input tid list.
12185 (top level): Add tests that use convenience variables. Add tests
12186 for "thread apply" with a valid TID list, but missing the command.
12187
663f6d42
PA
121882016-01-13 Pedro Alves <palves@redhat.com>
12189
12190 * gdb.base/default.exp: Expect $_gthread as well.
12191 * gdb.multi/tids.exp: Test $_gthread.
12192 * gdb.threads/thread-specific.exp: Test $_gthread.
12193
c84f6bbf
PA
121942016-01-13 Pedro Alves <palves@redhat.com>
12195
12196 * gdb.multi/tids.exp: Test "info threads -gid".
12197
22a02324
PA
121982016-01-13 Pedro Alves <palves@redhat.com>
12199
12200 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12201 Breakpoint.thread.
12202 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12203
5d5658a1
PA
122042016-01-07 Pedro Alves <palves@redhat.com>
12205
12206 * gdb.base/break.exp: Adjust to output changes.
12207 * gdb.base/hbreak2.exp: Likewise.
12208 * gdb.base/sepdebug.exp: Likewise.
12209 * gdb.base/watch_thread_num.exp: Likewise.
12210 * gdb.linespec/keywords.exp: Likewise.
12211 * gdb.multi/info-threads.exp: Likewise.
12212 * gdb.threads/thread-find.exp: Likewise.
12213 * gdb.multi/tids.c: New file.
12214 * gdb.multi/tids.exp: New file.
12215
84654457
PA
122162016-01-13 Pedro Alves <palves@redhat.com>
12217
12218 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12219
e3940304
PA
122202016-01-13 Pedro Alves <palves@redhat.com>
12221
12222 * gdb.base/default.exp: Expect $_inferior as well.
12223 * gdb.multi/base.exp: Test $_inferior.
12224
a911d87a
PA
122252016-01-13 Pedro Alves <palves@redhat.com>
12226
12227 PR breakpoints/19388
12228 * gdb.base/catch-signal-siginfo-cond.c: New file.
12229 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12230
82075af2
JS
122312016-01-12 Josh Stone <jistone@redhat.com>
12232 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12233
12234 * gdb.base/catch-syscall.c (do_execve): New variable.
12235 (main): Conditionally trigger an execve.
12236 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12237 (test_catch_syscall_execve): New, check entry/return across execve.
12238 (do_syscall_tests): Call test_catch_syscall_execve.
12239
e46eeedd
PA
122402016-01-12 Pedro Alves <palves@redhat.com>
12241
12242 * gdb.base/random-signal.exp (do_test): New procedure, with body
12243 of testcase moved in.
12244
01d8c27e
JK
122452016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12246 Pedro Alves <palves@redhat.com>
12247
12248 * gdb.base/funcargs.exp (finish from indirectly called function):
12249 Reintroduce the case for 'First'.
12250
9a706302
JK
122512016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12252 Pedro Alves <palves@redhat.com>
12253
12254 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12255 (tcatch_vfork_then_child_follow_exec)
12256 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12257 identification.
12258
c0ecb95f
JK
122592016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12260
12261 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12262 and repeats to unlimited.
12263 * gdb.python/py-value.exp: Likewise.
12264 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12265 and repeats to unlimited.
12266
6cfc1fcb
JK
122672016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12268
12269 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12270 and reordering the functions.
12271 * gdb.multi/hangout.c: Likewise.
12272 * gdb.multi/hello.c: Likewise.
12273
582a1b00
SM
122742016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12275
12276 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12277 absolute.
12278 (SingleStatisticTestResult.report): Use dict.keys instead of
12279 dict.iterkeys.
12280
79bc59cb
PA
122812016-01-06 Pedro Alves <palves@redhat.com>
12282
12283 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12284
43368e1d
MM
122852016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12286
12287 * gdb.btrace/dlopen.exp: New.
12288 * gdb.btrace/dlopen.c: New.
12289 * gdb.btrace/dlopen-dso.c: New.
12290
79fad5b8
SL
122912015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12292
12293 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12294 PATTERN argument is optional.
12295
ab8314b3
JB
122962015-12-24 Joel Brobecker <brobecker@adacore.com>
12297
12298 * lib/ada.exp (target_compile_ada_from_dir): New function.
12299 (gdb_compile_ada): Reimplement avoiding the use of project files.
12300 * gdb.ada/gnat_ada.gpr: Delete.
12301 * gdb.ada/cond_lang.exp: Adjust test to make path before
12302 filename optional.
12303 * gdb.ada/small_reg_param.exp: Likewise.
12304
fe33faff
SM
123052015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12306
12307 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12308
6d265cb4
TP
123092015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12310
12311 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12312 case.
12313
10125099
SM
123142015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12315
12316 * gdb.base/break.exp: Remove dead code.
12317 * gdb.base/sepdebug.exp: Likewise.
12318
3ca22649
SM
123192015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12320
12321 * gdb.asm/asm-source.exp: Remove HP-UX references.
12322 * gdb.base/annota1.exp: Likewise.
12323 * gdb.base/annota3.exp: Likewise.
12324 * gdb.base/attach.exp: Likewise.
12325 * gdb.base/bigcore.exp: Likewise.
12326 * gdb.base/break.exp: Likewise.
12327 * gdb.base/call-ar-st.exp: Likewise.
12328 * gdb.base/callfuncs.exp: Likewise.
12329 * gdb.base/catch-fork-static.exp: Likewise.
12330 * gdb.base/display.exp: Likewise.
12331 * gdb.base/foll-exec-mode.exp: Likewise.
12332 * gdb.base/foll-exec.exp: Likewise.
12333 * gdb.base/foll-fork.exp: Likewise.
12334 * gdb.base/foll-vfork.exp: Likewise.
12335 * gdb.base/funcargs.exp: Likewise.
12336 * gdb.base/hbreak2.exp: Likewise.
12337 * gdb.base/inferior-died.exp: Likewise.
12338 * gdb.base/interrupt.exp: Likewise.
12339 * gdb.base/multi-forks.exp: Likewise.
12340 * gdb.base/nodebug.exp: Likewise.
12341 * gdb.base/sepdebug.exp: Likewise.
12342 * gdb.base/solib1.c: Likewise.
12343 * gdb.base/step-test.exp: Likewise.
12344 * gdb.mi/non-stop.c: Likewise.
12345 * gdb.mi/pthreads.c: Likewise.
12346 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12347 * gdb.threads/pthreads.c: Likewise.
12348 * gdb.threads/staticthreads.exp: Likewise.
12349 * lib/future.exp: Likewise.
12350 * lib/gdb.exp: Likewise.
12351 * gdb.base/so-indr-cl.c: Remove.
12352 * gdb.base/so-indr-cl.exp: Likewise.
12353 * gdb.base/solib.c: Likewise.
12354 * gdb.base/solib.exp: Likewise.
12355 * gdb.base/solib2.c: Likewise.
12356
b6304613
SM
123572015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12358
12359 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12360 * gdb.base/call-ar-st.exp: Likewise.
12361 * gdb.base/callfuncs.exp: Likewise.
12362 * gdb.base/condbreak.exp: Likewise.
12363 * gdb.base/constvars.exp: Likewise.
12364 * gdb.base/hbreak2.exp: Likewise.
12365 * gdb.base/langs.exp: Likewise.
12366 * gdb.base/list.exp: Likewise.
12367 * gdb.base/long_long.exp: Likewise.
12368 * gdb.base/ptype.exp: Likewise.
12369 * gdb.base/scope.exp: Likewise.
12370 * gdb.base/signals.exp: Likewise.
12371 * gdb.base/so-impl-ld.exp: Likewise.
12372 * gdb.base/varargs.exp: Likewise.
12373 * gdb.base/volatile.exp: Likewise.
12374 * gdb.base/whatis.exp: Likewise.
12375 * gdb.cp/cplusfuncs.exp: Likewise.
12376 * gdb.cp/inherit.exp: Likewise.
12377 * gdb.cp/local.exp: Likewise.
12378 * gdb.cp/member-ptr.exp: Likewise.
12379 * gdb.cp/method.exp: Likewise.
12380 * gdb.cp/overload.exp: Likewise.
12381 * gdb.cp/templates.exp: Likewise.
12382 * gdb.stabs/weird.exp: Likewise.
12383 * lib/compiler.c: Likewise.
12384 * lib/compiler.cc: Likewise.
12385 * lib/cp-support.exp: Likewise.
12386 * lib/gdb.exp: Likewise.
12387
bf401b07
SM
123882015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12389
12390 * configure.ac: Remove HP-UX case.
12391 * configure: Regenerate.
12392
aff9c0f8
SM
123932015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12394
12395 * lib/gdb.exp (gdb_compile): Add function doc.
12396
a6904d5a
PA
123972015-12-17 Pedro Alves <palves@redhat.com>
12398
12399 PR threads/19354
12400 * gdb.multi/info-threads.exp: New file.
12401
a22279dd
YQ
124022015-12-15 Yao Qi <yao.qi@linaro.org>
12403
12404 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12405 is aarch64*-*-*.
12406
0588c796
SL
124072015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12408
12409 * gdb.base/history-duplicates.exp: Skip if no readline support.
12410
5d978e17
SL
124112015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12412
12413 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12414
7e763b86
SL
124152015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12416
12417 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12418
87a3a92c
SL
124192015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12420
12421 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12422 ctrl-C if nointerrupts target property is set.
12423 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12424 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12425 * gdb.base/paginate-bg-execution.exp: Likewise.
12426 * gdb.base/paginate-execution-startup.exp: Likewise.
12427 * gdb.base/random-signal.exp: Likewise.
12428 * gdb.base/range-stepping.exp: Likewise.
12429 * gdb.cp/annota2.exp: Likewise.
12430 * gdb.cp/annota3.exp: Likewise.
12431 * gdb.gdb/selftest.exp: Likewise.
12432 * gdb.threads/continue-pending-status.exp: Likewise.
12433 * gdb.threads/leader-exit.exp: Likewise.
12434 * gdb.threads/manythreads.exp: Likewise.
12435 * gdb.threads/pthreads.exp: Likewise.
12436 * gdb.threads/schedlock.exp: Likewise.
12437 * gdb.threads/sigthread.exp: Likewise.
12438
a8f077dc
DB
124392015-12-11 Don Breazeal <donb@codesourcery.com>
12440
12441 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12442 remote.
12443 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12444 * gdb.base/foll-exec.exp (main): Enable for target remote.
12445 * gdb.base/foll-fork.exp (main): Likewise.
12446 * gdb.base/foll-vfork.exp (main): Likewise.
12447 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12448 (proc continue_to_exit_bp_loc): Use clean_restart.
12449 * gdb.base/pie-execl.exp (main): Disable for target remote.
12450 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12451 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12452 * gdb.threads/execl.exp (main): Likewise.
12453 * gdb.threads/fork-child-threads.exp (main): Likewise.
12454 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12455 remote.
12456 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12457 remote.
12458 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12459 pid.tid style ptids, instead of just tid.
12460 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12461 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12462 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12463 ptids, instead of just tid.
12464
3b2464a8
AB
124652015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12466
12467 * gdb.base/list.exp (test_list_forward): Add end of file error
12468 test.
12469 (test_repeat_list_command): Add end of file error test.
12470 (test_list_backwards): Add beginning of file error test.
12471
a0def019
AB
124722015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12473
12474 * gdb.base/list.exp (test_list_invalid_args): New function,
12475 defined, and called.
12476
5c000dff
AB
124772015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12478
12479 * gdb.base/list.exp (test_list): Make test names unique.
12480
f1637ebe
YQ
124812015-12-11 Yao Qi <yao.qi@linaro.org>
12482
12483 * gdb.base/coremaker2.c: Remove.
12484
36d6fc0a
PA
124852015-12-10 Pedro Alves <palves@redhat.com>
12486
12487 * gdb.multi/base.exp: Remove stale "spaces" references.
12488
762f7747
PA
124892015-12-10 Pedro Alves <palves@redhat.com>
12490
12491 * gdb.multi/base.exp: Don't use nowarnings.
12492 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12493 * gdb.multi/hangout.c: Include stdio.h.
12494 * gdb.multi/hello.c: Include stdlib.h.
12495 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12496 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12497 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12498
28d2bfb9
AB
124992015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12500
12501 * gdb.dwarf2/dw2-ranges-base.c: New file.
12502 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12503 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12504 support additional line table, and debug ranges generation.
12505 (Dwarf::ranges): New function, generate .debug_ranges.
12506 (Dwarf::lines): Support generating simple line table programs.
12507 (Dwarf::assemble): Initialise new namespace variables.
12508
5fc2beac
KB
125092015-12-09 Kevin Buettner <kevinb@redhat.com>
12510
12511 * gdb.base/async.exp (proc test_background): Add case for
12512 asynchronous execution not supported.
12513
1c35a88f
LM
125142015-12-09 Luis Machado <lgustavo@codesourcery.com>
12515
12516 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12517 format and change test names to make them unique.
12518
b593e3d9
RK
125192015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12520 Pedro Alves <pedro@redhat.com>
12521
12522 PR gdb/18702
12523 Add checking of floatformats setup on x86_64 hosts.
12524 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12525 (smallval, bigval): New labels/constants.
12526 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12527 float" after loading bigval and smallval.
12528
d72413e6
PMR
125292015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12530
12531 * gdb.ada/fun_overload_menu.exp: New testcase.
12532 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12533
ece66d65
JS
125342015-12-04 Josh Stone <jistone@redhat.com>
12535
12536 * gdb.base/catch-fork-static.exp: New.
12537
41d0efca
YQ
125382015-12-03 Yao Qi <yao.qi@linaro.org>
12539
12540 * gdb.base/sizeof.c: Don't include stdio.h and
12541 ../lib/unbuffer_output.c.
12542 (main): New variable 'size' and 'value'. Remove printf and
12543 gdb_unbuffer_output. Assign return value to size and value.
12544 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12545 at the beginning.
12546 (check_sizeof): Check the result by printing variable 'size'.
12547 (check_valueof): Check the result by printing variable 'value'.
12548
99fd02d9
YQ
125492015-12-01 Yao Qi <yao.qi@linaro.org>
12550
12551 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12552 for aarch64*-*-linux* target.
12553
f2faf941
PA
125542015-11-30 Pedro Alves <palves@redhat.com>
12555
12556 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12557
04bf20c5
PA
125582015-11-30 Pedro Alves <palves@redhat.com>
12559
12560 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12561 Handle non-stop mode vCont replies.
12562
09df4675
PA
125632015-11-30 Pedro Alves <palves@redhat.com>
12564
12565 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12566 prepare_for_testing. Start gdb with "set non-stop on" appended to
12567 GDBFLAGS. Lax expected stop output.
12568
58b584af
YQ
125692015-11-27 Yao Qi <yao.qi@linaro.org>
12570
12571 * gdb.arch/arm-neon.exp: New.
12572 * gdb.arch/arm-neon.c: New.
12573
dfcb77a8
YQ
125742015-11-27 Yao Qi <yao.qi@linaro.org>
12575
12576 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12577
88e8ec1b
YQ
125782015-11-27 Yao Qi <yao.qi@linaro.org>
12579
12580 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12581 frames-invalid annotation.
12582
bfde72c2
YQ
125832015-11-27 Yao Qi <yao.qi@linaro.org>
12584
12585 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12586
f6512a69
SM
125872015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12588
12589 * gdb.threads/names.exp: New file.
12590 * gdb.threads/names.c: New file.
12591 * README: Mention gdb,no_thread_names.
12592
46a3515b
MM
125932015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12594
12595 PR 19297
12596 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12597 support" error.
12598
62147a22
PA
125992015-11-24 Pedro Alves <palves@redhat.com>
12600
12601 PR 17539
12602 * gdb.base/display.exp: Expect displays to be sorted in ascending
12603 order. Use multi_line.
12604 * gdb.base/solib-display.exp: Likewise.
12605
2f341b6e
PA
126062015-11-24 Pedro Alves <palves@redhat.com>
12607
12608 PR 17539
25d49b86
PA
12609 * gdb.base/display.exp: Expect displays to be sorted in ascending
12610 order. Use multi_line.
12611 * gdb.base/solib-display.exp: Likewise.
2f341b6e 12612
7e0aa6aa
PA
126132015-11-24 Pedro Alves <palves@redhat.com>
12614
12615 PR 17539
12616 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12617 threads in ascending order.
12618 * gdb.base/foll-fork.exp: Likewise.
12619 * gdb.base/foll-vfork.exp: Likewise.
12620 * gdb.base/multi-forks.exp: Likewise.
12621 * gdb.mi/mi-nonstop.exp: Likewise.
12622 * gdb.mi/mi-nsintrall.exp: Likewise.
12623 * gdb.multi/base.exp: Likewise.
12624 * gdb.multi/multi-arch.exp: Likewise.
12625 * gdb.python/py-inferior.exp: Likewise.
12626 * gdb.threads/break-while-running.exp: Likewise.
12627 * gdb.threads/execl.exp: Likewise.
12628 * gdb.threads/gcore-thread.exp: Likewise.
12629 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12630 * gdb.threads/kill.exp: Likewise.
12631 * gdb.threads/linux-dp.exp: Likewise.
12632 * gdb.threads/multiple-step-overs.exp: Likewise.
12633 * gdb.threads/next-bp-other-thread.exp: Likewise.
12634 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12635 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12636 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12637 * gdb.threads/thread-find.exp: Likewise.
12638 * gdb.threads/tls.exp: Likewise.
12639 * lib/mi-support.exp (mi_reverse_list): Delete.
12640 (mi_check_thread_states): No longer reverse list.
12641
2cc57ad8
PA
126422015-11-24 Pedro Alves <palves@redhat.com>
12643
12644 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12645 use lowercase.
12646
c93e8391
SM
126472015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12648
12649 * gdb.trace/actions.c: Include trace-common.h.
12650 (main): Add a location for a fast tracepoint.
12651 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12652 the normal tracepoints.
12653 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12654
045ccf91
SM
126552015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12656
12657 * save-trace.exp: Factor out code to these...
12658 (gdb_save_tracepoints): New.
12659 (gdb_load_tracepoints): New.
12660 (do_save_load_test): New.
12661
5506f9f6
KB
126622015-11-23 Kevin Buettner <kevinb@redhat.com>
12663
12664 * gdb.base/asmlabel.exp: New test.
12665 * gdb.base/asmlabel.c: New test case.
12666
16c3b12f
JB
126672015-11-23 Joel Brobecker <brobecker@adacore.com>
12668
12669 * gdb.base/wrong_frame_bt_full-main.c: New file.
12670 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12671 * gdb.base/wrong_frame_bt_full.exp: New file.
12672
155bfbd3
JB
126732015-11-23 Joel Brobecker <brobecker@adacore.com>
12674
12675 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12676
bb097445
JM
126772015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12678
206853a0 12679 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
12680 pstate register when comparing registers values in
12681 sparc64-*-linux-gnu targets to avoid spurious differences.
12682
9c88ed8f
JM
126832015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12684
206853a0 12685 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 12686
96161e25
SL
126872015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12688
12689 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12690 as type argument to gdb_compile.
12691 * gdb.base/nested-subp2.exp: Likewise.
12692 * gdb.base/nested-subp3.exp: Likewise.
12693
340c2830
DV
126942015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12695
12696 * lib/dwarf.exp (_note): Fix left shift of negative value.
12697 * gdb.trace/trace-condition.exp: Likewise.
12698
c1862d0f
YQ
126992015-11-13 Yao Qi <yao.qi@linaro.org>
12700
12701 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12702 comments about d10v.
12703 (test_scalar_returns): Likewise.
12704 * gdb.base/d10v.ld: Remove.
12705 * gdb.base/overlays.exp: Remove the target triplet checking for
12706 d10v-*-*.
12707 * gdb.base/structs.exp (test_struct_returns): Remove the
12708 comments about d10v.
12709 (test_struct_calls): Likewise.
12710
77ae9c19
YQ
127112015-11-13 Yao Qi <yao.qi@linaro.org>
12712
12713 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12714 * gdb.base/gnu_vector.c: Don't include stdio.h.
12715 (main): Don't print res and call add_some_intvecs.
12716
430e004e
MK
127172015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12718
12719 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12720 macro.
12721 (func5): Removed.
12722 (func4): Use FAST_TRACEPOINT_LABEL.
12723 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12724 macro.
12725 (func): Removed.
12726 (thread_function): Use FAST_TRACEPOINT_LABEL.
12727 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12728 (func): Remove.
12729 (marker): Use FAST_TRACEPOINT_LABEL.
12730 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12731 (pendfunc1): Remove.
12732 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12733 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12734 (foo): Remove.
12735 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12736 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12737 macro.
12738 (func): Remove.
12739 (marker): Use FAST_TRACEPOINT_LABEL.
12740 * gdb.trace/trace-common.h: New header.
12741 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12742 macro.
12743 (func): Remove.
12744 (marker): Use FAST_TRACEPOINT_LABEL.
12745 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12746 (func): Remove.
12747 (thread_function): Use FAST_TRACEPOINT_LABEL.
12748
6e7675a7
MK
127492015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12750
12751 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12752 in front.
12753 * gdb.trace/change-loc.exp: Use global pcreg definition.
12754 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12755 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12756 in front.
12757 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12758 * gdb.trace/pending.exp: Likewise.
12759 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12760 * gdb.trace/trace-break.exp: Likewise.
12761 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12762 in front.
12763 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12764 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12765 in front.
12766 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12767
dddc0e16
JB
127682015-11-09 Joel Brobecker <brobecker@adacore.com>
12769
12770 * gdb.ada/fin_fun_out: New testcase.
12771
c6f0b406
KB
127722015-11-07 Kevin Buettner <kevinb@redhat.com>
12773
12774 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12775 value associated with DW_AT_byte_size.
12776 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12777 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12778 DW_AT_upper_bound.
12779
f01dcfd9
KB
127802015-11-07 Kevin Buettner <kevinb@redhat.com>
12781
12782 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12783 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12784 version.
12785 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12786 gdb.dwarf2/dw2-canonicalize-type.exp,
12787 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12788 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12789 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12790 provided by gdb_target_symbol_prefix_flags_asm.
12791 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12792 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12793 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12794 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12795 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12796 macros where needed). Use this macro for symbols which require
12797 the prefix provided by SYMBOL_PREFIX.
12798
2223449a
KB
127992015-11-05 Kevin Buettner <kevinb@redhat.com>
12800
12801 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12802 New procs.
12803 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12804 representing expressions, of more than one list element.
12805 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12806 to prepend linker symbol prefix to f.
12807 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12808 table_1 and table_2.
12809 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12810 Likewise, for f and g.
12811 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12812 for ptr.
12813 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12814 for main.
12815 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12816 table_1_ptr and table_2_ptr.
12817
6f2f1a3a
JK
128182015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12819 Joel Brobecker <brobecker@adacore.com>
12820
12821 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12822
566c56c9
MK
128232015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12824
12825 * gdb.reverse/s390-mvcle.c: New test.
12826 * gdb.reverse/s390-mvcle.exp: New file.
12827 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12828
d5f0636b
MK
128292015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12830
12831 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12832
7ad8b86c
MK
128332015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12834
12835 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12836 reaching marker2.
12837 * gdb.reverse/getresuid-reverse.exp: Likewise.
12838 * gdb.reverse/pipe-reverse.exp: Likewise.
12839 * gdb.reverse/readv-reverse.exp: Likewise.
12840 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12841 * gdb.reverse/time-reverse.exp: Likewise.
12842 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12843
4081c0f1
YQ
128442015-10-30 Yao Qi <yao.qi@linaro.org>
12845
12846 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12847 (empty_cycle): Remove.
12848 (main): Don't call empty_cycle. Don't use watch_count_done.
12849 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12850 empty_cycle. Rewrite the code counting HW watchpoints.
12851
452b4ba5
MK
128522015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12853
12854 * gdb.reverse/fstatat-reverse.c: New test.
12855 * gdb.reverse/fstatat-reverse.exp: New file.
12856 * gdb.reverse/getresuid-reverse.c: New test.
12857 * gdb.reverse/getresuid-reverse.exp: New file.
12858 * gdb.reverse/pipe-reverse.c: New test.
12859 * gdb.reverse/pipe-reverse.exp: New file.
12860 * gdb.reverse/readv-reverse.c: New test.
12861 * gdb.reverse/readv-reverse.exp: New file.
12862 * gdb.reverse/recvmsg-reverse.c: New test.
12863 * gdb.reverse/recvmsg-reverse.exp: New file.
12864 * gdb.reverse/time-reverse.c: New test.
12865 * gdb.reverse/time-reverse.exp: New file.
12866 * gdb.reverse/waitpid-reverse.c: New test.
12867 * gdb.reverse/waitpid-reverse.exp: New file.
12868
5e2e7507
JK
128692015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12870
12871 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12872
0fde2c53
DE
128732015-10-26 Doug Evans <dje@google.com>
12874
12875 PR symtab/17391
12876 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12877 * gdb.dwarf2/bad-regnum.c: New file.
12878 * gdb.dwarf2/bad-regnum.exp: New file.
12879
1a70ae97
DE
128802015-10-26 Doug Evans <dje@google.com>
12881
12882 PR python/18938
12883 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12884 file.
12885
27dc26ab
JK
128862015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12887
12888 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12889 for a change by "Mention language in compile error message".
12890
bed91f4d
SM
128912015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12892
12893 PR python/18073
12894 * gdb.python/py-type.c (C::a_method): New.
12895 (C::a_const_method): New.
12896 (C::a_static_method): New.
12897 (a_function): New.
12898 * gdb.python/py-type.exp (test_fields): Test getting fields
12899 from function and method.
12900
3f2f83dd
KB
129012015-10-21 Keven Boell <keven.boell@intel.com>
12902
12903 * gdb.fortran/vla-alloc-assoc.exp: New file.
12904 * gdb.fortran/vla-datatypes.exp: New file.
12905 * gdb.fortran/vla-datatypes.f90: New file.
12906 * gdb.fortran/vla-history.exp: New file.
12907 * gdb.fortran/vla-ptype-sub.exp: New file.
12908 * gdb.fortran/vla-ptype.exp: New file.
12909 * gdb.fortran/vla-sizeof.exp: New file.
12910 * gdb.fortran/vla-sub.f90: New file.
12911 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12912 * gdb.fortran/vla-value-sub-finish.exp: New file.
12913 * gdb.fortran/vla-value-sub.exp: New file.
12914 * gdb.fortran/vla-value.exp: New file.
12915 * gdb.fortran/vla-ptr-info.exp: New file.
12916 * gdb.mi/mi-vla-fortran.exp: New file.
12917 * gdb.mi/vla.f90: New file.
12918
27145d50
SL
129192015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12920
12921 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12922 of hardwired timeout value.
12923
5f3ff4f8
JK
129242015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12925 Pedro Alves <palves@redhat.com>
12926
12927 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12928 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12929
bfd09d20
JS
129302015-10-19 Josh Stone <jistone@redhat.com>
12931
12932 * gdb.base/catch-syscall.c: Include <sched.h>.
12933 (unknown_syscall): New variable.
12934 (main): Trigger a vfork and an unknown syscall.
12935 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12936 (unknown_syscall_number): Likewise.
12937 (check_call_to_syscall): Accept an optional syscall pattern.
12938 (check_return_from_syscall): Likewise.
12939 (check_continue): Likewise.
12940 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12941 (test_catch_syscall_skipping_return): New test toggling off 'catch
12942 syscall' to step over the syscall return, then toggling back on.
12943 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12944 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12945 (do_syscall_tests): Call test_catch_syscall_without_args and
12946 test_catch_syscall_mid_vfork.
12947 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12948 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12949
b32b93c6
AS
129502015-10-19 Andrew Stubbs <ams@codesourcery.com>
12951
12952 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12953 print g_vE): Add new pass patterns.
12954 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12955 print various symbol names for vptr fields.
12956
9d622bda
AB
129572015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12958
12959 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12960 results.
12961
0fd8ac1c
YQ
129622015-10-12 Yao Qi <yao.qi@linaro.org>
12963
12964 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12965
34240514
YQ
129662015-10-12 Yao Qi <yao.qi@linaro.org>
12967
12968 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12969 is aarch64*-*-linux*.
12970
8240f442
YQ
129712015-10-12 Yao Qi <yao.qi@linaro.org>
12972
12973 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12974 (can_relocate_bcond_true): ... it.
12975 (can_relocate_bcond_false): New function.
12976 (foo): Likewise.
12977 (can_relocate_bl): Likewise.
12978 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12979 can_relocate_bl.
12980
2520f728
PMR
129812015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12982
12983 * gdb.base/nested-addr.c: New file.
12984 * gdb.base/nested-addr.exp: New testcase.
12985
abcef95a
MM
129862015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12987
12988 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12989 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12990 its output. Ignore the output of "record goto begin" and instead
12991 check that GDB is replaying.
12992
145e3ddb
PA
129932015-10-09 Pedro Alves <palves@redhat.com>
12994
12995 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12996 (top level): Use it in the run with no args test.
12997
d5d8c4e1
IB
129982015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12999
13000 * gdb.dlang/properties.exp: New file.
13001
06e635ef
SL
130022015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13003
13004 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13005 whether or not address 0x1000 is mapped on the target.
13006
e019fd1d
SM
130072015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13008
13009 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13010 build.
13011
77ba2a67
MM
130122015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13013
13014 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13015 instruction-history test.
13016
c60eb31f
DE
130172015-09-28 Doug Evans <dje@google.com>
13018
13019 * gdb.base/gcore.c (array_func): Add reference to static_array.
13020
9a3c8263
SM
130212015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13022
13023 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13024 source line.
13025
9720e656
SL
130262015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13027
13028 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13029 short or char as base type.
13030
938d3bf2
SL
130312015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13032
13033 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13034 to allow any size enum.
13035
e6c2c623
PMR
130362015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13037
13038 * gdb.ada/array_ptr_renaming.exp: New testcase.
13039 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13040 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13041
06da0f77
PL
130422015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13043
13044 * gdb.trace/ftrace-lock.c: New file.
13045 * gdb.trace/ftrace-lock.exp: New file.
13046
4f51c22a
PL
130472015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13048
13049 * gdb.arch/insn-reloc.c: New file.
13050 * gdb.arch/ftrace-insn-reloc.exp: New file.
13051
7041adf4
PL
130522015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13053
13054 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13055 instruction.
13056 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13057 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13058 * gdb.trace/range-stepping.c: Likewise.
13059 * gdb.trace/trace-break.c: Likewise.
13060 * gdb.trace/trace-mt.c (thread_function): Likewise.
13061 * gdb.trace/ftrace.c (marker): Likewise.
13062 * gdb.trace/trace-condition.c (marker): Likewise.
13063 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13064 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13065 is_aarch64_target.
13066
015d2e7e
DE
130672015-09-18 Doug Evans <xdje42@gmail.com>
13068
13069 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13070 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13071
26b188a2
SL
130722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13073
13074 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13075 the breakpoint.
13076
79dc332b
SL
130772015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13078
13079 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13080 the pending breakpoint. Remove timeout override for "Run till
13081 MI pending breakpoint on pendfunc3 on thread 2" test.
13082
f57929f2
SL
130832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13084
13085 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13086 filename pattern.
13087
3f469b17
SL
130882015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13089
13090 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13091 in breakpoint filename pattern.
13092
515b89b3
SL
130932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13094
7800dbe4
SL
13095 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13096
130972015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13098
515b89b3
SL
13099 * gdb.linespec/explicit.exp: Check for readline support for
13100 tab-completion tests. Fix obvious typo.
13101
d2939ba2
MM
131022015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13103
13104 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13105 and replay.
13106
cbb55fa7
MM
131072015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13108
13109 * gdb.btrace/non-stop.c: New.
13110 * gdb.btrace/non-stop.exp: New.
13111
43691ca1
PL
131122015-09-17 Pierre Langlois <pierre.langlois@arm.com>
13113 Yao Qi <yao.qi@linaro.org>
13114
13115 * gdb.trace/trace-condition.c: New file.
13116 * gdb.trace/trace-condition.exp: New file.
13117
d78908cf
WW
131182015-09-16 Wei-cheng Wang <cole945@gmail.com>
13119
13120 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
13121 for testing bytecode compilation.
13122
1ed415e2
PA
131232015-09-16 Pedro Alves <palves@redhat.com>
13124 Sandra Loosemore <sandra@codesourcery.com>
13125
13126 * gdb.threads/non-stop-fair-events.c (timeout): New global.
13127 (SECONDS): Redefine.
13128 (main): Call pthread_kill and alarm early.
13129 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
13130 support.
13131 (test): If the target can't hardware step and doesn't support
13132 displaced stepping, increase the timeout.
13133
d136eff5
PA
131342015-09-16 Pedro Alves <palves@redhat.com>
13135
13136 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
13137 (enable_debug): New procedures.
13138 (test): Use them. Bail out if waiting for threads fails.
13139 (top level): Bail out if a test fails.
13140
991f019c
YQ
131412015-09-16 Yao Qi <yao.qi@linaro.org>
13142
13143 * gdb.asm/asm-source.exp: Set asm-arch for
13144 aarch64*-*-* target.
13145 * gdb.asm/aarch64.inc: New file.
13146
bfca584f
PMR
131472015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
13148
13149 * gdb.ada/array_of_variable_length.exp: New testcase.
13150 * gdb.ada/array_of_variable_length/foo.adb: New file.
13151 * gdb.ada/array_of_variable_length/pck.adb: New file.
13152 * gdb.ada/array_of_variable_length/pck.ads: New file.
13153
b326e587
DE
131542015-09-15 Doug Evans <dje@google.com>
13155
13156 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
13157 of function static local variable.
13158
5382cfab
PW
131592015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13160
13161 * gdb.threads/tls-so_extern.exp: New test file.
13162 * gdb.threads/tls-so_extern.c: New test file.
13163 * gdb.threads/tls-so_extern_main.c: New test file.
13164
141c5cc4
JK
131652015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13166
13167 * gdb.opt/solib-intra-step-lib.c: New file.
13168 * gdb.opt/solib-intra-step-main.c: New file.
13169 * gdb.opt/solib-intra-step.exp: New file.
13170
d15dcecd
PA
131712015-09-15 Pedro Alves <palves@redhat.com>
13172
13173 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13174 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13175
4c2f2a79
PA
131762015-09-14 Pedro Alves <palves@redhat.com>
13177
13178 * gdb.base/hook-stop-continue.c: Delete.
13179 * gdb.base/hook-stop-continue.exp: Delete.
13180 * gdb.base/hook-stop-frame.c: Delete.
13181 * gdb.base/hook-stop-frame.exp: Delete.
13182 * gdb.base/hook-stop.c: New file.
13183 * gdb.base/hook-stop.exp: New file.
13184
919e6dbe
PMR
131852015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13186
13187 * gdb.ada/access_to_packed_array.exp: New testcase.
13188 * gdb.ada/access_to_packed_array/foo.adb: New file.
13189 * gdb.ada/access_to_packed_array/pack.adb: New file.
13190 * gdb.ada/access_to_packed_array/pack.ads: New file.
13191
157280a4
MM
131922015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13193
13194 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13195 buffer size test.
13196
2fd33e94
DB
131972015-09-11 Don Breazeal <donb@codesourcery.com>
13198
13199 * gdb.base/foll-exec.c: Add copyright header. Fix
13200 formatting issues.
13201 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13202 (do_exec_tests): Use clean_restart in place of zap_session,
13203 and for test initialization. Fix formatting issues. Use
13204 fail in place of perror.
13205 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13206 an expect statement to match an expression with output from
13207 the program under debug.
13208 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13209 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13210 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13211 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13212 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13213
e70b6e8e
DE
132142015-09-09 Doug Evans <dje@google.com>
13215
13216 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13217
7a551a51
DE
132182015-09-09 Doug Evans <dje@google.com>
13219
13220 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13221
4c666f84
DE
132222015-09-09 Doug Evans <dje@google.com>
13223
13224 * gdb.base/savedregs.exp: Fix typo.
13225
243a9253
PA
132262015-09-09 Pedro Alves <palves@redhat.com>
13227
13228 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13229
c0fa8fbd
SL
132302015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13231
13232 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13233 command actually switches threads. Give up on remaining
13234 tests if target fails to stop at breakpoint.
13235
cd7c1778
PMR
132362015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13237
13238 * gdb.ada/funcall_char.exp: New testcase.
13239 * gdb.ada/funcall_char/foo.adb: New file.
13240
dc5c8746
PMR
132412015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13242
13243 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13244 expected outputs. Add two testcases for completing ambiguous
13245 functions.
13246 * gdb.ada/complete/aux_pck.adb: New file.
13247 * gdb.ada/complete/aux_pck.ads: New file.
13248 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13249 Ambiguous_Func functions.
13250 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13251 * gdb.ada/complete/pck.adb: Likewise.
13252
4e83a1e7
UW
132532015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13254
13255 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13256 failures to run the test program under GDB.
13257
8ce74153
LM
132582015-08-26 Luis Machado <lgustavo@codesourcery.com>
13259
13260 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13261 to C.
13262
e9756d52
PP
132632015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13264
13265 * gdb.base/run-after-attach.exp: New test file.
13266 * gdb.base/run-after-attach.c: New test file.
13267
8d37573b
DB
132682015-08-26 Don Breazeal <donb@codesourcery.com>
13269
13270 * gdb.base/foll-exec-2.c: New test program.
13271 * gdb.base/foll-exec-2.exp: New test.
13272
63e43d3a
PMR
132732015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13274
13275 * gdb.base/nested-subp1.exp: New file.
13276 * gdb.base/nested-subp1.c: New file.
13277 * gdb.base/nested-subp2.exp: New file.
13278 * gdb.base/nested-subp2.c: New file.
13279 * gdb.base/nested-subp3.exp: New file.
13280 * gdb.base/nested-subp3.c: New file.
13281
3d40fbb5
PA
132822015-08-24 Pedro Alves <palves@redhat.com>
13283
13284 * gdb.server/connect-without-multi-process.c: New file.
13285 * gdb.server/connect-without-multi-process.exp: New file.
13286
4422ac93
LM
132872015-08-24 Luis Machado <lgustavo@codesourcery.com>
13288
13289 * gdb.opt/inline-markers.c: Make z int.
13290
91dddb86
LM
132912015-08-24 Luis Machado <lgustavo@codesourcery.com>
13292
13293 * gdb.opt/inline-markers.c: Make z volatile.
13294
a48847ee
LM
132952015-08-24 Luis Machado <lgustavo@codesourcery.com>
13296
13297 * gdb.opt/inline-bt.c: New volatile global z.
13298 * gdb.opt/inline-cmds.c: Likewise.
13299 * gdb.opt/inline-locals.c: Likewise.
13300 * gdb.opt/inline-markers.c: New extern global z.
13301 (marker): Use z.
13302 (inline_fn): Likewise.
13303
0ebbc52b
PA
133042015-08-24 Pedro Alves <palves@redhat.com>
13305
13306 * config/m32r-stub.exp: Remove file.
13307 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13308 * gdb.base/call-rt-st.exp: Likewise.
13309 * gdb.base/call-strs.exp: Likewise.
13310 * gdb.base/default.exp: Remove references to h8300-*-hms and
13311 *-*-udi*.
13312 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13313
77c365df
AA
133142015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13315
13316 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13317 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13318 and "return" use KFAIL when GDB can not read/write the vector
13319 return value.
13320
4313b8c0
GB
133212015-08-21 Gary Benson <gbenson@redhat.com>
13322
13323 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13324
0e433b32
PA
133252015-08-20 Pedro Alves <palves@redhat.com>
13326
13327 * gdb.server/solib-list.exp: No longer expect an interior stop in
13328 non-stop mode.
13329
221e1a37
PA
133302015-08-20 Pedro Alves <palves@redhat.com>
13331
13332 * gdb.server/connect-stopped-target.c: New file.
13333 * gdb.server/connect-stopped-target.exp: New file.
13334
40e3ad0e
PA
133352015-08-20 Pedro Alves <palves@redhat.com>
13336
13337 * gdb.dwarf2/comp-unit-lang.exp: New file.
13338 * gdb.dwarf2/comp-unit-lang.c: New file.
13339
af39b327
PMR
133402015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13341
13342 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13343 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13344
7d45c7c3 133452015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 13346
7d45c7c3
KB
13347 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13348 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13349
4d6cceb4
DE
133502015-08-18 Doug Evans <dje@google.com>
13351 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13352
13353 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13354 skip_python_tests. New arg prompt_regexp.
13355 (skip_python_tests): New function.
13356 * lib/mi-support.exp (mi_skip_python_tests): New function.
13357 * gdb.python/py-mi-objfile-gdb.py: New file.
13358 * gdb.python/py-mi-objfile.c: New file.
13359 * gdb.python/py-mi-objfile.exp: New file.
13360
ad89c2aa
KS
133612015-08-17 Keith Seitz <keiths@redhat.com>
13362
13363 * gdb.linespec/explicit.exp: Move strace test from here ...
13364 * gdb.trace/strace.exp: ... to here.
13365
e3ae3c43
PP
133662015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13367
13368 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13369 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13370
604b2636
DE
133712015-08-14 Doug Evans <xdje42@gmail.com>
13372
13373 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13374 inferior before selecting a new file.
13375
6ff0ba5f
DE
133762015-08-14 Doug Evans <xdje42@gmail.com>
13377
13378 * gdb.mi/mi-disassemble.exp: Update.
13379 * gdb.base/disasm-optim.S: New file.
13380 * gdb.base/disasm-optim.c: New file.
13381 * gdb.base/disasm-optim.h: New file.
13382 * gdb.base/disasm-optim.exp: New file.
13383
9ca98f92
KS
133842015-08-14 Keith Seitz <keiths@redhat.com>
13385
13386 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13387 "evaluated-by".
13388
52bbc560
JB
133892015-08-13 Joel Brobecker <brobecker@adacore.com>
13390
13391 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13392
5d8c3ed3
PMR
133932015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13394
13395 * gdb.ada/fun_renaming.exp: New testcase.
13396 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13397 * gdb.ada/fun_renaming/pack.adb: New file.
13398 * gdb.ada/fun_renaming/pack.ads: New file.
13399
ea8812bc
KS
134002015-08-12 Keith Seitz <keiths@redhat.com>
13401
13402 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13403 gdb_get_line_number.
13404
4dafcdeb
JB
134052015-08-12 Joel Brobecker <brobecker@adacore.com>
13406
13407 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13408 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13409 gdb.base/dso2dso.exp: New files.
13410
5ba32597
SDJ
134112015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13412 Pedro Alves <palves@redhat.com>
13413 Keith Seitz <keiths@redhat.com>
13414
13415 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13416 GDBFLAGS.
13417
b6dafabf
PP
134182015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13419
13420 * gdb.base/gdbhistsize-history.exp
13421 (test_histsize_history_setting): Use save_vars.
13422 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13423 Use save_vars.
13424 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13425 * gdb.base/readline.exp: Use save_vars.
13426
abe8e607
PP
134272015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13428
13429 * lib/gdb.exp (save_vars): New proc.
13430
629500fa
KS
134312015-08-11 Keith Seitz <keiths@redhat.com>
13432
13433 * gdb.base/help.exp: Update help_breakpoint_text.
13434
eb8c4e2e
KS
134352015-08-11 Keith Seitz <keiths@redhat.com>
13436
13437 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13438 (at toplevel): Call test_explicit_breakpoints.
13439 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13440 breakpoints.
13441 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13442 breakpoint conditions, "-cond".
13443
87f0e720
KS
134442015-08-11 Keith Seitz <keiths@redhat.com>
13445
13446 * gdb.linespec/3explicit.c: New file.
13447 * gdb.linespec/cpexplicit.cc: New file.
13448 * gdb.linespec/cpexplicit.exp: New file.
13449 * gdb.linespec/explicit.c: New file.
13450 * gdb.linespec/explicit.exp: New file.
13451 * gdb.linespec/explicit2.c: New file.
13452 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13453 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13454 before using in the matching pattern.
13455 Clarify that `prefix' is a regular expression.
13456
f00aae0f
KS
134572015-08-11 Keith Seitz <keiths@redhat.com>
13458
13459 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13460 test.
13461 Add tests for missing ",FMT" and ",".
13462
e27852be
DE
134632015-08-10 Doug Evans <dje@google.com>
13464 Keith Seitz <keiths@redhat.com>
13465
13466 PR gdb/17960
13467 * gdb.base/completion.exp: Add location completer tests.
13468
7f03bd92
PA
134692015-08-07 Pedro Alves <palves@redhat.com>
13470
13471 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13472 tests here.
13473 (top level): Run do_test with and without displaced stepping.
13474
3fc8eb30
PA
134752015-08-07 Pedro Alves <palves@redhat.com>
13476
13477 * gdb.base/valgrind-disp-step.c: New file.
13478 * gdb.base/valgrind-disp-step.exp: New file.
13479
d4569d7b
PA
134802015-08-07 Pedro Alves <palves@redhat.com>
13481
13482 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13483 Delete function.
13484 (main): Add alarm. Run an infinite loop instead of calling
13485 wait_threads.
13486 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13487 comment.
13488 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13489 Delete function.
13490 (main): Add alarm. Run an infinite loop instead of calling
13491 wait_threads.
13492 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13493 comment.
13494
e1316e60
PA
134952015-08-07 Pedro Alves <palves@redhat.com>
13496
13497 * gdb.base/checkpoint-ns.exp: New file.
13498 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13499 standard_testfile.
13500
da8c46d2
MM
135012015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13502
13503 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13504 * gdb.btrace/instruction_history.exp: Update.
13505 * gdb.btrace/tsx.exp: New.
13506 * gdb.btrace/tsx.c: New.
13507
de1c2c52
PA
135082015-08-06 Pedro Alves <palves@redhat.com>
13509
13510 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13511 increase timeout.
13512 * gdb.reverse/until-precsave.exp: Bump timeouts.
13513
782e0bf4
PA
135142015-08-06 Pedro Alves <palves@redhat.com>
13515
13516 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13517
83e97ed0
PA
135182015-08-06 Pedro Alves <palves@redhat.com>
13519
13520 PR gdb/18749
13521 * gdb.threads/process-dies-while-handling-bp.c: New file.
13522 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13523
863d01bd
PA
135242015-08-06 Pedro Alves <palves@redhat.com>
13525
13526 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13527 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13528
0a39bb32
PA
135292015-08-05 Pedro Alves <palves@redhat.com>
13530
13531 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13532 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13533
ee2d2b10
SL
135342015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13535
13536 * gdb.base/bp-permanent.exp: Report test as unsupported if
13537 the target cannot stop at the permanent breakpoint.
13538
4e1bdb00
DE
135392015-08-03 Doug Evans <dje@google.com>
13540
13541 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13542 10000.
13543
3d338901
DE
135442015-08-03 Doug Evans <dje@google.com>
13545
13546 * Makefile.in (workers/%.worker, build-perf): New rule.
13547 (GDB_PERFTEST_MODE): New variable.
13548 (check-perf): Use it.
13549 (clean): Clean up gdb.perf parallel build subdirs.
13550 * lib/build-piece.exp: New file.
13551 * lib/gdb.exp (make_gdb_parallel_path): New function
13552 (standard_output_file, standard_temp_file): Call it.
13553 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13554 of $GDB_PARALLEL.
13555 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13556
af061d3e
DE
135572015-08-03 Doug Evans <dje@google.com>
13558
8e1afc81 13559 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
13560 (LOG_FILE_NAME): New global.
13561 (TextReporter.__init__): Initialize self.txt_sum.
13562 (TextReporter.report): Add support for multiple data-points.
13563 Move report to perftest.sum, put raw data in perftest.log.
13564 (TextReporter.start): Open sum and log files.
13565 (TextReporter.end): Close sum and log files.
8e1afc81
DE
13566 * gdb.perf/lib/perftest/testresult.py
13567 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13568
2c8c5d37
PA
135692015-07-31 Pedro Alves <palves@redhat.com>
13570
13571 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13572 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13573 kill_wait_spawned_process instead of explicit "kill -9".
13574 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13575 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13576 kill_wait_spawned_process.
13577 * gdb.base/attach-twice.exp: Likewise.
13578 * gdb.base/attach.exp: Likewise.
13579 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13580 gdb_test_multiple.
13581 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13582 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13583 kill_wait_spawned_process.
13584 * gdb.base/valgrind-infcall.exp: Likewise.
13585 * gdb.multi/multi-attach.exp: Likewise.
13586 * gdb.python/py-prompt.exp: Likewise.
13587 * gdb.python/py-sync-interp.exp: Likewise.
13588 * gdb.server/ext-attach.exp: Likewise.
13589 * gdb.threads/attach-into-signal.exp (corefunc): Use
13590 spawn_wait_for_attach, spawn_id_get_pid and
13591 kill_wait_spawned_process.
13592 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13593 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13594 spawn_id_get_pid and kill_wait_spawned_process.
13595 * gdb.threads/attach-stopped.exp (corefunc): Use
13596 spawn_wait_for_attach, spawn_id_get_pid and
13597 kill_wait_spawned_process.
13598 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13599 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13600 kill_wait_spawned_process instead of explicit "kill -9".
13601 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13602 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13603 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13604 processes. Don't map cygwin/windows pids here. Now returns a
13605 spawn id list.
13606
032a0fca
SL
136072015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13608
13609 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13610 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13611 correct patch.
13612
61a934ca
SL
136132015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13614
13615 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13616
4bc4d428
SL
136172015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13618
13619 Reapply:
13620 2014-05-21 Mark Wielaard <mjw@redhat.com>
13621
13622 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13623
998d452a
PA
136242015-07-30 Pedro Alves <palves@redhat.com>
13625
13626 * linux-low.c (handle_extended_wait): Set the child's last
13627 reported status to TARGET_WAITKIND_STOPPED.
13628
69dde7dc
PA
136292015-07-30 Pedro Alves <palves@redhat.com>
13630
13631 PR threads/18600
13632 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13633 only shows inferior 1.
13634
4dd63d48
PA
136352015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13636 Pedro Alves <palves@redhat.com>
13637
13638 PR threads/18600
13639 * gdb.threads/fork-plus-threads.c: New file.
13640 * gdb.threads/fork-plus-threads.exp: New file.
13641
d618e4c5
PP
136422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13643
13644 * gdb.base/batch-preserve-term-settings.exp
13645 (test_terminal_settings_preserved_after_cli_exit): Use
13646 send_quit_command.
13647
1eef6428
PA
136482015-07-29 Pedro Alves <palves@redhat.com>
13649 Don Breazeal <donb@codesourcery.com>
13650
13651 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13652 output from both inferior_spawn_id and gdb_spawn_id.
13653
7da5b897
SDJ
136542015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13655
13656 * gdb.threads/attach-into-signal.exp (corefunc): Use
13657 with_test_prefix on nested loops, uniquefying the test messages.
13658
dac804df
SDJ
136592015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13660
13661 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13662 commit.
13663
06265e53
PP
136642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13665
13666 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13667 New proc.
13668 (test_terminal_settings_preserved_after_sigterm): New test.
13669
18206ca3
PP
136702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13671
13672 * gdb.base/batch-preserve-term-settings.exp
13673 (test_terminal_settings_preserved_after_cli_exit): New test.
13674
90074d11
PP
136752015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13676
13677 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13678 manipulation of saved_gdbflags.
13679 (test_terminal_settings_preserved): Remove global declaration of
13680 the unused variable pagination_prompt. Remove manipulation of
13681 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13682 GDBFLAGS.
13683
eb1a7902
PA
136842015-07-29 Pedro Alves <palves@redhat.com>
13685
13686 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13687
8b75dd3b
PA
136882015-07-29 Pedro Alves <palves@redhat.com>
13689
13690 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13691 at the top.
13692
dedad4e3
PA
136932015-07-29 Pedro Alves <palves@redhat.com>
13694
13695 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13696 (main): Call gdb_unbuffer_output.
13697 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13698 (main): Call gdb_unbuffer_output.
13699 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13700 (main): Call gdb_unbuffer_output.
13701 * gdb.base/call-strs.exp: Adjust to step over the
13702 gdb_unbuffer_output call.
13703 * gdb.base/catch-gdb-caused-signals.c: Include
13704 "../lib/unbuffer_output.c".
13705 (main): Call gdb_unbuffer_output.
13706 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13707 (main): Call gdb_unbuffer_output.
13708 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13709 (main): Call gdb_unbuffer_output.
13710 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13711 (main): Call gdb_unbuffer_output.
13712 * gdb.base/shlib-call.exp: Adjust to step over the
13713 gdb_unbuffer_output call.
13714 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13715 (main): Call gdb_unbuffer_output.
13716 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13717 (main): Call gdb_unbuffer_output.
13718 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13719 (main): Rename to ...
13720 (test): ... this.
13721 (main): Reimplement.
13722 * gdb.base/varargs.exp: Run to test instead of to main.
13723 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13724 (main): Call gdb_unbuffer_output.
13725
58789a91
PA
137262015-07-29 Pedro Alves <palves@redhat.com>
13727
13728 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13729 factore out from mi_continue_dprintf. For call-style dprintfs,
13730 expect dprintf output out of $inferior_spawn_id.
13731 (mi_continue_dprintf): Use mi_expect_dprintf.
13732 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13733 (main): Call gdb_unbuffer_output.
13734
e8376742
PA
137352015-07-29 Pedro Alves <palves@redhat.com>
13736
13737 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13738 (default_mi_gdb_start): Set inferior_spawn_id instead of
13739 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13740 gdb_spawn_id.
13741 (mi_gdb_test): Always expect inferior output from both
13742 $inferior_spawn_id and $gdb_spawn_id.
13743
08280010
PA
137442015-07-29 Pedro Alves <palves@redhat.com>
13745
13746 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13747 send_inferior and $inferior_spawn_id.
13748
4d30e432
PA
137492015-07-29 Pedro Alves <palves@redhat.com>
13750
13751 * gdb.gdb/complaints.exp (test_initial_complaints)
13752 (test_serial_complaints, test_short_complaints): Use
13753 gdb_test_stdio.
13754 (test_empty_complaint): Handle $inferior_spawn_id !=
13755 $gdb_spawn_id.
13756
0d30a335
PA
137572015-07-29 Pedro Alves <palves@redhat.com>
13758
13759 * gdb.base/varargs.exp: Use gdb_test_stdio.
13760
39413b29
PA
137612015-07-29 Pedro Alves <palves@redhat.com>
13762
13763 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13764
7cb000a9
PA
137652015-07-29 Pedro Alves <palves@redhat.com>
13766
13767 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13768
d7b8ac82
PA
137692015-07-29 Pedro Alves <palves@redhat.com>
13770
13771 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13772 parameter into two new parameters, "inf_result" and "gdb_result".
13773 Expect inferior output and gdb output from $inferior_spawn_id and
13774 $gdb_spawn_id, respectively. Adjust all callers.
13775
789c3a0c
PA
137762015-07-29 Pedro Alves <palves@redhat.com>
13777
13778 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13779 of gdb_test_sequence.
13780
77e760c3
PA
137812015-07-29 Pedro Alves <palves@redhat.com>
13782
13783 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13784 (saw_spurious_output): Expect inferior output from
13785 $inferior_spawn_id. Use gdb_test_stdio.
13786
8396d2cd
PA
137872015-07-29 Pedro Alves <palves@redhat.com>
13788
13789 * gdb.base/dprintf.exp: Use standard_testfile. Change
13790 prepare_for_testing call.
13791 (srcfile): Don't set.
13792 (restart): New procedure.
13793 (test_dprintf): New procecure, use to continue over dprintfs.
13794 (test_call, test_agent): New procedures, tests moved here.
13795 Restart gdb and recreate dprintfs. Adjust expected output.
13796
2051d61f
PA
137972015-07-29 Pedro Alves <palves@redhat.com>
13798
13799 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13800
452397af
PA
138012015-07-29 Pedro Alves <palves@redhat.com>
13802
13803 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13804
8aed9555
PA
138052015-07-29 Pedro Alves <palves@redhat.com>
13806
13807 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13808 gdb_test_stdio.
13809
188a61b4
PA
138102015-07-29 Pedro Alves <palves@redhat.com>
13811
13812 * lib/gdb.exp (gdb_test_stdio): New procedure.
13813
12264a45
PA
138142015-07-29 Pedro Alves <palves@redhat.com>
13815
13816 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13817
23ffc893
PA
138182015-07-29 Pedro Alves <palves@redhat.com>
13819
13820 * gdb.base/call-signal-resume.exp: Remove check for
13821 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13822 * gdb.base/unwindonsignal.exp: Likewise.
13823 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13824 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13825
65566918
PA
138262015-07-29 Pedro Alves <palves@redhat.com>
13827
13828 * gdb.base/siginfo-addr.c (pass): New function.
13829 (handler): Call it iff si_addr is correct.
13830 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13831 Set a breakpoint at "pass" and continue to it.
13832
d60a9221
SDJ
138332015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13834
13835 * gdb.python/py-objfile.exp: Make some tests have unique names.
13836 * gdb.python/py-pp-registration.exp: Likewise.
13837
bde40b8f
PA
138382015-07-28 Pedro Alves <palves@redhat.com>
13839
13840 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13841
13e1dec8
SM
138422015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13843
13844 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13845
da33c9a7
SM
138462015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13847
13848 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13849
077836f7
PP
138502015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13851
13852 * gdb.base/gdb-sigterm-2.exp: New test.
13853
b8cc7b2e
DE
138542015-07-25 Doug Evans <xdje42@gmail.com>
13855
13856 Revert:
13857 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13858 (workers/%.worker, build-perf): New rule.
13859 (GDB_PERFTEST_MODE): New variable.
13860 (check-perf): Use it.
13861 (clean): Clean up gdb.perf parallel build subdirs.
13862 * lib/build-piece.exp: New file.
13863 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13864 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13865 name.
13866 (standard_temp_file): Ditto.
13867 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13868 of $GDB_PARALLEL.
13869
c8bd4544
DE
138702015-07-24 Doug Evans <dje@google.com>
13871
13872 * gdb.perf/lib/perftest/utils.py: New file.
13873 * gdb.perf/gm-hello.cc: New file.
13874 * gdb.perf/gm-pervasive-typedef.cc: New file.
13875 * gdb.perf/gm-pervasive-typedef.h: New file.
13876 * gdb.perf/gm-std.cc: New file.
13877 * gdb.perf/gm-std.h: New file.
13878 * gdb.perf/gm-use-cerr.cc: New file.
13879 * gdb.perf/gm-utils.h: New file.
13880 * gdb.perf/gmonster-null-lookup.py: New file.
13881 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13882 * gdb.perf/gmonster-print-cerr.py: New file.
13883 * gdb.perf/gmonster-ptype-string.py: New file.
13884 * gdb.perf/gmonster-runto-main.py: New file.
13885 * gdb.perf/gmonster-select-file.py: New file.
13886 * gdb.perf/gmonster1-null-lookup.exp: New file.
13887 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13888 * gdb.perf/gmonster1-print-cerr.exp: New file.
13889 * gdb.perf/gmonster1-ptype-string.exp: New file.
13890 * gdb.perf/gmonster1-runto-main.exp: New file.
13891 * gdb.perf/gmonster1-select-file.exp: New file.
13892 * gdb.perf/gmonster1.cc: New file.
13893 * gdb.perf/gmonster1.exp: New file.
13894 * gdb.perf/gmonster2-null-lookup.exp: New file.
13895 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13896 * gdb.perf/gmonster2-print-cerr.exp: New file.
13897 * gdb.perf/gmonster2-ptype-string.exp: New file.
13898 * gdb.perf/gmonster2-runto-main.exp: New file.
13899 * gdb.perf/gmonster2-select-file.exp: New file.
13900 * gdb.perf/gmonster2.cc: New file.
13901 * gdb.perf/gmonster2.exp: New file.
13902
6eab34f3
DE
139032015-07-24 Doug Evans <dje@google.com>
13904
13905 * gdb.perf/README: New file.
13906 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13907 * lib/gen-perf-test.exp: New file.
13908
63738bfd
DE
139092015-07-24 Doug Evans <dje@google.com>
13910
13911 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13912 (PerfTest::startup): New function.
13913 (PerfTest::run): Return result of calling body.
13914 (PerfTest::assemble): Rewrite.
13915 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13916 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13917 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13918 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13919 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13920
7b606f95
DE
139212015-07-24 Doug Evans <dje@google.com>
13922
13923 * lib/gdb.exp (clean_restart): Make executable optional.
13924
a97b16b8
DE
139252015-07-24 Doug Evans <dje@google.com>
13926
13927 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13928 compiler_info references.
13929 * gdb.cp/temargs.exp: Ditto.
13930 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13931 (get_compiler_info): Early exit if already computed. Set compiler_info
13932 to "unknown" if there was a problem.
13933 (test_compiler_info): Add function comment. Call get_compiler_info.
13934
35baa57f
DE
139352015-07-24 Doug Evans <dje@google.com>
13936
13937 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13938 (workers/%.worker, build-perf): New rule.
13939 (GDB_PERFTEST_MODE): New variable.
13940 (check-perf): Use it.
13941 (clean): Clean up gdb.perf parallel build subdirs.
13942 * lib/build-piece.exp: New file.
13943 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13944 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13945 name.
13946 (standard_temp_file): Ditto.
13947 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13948 of $GDB_PARALLEL.
13949
6ebea266
DE
139502015-07-24 Doug Evans <dje@google.com>
13951
13952 * lib/future.exp (gdb_default_target_compile): New option
13953 "early_flags".
13954 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13955 --as-needed.
13956
1e76a7e9
SDJ
139572015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13958
13959 * gdb.base/catch-syscall.exp: Call gdb_exit before
13960 gdb_skip_xml_test.
13961
5068630a
PA
139622015-07-24 Pedro Alves <palves@redhat.com>
13963
13964 * gdb.python/py-events.exp: Accept output between the stop event
13965 and the prompt.
13966 * gdb.python/py-evsignal.exp: Likewise.
13967 * gdb.python/py-evthreads.exp: Likewise.
13968
77598427
PA
139692015-07-24 Pedro Alves <palves@redhat.com>
13970
13971 PR gdb/18717
13972 * gdb.threads/non-ldr-exit.c: New file.
13973 * gdb.threads/non-ldr-exit.exp: New file.
13974
11e6c98f
YQ
139752015-07-24 Yao Qi <yao.qi@linaro.org>
13976
13977 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13978 restarting process.
13979
51aee833
YQ
139802015-07-24 Yao Qi <yao.qi@linaro.org>
13981
13982 * gdb.server/ext-restart.exp: New file.
13983
8cfe207c
YQ
139842015-07-24 Yao Qi <yao.qi@linaro.org>
13985
13986 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13987 argument options.
13988 * gdb.server/ext-wrapper.exp: New file.
13989
cc12ce38
DE
139902015-07-23 Doug Evans <dje@google.com>
13991
13992 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13993 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13994
d0d84780
PMR
139952015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13996
13997 * gdb.ada/var_arr_typedef.exp: New testcase.
13998 * gdb.ada/var_arr_typedef/pack.adb: New file.
13999 * gdb.ada/var_arr_typedef/pack.ads: New file.
14000 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14001
8b558f79
JB
140022015-07-20 Joel Brobecker <brobecker@adacore.com>
14003
14004 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14005
775a3298
JK
140062015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14007
14008 * gdb.arch/i386-biarch-core.exp: Replace istarget
14009 by "complete set gnutarget". Remove expectation for the "core-file"
14010 command.
14011
db1ff28b
JK
140122015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14013
14014 Revert the previous commit:
14015 Tests for validate symbol file using build-id.
14016
0a94970d
JK
140172015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14018
14019 Tests for validate symbol file using build-id.
14020 * gdb.base/solib-mismatch-lib.c: New file.
14021 * gdb.base/solib-mismatch-libmod.c: New file.
14022 * gdb.base/solib-mismatch.c: New file.
14023 * gdb.base/solib-mismatch.exp: New file.
14024
03346981
SL
140252015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14026
14027 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14028 nios2-*-linux*.
14029 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14030 * gdb.base/siginfo.exp: Likewise.
14031 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14032
42422cc7
PL
140332015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14034
14035 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14036 Move it to ...
14037 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14038 ... here.
14039 * gdb.trace/range-stepping.exp: Check that the target supports
14040 range stepping.
14041
cfa68bae
JK
140422015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14043
14044 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14045
8ffdba26
PA
140462015-07-14 Pedro Alves <palves@redhat.com>
14047
14048 * gdb.base/killed-outside.exp: New file.
14049 * gdb.base/killed-outside.c: New file.
14050
218a5a11
JK
140512015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14052
14053 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14054 (n at main): New.
14055 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14056
e03ed3c6
AA
140572015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14058
14059 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14060 infcall tests instead of setting up for KFAIL.
14061
485668e5
MM
140622015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14063
14064 * gdb.btrace/record_goto-step.exp: New.
14065
08464196
JK
140662015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14067
14068 PR compile/18484
14069 * gdb.compile/compile.c (struct struct_type): Add volatile to
14070 selffield's type.
14071 * gdb.compile/compile.exp
14072 (compile code struct_object.selffield = &struct_object): Skip further
14073 struct_object tests if this one xfails.
14074
bcf5c1d9
RC
140752015-07-08 Robert O'Callahan <robert@ocallahan.org>
14076
14077 PR exp/18617
14078 * gdb.trace/ax.exp: Add test.
14079
4931af25
YQ
140802015-07-07 Yao Qi <yao.qi@linaro.org>
14081
14082 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14083 instead of istarget "aarch64*-*-*".
14084 * gdb.arch/aarch64-fp.exp: Likewise.
14085 * gdb.base/float.exp: Likewise.
14086 * gdb.reverse/aarch64.exp: Likewise.
14087 * lib/gdb.exp (is_aarch64_target): New proc.
14088
9fcf688e
YQ
140892015-07-07 Yao Qi <yao.qi@linaro.org>
14090
14091 * lib/gdb.exp (is_aarch32_target): New proc.
14092 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14093 instead of "istarget "arm*-*-*"".
14094 * gdb.arch/arm-disp-step.exp: Likewise.
14095 * gdb.arch/thumb-bx-pc.exp: Likewise.
14096 * gdb.arch/thumb-prologue.exp: Likewise.
14097 * gdb.arch/thumb-singlestep.exp: Likewise.
14098 * gdb.base/disp-step-syscall.exp: Likewise.
14099 * gdb.base/float.exp: Likewise.
14100
fbd8d50d
YQ
141012015-07-07 Yao Qi <yao.qi@linaro.org>
14102
14103 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14104 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14105
71be1fdc
YQ
141062015-07-07 Yao Qi <yao.qi@linaro.org>
14107
14108 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
14109 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
14110 if it exists.
14111 * gdb.multi/multi-arch.exp: Likewise.
14112
3e221d36
SM
141132015-07-07 Simon Marchi <simon.marchi@ericsson.com>
14114
14115 * gdb.python/py-lazy-string.exp: Add missing parentheses to
14116 print.
14117
d441430b
YQ
141182015-07-07 Yao Qi <yao.qi@linaro.org>
14119
14120 * gdb.arch/thumb-singlestep.exp: Do one more single step.
14121
06f810bd
MG
141222015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
14123
14124 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
14125 '[' and ']' characters.
14126
5e61e7c0
IB
141272015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
14128
14129 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14130
28bf096c
PA
141312015-06-29 Pedro Alves <palves@redhat.com>
14132
14133 PR threads/18127
14134 * gdb.threads/hand-call-new-thread.c: New file.
14135 * gdb.threads/hand-call-new-thread.c: New file.
14136
ee93cd5e
KS
141372015-06-26 Keith Seitz <keiths@redhat.com>
14138 Doug Evans <dje@google.com>
14139
14140 PR 16253
14141 * gdb.cp/var-tag-2.cc: New file.
14142 * gdb.cp/var-tag-3.cc: New file.
14143 * gdb.cp/var-tag-4.cc: New file.
14144 * gdb.cp/var-tag.cc: New file.
14145 * gdb.cp/var-tag.exp: New file.
14146
fc637f04
PP
141472015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14148
14149 * gdb.base/history-duplicates.exp: New test.
14150
2e52ae68
PP
141512015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14152
14153 * gdb.base/completion.exp: Test the completion of the "focus"
14154 command.
14155
6e22494e
JK
141562015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14157
14158 * gdb.arch/amd64-prologue-skip.S: New file.
14159 * gdb.arch/amd64-prologue-skip.exp: New file.
14160
bf7b9cd9
SM
141612015-06-25 Simon Marchi <simon.marchi@ericsson.com>
14162
14163 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
14164 is_address_zero_readable check.
14165
201e8dfd
PB
141662015-06-24 Peter Bergner <bergner@vnet.ibm.com>
14167
14168 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
14169 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
14170
5cd867b4
YQ
141712015-06-24 Yao Qi <yao.qi@linaro.org>
14172
14173 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14174 linux targets.
14175
4d7be007
YQ
141762015-06-24 Yao Qi <yao.qi@linaro.org>
14177
14178 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14179 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14180 * gdb.base/siginfo-thread.exp: Likewise.
14181
07fcd301
YQ
141822015-06-22 Yao Qi <yao.qi@linaro.org>
14183
14184 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14185
52042a00
YQ
141862015-06-22 Yao Qi <yao.qi@linaro.org>
14187
14188 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14189 aarch64*-*-*.
14190 (skip_hw_watchpoint_tests): Likewise.
14191
74bd41ce
PP
141922015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14193
14194 * gdb.base/gdbinit-history.exp: Test the interaction between
14195 setting GDBHISTSIZE and setting the history size via .gdbinit.
14196
bc460514
PP
141972015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14198
14199 PR gdb/16999
14200 * gdb.base/gdbhistsize-history.exp: New test.
14201
b58c513b
PP
142022015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14203
14204 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14205 with GDBHISTSIZE.
14206 * gdb.base/readline.exp: Likewise.
14207
92046791
YQ
142082015-06-17 Yao Qi <yao.qi@linaro.org>
14209
14210 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14211 line.
14212
2093d2d3
PP
142132015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14214
14215 * gdb.base/gdbinit-history.exp: Add test case to check that
14216 an unlimited history file does not get truncated on exit.
14217
e6c693af
AA
142182015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14219
14220 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14221 (VECTOR): New macro. Use it...
14222 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14223 ...for these typedefs.
14224 (int8, char1, int1, double1): New typedefs.
14225 (struct just_int2, struct two_int2): New structures.
14226 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14227 (add_structvecs, add_singlevecs): New functions.
14228 (main): Call add_some_intvecs twice.
14229 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14230 the compile and exit upon failure. Try compiling for the "native"
14231 architecture. Test inferior function calls with vector arguments
14232 and vector return value handling with "finish" and "return".
14233
c74f7d1c
JT
142342015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14235
14236 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14237 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14238 PE file.
14239 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14240
98aa42ee
AT
142412015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14242
14243 PR breakpoints/16465
14244 * gdb.mi/mi-dprintf-pending.c: New file.
14245 * gdb.mi/mi-dprintf-pending.exp: New test.
14246 * gdb.mi/mi-dprintf-pendshr.c: New file.
14247
7d73c23c 142482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 14249 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
14250
14251 * gdb.arch/i386-mpx-map.c: New file.
14252 * gdb.arch/i386-mpx-map.exp: New File.
14253
142542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14255
14256 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14257 * gdb.arch/i386-mpx.exp: Indentation fixed.
14258
142592015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14260
14261 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14262 function and improved indentation.
14263 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14264 gdb_test_multiple. Added additional tests to skip the test.
14265
142662015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14267
14268 * gdb.arch/i386-avx512.c: Change path in include file.
14269 * gdb.arch/i386-avx512.exp: Change include dir path
14270 compilation flag.
14271 * gdb.arch/i386-mpx.c: Change path in include file.
14272 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14273 flag.
14274
d5eba19a
JK
142752015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14276
14277 * gdb.compile/compile-print.exp (compile print *vararray@3)
14278 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14279
7f361056
JK
142802015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14281
14282 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14283 (do not keep jit in memory): ... this.
14284 (expect 5): Change it to ...
14285 (expect no 5): ... this.
14286
3b462ec2
SM
142872015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14288
14289 PR gdb/15564
14290 * gdb.mi/mi-detach.exp: New file.
14291
e0619de6
JK
142922015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14293
14294 PR symtab/18392
14295 * gdb.arch/amd64-tailcall-self.S: New file.
14296 * gdb.arch/amd64-tailcall-self.c: New file.
14297 * gdb.arch/amd64-tailcall-self.exp: New file.
14298
e970cb34
DB
142992015-05-28 Don Breazeal <donb@codesourcery.com>
14300
14301 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14302 tests for remote targets by checking is_target_gdbserver.
14303
b2e2f908
DE
143042015-05-27 Doug Evans <dje@google.com>
14305
14306 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14307 * gdb.dwarf2/opaque-type-lookup.c: New file.
14308 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14309
82c7be31
DE
143102015-05-26 Doug Evans <dje@google.com>
14311
14312 * gdb.cp/iostream.cc: New file.
14313 * gdb.cp/iostream.exp: New file.
14314
b4f54984
DE
143152015-05-26 Doug Evans <dje@google.com>
14316
14317 * gdb.dwarf2/dw2-op-call.exp: Update.
14318 * gdb.dwarf2/dw4-sig-types.exp: Update.
14319 * gdb.dwarf2/implptr.exp: Update.
14320 * gdb.mi/mi-cmd-param-changed.exp: Update.
14321
4ea6efe9
DE
143222015-05-26 Doug Evans <dje@google.com>
14323
14324 * gdb.python/py-lazy-string.c: New file.
14325 * gdb.python/py-lazy-string.exp: New file.
14326 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14327 (main): Update. Add estring3.
14328 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14329 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14330
f6bb7db3
YQ
143312015-05-26 Omair Javaid <omair.javaid@linaro.org>
14332 Yao Qi <yao.qi@linaro.org>
14333
14334 * gdb.reverse/aarch64.c: New.
14335 * gdb.reverse/aarch64.exp: New.
14336
a81bfbd0
OJ
143372015-05-26 Omair Javaid <omair.javaid@linaro.org>
14338
25d49b86
PA
14339 * lib/gdb.exp (supports_process_record): Return true for
14340 aarch64*-linux*.
a81bfbd0
OJ
14341 (supports_reverse): Likewise.
14342
158bf1b4
PP
143432015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14344
14345 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14346 Use with_test_prefix.
14347
a0145030
AB
143482015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14349
14350 * gdb.base/completion.exp: Add test for completion of layout
14351 names.
14352
ebe3b578
AB
143532015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14354
14355 * lib/gdb.exp (skip_tui_tests): New proc.
14356 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14357
84204ed7
PA
143582015-05-19 Pedro Alves <palves@redhat.com>
14359
14360 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14361 Save the whole env array instead of just HOME. Unset HISTSIZE in
14362 the environment while testing. Restore whole environment
14363 afterwards.
14364
37442ce1
DE
143652015-05-16 Doug Evans <xdje42@gmail.com>
14366
14367 * gdb.guile/scm-ports.c: New file.
14368 * gdb.guile/scm-ports.exp: Add memory port tests.
14369
36de76f9
JK
143702015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14371
14372 * gdb.compile/compile-print.c: New file.
14373 * gdb.compile/compile-print.exp: New file.
14374
3a9558c4
JK
143752015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14376
14377 * gdb.compile/compile-ops.exp: Cast param to void.
14378 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14379 (compile code struct_object.selffield = &struct_object): Add xfail.
14380
aa715135
JG
143812015-05-15 Joel Brobecker <brobecker@adacore.com>
14382
14383 * gdb.ada/arr_enum_with_gap: New testcase.
14384
931e5bc3
JG
143852015-05-15 Joel Brobecker <brobecker@adacore.com>
14386
14387 * gdb.ada/byte_packed_arr: New testcase.
14388
9cd4d857
JB
143892015-05-15 Joel Brobecker <brobecker@adacore.com>
14390
14391 * gdb.ada/pckd_neg: New testcase.
14392
ebfd00d2
PP
143932015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14394
14395 PR gdb/17820
14396 * gdb.base/gdbinit-history.exp: New test.
14397 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14398 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14399
4c082a81
SC
144002015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14401
14402 * gdb.python/py-xmethods.cc: Enhance test case.
14403 * gdb.python/py-xmethods.exp: New tests.
14404 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14405 function.
14406 (B_indexoper): Likewise.
14407 (global_dm_list) : Add new xmethod worker functions.
14408
f7797074
SDJ
144092015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14410
14411 * gdb.base/coredump-filter.exp: Correctly unset
14412 "coredump_var_addr" array.
14413
a4674e4e
PA
144142015-05-08 Pedro Alves <palves@redhat.com>
14415
14416 * gdb.server/non-existing-program.exp: Unset spawn_id.
14417
df2eb078
SC
144182015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14419
14420 PR python/18291
14421 * gdb.python/py-xmethods.exp: Add tests.
14422
422349a3
YQ
144232015-05-08 Yao Qi <yao.qi@linaro.org>
14424
14425 PR gdb/18208
14426 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14427 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14428 function set_coredump_filter, and remove remote_exec call.
14429 Remove argument ipid. Callers update.
14430 (top level): Don't get inferior's PID.
14431
63fc80ce
AA
144322015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14433
14434 * gdb.base/watch_thread_num.exp: Skip test on targets without
14435 access watchpoints.
14436
80ad801e
PA
144372015-05-06 Pedro Alves <palves@redhat.com>
14438
14439 PR server/18081
14440 * gdb.server/non-existing-program.exp: New file.
14441
0fa7fe50
JB
144422015-05-05 Joel Brobecker <brobecker@adacore.com>
14443
14444 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14445
3ea89b92
PMR
144462015-05-05 Joel Brobecker <brobecker@adacore.com>
14447
14448 * gdb.ada/out_of_line_in_inlined: New testcase.
14449
87b8eff0
JB
144502015-05-05 Joel Brobecker <brobecker@adacore.com>
14451
14452 * gdb.ada/var_rec_arr: New testcase.
14453
5fccc635
YQ
144542015-04-30 Yao Qi <yao.qi@linaro.org>
14455
14456 * gdb.base/break-idempotent.exp: If
14457 skip_hw_watchpoint_multi_tests returns true, skip the tests
14458 on "rwatch" and "awatch".
14459
42d38f42
YQ
144602015-04-30 Yao Qi <yao.qi@linaro.org>
14461
14462 * gdb.base/relativedebug.exp: Invoke gdb command
14463 "info sharedlibrary", and if libc.so doesn't have debug info,
14464 skip the test.
14465
2ce1cdbf
DE
144662015-04-29 Doug Evans <dje@google.com>
14467
14468 * gdb.python/py-xmethods.exp: Add ptype tests.
14469 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14470 get_result_type method.
14471
f24a38c5
LM
144722015-04-29 Luis Machado <lgustavo@codesourcery.com>
14473
14474 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14475 the target does not support hardware watchpoints.
14476
ecbf2b3c
LM
144772015-04-29 Luis Machado <lgustavo@codesourcery.com>
14478
14479 * gdb.base/break-always.exp: Abort testing if writing to memory
14480 causes an error.
14481
34f5f757
DE
144822015-04-28 Doug Evans <dje@google.com>
14483
14484 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14485 * gdb.python/py-pp-registration.exp: ... here. New file.
14486 * gdb.python/py-pp-registration.c: New file.
14487 * gdb.python/py-pp-registration.py: New file.
14488
69b4374a
DE
144892015-04-28 Doug Evans <dje@google.com>
14490
14491 * gdb.python/py-bad-printers.c: New file.
14492 * gdb.python/py-bad-printers.py: New file.
14493 * gdb.python/py-bad-printers.exp: New file.
14494
59fb7612
SS
144952015-04-28 Sasha Smundak <asmundak@google.com>
14496
14497 * gdb.python/py-type.exp: New test.
14498
2631b16a
AW
144992015-04-28 Andy Wingo <wingo@igalia.com>
14500
14501 * gdb.python/py-parameter.exp:
14502 * gdb.guile/scm-parameter.exp: Escape the path that we are
14503 matching against, as it might contain characters that are special
14504 to regular expressions.
14505
460efde1
JB
145062015-04-27 Joel Brobecker <brobecker@adacore.com>
14507
14508 * gdb.ada/rec_comp: New testcase.
14509
2d369d8e
SDJ
145102015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14511
14512 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14513 before using it.
14514
cf75d6c3
AB
145152015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14516
14517 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14518 new tests for verilog output.
14519
8dbe7ca5
YQ
145202015-04-24 Yao Qi <yao.qi@linaro.org>
14521
14522 * boards/remote-gdbserver-on-localhost.exp: New file.
14523
4ef9fb2f
PA
145242015-04-23 Pedro Alves <palves@redhat.com>
14525
14526 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14527 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14528 "end of file", remove $inferior_spawn_id from the indirect list.
14529
0a803169
PA
145302015-04-23 Pedro Alves <palves@redhat.com>
14531
14532 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14533
749ef8f8
PA
145342015-04-23 Pedro Alves <palves@redhat.com>
14535
14536 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14537 on $any_spawn_id instead of only on $gdb_spawn_id.
14538
8aae4344
PM
145392015-04-21 Pierre Muller <muller@sourceware.org>
14540
14541 PR pascal/17815
14542 * lib/pascal.exp (gpc_compile): Add new option "class".
14543 (fpc_compile): Likewise.
14544 * gdb.pascal/case-insensitive-symbols.pas: New file.
14545 * gdb.pascal/case-insensitive-symbols.exp: New file.
14546
1586c8fb
GB
145472015-04-20 Gary Benson <gbenson@redhat.com>
14548
14549 * gdb.base/attach.exp: Fix three extended remote failures.
14550
1b6e6f5c
GB
145512015-04-17 Gary Benson <gbenson@redhat.com>
14552
14553 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14554 the main executable over the remote protocol.
14555
e797481d
PA
145562015-04-16 Pedro Alves <palves@redhat.com>
14557
14558 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14559 a new gdbserver if gdbserver_reconnect_p is set.
14560
1ca99c42
PA
145612015-04-16 Pedro Alves <palves@redhat.com>
14562
14563 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14564 is set, don't exit gdbserver.
14565
af9fd6f8
AA
145662015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14567
14568 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14569 appropriate .insn, such that an older assembler can be used.
14570 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14571 the z/Architecture instruction set on 31-bit targets as well.
14572
04ff1e61
AA
145732015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14574
14575 * gdb.go/handcall.exp: Remove all logic related to the first
14576 breakpoint and rely on go_runto_main instead.
14577 * gdb.go/strings.exp: Likewise.
14578 * gdb.go/unsafe.exp: Likewise.
14579 * gdb.go/hello.exp: Likewise. Also rename the remaining
14580 breakpoint marker to "breakpoint 1".
14581 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14582 * gdb.go/strings.go: Likewise.
14583 * gdb.go/unsafe.go: Likewise.
14584 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14585 "set breakpoint 2 here" and rename the remaining breakpoint marker
14586 to "breakpoint 1".
14587
40d2f8d6
SM
145882015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14589
14590 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14591 if itertools.imap is not present.
14592 * gdb.python/py-objfile.exp: Add parentheses.
14593 * gdb.python/py-type.exp: Same.
14594 * gdb.python/py-unwind-maint.py: Same.
14595
8cbc97c6
YQ
145962015-04-15 Yao Qi <yao.qi@linaro.org>
14597
14598 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14599 of ":$ptr_size" and set its form explicitly.
14600
45fd756c
YQ
146012015-04-15 Pedro Alves <palves@redhat.com>
14602 Yao Qi <yao.qi@linaro.org>
14603
14604 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14605 timeout by factor of 4.
14606 (test_regular_watch): Likewise.
14607 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14608 * gdb.reverse/sigall-reverse.exp: Likewise.
14609 * gdb.reverse/until-precsave.exp: Likewise.
14610 * lib/gdb.exp (with_timeout_factor): New proc.
14611 (gdb_expect): Move some code to ...
14612 (get_largest_timeout): ... here. New procedure.
14613
9e811bc3
LM
146142015-04-14 Luis Machado <lgustavo@codesourcery.com>
14615
14616 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14617
0ff6fcb2
LM
146182015-04-13 Luis Machado <lgustavo@codesourcery.com>
14619
14620 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14621 to write to the .text section.
14622
7578d5f7
LM
146232015-04-13 Luis Machado <lgustavo@codesourcery.com>
14624
14625 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14626 Handle the case of targets that do not provide PID information.
14627
2efe15c4
YQ
146282015-04-13 Yao Qi <yao.qi@linaro.org>
14629
14630 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14631 and use expect instead of gdb_expect.
14632
8cd8f2f8
SDJ
146332015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14634
14635 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14636 "coredump_var_addr" to avoid naming conflict with other testcases.
14637
9ee41772
PA
146382015-04-10 Pedro Alves <palves@redhat.com>
14639
14640 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14641 gdb_test_sequence and gdb_assert.
14642
07473109
PA
146432015-04-10 Pedro Alves <palves@redhat.com>
14644
14645 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14646 test messages that don't include the breakpoint address.
14647
de3db44c
YQ
146482015-04-10 Yao Qi <yao.qi@linaro.org>
14649
14650 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14651 false for some offset and width combinations which aren't
14652 supported by linux kernel.
14653
c79d856c
PA
146542015-04-10 Pedro Alves <palves@redhat.com>
14655
14656 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14657 procedure, factored out from ...
14658 (top level): ... here. Add "set displaced-stepping" testing axis.
14659 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14660 parameter "displaced". Use it.
14661 (top level): Use foreach and add "set displaced-stepping" testing
14662 axis.
14663
ebc90b50
PA
146642015-04-10 Pedro Alves <palves@redhat.com>
14665
14666 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14667 Remove comment.
14668 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14669 both the address of the instruction that triggers the watchpoint
14670 and the address of the instruction immediately after, and use
14671 those addresses for the test. Fix comment.
14672
8f572e5c
PA
146732015-04-10 Pedro Alves <palves@redhat.com>
14674
14675 * gdb.base/sigstep.exp (breakpoint_to_handler)
14676 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14677 Test "backtrace" in handler.
14678 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14679 (top level): Add new "displaced" test axis to
14680 breakpoint_to_handler, breakpoint_to_handler_entry and
14681 breakpoint_over_handler.
14682
8d707a12
PA
146832015-04-10 Pedro Alves <palves@redhat.com>
14684
14685 PR gdb/18216
14686 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14687
ef713951
YQ
146882015-04-10 Yao Qi <yao.qi@linaro.org>
14689
14690 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14691 (test_add_rn_pc): New function.
14692 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14693 (top level): Invoke test_add_rn_pc.
14694
906d60cf
PA
146952015-04-10 Pedro Alves <palves@redhat.com>
14696
14697 PR gdb/13858
14698 * gdb.base/step-over-no-symbols.exp: New file.
14699
f2983cc3
AW
147002015-04-09 Andy Wingo <wingo@igalia.com>
14701
14702 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14703 after the Python tests.
14704
6d62641c
SDJ
147052015-04-08 Keith Seitz <keiths@redhat.com>
14706
14707 PR python/16699
14708 * gdb.python/py-completion.exp: New tests for completion.
14709 * gdb.python/py-completion.py (CompleteLimit1): New class.
14710 (CompleteLimit2): Likewise.
14711 (CompleteLimit3): Likewise.
14712 (CompleteLimit4): Likewise.
14713 (CompleteLimit5): Likewise.
14714 (CompleteLimit6): Likewise.
14715 (CompleteLimit7): Likewise.
14716
f3770638
PA
147172015-04-08 Pedro Alves <palves@redhat.com>
14718
14719 PR gdb/18214
14720 PR gdb/18216
14721 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14722 function.
14723 (main): Install it as SIGUSR1 handler.
14724 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14725 parameter. Always use "setup" as prefix. Toggle "set
14726 displaced-stepping" off/on depending on global. Don't switch to
14727 thread 1 here.
14728 (top level): Add displaced stepping "off/on" test axis. Update
14729 "setup" calls. Wrap each subtest with with_test_prefix. Test
14730 continuing with a queued signal in each thread.
14731
4496bed7
PA
147322015-04-08 Pedro Alves <palves@redhat.com>
14733
14734 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14735 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14736 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14737 Return early if running to main fails.
14738 * gdb.trace/while-stepping.exp: Likewise.
14739
b97fde92
PA
147402015-04-07 Pedro Alves <palves@redhat.com>
14741
14742 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14743 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14744 interact with inferior program.
14745
f71c18e7
PA
147462015-04-07 Pedro Alves <palves@redhat.com>
14747
14748 * lib/gdb.exp (inferior_spawn_id): New global.
14749 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14750 spawn id after processing the user code.
14751 (default_gdb_start): Set inferior_spawn_id.
14752 (send_inferior): New procedure.
14753 * lib/gdbserver-support.exp (gdbserver_start): Set
14754 inferior_spawn_id.
14755 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14756
6423214f
PA
147572015-04-07 Pedro Alves <palves@redhat.com>
14758
14759 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14760 * lib/gdbserver-support.exp (gdbserver_start): Make
14761 $server_spawn_id global.
14762 (gdbserver_start): Don't wait for gdbserver's spawn id with
14763 expect_background.
14764 (close_gdbserver): New procedure.
14765 (gdb_exit): Rename the default version and reimplement.
14766
71c0ee8c
PA
147672015-04-07 Pedro Alves <palves@redhat.com>
14768
72f4393d 14769 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
14770 append the substituted item, not the original item.
14771
203bc29b
PA
147722015-04-07 Pedro Alves <palves@redhat.com>
14773
14774 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14775 gdb_expect.
14776
508a3ddf
PA
147772015-04-07 Pedro Alves <palves@redhat.com>
14778
14779 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14780 output appearing once only.
14781
9f6dbe2b
PA
147822015-04-07 Pedro Alves <palves@redhat.com>
14783
14784 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14785 that doesn't expect anything. Return early if running to main
14786 fails.
14787
337532fa
YQ
147882015-04-07 Yao Qi <yao.qi@linaro.org>
14789
14790 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14791 (child_function): Call alarm.
14792 (main): Move call to alarm into the loop.
14793 * gdb.threads/non-stop-fair-events.exp: Build program with
14794 -DTIMEOUT=$timeout.
14795
01b622d4
DE
147962015-04-06 Doug Evans <xdje42@gmail.com>
14797
14798 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14799 Fix dest parameter to board_info.
14800 (fpc_compile): Ditto.
14801 (gdb_compile_pascal): Rename dest arg to destfile.
14802
961f4160
PMR
148032015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14804
14805 * gdb.ada/funcall_ref.exp: New file.
14806 * gdb.ada/funcall_ref/foo.adb: New file.
14807
cafda597
YQ
148082015-04-02 Yao Qi <yao.qi@linaro.org>
14809
14810 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14811 is remote.
14812
fed040c6
GB
148132015-04-02 Gary Benson <gbenson@redhat.com>
14814
14815 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14816
d11916aa
SS
148172015-04-01 Sasha Smundak <asmundak@google.com>
14818
14819 * gdb.python/py-unwind-maint.c: New file.
14820 * gdb.python/py-unwind-maint.exp: New test.
14821 * gdb.python/py-unwind-maint.py: New file.
14822 * gdb.python/py-unwind.c: New file.
14823 * gdb.python/py-unwind.exp: New test.
14824 * gdb.python/py-unwind.py: New test.
14825
a1471180
PA
148262015-04-01 Pedro Alves <palves@redhat.com>
14827
14828 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14829 to fail instead of non-existent $test.
14830
0bbeccb1
PA
148312015-04-01 Pedro Alves <palves@redhat.com>
14832
14833 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14834 GDBFLAGS if not empty.
14835
3c724c8c
PMR
148362015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14837
14838 * gdb.ada/complete.exp: Remove "multi_line".
14839 * gdb.ada/info_exc.exp: Remove "multi_line".
14840 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14841 * gdb.ada/ptype_field.exp: Remove "multi_line".
14842 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14843 * gdb.ada/tagged.exp: Remove "multi_line".
14844 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14845 [multi_line ...]
14846 * gdb.btrace/delta.exp: Likewise.
14847 * gdb.btrace/exception.exp: Likewise.
14848 * gdb.btrace/function_call_history.exp: Likewise.
14849 * gdb.btrace/instruction_history.exp: Likewise.
14850 * gdb.btrace/nohist.exp: Likewise.
14851 * gdb.btrace/record_goto.exp: Likewise.
14852 * gdb.btrace/segv.exp: Likewise.
14853 * gdb.btrace/stepi.exp: Likewise.
14854 * gdb.btrace/tailcall.exp: Likewise.
14855 * gdb.btrace/unknown_functions.exp: Likewise.
14856 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14857 * lib/gdb.exp: Add the "multi_line" helper.
14858
4eec2deb
PA
148592015-04-01 Pedro Alves <palves@redhat.com>
14860
14861 * gdb.threads/tid-reuse.c: New file.
14862 * gdb.threads/tid-reuse.exp: New file.
14863
df8411da
SDJ
148642015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14865
14866 PR corefiles/16092
14867 * gdb.base/coredump-filter.c: New file.
14868 * gdb.base/coredump-filter.exp: Likewise.
14869
6ef37366
PM
148702015-03-27 Petr Machata <pmachata@redhat.com>
14871
14872 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14873 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14874 (Dwarf::assemble): Initialize them.
14875 (Dwarf::lines): New function.
14876
7ec911b0
JT
148772015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14878
14879 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14880 SYMBOL_PREFIX for x86_64-*-cygwin.
14881
ff908ebf
AW
148822015-03-26 Andy Wingo <wingo@igalia.com>
14883
14884 PR symtab/18148
14885 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14886 const_value but not a location.
14887 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14888 location defined in non-main CUs are visible.
14889
6d5f0679
YQ
148902015-03-26 Yao Qi <yao.qi@linaro.org>
14891
14892 PR testsuite/18139
14893 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14894 Add a line number entry for the same line.
14895 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14896 Add a line number entry for the same line.
14897
2898689b
YQ
148982015-03-26 Yao Qi <yao.qi@linaro.org>
14899
14900 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14901 .int 0.
14902 (func): Likewise. Add .Lfunc_1 label.
14903 Use .Lfunc_1 label.
14904 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14905 .int 0.
14906 (func): Likewise.
14907 Use .Lfunc_1 label.
14908
85180498
YQ
149092015-03-26 Yao Qi <yao.qi@linaro.org>
14910
14911 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14912 Call gdb_compile instead to compile each .s files without debug
14913 information.
14914
8aa08a8d
YQ
149152015-03-26 Yao Qi <yao.qi@linaro.org>
14916
14917 * gdb.base/savedregs.exp (process_saved_regs): Make
14918 "Saved registers:" optional in the pattern.
14919
66849923
MM
149202015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14921
14922 * gdb.btrace/next.exp: Merged into step.exp.
14923 * gdb.btrace/finish.exp: Merged into step.exp.
14924 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14925 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14926 "record goto" and checking the exact replay position.
14927 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14928 check for "Recording format" in "info record" output.
14929 * gdb.btrace/record_goto.exp: Choose test file based on target.
14930 * gdb.btrace/x86-record_goto.S: Renamed into ...
14931 * gdb.btrace/x86_64-record_goto.S: ... this.
14932 * gdb.btrace/i686-record_goto.S: New.
14933 * gdb.btrace/x86-tailcall.S: Renamed into ...
14934 * gdb.btrace/x86_64-tailcall.S: ... this.
14935 * gdb.btrace/i686-tailcall.S: New.
14936 * gdb.btrace/x86-tailcall.c: Renamed into ...
14937 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14938 separate statements. Update test.
14939 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14940 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14941 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14942 * gdb.btrace/tailcall.exp: Choose test file based on target.
14943 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14944
11cc1b74
MM
149452015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14946
14947 * gdb.btrace/exception.exp: Increase BTS buffer size.
14948
a25d8bf9
PA
149492015-03-24 Pedro Alves <palves@redhat.com>
14950
14951 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14952
856e7dd6
PA
149532015-03-24 Pedro Alves <palves@redhat.com>
14954
14955 * gdb.threads/schedlock.exp (test_step): No longer expect that
14956 "set scheduler-locking step" with "next" over a function call runs
14957 threads unlocked.
14958
ad235a41
AT
149592015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14960
14961 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14962
15630549
AT
149632015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14964
14965 PR breakpoints/16466
14966 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14967 * gdb.mi/mi-pending.c (thread_func): New function.
14968 (int main): Add threading support required.
14969 * gdb.mi/mi-pending.exp: Add tests for this issue.
14970 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14971 (pendfunc2): Remove stdio dependency.
14972 * gdb.mi/mi-pendshr2.c: New file.
14973
693dca06
KS
149742015-03-23 Keith Seitz <keiths@redhat.com>
14975
14976 * gdb.linespec/keywords.c: New file.
14977 * gdb.linespec/keywords.exp: New file.
14978
7e993ebf
KS
149792015-03-23 Keith Seitz <keiths@redhat.com>
14980
14981 PR gdb/18021
14982 * gdb.dwarf2/staticvirtual.exp: New test.
14983
bc23328c
JK
149842015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14985
14986 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14987 * README: Remove HP-UX and gdb.hp.
14988 (configuration):
14989 * configure: Regenerate.
14990 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14991 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14992 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14993 gdb.hp/gdb.defects/Makefile.
14994 * gdb.hp/Makefile.in: File deleted.
14995 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14996 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14997 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14998 * gdb.hp/gdb.aCC/run.c: File deleted.
14999 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15000 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15001 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15002 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15003 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15004 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15005 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15006 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15007 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15008 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15009 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15010 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15011 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15012 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15013 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15014 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15015 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15016 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15017 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15018 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15019 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15020 * gdb.hp/gdb.compat/average.c: File deleted.
15021 * gdb.hp/gdb.compat/sum.c: File deleted.
15022 * gdb.hp/gdb.compat/xdb.c: File deleted.
15023 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15024 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15025 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15026 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15027 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15028 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15029 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15030 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15031 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15032 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15033 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15034 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15035 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15036 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15037 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15038 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15039 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15040 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15041 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15042 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15043 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15044 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15045 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15046 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15047 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15048 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15049 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15050 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15051 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15052 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15053 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15054 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15055 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15056 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15057 * gdb.hp/tools/odump: File deleted.
15058
8bf3b159
PA
150592015-03-19 Pedro Alves <palves@redhat.com>
15060
15061 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15062 (saw_thread_3): New globals.
15063 (top level): Increment them when an event for the corresponding
15064 thread is seen.
15065 (no thread starvation): New test.
15066
eb54c8bf
PA
150672015-03-19 Pedro Alves <palves@redhat.com>
15068
15069 * gdb.threads/continue-pending-status.c: New file.
15070 * gdb.threads/continue-pending-status.exp: New file.
15071
32d2e5d6
PA
150722015-03-18 Pedro Alves <palves@redhat.com>
15073
15074 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15075 Use gdb_is_target_remote instead of is_remote. Use
15076 gdb_test_multiple instead of gdb_expect. Exit early if
15077 gdb_test_multiple hits its internal matches. Tighten stepi tests
15078 expected output. Fail on exit with any signal, instead of just
15079 SIGILL.
15080
f68f11b7
YQ
150812015-03-18 Yao Qi <yao.qi@linaro.org>
15082
15083 PR tdep/18107
15084 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15085 variable.
15086 * gdb.base/catch-syscall.exp: Don't skip it on
15087 aarch64*-*-linux* target. Remove elements in all_syscalls.
15088 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15089 target.
15090 (setup_all_syscalls): New proc.
15091
ca5fd19b
YQ
150922015-03-16 Yao Qi <yao.qi@linaro.org>
15093
15094 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15095 (top level): Skip tests if valid_addr_p returns false for
15096 $cmd1 or $cmd2.
15097
85642ba0
AW
150982015-03-11 Andy Wingo <wingo@igalia.com>
15099
15100 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15101
e03f9645
YQ
151022015-03-11 Yao Qi <yao.qi@linaro.org>
15103
15104 * gdb.base/catch-syscall.exp: Fix typo in comments.
15105
5d0962b2
YQ
151062015-03-11 Yao Qi <yao.qi@linaro.org>
15107
15108 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
15109
b2df3cef
PA
151102015-03-09 Pedro Alves <palves@redhat.com>
15111
15112 * dg-extract-results.py: Delete.
15113
ef878e53
PA
151142015-03-09 Pedro Alves <palves@redhat.com>
15115
15116 Merge dg-extract-results.sh from GCC upstream (r218843).
15117
15118 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
15119 * dg-extract-results.sh: Use --text with grep to avoid issues with
15120 binary files. Fall back to cat -v, if that doesn't work.
15121
9494d219
PA
151222015-03-05 Pedro Alves <palves@redhat.com>
15123
15124 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
15125
a8d9763a
SM
151262015-03-04 Simon Marchi <simon.marchi@ericsson.com>
15127
15128 * lib/mi-support.exp (mi_expect_interrupt): Accept
15129 alternative event for when in all-stop mode.
15130
be9957b8
PA
151312015-03-04 Pedro Alves <palves@redhat.com>
15132
15133 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
15134
d57be0f4 151352015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
15136
15137 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
15138
c214c7cf
AA
151392015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15140
15141 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
15142 regexps for GDB's current line display, accept a hex address
15143 preceding the line number.
15144
6d74a497
AA
151452015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15146
15147 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
15148 the 'arch1' variable for "s390*-linux*" targets.
15149
511aee7c
PA
151502015-03-04 Pedro Alves <palves@redhat.com>
15151
15152 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
15153 (main): Pass missing retval argument to pthread_join call.
15154
95e50b27
PA
151552015-03-02 Pedro Alves <palves@redhat.com>
15156
15157 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
15158 (top level): Call do_test with non-stop as well.
15159
28054d69
PA
151602015-03-02 Pedro Alves <palves@redhat.com>
15161
15162 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
15163 -1.
15164
4fa5d7b4
AA
151652015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15166
15167 * gdb.arch/s390-vregs.exp: New test.
15168 * gdb.arch/s390-vregs.S: New file.
15169
97c18565
PA
151702015-02-27 Pedro Alves <palves@redhat.com>
15171
15172 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15173 call to catch_command_errors.
15174 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15175 catch_command_errors.
15176
a37bfa30
PA
151772015-02-27 Pedro Alves <palves@redhat.com>
15178
15179 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15180 "true" for boolean result.
15181 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15182 prototype of main.
15183
6f98576f
PA
151842015-02-27 Pedro Alves <palves@redhat.com>
15185
15186 * lib/unbuffer_output.c: New file.
15187 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15188 (main): Call gdb_unbuffer_output.
15189
eba5ab56
YQ
151902015-02-27 Yao Qi <yao.qi@linaro.org>
15191
15192 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15193 target.
15194
0def5aaa
DE
151952015-02-26 Doug Evans <dje@google.com>
15196
15197 * gdb.cp/class2.cc (Dbase, D): New classes.
15198 (main): New local delta.
15199 * gdb.cp/class2.exp: Test printing delta.
15200 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15201 (dynbar): New global.
15202 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15203
081a1c2c
JK
152042015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15205
15206 * gdb.compile/compile-ifunc.c: New file.
15207 * gdb.compile/compile-ifunc.exp: New file.
15208
2f41223f
AT
152092015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15210
15211 * gdb.base/structs.exp: Check for correct struct on finish.
15212
03eddd80
YQ
152132015-02-26 Yao Qi <yao.qi@linaro.org>
15214
15215 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15216 is zero.
15217
80c57053
JK
152182015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15219
15220 * gdb.arch/cordic.ko.bz2: New file.
15221 * gdb.arch/cordic.ko.debug.bz2: New file.
15222 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15223
21613c12
YQ
152242015-02-25 Yao Qi <yao.qi@linaro.org>
15225
15226 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15227 aarch64*-*-* target.
15228
d8b901ed
PA
152292015-02-23 Pedro Alves <palves@redhat.com>
15230
15231 * lib/gdb.exp (delete_breakpoints): Rewrite using
15232 gdb_test_multiple.
15233
e5b85ead
PA
152342015-02-23 Pedro Alves <palves@redhat.com>
15235
15236 * gdb.base/info-os.c: Include stdlib.h.
15237
85c3a371
DE
152382015-02-22 Doug Evans <xdje42@gmail.com>
15239
15240 PR symtab/17855
15241 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15242 is read after symbols have been re-read.
15243 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15244 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15245
96553a0c
DE
152462015-02-21 Doug Evans <dje@google.com>
15247
15248 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15249
97a0c697
JK
152502015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15251
15252 PR corefiles/17808
15253 * gdb.arch/i386-biarch-core.core.bz2: New file.
15254 * gdb.arch/i386-biarch-core.exp: New file.
15255
a47cd6e9
PA
152562015-02-21 Pedro Alves <palves@redhat.com>
15257
15258 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15259 runto_main fails.
15260
c5facdc4
PA
152612015-02-20 Pedro Alves <palves@redhat.com>
15262
15263 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15264 info probes.
15265
2db9a427
PA
152662015-02-20 Pedro Alves <palves@redhat.com>
15267
15268 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15269
60fb7e9e
PA
152702015-02-20 Pedro Alves <palves@redhat.com>
15271
15272 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15273 clean_restart before gdb_target_supports_trace.
15274
5c5019c2
PA
152752015-02-20 Pedro Alves <palves@redhat.com>
15276
15277 PR threads/18006
15278 * gdb.threads/clone-thread_db.c: New file.
15279 * gdb.threads/clone-thread_db.exp: New file.
15280
c9587f88
AT
152812015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15282
15283 PR breakpoints/16812
15284 * gdb.base/catch-gdb-caused-signals.c: New file.
15285 * gdb.base/catch-gdb-caused-signals.exp: New file.
15286
f6a88844
JM
152872015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15288
15289 * configure: Regenerated.
15290 * configure.ac: Use GDB_AC_TRANSFORM.
15291 * aclocal.m4: sinclude ../transform.m4.
15292
497c491b
JM
152932015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15294
15295 * lib/dtrace.exp: New file.
15296 * gdb.base/dtrace-probe.exp: Likewise.
15297 * gdb.base/dtrace-probe.d: Likewise.
15298 * gdb.base/dtrace-probe.c: Likewise.
15299 * lib/pdtrace.in: Likewise.
15300 * configure.ac: Output variables with the transformed names of
15301 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15302 * configure: Regenerated.
15303
03e98035
JM
153042015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15305
15306 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15307 expected message when trying to access $_probe_* convenience
15308 variables while not on a probe.
15309
63cc30e9
JK
153102015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15311
15312 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15313
0703599a
PA
153142015-02-11 Pedro Alves <pedro@codesourcery.com>
15315
15316 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15317 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15318
7e60a48e
DE
153192015-02-10 Doug Evans <xdje42@gmail.com>
15320
15321 * lib/gdb.exp (gdb_load): Always return a result.
15322
01b088bc
PA
153232015-02-10 Pedro Alves <palves@redhat.com>
15324
15325 * gdb.threads/signal-sigtrap.c: New file.
15326 * gdb.threads/signal-sigtrap.exp: New file.
15327
b05ec7a5
AT
153282015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15329
15330 * gdb.trace/no-attach-trace.c: New file.
15331 * gdb.trace/no-attach-trace.exp: New file.
15332
a2c2acaf
MW
153332015-02-09 Mark Wielaard <mjw@redhat.com>
15334
15335 * gdb.dwarf2/atomic.c: New file.
15336 * gdb.dwarf2/atomic-type.exp: Likewise.
15337
31fd9caa
MM
153382015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15339
15340 * gdb.btrace/buffer-size.exp: Update "info record" output.
15341 * gdb.btrace/delta.exp: Update "info record" output.
15342 * gdb.btrace/enable.exp: Update "info record" output.
15343 * gdb.btrace/finish.exp: Update "info record" output.
15344 * gdb.btrace/instruction_history.exp: Update "info record" output.
15345 * gdb.btrace/next.exp: Update "info record" output.
15346 * gdb.btrace/nexti.exp: Update "info record" output.
15347 * gdb.btrace/step.exp: Update "info record" output.
15348 * gdb.btrace/stepi.exp: Update "info record" output.
15349 * gdb.btrace/nohist.exp: Update "info record" output.
15350
d33501a5
MM
153512015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15352
15353 * gdb.btrace/buffer-size: New.
15354
f4abbc16
MM
153552015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15356
15357 * gdb.btrace/delta.exp: Update "info record" output.
15358 * gdb.btrace/enable.exp: Update "info record" output.
15359 * gdb.btrace/finish.exp: Update "info record" output.
15360 * gdb.btrace/instruction_history.exp: Update "info record" output.
15361 * gdb.btrace/next.exp: Update "info record" output.
15362 * gdb.btrace/nexti.exp: Update "info record" output.
15363 * gdb.btrace/step.exp: Update "info record" output.
15364 * gdb.btrace/stepi.exp: Update "info record" output.
15365 * gdb.btrace/nohist.exp: Update "info record" output.
15366
b9d61307
SM
153672015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15368
15369 PR gdb/15678
15370 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15371
e584fdbc
PA
153722015-02-06 Pedro Alves <palves@redhat.com>
15373
15374 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15375 macro.
15376 (seconds_left, again): New globals.
15377 (main): Wait seconds_left in a 1-second sleep loop instead of
15378 sleeping 180 seconds. If 'again' is set, reset the seconds
15379 counter.
15380 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15381 'again' in the inferior before detaching. Print the seconds left.
15382 (options): New global.
15383 (top level): Build program with -DTIMEOUT=$timeout.
15384
77f41761
PA
153852015-02-06 Pedro Alves <palves@redhat.com>
15386
15387 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15388 determine how many seconds to pass to 'alarm'.
15389 * gdb.base/gdb-sigterm.exp (top level): Build program with
15390 -DTIMEOUT=$timeout.
15391 (do_test): Return success/failure indication. Add more verbose
15392 logging. Don't fail if 200 single steps are seen. Instead, fail
15393 when the test times out.
15394 (passes): New global.
15395 (top level): Break the testing loop if testing fails on any
15396 iteration. Use gdb_assert.
15397
b9394193
DB
153982015-02-04 Don Breazeal <donb@codesourcery.com>
15399
15400 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15401 and initialize them.
15402 (ipc_cleanup): New function.
15403 (main): Don't declare shmid, semid, and msqid. Add a call to
15404 atexit so that we call ipc_cleanup on exit.
15405
42d9e528
PA
154062015-02-04 Pedro Alves <palves@redhat.com>
15407
15408 * boards/native-extended-gdbserver.exp: Remove any target variant
15409 specifications from the board name before clearing the isremote
15410 flag from board_info.
15411
ae6ae975
DE
154122015-01-31 Doug Evans <xdje42@gmail.com>
15413
15414 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15415
cfb069a8
GB
154162015-01-31 Gary Benson <gbenson@redhat.com>
15417
15418 * gdb.base/completion.exp: Disable completion limiting for
15419 existing tests. Add new tests to check completion limiting.
15420 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15421
5dd31d79
DE
154222015-01-31 Doug Evans <xdje42@gmail.com>
15423
15424 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15425
9f050062
DE
154262015-01-31 Doug Evans <xdje42@gmail.com>
15427
15428 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15429 entries. Duplicate file section script entries.
15430 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15431 inlined entries. Add test for safe-path rejection.
15432 * gdb.python/py-section-script.c: Add duplicate inlined section script
15433 entries. Duplicate file section script entries.
15434 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15435 inlined entries. Add test for safe-path rejection.
15436
df25ebbd
JB
154372015-01-29 Joel Brobecker <brobecker@adacore.com>
15438
15439 * gdb.ada/disc_arr_bound: New testcase.
15440
4a0ca9ec
JB
154412015-01-29 Joel Brobecker <brobecker@adacore.com>
15442
15443 * gdb.ada/mi_var_array: New testcase.
15444
3a8b707a
DE
154452015-01-27 Doug Evans <dje@google.com>
15446
15447 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15448 Add test for objfile.filename, objfile.username after objfile
15449 has been unloaded.
15450
f8313f6e
JB
154512015-01-26 Joel Brobecker <brobecker@adacore.com>
15452
15453 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15454 the second test to print the name attribute of value
15455 returned by the call to gdb.lookup_type, and adjust
15456 the expected output accordingly.
15457
37bc665e
MW
154582015-01-25 Mark Wielaard <mjw@redhat.com>
15459
15460 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15461 * gdb.base/disp-step-fork.c: Include unistd.h.
15462 * gdb.base/siginfo-obj.c: Include stdio.h.
15463 * gdb.base/siginfo-thread.c: Likewise.
15464 * gdb.mi/non-stop.c: Include unistd.h.
15465 * gdb.mi/nsthrexec.c: Include stdio.h.
15466 * gdb.mi/pthreads.c: Include unistd.h.
15467 * gdb.modula2/unbounded1.c (main): Declare returns int.
15468 * gdb.reverse/consecutive-reverse.c: Likewise.
15469 * gdb.threads/create-fail.c: Include unistd.h.
15470 * gdb.threads/killed.c: Likewise.
15471 * gdb.threads/linux-dp.c: Likewise.
15472 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15473 * gdb.threads/non-ldr-exc-2.c: Likewise.
15474 * gdb.threads/non-ldr-exc-3.c: Likewise.
15475 * gdb.threads/non-ldr-exc-4.c: Likewise.
15476 * gdb.threads/pthreads.c: Include unistd.h.
15477 (main): Declare returns int.
15478 * gdb.threads/tls-main.c (foo): New declaration.
15479 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15480
f7e5394d
SM
154812015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15482
15483 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15484 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15485
743649fd
MW
154862015-01-15 Mark Wielaard <mjw@redhat.com>
15487
15488 * gdb.base/noreturn-return.c: New file.
15489 * gdb.base/noreturn-return.exp: New file.
15490 * gdb.base/noreturn-finish.c: New file.
15491 * gdb.base/noreturn-finish.exp: New file.
15492
198297aa
PA
154932015-01-23 Pedro Alves <palves@redhat.com>
15494
15495 * gdb.threads/continue-pending-after-query.c: New file.
15496 * gdb.threads/continue-pending-after-query.exp: New file.
15497
717cf30c
AG
154982015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15499 Simon Marchi <simon.marchi@ericsson.com>
15500
15501 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15502 * gdb.base/valgrind-db-attach.exp: Same.
15503 * gdb.base/valgrind-infcall.exp: Same.
15504 * lib/mi-support.exp (default_mi_gdb_start): Same.
15505 * lib/prompt.exp (default_prompt_gdb_start): Same.
15506 * lib/gdb.exp (default_gdb_spawn): Same.
15507 (gdb_interact): New.
15508
15509
4b62a76e
JK
155102015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15511
15512 * gdb.compile/compile.exp (pointer to jit function): New test.
15513
b4cdae6f
WW
155142015-01-17 Wei-cheng Wang <cole945@gmail.com>
15515
15516 * lib/gdb.exp (supports_process_record): Return true for
15517 powerpc*-*-linux*.
15518 (supports_reverse): Likewise.
15519
d221e7ef
DB
155202015-01-15 Don Breazeal <donb@codesourcery.com>
15521
15522 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15523 instead of checking whether the target board is remote and
15524 use spawn_wait_for_attach instead of exec/sleep.
15525 * gdb.base/attach-twice.exp: Likewise.
15526
bafffb51
JB
155272015-01-15 Joel Brobecker <brobecker@adacore.com>
15528
15529 * gdb.ada/var_arr_attrs: New testcase.
15530
5589af0e
PA
155312015-01-14 Pedro Alves <palves@redhat.com>
15532 Joel Brobecker <brobecker@adacore.com>
15533
15534 PR gdb/17525
15535 * gdb.base/bp-cmds-execution-x-script.c: New file.
15536 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15537 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15538
6c400b59
PA
155392015-01-14 Pedro Alves <palves@redhat.com>
15540
15541 PR cli/17828
15542 * gdb.base/batch-preserve-term-settings.c: New file.
15543 * gdb.base/batch-preserve-term-settings.exp: New file.
15544
e02c96a7
DE
155452015-01-13 Doug Evans <dje@google.com>
15546
15547 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15548 binary.
15549
576fd14c
JB
155502015-01-13 Joel Brobecker <brobecker@adacore.com>
15551
15552 * Makefile.in (clean mostlyclean): Do not delete *.py.
15553
04dccad0
JB
155542015-01-13 Joel Brobecker <brobecker@adacore.com>
15555
15556 * gdb.python/py-lookup-type.exp: New file.
15557
3d230f71
PA
155582015-01-12 Pedro Alves <palves@redhat.com>
15559
15560 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15561 restore GDBFLAGS before returning.
15562
7e67715d
JK
155632015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15564
15565 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15566 is_amd64_regs_target and is_x86_like_target.
15567
f2e0d4b4
DE
155682015-01-11 Doug Evans <xdje42@gmail.com>
15569
15570 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15571 is given without an explicit form.
15572 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15573 attributes.
15574 * gdb.dwarf/corrupt.exp: Ditto.
15575 * gdb.dwarf2/enum-type.exp: Ditto.
15576 * gdb.trace/entry-values.exp: Ditto.
15577 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15578
439250fb
DE
155792015-01-11 Doug Evans <xdje42@gmail.com>
15580
15581 PR gdb/15830
15582 * gdb.base/maint.exp: Remove references to "maint demangle".
15583 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15584 Add tests for explicitly specifying language to demangle.
15585 * gdb.dlang/demangle.exp: Ditto.
15586
ede9f622
PA
155872015-01-09 Pedro Alves <palves@redhat.com>
15588
15589 * gdb.threads/non-stop-fair-events.c: New file.
15590 * gdb.threads/non-stop-fair-events.exp: New file.
15591
a7b796db
PA
155922015-01-09 Pedro Alves <palves@redhat.com>
15593
15594 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15595 the global scope. Set a breakpoint after all threads are started
15596 rather than stepping over two source lines. Expect the prompt.
15597 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15598 global.
15599 (NUM): Now 15.
15600 (main): Use threads_started_barrier to wait for all threads to
15601 start. Main thread no longer calls thread_function. Exit after
15602 180 seconds.
15603 (loop): New function.
15604 (thread_function): Wait on threads_started_barrier barrier. Call
15605 'loop' at each iteration.
15606 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15607 threads have started, instead of hardcoding number of "next"
15608 steps. Use an access watchpoint instead of a write watchpoint.
15609
9665ffdd
PA
156102015-01-09 Pedro Alves <palves@redhat.com>
15611
15612 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15613 (thread_func): Wait on barrier.
15614 (main): Wait for all threads to start before stopping GDB.
15615 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15616 global.
15617 (thread1_func, thread2_func): Wait on barrier.
15618 (main): Wait for all threads to start before stopping GDB.
15619 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15620 New global.
15621 (thread1_func, thread2_func): Wait on barrier.
15622 (main): Wait for all threads to start before stopping GDB.
15623
c945a99f
PA
156242015-01-09 Pedro Alves <palves@redhat.com>
15625
15626 * gdb.threads/attach-many-short-lived-threads.c: New file.
15627 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15628
c1a747c1
PA
156292014-01-09 Pedro Alves <palves@redhat.com>
15630
15631 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15632 instead of to thread 2.
15633 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15634 Add barrier around each pthread_create call instead of around all
15635 calls.
15636 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15637 Set a break on thread_function and have the child threads hit it
15638 one at at a time.
15639
60b3033e
PA
156402015-01-09 Pedro Alves <palves@redhat.com>
15641
15642 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15643 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15644 false.
15645 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15646 checking whether the target board is remote.
15647 * gdb.multi/multi-attach.exp: Likewise.
15648 * gdb.python/py-sync-interp.exp: Likewise.
15649 * gdb.server/ext-attach.exp: Likewise.
15650 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15651 tests that need to attach, instead of checking whether the target
15652 board is remote at the top of the file.
15653
acc018ac
YQ
156542015-01-08 Yao Qi <yao@codesourcery.com>
15655
15656 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15657
50a18af8
JK
156582015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15659
15660 Fix testcase compilation.
15661 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15662
8503d6e1
JB
156632015-01-06 Joel Brobecker <brobecker@adacore.com>
15664
15665 * gdb.python/py-type.exp: Add a couple test about empty
15666 array creation, and negative-length array creation.
15667
cc73dbcc
DE
156682015-01-02 Doug Evans <xdje42@gmail.com>
15669
15670 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15671
0300bbc7
DE
156722015-01-02 Doug Evans <dje@google.com>
15673
15674 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15675
9d85a0ec
YQ
156762014-12-29 Yao Qi <yao@codesourcery.com>
15677
15678 * gdb.trace/entry-values.exp: Update comments. Rename variable
15679 bar_call_foo to returned_from_foo.
15680
87186c6a
MMN
156812014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15682
15683 PR gdb/17394
15684 * gdb.linespec/break-asm-file.c: New file.
15685 * gdb.linespec/break-asm-file.exp: New file.
15686 * gdb.linespec/break-asm-file0.s: New file.
15687 * gdb.linespec/break-asm-file1.s: New file.
15688
1bab7383
YQ
156892014-12-18 Nigel Stephens <nigel@mips.com>
15690 Maciej W. Rozycki <macro@codesourcery.com>
15691
15692 * gdb.base/float.exp: Handle the new output from "info float" on
15693 MIPS targets.
15694
1bc1068a
JK
156952014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15696
15697 Fix MinGW compilation.
15698 * gdb.compile/compile-ops.exp: Update untested message if
15699 !skip_compile_feature_tests.
15700 * gdb.compile/compile-setjmp.exp: Likewise.
15701 * gdb.compile/compile-tls.exp: Likewise.
15702 * gdb.compile/compile.exp: Likewise.
15703 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15704 supported on this host".
15705
b6615d10
DE
157062014-12-16 Doug Evans <xdje42@gmail.com>
15707
15708 * boards/stabs.exp: New file.
15709
25dda427
AA
157102014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15711
15712 * gdb.base/completion.exp: Adjust to format changes of "maint
15713 print user-registers".
15714
bf330350
CU
157152014-12-16 Catalin Udma <catalin.udma@freescale.com>
15716
15717 PR server/17457
15718 * gdb.arch/aarch64-fp.c: New file.
15719 * gdb.arch/aarch64-fp.exp: New file.
15720
395cf596
SDJ
157212014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15722
15723 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15724 r210637, r210913, r211666, r215400, r215817).
15725
15726 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15727 * dg-extract-results.py: New file.
15728 * dg-extract-results.sh: Use it if the environment seems
15729 suitable.
15730
15731 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15732
15733 * dg-extract-results.py (parse_run): Handle warnings that
15734 are printed before a test harness is run.
15735
15736 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15737
15738 * dg-extract-results.py (Named): Remove __cmp__ method.
15739 (output_variation): Use a key to sort variation.harnesses.
15740
15741 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15742
15743 * dg-extract-results.py: For Python 3, force sys.stdout to
15744 handle surrogate escape sequences.
15745 (safe_open): New function.
15746 (output_segment, main): Use it.
15747
15748 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15749
15750 * dg-extract-results.py (Prog.result_re): Include options
15751 in test name.
15752
15753 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15754
15755 * dg-extract-results.py (output_variation): Always sort if
15756 do_sum.
15757
e882ef3c
SM
157582014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15759
15760 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15761 as long as we get pagination notifications.
15762
4992aa20
JM
157632014-12-15 Jason Merrill <jason@redhat.com>
15764
15765 * Makefile.in (check-gdb.%): Restore.
15766 * README: Mention it.
15767
c1b5a1a6
JB
157682014-12-13 Joel Brobecker <brobecker@adacore.com>
15769
15770 * gdb.ada/str_uninit: New testcase.
15771
5537b577
JK
157722014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15773
15774 PR symtab/17642
15775 * gdb.base/vla-stub-define.c: New file.
15776 * gdb.base/vla-stub.c: New file.
15777 * gdb.base/vla-stub.exp: New file.
15778
bb2ec1b3
TT
157792014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15780 Jan Kratochvil <jan.kratochvil@redhat.com>
15781 Tom Tromey <tromey@redhat.com>
15782
15783 * configure.ac: Add gdb.compile/.
15784 * configure: Regenerate.
15785 * gdb.compile/Makefile.in: New file.
15786 * gdb.compile/compile-ops.exp: New file.
15787 * gdb.compile/compile-ops.c: New file.
15788 * gdb.compile/compile-tls.c: New file.
15789 * gdb.compile/compile-tls.exp: New file.
15790 * gdb.compile/compile-constvar.S: New file.
15791 * gdb.compile/compile-constvar.c: New file.
15792 * gdb.compile/compile-mod.c: New file.
15793 * gdb.compile/compile-nodebug.c: New file.
15794 * gdb.compile/compile-setjmp-mod.c: New file.
15795 * gdb.compile/compile-setjmp.c: New file.
15796 * gdb.compile/compile-setjmp.exp: New file.
15797 * gdb.compile/compile-shlib.c: New file.
15798 * gdb.compile/compile.c: New file.
15799 * gdb.compile/compile.exp: New file.
15800 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15801
4ff709eb
TT
158022014-12-12 Tom Tromey <tromey@redhat.com>
15803
15804 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15805 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15806
6dddd6a5
DE
158072014-12-12 Doug Evans <dje@google.com>
15808
15809 * lib/gdb-python.exp (get_python_valueof): New function.
15810 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15811
71c24708
AA
158122014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15813
15814 * gdb.base/completion.exp: Add test for completion of "info
15815 registers ".
15816
3e29f34a
MR
158172014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15818
15819 * gdb.base/func-ptrs.c: New file.
15820 * gdb.base/func-ptrs.exp: New file.
15821
fc126975
SM
158222014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15823
15824 PR breakpoints/17012
15825 * gdb.base/dprintf-detach.c: New file.
15826 * gdb.base/dprintf-detach.exp: New file.
15827
0a46d518
SM
158282014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15829
15830 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15831 * lib/gdb.exp (target_is_gdbserver): New procedure.
15832
a0be3e44
DE
158332014-12-08 Doug Evans <dje@google.com>
15834
15835 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15836
df1b803a
YQ
158372014-12-05 Yao Qi <yao@codesourcery.com>
15838
15839 * gdb.guile/scm-error.exp: Remove the third argument to
15840 gdb_remote_download.
15841 * gdb.guile/scm-frame-args.exp: Likewise.
15842 * gdb.guile/scm-section-script.exp: Likewise.
15843
ddb9f679
YQ
158442014-12-05 Yao Qi <yao@codesourcery.com>
15845
15846 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15847
86e4ed39
DE
158482014-12-04 Doug Evans <dje@google.com>
15849
15850 * gdb.python/py-objfile.exp: Add tests for
15851 objfile.add_separate_debug_file.
15852
7c50a931
DE
158532014-12-04 Doug Evans <dje@google.com>
15854
15855 * lib/gdb.exp (get_build_id): New function.
15856 (build_id_debug_filename_get): Rewrite to use it.
15857 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15858
621661e3
MR
158592014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15860
15861 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15862 `method(long)', not just 0x0.
15863 * gdb.cp/nsalias.exp: Align code labels to 4.
15864 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15865 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15866 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15867 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15868 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15869 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15870
29f0c3b7
DE
158712014-12-02 Doug Evans <dje@google.com>
15872
e1e061e7 15873 PR symtab/17602
29f0c3b7 15874 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 15875 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
15876 * gdb.cp/anon-ns.exp: Update.
15877
162078c8
NB
158782014-12-02 Nick Bull <nicholaspbull@gmail.com>
15879
15880 * gdb.python/py-events.py (inferior_call_handler): New.
15881 (register_changed_handler, memory_changed_handler): New.
15882 (test_events.invoke): Register new handlers.
15883 * gdb.python/py-events.exp: Add tests for inferior call,
15884 memory_changed and register_changed events.
15885
fdb09caf
AA
158862014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15887
15888 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15889 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15890 if the linker doesn't understand this.
15891
55cfb2c4
SM
158922014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15893
15894 * gdb.python/python.exp: Change expected reply to help().
15895
9e8cd6df
YQ
158962014-12-01 Yao Qi <yao@codesourcery.com>
15897
15898 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15899 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15900 * configure: Re-generated.
15901
6c659fc2
SC
159022014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15903
15904 * gdb.cp/chained-calls.cc: New file.
15905 * gdb.cp/chained-calls.exp: New file.
15906 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15907
d7fc3181
SM
159082014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15909
15910 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15911 * gdb.dwarf2/symtab-producer.exp: Same.
15912 * gdb.gdb/python-interrupts.exp: Same.
15913 * gdb.gdb/python-selftest.exp: Same.
15914 * gdb.python/py-linetable.exp: Same.
15915 * gdb.python/py-type.exp: Same.
15916 * gdb.python/py-value-cc.exp: Same.
15917 * gdb.python/py-value.exp: Same.
15918
10e79639
YQ
159192014-11-28 Yao Qi <yao@codesourcery.com>
15920
15921 * gdb.base/break-probes.exp: Match library name prefixed with
15922 sysroot.
15923
f28a0564
SM
159242014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15925
15926 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15927 test expected output. Add parentheses for the call to print.
15928 Remove L suffix from integers.
15929
3fe1ce1d
DE
159302014-11-26 Doug Evans <dje@google.com>
15931
15932 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15933
84429e27
YQ
159342014-11-22 Yao Qi <yao@codesourcery.com>
15935
15936 * gdb.trace/entry-values.c: Remove asms.
15937 (foo): Add foo_label.
15938 (bar): Add bar_label.
15939 * gdb.trace/entry-values.exp: Remove code computing foo's
15940 length and bar's length.
15941 (Dwarf::assemble): Invoke function_range for bar and use
15942 MACRO_AT_func for foo.
15943
26741859
YQ
159442014-11-22 Yao Qi <yao@codesourcery.com>
15945
15946 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15947 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15948 Use .Lgcc43_procstart instead of gcc43.
15949
45e44d27
JB
159502014-11-21 Joel Brobecker <brobecker@adacore.com>
15951
15952 * gdb.ada/n_arr_bound: New testcase.
15953
458c8db8
SDJ
159542014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15955
15956 PR breakpoints/10737
15957 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15958 test_catch_syscall_multi_arch.
15959 (test_catch_syscall_multi_arch): New function.
15960
43f3e411
DE
159612014-11-20 Doug Evans <xdje42@gmail.com>
15962
15963 * gdb.base/maint.exp: Update expected output.
15964
0d7b2549
AA
159652014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15966
15967 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15968 4-byte instruction on S390.
15969
8908fca5
JB
159702014-11-19 Joel Brobecker <brobecker@adacore.com>
15971
15972 * gdb.ada/arr_arr: New testcase.
15973
4a46959e
JB
159742014-11-19 Joel Brobecker <brobecker@adacore.com>
15975
15976 * gdb.ada/pkd_arr_elem: New Testcase.
15977
470e2f4e
LM
159782014-11-18 Luis Machado <lgustavo@codesourcery.com>
15979
15980 * gdb.reverse/break-precsave: Expect completion message for
15981 core file reads.
15982 * gdb.reverse/consecutive-precsave.exp: Likewise.
15983 * gdb.reverse/finish-precsave.exp: Likewise.
15984 * gdb.reverse/i386-precsave.exp: Likewise.
15985 * gdb.reverse/machinestate-precsave.exp: Likewise.
15986 * gdb.reverse/sigall-precsave.exp: Likewise.
15987 * gdb.reverse/solib-precsave.exp: Likewise.
15988 * gdb.reverse/step-precsave.exp: Likewise.
15989 * gdb.reverse/until-precsave.exp: Likewise.
15990 * gdb.reverse/watch-precsave.exp: Likewise.
15991
a267f3ad
AA
159922014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15993
15994 * gdb.base/bp-permanent.c: Include unistd.h.
15995 * gdb.python/py-framefilter-mi.c (main): Add return type.
15996 * gdb.python/py-framefilter.c (main): Likewise.
15997 * gdb.trace/actions-changed.c (main): Likewise.
15998
12084a9a
AA
159992014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16000
16001 * gdb.mi/until.c: Add eye-catchers.
16002 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16003 line numbers.
16004
dc7e1a77
AA
160052014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16006
16007 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16008 function header variants in break1.c.
16009 * gdb.base/ena-dis-br.exp: Likewise.
16010 * gdb.base/hbreak2.exp: Likewise.
16011 * gdb.reverse/until-precsave.exp: Drop references to removed
16012 non-prototype function header variants in ur1.c.
16013 * gdb.reverse/until-reverse.exp: Likewise.
16014
41c77605
PM
160152014-11-17 Petr Machata <pmachata@redhat.com>
16016
16017 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16018 ${_cu_offset_size} bytes abbrev offset.
16019
34248c3a
DE
160202014-11-15 Doug Evans <xdje42@gmail.com>
16021
16022 PR symtab/17559
16023 * gdb.base/line-symtabs.exp: New file.
16024 * gdb.base/line-symtabs.c: New file.
16025 * gdb.base/line-symtabs.h: New file.
16026
646da059
YQ
160272014-11-14 Yao Qi <yao@codesourcery.com>
16028
16029 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16030 (func): Add label func_label.
16031 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16032 Replace low_pc and high_pc with MACRO_AT_range.
16033 Replace name, low_pc and high_pc with MACRO_AT_func.
16034
9301ebe6
YQ
160352014-11-14 Yao Qi <yao@codesourcery.com>
16036
16037 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16038 Replace name, low_pc and high_pc with MACRO_AT_func.
16039
f166b542
YQ
160402014-11-14 Yao Qi <yao@codesourcery.com>
16041
16042 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16043 produce debug information.
16044 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16045
0f6e71e3
YQ
160462014-11-14 Yao Qi <yao@codesourcery.com>
16047
16048 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16049 object and get function length.
16050 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16051 with MACRO_AT_func.
16052 (top-level): Replace gdb_compile and clean_restart with
16053 prepare_for_testing.
16054 * gdb.dwarf2/main.c (main): Add label main_label.
16055
876c4df9
YQ
160562014-11-14 Yao Qi <yao@codesourcery.com>
16057
16058 * lib/dwarf.exp (function_range): New procedure.
16059 (Dwarf::_handle_macro_at_func): New procedure.
16060 (Dwarf::_handle_macro_at_range): New procedure.
16061 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16062
02ad9cf1
YQ
160632014-11-14 Yao Qi <yao@codesourcery.com>
16064
16065 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16066 (_handle_attribute): New procedure.
16067
a59add0c
AA
160682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16069
16070 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16071 * gdb.base/call-sc.c (zed): Likewise.
16072 * gdb.base/checkpoint.c (main): Likewise.
16073 * gdb.base/dump.c (main): Likewise.
16074 * gdb.base/gcore.c (main): Likewise.
16075 * gdb.base/huge.c (main): Likewise.
16076 * gdb.base/multi-forks.c (main): Likewise.
16077 * gdb.base/pr10179-a.c (main): Likewise.
16078 * gdb.base/savedregs.c (main): Likewise.
16079 * gdb.base/sigaltstack.c (main): Likewise.
16080 * gdb.base/siginfo.c (main): Likewise.
16081 * gdb.base/structs.c (zed): Likewise.
16082 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16083 * gdb.mi/mi-syn-frame.c (main): Likewise.
16084 * gdb.mi/until.c (foo, main): Likewise.
16085 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16086 * gdb.base/solib-weak.c (foo): Declare.
16087 * gdb.base/attach-twice.c: Include stdio.h.
16088 * gdb.base/weaklib1.c: Likewise.
16089 * gdb.base/weaklib2.c: Likewise.
16090 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16091 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16092 unistd.h.
16093 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16094 * gdb.mi/mi-exit-code.c: Likewise.
16095 * gdb.base/break-interp-lib.c: Include string.h.
16096 * gdb.base/coremaker.c: Likewise.
16097 * gdb.base/testenv.c: Likewise.
16098 * gdb.python/py-finish-breakpoint.c: Likewise.
16099 * gdb.base/inferior-died.c: Include sys/wait.h.
16100 * gdb.base/fileio.c: Include time.h.
16101 * gdb.base/async-shell.c: Include unistd.h.
16102 * gdb.base/dprintf-non-stop.c: Likewise.
16103 * gdb.base/info-os.c: Likewise.
16104 * gdb.mi/mi-console.c: Likewise.
16105 * gdb.mi/watch-nonstop.c: Likewise.
16106 * gdb.python/py-events.c: Likewise.
16107 * gdb.base/async.c (baz): Move up before its invocation.
16108 * gdb.base/code_elim2.c (my_global_func): Likewise.
16109 * gdb.base/skip-solib-lib.c (multiply): Likewise.
16110 * gdb.base/advance.c (func2): Likewise.
16111
3b5d5997
AA
161122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16113
16114 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
16115 variant.
16116 * gdb.base/annota3.c: Likewise.
16117 * gdb.base/async.c: Likewise.
16118 * gdb.base/average.c: Likewise.
16119 * gdb.base/call-ar-st.c: Likewise.
16120 * gdb.base/call-rt-st.c: Likewise.
16121 * gdb.base/call-sc.c: Likewise.
16122 * gdb.base/call-strs.c: Likewise.
16123 * gdb.base/ending-run.c: Likewise.
16124 * gdb.base/execd-prog.c: Likewise.
16125 * gdb.base/exprs.c: Likewise.
16126 * gdb.base/foll-exec.c: Likewise.
16127 * gdb.base/foll-fork.c: Likewise.
16128 * gdb.base/foll-vfork.c: Likewise.
16129 * gdb.base/funcargs.c: Likewise.
16130 * gdb.base/gcore.c: Likewise.
16131 * gdb.base/jump.c: Likewise.
16132 * gdb.base/langs0.c: Likewise.
16133 * gdb.base/langs1.c: Likewise.
16134 * gdb.base/langs2.c: Likewise.
16135 * gdb.base/mips_pro.c: Likewise.
16136 * gdb.base/nodebug.c: Likewise.
16137 * gdb.base/opaque0.c: Likewise.
16138 * gdb.base/opaque1.c: Likewise.
16139 * gdb.base/recurse.c: Likewise.
16140 * gdb.base/run.c: Likewise.
16141 * gdb.base/scope0.c: Likewise.
16142 * gdb.base/scope1.c: Likewise.
16143 * gdb.base/setshow.c: Likewise.
16144 * gdb.base/setvar.c: Likewise.
16145 * gdb.base/shmain.c: Likewise.
16146 * gdb.base/shr1.c: Likewise.
16147 * gdb.base/shr2.c: Likewise.
16148 * gdb.base/sigall.c: Likewise.
16149 * gdb.base/signals.c: Likewise.
16150 * gdb.base/so-indr-cl.c: Likewise.
16151 * gdb.base/solib2.c: Likewise.
16152 * gdb.base/structs.c: Likewise.
16153 * gdb.base/sum.c: Likewise.
16154 * gdb.base/vforked-prog.c: Likewise.
16155 * gdb.base/watchpoint.c: Likewise.
16156 * gdb.reverse/shr2.c: Likewise.
16157 * gdb.reverse/until-reverse.c: Likewise.
16158 * gdb.reverse/ur1.c: Likewise.
16159 * gdb.reverse/watch-reverse.c: Likewise.
16160
066a77c5
AA
161612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16162
16163 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
16164 variant.
16165 * gdb.base/sepdebug.exp: Drop references to removed code.
16166
4f204ea5
AA
161672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16168
16169 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
16170 variant. Preserve original line numbering.
16171 * gdb.base/list1.c: Likewise.
16172
3b377a3a
AA
161732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16174
16175 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16176 variant.
16177 * gdb.base/break1.c: Likewise.
16178 * gdb.base/break.exp: Drop references to removed code.
16179
e444df73
AA
161802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16181
16182 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16183 variant.
16184
8008f2a7
AA
161852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16186
16187 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16188
a5a06887
AA
161892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16190
16191 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16192 logic into perform_all_tests() and invoke it with and without
16193 function header prototypes.
16194 (do_function_calls): Remove conditional XFAIL for PR 5318.
16195 (rerun_and_prepare): Remove duplicate code.
16196 (perform_all_tests): New. Main logic moved here.
16197
44dba9b9
AA
161982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16199
16200 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16201 code guarded by #ifdef NO_PROTOTYPES.
16202 (t_double_many_args): Likewise.
16203 (DEF_FUNC_MANY_ARGS_1): Likewise.
16204 (DEF_FUNC_VALUES_1): Likewise.
16205 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16206 guarded by #ifdef PROTOTYPES.
16207
d1fbcd56
AA
162082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16209
16210 * gdb.mi/mi-console.c: Add eye-catcher.
16211 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16212 instead of literal line number.
16213
b0e59b8f
AA
162142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16215
16216 * gdb.base/shr2.c: Add eye-catcher.
16217 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16218 line number.
16219
78f98cca
AA
162202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16221
16222 * gdb.base/jump.c: Add eye-catchers.
16223 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16224 numbers.
16225
58fa2af0
AA
162262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16227
16228 * gdb.base/execd-prog.c: Add eye-catchers.
16229 * gdb.base/foll-exec.c: Likewise.
16230 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16231 line numbers.
16232
04e5059b
AA
162332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16234
16235 * gdb.base/ending-run.c: Add eye-catchers.
16236 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16237 literal line numbers.
16238
dbfdb174
AA
162392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16240
16241 * gdb.base/call-rt-st.c: Add eye-catchers.
16242 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16243 literal line numbers.
16244
888a2ade
AA
162452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16246
16247 * gdb.base/call-ar-st.c: Add eye-catchers.
16248 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16249 literal line numbers.
16250
6acc2dde
AA
162512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16252
16253 * gdb.base/average.c: Add eye-catchers.
16254 * gdb.base/sum.c: Likewise.
16255 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16256 regexps dynamically.
16257
9ecfcd1d
AA
162582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16259
16260 * gdb.base/solib1.c: Add eye-catchers.
16261 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16262 literal line numbers.
16263
78708b7c
PA
162642014-11-12 Pedro Alves <palves@redhat.com>
16265
16266 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16267 leader has exited.
16268
af48d08f
PA
162692014-11-12 Pedro Alves <palves@redhat.com>
16270
16271 * gdb.arch/i386-bp_permanent.c: New file.
16272 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16273 (srcfile): Set to i386-bp_permanent.c.
16274 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16275 that stepi does not execute the 'leave' instruction, instead of
16276 testing it does execute.
16277 * gdb.base/bp-permanent.c: New file.
16278 * gdb.base/bp-permanent.exp: New file.
16279
af3768e9
DE
162802014-11-10 Doug Evans <xdje42@gmail.com>
16281
16282 PR symtab/17564
16283 * gdb.base/symtab-search-order.exp: New file.
16284 * gdb.base/symtab-search-order.c: New file.
16285 * gdb.base/symtab-search-order-1.c: New file.
16286 * gdb.base/symtab-search-order-shlib-1.c: New file.
16287
9de00a4a
PA
162882014-11-07 Pedro Alves <palves@redhat.com>
16289
16290 PR gdb/17511
16291 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16292 i?86-*-linux*.
16293
e0f52461
SC
162942014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16295
16296 PR c++/17494
16297 * gdb.cp/pr17494.cc: New file.
16298 * gdb.cp/pr17494.exp: New file.
16299
6ce8c980
YQ
163002014-11-02 Yao Qi <yao@codesourcery.com>
16301
16302 * gdb.python/python.exp: Get working directory and match the
16303 output of "set extended-prompt \\w " with it.
16304
02be9a71
DE
163052014-10-30 Doug Evans <dje@google.com>
16306
16307 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16308 in objfiles.
16309 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16310 in progspaces.
16311
3bdff46b
LM
163122014-10-30 Janis Johnson <janisjo@codesourcery.com>
16313
16314 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16315 * gdb.base/realname-expand.exp: Likewise.
16316 * gdb.linespec/macro-relative.exp: Likewise.
16317
ab917dfb
PA
163182014-10-29 Pedro Alves <palves@redhat.com>
16319
16320 PR gdb/17408
16321 * gdb.threads/schedlock.c (some_function): New function.
16322 (call_function): New global.
16323 (MAYBE_CALL_SOME_FUNCTION): New macro.
16324 (thread_function): Call it.
16325 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16326 and use it instead of a global counter. Adjust all callers.
16327 (get_current_thread): Use "find current thread" for test message
16328 here rather than having all callers pass down the same string.
16329 (goto_loop): New procedure, factored out from ...
16330 (my_continue): ... this.
16331 (step_ten_loops): Change parameter from test message to command to
16332 use. Adjust.
16333 (list_count): Delete global.
16334 (check_result): New procedure, factored out from duplicate top
16335 level code.
16336 (continue tests): Wrap in with_test_prefix.
16337 (test_step): New procedure, factored out from duplicate top level
16338 code.
16339 (top level): Test "step" in combination with all scheduler-locking
16340 modes. Test "next" in combination with all scheduler-locking
16341 modes, and in combination with stepping over a function call or
16342 not.
16343 * gdb.threads/next-bp-other-thread.c: New file.
16344 * gdb.threads/next-bp-other-thread.exp: New file.
16345
d3d4baed
PA
163462014-10-29 Pedro Alves <palves@redhat.com>
16347
16348 PR python/17372
16349 * gdb.python/python.exp: Test a multi-line command that spawns
16350 interactive Python.
16351 * gdb.base/multi-line-starts-subshell.exp: New file.
16352
563e8d85
YQ
163532014-10-29 Yao Qi <yao@codesourcery.com>
16354
16355 * gdb.base/fileio.exp: Make directories on host.
16356
0ea4d52e
YQ
163572014-10-29 Yao Qi <yao@codesourcery.com>
16358
16359 * gdb.base/fileio.c (test_write): Close the file.
16360
7f5ef605
PA
163612014-10-28 Pedro Alves <palves@redhat.com>
16362
16363 PR gdb/12623
16364 * gdb.base/sigstep.c (no_handler): New global.
16365 (main): If 'no_handler is true, set the signal handlers to
16366 SIG_IGN.
16367 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16368 with_sw_watch and no_handler parameters. Handle them.
16369 (top level) <stepping over handler when stopped at a breakpoint
16370 test>: Add a test axis for testing with a software watchpoint, and
16371 another for testing with the signal handler set to SIG_IGN.
16372 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16373 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16374
abbdbd03
PA
163752014-10-28 Pedro Alves <palves@redhat.com>
16376
16377 PR gdb/17511
16378 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16379 * gdb.base/sigstep.exp (other_handler_location): New global.
16380 (advance): Support stepping into the signal handler, and running
16381 commands while in the handler.
16382 (in_handler_map): New global.
16383 (top level): In the advance test, add combinations for getting
16384 into the handler with stepping commands, and for running commands
16385 in the handler. Add comment descripting the advancei tests.
16386
1df4399f
PA
163872014-10-28 Pedro Alves <palves@redhat.com>
16388
16389 * gdb.base/sigstep.exp: Use build_executable instead of
16390 prepare_for_testing.
16391 (top level): Move code that starts GDB, runs to main and creates a
16392 display to ...
16393 (restart): ... this new procedure.
16394 (top level): Move backtrace from signal handler test to ...
16395 (validate_backtrace): ... this new procedure.
16396 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16397 with_test_prefix. Always restart GDB.
16398 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16399 with_test_prefix. Always restart GDB. No need to delete
16400 breakpoints after the test.
16401 (test_skip_handler): Remove prefix parameter.
16402 (skip_over_handler, breakpoint_to_handler)
16403 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16404 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16405 restart GDB. No need to delete breakpoints after the test.
16406 (top level): Use foreach to call the test procedures with
16407 different commands.
16408
a5b6e449
PA
164092014-10-28 Pedro Alves <palves@redhat.com>
16410
16411 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16412 instead of GNATS numbers.
16413 * gdb.base/sigbpt.exp: Likewise.
16414 * gdb.base/siginfo.exp: Likewise.
16415 * gdb.base/sigstep.exp: Likewise.
16416
e5f8a7cc
PA
164172014-10-27 Pedro Alves <palves@redhat.com>
16418
16419 * gdb.base/sigstep.c (dummy): New global.
16420 (main): Issue a couple writes to the new global.
16421 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16422 procedures.
16423 (skip_over_handler): Use test_skip_handler.
16424 (top level): Call skip_over_handler for stepi and nexti too.
16425 (breakpoint_over_handler): Use test_skip_handler.
16426 (top level): Call breakpoint_over_handler for stepi and nexti too.
16427
763905a3
YQ
164282014-10-27 Yao Qi <yao@codesourcery.com>
16429
16430 * gdb.trace/tfile.c (adjust_function_address)
16431 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16432 function descriptor.
16433
6f259a23
DB
164342014-10-24 Don Breazeal <donb@codesourcery.com>
16435
16436 * gdb.base/foll-fork.exp (test_follow_fork,
16437 catch_fork_child_follow): Check for updated fork messages emitted
16438 from infrun.c.
16439 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16440 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16441 vfork_and_exec_child_follow_through_step): Check for updated vfork
16442 messages emitted from infrun.c.
16443
09dd9a69
PA
164442014-10-24 Pedro Alves <palves@redhat.com>
16445
16446 * gdb.base/corefile.exp: Remove references to ultrix.
16447 * gdb.base/interrupt.exp: Likewise.
16448 * gdb.base/whatis.exp: Likewise.
16449 * gdb.gdb/selftest.exp: Likewise.
16450 * gdb.threads/manythreads.exp: Likewise.
16451 * gdb.threads/print-threads.exp: Likewise.
16452 * gdb.threads/pthreads.exp:: Likewise.
16453 * gdb.threads/schedlock.exp: Likewise.
16454
3433cfa5
SC
164552014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16456
16457 * gdb.cp/non-trivial-retval.cc: Add a test case.
16458 * gdb.cp/non-trivial-retval.exp: Add a test.
16459
092f880b
YQ
164602014-10-20 Yao Qi <yao@codesourcery.com>
16461
16462 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16463 * gdb.python/py-objfile-script-gdb.py: New file.
16464 * gdb.python/py-objfile-script.exp: Update reference to
16465 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16466 of remote_download. Remove the dest file.
16467
acbdb7f3
YQ
164682014-10-20 Yao Qi <yao@codesourcery.com>
16469
16470 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16471 * gdb.base/step-line.exp: Likewise.
16472 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16473 * gdb.dwarf2/dw2-basic.exp: Likewise.
16474 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16475 * gdb.dwarf2/dw2-filename.exp: Likewise.
16476 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16477 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16478 * gdb.dwarf2/dw2-producer.exp: Likewise.
16479 * gdb.dwarf2/mac-fileno.exp: Likewise.
16480 * gdb.python/py-frame-args.exp: Likewise.
16481 * gdb.python/py-framefilter.exp: Likewise.
16482 * gdb.python/py-mi.exp: Likewise.
16483 * gdb.python/py-objfile-script.exp: Likewise
16484 * gdb.python/py-pp-integral.exp: Likewise.
16485 * gdb.python/py-pp-re-notag.exp: Likewise.
16486 * gdb.python/py-prettyprint.exp: Likewise.
16487 * gdb.python/py-section-script.exp: Likewise.
16488 * gdb.python/py-typeprint.exp: Likewise.
16489 * gdb.python/py-xmethods.exp: Likewise.
16490 * gdb.stabs/weird.exp: Likewise.
16491 * gdb.xml/tdesc-regs.exp: Likewise.
16492
bd286a29
KCY
164932014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16494
16495 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16496 (out_cu): Use addr_len for the size of addresses.
16497 (out_line): Likewise. Size DW_LNE_set_address instruction
16498 according to addr_len.
16499 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16500 (FUNC): Add START_INSNS to definition.
16501
673dc4a0
YQ
165022014-10-18 Yao Qi <yao@codesourcery.com>
16503
16504 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16505 gdb_has_argv0 return true.
16506 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16507 check [target_info exists noargs], check [gdb_has_argv0]
16508 instead.
16509 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16510 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16511 procedures.
16512
4ffbba72
DE
165132014-10-17 Doug Evans <dje@google.com>
16514
16515 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16516 event.
16517 * gdb.python/py-events.py: Add clear_objfiles event.
16518
d096d8c1
DE
165192014-10-17 Doug Evans <dje@google.com>
16520
16521 * gdb.python/py-objfile.exp: Test progspace attribute.
16522
a80db015
LM
165232014-10-17 Luis Machado <lgustavo@codesourcery.com>
16524
16525 * gdb.guile/scm-breakpoint.exp: Do not assume any
16526 directory separators when matching source file paths.
16527 * gdb.python/py-breakpoint.exp: Likewise.
16528 * gdb.reverse/break-precsave.exp: Likewise.
16529 * gdb.reverse/break-reverse.exp: Likewise.
16530 * gdb.reverse/consecutive-precsave.exp: Likewise.
16531 * gdb.reverse/finish-precsave.exp: Likewise.
16532 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16533 * gdb.reverse/finish-reverse.exp: Likewise.
16534 * gdb.reverse/i386-precsave.exp: Likewise.
16535 * gdb.reverse/i387-env-reverse.exp: Likewise.
16536 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16537 * gdb.reverse/machinestate-precsave.exp: Likewise.
16538 * gdb.reverse/machinestate.exp: Likewise.
16539 * gdb.reverse/sigall-precsave.exp: Likewise.
16540 * gdb.reverse/solib-precsave.exp: Likewise.
16541 * gdb.reverse/step-precsave.exp: Likewise.
16542 * gdb.reverse/until-precsave.exp: Likewise.
16543 * gdb.reverse/watch-precsave.exp: Likewise.
16544 * gdb.reverse/watch-reverse.exp: Likewise.
16545
b22089ab
YQ
165462014-10-17 Yao Qi <yao@codesourcery.com>
16547
16548 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16549 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16550
6c4486e6
PA
165512014-10-17 Pedro Alves <palves@redhat.com>
16552
16553 PR gdb/17471
16554 * gdb.base/bg-execution-repeat.c: New file.
16555 * gdb.base/bg-execution-repeat.exp: New file.
16556
0ff33695
PA
165572014-10-17 Pedro Alves <palves@redhat.com>
16558
16559 PR gdb/17300
16560 * gdb.base/continue-all-already-running.c: New file.
16561 * gdb.base/continue-all-already-running.exp: New file.
16562
6fdebc3d
PA
165632014-10-17 Pedro Alves <palves@redhat.com>
16564
16565 PR gdb/17472
16566 * gdb.base/annota-input-while-running.c: New file.
16567 * gdb.base/annota-input-while-running.exp: New file.
16568
32a8097b
PA
165692014-10-17 Pedro Alves <palves@redhat.com>
16570
16571 * gdb.base/callfuncs.exp: emove references to osf.
16572 * gdb.base/sigall.exp: Likewise.
16573 * gdb.gdb/selftest.exp: Likewise.
16574 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16575 * gdb.mi/non-stop.c: Likewise.
16576 * gdb.mi/pthreads.c: Likewise.
16577 * gdb.reverse/sigall-precsave.exp: Likewise.
16578 * gdb.reverse/sigall-reverse.exp: Likewise.
16579 * gdb.threads/pthreads.c: Likewise.
16580 * gdb.threads/pthreads.exp: Likewise.
16581
7a3517ff
YQ
165822014-10-17 Yao Qi <yao@codesourcery.com>
16583
16584 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16585 check 'target_info exists noargs'.
16586 (test_command_prompt_position): Likewise.
16587 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16588 Remove "set args".
16589 (progvar_simple_while_test): Likewise.
16590 (progvar_complex_if_while_test): Likewise.
16591 (if_while_breakpoint_command_test): Likewise.
16592 (infrun_breakpoint_command_test): Likewise.
16593 (breakpoint_command_test): Likewise.
16594 (watchpoint_command_test): Likewise.
16595 (bp_deleted_in_command_test): Likewise.
16596 (temporary_breakpoint_commands): Likewise.
16597
bb99c472
YQ
165982014-10-16 Yao Qi <yao@codesourcery.com>
16599
16600 * gdb.base/remotetimeout.exp: Remove noargs checking.
16601
7c16b83e
PA
166022014-10-15 Pedro Alves <palves@redhat.com>
16603
16604 PR breakpoints/9649
16605 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16606 * gdb.base/breakpoint-in-ro-region.exp
16607 (probe_target_hardware_step): New procedure.
16608 (top level): Probe hardware stepping and hardware breakpoint
16609 support. Test stepping through a read-only region, with both
16610 "breakpoint auto-hw" on and off and both "always-inserted" on and
16611 off.
16612
35a49624
IB
166132014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16614
16615 * gdb.dlang/demangle.exp: Update for demangling changes.
16616
2d1c107c
SC
166172014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16618
16619 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16620 * gdb.cp/non-trivial-retval.exp: Add new tests.
16621
778811d5
SC
166222014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16623
16624 PR c++/13403
16625 PR c++/15154
16626 * gdb.cp/non-trivial-retval.cc: New file.
16627 * gdb.cp/non-trivial-retval.exp: New file.
16628
10c5f0a8
YQ
166292014-10-15 Yao Qi <yao@codesourcery.com>
16630
16631 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16632 remote host.
16633
65d7b369
YQ
166342014-10-15 Yao Qi <yao@codesourcery.com>
16635
16636 * gdb.python/py-symbol.exp: Match file base name if host is
16637 remote, otherwise match file name with dir name.
16638 * gdb.python/py-symtab.exp: Likewise.
16639 * gdb.python/python.exp: Likewise.
16640
46dc1394
YQ
166412014-10-15 Yao Qi <yao@codesourcery.com>
16642
16643 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16644 pattern.
16645 * gdb.python/py-symtab.exp: Likewise.
16646 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16647 locationn.
16648
c40cc657
JB
166492014-10-14 Joel Brobecker <brobecker@adacore.com>
16650
16651 * gdb.ada/addr_arith: New testcase.
16652
2abf49e1
MR
166532014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16654
16655 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16656 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16657 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16658 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16659
f7088df3
SDJ
166602014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16661
16662 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16663 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16664 * gdb.arch/stap-eval-lang-ada.exp: New file.
16665
4dc06805
YQ
166662014-10-14 Yao Qi <yao@codesourcery.com>
16667
16668 * gdb.mi/mi-var-child.c (nothing1): New function.
16669 (nothing2): New function.
16670 (do_children_tests): Set function pointers by nothing1 and
16671 nothing2.
16672 * gdb.mi/mi-var-child.exp: Step over new added statements.
16673 Update test to match the new output.
16674 * gdb.mi/var-cmd.c (nothing1): New function.
16675 (nothing2): New function.
16676 (do_children_tests): Set function pointers by nothing1 and
16677 nothing2.
16678 * gdb.mi/mi-var-display.exp: Update test to match output.
16679 Step to the line specified by $line_dct_nothing.
16680 Increase the number of lines to step.
16681
46a93de2
YQ
166822014-10-14 Yao Qi <yao@codesourcery.com>
16683
16684 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16685 tests.
16686 * gdb.mi/mi2-var-child.exp: Likewise.
16687
14ea52ee
DE
166882014-10-13 Doug Evans <dje@google.com>
16689
16690 * gdb.python/py-objfile.exp: Change name of file name test.
16691
e5c6e92b
DE
166922014-10-13 Doug Evans <dje@google.com>
16693
16694 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16695 from the start of the CU.
16696
c780cc2f
JK
166972014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16698 Yao Qi <yao@codesourcery.com>
16699
16700 Fix "save breakpoints" for "catch" command.
16701 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16702 Remove -nonewline. Match also the added "main" line.
16703
99894e11
JK
167042014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16705
16706 Fix "save breakpoints" for "disable $bpnum" command.
16707 * gdb.base/save-bp.c (main): Add label.
16708 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16709
6e1ac5a3
JK
167102014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16711
16712 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16713
754dd2b0
YQ
167142014-10-11 Yao Qi <yao@codesourcery.com>
16715
16716 * gdb.server/server-kill.exp: Execute command
16717 "set remote trace-status-packet on" before "tstatus".
16718
f90183d7
YQ
167192014-10-11 Yao Qi <yao@codesourcery.com>
16720
16721 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16722 (main): Call getppid.
16723 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16724 and continue to it. Read variable "server_pid".
16725
bf40a607
YQ
167262014-10-11 Yao Qi <yao@codesourcery.com>
16727
16728 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16729
052ca370
YQ
167302014-10-11 Yao Qi <yao@codesourcery.com>
16731
16732 * gdb.threads/thread-find.exp: Don't execute command
16733 "info threads".
16734 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16735 * gdb.threads/linux-dp.exp: Don't check the condition
16736 $threads_created equals to zero.
16737
3831839c
PA
167382014-10-10 Pedro Alves <palves@redhat.com>
16739
16740 * gdb.base/bigcore.exp: Remove references to IRIX.
16741 * gdb.base/funcargs.exp: Likewise.
16742 * gdb.base/interrupt.exp: Likewise.
16743 * gdb.base/mips_pro.exp: Likewise.
16744 * gdb.base/nodebug.exp: Likewise.
16745 * gdb.base/setvar.exp: Likewise.
16746 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16747
8b9a549d
PA
167482014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16749 Pedro Alves <palves@redhat.com>
16750
16751 PR symtab/14466
16752 * gdb.base/vdso-warning.c: New file.
16753 * gdb.base/vdso-warning.exp: New file.
16754
d48ba5e8
DE
167552014-10-02 Doug Evans <dje@google.com>
16756
16757 * gdb.base/structs.c (main): Don't run forever.
16758
2278c276
PA
167592014-10-02 Pedro Alves <palves@redhat.com>
16760
16761 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16762 (top level) <stop threads 1, stop threads 2>: Use it.
16763
b57bacec
PA
167642014-10-02 Pedro Alves <palves@redhat.com>
16765
16766 * gdb.threads/break-while-running.exp (test): Add new
16767 'update_thread_list' argument. Skip "info threads" if false.
16768 (top level): Add new 'update_thread_list' axis.
16769
13fd3ff3
PA
167702014-10-02 Pedro Alves <palves@redhat.com>
16771
16772 PR breakpoints/17431
16773 * gdb.base/execl-update-breakpoints.c: New file.
16774 * gdb.base/execl-update-breakpoints.exp: New file.
16775
0fec99e8
PA
167762014-10-01 Pedro Alves <palves@redhat.com>
16777
16778 * gdb.base/breakpoint-in-ro-region.c: New file.
16779 * gdb.base/breakpoint-in-ro-region.exp: New file.
16780
2ddf4301
SM
167812014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16782
16783 * gdb.mi/mi-exit-code.exp: New file.
16784 * gdb.mi/mi-exit-code.c: New file.
16785
6a5f3f43
YQ
167862014-09-30 Yao Qi <yao@codesourcery.com>
16787
16788 * lib/prelink-support.exp (build_executable_own_libs): Error if
16789 the target isn't native.
16790
345bcc73
YQ
167912014-09-30 Yao Qi <yao@codesourcery.com>
16792
16793 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16794 false.
16795
a25a5a45
PA
167962014-09-22 Pedro Alves <palves@redhat.com>
16797
16798 * gdb.threads/break-while-running.exp: New file.
16799 * gdb.threads/break-while-running.c: New file.
16800
00ba3162
YQ
168012014-09-19 Yao Qi <yao@codesourcery.com>
16802
16803 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16804 Invoke test. Restart GDB with --readnow and invoke test again.
16805
c3b7b696
YQ
168062014-09-19 Yao Qi <yao@codesourcery.com>
16807
16808 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16809 proc set_breakpoint_on_gcd_function. Invoke
16810 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16811 invoke set_breakpoint_on_gcd_function again.
16812
2b4fd423
DE
168132014-09-18 Doug Evans <dje@google.com>
16814
16815 * gdb.dwarf2/symtab-producer.exp: New file.
16816
a5947601
SDJ
168172014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16818
16819 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16820 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16821 * gdb.base/global-var-nested-by-dso.c: Likewise.
16822 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16823
91c19059
SDJ
168242014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16825 Pedro Alves <palves@redhat.com>
16826
16827 * gdb.base/watch-bitfields.exp: Pass string other than test file
16828 name to prepare_for_testing.
16829 (watch): New procedure.
16830 (expect_watchpoint): Use with_test_prefix.
16831 (top level): Factor out tests to ...
16832 (test_watch_location, test_regular_watch): ... these new
16833 procedures, and use with_test_prefix and gdb_continue_to_end.
16834
bb9d5f81
PP
168352014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16836
16837 PR breakpoints/12526
16838 * gdb.base/watch-bitfields.exp: New file.
16839 * gdb.base/watch-bitfields.c: New file.
16840
635856f5
PA
168412014-09-16 Pedro Alves <palves@redhat.com>
16842
16843 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16844 software and hardware addresses, not software address against
16845 itself.
16846
7280ceea
PA
168472014-09-16 Pedro Alves <palves@redhat.com>
16848
16849 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16850 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16851
428b16bd
PA
168522014-09-16 Pedro Alves <palves@redhat.com>
16853
16854 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16855 files.
16856 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16857 "*-*-vxworks*" throughout.
16858 * gdb.base/break.exp: Likewise.
16859 * gdb.base/default.exp: Likewise.
16860 * gdb.base/scope.exp: Likewise.
16861 * gdb.base/sepdebug.exp: Likewise.
16862 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16863 throughout.
16864 * gdb.base/run.c: Likewise.
16865 * gdb.base/sepdebug.c: Likewise.
16866 * gdb.hp/gdb.aCC/run.c: Likewise.
16867 * gdb.reverse/until-reverse.c: Likewise.
16868 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16869
666d413c
YQ
168702014-09-16 Yao Qi <yao@codesourcery.com>
16871
16872 * boards/local-remote-host-native.exp: New file.
16873
57cbd724
DE
168742014-09-14 Doug Evans <xdje42@gmail.com>
16875
16876 * gdb.threads/queue-signal.c (thread_count): New variable.
16877 (thread_count_mutex, thread_count_condvar): New variables.
16878 (incr_thread_count, wait_all_threads_running): New functions.
16879 (main): Wait for all threads to be in their thread functions.
16880
81219e53
DE
168812014-09-13 Doug Evans <xdje42@gmail.com>
16882
16883 * gdb.threads/queue-signal.c: New file.
16884 * gdb.threads/queue-signal.exp: New file.
16885
3714cea7
DE
168862014-09-13 Doug Evans <xdje42@gmail.com>
16887
16888 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16889 be consistent with what default_gdb_init uses.
16890 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16891 the plain text of the prompt. Add some logging printfs.
16892 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16893
fa43b1d7
PA
168942014-09-12 Pedro Alves <palves@redhat.com>
16895
16896 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16897 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16898 * gdb.arch/i386-size-overlap.exp: Likewise.
16899 * gdb.arch/i386-size.exp: Likewise.
16900 * gdb.arch/i386-unwind.exp: Likewise.
16901 * gdb.base/a2-run.exp: Likewise.
16902 * gdb.base/break.exp: Likewise.
16903 * gdb.base/charset.exp: Likewise.
16904 * gdb.base/chng-syms.exp: Likewise.
16905 * gdb.base/commands.exp: Likewise.
16906 * gdb.base/dbx.exp: Likewise.
16907 * gdb.base/find.exp: Likewise.
16908 * gdb.base/funcargs.exp: Likewise.
16909 * gdb.base/jit-simple.exp: Likewise.
16910 * gdb.base/reread.exp: Likewise.
16911 * gdb.base/sepdebug.exp: Likewise.
16912 * gdb.base/step-bt.exp: Likewise.
16913 * gdb.cp/mb-inline.exp: Likewise.
16914 * gdb.cp/mb-templates.exp: Likewise.
16915 * gdb.objc/basicclass.exp: Likewise.
16916 * gdb.threads/killed.exp: Likewise.
16917
9d9bf2df
EBM
169182014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16919
16920 PR tdep/17379
16921 * gdb.arch/powerpc-stackless.S: New file.
16922 * gdb.arch/powerpc-stackless.exp: New file.
16923
1cf2f1b0
JK
169242014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16925
16926 * gdb.base/attach.c: Include unistd.h.
16927 (main): Call alarm. Add label postloop.
16928 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16929 gdb_breakpoint, gdb_continue_to_breakpoint.
16930 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16931
98880d46
PA
169322014-09-11 Pedro Alves <palves@redhat.com>
16933
16934 PR gdb/17347
16935 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16936 * gdb.base/attach.exp (test_command_line_attach_run): New
16937 procedure.
16938 (top level): Call it.
16939
4c92ff2c
PA
169402014-09-11 Pedro Alves <palves@redhat.com>
16941
16942 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16943 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16944 (do_command_attach_tests): Use spawn_wait_for_attach.
16945 * gdb.base/solib-overlap.exp: Likewise.
16946 * gdb.multi/multi-attach.exp: Likewise.
16947 * gdb.python/py-prompt.exp: Likewise.
16948 * gdb.python/py-sync-interp.exp: Likewise.
16949 * gdb.server/ext-attach.exp: Likewise.
16950
3adc1a7d
GKB
169512014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16952
16953 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16954 command in testcase. Simplify testcase.
16955
96334934
JB
169562014-09-10 Joel Brobecker <brobecker@adacore.com>
16957
16958 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16959
eb479039
JB
169602014-09-10 Joel Brobecker <brobecker@adacore.com>
16961
16962 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16963
deede10c
JB
169642014-09-10 Joel Brobecker <brobecker@adacore.com>
16965
16966 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16967
7828a5f5
JB
169682014-09-10 Joel Brobecker <brobecker@adacore.com>
16969
16970 * gdb.dwarf2/dynarr-ptr.c: New file.
16971 * gdb.dwarf2/dynarr-ptr.exp: New file.
16972
33aeebcf
MR
169732014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16974
16975 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16976 of 30 rather than hardcoding 120 for a slow test case. Take the
16977 `gdb,timeout' target setting into account for this calculation.
16978 Don't extend the timeout for the test cases that don't need it.
16979
7b415901
MR
169802014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16981
16982 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16983 a factor of 2 for a slow test case. Take the `gdb,timeout'
16984 target setting into account for this calculation.
16985 * gdb.reverse/until-precsave.exp: Increase the timeout by
16986 a factor of 15 and 3 respectively rather than adding 120
16987 for a pair of slow test cases. Take the `gdb,timeout'
16988 target setting into account for this calculation.
16989
4a40f85a
MR
169902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16991
16992 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16993 timeout, don't pass one down to gdb_expect.
16994 (gdb_expect): Rework timeout selection.
16995
09635af7
MR
169962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16997
16998 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16999 exception on timeout.
17000 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17001 (gdbserver_start_extended): Catch any `gdbserver_start' error
17002 exceptions.
17003 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17004 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17005 `gdbserver_gdb_load' error exceptions.
17006
2bdd10b7
MR
170072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17008
17009 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17010 120 on waiting for the TCP socket to open.
17011
316935f0
DE
170122014-09-09 Doug Evans <xdje42@gmail.com>
17013
17014 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17015 _caller_matches, _any_caller_is, _any_caller_matches.
17016
83740597
DE
170172014-09-09 Doug Evans <xdje42@gmail.com>
17018
17019 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17020
4c122fc3
YQ
170212014-09-09 Yao Qi <yao@codesourcery.com>
17022
17023 * gdb.mi/mi-var-display.exp: Set print symbol off.
17024
a9f116cb
GKB
170252014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17026
17027 PR gdb/17035
17028 * gdb.base/commands.exp: Add tests to verify user-defined
17029 commands with empty bodies.
17030 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17031 python commands in `show user command`.
17032 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17033 scheme commands in `show user command`.
17034
c75bd3a2
JK
170352014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17036
17037 PR python/17355
17038 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17039 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17040 * gdb.python/py-framefilter-invalidarg.exp: New file.
17041 * gdb.python/py-framefilter-invalidarg.py: New file.
17042
faa42425
DE
170432014-09-06 Doug Evans <xdje42@gmail.com>
17044
17045 PR 15276
17046 * gdb.python/py-caller-is.c: New file.
17047 * gdb.python/py-caller-is.exp: New file.
17048
474ca4f6
SDJ
170492014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17050
17051 PR gdb/17235
17052 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17053 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17054
eb0b0463
SDJ
170552014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17056
17057 PR fortran/17237
17058 * gdb.fortran/print-formatted.exp: New file.
17059 * gdb.fortran/print-formatted.f90: Likewise.
17060
5f3b99cf
SS
170612014-09-03 Sasha Smundak <asmundak@google.com>
17062
17063 * gdb.python/py-frame.exp: Test Frame.read_register.
17064
7d793aa9
SDJ
170652014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17066
17067 PR python/16699
17068 * gdb.python/py-completion.exp: New file.
17069 * gdb.python/py-completion.py: Likewise.
17070
fb0576e9
DE
170712014-08-28 Doug Evans <dje@google.com>
17072
17073 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17074 eax,etc. are live with values set by gdb and thus the compiler can't
17075 use them.
17076 * gdb.arch/i386-pseudo.c (main): Ditto.
17077
ee92b0dd
DE
170782014-08-27 Doug Evans <dje@google.com>
17079
17080 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17081
6649db35
DE
170822014-08-25 Doug Evans <dje@google.com>
17083
17084 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17085 (main): Ditto.
17086
564b7600
DE
170872014-08-25 Doug Evans <dje@google.com>
17088
17089 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17090
3881fb67
YQ
170912014-08-24 Yao Qi <yao@codesourcery.com>
17092
17093 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17094 symbol off.
17095 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17096
a05a36a5
DE
170972014-08-22 Doug Evans <dje@google.com>
17098
17099 PR 17276
17100 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17101 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17102 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17103
7c343b48
YQ
171042014-08-22 Yao Qi <yao@codesourcery.com>
17105
17106 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17107 * gdb.python/py-finish-breakpoint2.exp: Likewise.
17108 * gdb.python/python.exp: Likewise. Use .py file on the host
17109 instead of the build.
17110
22fd09ae
JK
171112014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17112
17113 * gdb.threads/gcore-stale-thread.c: New file.
17114 * gdb.threads/gcore-stale-thread.exp: New file.
17115
a8454a7c
PA
171162014-08-21 Pedro Alves <palves@redhat.com>
17117
17118 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
17119 * gdb.base/gcore-relro-pie.exp: Likewise.
17120 * gdb.base/gcore-relro.exp: Likewise.
17121 * gdb.base/gcore.exp: Likewise.
17122 * gdb.base/print-symbol-loading.exp: Likewise.
17123 * gdb.threads/gcore-thread.exp: Likewise.
17124 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
17125
2a31c623
PA
171262014-08-20 Pedro Alves <palves@redhat.com>
17127 Jan Kratochvil <jan.kratochvil@redhat.com>
17128
17129 * Makefile.in (EXTRA_RULES, CC): New variables, get from
17130 configure.
17131 (EXPECT): Handle READ1 being set.
17132 (all): Depend on EXTRA_RULES.
17133 (check-read1, expect-read1, read1.so, read1): New rules.
17134 * README (Testsuite Parameters): Document the READ1 make variable.
17135 (Race detection): New section.
17136 * configure: Regenerate.
17137 * configure.ac: If build==host==target, and running under a
17138 GNU/glibc system, add read1 to the extra Makefile rules.
17139 (EXTRA_RULES): AC_SUBST it.
17140 * lib/read1.c: New file.
17141
d36430db
JB
171422014-08-20 Joel Brobecker <brobecker@adacore.com>
17143
17144 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
17145 the handling of variables declared as a typedef to an array
17146 which a DW_AT_data_location attribute.
17147
9a0dc9e3
PA
171482014-08-19 Andrew Burgess <aburgess@broadcom.com>
17149 Pedro Alves <palves@redhat.com>
17150
17151 PR symtab/14604
17152 PR symtab/14605
17153 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
17154 gdb_test.
17155
0718a8da
PA
171562014-08-19 Pedro Alves <palves@redhat.com>
17157
17158 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
17159
13b448cd
YQ
171602014-08-19 Yao Qi <yao@codesourcery.com>
17161
17162 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
17163 right line.
17164
1cbf5077
DB
171652014-08-18 David Blaikie <dblaikie@gmail.com>
17166
17167 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
17168
bf0fae19
JB
171692014-08-18 Joel Brobecker <brobecker@adacore.com>
17170
17171 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17172 attribute in array range.
17173
3c8c5dcc
JB
171742014-08-18 Joel Brobecker <brobecker@adacore.com>
17175
17176 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17177
e66d4446
SC
171782014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17179
17180 PR c++/17132
17181 * gdb.cp/pr17132.cc: New file.
17182 * gdb.cp/pr17132.exp: New file.
17183
940df408
SC
171842014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17185
17186 * gdb.python/py-xmethods.py (A_getarrayind)
17187 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17188 Use 'print' with function call syntax.
17189 (E_method_matcher.match): Fix tab vs space indentation mixup.
17190
ebcc6c3a
YQ
171912014-08-15 Yao Qi <yao@codesourcery.com>
17192
17193 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17194 false.
17195
775e0f04
YQ
171962014-08-15 Yao Qi <yao@codesourcery.com>
17197
17198 * gdb.cp/casts.exp: Set print symbol off.
17199 * gdb.cp/class2.exp: Likewise.
17200 * gdb.cp/overload.exp: Likewise.
17201 * gdb.cp/templates.exp: Likewise.
17202
d769e349
DE
172032014-08-11 Doug Evans <dje@google.com>
17204
17205 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17206 (test_load_shlib): Update.
17207
20c6f1e1
YQ
172082014-08-09 Yao Qi <yao@codesourcery.com>
17209
17210 * gdb.base/display.exp: Invoke is_address_zero_readable.
17211 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17212 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17213 * gdb.base/hbreak-unmapped.exp: Return if
17214 is_address_zero_readable returns true.
17215 * gdb.base/signest.exp: Likewise.
17216 * gdb.base/signull.exp: Likewise.
17217 * gdb.base/sigbpt.exp: Likewise.
17218 * gdb.guile/scm-disasm.exp: Do the test if
17219 is_address_zero_readable returns false.
17220 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17221 * gdb.python/py-arch.exp: Likewise.
17222 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17223 * lib/gdb.exp (is_address_zero_readable): New proc.
17224
5792e8e3
YQ
172252014-08-09 Yao Qi <yao@codesourcery.com>
17226
17227 PR testsuite/13443
17228 * gdb.mi/mi-var-display.exp: Make test messages unique.
17229
3cecbbbe
TT
172302014-08-04 Tom Tromey <tromey@redhat.com>
17231
17232 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17233 target 0".
17234
00b51ff5
TT
172352014-08-04 Tom Tromey <tromey@redhat.com>
17236
17237 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17238 "target_resume".
17239
6908c509
JB
172402014-08-01 Joel Brobecker <brobecker@adacore.com>
17241
17242 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17243 inner_vla_struct_object_size.
17244 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17245 as xfail.
17246
cc6563d2
PA
172472014-07-30 Pedro Alves <palves@redhat.com>
17248
17249 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17250 comment.
17251
7e09a223
YQ
172522014-07-29 Yao Qi <yao@codesourcery.com>
17253
17254 PR gdb/17206
17255 * gdb.base/until-nodebug.exp: New.
17256
7ebdbe92
DE
172572014-07-28 Doug Evans <xdje42@gmail.com>
17258
17259 PR guile/17203
17260 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17261 previously existing parameter, and previously ambiguously spelled
17262 parameter.
17263
fdb1adc6
WN
172642014-07-28 Will Newton <will.newton@linaro.org>
17265
17266 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17267
186fcde0
DE
172682014-07-26 Ludovic Courtès <ludo@gnu.org>
17269 Doug Evans <xdje42@gmail.com>
17270
17271 PR guile/17146
17272 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17273
70509625
PA
172742014-07-25 Pedro Alves <palves@redhat.com>
17275
17276 * gdb.threads/signal-command-handle-nopass.c: New file.
17277 * gdb.threads/signal-command-handle-nopass.exp: New file.
17278 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17279 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17280 * gdb.threads/signal-delivered-right-thread.c: New file.
17281 * gdb.threads/signal-delivered-right-thread.exp: New file.
17282
c3f814a1
PA
172832014-07-25 Pedro Alves <palves@redhat.com>
17284
17285 * gdb.base/double-prompt-target-event-error.exp
17286 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17287 match.
17288 (cancel_pagination_in_target_event): Rework double prompt
17289 detection.
17290 * gdb.base/paginate-after-ctrl-c-running.exp
17291 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17292 <return>' match.
17293 * gdb.base/paginate-bg-execution.exp
17294 (test_bg_execution_pagination_return)
17295 (test_bg_execution_pagination_cancel): Remove '-notransfer
17296 <return>' matches.
17297 * gdb.base/paginate-execution-startup.exp
17298 (test_fg_execution_pagination_return)
17299 (test_fg_execution_pagination_cancel): Remove '-notransfer
17300 <return>' matches.
17301 * gdb.base/paginate-inferior-exit.exp
17302 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17303 match.
17304 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17305 * lib/gdb.exp (pagination_prompt): Run text through
17306 string_to_regexp.
17307 (gdb_test_multiple): Match $pagination_prompt instead of
17308 "<return>".
17309 (string_to_regexp): Move to lib/gdb-utils.exp.
17310
e214cf6c
JK
173112014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17312
17313 * gdb.arch/amd64-entry-value-paramref.S: New file.
17314 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17315 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17316 * gdb.arch/amd64-optimout-repeat.S: New file.
17317 * gdb.arch/amd64-optimout-repeat.c: New file.
17318 * gdb.arch/amd64-optimout-repeat.exp: New file.
17319
17d0c5c8
JK
173202014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17321
17322 PR gdb/17170
17323 * gdb.base/statistics.exp: New file.
17324
b8b8facf
DE
173252014-07-17 Doug Evans <dje@google.com>
17326
74b49205 17327 PR gdb/17170
b8b8facf
DE
17328 * gdb.base/maint.exp: Update testing of per-command stats.
17329
1b5d0ab3
PA
173302014-07-16 Pedro Alves <palves@redhat.com>
17331
17332 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17333 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17334 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17335 (tfile_write_buf): New functions.
17336 (add_memory_block): Rewrite using the above.
17337 (adjust_function_address): New function.
17338 (FUNCTION_ADDRESS): New macro.
17339 (write_basic_trace_file): Remove short_x local, and use
17340 tfile_write_16. Change type of func_addr local to unsigned long
17341 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17342 here. Cast argument of add_memory_block to char pointer.
17343 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17344 (main): Remove parameters.
17345 * gdb.trace/tfile.exp: Remove nowarnings.
17346
4d974e88
SM
173472014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17348
17349 * gdb.base/debug-expr.exp: Test string evaluation with
17350 "debug expression" on.
17351
41e99568
PA
173522014-07-15 Pedro Alves <palves@redhat.com>
17353
17354 * gdb.base/reread.exp: Use clean_restart.
17355
487d9753
PL
173562014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17357
17358 * gdb.arch/avr-flash-qualifer.c: New.
17359 * gdb.arch/avr-flash-qualifer.exp: New.
17360
cc1c52ad
PA
173612014-07-14 Pedro Alves <palves@redhat.com>
17362
17363 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17364 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17365
1e973570
PA
173662014-07-14 Pedro Alves <palves@redhat.com>
17367
17368 * gdb.base/double-prompt-target-event-error.c: New file.
17369 * gdb.base/double-prompt-target-event-error.exp: New file.
17370
93d6eb10
PA
173712014-07-14 Pedro Alves <palves@redhat.com>
17372
17373 PR gdb/17072
17374 * gdb.base/paginate-inferior-exit.c: New file.
17375 * gdb.base/paginate-inferior-exit.exp: New file.
17376
0017922d
PA
173772014-07-14 Pedro Alves <palves@redhat.com>
17378
17379 PR gdb/17072
17380 * gdb.base/paginate-bg-execution.c: New file.
17381 * gdb.base/paginate-bg-execution.exp: New file.
17382
94696ad3
PA
173832014-07-14 Pedro Alves <palves@redhat.com>
17384
17385 PR gdb/17072
17386 * gdb.base/paginate-execution-startup.c: New file.
17387 * gdb.base/paginate-execution-startup.exp: New file.
17388 * lib/gdb.exp (pagination_prompt): New global.
17389 (default_gdb_spawn): New procedure, factored out from
17390 default_gdb_spawn.
17391 (default_gdb_start): Adjust to call default_gdb_spawn.
17392 (gdb_spawn): New procedure.
17393
bd293940
PA
173942014-07-14 Pedro Alves <palves@redhat.com>
17395
17396 * lib/gdb.exp (gdb_assert): New procedure.
17397 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17398
c933f875
PA
173992014-07-14 Pedro Alves <palves@redhat.com>
17400
17401 * gdb.base/execution-termios.c: New file.
17402 * gdb.base/execution-termios.exp: New file.
17403
d98b7a16
TT
174042014-07-14 Tom Tromey <tromey@redhat.com>
17405
17406 * gdb.cp/vla-cxx.cc: New file.
17407 * gdb.cp/vla-cxx.exp: New file.
17408
548740d6
TT
174092014-07-14 Tom Tromey <tromey@redhat.com>
17410
17411 * gdb.reverse/rerun-prec.c: New file.
17412 * gdb.reverse/rerun-prec.exp: New file.
17413
a25eb028
MR
174142014-07-12 Maciej W. Rozycki <macro@mips.com>
17415 Maciej W. Rozycki <macro@codesourcery.com>
17416
17417 * lib/gdb-utils.exp: New file.
17418 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17419 inline `gdb_init_command' processing.
17420 (gdb_start_cmd): Likewise.
17421 * lib/mi-support.exp (mi_run_cmd): Likewise.
17422 * README: Document `gdb_init_command' and `gdb_init_commands'.
17423
218c2655
JK
174242014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17425
17426 Fix false FAIL running under a very long directory name.
17427 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17428 and "set print elements 10000". Twice.
17429
5401fde3
YQ
174302014-07-11 Yao Qi <yao@codesourcery.com>
17431
17432 * gdb.base/exprs.exp: "set print symbol off".
17433
e76126e8
PA
174342014-07-11 Pedro Alves <palves@redhat.com>
17435
17436 * gdb.threads/kill.c: New file.
17437 * gdb.threads/kill.exp: New file.
17438
2d6f0de6
YQ
174392014-07-10 Yao Qi <yao@codesourcery.com>
17440
17441 * gdb.trace/tfile.c (write_basic_trace_file)
17442 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17443 address written to trace file.
17444
7180e04a
PA
174452014-07-09 Pedro Alves <palves@redhat.com>
17446
17447 * gdb.base/attach-wait-input.exp: New file.
17448 * gdb.base/attach-wait-input.c: New file.
17449
9a9a7608
AB
174502014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17451
17452 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17453 setting up test structures.
17454 (main): Call new test function.
17455 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17456 test function, continue into test function and walk test
17457 structures.
17458
161ac41e
YQ
174592014-07-02 Yao Qi <yao@codesourcery.com>
17460
17461 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17462 'bar_start' at the beginning of functions 'foo' and 'bar'
17463 respectively.
17464 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17465 instead of 'foo' and 'bar'.
17466
1f267ae3
MM
174672014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17468
17469 * gdb.btrace/segv.exp: New.
17470 * gdb.btrace/segv.c: New.
17471
2b239efb
LM
174722014-07-02 Luis Machado <lgustavo@codesourcery.com>
17473
17474 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17475 instruction.
17476
cf363f18
MW
174772014-06-30 Mark Wielaard <mjw@redhat.com>
17478
17479 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17480 vulture, vilify, villar): New volatile array constants.
17481 (vindictive, vegetation): New const volatile array constants.
17482 * gdb.base/volatile.exp: Test volatile and const volatile array
17483 types.
17484
aebf9d24
AA
174852014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17486
17487 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17488 target lacks support for awatch, rwatch, or hbreak.
17489
b67a2c6f
YQ
174902014-06-27 Yao Qi <yao@codesourcery.com>
17491
17492 * gdb.multi/dummy-frame-restore.exp: New.
17493 * gdb.multi/dummy-frame-restore.c: New.
17494
aef92902
MM
174952014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17496
17497 * gdb.btrace/gcore.exp: New.
17498
8e9db26e
PA
174992014-06-23 Pedro Alves <palves@redhat.com>
17500
17501 * gdb.base/watchpoint-reuse-slot.c: New file.
17502 * gdb.base/watchpoint-reuse-slot.exp: New file.
17503
70afc5b7
SC
175042014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17505
17506 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17507 progspace's filename in 'info', 'enable' and 'disable' command
17508 tests.
17509
b972bd9c
JK
175102014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17511
17512 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17513 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17514 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17515
125f8a3d
GB
175162014-06-20 Gary Benson <gbenson@redhat.com>
17517
17518 * gdb.arch/i386-avx.exp: Fix include file location.
17519 * gdb.arch/i386-sse.exp: Likewise.
17520
3ed9baed
IB
175212014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17522
17523 * gdb.dlang/expression.exp: New file.
17524
034f788c
PA
175252014-06-19 Pedro Alves <palves@redhat.com>
17526
17527 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17528 out from ...
17529 (top level): ... here. Iterate running tests under different
17530 scheduler-locking settings.
17531
45371d0c
LM
175322014-06-18 Luis Machado <lgustavo@codesourcery.com>
17533
17534 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17535 to DW_FORM_addr and use non-zero addresses.
17536
5d376983
SC
175372014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17538
17539 PR gdb/17017
17540 * gdb.python/py-xmethods.cc: Add global function call counters and
17541 increment them in their respective functions. Remove "cout"
17542 statements.
17543 * gdb.python/py-xmethods.exp: Make tests check the global function
17544 call counters instead of depending on inferior IO.
17545
a1aa2221
LM
175462014-06-18 Don Breazeal <donb@codesourcery.com>
17547
17548 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17549 Deleted procedure.
17550 (explicit_fork_parent_follow): Deleted procedure.
17551 (explicit_fork_child_follow): Deleted procedure.
17552 (test_follow_fork): New procedure.
17553 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 17554 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
17555 procedure calls.
17556
0fc05997
YQ
175572014-06-17 Yao Qi <yao@codesourcery.com>
17558
17559 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17560 CP1252.
17561
70795c52
LM
175622014-06-17 Luis Machado <lgustavo@codesourcery.com>
17563
17564 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17565 Initialize ptr and S explicitly.
17566 (skip_type_update_when_not_use_rtti_test): Likewise.
17567
6be47f0c
KS
175682014-06-16 Keith Seitz <keiths@redhat.com>
17569
17570 PR mi/15863
17571 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17572 the inferior is started.
17573
d03de421
PA
175742014-06-16 Pedro Alves <palves@redhat.com>
17575
17576 * gdb.base/break-main-file-remove-fail.c: New file.
17577 * gdb.base/break-main-file-remove-fail.exp: New file.
17578 * gdb.base/break-unload-file.exp: Use build_executable instead of
17579 prepare_for_testing.
17580 (test_break): New parameter "initial_load". Handle it.
17581 (top level): Add initial_load cmdline/file axis.
17582
f9579b99
TT
175832014-06-12 Tom Tromey <tromey@redhat.com>
17584
17585 * gdb.base/completion.exp: Don't use directory name in test.
17586
3657956b
GB
175872014-06-09 Gary Benson <gbenson@redhat.com>
17588
17589 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17590 separate the always-available ANSI-standard signals from the
17591 signals that require checking.
17592 (main): Likewise.
17593 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17594 Likewise.
17595 (main): Likewise.
17596
4186eb54
KS
175972014-06-07 Keith Seitz <keiths@redhat.com>
17598
17599 Revert:
17600 PR c++/16253
17601 * gdb.cp/var-tag.cc: New file.
17602 * gdb.cp/var-tag.exp: New file.
17603 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17604 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17605 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17606 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17607
25326a28 176082014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
17609
17610 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17611
829155c9
PA
176122014-06-06 Pedro Alves <palves@redhat.com>
17613
17614 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17615 in target debug output instead of looking at RSP packets,
17616 disabling the test on any target that uses hardware stepping.
17617 Update comments.
17618
61c8d22e
PA
176192014-06-06 Pedro Alves <palves@redhat.com>
17620
17621 * gdb.base/break-unload-file.exp: Fix typo.
17622
d9a47287
YQ
176232014-06-06 Yao Qi <yao@codesourcery.com>
17624
17625 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17626 from "jit_function" to "^jit_function".
17627
e5e01dbf
YQ
176282014-06-06 Yao Qi <yao@codesourcery.com>
17629
17630 * gdb.base/async.c (foo): Add one statement.
17631 * gdb.base/async.exp: Get the next instruction address and
17632 match the output of "nexti" by instruction address. Match
17633 the hex address in the output of "finish".
17634
73ba372c
GB
176352014-06-06 Gary Benson <gbenson@redhat.com>
17636
17637 * gdb.base/call-signals.c: Remove preprocessor conditionals
17638 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17639 SIGSEGV and SIGTERM.
17640 * gdb.base/sigall.c: Likewise.
17641 * gdb.base/unwindonsignal.c: Likewise.
17642 * gdb.reverse/sigall-reverse.c: Likewise.
17643
831517df
YQ
176442014-06-06 Yao Qi <yao@codesourcery.com>
17645
17646 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17647 readable, skip the test.
17648
b8b91e98
YQ
176492014-06-06 Yao Qi <yao@codesourcery.com>
17650
17651 * gdb.threads/staticthreads.c (thread_function): Move the line
17652 setting breakpoint on forward.
17653 * gdb.threads/staticthreads.exp: Update comments.
17654
fb934770
LC
176552014-06-05 Ludovic Courtès <ludo@gnu.org>
17656
17657 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17658 "history-append! type error".
17659
6ef284bd
SM
176602014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17661
17662 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17663 erroneous dprintf expected input.
17664
a872e241
DE
176652014-06-04 Doug Evans <xdje42@gmail.com>
17666
17667 * gdb.guile/scm-generics.exp: Delete.
17668
16f691fb
DE
176692014-06-04 Doug Evans <xdje42@gmail.com>
17670
17671 * gdb.guile/scm-breakpoint.exp: Update.
17672 Add tests for breakpoint registration.
17673
012370f6
TT
176742014-06-04 Tom Tromey <tromey@redhat.com>
17675
17676 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17677 VLA-in-union.
17678 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17679 inner_vla_struct, vla_union types. Initialize objects of those
17680 types and compute their sizes.
17681
9f5a4cef
HZ
176822014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17683 Hui Zhu <hui@codesourcery.com>
17684
17685 * gdb.base/fileio.exp: Add test for shell not available as well as
17686 available.
17687 * gdb.base/fileio.c (test_system): Check for shell twice.
17688
90a45c4d
YQ
176892014-06-04 Yao Qi <yao@codesourcery.com>
17690
17691 * gdb.base/auto-connect-native-target.exp: Remove redundant
17692 space from the regexp pattern.
17693
70017e41
YQ
176942014-06-04 Yao Qi <yao@codesourcery.com>
17695
17696 * gdb.base/default.exp: Replace "child" with "native" in
17697 regexp pattern.
17698
883964a7
SC
176992014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17700
17701 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17702 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17703 * gdb.python/py-xmethods.py: Python script supporting the
17704 new testcase and tests.
17705
ef370185
JB
177062014-06-03 Joel Brobecker <brobecker@adacore.com>
17707 Pedro Alves <palves@redhat.com>
17708
17709 PR breakpoints/17000
17710 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17711 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17712
1e2ccb61
BM
177132014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17714
17715 * gdb.base/subst.exp: Add tests to verify partial path matching
17716 output.
17717
c6ec5ab2
PA
177182014-06-03 Pedro Alves <palves@redhat.com>
17719
17720 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17721 target that doesn't use software single-stepping.
17722
835c559f
PA
177232014-06-03 Pedro Alves <palves@redhat.com>
17724
17725 PR breakpoints/17000
17726 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17727 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17728
06eb1586
DE
177292014-06-02 Doug Evans <xdje42@gmail.com>
17730
17731 * gdb.guile/scm-parameter.exp: New file.
17732
e698b8c4
DE
177332014-06-02 Doug Evans <xdje42@gmail.com>
17734
17735 * gdb.guile/scm-cmd.c: New file.
17736 * gdb.guile/scm-cmd.exp: New file.
17737
ded03782
DE
177382014-06-02 Doug Evans <xdje42@gmail.com>
17739
17740 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17741 pretty-printer lookup.
17742 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17743 (make-pp_s-printer): Call it.
17744 (make-pretty-printer-from-dict): New function.
17745 (lookup-pretty-printer-maker-from-dict): New function.
17746 (*pretty-printer*): Simplify.
17747 (make-objfile-pp_s-printer): New function.
17748 (install-objfile-pretty-printers!): New function.
17749 (make-progspace-pp_s-printer): New function.
17750 (install-progspace-pretty-printers!): New function.
17751 * gdb.guile/scm-progspace.c: New file.
17752 * gdb.guile/scm-progspace.exp: New file.
17753
41fac0cf
PA
177542014-06-02 Pedro Alves <palves@redhat.com>
17755
17756 * gdb.base/dprintf-bp-same-addr.c: New file.
17757 * gdb.base/dprintf-bp-same-addr.exp: New file.
17758
96ae5695
EBM
177592014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17760
17761 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17762 * gdb.arch/powerpc-power.s: Likewise.
17763
da02b3a8
JB
177642014-06-02 Joel Brobecker <brobecker@adacore.com>
17765
17766 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17767
c72b2e7b
YQ
177682014-06-01 Yao Qi <yao@codesourcery.com>
17769
17770 * gdb.base/watchpoint.exp (test_watch_location): Check null
17771 pointer can be dereferenced. If not, do the test, otherwise
17772 skip it.
17773
53e8a631
AB
177742014-05-30 Andrew Burgess <aburgess@broadcom.com>
17775
17776 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17777 results.
17778 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17779
938f0e2f
AB
177802014-05-30 Andrew Burgess <aburgess@broadcom.com>
17781
17782 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17783 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17784 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17785 * gdb.arch/amd64-invalid-stack-top.c: New file.
17786 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17787
9ba6657a
PA
177882014-05-30 Pedro Alves <palves@redhat.com>
17789
17790 PR breakpoints/17000
17791 * gdb.base/sss-bp-on-user-bp.c: New file.
17792 * gdb.base/sss-bp-on-user-bp.exp: New file.
17793
522c09bf
DB
177942014-05-30 David Blaikie <dblaikie@gmail.com>
17795
17796 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17797 gnu_inline semantics via attribute.
17798 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17799 source explicitly specifies the required semantics.
17800
bf4ef81e
MR
178012014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17802
17803 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17804
329ea579
PA
178052014-05-29 Pedro Alves <palves@redhat.com>
17806 Tom Tromey <tromey@redhat.com>
17807
17808 * gdb.base/async-shell.exp: Don't enable target-async.
17809 * gdb.base/async.exp
17810 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17811 parameter. Adjust.
17812 (top level): Don't test with "target-async".
17813 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17814 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17815 * gdb.base/inferior-died.exp: Don't enable target-async.
17816 * gdb.base/interrupt-noterm.exp: Likewise.
17817 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17818 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17819 * gdb.mi/mi-nonstop.exp: Likewise.
17820 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17821 * gdb.mi/mi-nsintrall.exp: Likewise.
17822 * gdb.mi/mi-nsmoribund.exp: Likewise.
17823 * gdb.mi/mi-nsthrexec.exp: Likewise.
17824 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17825 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17826 * gdb.python/py-evsignal.exp: Don't enable target-async.
17827 * gdb.python/py-evthreads.exp: Likewise.
17828 * gdb.python/py-prompt.exp: Likewise.
17829 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17830 * gdb.server/solib-list.exp: Don't enable target-async.
17831 * gdb.threads/thread-specific-bp.exp: Likewise.
17832 * lib/mi-support.exp: Adjust to use mi-async.
17833
fd664c91
PA
178342014-05-29 Pedro Alves <palves@redhat.com>
17835
17836 PR gdb/13860
17837 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17838 reason, even in sync mode.
17839
251bde03
PA
178402014-05-29 Pedro Alves <palves@redhat.com>
17841 Hui Zhu <hui@codesourcery.com>
17842
17843 PR PR15693
17844 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17845 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17846 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17847 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17848
7f3c0343
JB
178492014-05-28 Joel Brobecker <brobecker@adacore.com>
17850
17851 * config/monitor.exp (gdb_target_monitor): Replace use of
17852 "set remotebaud" by "set serial baud".
17853
b2715b27
AW
178542014-05-26 Andy Wingo <wingo@igalia.com>
17855
17856 * gdb.guile/scm-breakpoint.exp:
17857 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17858 properties instead of gdb-object-properties.
17859
498a4489
YQ
178602014-05-26 Yao Qi <yao@codesourcery.com>
17861
17862 * gdb.server/no-thread-db.exp: Specify source file name
17863 explicitly when setting a breakpoint.
17864
589fdceb
MM
178652014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17866
17867 * gdb.btrace/vdso.c: New.
17868 * gdb.btrace/vdso.exp: New.
17869
e9089e05
MM
178702014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17871
17872 * gdb.base/gcore.exp (capture_command_output): Move ...
17873 * lib/gdb.exp (capture_command_output): ... here.
17874
67b5c0c1
MM
178752014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17876
17877 * gdb.btrace/data.exp: Test memory access during btrace replay.
17878
a2199296
SM
178792014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17880
17881 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17882
17b2616c
PA
178832014-05-21 Pedro Alves <palves@redhat.com>
17884
17885 PR gdb/13860
17886 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17887 (top level): Test that output related to execution commands is
17888 sent to the console with CLI commands, but not with MI commands.
17889 Test that breakpoint events are always mirrored to the console.
17890 Also expect the new source line to be output after a "next" in
17891 async mode too. Make it a pass/fail test.
17892 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17893 output.
17894 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17895
5166082f
PA
178962014-05-21 Pedro Alves <palves@redhat.com>
17897
17898 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17899 Use them to test variations of "list" after reaching a breakpoint.
17900 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17901 Test "list" with listsize 10 after reaching a breakpoint.
17902 * gdb.python/python.exp (decode_line current location line
17903 number): Adjust expected line number.
17904
2f25d70f
SM
179052014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17906
17907 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17908 behavior for $args, pass it directly to "run".
17909
ff604a67
MR
179102014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17911
17912 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17913 30000 to 65536.
17914
6a3cb8e8
PA
179152014-05-21 Pedro Alves <palves@redhat.com>
17916
17917 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17918 auto-connect-native-target off".
17919 * gdb.base/auto-connect-native-target.c: New file.
17920 * gdb.base/auto-connect-native-target.exp: New file.
17921
4ebfc96e
PA
179222014-05-21 Pedro Alves <palves@redhat.com>
17923
17924 * gdb.base/default.exp: Test "target native" instead of "target
17925 child".
17926
36d46afb
MW
179272014-05-21 Mark Wielaard <mjw@redhat.com>
17928
17929 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17930
5876f503
JK
179312014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17932
17933 Fix TLS access for -static -pthread.
17934 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17935 <HAVE_TLS> (thread_function, main): Initialize it.
17936 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17937 Add clean_restart.
17938 <$have_tls != "">: Check TLSVAR.
17939
0256a6ac
PA
179402014-05-21 Pedro Alves <palves@redhat.com>
17941
17942 * gdb.base/dcache-line-read-error.c: New.
17943 * gdb.base/dcache-line-read-error.exp: New.
17944
936d2992
PA
179452014-05-20 Pedro Alves <palves@redhat.com>
17946
17947 * gdb.base/compare-sections.c: New file.
17948 * gdb.base/compare-sections.exp: New file.
17949
802e8e6d
PA
179502014-05-20 Pedro Alves <palves@redhat.com>
17951
17952 * gdb.base/break-idempotent.c: New file.
17953 * gdb.base/break-idempotent.exp: New file.
17954
e59fa00f
MM
179552014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17956
17957 * gdb.btrace/nohist.exp: New.
17958
8b696e31
YQ
179592014-05-20 Yao Qi <yao@codesourcery.com>
17960
17961 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17962 gdb.reverse directory and gdb_reverse_timeout exists in board
17963 setting.
17964 * README: Document gdb_reverse_timeout.
17965
73c9764f
YQ
179662014-05-20 Yao Qi <yao@codesourcery.com>
17967
17968 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17969 'test_file_name'. Treat args as a string instead of a list.
17970 (gdb_init): Rename argument 'args' by 'test_file_name'.
17971
f1f4348a
JK
179722014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17973
17974 * gdb.arch/powerpc-power.exp: New file.
17975 * gdb.arch/powerpc-power.s: New file.
17976
0dbe70ce
DE
179772014-05-16 Doug Evans <dje@google.com>
17978
17979 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17980 * gdb.base/completion.exp: Check that all expected files exist
17981 before doing file completion.
0dbe70ce 17982
8d551b02
DE
179832014-05-16 Doug Evans <dje@google.com>
17984
17985 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17986 Update.
17987 (do_syscall_tests_without_xml): Update.
17988
73eb7709
PA
179892014-05-16 Pedro Alves <palves@redhat.com>
17990
17991 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17992 instead of "unknown output after running".
17993
3fae92fc
YQ
179942014-05-16 Yao Qi <yao@codesourcery.com>
17995
17996 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17997 file1.txt from host at the end.
17998 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17999
c2b2ccc5
DE
180002014-05-15 Doug Evans <dje@google.com>
18001
18002 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18003 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18004 loading file. Add test for TU lookup.
18005
8c217a4b
SM
180062014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18007
18008 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18009 calling "-exec-arguments" or "set args" before running the
18010 inferior.
18011
3deb39c6
SM
180122014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18013
18014 * lib/mi-support.exp (mi_expect_stop): Expect message for
18015 inferiors that exit with non-zero exit code.
18016
71a79f8c
YQ
180172014-05-14 Yao Qi <yao@codesourcery.com>
18018
18019 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18020 match absolute path on remote host.
18021 (test_file_list_exec_source_files): Remove "/" from the
18022 pattern.
18023
f23fcd46
YQ
180242014-05-14 Yao Qi <yao@codesourcery.com>
18025
18026 * boards/local-remote-host-notty.exp (${board}_file): New
18027 proc.
18028
9404b58f
KM
180292014-05-07 Kyle McMartin <kyle@redhat.com>
18030
18031 Pushed by Joel Brobecker <brobecker@adacore.com>.
18032 * gdb.arch/aarch64-atomic-inst.c: New file.
18033 * gdb.arch/aarch64-atomic-inst.exp: New file.
18034
5e45f04c
YQ
180352014-05-07 Yao Qi <yao@codesourcery.com>
18036
18037 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18038 in current context" too.
18039
c888a17d
KS
180402014-05-05 Keith Seitz <keiths@redhat.com>
18041
18042 * gdb.linespec/ls-dollar.exp: Add test for linespec
18043 file:convenience_variable.
18044
290a839c
YQ
180452014-05-05 Yao Qi <yao@codesourcery.com>
18046
18047 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18048 traceframes into tfile and ctf trace files. Read data from
18049 trace file and test collected data.
18050 (gdb_collect_locals_test): Likewise.
18051 (gdb_unavailable_registers_test): Likewise.
18052 (gdb_unavailable_floats): Likewise.
18053 (gdb_collect_globals_test): Likewise.
18054 (top-level): Append "ctf" to trace_file_targets if GDB
18055 supports.
18056
b5262cd0
YQ
180572014-05-05 Yao Qi <yao@codesourcery.com>
18058
18059 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18060 code to ...
18061 (gdb_collect_args_test_1): ... it. New proc.
18062 (gdb_collect_locals_test): Move some code to ...
18063 (gdb_collect_locals_test_1): ... it. New proc.
18064 (gdb_unavailable_registers_test): Move some code to ...
18065 (gdb_unavailable_registers_test_1): ... it. New proc.
18066 (gdb_unavailable_floats): Move some code to ...
18067 (gdb_unavailable_floats_1): ... it. New proc.
18068
30a1e6cc
SDJ
180692014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18070
18071 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18072 probes to test for bitness recognition.
18073 * gdb.arch/amd64-stap-optional-prefix.exp
18074 (test_probe_value_without_reg): New procedure.
18075 Add code to test for different kinds of bitness.
18076
f33da99a
SDJ
180772014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18078
18079 PR breakpoints/16889
18080 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18081 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18082
5b80f00d
PA
180832014-05-01 Pedro Alves <palves@redhat.com>
18084
18085 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18086 gdb_file_cmd if no file is specified.
18087 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18088 last_loaded_file to set the remote exec-file.
18089
f8c2a73c
PA
180902014-05-01 Pedro Alves <palves@redhat.com>
18091
18092 * boards/local-remote-host.exp: New file.
18093
be6e8ac7
PA
180942014-05-01 Pedro Alves <palves@redhat.com>
18095
18096 * boards/local-remote-host.exp: Rename to ...
18097 * boards/local-remote-host-notty.exp: ... this.
18098
cac0dc8f
JB
180992014-04-28 Joel Brobecker <brobecker@adacore.com>
18100
18101 * gdb.ada/dyn_arrayidx: New testcase.
18102
9730e6cc
YQ
181032014-04-26 Yao Qi <yao@codesourcery.com>
18104
18105 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18106 and compute the length of function main. Save it in
18107 $main_length.
18108 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
18109 (top-level): Use gdb_compile to compile objects into
18110 executable and restart GDB. Remove invocation to
18111 prepare_for_testing.
18112
7ae1a6a6
PA
181132014-04-25 Simon Marchi <simon.marchi@ericsson.com>
18114 Pedro Alves <palves@redhat.com>
18115
18116 PR server/16255
18117 * gdb.multi/multi-attach.c: New file.
18118 * gdb.multi/multi-attach.exp: New file.
18119
4082afcc
PA
181202014-04-25 Pedro Alves <palves@redhat.com>
18121
18122 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
18123 user.
18124 (top level): Test that "set remote conditional-breakpoints-packet
18125 off" works as intended.
18126 * gdb.base/dprintf.exp: Test that "set remote
18127 breakpoint-commands-packet off" works as intended.
18128 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
18129 New function.
18130 (top level): Call it.
18131 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
18132 remote fast-tracepoints-packet off" works as intended.
18133 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
18134 * lib/gdb.exp (gdb_is_target_remote): ... here.
18135
2abc3f8d
DB
181362014-04-24 David Blaikie <dblaikie@gmail.com>
18137
18138 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
18139 ensure clang would not discard them.
18140 * gdb.base/gdbvars.c: Ditto.
18141 * gdb.base/memattr.c: Ditto.
18142 * gdb.base/whatis.c: Ditto.
18143 * gdb.python/py-prettyprint.c: Ditto.
18144 * gdb.trace/actions.c: Ditto.
18145 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
18146 ensure clang would not discard it.
18147
bfd39632
DB
181482014-04-24 David Blaikie <dblaikie@gmail.com>
18149
18150 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
18151 clang to emit the full definition of type required by the test
18152 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
18153
22842ff6
DB
181542014-04-24 David Blaikie <dblaikie@gmail.com>
18155
18156 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
18157 coax Clang into emitting the definition of the type.
18158 * gdb.cp/pr10728-x.h (y): Ditto.
18159 * gdb.cp/pr10728-y.cc (y): Ditto.
18160
c2e827ad
DB
181612014-04-24 David Blaikie <dblaikie@gmail.com>
18162
18163 * gdb.base/label.exp: XFAIL label related tests under Clang.
18164 * gdb.cp/cplabel.exp: Ditto.
18165 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
18166 under Clang those using labels.
18167
4c2d33e7
YQ
181682014-04-25 Yao Qi <yao@codesourcery.com>
18169
18170 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18171 double_label.
18172 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18173 partial_label and double_label.
18174
56083b99
DB
181752014-04-24 David Blaikie <dblaikie@gmail.com>
18176
18177 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18178
25d4e99d
DB
181792014-04-24 David Blaikie <dblaikie@gmail.com>
18180
18181 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18182 of the function to work across GCC and Clang.
18183 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18184 pointer types (const void ** const V void **).
18185
01f9f808
MS
181862014-04-24 Michael Sturm <michael.sturm@mintel.com>
18187 Walfred Tedeschi <walfred.tedeschi@intel.com>
18188
18189 * Makefile.in (EXECUTABLES): Added i386-avx512.
18190 * gdb.arch/i386-avx512.c: New file.
18191 * gdb.arch/i386-avx512.exp: Likewise.
18192
4b48d439
KS
181932014-04-23 Keith Seitz <keiths@redhat.com>
18194
18195 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18196 (mi_make_breakpoint_table): New procedure.
18197 (mi_create_breakpoint): Use mi_make_breakpoint
18198 and return the result.
18199 (mi_make_breakpoint): New procedure.
18200 (mi_build_kv_pairs): New procedure.
18201
18202 * gdb.mi/mi-break.exp: Remove unused globals,
18203 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18204 All callers updated.
18205 * gdb.mi/mi-dprintf.exp: Use variable to track command
18206 number.
18207 Update all callers of mi_create_breakpoint and use
18208 mi_make_breakpoint_table.
18209 Remove any unused global variables.
18210 * gdb.mi/mi-nonstop.exp: Likewise.
18211 * gdb.mi/mi-nsintrall.exp: Likewise.
18212 * gdb.mi/mi-nsmoribund.exp: Likewise.
18213 * gdb.mi/mi-nsthrexec.exp: Likewise.
18214 * gdb.mi/mi-reverse.exp: Likewise.
18215 * gdb.mi/mi-simplerun.exp: Likewise.
18216 * gdb.mi/mi-stepn.exp: Likewise.
18217 * gdb.mi/mi-syn-frame.exp: Likewise.
18218 * gdb.mi/mi-until.exp: Likewise.
18219 * gdb.mi/mi-var-cp.exp: Likewise.
18220 * gdb.mi/mi-var-display.exp: Likewise.
18221 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18222 * gdb.mi/mi2-var-child.exp: Likewise.
18223 * gdb.mi/mi-vla-c99.exp: Likewise.
18224 * lib/mi-support.exp: Likewise.
18225
18226 From Ian Lance Taylor <iant@cygnus.com>:
18227 * lib/gdb.exp (parse_args): New procedure.
18228
08351840
PA
182292014-04-23 Pedro Alves <palves@redhat.com>
18230
18231 * gdb.base/break-unload-file.c: New file.
18232 * gdb.base/break-unload-file.exp: New file.
18233 * gdb.base/sym-file-lib.c (baz): New function.
18234 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18235 field.
18236 (load): Store the segment's mapped size.
18237 (unload): New function.
18238 (unload_shlib): New function.
18239 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18240 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18241 set a breakpoint at baz, and call it.
18242 * gdb.base/sym-file.exp: New tests for stale breakpoint
18243 instructions.
18244
076855f9
PA
182452014-04-23 Pedro Alves <palves@redhat.com>
18246
18247 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18248 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18249 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18250 * gdb.base/hbreak-unmapped.c: New file.
18251 * gdb.base/hbreak-unmapped.exp: New file.
18252 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18253 * lib/gdb.exp (gdb_is_target_remote): ... here.
18254
483805cf
PA
182552014-04-22 Pedro Alves <palves@redhat.com>
18256
18257 * gdb.base/consecutive-step-over.c: New file.
18258 * gdb.base/consecutive-step-over.exp: New file.
18259
06d97543
PA
182602014-04-22 Pedro Alves <palves@redhat.com>
18261
18262 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18263 instead of send_gdb/gdb_expect.
18264
b4429ea2
YQ
182652014-04-22 Yao Qi <yao@codesourcery.com>
18266
18267 * lib/trace-support.exp (generate_tracefile): New procedure.
18268 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18269 return 0.
18270 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18271 if generate_tracefile returns 1.
18272
51d48146
PA
182732014-04-18 Tom Tromey <palves@redhat.com>
18274 Pedro alves <tromey@redhat.com>
18275
18276 PR backtrace/15558
18277 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18278 with a backtrace limit.
18279 * gdb.python/py-frame-inline.exp: Test running to an inline
18280 function with a backtrace limit, and printing the newest frame.
18281 * gdb.python/py-frame-inline.c (main): Call f.
18282
bd1dce5f
MS
182832014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18284
18285 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18286
40d1a503
MS
182872014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18288
18289 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18290 Drop prefix from unsupported source file path.
18291
389b98f7
YQ
182922014-04-17 Yao Qi <yao@codesourcery.com>
18293
18294 * lib/gdb.exp (with_target_charset): New proc.
18295 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18296 with_target_charset.
18297 (test_print_strings): Likewise.
18298 (test_repeat_bytes): Likewise.
18299 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18300 for some tests.
18301
22869d73
KS
183022014-04-16 Keith Seitz <keiths@redhat.com>
18303
18304 PR gdb/15827
18305 * gdb.dwarf2/corrupt.c: New file.
18306 * gdb.dwarf2/corrupt.exp: New file.
18307
c4f87ca6
KS
183082014-04-16 Keith Seitz <keiths@redhat.com>
18309
18310 PR c++/16597
18311 * gdb.cp/namelessclass.cc: New file.
18312 * gdb.cp/namelessclass.exp: New file.
18313 * gdb.cp/namelessclass.S: New file.
18314
ab19de87
DE
183152014-04-16 Doug Evans <dje@google.com>
18316
18317 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18318 Add comment.
18319 (gdbserver_default_get_comm_port): New function.
18320 (gdbserver_start): Check if board file provided
18321 "gdbserver,get_comm_port" and use it if so.
18322 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18323 (gdb,socketport): Set to "stdio".
18324 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18325 (stdio_gdbserver_template): Delete.
18326 (${board}_get_remote_address): Update.
18327 (${board}_build_remote_cmd): Delete.
18328 (${board}_get_comm_port): New function.
18329 (${board}_spawn): Update.
18330 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18331 Delete.
18332 (${board}_get_remote_address): Update.
18333 (${board}_get_comm_port): New function.
18334
fc98a809
AB
183352014-04-16 Andrew Burgess <aburgess@broadcom.com>
18336
18337 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18338 appearing in any order.
18339
87fd9e6e
DE
183402014-04-15 Doug Evans <dje@google.com>
18341
18342 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18343 uninitialized value of "description".
18344
099fc3ea
KS
183452014-04-15 Keith Seitz <keiths@redhat.com>
18346
18347 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18348 Remove unused globals.
18349 (test_running_the_program): Likewise.
18350 (test_controlled_execution): Likewise.
18351 (test_controlling_breakpoints): Likewise.
18352 (test_program_termination): Likewise.
18353
5da151d4
KS
183542014-04-15 Keith Seitz <keiths@redhat.com>
18355
18356 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18357 unused globals.
18358 (test_rbreak_creation_and_listing): Likewise.
18359 (test_ignore_count): Likewise.
18360 (test_error): Likewise.
18361
35e5d2f0
PA
183622014-04-15 Pedro Alves <palves@redhat.com>
18363
18364 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18365 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18366 sym-file-loader.c.
18367 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18368 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18369 to sym-file-loader.c.
18370 (struct library): Forward declare.
18371 (load_shlib, lookup_function): Change prototypes.
18372 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18373 (translate_offset): Remove declarations.
18374 (get_text_addr): New declaration.
18375 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18376 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18377 sym-file-loader.h.
18378 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18379 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18380 here from sym-file-loader.h.
18381 (struct library): New structure.
18382 (load_shlib, lookup_function): Change prototypes and adjust to
18383 work with a struct library.
18384 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18385 (translate_offset): Make static.
18386 (get_text_addr): New function.
18387 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18388
eb4c1710
PA
183892014-04-15 Pedro Alves <palves@redhat.com>
18390
18391 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18392
2d1baf52
PA
183932014-04-15 Pedro Alves <palves@redhat.com>
18394
18395 * gdb.base/sym-file-loader.c: Include <limits.h>.
18396 (SELF_LINK): New define.
18397 (get_origin): New function.
18398 (load_shlib): Use it.
18399 * gdb.base/sym-file.exp: Don't early return if the target is
18400 remote. Use runto_main, and issue fail is that fails. Use
18401 gdb_load_shlibs.
18402 (shlib_name): Delete.
18403 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18404
7dd6df01
PA
184052014-04-15 Pedro Alves <palves@redhat.com>
18406
18407 * gdb.base/sym-file.exp: Remove regex characters from test
18408 message. Don't refer to breakpoint numbers in test messages.
18409
b50c8614
KS
184102014-04-14 Keith Seitz <keiths@redhat.com>
18411
18412 PR c++/16253
18413 * gdb.cp/var-tag.cc: New file.
18414 * gdb.cp/var-tag.exp: New file.
18415 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18416 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18417 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18418 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18419
3d567982
TT
184202014-04-14 Tom Tromey <tromey@redhat.com>
18421
18422 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18423 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18424 type.
18425 * gdb.cp/enum-class.exp: New file.
18426 * gdb.cp/enum-class.cc: New file.
18427
0626fc76
TT
184282014-04-14 Tom Tromey <tromey@redhat.com>
18429
18430 * gdb.dwarf2/enum-type.exp: New file.
18431
dca325b3
SA
184322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18433
18434 * gdb.mi/mi-vla-c99.exp: New file.
18435 * gdb.mi/vla.c: New file.
18436
5854b38a
SA
184372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18438
18439 * gdb.base/vla-datatypes.c: New file.
18440 * gdb.base/vla-datatypes.exp: New file.
18441
463bb957
SA
184422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18443
18444 * gdb.base/vla-ptr.c: New file.
18445 * gdb.base/vla-ptr.exp: New file.
18446
3dd170be
SA
184472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18448
18449 * gdb.dwarf2/count.exp: New file.
18450
5ecaaa66
SA
184512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18452
18453 * gdb.base/vla-sideeffect.c: New file.
18454 * gdb.base/vla-sideeffect.exp: New file.
18455
41f1ada5
DB
184562014-04-14 David Blaikie <dblaikie@gmail.com>
18457
18458 * gdb.mi/non-stop.c: Add return value for non-void function return
18459 statement.
18460 * gdb.threads/staticthreads.c: Ditto.
18461
0be03e84
DE
184622014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18463 Doug Evans <xdje42@gmail.com>
18464
18465 * gdb.guile/scm-value.c: Improve test case.
18466 * gdb.guile/scm-value.exp: Add new test.
18467
f180a1fb
DB
184682014-04-11 David Blaikie <dblaikie@gmail.com>
18469
18470 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18471 override Clang's default.
18472
6b662e19
JB
184732014-04-11 Joel Brobecker <brobecker@adacore.com>
18474
18475 Revert the following changes (regressions):
18476
18477 * gdb.base/vla-sideeffect.c: New file.
18478 * gdb.base/vla-sideeffect.exp: New file.
18479
18480 * gdb.dwarf2/count.exp: New file.
18481
18482 * gdb.base/vla-multi.c: New file.
18483 * gdb.base/vla-multi.exp: New file.
18484
18485 * gdb.base/vla-ptr.c: New file.
18486 * gdb.base/vla-ptr.exp: New file.
18487
18488 * gdb.base/vla-datatypes.c: New file.
18489 * gdb.base/vla-datatypes.exp: New file.
18490
18491 * gdb.mi/mi-vla-c99.exp: New file.
18492 * gdb.mi/vla.c: New file.
18493
245a5f0b
KS
184942014-04-11 Keith Seitz <keiths@redhat.com>
18495
18496 PR c++/16675
18497 * gdb.cp/cpsizeof.exp: New file.
18498 * gdb.cp/cpsizeof.cc: New file.
18499
58a84dcf
SA
185002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18501
191a8a90
JB
18502 * gdb.mi/mi-vla-c99.exp: New file.
18503 * gdb.mi/vla.c: New file.
58a84dcf 18504
c8655f75
SA
185052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18506
18507 * gdb.base/vla-datatypes.c: New file.
18508 * gdb.base/vla-datatypes.exp: New file.
18509
024e13b4
SA
185102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18511
18512 * gdb.base/vla-ptr.c: New file.
18513 * gdb.base/vla-ptr.exp: New file.
18514
1a237e0e
SA
185152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18516
18517 * gdb.base/vla-multi.c: New file.
18518 * gdb.base/vla-multi.exp: New file.
18519
504f3432
SA
185202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18521
18522 * gdb.dwarf2/count.exp: New file.
18523
3bce8237
SA
185242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18525
191a8a90
JB
18526 * gdb.base/vla-sideeffect.c: New file.
18527 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 18528
322f9c21
YQ
185292014-04-11 Yao Qi <yao@codesourcery.com>
18530
18531 * gdb.base/completion.exp: Check file exists before running tests
18532 on file completion.
18533
d708bcd1
PA
185342014-04-10 Pedro Alves <palves@redhat.com>
18535
18536 * gdb.base/cond-eval-mode.c: New file.
18537 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18538 prepare_for_testing to build the new file. Check result of
18539 runto_main.
18540 (test_break, test_watch): New procedures.
18541 (top level): Use them.
18542
ae1d2761
PM
185432014-04-08 Pierre Muller <muller@sourceware.org>
18544
18545 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18546 Ctrl-V use for mingw hosts.
18547
7af389b8
SC
185482014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18549
18550 * gdb.python/py-value.c: Improve test case.
18551 * gdb.python/py-value.exp: Add new test.
18552
5e703181
DE
185532014-04-07 David Blaikie <dblaikie@gmail.com>
18554
18555 * lib/compiler.c: Identify the clang compiler.
18556 * lib/compiler.cc: Ditto.
18557
9810b410
YQ
185582014-04-03 Yao Qi <yao@codesourcery.com>
18559
18560 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18561
98d1b8dc
AB
185622014-04-01 Anton Blanchard <anton@samba.org>
18563
18564 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18565 messages unique.
18566
3114cea1
AB
185672014-04-01 Anton Blanchard <anton@samba.org>
18568
18569 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18570 prepare_for_testing.
18571
62f7182c
AB
185722014-04-01 Anton Blanchard <anton@samba.org>
18573
18574 * gdb.arch/ppc64-atomic-inst.c: Remove.
18575 * gdb.arch/ppc64-atomic-inst.S: New file.
18576 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18577
770e7fc7
DE
185782014-03-31 Doug Evans <dje@google.com>
18579
18580 * gdb.base/print-symbol-loading-lib.c: New file.
18581 * gdb.base/print-symbol-loading-main.c: New file.
18582 * gdb.base/print-symbol-loading.exp: New file.
18583
46e2bafa
YQ
185842014-03-31 Yao Qi <yao@codesourcery.com>
18585
18586 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18587
8776cfe9
JB
185882014-03-28 Joel Brobecker <brobecker@adacore.com>
18589
18590 * gdb.ada/mi_dyn_arr: New testcase.
18591
5d1ef361
DE
185922014-03-27 Doug Evans <dje@google.com>
18593
18594 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18595
b5bee914
YQ
185962014-03-27 Yao Qi <yao@codesourcery.com>
18597
18598 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18599 if target is nios2-*-*.
18600
0d4d0e77
YQ
186012014-03-26 Yao Qi <yao@codesourcery.com>
18602
18603 * lib/gdb.exp (readline_is_used): New proc.
18604 * gdb.base/completion.exp: Move tests on command complete up.
18605 Skip the rest of tests if readline is not used.
18606 * gdb.ada/complete.exp: Skp the test if readline is not
18607 used.
18608 * gdb.base/filesym.exp: Likewise.
18609 * gdb.base/macscp.exp: Likewise.
18610 * gdb.base/readline-ask.exp: Likewise.
18611 * gdb.base/readline.exp: Likewise.
18612 * gdb.python/py-cmd.exp: Likewise.
18613 * gdb.trace/tfile.exp: Likewise.
18614
29361eee
YQ
186152014-03-26 Yao Qi <yao@codesourcery.com>
18616
18617 * gdb.base/macscp.exp: Fix code format issues.
18618
bc9a5525
UW
186192014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18620
18621 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18622 * gdb.asm/powerpc64le.inc: New file.
18623
d3839ede
PA
186242014-03-25 Pedro Alves <palves@redhat.com>
18625 Doug Evans <dje@google.com>
18626
18627 * gdb.base/source-execution.c: New file.
18628 * gdb.base/source-execution.exp: New file.
18629 * gdb.base/source-execution.gdb: New file.
18630
01672a57
DE
186312014-03-24 Doug Evans <dje@google.com>
18632
18633 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18634 using fission.
18635
88bbeca9
HZ
186362014-03-24 Hui Zhu <hui@codesourcery.com>
18637 Pedro Alves <palves@redhat.com>
18638
18639 PR breakpoints/16101
18640 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18641 test pass/fail messages. Detect missing support for dprintf when
18642 breakpoints are actually inserted.
18643 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18644 breakpoints are actually inserted.
18645 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18646 fails.
18647
d2348791
JK
186482014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18649
18650 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18651
feef67ab
DE
186522014-03-22 Doug Evans <xdje42@gmail.com>
18653
18654 * gdb.python/python.exp (python not supported): Verify multi-line
18655 python command issues an error.
25d743f9 18656 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 18657 guile command issues an error.
feef67ab 18658
ecebef6a
MR
186592014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18660
18661 * gdb.threads/thread-specific.exp: Handle the lack of usable
18662 $this_breakpoint and $this_thread.
18663
ccdd1909
HZ
186642014-03-21 Hui Zhu <hui@codesourcery.com>
18665
18666 * gdb.base/attach.exp (do_command_attach_tests): New.
18667
beb460e8
PA
186682014-03-20 Tom Tromey <tromey@redhat.com>
18669 Pedro Alves <palves@redhat.com>
18670
18671 PR cli/15718
18672 * gdb.base/condbreak-call-false.c: New file.
18673 * gdb.base/condbreak-call-false.exp: New file.
18674
40acf43a
PA
186752014-03-20 Pedro Alves <palves@redhat.com>
18676
18677 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18678 Delete.
18679 (block_signals, unblock_signals): Delete.
18680 (child_function_2, main): Remove references to deleted variable
18681 and functions.
18682
9f5e1e02
PA
186832014-03-20 Pedro Alves <palves@redhat.com>
18684
18685 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18686 Use pthread_kill to signal thread 2.
18687 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18688 Adjust to make the test send itself a signal rather than using the
18689 host's "kill" command.
18690
99619bea
PA
186912014-03-20 Pedro Alves <palves@redhat.com>
18692
18693 * gdb.threads/multiple-step-overs.c: New file.
18694 * gdb.threads/multiple-step-overs.exp: New file.
18695 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18696 Adjust expected infrun debug output.
18697
2adfaa28
PA
186982014-03-20 Pedro Alves <palves@redhat.com>
18699
18700 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18701 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18702
31e77af2
PA
187032014-03-20 Pedro Alves <palves@redhat.com>
18704
18705 PR breakpoints/7143
18706 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18707 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18708 of gdb_test_multiple.
18709 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18710 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18711
b9f437de
PA
187122014-03-20 Pedro Alves <palves@redhat.com>
18713
18714 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18715 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18716
05adc73e
PA
187172014-03-19 Pedro Alves <palves@redhat.com>
18718
18719 * gdb.base/async.exp: Remove early return.
18720
6048b950
PA
187212014-03-19 Pedro Alves <palves@redhat.com>
18722
18723 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18724
8bcfb00a
PA
187252014-03-19 Pedro Alves <palves@redhat.com>
18726
18727 * gdb.base/async.exp (test_background): Expect \r\n after
18728 "completed." in the fail pattern.
18729
884e37dc
PA
187302014-03-19 Pedro Alves <palves@redhat.com>
18731
18732 * gdb.base/async.exp (test_background): New procedure.
18733 Use it for all background execution command tests.
18734
148e57e2
PA
187352014-03-19 Pedro Alves <palves@redhat.com>
18736
18737 * gdb.base/async.exp: Use prepare_for_testing.
18738
f48088c7
PA
187392014-03-19 Pedro Alves <palves@redhat.com>
18740
18741 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18742 the same line.
18743
e2f6c966
PA
187442014-03-19 Pedro Alves <palves@redhat.com>
18745
18746 * gdb.base/async.c (main): Add "jump here" and "until here" line
18747 marker comments.
18748 * gdb.base/async.exp (jump_here): New global.
18749 (jump& test): Use it.
18750 (until_here): New global.
18751 (until& test): Use it.
18752
c30568d4
PA
187532014-03-19 Pedro Alves <palves@redhat.com>
18754
18755 * gdb.base/async.exp: Don't frob gdb_protocol.
18756
0172b6a7
DE
187572014-03-18 Doug Evans <xdje42@gmail.com>
18758
18759 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18760 Fix spelling of exec-done-display.
18761
06c868a8
JK
187622014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18763
18764 PR gdb/15358
18765 * gdb.base/gdb-sigterm.c: New file.
18766 * gdb.base/gdb-sigterm.exp: New file.
18767
0c7e1a46
PA
187682014-03-18 Pedro Alves <palves@redhat.com>
18769
18770 PR gdb/13860
18771 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18772 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18773 solib-event.
18774
f7c77d93
JB
187752014-03-17 Joel Brobecker <brobecker@adacore.com>
18776
18777 * gdb.ada/pckd_arr_ren: New testcase.
18778
5a1e8c7a
DE
187792014-03-13 Doug Evans <xdje42@gmail.com>
18780
18781 PR guile/16612
18782 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18783 collect after discarding symbols.
18784
350e1a76
DE
187852014-03-13 Ludovic Courtès <ludo@gnu.org>
18786 Doug Evans <xdje42@gmail.com>
18787
18788 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18789 to history survives a gc.
18790
a69900ae
PA
187912014-03-13 Pedro Alves <palves@redhat.com>
18792
18793 * gdb.base/default.exp: Don't test "target procfs".
18794
5db9f0bd
PA
187952014-03-13 Pedro Alves <palves@redhat.com>
18796
18797 * gdb.base/default.exp: Update "target child" and "target procfs"
18798 tests to not expect "Unix".
18799
b3ccfe11
TT
188002014-03-12 Tom Tromey <tromey@redhat.com>
18801
18802 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18803 New procs. Add target-async tests.
18804 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18805 Add target-async tests.
18806
646f4417
AA
188072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18808
18809 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18810 'func_start' and 'func_end' for the beginning and end of the
18811 function code, respectively.
18812 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18813 'func_end' instead of 'func' and 'main'.
18814
288c211f
AA
188152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18816
18817 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18818 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18819 generate the debug info assembler source.
18820
e0c0f156
AA
188212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18822
18823 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18824 * gdb.dwarf2/arr-subrange.exp: Likewise.
18825 * gdb.dwarf2/dwz.exp: Likewise.
18826 * gdb.dwarf2/method-ptr.exp: Likewise.
18827 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18828 * gdb.dwarf2/subrange.exp: Likewise.
18829 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18830 * gdb.dwarf2/implptrpiece.exp: Likewise.
18831 * gdb.dwarf2/nostaticblock.exp: Likewise.
18832
0e5c4555
AA
188332014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18834
18835 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18836 directory to absolute path name arguments.
18837
5ec18f2b
JG
188382014-03-10 Joel Brobecker <brobecker@adacore.com>
18839
18840 * gdb.ada/tagged_access: New testcase.
18841
847fc4f2
MM
188422014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18843
18844 * gdb.btrace/data.exp: Update expected output.
18845
cc3da688
YQ
188462014-03-06 Yao Qi <yao@codesourcery.com>
18847
18848 * gdb.trace/pr16508.exp: New file.
18849
0f26cec1
PA
188502014-03-05 Pedro Alves <palves@redhat.com>
18851
18852 PR gdb/16575
18853 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18854 procedure.
18855 (top level): Adjust to use it. Add tests that exercise breakpoint
18856 interaction with the code-cache.
18857
7a5a839f
LC
188582014-02-26 Ludovic Courtès <ludo@gnu.org>
18859
18860 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18861 test for 'history-append!'.
18862
31aa7e4e
JB
188632014-02-26 Joel Brobecker <brobecker@adacore.com>
18864
18865 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18866 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18867 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18868 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18869 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18870 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18871
1b588015
JB
188722014-02-26 Joel Brobecker <brobecker@adacore.com>
18873
18874 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18875 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18876 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18877
55426c9d
JB
188782014-02-26 Joel Brobecker <brobecker@adacore.com>
18879
18880 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18881
dc53a7ad
JB
188822014-02-26 Joel Brobecker <brobecker@adacore.com>
18883
18884 * gdb.dwarf2/arr-stride.c: New file.
18885 * gdb.dwarf2/arr-stride.exp: New file.
18886
12ab52e9
PA
188872014-02-26 Pedro Alves <palves@redhat.com>
18888
18889 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18890 that won't ever trigger. Make sure that GDB reports the correct
18891 breakpoint that caused the stop.
18892
849c862e
JK
188932014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18894
18895 PR gdb/16626
18896 * gdb.base/auto-load-script: New file.
18897 * gdb.base/auto-load.c: New file.
18898 * gdb.base/auto-load.exp: New file.
18899
71b7d793
JK
18900 PR gdb/16626
18901 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18902
e2f0d509
JK
189032014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18904
18905 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18906 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18907
50cc37c8
DE
189082014-02-24 Doug Evans <dje@google.com>
18909
18910 * lib/gdb.exp (run_on_host): Log error output if program fails.
18911
ea4758f2
PA
189122014-02-21 Pedro Alves <palves@redhat.com>
18913
18914 * gdb.threads/step-after-sr-lock.c: Rename to ...
18915 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18916 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18917 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18918 ... this.
18919
d7b30f67
SDJ
189202014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18921
18922 PR tdep/16397
18923 * gdb.arch/amd64-stap-special-operands.exp: New file.
18924 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18925 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18926 * gdb.arch/amd64-stap-triplet.S: Likewise.
18927 * gdb.arch/amd64-stap-triplet.c: Likewise.
18928
83deb43f
JB
189292014-02-20 Joel Brobecker <brobecker@adacore.com>
18930
18931 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18932 in .section pseudo-op.
18933
adde2bff
DE
189342014-02-20 lin zuojian <manjian2006@gmail.com>
18935 Joel Brobecker <brobecker@adacore.com>
18936 Doug Evans <xdje42@gmail.com>
18937
18938 PR symtab/16581
18939 * gdb.dwarf2/dw2-icycle.S: New file.
18940 * gdb.dwarf2/dw2-icycle.c: New file.
18941 * gdb.dwarf2/dw2-icycle.exp: New file.
18942
f7bd0f78
SC
189432014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18944
18945 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18946 operations on gdb.Value objects.
18947 * gdb.python/py-value-cc.exp: Add new test to test operations on
18948 gdb.Value objects.
18949
c17ef0d5
DE
189502014-02-18 Doug Evans <dje@google.com>
18951
18952 * Makefile.in (TESTS): New variable.
18953 (expanded_tests, expanded_tests_or_none): New variables
18954 (check-single): Pass $(expanded_tests_or_none) to runtest.
18955 (check-parallel): Only run tests in $(TESTS) if non-empty.
18956 (check/no-matching-tests-found): New rule.
18957 * README: Document TESTS makefile variable.
18958
5dd3176f
DE
189592014-02-18 Doug Evans <dje@google.com>
18960
18961 * Makefile.in (check-parallel): rm -rf outputs temp.
18962
0b10be4f
JK
189632014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18964
18965 Fix "ERROR: no fileid for" in the testsuite.
18966 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18967
85f224e7
DE
189682014-02-12 Doug Evans <dje@google.com>
18969
18970 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18971 (MISCELLANEOUS): New variable.
18972 (clean): rm -rf $(MISCELLANEOUS).
18973 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18974 dwp live in the same directory as symlinks, with each symlink pointed
18975 to a differently named file in a different directory.
18976
149b30ff
DE
189772014-02-11 Doug Evans <dje@google.com>
18978
18979 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18980 of Tcl file commands.
18981
1dfdac32
MK
189822014-02-10 Mark Kettenis <kettenis@gnu.org>
18983
18984 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18985 "kill -SIGUSR1 -1".
18986
aa4fb036
JB
189872014-02-10 Joel Brobecker <brobecker@adacore.com>
18988
18989 * gdb.ada/tick_length_array_enum_idx: New testcase.
18990
ed3ef339
DE
189912014-02-10 Doug Evans <xdje42@gmail.com>
18992
18993 * configure.ac (AC_OUTPUT): Add gdb.guile.
18994 * configure: Regenerate.
18995 * lib/gdb-guile.exp: New file.
18996 * lib/gdb.exp (get_target_charset): New function.
18997 * gdb.base/help.exp: Update expected output from "apropos apropos".
18998 * gdb.guile/Makefile.in: New file.
18999 * gdb.guile/guile.exp: New file.
19000 * gdb.guile/scm-arch.c: New file.
19001 * gdb.guile/scm-arch.exp: New file.
19002 * gdb.guile/scm-block.c: New file.
19003 * gdb.guile/scm-block.exp: New file.
19004 * gdb.guile/scm-breakpoint.c: New file.
19005 * gdb.guile/scm-breakpoint.exp: New file.
19006 * gdb.guile/scm-disasm.c: New file.
19007 * gdb.guile/scm-disasm.exp: New file.
19008 * gdb.guile/scm-equal.c: New file.
19009 * gdb.guile/scm-equal.exp: New file.
19010 * gdb.guile/scm-error.exp: New file.
19011 * gdb.guile/scm-error.scm: New file.
19012 * gdb.guile/scm-frame-args.c: New file.
19013 * gdb.guile/scm-frame-args.exp: New file.
19014 * gdb.guile/scm-frame-args.scm: New file.
19015 * gdb.guile/scm-frame-inline.c: New file.
19016 * gdb.guile/scm-frame-inline.exp: New file.
19017 * gdb.guile/scm-frame.c: New file.
19018 * gdb.guile/scm-frame.exp: New file.
19019 * gdb.guile/scm-generics.exp: New file.
19020 * gdb.guile/scm-gsmob.exp: New file.
19021 * gdb.guile/scm-iterator.c: New file.
19022 * gdb.guile/scm-iterator.exp: New file.
19023 * gdb.guile/scm-math.c: New file.
19024 * gdb.guile/scm-math.exp: New file.
19025 * gdb.guile/scm-objfile-script-gdb.in: New file.
19026 * gdb.guile/scm-objfile-script.c: New file.
19027 * gdb.guile/scm-objfile-script.exp: New file.
19028 * gdb.guile/scm-objfile.c: New file.
19029 * gdb.guile/scm-objfile.exp: New file.
19030 * gdb.guile/scm-ports.exp: New file.
19031 * gdb.guile/scm-pretty-print.c: New file.
19032 * gdb.guile/scm-pretty-print.exp: New file.
19033 * gdb.guile/scm-pretty-print.scm: New file.
19034 * gdb.guile/scm-section-script.c: New file.
19035 * gdb.guile/scm-section-script.exp: New file.
19036 * gdb.guile/scm-section-script.scm: New file.
19037 * gdb.guile/scm-symbol.c: New file.
19038 * gdb.guile/scm-symbol.exp: New file.
19039 * gdb.guile/scm-symtab-2.c: New file.
19040 * gdb.guile/scm-symtab.c: New file.
19041 * gdb.guile/scm-symtab.exp: New file.
19042 * gdb.guile/scm-type.c: New file.
19043 * gdb.guile/scm-type.exp: New file.
19044 * gdb.guile/scm-value-cc.cc: New file.
19045 * gdb.guile/scm-value-cc.exp: New file.
19046 * gdb.guile/scm-value.c: New file.
19047 * gdb.guile/scm-value.exp: New file.
19048 * gdb.guile/source2.scm: New file.
19049 * gdb.guile/types-module.cc: New file.
19050 * gdb.guile/types-module.exp: New file.
19051
7026a7c1
YQ
190522014-02-10 Yao Qi <yao@codesourcery.com>
19053
19054 PR testsuite/16543
19055 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19056 * configure: Regenerated.
19057 * Makefile.in: New file.
19058
6c466447
AS
190592014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19060
19061 * gdb.python/py-framefilter.exp: Fix typo.
19062
6e854735
YQ
190632014-02-08 Yao Qi <yao@codesourcery.com>
19064
19065 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19066 that no =breakpoint-modified is emitted when breakpoints are
19067 modified through MI commands.
19068
d137e6dc
PA
190692014-02-07 Pedro Alves <pedro@codesourcery.com>
19070 Pedro Alves <palves@redhat.com>
19071
19072 * gdb.threads/step-after-sr-lock.c: New file.
19073 * gdb.threads/step-after-sr-lock.exp: New file.
19074
b5ee5a50
PA
190752014-02-07 Pedro Alves <palves@redhat.com>
19076
19077 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19078
3c77faf3
JK
190792014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19080
19081 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19082 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19083
6dddc817
DE
190842014-02-06 Doug Evans <xdje42@gmail.com>
19085
19086 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19087 output.
19088
19089 * gdb.gdb/python-interrupts.exp: New file.
19090
de7b2893
YQ
190912014-02-05 Yao Qi <yao@codesourcery.com>
19092
19093 * gdb.trace/report.exp (use_collected_data): Test the output
19094 of "info threads" and "info inferiors".
19095
66d032ac
YQ
190962014-02-05 Yao Qi <yao@codesourcery.com>
19097
19098 Revert this patch:
19099
19100 2013-05-24 Yao Qi <yao@codesourcery.com>
19101
19102 * gdb.trace/tfile.exp: Test inferior and thread.
19103
591a12a1
UW
191042014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19105
19106 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19107 on a function.
19108 * gdb.base/step-bt.c: Call hello via function pointer to make
19109 sure its first instruction is executed on powerpc64le-linux.
19110
0ff3e01f
UW
191112014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19112
19113 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
19114
084ee545
UW
191152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19116
19117 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
19118 of the test patterns for use on little-endian systems.
19119
6ed14ff3
UW
191202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19121
19122 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
19123 (decimal_vector): Fix for little-endian.
19124
401e27fd
JM
191252014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
19126
19127 * gdb.arch/sparc-sysstep.exp: New file.
19128 * gdb.arch/sparc-sysstep.c: Likewise.
19129
19130 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
19131
8b924729
EBM
191322014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19133
19134 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
19135
fb151210
JB
191362014-01-23 Tom Tromey <tromey@redhat.com>
19137
19138 * gdb.ada/array_char_idx: New testcase.
19139
0740f8d8
TT
191402014-01-23 Tom Tromey <tromey@redhat.com>
19141
19142 PR python/16487:
19143 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
19144 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
19145 classes.
19146
21909fa1
TT
191472014-01-23 Tom Tromey <tromey@redhat.com>
19148
19149 PR python/16491:
19150 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
19151 string from an inferior frame.
19152 * gdb.python/py-framefilter-mi.exp: Update.
19153
87ce2a04
DE
191542014-01-22 Doug Evans <dje@google.com>
19155
19156 * gdb.server/server-mon.exp: Add tests for "set debug-format".
19157
237b092b
AA
191582014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19159
19160 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
19161
d674a709
AA
191622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19163
19164 * gdb.trace/entry-values.exp: Remove excess space character from
19165 regex patterns. Handle s390 call instruction.
19166
20fa3390
AA
191672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19168
19169 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
19170 define "*_start" label. Make "name" static.
19171 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19172 ${name} by references to ${name}_start.
19173
78466714
AA
191742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19175
19176 * gdb.base/info-macros.exp: Remove "debug" from the compile
19177 options.
19178
ec9f644a
IB
191792014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19180
19181 * gdb.dlang/demangle.exp: New file.
19182
94b1b47e
IB
191832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19184
19185 * gdb.dlang/primitive-types.exp: New file.
19186
7f420862
IB
191872014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19188
19189 * configure.ac: Create gdb.dlang/Makefile.
19190 * configure: Regenerate.
19191 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19192 * gdb.dlang/Makefile.in: New file.
19193 * lib/d-support.exp: New file.
19194 * lib/gdb.exp (skip_d_tests): New proc.
19195
52834460
MM
191962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19197
19198 * gdb.btrace/delta.exp: Check reverse stepi.
19199 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19200 * gdb.btrace/finish.exp: New.
19201 * gdb.btrace/next.exp: New.
19202 * gdb.btrace/nexti.exp: New.
19203 * gdb.btrace/record_goto.c: Add comments.
19204 * gdb.btrace/step.exp: New.
19205 * gdb.btrace/stepi.exp: New.
19206 * gdb.btrace/multi-thread-step.c: New.
19207 * gdb.btrace/multi-thread-step.exp: New.
19208 * gdb.btrace/rn-dl-bind.c: New.
19209 * gdb.btrace/rn-dl-bind.exp: New.
19210 * gdb.btrace/data.c: New.
19211 * gdb.btrace/data.exp: New.
19212 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19213
6e07b1d2
MM
192142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19215
19216 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19217 * gdb.btrace/exception.exp: Update.
19218 * gdb.btrace/instruction_history.exp: Update.
19219 * gdb.btrace/record_goto.exp: Update.
19220 * gdb.btrace/tailcall.exp: Update.
19221 * gdb.btrace/unknown_functions.exp: Update.
19222 * gdb.btrace/delta.exp: New.
19223
0b722aec
MM
192242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19225
19226 * gdb.btrace/record_goto.exp: Add backtrace test.
19227 * gdb.btrace/tailcall.exp: Add backtrace test.
19228
066ce621
MM
192292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19230
19231 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19232 * gdb.btrace/record_goto.c: New.
19233 * gdb.btrace/record_goto.exp: New.
19234 * gdb.btrace/x86-record_goto.S: New.
19235
0688d04e
MM
192362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19237
19238 * gdb.btrace/function_call_history.exp: Update tests.
19239 * gdb.btrace/instruction_history.exp: Update tests.
19240
8710b709
MM
192412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19242
19243 * gdb.btrace/function_call_history.exp: Fix expected field
19244 order for "record function-call-history".
19245 Add new tests for "record function-call-history /c".
19246 * gdb.btrace/exception.cc: New.
19247 * gdb.btrace/exception.exp: New.
19248 * gdb.btrace/tailcall.exp: New.
19249 * gdb.btrace/x86-tailcall.S: New.
19250 * gdb.btrace/x86-tailcall.c: New.
19251 * gdb.btrace/unknown_functions.c: New.
19252 * gdb.btrace/unknown_functions.exp: New.
19253 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19254
5de9129b
MM
192552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19256
19257 * gdb.btrace/instruction_history.exp: Update.
19258 * gdb.btrace/function_call_history.exp: Update.
19259
23a7fe75
MM
192602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19261
19262 * gdb.btrace/function_call_history.exp: Fix expected function
19263 trace.
19264 * gdb.btrace/instruction_history.exp: Initialize traced.
19265 Remove traced_functions.
19266
724c7dd8
MM
192672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19268
19269 * gdb.btrace/function_call_history.exp: Update
19270 * gdb.btrace/instruction_history.exp: Update.
19271
6d78d93b
MM
192722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19273
19274 * gdb.btrace/enable.exp: Update expected text.
19275
93a360cc
OJ
192762014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19277
19278 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19279 bytes.
19280
3772b53f
MR
192812014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19282
19283 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19284
596662fa
OJ
192852014-01-15 Omair Javaid <omair.javaid@linaro.org>
19286
19287 * lib/gdb.exp (supports_process_record): Return true for
19288 arm*-linux*. (supports_reverse): Likewise.
19289
b5b08fb4
SC
192902014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19291
19292 PR python/15464
19293 PR python/16113
19294 * gdb.python/py-type.c: Enhance test case.
19295 * gdb.python/py-value-cc.cc: Likewise
19296 * gdb.python/py-type.exp: Add new tests.
19297 * gdb.python/py-value-cc.exp: Likewise
19298
52d7fb13
AA
192992014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19300 Pedro Alves <palves@redhat.com>
19301
19302 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19303 Make "name" extern.
19304 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19305 references to ${name}_start by references to ${name}.
19306
a2cd8cfe
JB
193072014-01-10 Joel Brobecker <brobecker@adacore.com>
19308
19309 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19310
4e23fced
JB
193112014-01-10 Joel Brobecker <brobecker@adacore.com>
19312
19313 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19314
c6a9e42c
PA
193152014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19316 Pedro Alves <palves@redhat.com>
19317
19318 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 19319 mi_gdb_target_load.
c6a9e42c 19320
b7ea362b
PA
193212014-01-08 Pedro Alves <palves@redhat.com>
19322
19323 * gdb.threads/reconnect-signal.c: New file.
19324 * gdb.threads/reconnect-signal.exp: New file.
19325
5e3f4fab
EBM
193262014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19327
19328 * gdb.base/source-dir.exp: New file.
19329
79301218
JB
193302014-01-07 Joel Brobecker <brobecker@adacore.com>
19331
19332 * gdb.ada/mi_interface: New testcase.
19333
8e355c5d
JB
193342014-01-07 Joel Brobecker <brobecker@adacore.com>
19335
19336 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19337 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19338 gdb.ada/pp-rec-component/pck.ads: New files.
19339
c0d48811
JB
193402014-01-07 Joel Brobecker <brobecker@adacore.com>
19341
19342 * gdb.python/py-pp-integral.c: New file.
19343 * gdb.python/py-pp-integral.py: New file.
19344 * gdb.python/py-pp-integral.exp: New file.
19345
17b609c3 19346For older changes see ChangeLog-1993-2013.
c906108c 19347\f
8d8cb839
EZ
19348;; Local Variables:
19349;; mode: change-log
19350;; left-margin: 8
19351;; fill-column: 74
19352;; version-control: never
19353;; End:
902f2ccb 19354
b811d2c2 19355 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
19356 Copying and distribution of this file, with or without modification,
19357 are permitted provided the copyright notice and this notice are preserved.